@byteluck-fe/model-driven-controls 2.6.0-alpha.17c → 2.6.0-alpha.17e
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 +1 -1
- package/package.json +4 -4
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var $C=Object.defineProperty,VC=Object.defineProperties;var HC=Object.getOwnPropertyDescriptors;var ts=Object.getOwnPropertySymbols;var jC=Object.prototype.hasOwnProperty,qC=Object.prototype.propertyIsEnumerable;var ns=(y,U,X)=>U in y?$C(y,U,{enumerable:!0,configurable:!0,writable:!0,value:X}):y[U]=X,Be=(y,U)=>{for(var X in U||(U={}))jC.call(U,X)&&ns(y,X,U[X]);if(ts)for(var X of ts(U))qC.call(U,X)&&ns(y,X,U[X]);return y},Pn=(y,U)=>VC(y,HC(U));var lr=(y,U,X)=>new Promise((ye,Dn)=>{var nu=Ie=>{try{Tt(X.next(Ie))}catch(Rt){Dn(Rt)}},iu=Ie=>{try{Tt(X.throw(Ie))}catch(Rt){Dn(Rt)}},Tt=Ie=>Ie.done?ye(Ie.value):Promise.resolve(Ie.value).then(nu,iu);Tt((X=X.apply(y,U)).next())});(function(y,U){typeof exports=="object"&&typeof module!="undefined"?U(exports):typeof define=="function"&&define.amd?define(["exports"],U):(y=typeof globalThis!="undefined"?globalThis:y||self,U(y.modelDrivenControls={}))})(this,function(y){"use strict";var U=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},X={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:{},c=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 b(E,C,w,F){var P=C&&C.prototype instanceof _?C:_,V=Object.create(P.prototype),oe=new ur(F||[]);return r(V,"_invoke",{value:tu(E,w,oe)}),V}n.wrap=b;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",A={};function _(){}function O(){}function k(){}var te={};h(te,c,function(){return this});var N=Object.getPrototypeOf,Z=N&&N(N(ar([])));Z&&Z!==u&&a.call(Z,c)&&(te=Z);var me=k.prototype=_.prototype=Object.create(te);O.prototype=k,r(me,"constructor",{value:k,configurable:!0}),r(k,"constructor",{value:O,configurable:!0}),O.displayName=h(k,m,"GeneratorFunction");function Re(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===O||(C.displayName||C.name)==="GeneratorFunction":!1},n.mark=function(E){return Object.setPrototypeOf?Object.setPrototypeOf(E,k):(E.__proto__=k,h(E,m,"GeneratorFunction")),E.prototype=Object.create(me),E},n.awrap=function(E){return{__await:E}};function At(E,C){function w(V,oe,ce,ve){var se=S(E[V],E,oe);if(se.type==="throw")ve(se.arg);else{var rr=se.arg,Bn=rr.value;return Bn&&typeof Bn=="object"&&a.call(Bn,"__await")?C.resolve(Bn.__await).then(function(st){w("next",st,ce,ve)},function(st){w("throw",st,ce,ve)}):C.resolve(Bn).then(function(st){rr.value=st,ce(rr)},function(st){return w("throw",st,ce,ve)})}}var F;function P(V,oe){function ce(){return new C(function(ve,se){w(V,oe,ve,se)})}return F=F?F.then(ce,ce):ce()}r(this,"_invoke",{value:P})}Re(At.prototype),h(At.prototype,d,function(){return this}),n.AsyncIterator=At,n.async=function(E,C,w,F,P){P===void 0&&(P=Promise);var V=new At(b(E,C,w,F),P);return n.isGeneratorFunction(C)?V:V.next().then(function(oe){return oe.done?oe.value:V.next()})};function tu(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 LC()}for(w.method=V,w.arg=oe;;){var ce=w.delegate;if(ce){var ve=_t(ce,w);if(ve){if(ve===A)continue;return ve}}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===A)continue;return{value:se.arg,done:w.done}}else se.type==="throw"&&(F=v,w.method="throw",w.arg=se.arg)}}}function _t(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,_t(E,C),C.method==="throw")||w!=="return"&&(C.method="throw",C.arg=new TypeError("The iterator does not provide a '"+w+"' method")),A;var P=S(F,E.iterator,C.arg);if(P.type==="throw")return C.method="throw",C.arg=P.arg,C.delegate=null,A;var V=P.arg;if(!V)return C.method="throw",C.arg=new TypeError("iterator result is not an object"),C.delegate=null,A;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,A}Re(me),h(me,m,"Generator"),h(me,c,function(){return this}),h(me,"toString",function(){return"[object Generator]"});function je(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 ir(E){var C=E.completion||{};C.type="normal",delete C.arg,E.completion=C}function ur(E){this.tryEntries=[{tryLoc:"root"}],E.forEach(je,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 ar(E){if(E||E===""){var C=E[c];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=ar;function LC(){return{value:l,done:!0}}return ur.prototype={constructor:ur,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(ir),!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(ve,se){return V.type="throw",V.arg=E,C.next=ve,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,A):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),A},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),ir(w),A}},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;ir(w)}return P}}throw new Error("illegal catch attempt")},delegateYield:function(E,C,w){return this.delegate={iterator:ar(E),resultName:C,nextLoc:w},this.method==="next"&&(this.arg=l),A}},n}(t.exports);try{regeneratorRuntime=e}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}})(X);var ye=X.exports,Dn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",nu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",iu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Tt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Ie="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Rt="{caption}\u5FC5\u586B",is="\u8BF7\u8F93\u5165\u6807\u9898",us="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",as="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",rs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ls="\u8BF7\u7ED1\u5B9A\u8868\u5355",os="\u8BF7\u7ED1\u5B9A\u5217\u8868",cs="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ss="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ds="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",fs="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",hs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ys="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ms="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",vs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",gs="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",bs="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Cs="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Es="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ws="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Is="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ss="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",As="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",_s="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ts="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Rs="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Bs="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Ps="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ds="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Fs="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",xs="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Os="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ks="\u8BF7\u9009\u62E9\u7701",Ms="\u8BF7\u9009\u62E9\u5E02",Ns="\u8BF7\u9009\u62E9\u533A",Ls="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",$s="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Vs="\u8BF7\u8F93\u5165\u5217\u5BBD",Hs="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",js="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",qs="\u8BF7\u9009\u62E9\u63A7\u4EF6",Us="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ws="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ks="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",zs="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Gs="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Xs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Qs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Js="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Zs="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ys="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ps="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ed="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",td="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",id="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ud="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ad="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",rd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ld="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",od="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",cd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",sd="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",dd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",fd="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",hd="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",yd="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",md={isNotNumber:Dn,isNotString:nu,isNotObject:iu,isNotArray:Tt,isNotBoolean:Ie,runtimeRequired:Rt,pleaseEnterCaption:is,pleaseEnterCaptionTip:us,pleaseEnterPlaceholder:as,pleaseEnterFieldCode:rs,pleaseEnterForm:ls,pleaseEnterList:os,pleaseEnterProcess:cs,pleaseEnterLabel:ss,pleaseEnterValue:ds,bizKeyNotBindFiled:fs,pleaseSelectOneField:hs,pleaseEnterNumberRange:ys,pleaseEnterAValueGreaterThanMin:ms,pleaseEnterAValueLessThanMax:vs,numberRangeSetError:gs,stringRangeError:bs,attachmentMaxSize:Cs,pleaseEnterTotalScoreSetting:Es,theTotalScoreMustNotBeLessThan1:ws,scoreDefaultValueRange:Is,attachmentLimitError:Ss,PleaseReselectTheOptionalQuantity:As,TheMaximumLengthIsGreaterThanTheMinimumLength:_s,TheMinimumLengthIsGreaterThanTheMaximumLength:Ts,PleaseSelectTheCorrectOptionSettings:Rs,optionIdIsRepeat:Bs,optionIsRequired:Ps,pleaseEnterDataCode:Ds,pleaseEnterValueFieldCode:Fs,pleaseEnterSvcCode:xs,pleaseBindAtLeastOneDisplayValue:Os,pleaseSelectProvince:ks,pleaseSelectCity:Ms,pleaseSelectDistrict:Ns,limitRowsCannotBeLessThan0:Ls,TheNumberOfRowsCannotBeLessThanMinRows:$s,pleaseEnterColumnWidth:Vs,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Hs,pleaseCompleteAllRulesAndConditions:js,pleaseSelectControl:qs,pleaseSelectAtLeastOneColumn:Us,pleaseSelectFillBackMode:Ws,pleaseSelectDashboard:Ks,rootNodeIsRequired:zs,theViewNameCannotBeEmpty:Gs,pleaseSelectOcrType:Xs,pleaseSelectAtLeastOneFieldToFillIn:Qs,pleaseChooseAtLeastOne:Js,pleaseEnterButtonContent:Zs,pleaseEnterDataCodeInDataSetting:Ys,pleaseEnterValueFieldCodeInDataSetting:ps,pleaseEnterSvcCodeInDataSetting:ed,pleaseBindAtLeastOneDisplayValueInDataSetting:td,rootNodeIsRequiredInDataSetting:nd,pleaseEnterMaxHeight:id,pleaseEnter:ud,pleaseEnterWatermark:ad,pleaseEnterFileName:rd,pleaseUploadAtLeastOnePrintTemplate:ld,pleaseAssignBusiness:od,pleaseAssignExternal:cd,pleaseEnterAliasCode:sd,pleaseSelectDataCode:dd,pleaseSelectSvcCode:fd,pleaseSelectJoinFieldCode:hd,pleaseSelectMainFieldCode:yd},vd="Please enter a number",gd="Please enter a string",bd="Please enter an object",Cd="Please enter an array",Ed="Please enter a boolean",wd="{caption} Required",Id="Please enter the title",Sd="Please enter the bubble prompt",Ad="Please enter the prompt text",_d="Please bind data items",Td="Please bind the form",Rd="Please bind the list",Bd="Please bind the process",Pd="Please enter the displayed value",Dd="Please enter the stored value",Fd="The document number is not bound to the data item",xd="Please select at least one display field",Od="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}",Md="Please enter a value less than or equal to {max}",Nd="The value range is set incorrectly",Ld="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",$d="The attachment size must be between 0MB and 1000MB",Vd="Please fill in the total score setting",Hd="The total score cannot be less than 1",jd="The default value must be between {min} and {max}",qd="The number of attachments uploaded must be between {min} and {max}",Ud="Please re-select the optional quantity",Wd="The maximum length of the control must be greater than the minimum length",Kd="The minimum length of the control must be less than the maximum length",zd="Please select the correct option setting",Gd="Option ID cannot be repeated",Xd="Please enter at least one option",Qd="Please bind the data source",Jd="Please bind the stored value",Zd="Please bind the service",Yd="At least one display value must be bound",pd="Please select a province",ef="Please select a city",tf="Please select a district",nf="The minimum number of lines to fill in cannot be less than 0",uf="The number of rows cannot be less than {min} rows",af="Please enter the column width",rf="Please set the logical relationship of all rule conditions",lf="Please complete all rules and conditions",of="please select control",cf="Please select the dashboard",sf="View name cannot be empty",df="Please select recognition type",ff="Please select at least one field to fill in",hf="Please select at least one",yf="Please enter the button title",mf="Please bind the business model in the data settings",vf="Please bind storage values in data settings",gf="Please bind the service in the data settings",bf="Please bind at least one display value in the data settings",Cf="Please select the root node in the data settings",Ef="Please enter the maximum height",wf="The input content cannot be empty",If="Watermark cannot be empty",Sf="File name cannot be empty",Af="Please upload at least one printing template!\uFF01",_f="Please select a specific business department",Tf="Please select a specified external organization",Rf="Please enter a sub table alias",Bf="Please select the associated table to set the business model",Pf="Please select the association table to set the binding service",Df="Select associated sub table fields",Ff="Please select the associated main table field",xf={isNotNumber:vd,isNotString:gd,isNotObject:bd,isNotArray:Cd,isNotBoolean:Ed,runtimeRequired:wd,pleaseEnterCaption:Id,pleaseEnterCaptionTip:Sd,pleaseEnterPlaceholder:Ad,pleaseEnterFieldCode:_d,pleaseEnterForm:Td,pleaseEnterList:Rd,pleaseEnterProcess:Bd,pleaseEnterLabel:Pd,pleaseEnterValue:Dd,bizKeyNotBindFiled:Fd,pleaseSelectOneField:xd,pleaseEnterNumberRange:Od,pleaseEnterAValueGreaterThanMin:kd,pleaseEnterAValueLessThanMax:Md,numberRangeSetError:Nd,stringRangeError:Ld,attachmentMaxSize:$d,pleaseEnterTotalScoreSetting:Vd,theTotalScoreMustNotBeLessThan1:Hd,scoreDefaultValueRange:jd,attachmentLimitError:qd,PleaseReselectTheOptionalQuantity:Ud,TheMaximumLengthIsGreaterThanTheMinimumLength:Wd,TheMinimumLengthIsGreaterThanTheMaximumLength:Kd,PleaseSelectTheCorrectOptionSettings:zd,optionIdIsRepeat:Gd,optionIsRequired:Xd,pleaseEnterDataCode:Qd,pleaseEnterValueFieldCode:Jd,pleaseEnterSvcCode:Zd,pleaseBindAtLeastOneDisplayValue:Yd,pleaseSelectProvince:pd,pleaseSelectCity:ef,pleaseSelectDistrict:tf,limitRowsCannotBeLessThan0:nf,TheNumberOfRowsCannotBeLessThanMinRows:uf,pleaseEnterColumnWidth:af,pleaseSetTheLogicalRelationshipOfAllRuleConditions:rf,pleaseCompleteAllRulesAndConditions:lf,pleaseSelectControl:of,pleaseSelectDashboard:cf,theViewNameCannotBeEmpty:sf,pleaseSelectOcrType:df,pleaseSelectAtLeastOneFieldToFillIn:ff,pleaseChooseAtLeastOne:hf,pleaseEnterButtonContent:yf,pleaseEnterDataCodeInDataSetting:mf,pleaseEnterValueFieldCodeInDataSetting:vf,pleaseEnterSvcCodeInDataSetting:gf,pleaseBindAtLeastOneDisplayValueInDataSetting:bf,rootNodeIsRequiredInDataSetting:Cf,pleaseEnterMaxHeight:Ef,pleaseEnter:wf,pleaseEnterWatermark:If,pleaseEnterFileName:Sf,pleaseUploadAtLeastOnePrintTemplate:Af,pleaseAssignBusiness:_f,pleaseAssignExternal:Tf,pleaseEnterAliasCode:Rf,pleaseSelectDataCode:Bf,pleaseSelectSvcCode:Pf,pleaseSelectJoinFieldCode:Df,pleaseSelectMainFieldCode:Ff},Of="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$f="{caption}\u5FC5\u9808",Vf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Uf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Xf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Qf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Jf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Yf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",eh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",th="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",nh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ih="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",uh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ah="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",rh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lh="\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",oh="\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",ch="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",dh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",fh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hh="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",mh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",vh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",gh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",bh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ch="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Eh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ih="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Sh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ah="please select control",_h="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Th="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Rh="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Bh="\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",Ph="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Dh="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Fh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",xh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Oh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",kh="\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",Mh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Nh="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lh="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",$h="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Vh="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Hh="\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",jh="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qh="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Uh="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wh="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Kh="\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",zh="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Gh="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Xh={isNotNumber:Of,isNotString:kf,isNotObject:Mf,isNotArray:Nf,isNotBoolean:Lf,runtimeRequired:$f,pleaseEnterCaption:Vf,pleaseEnterCaptionTip:Hf,pleaseEnterPlaceholder:jf,pleaseEnterFieldCode:qf,pleaseEnterForm:Uf,pleaseEnterList:Wf,pleaseEnterProcess:Kf,pleaseEnterLabel:zf,pleaseEnterValue:Gf,bizKeyNotBindFiled:Xf,pleaseSelectOneField:Qf,pleaseEnterNumberRange:Jf,pleaseEnterAValueGreaterThanMin:Zf,pleaseEnterAValueLessThanMax:Yf,numberRangeSetError:pf,stringRangeError:eh,attachmentMaxSize:th,pleaseEnterTotalScoreSetting:nh,theTotalScoreMustNotBeLessThan1:ih,scoreDefaultValueRange:uh,attachmentLimitError:ah,PleaseReselectTheOptionalQuantity:rh,TheMaximumLengthIsGreaterThanTheMinimumLength:lh,TheMinimumLengthIsGreaterThanTheMaximumLength:oh,PleaseSelectTheCorrectOptionSettings:ch,optionIdIsRepeat:sh,optionIsRequired:dh,pleaseEnterDataCode:fh,pleaseEnterValueFieldCode:hh,pleaseEnterSvcCode:yh,pleaseBindAtLeastOneDisplayValue:mh,pleaseSelectProvince:vh,pleaseSelectCity:gh,pleaseSelectDistrict:bh,limitRowsCannotBeLessThan0:Ch,TheNumberOfRowsCannotBeLessThanMinRows:Eh,pleaseEnterColumnWidth:wh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ih,pleaseCompleteAllRulesAndConditions:Sh,pleaseSelectControl:Ah,pleaseSelectDashboard:_h,theViewNameCannotBeEmpty:Th,pleaseSelectOcrType:Rh,pleaseSelectAtLeastOneFieldToFillIn:Bh,pleaseChooseAtLeastOne:Ph,pleaseEnterButtonContent:Dh,pleaseEnterDataCodeInDataSetting:Fh,pleaseEnterValueFieldCodeInDataSetting:xh,pleaseEnterSvcCodeInDataSetting:Oh,pleaseBindAtLeastOneDisplayValueInDataSetting:kh,rootNodeIsRequiredInDataSetting:Mh,pleaseEnterMaxHeight:Nh,pleaseEnter:Lh,pleaseEnterWatermark:$h,pleaseEnterFileName:Vh,pleaseUploadAtLeastOnePrintTemplate:Hh,pleaseAssignBusiness:jh,pleaseAssignExternal:qh,pleaseEnterAliasCode:Uh,pleaseSelectDataCode:Wh,pleaseSelectSvcCode:Kh,pleaseSelectJoinFieldCode:zh,pleaseSelectMainFieldCode:Gh},Qh={zhCN:md,enUS:xf,jaJP:Xh},or;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(or||(or={}));var cr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(cr||(cr={}));var Jh="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 sr;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(sr||(sr={}));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.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"})(R||(R={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var ue;ue={},de(ue,g.ARRAY,R.ARRAY_COLUMN),de(ue,g.AUTO_NUMBER,R.AUTO_NUMBER_COLUMN),de(ue,g.DECIMAL,R.DECIMAL_COLUMN),de(ue,g.DEPARTMENTS,R.DEPARTMENT_COLUMN),de(ue,g.FILE,R.FILE_COLUMN),de(ue,g.IMAGE,R.IMAGE_COLUMN),de(ue,g.ADDRESS,R.LOCATION_COLUMN),de(ue,g.EMPLOYEES,R.EMPLOYEE_COLUMN),de(ue,g.TEXT,R.TEXT_COLUMN),de(ue,g.TIMESCOPE,R.TIMESCOPE_COLUMN),de(ue,g.TIMESTAMP,R.TIMESTAMP_COLUMN),de(ue,g.VARCHAR,R.VARCHAR_COLUMN),de(ue,g.RELATION,R.VARCHAR_COLUMN);var Pe;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Pe||(Pe={}));var dr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Zh=dr+"0123456789";function Se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?dr:Zh,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function uu(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 Yh(t){if(Array.isArray(t))return uu(t)}function ph(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ey(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Fn(t,e,n){return ey()?Fn=Reflect.construct:Fn=function(a,r,l){var o=[null];o.push.apply(o,r);var c=Function.bind.apply(a,o),d=new c;return l&&Pt(d,l.prototype),d},Fn.apply(null,arguments)}function Bt(t){return Bt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bt(t)}function hr(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pt(t,e)}function ty(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ny(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function iy(){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 uy(t,e){return e&&(ay(e)==="object"||typeof e=="function")?e:ph(t)}function Pt(t,e){return Pt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Pt(t,e)}function yr(t){return Yh(t)||ny(t)||ry(t)||iy()}var ay=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ry(t,e){if(!!t){if(typeof t=="string")return uu(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 uu(t,e)}}function au(t){var e=typeof Map=="function"?new Map:void 0;return au=function(u){if(u===null||!ty(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 Fn(u,arguments,Bt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Pt(a,u)},au(t)}function ly(){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 mr(t){var e=ly();return function(){var u=Bt(t),a;if(e){var r=Bt(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return uy(this,a)}}var ru=console;function oy(){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=ru).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(yr(a)))}function vr(){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=ru).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(yr(a)))}function cy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var lu=function(t){hr(n,t);var e=mr(n);function n(u){fr(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?cy(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(au(Error)),sy=function(t){hr(n,t);var e=mr(n);function n(u){fr(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(lu);function gr(t){throw new lu(t)}function br(t){throw new sy(t)}function dy(t){ru.error(new lu(t))}var fy=Object.prototype.toString;function Cr(t,e){return fy.call(t)==="[object "+e+"]"}function hy(t){return Cr(t,"String")}function yy(t){return Cr(t,"Promise")}var my=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();yy(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 c=a[r];if(!(l===o.length-1&&!hy(c)))return c}},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 vy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Er(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 gy(t,e,n){return e&&Er(t.prototype,e),n&&Er(t,n),t}var f=function(){function t(){vy(this,t)}return gy(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]:Jh;return new my({locale:n,messages:Qh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();f.$i18n=f.resetI18n();function by(t,e,n){var u=e.replace(/\[(\d)]/g,function(r,l){return"."+l}).split("."),a=!1;return u.reduce(function(r,l,o,c){var d=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,l)){oy("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===c.length-1&&!Object.is(d[l],n)&&(d[l]=n,a=!0),d[l]}},t),a}var Cy={exports:{}};(function(t){(function(e){var n=function(v,A,_){if(!d(A)||h(A)||b(A)||S(A)||c(A))return A;var O,k=0,te=0;if(m(A))for(O=[],te=A.length;k<te;k++)O.push(n(v,A[k],_));else{O={};for(var N in A)Object.prototype.hasOwnProperty.call(A,N)&&(O[v(N,_)]=n(v,A[N],_))}return O},u=function(v,A){A=A||{};var _=A.separator||"_",O=A.split||/(?=[A-Z])/;return v.split(O).join(_)},a=function(v){return T(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(A,_){return _?_.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},r=function(v){var A=a(v);return A.substr(0,1).toUpperCase()+A.substr(1)},l=function(v,A){return u(v,A).toLowerCase()},o=Object.prototype.toString,c=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]"},b=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,A){var _=A&&"process"in A?A.process:A;return typeof _!="function"?v:function(O,k){return _(O,v,k)}},B={camelize:a,decamelize:l,pascalize:r,depascalize:l,camelizeKeys:function(v,A){return n(I(a,A),v)},decamelizeKeys:function(v,A){return n(I(l,A),v,A)},pascalizeKeys:function(v,A){return n(I(r,A),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(U)})(Cy);var wr={};Object.defineProperty(wr,"__esModule",{value:!0});function ou(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:ou(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:ou(u)}return e}}var Ey=wr.default=ou;function De(t){if(t!==void 0)return typeof t=="object"?Ey(t):t}function wy(t){return Object.prototype.toString.call(t)==="[object Object]"}function cu(t){return Array.isArray(t)}function Iy(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function su(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 Sy(t){if(Array.isArray(t))return su(t)}function Ir(t,e,n,u,a,r,l){try{var o=t[r](l),c=o.value}catch(d){n(d);return}o.done?e(c):Promise.resolve(c).then(u,a)}function Ay(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(c){Ir(r,u,a,l,o,"next",c)}function o(c){Ir(r,u,a,l,o,"throw",c)}l(void 0)})}}function _y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sr(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 Ty(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(t,n),t}function Ry(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function By(){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 du(t){return Sy(t)||Ry(t)||Py(t)||By()}function Py(t,e){if(!!t){if(typeof t=="string")return su(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return su(t,e)}}var Dy=function(){function t(){_y(this,t),this._events=new Map,this.debug=!1}return Ty(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 Ay(ye.mark(function o(){var c,d,m,h,b,S,T,I,B,v;return ye.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(c=l._events.get(n),d=[],!c){_.next=42;break}m=c.slice(),h=!0,b=!1,S=void 0,_.prev=5,T=m[Symbol.iterator]();case 7:if(h=(I=T.next()).done){_.next=28;break}if(B=I.value,c.includes(B)){_.next=11;break}return _.abrupt("continue",25);case 11:return _.prev=11,l.debug&&vr.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(du(a))),_.next=15,B.apply(null,du(a));case 15:if(v=_.sent,l.debug&&vr.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(du(a),[v])),d.push(v),v!==!1){_.next=20;break}return _.abrupt("break",28);case 20:_.next=25;break;case 22:_.prev=22,_.t0=_.catch(11),dy(String(_.t0)+":"+String(_.t0.stack));case 25:h=!0,_.next=7;break;case 28:_.next=34;break;case 30:_.prev=30,_.t1=_.catch(5),b=!0,S=_.t1;case 34:_.prev=34,_.prev=35,!h&&T.return!=null&&T.return();case 37:if(_.prev=37,!b){_.next=40;break}throw S;case 40:return _.finish(37);case 41:return _.finish(34);case 42:return _.abrupt("return",d);case 43:case"end":return _.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}(),Fy=[];new Set(Fy.map(function(t){return t.Designer.controlType}));function Ar(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 xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(t)}function ge(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fu(t,e)}function xy(t,e){return e&&(Oy(e)==="object"||typeof e=="function")?e:Ar(t)}function fu(t,e){return fu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},fu(t,e)}var Oy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ky(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function be(t){var e=ky();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 xy(this,a)}}var Ee=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},_r=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},hu=function(t){ge(n,t);var e=be(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}(_r),My=function t(e){D(this,t),this.pc=new hu(e==null?void 0:e.pc),this.mobile=(e==null?void 0:e.mobile)?new hu(e==null?void 0:e.mobile):new hu({width:130,minWidth:180})},Ny=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:[]},dt=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:""},Ly=function(t){ge(n,t);var e=be(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}(dt),Tr=function t(e){D(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},yu=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 Tr(l)}))!==null&&r!==void 0?r:[]},$y=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:g.VARCHAR},Vy=function(t){ge(n,t);var e=be(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 c;return a.filters=(c=u==null?void 0:u.filters)!==null&&c!==void 0?c:[],a}return n}(dt),Hy=function t(e){D(this,t);var n,u;this.type="sublist-page",this.formBind=new dt(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 $y(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 Vy(l)}))!==null&&r!==void 0?r:[]},jy=function t(e){D(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},Dt=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:[]},Rr=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:Se();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;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 c,d=new t(o);(c=l.children)===null||c===void 0||c.push(d)}else{var m,h=new mu(o);(m=l.children)===null||m===void 0||m.push(h)}})}},mu=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:Se();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 jy(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Dt(e==null?void 0:e.rightVariableBo)},qy=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:""},vu=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},Uy=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 gu(t){var e,n,u,a,r;this.filters=(r=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(c){return c.children!==void 0?new Rr(c):new mu(c)}))!==null&&r!==void 0?r:[];var l;this.viewFilters=(l=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new Rr(c):new mu(c)}))!==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(c){return new Uy(c)}))!==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(d){var m;(m=l.displayBoList)===null||m===void 0||m.push(new vu(d))})}var o;this.showOrder=(o=e==null?void 0:e.showOrder)!==null&&o!==void 0?o:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",gu.call(this,e)},bu=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:[]},Fe=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 c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"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},Br=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 vu(l)}))!==null&&r!==void 0?r:[]},On=function(t){ge(n,t);var e=be(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 Br(o)}))!==null&&l!==void 0?l:[],a}return n}(ne),Wy=function(t){ge(n,t);var e=be(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(c){return new Br(c)}))!==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),Pr=function(t){ge(n,t);var e=be(n);function n(u){D(this,n);var a;a=e.call(this,u),a.rootNode=new Dt(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}(On),Dr=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:[]},Fr=function(t){ge(n,t);var e=be(n);function n(u){D(this,n);var a;return a=e.call(this,u),gu.call(Ar(a),u),a}return n}(Dr),xr=function(t){ge(n,t);var e=be(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}(Dr),Or=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:""},Ky=function t(e){D(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:Se(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 Ae(t){var e;return(e=t==null?void 0:t.map(function(n){return new Ky(n)}))!==null&&e!==void 0?e:[]}var Cu=function t(){D(this,t)},zy=function(t){ge(n,t);var e=be(n);function n(u){D(this,n);var a;return a=e.call(this),a.amount=new Ee(u==null?void 0:u.amount),a.currency=new Ee(u==null?void 0:u.currency),a}return n}(Cu),Gy=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:kn.CNY},Xy=function(t){ge(n,t);var e=be(n);function n(u){D(this,n);var a;return a=e.call(this),a.min=new Ee(u==null?void 0:u.min),a.max=new Ee(u==null?void 0:u.max),a}return n}(Cu),Qy=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:""},Jy=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:""},Zy=function(t){ge(n,t);var e=be(n);function n(u){D(this,n);var a;return a=e.call(this),a.result=new Ee(u==null?void 0:u.result),a.unit=new Ee(u==null?void 0:u.unit),a}return n}(Cu),Yy=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:""},kn;(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"})(kn||(kn={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(s||(s={}));var Eu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Eu||(Eu={}));var xe=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},py=function t(e){D(this,t);var n,u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:Se(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 Tr(l)}))!==null&&r!==void 0?r:[],gu.call(this,e)},em=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"},tm=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 nm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function im(){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 Mn(t,e,n){return im()?Mn=Reflect.construct:Mn=function(a,r,l){var o=[null];o.push.apply(o,r);var c=Function.bind.apply(a,o),d=new c;return l&&xt(d,l.prototype),d},Mn.apply(null,arguments)}function Ft(t){return Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ft(t)}function um(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xt(t,e)}function am(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function rm(t,e){return e&&(lm(e)==="object"||typeof e=="function")?e:nm(t)}function xt(t,e){return xt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},xt(t,e)}var lm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Iu(t){var e=typeof Map=="function"?new Map:void 0;return Iu=function(u){if(u===null||!am(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 Mn(u,arguments,Ft(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),xt(a,u)},Iu(t)}function om(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function cm(t){var e=om();return function(){var u=Ft(t),a;if(e){var r=Ft(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return rm(this,a)}}var z=function t(e){wu(this,t),this.isHide={type:"boolean"}},qe=function(t){um(n,t);var e=cm(n);function n(u){return wu(this,n),e.call(this)}return n}(Iu(Array)),Q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";wu(this,t);var u;this.isHide=(u=e==null?void 0:e.isHide)!==null&&u!==void 0?u:!1,this.style=new em(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};Q.Rules=z,Q.RuntimeRules=qe;function we(){return we=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},we.apply(this,arguments)}function sm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Su(t){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Su(t)}function Nn(t,e){return Nn=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Nn(t,e)}function dm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Ln(t,e,n){return dm()?Ln=Reflect.construct:Ln=function(a,r,l){var o=[null];o.push.apply(o,r);var c=Function.bind.apply(a,o),d=new c;return l&&Nn(d,l.prototype),d},Ln.apply(null,arguments)}function fm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Au(t){var e=typeof Map=="function"?new Map:void 0;return Au=function(u){if(u===null||!fm(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 Ln(u,arguments,Su(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Nn(a,u)},Au(t)}var hm=/%[sdj%]/g,kr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(kr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function _u(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(hm,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(c){return"[Circular]"}break;default:return o}});return l}return a}function ym(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||ym(e)&&typeof t=="string"&&!t)}function mm(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 Mr(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 vm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Nr=function(t){sm(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}(Au(Error));function gm(t,e,n,u){if(e.first){var a=new Promise(function(h,b){var S=function(B){return u(B),B.length?b(new Nr(B,_u(B))):h()},T=vm(t);Mr(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,c=0,d=[],m=new Promise(function(h,b){var S=function(I){if(d.push.apply(d,I),c++,c===o)return u(d),d.length?b(new Nr(d,_u(d))):h()};l.length||(u(d),h()),l.forEach(function(T){var I=t[T];r.indexOf(T)!==-1?Mr(I,n,S):mm(I,n,S)})});return m.catch(function(h){return h}),m}function Lr(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function $r(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]=we(we({},t[n]),u):t[n]=u}}return t}function Vr(t,e,n,u,a,r){t.required&&(!n.hasOwnProperty(t.field)||G(e,r||t.type))&&u.push(fe(a.messages.required,t.fullField))}function bm(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(fe(a.messages.whitespace,t.fullField))}var Tu={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},Ot={integer:function(e){return Ot.number(e)&&parseInt(e,10)===e},float:function(e){return Ot.number(e)&&!Ot.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"&&!Ot.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Tu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Tu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Tu.hex)}};function Cm(t,e,n,u,a){if(t.required&&e===void 0){Vr(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?Ot[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 Em(t,e,n,u,a){var r=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=e,m=null,h=typeof e=="number",b=typeof e=="string",S=Array.isArray(e);if(h?m="number":b?m="string":S&&(m="array"),!m)return!1;S&&(d=e.length),b&&(d=e.replace(c,"_").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 ft="enum";function wm(t,e,n,u,a){t[ft]=Array.isArray(t[ft])?t[ft]:[],t[ft].indexOf(e)===-1&&u.push(fe(a.messages[ft],t.fullField,t[ft].join(", ")))}function Im(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 x={required:Vr,whitespace:bm,type:Cm,range:Em,enum:wm,pattern:Im};function Sm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(G(e,"string")&&!t.required)return n();x.required(t,e,u,r,a,"string"),G(e,"string")||(x.type(t,e,u,r,a),x.range(t,e,u,r,a),x.pattern(t,e,u,r,a),t.whitespace===!0&&x.whitespace(t,e,u,r,a))}n(r)}function Am(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();x.required(t,e,u,r,a),e!==void 0&&x.type(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(e===""&&(e=void 0),G(e)&&!t.required)return n();x.required(t,e,u,r,a),e!==void 0&&(x.type(t,e,u,r,a),x.range(t,e,u,r,a))}n(r)}function Tm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();x.required(t,e,u,r,a),e!==void 0&&x.type(t,e,u,r,a)}n(r)}function Rm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();x.required(t,e,u,r,a),G(e)||x.type(t,e,u,r,a)}n(r)}function Bm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();x.required(t,e,u,r,a),e!==void 0&&(x.type(t,e,u,r,a),x.range(t,e,u,r,a))}n(r)}function Pm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();x.required(t,e,u,r,a),e!==void 0&&(x.type(t,e,u,r,a),x.range(t,e,u,r,a))}n(r)}function Dm(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();x.required(t,e,u,r,a,"array"),e!=null&&(x.type(t,e,u,r,a),x.range(t,e,u,r,a))}n(r)}function Fm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();x.required(t,e,u,r,a),e!==void 0&&x.type(t,e,u,r,a)}n(r)}var xm="enum";function Om(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();x.required(t,e,u,r,a),e!==void 0&&x[xm](t,e,u,r,a)}n(r)}function km(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(G(e,"string")&&!t.required)return n();x.required(t,e,u,r,a),G(e,"string")||x.pattern(t,e,u,r,a)}n(r)}function Mm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(G(e,"date")&&!t.required)return n();if(x.required(t,e,u,r,a),!G(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),x.type(t,o,u,r,a),o&&x.range(t,o.getTime(),u,r,a)}}n(r)}function Nm(t,e,n,u,a){var r=[],l=Array.isArray(e)?"array":typeof e;x.required(t,e,u,r,a,l),n(r)}function Ru(t,e,n,u,a){var r=t.type,l=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(G(e,r)&&!t.required)return n();x.required(t,e,u,l,a,r),G(e,r)||x.type(t,e,u,l,a)}n(l)}function Lm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();x.required(t,e,u,r,a)}n(r)}var kt={string:Sm,method:Am,number:_m,boolean:Tm,regexp:Rm,integer:Bm,float:Pm,array:Dm,object:Fm,enum:Om,pattern:km,date:Mm,url:Ru,hex:Ru,email:Ru,required:Nm,any:Lm};function Bu(){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 Pu=Bu();function Oe(t){this.rules=null,this._messages=Pu,this.define(t)}Oe.prototype={messages:function(e){return e&&(this._messages=$r(Bu(),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 c(I){var B,v=[],A={};function _(O){if(Array.isArray(O)){var k;v=(k=v).concat.apply(k,O)}else v.push(O)}for(B=0;B<I.length;B++)_(I[B]);v.length?A=_u(v):(v=null,A=null),o(v,A)}if(l.messages){var d=this.messages();d===Pu&&(d=Bu()),$r(d,l.messages),l.messages=d}else l.messages=this.messages();var m,h,b={},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=we({},r)),h=r[I]=v.transform(h)),typeof v=="function"?v={validator:v}:v=we({},v),v.validator=a.getValidationMethod(v),v.field=I,v.fullField=v.fullField||I,v.type=a.getType(v),!!v.validator&&(b[I]=b[I]||[],b[I].push({rule:v,value:h,source:r,field:I}))})});var T={};return gm(b,l,function(I,B){var v=I.rule,A=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");A=A&&(v.required||!v.required&&I.value),v.field=I.field;function _(te,N){return we(we({},N),{},{fullField:v.fullField+"."+te})}function O(te){te===void 0&&(te=[]);var N=te;if(Array.isArray(N)||(N=[N]),!l.suppressWarning&&N.length&&Oe.warning("async-validator:",N),N.length&&v.message!==void 0&&(N=[].concat(v.message)),N=N.map(Lr(v)),l.first&&N.length)return T[v.field]=1,B(N);if(!A)B(N);else{if(v.required&&!I.value)return v.message!==void 0?N=[].concat(v.message).map(Lr(v)):l.error&&(N=[l.error(v,fe(l.messages.required,v.field))]),B(N);var Z={};if(v.defaultField)for(var me in I.value)I.value.hasOwnProperty(me)&&(Z[me]=v.defaultField);Z=we(we({},Z),I.rule.fields);for(var Re in Z)if(Z.hasOwnProperty(Re)){var At=Array.isArray(Z[Re])?Z[Re]:[Z[Re]];Z[Re]=At.map(_.bind(null,Re))}var tu=new Oe(Z);tu.messages(l.messages),I.rule.options&&(I.rule.options.messages=l.messages,I.rule.options.error=l.error),tu.validate(I.value,I.rule.options||l,function(_t){var je=[];N&&N.length&&je.push.apply(je,N),_t&&_t.length&&je.push.apply(je,_t),B(je.length?je:null)})}}var k;v.asyncValidator?k=v.asyncValidator(v,I.value,O,I.source,l):v.validator&&(k=v.validator(v,I.value,O,I.source,l),k===!0?O():k===!1?O(v.message||v.field+" fails"):k instanceof Array?O(k):k instanceof Error&&O(k.message)),k&&k.then&&k.then(function(){return O()},function(te){return O(te)})},function(I){c(I)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!kt.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"?kt.required:kt[this.getType(e)]||!1}},Oe.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");kt[e]=n},Oe.warning=kr,Oe.messages=Pu,Oe.validators=kt;var $m={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 Vm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Oe(t);return n.messages(Object.assign($m,e)),n}var Hm=new Dy;function Du(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 jm(t){if(Array.isArray(t))return t}function qm(t){if(Array.isArray(t))return Du(t)}function Hr(t,e,n,u,a,r,l){try{var o=t[r](l),c=o.value}catch(d){n(d);return}o.done?e(c):Promise.resolve(c).then(u,a)}function jr(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(c){Hr(r,u,a,l,o,"next",c)}function o(c){Hr(r,u,a,l,o,"throw",c)}l(void 0)})}}function Um(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qr(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 Wm(t,e,n){return e&&qr(t.prototype,e),n&&qr(t,n),t}function Km(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ur(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Wr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function zm(){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 Gm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Kr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},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){Km(t,a,n[a])})}return t}function Xm(t){return jm(t)||Wr(t)||zr(t,i)||zm()}function Fu(t){return qm(t)||Wr(t)||zr(t)||Gm()}function zr(t,e){if(!!t){if(typeof t=="string")return Du(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Du(t,e)}}var H=function(){function e(n){var u=this;Um(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Xr,this.removeSetting=Gr,this._callControlHooks("preInstance",n);var a=Ur(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,o=a.controlType,c=a.controlFieldType,d=a.controlEventKeys,m=a.controlCustomEvents,h=a.name,b=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:Se(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 Q(n==null?void 0:n.props,(Ur(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=De(b);var B;this.fieldType=(B=n==null?void 0:n.fieldType)!==null&&B!==void 0?B:c,this.eventKeys=De(d),this.customEvents=De(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",n)})}return Wm(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=Xm(a),c=o[0],d=o.slice(1);return(l=Hm).emit.apply(l,[c,this].concat(Fu(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),by(this.props,u,a),this.postUpdate(u,a)}},{key:"preValidate",value:function(){var u=this;return jr(ye.mark(function a(){var r,l,o;return ye.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return r=Kr({},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 jr(ye.mark(function l(){var o,c,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,c=o!==void 0?o:Kr({},r.rules),Array.isArray(a)&&a.forEach(function(b){c.hasOwnProperty(b)&&delete c[b]}),d=Vm(c,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,c=o.dataBind,d=o.datasourceBind,m=o.optionConfig,h=o.caption,b=o.required,S=o.maxLength,T=o.options,I=o.encrypted,B=o.encryptedMode;if(!(!a&&!c&&!d)){var v={parentId:u,fieldType:a,controlId:r,caption:h,type:l,props:{}};switch(c&&(v.dataBind=c),m){case"datasource":case void 0:d&&(v.datasourceBind=d);break;case"custom":v.props.options=T;break}return b!==void 0&&(v.required=b),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:De(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,Fu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();H.controlName="\u63A7\u4EF6",H.controlIcon="icon",H.controlType="control",H.controlEventKeys=[],H.controlCustomEvents=[],H.setting=[],H.__is_control__=!0,H.removeSettingItem=Gr,H.updateSettingItem=Xr;function Gr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(u){var a=typeof u!="string",r=e.setting.findIndex(function(c){return c.key===(a?u.key:u)});if(r!==-1){var l,o;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(c){return!u.hideItems.includes(c)}):e.setting.splice(r,1),a&&!((o=e.setting[r].showItems)===null||o===void 0?void 0:o.length)&&e.setting.splice(r,1)}})}function Xr(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 c;(c=r.showItems).push.apply(c,Fu(e.showItems))}}}})}function Qm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(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 Jm(t,e,n){return e&&Qr(t.prototype,e),n&&Qr(t,n),t}function Zm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}var Y=function(){function e(n){Qm(this,e),this.customEvents=[],this.parent=null;var u=Zm(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 c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:Se(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new Q(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 b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:Eu.UNKNOWN}return Jm(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 xu(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=Iy(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 $n(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 Ym(t){return t.dataCode!==void 0&&t.fieldCode!==void 0}function Jr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function jn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ou(t,e)}function pm(t,e){return e&&(ev(e)==="object"||typeof e=="function")?e:Jr(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ou(t,e)}var ev=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function tv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function qn(t){var e=tv();return function(){var u=Hn(t),a;if(e){var r=Hn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return pm(this,a)}}var ie=function(t){jn(n,t);var e=qn(n);function n(u){Vn(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(Ym(u.dataBind))a.dataBind={type:"object",required:!0,fields:De(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:De(r),message:f.getMessage("pleaseEnterFieldCode")}}),a.dataBind=l}return u.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}(z),j=function(t){jn(n,t);var e=qn(n);function n(u){Vn(this,n);var a;a=e.call(this,u);var r=u.isHide?!1:u.required;return r&&a.push({type:"string",required:r,message:u.requiredMessage!==""?u.requiredMessage:f.getMessage("runtimeRequired",{caption:u.caption})}),a}return n}(qe),M=function(t){jn(n,t);var e=qn(n);function n(u){Vn(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 c;a.captionTip=(c=u==null?void 0:u.captionTip)!==null&&c!==void 0?c:"";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 b;a.required=(b=u==null?void 0:u.required)!==null&&b!==void 0?b:!1;var S;a.requiredMessage=(S=u==null?void 0:u.requiredMessage)!==null&&S!==void 0?S:"",a.dataBind=new Ee(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}(Q);M.Rules=ie,M.RuntimeRules=j;var ht=function(t){jn(n,t);var e=qn(n);function n(u){Vn(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")}],xu.call(Jr(a),u),a}return n}(ie);function nv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function uv(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 av(t,e){return e&&(rv(e)==="object"||typeof e=="function")?e:nv(t)}function ku(t,e){return ku=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ku(t,e)}var rv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function lv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ov(t){var e=lv();return function(){var u=Un(t),a;if(e){var r=Un(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return av(this,a)}}var L=function(t){uv(n,t);var e=ov(n);function n(u){iv(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}(H);L.controlEventKeys=["on_change","on_focus","on_blur"];function cv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function dv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mu(t,e)}function fv(t,e){return e&&(hv(e)==="object"||typeof e=="function")?e:cv(t)}function Mu(t,e){return Mu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Mu(t,e)}var hv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function mv(t){var e=yv();return function(){var u=Wn(t),a;if(e){var r=Wn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return fv(this,a)}}var $=function(t){dv(n,t);var e=mv(n);function n(u){sv(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 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 Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(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&&Nu(t,e)}function Cv(t,e){return e&&(Ev(e)==="object"||typeof e=="function")?e:vv(t)}function Nu(t,e){return Nu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Nu(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=Kn(t),a;if(e){var r=Kn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Cv(this,a)}}var q=function(t){bv(n,t);var e=Iv(n);function n(u){return gv(this,n),e.call(this,u)}return n}(Q);function Lu(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 Sv(t){if(Array.isArray(t))return Lu(t)}function Av(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function _v(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Zr(t){return Sv(t)||Av(t)||Tv(t)||_v()}function Tv(t,e){if(!!t){if(typeof t=="string")return Lu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Lu(t,e)}}function Rv(t,e){var n;((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(t,e,{enumerable:!1})}function Yr(t,e,n){n==="Designer"&&(t.parent=e,Rv(t,"parent"))}function Bv(t,e,n){t.forEach(function(u){Yr(u,e,n)})}var pr=Symbol("targetKey");function el(t){var e;return(e=t[pr])!==null&&e!==void 0?e:t}function tl(t,e,n){return Bv(t,e,n),new Proxy(t,{get:function(a,r){for(var l=arguments.length,o=new Array(l>2?l-2:0),c=2;c<l;c++)o[c-2]=arguments[c];var d;return r===pr?a:(d=Reflect).get.apply(d,[a,r].concat(Zr(o)))},set:function(a,r,l){for(var o=arguments.length,c=new Array(o>3?o-3:0),d=3;d<o;d++)c[d-3]=arguments[d];var m;if(cu(t)&&r==="length"&&l===t.length)return!0;var h=(m=Reflect).set.apply(m,[a,r,l].concat(Zr(c)));return wy(l)&&Yr(l,e,n),h}})}function _e(t,e,n,u,a){var r=u!=null?u:t,l=tl(el(n!=null?n:[]),r,a);Object.defineProperty(t,e,{get:function(){return l},set:function(c){l=tl(el(c),r,a)},enumerable:!0})}function $u(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 Pv(t){if(Array.isArray(t))return $u(t)}function nl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function il(t,e,n,u,a,r,l){try{var o=t[r](l),c=o.value}catch(d){n(d);return}o.done?e(c):Promise.resolve(c).then(u,a)}function Dv(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(c){il(r,u,a,l,o,"next",c)}function o(c){il(r,u,a,l,o,"throw",c)}l(void 0)})}}function Fv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ul(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function xv(t,e,n){return e&&ul(t.prototype,e),n&&ul(t,n),t}function Ov(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yt=Reflect.get:yt=function(a,r,l){var o=Hv(a,r);if(!!o){var c=Object.getOwnPropertyDescriptor(o,r);return c.get?c.get.call(l):c.value}},yt(t,e,n||t)}function ke(t){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ke(t)}function kv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vu(t,e)}function Mv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Nv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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 $v(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){Ov(t,a,n[a])})}return t}function Vv(t,e){return e&&(jv(e)==="object"||typeof e=="function")?e:nl(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Vu(t,e)}function Hv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ke(t),t!==null););return t}function al(t){return Pv(t)||Nv(t)||qv(t)||Lv()}var jv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qv(t,e){if(!!t){if(typeof t=="string")return $u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return $u(t,e)}}function Uv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Wv(t){var e=Uv();return function(){var u=ke(t),a;if(e){var r=ke(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Vv(this,a)}}var Kv=1e4,W=function(e){kv(u,e);var n=Wv(u);function u(a){Fv(this,u);var r;r=n.call(this,a),r.controlType="layout";var l=Mv(this,u)?this.constructor:void 0,o=l.excludes,c=l.childrenMaxLength;return r.props=new q(a==null?void 0:a.props),_e(nl(r),"children",a==null?void 0:a.children,void 0,"Designer"),r.excludes=De(o),r.childrenMaxLength=c,r}return xv(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,c=this,d=function(){return yt(ke(u.prototype),"validate",o)};return Dv(ye.mark(function m(){return ye.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,d().call(c,r,l);case 2:return b.next=4,Promise.all(c.children.map(function(S){return S.validate(r,l)}));case 4:return b.abrupt("return",!0);case 5:case"end":return b.stop()}},m)}))()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=yt(ke(u.prototype),"toDataBindModel",this).call(this),o=l?[l]:[];return this.children.reduce(function(c,d){var m=d.toDataBindModel(r);if(Array.isArray(m)){var h=m.filter(function(b){return!!b});return al(c).concat(al(h))}return m&&c.push(m),c},o)}},{key:"toSchema",value:function(){var r=yt(ke(u.prototype),"toSchema",this).call(this),l=this.children.map(function(o){var c=o.toSchema();return c});return $v({},r,{children:l})}}]),u}(H);W.excludes=!1,W.childrenMaxLength=Kv;function rl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(t)}function Gv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hu(t,e)}function Xv(t,e){return e&&(Qv(e)==="object"||typeof e=="function")?e:rl(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Hu(t,e)}var Qv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Jv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Zv(t){var e=Jv();return function(){var u=zn(t),a;if(e){var r=zn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Xv(this,a)}}var J=function(t){Gv(n,t);var e=Zv(n);function n(u){zv(this,n);var a;return a=e.call(this,u),a.controlType="layout",a.props=new q(u==null?void 0:u.props),_e(rl(a),"children",u==null?void 0:u.children,void 0,"Runtime"),a}return n}(Y);function ll(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yv(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 pv(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 eg(t,e){return e&&(tg(e)==="object"||typeof e=="function")?e:ll(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ju(t,e)}var tg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ng(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ig(t){var e=ng();return function(){var u=Gn(t),a;if(e){var r=Gn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return eg(this,a)}}var Xn=function(t){pv(n,t);var e=ig(n);function n(u,a,r){Yv(this,n);var l;return l=e.call(this,a),_e(ll(l),"headers",a==null?void 0:a.headers,u,r),l}return n}(Q);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 ug(t){if(Array.isArray(t))return qu(t)}function ol(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),c=o.value}catch(d){n(d);return}o.done?e(c):Promise.resolve(c).then(u,a)}function ag(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(c){cl(r,u,a,l,o,"next",c)}function o(c){cl(r,u,a,l,o,"throw",c)}l(void 0)})}}function rg(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 lg(t,e,n){return e&&sl(t.prototype,e),n&&sl(t,n),t}function og(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?mt=Reflect.get:mt=function(a,r,l){var o=hg(a,r);if(!!o){var c=Object.getOwnPropertyDescriptor(o,r);return c.get?c.get.call(l):c.value}},mt(t,e,n||t)}function Me(t){return Me=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Me(t)}function cg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}function sg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function dg(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function dl(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){og(t,a,n[a])})}return t}function fg(t,e){return e&&(yg(e)==="object"||typeof e=="function")?e:ol(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Uu(t,e)}function hg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Me(t),t!==null););return t}function fl(t){return ug(t)||sg(t)||mg(t)||dg()}var yg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function mg(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 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=Me(t),a;if(e){var r=Me(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return fg(this,a)}}var Wu=function(t){cg(n,t);var e=gg(n);function n(u){rg(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new Xn(ol(a),u==null?void 0:u.props,"Designer"),a}return lg(n,[{key:"validate",value:function(a,r){var l=this,o=this,c=function(){return mt(Me(n.prototype),"validate",l)};return ag(ye.mark(function d(){return ye.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,c().call(o,a);case 2:return h.next=4,Promise.all(o.props.headers.map(function(b){return b.validate(a,r)}));case 4:return h.abrupt("return",!0);case 5:case"end":return h.stop()}},d)}))()}},{key:"toDataBindModel",value:function(){var a=mt(Me(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(o,c){var d=c.toDataBindModel(l);if(Array.isArray(d)){var m=d.filter(function(h){return!!h});return fl(o).concat(fl(m))}return d&&o.push(d),o},r)}},{key:"toSchema",value:function(){var a,r,l=mt(Me(n.prototype),"toSchema",this).call(this),o=this.props.headers.map(function(d){return d.toSchema()}),c=(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 dl({},l,{props:dl({},this.props,{headers:o,footers:c})})}}]),n}(H);Wu.controlFieldType=g.LIST;function Ku(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hl(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 Cg(t,e,n){return e&&hl(t.prototype,e),n&&hl(t,n),t}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function Eg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&zu(t,e)}function wg(t,e){return e&&(Ig(e)==="object"||typeof e=="function")?e:Ku(t)}function zu(t,e){return zu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},zu(t,e)}var Ig=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 Ag(t){var e=Sg();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 wg(this,a)}}var yl=function(t){Eg(n,t);var e=Ag(n);function n(u){bg(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new Xn(Ku(a),u==null?void 0:u.props,"Runtime"),_e(Ku(a),"children",u==null?void 0:u.children,void 0,"Runtime"),a}return Cg(n,[{key:"length",get:function(){return this.children.length}}]),n}(Y);function ml(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function Xu(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Qu(t,e)}function _g(t,e){return e&&(Tg(e)==="object"||typeof e=="function")?e:ml(t)}function Qu(t,e){return Qu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Qu(t,e)}var Tg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Rg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ju(t){var e=Rg();return function(){var u=Jn(t),a;if(e){var r=Jn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return _g(this,a)}}var Te=function(t){Xu(n,t);var e=Ju(n);function n(u){Gu(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}(z),K=function(t){Xu(n,t);var e=Ju(n);function n(u){Gu(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 _r(u==null?void 0:u.autoWidth),a.dataBind=new Ee(u==null?void 0:u.dataBind);var c;a.sort=(c=u==null?void 0:u.sort)!==null&&c!==void 0?c:!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}(Q);K.Rules=Te;var vl=function(t){Xu(n,t);var e=Ju(n);function n(u){Gu(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")}],xu.call(ml(a),u),a}return n}(Te);function Bg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function Dg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zu(t,e)}function Fg(t,e){return e&&(xg(e)==="object"||typeof e=="function")?e:Bg(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Zu(t,e)}var xg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Og(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function kg(t){var e=Og();return function(){var u=Zn(t),a;if(e){var r=Zn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Fg(this,a)}}var p=function(t){Dg(n,t);var e=kg(n);function n(u){Pg(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new K(u==null?void 0:u.props),a}return n}(H);function Mg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ng(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(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&&Yu(t,e)}function $g(t,e){return e&&(Vg(e)==="object"||typeof e=="function")?e:Mg(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Yu(t,e)}var Vg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Hg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function jg(t){var e=Hg();return function(){var u=Yn(t),a;if(e){var r=Yn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return $g(this,a)}}var ee=function(t){Lg(n,t);var e=jg(n);function n(u){Ng(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new K(u==null?void 0:u.props),a}return n}(Y);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&&pu(t,e)}function Kg(t,e){return e&&(zg(e)==="object"||typeof e=="function")?e:qg(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},pu(t,e)}var zg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Gg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Xg(t){var e=Gg();return function(){var u=pn(t),a;if(e){var r=pn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Kg(this,a)}}var ea=function(t){Wg(n,t);var e=Xg(n);function n(u){Ug(this,n);var a;return a=e.call(this,u),a.dataBind=new Ee(u==null?void 0:u.dataBind),a}return n}(q);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&&ta(t,e)}function Yg(t,e){return e&&(pg(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 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 n0=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="search",a.props=new ea(u==null?void 0:u.props),a}return n}(W);function i0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function u0(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 a0(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 r0(t,e){return e&&(l0(e)==="object"||typeof e=="function")?e:i0(t)}function na(t,e){return na=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},na(t,e)}var l0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function o0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function c0(t){var e=o0();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 r0(this,a)}}var s0=function(t){a0(n,t);var e=c0(n);function n(u){u0(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new ea(u==null?void 0:u.props),a}return n}(J);function Ue(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class ia extends Q{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 gl extends H{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 ia(e==null?void 0:e.props)}}gl.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class d0 extends Y{static get controlType(){return"text"}constructor(e){super(e);this.props=new ia(e==null?void 0:e.props)}}var bl={Designer:gl,Runtime:d0,Property:ia};class ua extends Q{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 aa extends H{static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}constructor(e){super(e);this.props=new ua(e==null?void 0:e.props)}}aa.controlEventKeys=["on_click"],aa.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class f0 extends Y{static get controlType(){return"link"}constructor(e){super(e);this.props=new ua(e==null?void 0:e.props)}}var Cl={Designer:aa,Runtime:f0,Property:ua};class ae extends Q{constructor(e){super(e);var n,u,a,r,l,o,c,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=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1,this.optObj=new tm((m=e==null?void 0:e.optObj)!=null?m:{})}}class re extends H{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:[s.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 El={Designer:re,Runtime:he,Property:ae},Ne=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Ne||{}),wl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(wl||{}),Il=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Il||{});class ni{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var ra=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ra||{});class ii{constructor(e){var n,u;this.id=(n=e==null?void 0:e.id)!=null?n:Se(),this.text=(u=e==null?void 0:e.text)!=null?u:""}}var la=(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))(la||{});class oa{constructor(e){var n,u,a,r,l,o,c,d;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Dt((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 Dt((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new Dt((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(d=e==null?void 0:e.remark)!=null?d:""}}class Sl{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(c=>new oa(c)))!=null?a:[new oa],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 ca{constructor(e){var n,u,a,r,l,o,c;this.id=(n=e==null?void 0:e.id)!=null?n:Se(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=(c=e==null?void 0:e.active)!=null?c:!1}}class sa{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 Al{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 sa(e==null?void 0:e.watermark),this.autoRename=new sa(e==null?void 0:e.autoRename)}}const _l=480;function Mt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Tl{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 Rl{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 Bl=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Bl||{}),da=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(da||{}),ui=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(ui||{}),Le=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Le||{}),fa=(t=>(t.ALL="all",t.ADMIN="admin",t))(fa||{});class ha extends Q{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:la.SOLID}}class Pl extends H{static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}constructor(e){super(e);this.props=new ha(e==null?void 0:e.props)}}Pl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class h0 extends Y{static get controlType(){return"divider"}constructor(e){super(e);this.props=new ha(e==null?void 0:e.props)}}var Dl={Designer:Pl,Runtime:h0,Property:ha};class y0 extends z{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Ne.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class ai extends Q{constructor(e){super(e);var n,u,a,r;this.dataBind=new Ee(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Ne.ShowSubmitUser,Ne.ShowSubmitDept,Ne.ShowSubmitTime,Ne.ShowCurrentApprovar,Ne.ShowTitle],this.caption=(a=(u=e==null?void 0:e.caption)!=null?u:vt==null?void 0:vt.controlName)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}ai.Rules=y0;class vt extends H{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 ai(e==null?void 0:e.props)}}vt.controlFieldType=g.AUTO_NUMBER,vt.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class m0 extends Y{static get controlType(){return"title"}constructor(e){super(e);this.props=new ai(e==null?void 0:e.props)}}var Fl={Designer:vt,Runtime:m0,Property:ai};class v0 extends z{constructor(e){super(e);this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class ri extends ae{constructor(e){super(e);var n,u,a,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:Nt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Nt.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}ri.Rules=v0;class Nt 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 ri(e==null?void 0:e.props)}}Nt.controlEventKeys=["on_click","on_click_finish"],Nt.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 g0 extends he{static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new ri(e==null?void 0:e.props)}}var xl={Designer:Nt,Runtime:g0,Property:ri};class b0 extends z{constructor(e){super(e);this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class li extends ae{constructor(e){super(e);var n,u,a,r,l,o;this.icon=(n=e==null?void 0:e.icon)!=null?n:Lt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Lt.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:""}}li.Rules=b0;class Lt 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 li(e==null?void 0:e.props)}}Lt.controlEventKeys=["on_click","on_click_finish"],Lt.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 C0 extends he{static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new li(e==null?void 0:e.props)}}var Ol={Designer:Lt,Runtime:C0,Property:li};class ya extends ae{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:$t.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:$t.controlIcon}}class $t 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 ya(e==null?void 0:e.props)}}$t.controlEventKeys=["on_click"],$t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class E0 extends he{static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new ya(e==null?void 0:e.props)}}var kl={Designer:$t,Runtime:E0,Property:ya};class ma extends ae{constructor(e){super(e);var n,u,a,r;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.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new ca(l)))!=null?r:[new ca({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Vt 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 ma(e==null?void 0:e.props)}}Vt.controlEventKeys=["on_click","on_click_finish"],Vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class w0 extends he{static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new ma(e==null?void 0:e.props)}}var Ml={Designer:Vt,Runtime:w0,Property:ma};class va extends ae{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:Ht.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ht.controlIcon}}class Ht 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 va(e==null?void 0:e.props)}}Ht.controlEventKeys=["on_click"],Ht.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class I0 extends he{static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new va(e==null?void 0:e.props)}}var Nl={Designer:Ht,Runtime:I0,Property:va};class S0{constructor(e){this.dataCode=e.dataCode}}class ga extends ae{constructor(e){super(e);var n,u,a,r;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,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(l=>new S0(l)))!=null?r:[]}}class jt 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 ga(e==null?void 0:e.props)}}jt.controlEventKeys=["on_click","on_click_finish"],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:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class A0 extends he{static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new ga(e==null?void 0:e.props)}}var Ll={Designer:jt,Runtime:A0,Property:ga};function oi(){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 _0 extends z{constructor(e){super(e);this.fillPayload={type:"object",fields:Be({},oi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Be({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},oi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class ci extends ae{constructor(e){super(e);var n,u,a;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.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new Fr(e==null?void 0:e.fillPayload),this.formBind=new Ly(e==null?void 0:e.formBind),this.fillBack=new xr(e==null?void 0:e.fillBack)}}ci.Rules=_0;class qt 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 ci(e==null?void 0:e.props)}}qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class T0 extends he{static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new ci(e==null?void 0:e.props)}}var $l={Designer:qt,Runtime:T0,Property:ci};class R0 extends z{constructor(e){super(e);this.fillPayload={type:"object",fields:Be({},oi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Be({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},oi())}}}class si extends ae{constructor(e){super(e);var n,u,a;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.fillPayload=new Fr(e==null?void 0:e.fillPayload),this.listPageBind=new yu(e==null?void 0:e.listPageBind),this.fillBack=new xr(e==null?void 0:e.fillBack),this.showSelectedDetail=(a=e==null?void 0:e.showSelectedDetail)!=null?a:!1,this.selectedContentConfig=new bu(e==null?void 0:e.selectedContentConfig)}}si.Rules=R0;class Ut 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 si(e==null?void 0:e.props)}}Ut.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],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:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class B0 extends he{static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new si(e==null?void 0:e.props)}}var Vl={Designer:Ut,Runtime:B0,Property:si};class P0 extends z{constructor(e){super(e)}}class D0 extends qe{constructor(e){super(e)}}class Wt extends Q{constructor(e){super(e)}}Wt.Rules=P0,Wt.RuntimeRules=D0;class Hl extends H{static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}constructor(e){super(e);this.props=new Wt(e==null?void 0:e.props)}}Hl.setting=[];class F0 extends Y{static get controlType(){return"pagination"}constructor(e){super(e);this.props=new Wt(e==null?void 0:e.props)}}var jl={Designer:Hl,Runtime:F0,Property:Wt};class x0 extends z{constructor(e){super(e);this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class di extends Q{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"}}di.Rules=x0;class ql extends H{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 di(e==null?void 0:e.props)}}ql.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class O0 extends Y{static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}var Ul={Designer:ql,Runtime:O0,Property:di};class k0 extends z{constructor(e){super(e);this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class fi extends Q{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 py(r)))!=null?a:[]}}fi.Rules=k0;class Wl extends H{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 fi(e==null?void 0:e.props)}}Wl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class M0 extends Y{static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new fi(e==null?void 0:e.props)}}var Kl={Designer:Wl,Runtime:M0,Property:fi};class N0 extends z{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,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 hi extends ae{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h;this.caption=(n=e==null?void 0:e.caption)!=null?n:gt.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:gt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:gt.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(b=>new le(b)))!=null?h:[]}}hi.Rules=N0;class gt 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 hi(e==null?void 0:e.props)}}gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class L0 extends he{static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}var zl={Designer:gt,Runtime:L0,Property:hi};class $0 extends z{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,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 yi extends ae{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h;this.caption=(n=e==null?void 0:e.caption)!=null?n:bt.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:bt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:bt.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(b=>new le(b)))!=null?h:[]}}yi.Rules=$0;class bt 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 yi(e==null?void 0:e.props)}}bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class V0 extends he{static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new yi(e==null?void 0:e.props)}}var Gl={Designer:bt,Runtime:V0,Property:yi};class H0 extends z{constructor(){super(...arguments);this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class mi 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 Tl(o)))!=null?r:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}mi.Rules=H0;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 mi(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 j0 extends he{static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}}var Xl={Designer:Kt,Runtime:j0,Property:mi};class ba extends ae{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:zt.controlIcon}}class zt 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 ba(e==null?void 0:e.props)}}zt.controlEventKeys=["on_click"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class q0 extends he{static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new ba(e==null?void 0:e.props)}}var Ql={Designer:zt,Runtime:q0,Property:ba};class U0 extends z{constructor(e){super(e);this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class vi extends Q{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}}vi.Rules=U0;class gi extends H{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 vi(e==null?void 0:e.props)}}gi.controlEventKeys=["on_click"],gi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class W0 extends Y{static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}var Jl={Designer:gi,Runtime:W0,Property:vi};class Ca extends Q{constructor(e){super(e);var n,u,a,r,l,o,c,d,m;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.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=(c=e==null?void 0:e.defaultState)!=null?c:"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 Gt extends H{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 Ca(e==null?void 0:e.props)}}Gt.controlEventKeys=["on_click"],Gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class K0 extends Y{static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new Ca(e==null?void 0:e.props)}}var Zl={Designer:Gt,Runtime:K0,Property:Ca},z0=Object.freeze({__proto__:null,Text:bl,Link:Cl,Button:El,Divider:Dl,Title:Fl,CreateFormListButton:xl,BatchSubmissionListButton:Ol,SubmissionRecordListButton:kl,ExportListButton:Ml,ExportRecordListButton:Nl,ImportRecordListButton:Ll,FormSelectButton:$l,ListSelectButton:Vl,Pagination:jl,Dashboard:Ul,ListViewSelect:Kl,TextOcrButton:zl,InvoiceCheckButton:Gl,BatchPrintListButton:Xl,BatchPrintRecordListButton:Ql,OperationButton:Jl,BatchDeleteButton:Zl});class G0 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=Mt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class X0 extends j{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:Mt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ct extends M{constructor(e){super(e);var n,u,a,r,l,o,c;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 Or(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:Et.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=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}Ct.Rules=G0,Ct.RuntimeRules=X0;class Et extends L{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 Ct(e==null?void 0:e.props)}}Et.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Et.controlFieldType=g.VARCHAR,Et.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Yl extends ${static get controlType(){return"input"}constructor(e){super(e);this.props=new Ct(e==null?void 0:e.props)}}Yl.controlFieldType=g.VARCHAR;var pl={Designer:Et,Runtime:Yl,Property:Ct};class Q0 extends ht{constructor(e){super(e);this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const u=a=>a==="unlimited"?void 0:a;this.limitMax.min=u(e.limitMin)}}class J0 extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Xt extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h,b,S,T;this.options=Ae((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=(c=e==null?void 0:e.limitMax)!=null?c:"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:Qt.controlName,this.defaultValue=(h=e==null?void 0:e.defaultValue)!=null?h:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"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))}))}}Xt.Rules=Q0,Xt.RuntimeRules=J0;class Qt extends L{static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new Xt(e==null?void 0:e.props)}}Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=g.ARRAY,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class eo extends ${static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new Xt(e==null?void 0:e.props)}}eo.controlFieldType=g.ARRAY;var to={Designer:Qt,Runtime:eo,Property:Xt};class Z0 extends ht{constructor(e){super(e)}}class bi extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h,b;this.options=Ae((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=(c=e==null?void 0:e.optionsFormat)!=null?c:"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:Jt.controlName,this.defaultValue=(h=e==null?void 0:e.defaultValue)!=null?h:"",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(S=>{var T;(T=this.multistageFilling)==null||T.push(new le(S))}))}}bi.Rules=Z0;class Jt extends L{static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=g.VARCHAR,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class no extends ${static get controlType(){return"radio"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}no.controlFieldType=g.VARCHAR;var io={Designer:Jt,Runtime:no,Property:bi};class Y0 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=Mt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class p0 extends j{constructor(e){super(e);this[0]!==void 0&&(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:Mt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Zt extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h,b,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=(c=e==null?void 0:e.showUpperCase)!=null?c:!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=(b=e==null?void 0:e.caption)!=null?b:Yt.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 Or(e==null?void 0:e.regularRules)}}Zt.Rules=Y0,Zt.RuntimeRules=p0;class Yt extends L{static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}constructor(e){super(e);this.props=new Zt(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}}Yt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Yt.controlFieldType=g.DECIMAL,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class uo extends ${static get controlType(){return"number"}constructor(e){super(e);this.props=new Zt(e==null?void 0:e.props)}}uo.controlFieldType=g.DECIMAL;var ao={Designer:Yt,Runtime:uo,Property:Zt};class Ea extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h,b;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Pe.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:Ci.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.limitDateList=(m=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(S=>new ni(S)))!=null?m:[],this.allowDateRange=(h=e==null?void 0:e.allowDateRange)!=null?h:["",""],this.filterWeekend=(b=e==null?void 0:e.filterWeekend)!=null?b:!1}}class Ci extends L{static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new Ea(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}}Ci.controlFieldType=g.TIMESTAMP,Ci.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ro extends ${static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new Ea(e==null?void 0:e.props)}}ro.controlFieldType=g.TIMESTAMP;var lo={Designer:Ci,Runtime:ro,Property:Ea};class eb extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Ei extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h,b;this.dataBind=new Xy(e==null?void 0:e.dataBind),this.defaultValue=new Qy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Pe.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=(c=e==null?void 0:e.placeholderStart)!=null?c:"\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:wi.controlName,this.limitDateList=(b=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(S=>new ni(S)))!=null?b:[]}}Ei.RuntimeRules=eb;class wi extends L{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 Ei(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}}wi.controlFieldType=g.TIMESCOPE,wi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class oo extends ${static get controlType(){return"date-range"}constructor(e){super(e);this.props=new Ei(e==null?void 0:e.props)}}oo.controlFieldType=g.TIMESCOPE;var co={Designer:wi,Runtime:oo,Property:Ei};class tb 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 nb extends j{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 pt 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:en.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}}pt.Rules=tb,pt.RuntimeRules=nb;class en extends L{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 pt(e==null?void 0:e.props)}}en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=g.TEXT,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class so extends ${static get controlType(){return"textarea"}constructor(e){super(e);this.props=new pt(e==null?void 0:e.props)}}so.controlFieldType=g.TEXT;var fo={Designer:en,Runtime:so,Property:pt};class ib 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 ub extends j{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;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"}}tn.Rules=ib,tn.RuntimeRules=ub;class nn extends L{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 tn(e==null?void 0:e.props)}}nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=g.TEXT,nn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class ho extends ${static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}ho.controlFieldType=g.TEXT;var yo={Designer:nn,Runtime:ho,Property:tn};class ab extends ht{constructor(e){super(e)}}class Ii extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h;this.options=Ae((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:Si.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=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!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(b=>{var S;(S=this.multistageFilling)==null||S.push(new le(b))})),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 dt(e==null?void 0:e.formBind)}}Ii.Rules=ab;class Si extends L{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 Ii(e==null?void 0:e.props)}}Si.controlFieldType=g.VARCHAR,Si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class mo extends ${static get controlType(){return"select"}constructor(e){super(e);this.props=new Ii(e==null?void 0:e.props)}}mo.controlFieldType=g.VARCHAR;var vo={Designer:Si,Runtime:mo,Property:Ii};class rb extends ht{constructor(e){super(e)}}class lb extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class un extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m;this.options=Ae((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:Ai.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=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var b;(b=this.multistageFilling)==null||b.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 dt(e==null?void 0:e.formBind)}}un.Rules=rb,un.RuntimeRules=lb;class Ai extends L{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 un(e==null?void 0:e.props)}}Ai.controlFieldType=g.ARRAY,Ai.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class go extends ${static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new un(e==null?void 0:e.props)}}go.controlFieldType=g.ARRAY;var bo={Designer:Ai,Runtime:go,Property:un};class ob extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class _i extends M{constructor(e){super(e);var n,u,a,r,l,o,c,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=(c=e==null?void 0:e.caption)!=null?c:Ti.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 b;(b=this.multistageFilling)==null||b.push(new le(h))}))}}_i.RuntimeRules=ob;class Ti extends L{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}Ti.controlFieldType=g.EMPLOYEES,Ti.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Co extends ${static get controlType(){return"employee"}constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}Co.controlFieldType=g.EMPLOYEES;var Eo={Designer:Ti,Runtime:Co,Property:_i};const cb=10485760,sb=104857600,db=1048576e3;class fb extends ie{constructor(e){super(e);this.maxSize={type:"number",min:0,max:db,message:f.getMessage("attachmentMaxSize")}}}class hb extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class wt extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(u=e==null?void 0:e.showType)!=null?u:"default",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:sb,this.caption=(c=e==null?void 0:e.caption)!=null?c:It.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}wt.Rules=fb,wt.RuntimeRules=hb;class It extends L{static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}constructor(e){super(e);this.props=new wt(e==null?void 0:e.props)}}It.controlEventKeys=["on_change"],It.controlFieldType=g.FILE,It.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class wa extends ${static get controlType(){return"attachment"}constructor(e){super(e);this.props=new wt(e==null?void 0:e.props)}}wa.controlFieldType=g.FILE;var wo={Designer:It,Runtime:wa,Property:wt};const Io=class extends It{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:Io.controlName,this.props.placeholder=(a=(u=t==null?void 0:t.props)==null?void 0:u.placeholder)!=null?a:"\u4E0A\u4F20\u56FE\u7247"}};let Ia=Io;Ia.controlFieldType=g.IMAGE,Ia.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class yb extends wa{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 mb extends wt{constructor(e){super(e)}}var So={Designer:Ia,Runtime:yb,Property:mb};class vb extends ht{constructor(e){super(e);this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,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 gb extends j{constructor(e){super(e);this[0]!==void 0&&(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:[Pn(Be({},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 an extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h,b;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 zy(e==null?void 0:e.dataBind),this.datasourceBind=new ne((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new vu({value:"name"})]}),this.defaultValue=new Gy((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:kn.CNY}),this.options=Ae(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:rn.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=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}an.Rules=vb,an.RuntimeRules=gb;class rn extends L{static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}constructor(e){super(e);this.props=new an(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}}rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=g.MONEY,rn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Ao extends ${static get controlType(){return"amount"}constructor(e){super(e);this.props=new an(e==null?void 0:e.props)}}Ao.controlFieldType=g.MONEY;var _o={Designer:rn,Runtime:Ao,Property:an};class bb 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 Cb extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class ln extends M{constructor(e){super(e);var n,u,a,r,l,o,c;this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(u=e==null?void 0:e.scoreType)!=null?u:ra.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 ii(d)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new ii),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:on.controlName}}ln.Rules=bb,ln.RuntimeRules=Cb;class on extends L{static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}constructor(e){super(e);this.props=new ln(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 ii);this.props.explain.push(...a)}}super.postUpdate(e,n)}}on.controlEventKeys=["on_change","on_click"],on.controlFieldType=g.DECIMAL,on.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class To extends ${static get controlType(){return"score"}constructor(e){super(e);this.props=new ln(e==null?void 0:e.props)}}To.controlFieldType=g.DECIMAL;var Ro={Designer:on,Runtime:To,Property:ln};class Eb extends j{constructor(e){super(e);if(this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Ri extends M{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:Bi.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 Jy((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"}}Ri.RuntimeRules=Eb;class Bi extends L{static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}constructor(e){super(e);this.props=new Ri(e==null?void 0:e.props)}}Bi.controlFieldType=g.ADDRESS,Bi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Bo 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 Ri(e==null?void 0:e.props)}}Bo.controlFieldType=g.ADDRESS;var Po={Designer:Bi,Runtime:Bo,Property:Ri};class wb extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class Pi extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h,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=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(m=e==null?void 0:e.caption)!=null?m:cn.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(S=>{var T;(T=this.multistageFilling)==null||T.push(new le(S))}))}}Pi.RuntimeRules=wb;class cn extends L{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}constructor(e){super(e);this.props=new Pi(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}}cn.controlName="\u90E8\u95E8",cn.controlFieldType=g.DEPARTMENTS,cn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Do extends ${static get controlType(){return"department"}constructor(e){super(e);this.props=new Pi(e==null?void 0:e.props)}}Do.controlFieldType=g.DEPARTMENTS;var Fo={Designer:cn,Runtime:Do,Property:Pi};class Sa 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:sn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class sn extends L{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 Sa(e==null?void 0:e.props)}}sn.controlEventKeys=["on_change"],sn.controlFieldType=g.AUTO_NUMBER,sn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class xo extends ${static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new Sa(e==null?void 0:e.props)}}xo.controlFieldType=g.AUTO_NUMBER;var Oo={Designer:sn,Runtime:xo,Property:Sa};class Ib 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 Sb extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class dn extends M{constructor(e){super(e);var n,u,a,r,l,o,c;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 Zy(e==null?void 0:e.dataBind),this.defaultValue=new Yy(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:fn.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=(c=e==null?void 0:e.scriptSrc)!=null?c:""}}dn.Rules=Ib,dn.RuntimeRules=Sb;class fn extends L{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 dn(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}}fn.controlEventKeys=["on_change"],fn.controlFieldType=g.CALC,fn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ko extends ${static get controlType(){return"calc"}constructor(e){super(e);this.props=new dn(e==null?void 0:e.props)}}ko.controlFieldType=g.CALC;var Mo={Designer:fn,Runtime:ko,Property:dn};class Ab extends j{constructor(e){super(e);this[0]!==void 0&&(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 Di 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:Fi.controlName}}Di.RuntimeRules=Ab;class Fi extends L{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 Di(e==null?void 0:e.props)}}Fi.controlFieldType=g.DECIMAL_RANGE,Fi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class No extends ${static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new Di(e==null?void 0:e.props)}}No.controlFieldType=g.DECIMAL_RANGE;var Lo={Designer:Fi,Runtime:No,Property:Di};class _b extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class xi extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h,b,S;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(u=e==null?void 0:e.dateType)!=null?u:Pe.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=(c=e==null?void 0:e.rangeMax)!=null?c:"",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:Oi.controlName,this.limitDateList=(S=(b=e==null?void 0:e.limitDateList)==null?void 0:b.map(T=>new ni(T)))!=null?S:[]}}xi.RuntimeRules=_b;class Oi extends L{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 xi(e==null?void 0:e.props)}}Oi.controlFieldType=g.ARRAY,Oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $o extends ${static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new xi(e==null?void 0:e.props)}}$o.controlFieldType=g.ARRAY;var Vo={Designer:Oi,Runtime:$o,Property:xi};class Tb extends ie{constructor(e){super(e);this.dataBind={type:"any"}}}class Rb extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="any")}}class hn extends M{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:yn.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}}hn.Rules=Tb,hn.RuntimeRules=Rb;class yn extends L{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 hn(e==null?void 0:e.props)}}yn.controlFieldType=g.ANY,yn.controlEventKeys=[],yn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Ho extends ${static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new hn(e==null?void 0:e.props)}}Ho.controlFieldType=g.ANY;var jo={Designer:yn,Runtime:Ho,Property:hn};class Bb extends ht{constructor(e){super(e);this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}]}}class ki extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m;this.options=Ae((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.listPageBind=new yu(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:mn.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=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new bu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var b;(b=this.multistageFilling)==null||b.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 dt(e==null?void 0:e.formBind)}}ki.Rules=Bb;class mn extends L{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 ki(e==null?void 0:e.props)}}mn.controlFieldType=g.VARCHAR,mn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}],mn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class qo extends ${static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new ki(e==null?void 0:e.props)}}qo.controlFieldType=g.VARCHAR;var Uo={Designer:mn,Runtime:qo,Property:ki};class Aa extends Ct{constructor(e){super(e)}}class Wo extends Et{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}constructor(e){super(e);this.props=new Aa(e==null?void 0:e.props)}}Wo.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class Ko extends ${static get controlType(){return"search-input"}constructor(e){super(e);this.props=new Aa(e==null?void 0:e.props)}}Ko.controlFieldType=g.VARCHAR;var zo={Designer:Wo,Runtime:Ko,Property:Aa};class Pb extends ie{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],$n.call(this,e,$e.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"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class Db extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class vn extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h,b,S,T,I,B,v,A,_;this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.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=(c=e==null?void 0:e.containsSubNode)!=null?c:!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.defaultCollapse=(h=e==null?void 0:e.defaultCollapse)!=null?h:"all",this.defaultCollapseLevel=(b=e==null?void 0:e.defaultCollapseLevel)!=null?b:1,this.datasourceBind=new Pr((S=e==null?void 0:e.datasourceBind)!=null?S:{attributes:$e.controlCustomAttributes}),this.filterItemDatasourceBind=new Pr((T=e==null?void 0:e.filterItemDatasourceBind)!=null?T:{attributes:$e.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(B=e==null?void 0:e.defaultDisplay)!=null?B:!1,this.multistageFilling=(A=(v=e==null?void 0:e.multistageFilling)==null?void 0:v.map(O=>new le(O)))!=null?A:[],this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:[]}}vn.Rules=Pb,vn.RuntimeRules=Db;class $e extends L{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 vn(e==null?void 0:e.props)}}$e.controlEventKeys=["on_change","on_click"],$e.controlFieldType=g.ARRAY,$e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Go extends ${static get controlType(){return"tree"}constructor(e){super(e);this.props=new vn(e==null?void 0:e.props)}}Go.controlFieldType=g.ARRAY;var Xo={Designer:$e,Runtime:Go,Property:vn};class Fb extends ie{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},$n.call(this,e,St.controlCustomAttributes),e.externalType===Le.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class xb extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class gn extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h,b,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=(c=e==null?void 0:e.caption)!=null?c:St.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 On((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:St.controlCustomAttributes}),this.datasourceType=(h=e==null?void 0:e.datasourceType)!=null?h:da.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:fa.ADMIN,this.externalType=(S=e==null?void 0:e.externalType)!=null?S:Le.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))}))}}gn.Rules=Fb,gn.RuntimeRules=xb;class St extends L{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 gn(e==null?void 0:e.props)}}St.controlFieldType=g.EMPLOYEES,St.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Qo extends ${static get controlType(){return"employee2"}constructor(e){super(e);this.props=new gn(e==null?void 0:e.props)}}Qo.controlFieldType=g.EMPLOYEES;var Jo={Designer:St,Runtime:Qo,Property:gn};class Ob 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"&&cu(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")&&cu(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class Mi 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:bn.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 Sl(e==null?void 0:e.signatureConfig)}}Mi.Rules=Ob;class bn extends L{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 Mi(e==null?void 0:e.props)}}bn.controlEventKeys=["on_click","on_click_finish"],bn.controlFieldType=g.VARCHAR,bn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class Zo extends ${static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new Mi(e==null?void 0:e.props)}}Zo.controlFieldType=g.VARCHAR;var Yo={Designer:bn,Runtime:Zo,Property:Mi};class kb 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 Mb extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class Cn extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h,b,S;this.caption=(n=e==null?void 0:e.caption)!=null?n:En.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=(c=e==null?void 0:e.canDownload)!=null?c:!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:cb,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new Al(e==null?void 0:e.wpsSetting),this.revisionsMode=(S=e==null?void 0:e.revisionsMode)!=null?S:!1}}Cn.Rules=kb,Cn.RuntimeRules=Mb;class En extends L{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 Cn(e==null?void 0:e.props)}}En.controlEventKeys=["on_change","on_wps_open"],En.controlFieldType=g.FILE,En.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class po extends ${static get controlType(){return"wps"}constructor(e){super(e);this.props=new Cn(e==null?void 0:e.props)}}po.controlFieldType=g.FILE;var ec={Designer:En,Runtime:po,Property:Cn};class Nb extends ie{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,We.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Lb extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class wn extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h,b,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=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(m=e==null?void 0:e.caption)!=null?m:We.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new On((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:We.controlCustomAttributes}),this.datasourceType=(S=e==null?void 0:e.datasourceType)!=null?S:ui.INTERNAL,this.businessScope=(T=e==null?void 0:e.businessScope)!=null?T:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:Le.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 A;(A=this.multistageFilling)==null||A.push(new le(v))}))}}wn.Rules=Nb,wn.RuntimeRules=Lb;class We extends L{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 wn(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}}We.controlName="\u90E8\u95E8",We.controlFieldType=g.DEPARTMENTS,We.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class tc extends ${static get controlType(){return"department2"}constructor(e){super(e);this.props=new wn(e==null?void 0:e.props)}}tc.controlFieldType=g.DEPARTMENTS;var nc={Designer:We,Runtime:tc,Property:wn};class $b extends ie{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,Ke.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Vb extends j{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class In extends M{constructor(e){super(e);var n,u,a,r,l,o,c,d,m,h,b,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 yu(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=(c=e==null?void 0:e.displayLevel)!=null?c: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 Wy((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(S=e==null?void 0:e.datasourceType)!=null?S:ui.INTERNAL,this.businessScope=(T=e==null?void 0:e.businessScope)!=null?T:[],this.businessType=(I=e==null?void 0:e.businessType)!=null?I:Le.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=(A=e==null?void 0:e.showSelectedDetail)!=null?A:!1,this.selectedContentConfig=new bu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(O=>{var k;(k=this.multistageFilling)==null||k.push(new le(O))}))}}In.Rules=$b,In.RuntimeRules=Vb;class Ke extends L{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 In(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=g.DEPARTMENTS,Ke.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class ic extends ${static get controlType(){return"organization-selection"}constructor(e){super(e);this.props=new In(e==null?void 0:e.props)}}ic.controlFieldType=g.DEPARTMENTS;var uc={Designer:Ke,Runtime:ic,Property:In},Hb=Object.freeze({__proto__:null,Input:pl,Checkbox:to,Radio:io,Number:ao,DatePicker:lo,DateRange:co,Textarea:fo,RichText:yo,Select:vo,SelectMultiple:bo,Employee:Eo,Image:So,Attachment:wo,Amount:_o,Score:Ro,Address:Po,Department:Fo,AutoNumber:Oo,Calc:Mo,SearchNumberRange:Lo,SearchDateRange:Vo,VueFormItem:jo,SelectRelation:Uo,SearchInput:zo,Tree:Xo,Employee2:Jo,ElectronicSignature:Yo,WPS:ec,Department2:nc,OrganizationSelection:uc});class ac extends W{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}ac.excludes=[R.GRID];class jb extends J{static get controlType(){return"grid"}constructor(e){super(e)}}var rc={Designer:ac,Runtime:jb,Property:q};const qb=24;class ze extends q{constructor(e){super(e);var n,u;this.span=(n=e==null?void 0:e.span)!=null?n:qb,this.offset=(u=e==null?void 0:e.offset)!=null?u:0}}class Sn extends W{static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}constructor(e){super(e);this.props=new ze(e==null?void 0:e.props)}}Sn.excludes=[R.COL,R.CARD_GROUP,R.SUBTABLE,R.SUBTABLE_COLUMN,R.DIVIDER],Sn.childrenMaxLength=1;class _a extends J{static get controlType(){return"col"}constructor(e){super(e);this.props=new ze(e==null?void 0:e.props)}}var lc={Designer:Sn,Runtime:_a,Property:ze};class Ni 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 Li extends W{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 Ni(e==null?void 0:e.props)}}Li.excludes=[R.ROW],Li.setting=[{key:"col-setting",visible:!0}];class oc extends J{static get controlType(){return"row"}constructor(e){super(e);this.props=new Ni(e==null?void 0:e.props)}}var cc={Designer:Li,Runtime:oc,Property:Ni};const Ub=4;class $i extends Li{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)}}$i.excludes=[R.GRID_ROW],$i.setting=[],$i.childrenMaxLength=Ub;class Wb extends oc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Kb extends Ni{constructor(e){super(e)}}var sc={Designer:$i,Runtime:Wb,Property:Kb};class zb extends q.Rules{constructor(){super(...arguments);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Vi 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"}}Vi.Rules=zb;class Ta extends W{static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}Ta.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Ta.excludes=[R.CARD_GROUP];class Gb extends J{static get controlType(){return"card-group"}constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}var dc={Designer:Ta,Runtime:Gb,Property:Vi};class Xb extends z{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Hi 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 My(e==null?void 0:e.metaAutoWidth)}}Hi.Rules=Xb;class Ce extends W{constructor(e){super(e);this.props=new Hi(e==null?void 0:e.props)}}Ce.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Ce.controlType="subtable-column",Ce.controlIcon="subtable-column",Ce.childrenMaxLength=1,Ce.excludes=[R.SUBTABLE,R.SUBTABLE_COLUMN,R.ROW,R.COL,R.CARD_GROUP,R.DIVIDER,R.TEXT],Ce.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class fc extends J{constructor(e){super(e);this.props=new Hi(e==null?void 0:e.props)}}fc.controlType="subtable-column";var hc={Designer:Ce,Runtime:fc,Property:Hi};class Ra extends q{constructor(e){super(e)}}class Ge extends W{constructor(e){super(e);this.props=new Ra(e==null?void 0:e.props)}}Ge.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ge.controlType="subtable-row",Ge.controlIcon="subtable-row",Ge.childrenMaxLength=1,Ge.excludes=[R.SUBTABLE,R.SUBTABLE_COLUMN,R.SUBTABLE_ROW,R.ROW,R.COL,R.CARD_GROUP,R.DIVIDER,R.TEXT],Ge.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class Qb extends J{static get controlType(){return"subtable-row"}constructor(e){super(e);this.props=new Ra(e==null?void 0:e.props)}}var yc={Designer:Ge,Runtime:Qb,Property:Ra};class Ba extends q{constructor(e){super(e);var n,u,a,r,l,o,c,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:g.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(d=e==null?void 0:e.decimalKeepPrecision)!=null?d:0,this.timestampDateType=(m=e==null?void 0:e.timestampDateType)!=null?m:Pe.DATE,this.departmentDisplayLevel=(h=e==null?void 0:e.departmentDisplayLevel)!=null?h:1}}class Xe extends W{constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}}Xe.controlName="\u5217\u8868\u5355\u5143\u683C",Xe.controlType="gridtable-column",Xe.controlIcon="gridtable-column",Xe.childrenMaxLength=1,Xe.excludes=[R.GRID_TABLE,R.GRID_TABLE_COLUMN,R.ROW,R.COL,R.CARD_GROUP,R.DIVIDER,R.TEXT],Xe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class mc extends J{constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}}mc.controlType="gridtable-column";var vc={Designer:Xe,Runtime:mc,Property:Ba};class Pa extends q{constructor(e){super(e)}}class Jb extends z{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class ji extends q{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:_n.controlName}}ji.Rules=Jb;class An extends W{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 ji(e==null?void 0:e.props)}}An.excludes=[R.TAB],An.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Zb extends J{static get controlType(){return"tab-pane"}constructor(e){super(e);this.props=new ji(e==null?void 0:e.props)}}var gc={Designer:An,Runtime:Zb,Property:ji};class _n extends W{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 Pa(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new An,new An]}}_n.excludes=[R.TAB],_n.controlEventKeys=["on_change_tab"],_n.setting=[{key:"super-setting",visible:!0}];class Yb extends J{static get controlType(){return"tab"}constructor(e){super(e);this.props=new Pa(e==null?void 0:e.props)}}var bc={Designer:_n,Runtime:Yb,Property:Pa};class Cc extends q{constructor(e){super(e)}}class Ec extends W{static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}constructor(e){super(e);this.props=new Cc({}),this.children=(e==null?void 0:e.children)||[new Sn({props:new ze({span:12})}),new Sn({props:new ze({span:12})})]}}Ec.excludes=[R.GRID_ROW,R.ROW,R.GRID,R.SUBTABLE,R.TAB,R.TOOLBOX];class pb extends J{static get controlType(){return"toolbox"}constructor(e){super(e);this.children=(e==null?void 0:e.children)||[new _a({props:new ze({span:12})}),new _a({props:new ze({span:12})})]}}var wc={Designer:Ec,Runtime:pb,Property:Cc};class eC extends qe{constructor(e){super(e);this.push({type:"object",fields:{}})}}class tC extends z{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")}}}}]}}]),xu.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 Tn extends q{constructor(e){super(e);var n,u,a,r,l,o,c,d,m;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 Hy(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new qy(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(c=e==null?void 0:e.showFullScreen)!=null?c:!1,this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isAllLoaded=(m=e==null?void 0:e.isAllLoaded)!=null?m:!0,this.countType=e==null?void 0:e.countType}}Tn.Rules=tC,Tn.RuntimeRules=eC;class qi extends W{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 Tn(e==null?void 0:e.props)}}qi.excludes=[R.ROW],qi.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"],qi.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:"super-setting",visible:!0}];class nC extends J{static get controlType(){return"list-view"}constructor(e){super(e);this.props=new Tn(e==null?void 0:e.props)}}var Ic={Designer:qi,Runtime:nC,Property:Tn};class iC extends qe{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Ui extends q{constructor(e){super(e);var n,u,a,r,l,o;this.save=new xe((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new xe((u=e==null?void 0:e.cancel)!=null?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new xe((a=e==null?void 0:e.saveAs)!=null?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new xe((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(c=>new xe(c)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new ne(e==null?void 0:e.datasourceBind)}}Ui.RuntimeRules=iC;class Sc extends W{static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Ui(e==null?void 0:e.props)}}Sc.excludes=[];class uC extends J{static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Ui(e==null?void 0:e.props)}}var Ac={Designer:Sc,Runtime:uC,Property:Ui};class aC extends W{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class rC extends J{static get controlType(){return"page"}constructor(e){super(e)}}class lC 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 _c={Designer:aC,Runtime:rC,Property:lC};class oC extends W{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class cC extends J{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class sC extends q{constructor(e){super(e);this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Rl(e==null?void 0:e.flexConfig)}}var Tc={Designer:oC,Runtime:cC,Property:sC};class dC extends W{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class fC extends J{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class hC extends q{constructor(e){super(e)}}var Rc={Designer:dC,Runtime:fC,Property:hC};class yC extends W{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class mC extends J{static get controlType(){return"position"}constructor(e){super(e)}}class vC 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 Bc={Designer:yC,Runtime:mC,Property:vC};class Da 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 Fa extends W{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 Da((n=e==null?void 0:e.props)!=null?n:{})}}Fa.excludes=[],Fa.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class gC extends J{static get controlType(){return"action-bar"}constructor(e){super(e);var n;this.props=new Da((n=e==null?void 0:e.props)!=null?n:{})}}var Pc={Designer:Fa,Runtime:gC,Property:Da},bC=Object.freeze({__proto__:null,Grid:rc,Col:lc,Row:cc,GridRow:sc,CardGroup:dc,SubTableColumn:hc,SubTableRow:yc,GridTableColumn:vc,Tab:bc,TabPane:gc,Toolbox:wc,ListView:Ic,DataView:Ac,Page:_c,AdvancedContainer:Tc,PositioningContainer:Rc,Position:Bc,ActionBar:Pc});class CC extends z{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class EC extends qe{constructor(e){super(e);e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,u,a){u.length<e.limitRows&&a(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const Dc=class extends Xn{constructor(t,e){super(t,e,Dc.mode);var n,u,a,r,l,o,c,d,m,h,b,S,T,I,B,v,A,_,O,k,te,N,Z,me;this.caption=(n=e==null?void 0:e.caption)!=null?n:Wi.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(c=e==null?void 0:e.useCustomHeight)!=null?c:!1,this.maxHeight=(d=e==null?void 0:e.maxHeight)!=null?d:_l,this.printMode=(m=e==null?void 0:e.printMode)!=null?m:"row",this.limitRows=(h=e==null?void 0:e.limitRows)!=null?h:1,this.defaultRows=(b=e==null?void 0:e.defaultRows)!=null?b:1,this.datasourceBind=new ne(e==null?void 0:e.datasourceBind),this.canAdd=(S=e==null?void 0:e.canAdd)!=null?S:!0,this.canDelete=(T=e==null?void 0:e.canDelete)!=null?T:!0,this.canCheck=(I=e==null?void 0:e.canCheck)!=null?I:!1,this.canEdit=(B=e==null?void 0:e.canEdit)!=null?B:!1,this.canImport=(v=e==null?void 0:e.canImport)!=null?v:!1,this.canExport=(A=e==null?void 0:e.canExport)!=null?A:!1,this.canClear=(_=e==null?void 0:e.canClear)!=null?_:!0,this.serverPagination=(O=e==null?void 0:e.serverPagination)!=null?O:!1,this.isShowCaptionTip=(k=e==null?void 0:e.isShowCaptionTip)!=null?k:!1,this.captionTip=(te=e==null?void 0:e.captionTip)!=null?te:"",this.mobileShowType=(N=e==null?void 0:e.mobileShowType)!=null?N:"list",this.dataStorageDoc=(Z=e==null?void 0:e.dataStorageDoc)!=null?Z:new Ny,this.fixedColumn=(me=e==null?void 0:e.fixedColumn)!=null?me:[]}};let Rn=Dc;Rn.Rules=CC,Rn.RuntimeRules=EC;class Wi extends Wu{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 Rn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new Ce,new Ce,new Ce]),((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 Ce,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Wi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Wi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class wC extends yl{static get controlType(){return"subtable"}constructor(e){super(e);this.props=new Rn(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){gr("Method not implemented.")}getChildrenFormControl(){return[]}}var Fc={Designer:Wi,Runtime:wC,Property:Rn};class xa extends Xn{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 IC extends Te{constructor(e){super(e);this.caption.required=!1}}class Ki extends K{constructor(e){super(e);var n,u,a,r,l,o,c,d;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(u=e==null?void 0:e.caption)!=null?u:Qe.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=(c=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?c:.4,this.widthType=(d=e==null?void 0:e.widthType)!=null?d:"px"}}Ki.Rules=IC;class Qe extends p{constructor(e){super(e);this.props=new Ki(e==null?void 0:e.props)}}Qe.controlType="order-column",Qe.controlName="\u5E8F\u53F7",Qe.controlIcon="order-column",Qe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Oa extends ee{constructor(e){super(e);this.props=new Ki(e==null?void 0:e.props)}}Oa.controlType="order-column",Oa.controlFieldType=g.DECIMAL;var xc={Designer:Qe,Runtime:Oa,Property:Ki};class ka extends K{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:Je.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 Je extends p{constructor(e){super(e);this.props=new ka(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children,void 0,"Designer")}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===gi.controlType){const u=n;e.props[u.props.command]=u.props}}),e}toSchema(){const e=super.toSchema();return Pn(Be({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){var u=a=>super[a];return lr(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}Je.controlType="operation-column",Je.controlName="\u64CD\u4F5C",Je.controlIcon="operation-column",Je.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class Ma extends ee{constructor(e){super(e);this.props=new ka(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Ma.controlType="operation-column",Ma.controlFieldType=g.FILE;var Oc={Designer:Je,Runtime:Ma,Property:ka};class kc extends Wu{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 xa(this,e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Qe,new Je]),((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 Pn(Be({},e),{children:n})}validate(e,n){var u=a=>super[a];return lr(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}kc.setting=[{key:"list-fixed-header",visible:!0}];class SC extends yl{static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new xa(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){gr("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Mc={Designer:kc,Runtime:SC,Property:xa},AC=Object.freeze({__proto__:null,SubTable:Fc,GridTable:Mc});class _C extends vl{constructor(e){super(e);Ue.call(this,e)}}class zi extends K{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.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=Ae((a=e==null?void 0:e.options)!=null?a:[{}]),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new Fe(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1}}zi.Rules=_C;class Ze extends p{constructor(e){super(e);this.props=new zi(e==null?void 0:e.props)}}Ze.controlType="varchar-column",Ze.controlName="\u77ED\u6587\u672C",Ze.controlIcon="varchar-column",Ze.controlFieldType=g.VARCHAR,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 Na extends ee{constructor(e){super(e);this.props=new zi(e==null?void 0:e.props)}}Na.controlType="varchar-column",Na.controlFieldType=g.VARCHAR;var Nc={Designer:Ze,Runtime:Na,Property:zi};class TC extends Te{constructor(e){super(e);Ue.call(this,e)}}class Gi extends K{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:Ye.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 Fe(e==null?void 0:e.linkOperationOption)}}Gi.Rules=TC;class Ye extends p{constructor(e){super(e);this.props=new Gi(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}}Ye.controlType="text-column",Ye.controlName="\u957F\u6587\u672C",Ye.controlIcon="text-column",Ye.controlFieldType=g.TEXT,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 La extends ee{constructor(e){super(e);this.props=new Gi(e==null?void 0:e.props)}}La.controlType="text-column",La.controlFieldType=g.TEXT;var Lc={Designer:Ye,Runtime:La,Property:Gi};class RC extends Te{constructor(e){super(e);Ue.call(this,e)}}class Xi extends K{constructor(e){super(e);var n,u,a,r,l,o,c;this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.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=Ae((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new Fe(e==null?void 0:e.linkOperationOption)}}Xi.Rules=RC;class pe extends p{constructor(e){super(e);this.props=new Xi(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}}pe.controlType="decimal-column",pe.controlName="\u6570\u503C",pe.controlIcon="decimal-column",pe.controlFieldType=g.DECIMAL,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class $a extends ee{constructor(e){super(e);this.props=new Xi(e==null?void 0:e.props)}}$a.controlType="decimal-column",$a.controlFieldType=g.DECIMAL;var $c={Designer:pe,Runtime:$a,Property:Xi};class BC extends Te{constructor(e){super(e);Ue.call(this,e)}}class Qi extends K{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Pe.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Fe(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:et.controlName}}Qi.Rules=BC;class et extends p{constructor(e){super(e);this.props=new Qi(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}}et.controlType="timescope-column",et.controlName="\u65E5\u671F\u533A\u95F4",et.controlIcon="timescope-column",et.controlFieldType=g.TIMESCOPE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Va extends ee{constructor(e){super(e);this.props=new Qi(e==null?void 0:e.props)}}Va.controlType="timescope-column",Va.controlFieldType=g.TIMESCOPE;var Vc={Designer:et,Runtime:Va,Property:Qi};class PC extends Te{constructor(e){super(e);Ue.call(this,e)}}class Ji extends K{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Pe.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Fe(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:tt.controlName}}Ji.Rules=PC;class tt extends p{constructor(e){super(e);this.props=new Ji(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}tt.controlType="timestamp-column",tt.controlName="\u65E5\u671F",tt.controlIcon="timestamp-column",tt.controlFieldType=g.TIMESTAMP,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Ha extends ee{constructor(e){super(e);this.props=new Ji(e==null?void 0:e.props)}}Ha.controlType="timestamp-column",Ha.controlFieldType=g.TIMESTAMP;var Hc={Designer:tt,Runtime:Ha,Property:Ji};class DC extends vl{constructor(e){super(e)}}class Zi extends K{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.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=Ae((a=e==null?void 0:e.options)!=null?a:[{}])}}Zi.Rules=DC;class nt extends p{constructor(e){super(e);this.props=new Zi(e==null?void 0:e.props)}}nt.controlType="array-column",nt.controlName="\u6570\u7EC4",nt.controlIcon="array-column",nt.controlFieldType=g.ARRAY,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class ja extends ee{constructor(e){super(e);this.props=new Zi(e==null?void 0:e.props)}}ja.controlType="array-column",ja.controlFieldType=g.ARRAY;var jc={Designer:nt,Runtime:ja,Property:Zi};class qa extends K{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1}}class it extends p{constructor(e){super(e);this.props=new qa(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}}it.controlType="department-column",it.controlName="\u90E8\u95E8",it.controlIcon="department-column",it.controlFieldType=g.DEPARTMENTS,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Ua extends ee{constructor(e){super(e);this.props=new qa(e==null?void 0:e.props)}}Ua.controlType="department-column",Ua.controlFieldType=g.DEPARTMENTS;var qc={Designer:it,Runtime:Ua,Property:qa};class FC extends Te{constructor(e){super(e);Ue.call(this,e)}}class Yi extends K{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Fe(e==null?void 0:e.linkOperationOption)}}Yi.Rules=FC;class ut extends p{constructor(e){super(e);this.props=new Yi(e==null?void 0:e.props)}}ut.controlType="auto-number-column",ut.controlName="\u81EA\u52A8\u7F16\u53F7",ut.controlIcon="auto-number-column",ut.controlFieldType=g.AUTO_NUMBER,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Wa extends ee{constructor(e){super(e);this.props=new Yi(e==null?void 0:e.props)}}Wa.controlType="auto-number-column",Wa.controlFieldType=g.AUTO_NUMBER;var Uc={Designer:ut,Runtime:Wa,Property:Yi};class Ka extends K{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends p{constructor(e){super(e);this.props=new Ka(e==null?void 0:e.props)}}at.controlType="file-column",at.controlName="\u9644\u4EF6",at.controlIcon="file-column",at.controlFieldType=g.FILE,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class za extends ee{constructor(e){super(e);this.props=new Ka(e==null?void 0:e.props)}}za.controlType="file-column",za.controlFieldType=g.FILE;var Wc={Designer:at,Runtime:za,Property:Ka};class Ga extends K{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName}}class rt extends p{constructor(e){super(e);this.props=new Ga(e==null?void 0:e.props)}}rt.controlType="image-column",rt.controlName="\u56FE\u7247",rt.controlIcon="image-column",rt.controlFieldType=g.IMAGE,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Xa extends ee{constructor(e){super(e);this.props=new Ga(e==null?void 0:e.props)}}Xa.controlType="image-column",Xa.controlFieldType=g.IMAGE;var Kc={Designer:rt,Runtime:Xa,Property:Ga};class Qa extends K{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 Qa(e==null?void 0:e.props)}}lt.controlType="people-column",lt.controlName="\u4EBA\u5458",lt.controlIcon="people-column",lt.controlFieldType=g.EMPLOYEES,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ja extends ee{constructor(e){super(e);this.props=new Qa(e==null?void 0:e.props)}}Ja.controlType="people-column",Ja.controlFieldType=g.EMPLOYEES;var zc={Designer:lt,Runtime:Ja,Property:Qa};class xC extends Te{constructor(e){super(e);Ue.call(this,e)}}class pi extends K{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Fe(e==null?void 0:e.linkOperationOption)}}pi.Rules=xC;class ot extends p{constructor(e){super(e);this.props=new pi(e==null?void 0:e.props)}}ot.controlType="location-column",ot.controlName="\u5730\u5740",ot.controlIcon="location-column",ot.controlFieldType=g.ADDRESS,ot.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Za extends ee{constructor(e){super(e);this.props=new pi(e==null?void 0:e.props)}}Za.controlType="location-column",Za.controlFieldType=g.ADDRESS;var Gc={Designer:ot,Runtime:Za,Property:pi};class Ya extends K{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.fieldCodeList=(u=e==null?void 0:e.fieldCodeList)!=null?u:[]}}const OC=1;class Ve extends p{constructor(e){super(e);const{excludes:n,childrenMaxLength:u}=new.target;this.props=new Ya(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=De(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 Pn(Be({},e),{children:this.children.map(n=>n.toSchema())})}}Ve.controlType="custom-column",Ve.controlName="\u81EA\u5B9A\u4E49",Ve.controlIcon="custom-column",Ve.excludes=[],Ve.childrenMaxLength=OC,Ve.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Xc extends ee{constructor(e){super(e);this.props=new Ya(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Xc.controlType="custom-column";var Qc={Designer:Ve,Runtime:Xc,Property:Ya};class pa extends K{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.datasourceBind=new On((u=e==null?void 0:e.datasourceBind)!=null?u:{attributes:He.controlCustomAttributes})}}class He extends p{static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new pa(e==null?void 0:e.props)}}He.controlType="employee-column",He.controlName="\u4EBA\u5458",He.controlIcon="employee-column",He.controlFieldType=g.EMPLOYEES,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class er extends ee{constructor(e){super(e);this.props=new pa(e==null?void 0:e.props)}}er.controlType="employee-column",er.controlFieldType=g.EMPLOYEES;var Jc={Designer:He,Runtime:er,Property:pa};class tr extends K{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:ct.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Fe(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class ct extends p{constructor(e){super(e);this.props=new tr(e==null?void 0:e.props)}}ct.controlType="approval-status-column",ct.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ct.controlIcon="approval-status-column",ct.excludes=[],ct.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Zc extends ee{constructor(e){super(e);this.props=new tr(e==null?void 0:e.props)}}Zc.controlType="approval-status-column";var Yc={Designer:ct,Runtime:Zc,Property:tr},kC=Object.freeze({__proto__:null,VarcharColumn:Nc,TextColumn:Lc,DecimalColumn:$c,TimescopeColumn:Vc,TimestampColumn:Hc,ArrayColumn:jc,DepartmentColumn:qc,AutoNumberColumn:Uc,FileColumn:Wc,ImageColumn:Kc,PeopleColumn:zc,LocationColumn:Gc,CustomColumn:Qc,OrderColumn:xc,OperationColumn:Oc,EmployeeColumn:Jc,ApprovalStatusColumn:Yc});class MC extends qe{constructor(e){super(e);this.push({type:"object",fields:{}})}}class eu extends ea{constructor(e){super(e);var n,u,a,r,l,o,c;this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new xe((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new xe((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((o=e==null?void 0:e.custom)!=null?o:[]).map(d=>new xe(d)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[]}}eu.RuntimeRules=MC;class nr extends n0{constructor(e){super(e);this.props=new eu(e==null?void 0:e.props)}}nr.controlType="simple-search",nr.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class pc extends s0{constructor(e){super(e);var n;this.props=new eu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}pc.controlType="simple-search";var es={Designer:nr,Runtime:pc,Property:eu},NC=Object.freeze({__proto__:null,SimpleSearch:es});y.ActionBar=Pc,y.Address=Po,y.AdvancedContainer=Tc,y.Amount=_o,y.ApprovalStatusColumn=Yc,y.ArrayColumn=jc,y.AssignType=Le,y.Attachment=wo,y.AutoNumber=Oo,y.AutoNumberColumn=Uc,y.BatchDeleteButton=Zl,y.BatchPrintListButton=Xl,y.BatchPrintRecordListButton=Ql,y.BatchSubmissionListButton=Ol,y.Button=El,y.Calc=Mo,y.CardGroup=dc,y.Checkbox=to,y.Col=lc,y.CreateFormListButton=xl,y.CustomColumn=Qc,y.DATE_CONFIG_TYPE=wl,y.DATE_LIMIT_TYPE=Il,y.Dashboard=Ul,y.DataView=Ac,y.DatePicker=lo,y.DateRange=co,y.DecimalColumn=$c,y.Department=Fo,y.Department2=nc,y.DepartmentColumn=qc,y.DepartmentType=ui,y.Divider=Dl,y.ElectronicSignature=Yo,y.ElectronicSignatureConfig=Sl,y.Employee=Eo,y.Employee2=Jo,y.EmployeeColumn=Jc,y.EncryptTypeEnum=Bl,y.Explain=ii,y.ExportListButton=Ml,y.ExportRecordListButton=Nl,y.ExportTemplate=ca,y.FileColumn=Wc,y.FlexStyleConfig=Rl,y.FormSelectButton=$l,y.Grid=rc,y.GridRow=sc,y.GridTable=Mc,y.GridTableColumn=vc,y.Image=So,y.ImageColumn=Kc,y.ImportRecordListButton=Ll,y.Input=pl,y.InternalType=fa,y.InvoiceCheckButton=Gl,y.LINE_STYLE=la,y.LimitDate=ni,y.Link=Cl,y.ListSelectButton=Vl,y.ListView=Ic,y.ListViewSelect=Kl,y.LocationColumn=Gc,y.Number=ao,y.OperationButton=Jl,y.OperationColumn=Oc,y.OrderColumn=xc,y.OrganizationSelection=uc,y.OrganizeType=da,y.Page=_c,y.Pagination=jl,y.PeopleColumn=zc,y.Position=Bc,y.PositioningContainer=Rc,y.PrintTemplate=Tl,y.Radio=io,y.RichText=yo,y.Row=cc,y.SCORE_TYPE=ra,y.SUBTABLE_DEFAULT_MAX_HEIGHT=_l,y.Score=Ro,y.SearchDateRange=Vo,y.SearchInput=zo,y.SearchNumberRange=Lo,y.Select=vo,y.SelectMultiple=bo,y.SelectRelation=Uo,y.SimpleSearch=es,y.SubTable=Fc,y.SubTableColumn=hc,y.SubTableRow=yc,y.SubmissionRecordListButton=kl,y.Tab=bc,y.TabPane=gc,y.Text=bl,y.TextColumn=Lc,y.TextOcrButton=zl,y.Textarea=fo,y.TimescopeColumn=Vc,y.TimestampColumn=Hc,y.Title=Fl,y.TitleConfigEnum=Ne,y.Toolbox=wc,y.Tree=Xo,y.UndersignedPerson=oa,y.VarcharColumn=Nc,y.VueFormItem=jo,y.WPS=ec,y.WPSSetting=Al,y.WpsOperationItem=sa,y.baseControls=z0,y.columnControls=kC,y.formControls=Hb,y.initExpression=Mt,y.layoutControls=bC,y.listControls=AC,y.searchControls=NC,Object.defineProperty(y,"__esModule",{value:!0})});
|
|
1
|
+
var IC=Object.defineProperty,SC=Object.defineProperties;var AC=Object.getOwnPropertyDescriptors;var $c=Object.getOwnPropertySymbols;var _C=Object.prototype.hasOwnProperty,RC=Object.prototype.propertyIsEnumerable;var Vc=(h,L,K)=>L in h?IC(h,L,{enumerable:!0,configurable:!0,writable:!0,value:K}):h[L]=K,ve=(h,L)=>{for(var K in L||(L={}))_C.call(L,K)&&Vc(h,K,L[K]);if($c)for(var K of $c(L))RC.call(L,K)&&Vc(h,K,L[K]);return h},mn=(h,L)=>SC(h,AC(L));var Ua=(h,L,K)=>new Promise((ae,vn)=>{var ji=de=>{try{ft(K.next(de))}catch(ht){vn(ht)}},qi=de=>{try{ft(K.throw(de))}catch(ht){vn(ht)}},ft=de=>de.done?ae(de.value):Promise.resolve(de.value).then(ji,qi);ft((K=K.apply(h,L)).next())});(function(h,L){typeof exports=="object"&&typeof module!="undefined"?L(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],L):(h=typeof globalThis!="undefined"?globalThis:h||self,L(h.modelDrivenControls={},h.regeneratorRuntime))})(this,function(h,L){"use strict";function K(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var ae=K(L),vn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",ji="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",qi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",ft="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",de="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ht="{caption}\u5FC5\u586B",Hc="\u8BF7\u8F93\u5165\u6807\u9898",jc="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",qc="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Uc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Wc="\u8BF7\u7ED1\u5B9A\u8868\u5355",Kc="\u8BF7\u7ED1\u5B9A\u5217\u8868",zc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Gc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Xc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Qc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Jc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Zc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Yc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",pc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",es="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ts="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ns="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",is="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",us="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",as="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",rs="\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",os="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",cs="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",ss="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ds="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",fs="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",hs="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ys="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ms="\u8BF7\u7ED1\u5B9A\u670D\u52A1",vs="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",gs="\u8BF7\u9009\u62E9\u7701",bs="\u8BF7\u9009\u62E9\u5E02",Cs="\u8BF7\u9009\u62E9\u533A",Es="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",ws="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Is="\u8BF7\u8F93\u5165\u5217\u5BBD",Ss="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",As="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",_s="\u8BF7\u9009\u62E9\u63A7\u4EF6",Rs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ts="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Bs="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ps="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Ds="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Fs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",xs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Os="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ks="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ms="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ns="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ls="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",$s="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Vs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Hs="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",js="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",qs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Us="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ws="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ks="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",zs="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Gs="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Xs="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Qs="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Js="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Zs="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Ys={isNotNumber:vn,isNotString:ji,isNotObject:qi,isNotArray:ft,isNotBoolean:de,runtimeRequired:ht,pleaseEnterCaption:Hc,pleaseEnterCaptionTip:jc,pleaseEnterPlaceholder:qc,pleaseEnterFieldCode:Uc,pleaseEnterForm:Wc,pleaseEnterList:Kc,pleaseEnterProcess:zc,pleaseEnterLabel:Gc,pleaseEnterValue:Xc,bizKeyNotBindFiled:Qc,pleaseSelectOneField:Jc,pleaseEnterNumberRange:Zc,pleaseEnterAValueGreaterThanMin:Yc,pleaseEnterAValueLessThanMax:pc,numberRangeSetError:es,stringRangeError:ts,attachmentMaxSize:ns,pleaseEnterTotalScoreSetting:is,theTotalScoreMustNotBeLessThan1:us,scoreDefaultValueRange:as,attachmentLimitError:rs,PleaseReselectTheOptionalQuantity:ls,TheMaximumLengthIsGreaterThanTheMinimumLength:os,TheMinimumLengthIsGreaterThanTheMaximumLength:cs,PleaseSelectTheCorrectOptionSettings:ss,optionIdIsRepeat:ds,optionIsRequired:fs,pleaseEnterDataCode:hs,pleaseEnterValueFieldCode:ys,pleaseEnterSvcCode:ms,pleaseBindAtLeastOneDisplayValue:vs,pleaseSelectProvince:gs,pleaseSelectCity:bs,pleaseSelectDistrict:Cs,limitRowsCannotBeLessThan0:Es,TheNumberOfRowsCannotBeLessThanMinRows:ws,pleaseEnterColumnWidth:Is,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ss,pleaseCompleteAllRulesAndConditions:As,pleaseSelectControl:_s,pleaseSelectAtLeastOneColumn:Rs,pleaseSelectFillBackMode:Ts,pleaseSelectDashboard:Bs,rootNodeIsRequired:Ps,theViewNameCannotBeEmpty:Ds,pleaseSelectOcrType:Fs,pleaseSelectAtLeastOneFieldToFillIn:xs,pleaseChooseAtLeastOne:Os,pleaseEnterButtonContent:ks,pleaseEnterDataCodeInDataSetting:Ms,pleaseEnterValueFieldCodeInDataSetting:Ns,pleaseEnterSvcCodeInDataSetting:Ls,pleaseBindAtLeastOneDisplayValueInDataSetting:$s,rootNodeIsRequiredInDataSetting:Vs,pleaseEnterMaxHeight:Hs,pleaseEnter:js,pleaseEnterWatermark:qs,pleaseEnterFileName:Us,pleaseUploadAtLeastOnePrintTemplate:Ws,pleaseAssignBusiness:Ks,pleaseAssignExternal:zs,pleaseEnterAliasCode:Gs,pleaseSelectDataCode:Xs,pleaseSelectSvcCode:Qs,pleaseSelectJoinFieldCode:Js,pleaseSelectMainFieldCode:Zs},ps="Please enter a number",ed="Please enter a string",td="Please enter an object",nd="Please enter an array",id="Please enter a boolean",ud="{caption} Required",ad="Please enter the title",rd="Please enter the bubble prompt",ld="Please enter the prompt text",od="Please bind data items",cd="Please bind the form",sd="Please bind the list",dd="Please bind the process",fd="Please enter the displayed value",hd="Please enter the stored value",yd="The document number is not bound to the data item",md="Please select at least one display field",vd="Please enter a value greater than or equal to {min} and less than or equal to {max}",gd="Please enter a value greater than or equal to {min}",bd="Please enter a value less than or equal to {max}",Cd="The value range is set incorrectly",Ed="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",wd="The attachment size must be between 0MB and 1000MB",Id="Please fill in the total score setting",Sd="The total score cannot be less than 1",Ad="The default value must be between {min} and {max}",_d="The number of attachments uploaded must be between {min} and {max}",Rd="Please re-select the optional quantity",Td="The maximum length of the control must be greater than the minimum length",Bd="The minimum length of the control must be less than the maximum length",Pd="Please select the correct option setting",Dd="Option ID cannot be repeated",Fd="Please enter at least one option",xd="Please bind the data source",Od="Please bind the stored value",kd="Please bind the service",Md="At least one display value must be bound",Nd="Please select a province",Ld="Please select a city",$d="Please select a district",Vd="The minimum number of lines to fill in cannot be less than 0",Hd="The number of rows cannot be less than {min} rows",jd="Please enter the column width",qd="Please set the logical relationship of all rule conditions",Ud="Please complete all rules and conditions",Wd="please select control",Kd="Please select the dashboard",zd="View name cannot be empty",Gd="Please select recognition type",Xd="Please select at least one field to fill in",Qd="Please select at least one",Jd="Please enter the button title",Zd="Please bind the business model in the data settings",Yd="Please bind storage values in data settings",pd="Please bind the service in the data settings",ef="Please bind at least one display value in the data settings",tf="Please select the root node in the data settings",nf="Please enter the maximum height",uf="The input content cannot be empty",af="Watermark cannot be empty",rf="File name cannot be empty",lf="Please upload at least one printing template!\uFF01",of="Please select a specific business department",cf="Please select a specified external organization",sf="Please enter a sub table alias",df="Please select the associated table to set the business model",ff="Please select the association table to set the binding service",hf="Select associated sub table fields",yf="Please select the associated main table field",mf={isNotNumber:ps,isNotString:ed,isNotObject:td,isNotArray:nd,isNotBoolean:id,runtimeRequired:ud,pleaseEnterCaption:ad,pleaseEnterCaptionTip:rd,pleaseEnterPlaceholder:ld,pleaseEnterFieldCode:od,pleaseEnterForm:cd,pleaseEnterList:sd,pleaseEnterProcess:dd,pleaseEnterLabel:fd,pleaseEnterValue:hd,bizKeyNotBindFiled:yd,pleaseSelectOneField:md,pleaseEnterNumberRange:vd,pleaseEnterAValueGreaterThanMin:gd,pleaseEnterAValueLessThanMax:bd,numberRangeSetError:Cd,stringRangeError:Ed,attachmentMaxSize:wd,pleaseEnterTotalScoreSetting:Id,theTotalScoreMustNotBeLessThan1:Sd,scoreDefaultValueRange:Ad,attachmentLimitError:_d,PleaseReselectTheOptionalQuantity:Rd,TheMaximumLengthIsGreaterThanTheMinimumLength:Td,TheMinimumLengthIsGreaterThanTheMaximumLength:Bd,PleaseSelectTheCorrectOptionSettings:Pd,optionIdIsRepeat:Dd,optionIsRequired:Fd,pleaseEnterDataCode:xd,pleaseEnterValueFieldCode:Od,pleaseEnterSvcCode:kd,pleaseBindAtLeastOneDisplayValue:Md,pleaseSelectProvince:Nd,pleaseSelectCity:Ld,pleaseSelectDistrict:$d,limitRowsCannotBeLessThan0:Vd,TheNumberOfRowsCannotBeLessThanMinRows:Hd,pleaseEnterColumnWidth:jd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:qd,pleaseCompleteAllRulesAndConditions:Ud,pleaseSelectControl:Wd,pleaseSelectDashboard:Kd,theViewNameCannotBeEmpty:zd,pleaseSelectOcrType:Gd,pleaseSelectAtLeastOneFieldToFillIn:Xd,pleaseChooseAtLeastOne:Qd,pleaseEnterButtonContent:Jd,pleaseEnterDataCodeInDataSetting:Zd,pleaseEnterValueFieldCodeInDataSetting:Yd,pleaseEnterSvcCodeInDataSetting:pd,pleaseBindAtLeastOneDisplayValueInDataSetting:ef,rootNodeIsRequiredInDataSetting:tf,pleaseEnterMaxHeight:nf,pleaseEnter:uf,pleaseEnterWatermark:af,pleaseEnterFileName:rf,pleaseUploadAtLeastOnePrintTemplate:lf,pleaseAssignBusiness:of,pleaseAssignExternal:cf,pleaseEnterAliasCode:sf,pleaseSelectDataCode:df,pleaseSelectSvcCode:ff,pleaseSelectJoinFieldCode:hf,pleaseSelectMainFieldCode:yf},vf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ef="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wf="{caption}\u5FC5\u9808",If="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Af="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_f="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Rf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Tf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Bf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Df="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ff="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",xf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Of="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",kf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Mf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Nf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Lf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$f="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Vf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Hf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",jf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",qf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Uf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Wf="\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",Kf="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",zf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Gf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Xf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Qf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",pf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",eh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",th="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",nh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ih="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",uh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ah="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",lh="please select control",oh="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ch="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",sh="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",dh="\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",fh="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",hh="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",mh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",vh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",gh="\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",bh="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ch="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Eh="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",wh="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ih="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Sh="\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",Ah="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_h="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Rh="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Th="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Bh="\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",Ph="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Dh="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fh={isNotNumber:vf,isNotString:gf,isNotObject:bf,isNotArray:Cf,isNotBoolean:Ef,runtimeRequired:wf,pleaseEnterCaption:If,pleaseEnterCaptionTip:Sf,pleaseEnterPlaceholder:Af,pleaseEnterFieldCode:_f,pleaseEnterForm:Rf,pleaseEnterList:Tf,pleaseEnterProcess:Bf,pleaseEnterLabel:Pf,pleaseEnterValue:Df,bizKeyNotBindFiled:Ff,pleaseSelectOneField:xf,pleaseEnterNumberRange:Of,pleaseEnterAValueGreaterThanMin:kf,pleaseEnterAValueLessThanMax:Mf,numberRangeSetError:Nf,stringRangeError:Lf,attachmentMaxSize:$f,pleaseEnterTotalScoreSetting:Vf,theTotalScoreMustNotBeLessThan1:Hf,scoreDefaultValueRange:jf,attachmentLimitError:qf,PleaseReselectTheOptionalQuantity:Uf,TheMaximumLengthIsGreaterThanTheMinimumLength:Wf,TheMinimumLengthIsGreaterThanTheMaximumLength:Kf,PleaseSelectTheCorrectOptionSettings:zf,optionIdIsRepeat:Gf,optionIsRequired:Xf,pleaseEnterDataCode:Qf,pleaseEnterValueFieldCode:Jf,pleaseEnterSvcCode:Zf,pleaseBindAtLeastOneDisplayValue:Yf,pleaseSelectProvince:pf,pleaseSelectCity:eh,pleaseSelectDistrict:th,limitRowsCannotBeLessThan0:nh,TheNumberOfRowsCannotBeLessThanMinRows:ih,pleaseEnterColumnWidth:uh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ah,pleaseCompleteAllRulesAndConditions:rh,pleaseSelectControl:lh,pleaseSelectDashboard:oh,theViewNameCannotBeEmpty:ch,pleaseSelectOcrType:sh,pleaseSelectAtLeastOneFieldToFillIn:dh,pleaseChooseAtLeastOne:fh,pleaseEnterButtonContent:hh,pleaseEnterDataCodeInDataSetting:yh,pleaseEnterValueFieldCodeInDataSetting:mh,pleaseEnterSvcCodeInDataSetting:vh,pleaseBindAtLeastOneDisplayValueInDataSetting:gh,rootNodeIsRequiredInDataSetting:bh,pleaseEnterMaxHeight:Ch,pleaseEnter:Eh,pleaseEnterWatermark:wh,pleaseEnterFileName:Ih,pleaseUploadAtLeastOnePrintTemplate:Sh,pleaseAssignBusiness:Ah,pleaseAssignExternal:_h,pleaseEnterAliasCode:Rh,pleaseSelectDataCode:Th,pleaseSelectSvcCode:Bh,pleaseSelectJoinFieldCode:Ph,pleaseSelectMainFieldCode:Dh},xh={zhCN:Ys,enUS:mf,jaJP:Fh},Wa;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Wa||(Wa={}));var Ka;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ka||(Ka={}));var Oh="zh-CN";function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var za;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(za||(za={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.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.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"})(S||(S={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var J;J={},ee(J,g.ARRAY,S.ARRAY_COLUMN),ee(J,g.AUTO_NUMBER,S.AUTO_NUMBER_COLUMN),ee(J,g.DECIMAL,S.DECIMAL_COLUMN),ee(J,g.DEPARTMENTS,S.DEPARTMENT_COLUMN),ee(J,g.FILE,S.FILE_COLUMN),ee(J,g.IMAGE,S.IMAGE_COLUMN),ee(J,g.ADDRESS,S.LOCATION_COLUMN),ee(J,g.EMPLOYEES,S.EMPLOYEE_COLUMN),ee(J,g.TEXT,S.TEXT_COLUMN),ee(J,g.TIMESCOPE,S.TIMESCOPE_COLUMN),ee(J,g.TIMESTAMP,S.TIMESTAMP_COLUMN),ee(J,g.VARCHAR,S.VARCHAR_COLUMN),ee(J,g.RELATION,S.VARCHAR_COLUMN);var ge;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(ge||(ge={}));var Ga="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",kh=Ga+"0123456789";function fe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?Ga:kh,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function Ui(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 Mh(t){if(Array.isArray(t))return Ui(t)}function Nh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lh(){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 gn(t,e,n){return Lh()?gn=Reflect.construct:gn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&mt(d,l.prototype),d},gn.apply(null,arguments)}function yt(t){return yt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yt(t)}function Qa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&mt(t,e)}function $h(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Vh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Hh(){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 jh(t,e){return e&&(qh(e)==="object"||typeof e=="function")?e:Nh(t)}function mt(t,e){return mt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},mt(t,e)}function Ja(t){return Mh(t)||Vh(t)||Uh(t)||Hh()}var qh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Uh(t,e){if(!!t){if(typeof t=="string")return Ui(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 Ui(t,e)}}function Wi(t){var e=typeof Map=="function"?new Map:void 0;return Wi=function(u){if(u===null||!$h(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 gn(u,arguments,yt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),mt(a,u)},Wi(t)}function Wh(){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 Za(t){var e=Wh();return function(){var u=yt(t),a;if(e){var r=yt(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return jh(this,a)}}var Ki=console;function Kh(){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=Ki).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ja(a)))}function Ya(){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=Ki).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(Ja(a)))}function zh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var zi=function(t){Qa(n,t);var e=Za(n);function n(u){Xa(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?zh(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Wi(Error)),Gh=function(t){Qa(n,t);var e=Za(n);function n(u){Xa(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(zi);function pa(t){throw new zi(t)}function er(t){throw new Gh(t)}function Xh(t){Ki.error(new zi(t))}var Qh=Object.prototype.toString;function tr(t,e){return Qh.call(t)==="[object "+e+"]"}function Jh(t){return tr(t,"String")}function Zh(t){return tr(t,"Promise")}var Yh=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();Zh(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&&!Jh(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 ph(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nr(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 ey(t,e,n){return e&&nr(t.prototype,e),n&&nr(t,n),t}var f=function(){function t(){ph(this,t)}return ey(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]:Oh;return new Yh({locale:n,messages:xh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();f.$i18n=f.resetI18n();function ty(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)){Kh("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 ny=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},iy={exports:{}};(function(t){(function(e){var n=function(v,I,w){if(!d(I)||m(I)||b(I)||E(I)||s(I))return I;var F,O=0,ie=0;if(y(I))for(F=[],ie=I.length;O<ie;O++)F.push(n(v,I[O],w));else{F={};for(var x in I)Object.prototype.hasOwnProperty.call(I,x)&&(F[v(x,w)]=n(v,I[x],w))}return F},u=function(v,I){I=I||{};var w=I.separator||"_",F=I.split||/(?=[A-Z])/;return v.split(F).join(w)},a=function(v){return A(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(I,w){return w?w.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},r=function(v){var I=a(v);return I.substr(0,1).toUpperCase()+I.substr(1)},l=function(v,I){return u(v,I).toLowerCase()},o=Object.prototype.toString,s=function(v){return typeof v=="function"},d=function(v){return v===Object(v)},y=function(v){return o.call(v)=="[object Array]"},m=function(v){return o.call(v)=="[object Date]"},b=function(v){return o.call(v)=="[object RegExp]"},E=function(v){return o.call(v)=="[object Boolean]"},A=function(v){return v=v-0,v===v},C=function(v,I){var w=I&&"process"in I?I.process:I;return typeof w!="function"?v:function(F,O){return w(F,v,O)}},_={camelize:a,decamelize:l,pascalize:r,depascalize:l,camelizeKeys:function(v,I){return n(C(a,I),v)},decamelizeKeys:function(v,I){return n(C(l,I),v,I)},pascalizeKeys:function(v,I){return n(C(r,I),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=_:e.humps=_})(ny)})(iy);var ir={};Object.defineProperty(ir,"__esModule",{value:!0});function Gi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Gi(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:Gi(u)}return e}}var uy=ir.default=Gi;function be(t){if(t!==void 0)return typeof t=="object"?uy(t):t}function ay(t){return Object.prototype.toString.call(t)==="[object Object]"}function Xi(t){return Array.isArray(t)}function ry(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Qi(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 ly(t){if(Array.isArray(t))return Qi(t)}function ur(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 oy(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){ur(r,u,a,l,o,"next",s)}function o(s){ur(r,u,a,l,o,"throw",s)}l(void 0)})}}function cy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ar(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 sy(t,e,n){return e&&ar(t.prototype,e),n&&ar(t,n),t}function dy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function fy(){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 Ji(t){return ly(t)||dy(t)||hy(t)||fy()}function hy(t,e){if(!!t){if(typeof t=="string")return Qi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qi(t,e)}}var yy=function(){function t(){cy(this,t),this._events=new Map,this.debug=!1}return sy(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 oy(ae.default.mark(function o(){var s,d,y,m,b,E,A,C,_,v;return ae.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(s=l._events.get(n),d=[],!s){w.next=42;break}y=s.slice(),m=!0,b=!1,E=void 0,w.prev=5,A=y[Symbol.iterator]();case 7:if(m=(C=A.next()).done){w.next=28;break}if(_=C.value,s.includes(_)){w.next=11;break}return w.abrupt("continue",25);case 11:return w.prev=11,l.debug&&Ya.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Ji(a))),w.next=15,_.apply(null,Ji(a));case 15:if(v=w.sent,l.debug&&Ya.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Ji(a),[v])),d.push(v),v!==!1){w.next=20;break}return w.abrupt("break",28);case 20:w.next=25;break;case 22:w.prev=22,w.t0=w.catch(11),Xh(String(w.t0)+":"+String(w.t0.stack));case 25:m=!0,w.next=7;break;case 28:w.next=34;break;case 30:w.prev=30,w.t1=w.catch(5),b=!0,E=w.t1;case 34:w.prev=34,w.prev=35,!m&&A.return!=null&&A.return();case 37:if(w.prev=37,!b){w.next=40;break}throw E;case 40:return w.finish(37);case 41:return w.finish(34);case 42:return w.abrupt("return",d);case 43:case"end":return w.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}();function Zi(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 my(t){if(Array.isArray(t))return Zi(t)}function vy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gy(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rr(t){return my(t)||vy(t)||by(t)||gy()}function by(t,e){if(!!t){if(typeof t=="string")return Zi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zi(t,e)}}function Cy(t,e){var n;((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(t,e,{enumerable:!1})}function lr(t,e,n){n==="Designer"&&(t.parent=e,Cy(t,"parent"))}function Ey(t,e,n){t.forEach(function(u){lr(u,e,n)})}var or=Symbol("targetKey");function cr(t){var e;return(e=t[or])!==null&&e!==void 0?e:t}function sr(t,e,n){return Ey(t,e,n),new Proxy(t,{get:function(a,r){for(var l=arguments.length,o=new Array(l>2?l-2:0),s=2;s<l;s++)o[s-2]=arguments[s];var d;return r===or?a:(d=Reflect).get.apply(d,[a,r].concat(rr(o)))},set:function(a,r,l){for(var o=arguments.length,s=new Array(o>3?o-3:0),d=3;d<o;d++)s[d-3]=arguments[d];var y;if(Xi(t)&&r==="length"&&l===t.length)return!0;var m=(y=Reflect).set.apply(y,[a,r,l].concat(rr(s)));return ay(l)&&lr(l,e,n),m}})}function he(t,e,n,u,a){var r=u!=null?u:t,l=sr(cr(n!=null?n:[]),r,a);Object.defineProperty(t,e,{get:function(){return l},set:function(s){l=sr(cr(s),r,a)},enumerable:!0})}var wy=[];new Set(wy.map(function(t){return t.Designer.controlType}));function dr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(t)}function re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Yi(t,e)}function Iy(t,e){return e&&(Sy(e)==="object"||typeof e=="function")?e:dr(t)}function Yi(t,e){return Yi=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Yi(t,e)}var Sy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ay(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function le(t){var e=Ay();return function(){var u=bn(t),a;if(e){var r=bn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Iy(this,a)}}var ce=function t(e){R(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},fr=function t(e){R(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},pi=function(t){re(n,t);var e=le(n);function n(u){R(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}(fr),_y=function t(e){R(this,t),this.pc=new pi(e==null?void 0:e.pc),this.mobile=(e==null?void 0:e.mobile)?new pi(e==null?void 0:e.mobile):new pi({width:130,minWidth:180})},Ry=function t(e){R(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:[]},Ze=function t(e){R(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:""},Ty=function(t){re(n,t);var e=le(n);function n(u){R(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}(Ze),hr=function t(e){R(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},eu=function t(e){R(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 hr(l)}))!==null&&r!==void 0?r:[]},By=function t(e){R(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:g.VARCHAR},Py=function(t){re(n,t);var e=le(n);function n(u){R(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}(Ze),Dy=function t(e){R(this,t);var n,u;this.type="sublist-page",this.formBind=new Ze(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 By(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:[]},Fy=function t(e){R(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},vt=function t(e){R(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:[]},yr=function t(e){R(this,t),this.type="conditions";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;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 y,m=new tu(o);(y=l.children)===null||y===void 0||y.push(m)}})}},tu=function t(e){R(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();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 Fy(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new vt(e==null?void 0:e.rightVariableBo)},xy=function t(e){R(this,t);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new X(e==null?void 0:e.datasourceBind);var u;this.relationFields=(u=e==null?void 0:e.relationFields)!==null&&u!==void 0?u:[]},p=function t(e){R(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:""},nu=function t(e){R(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},Oy=function t(e){R(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 iu(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 yr(s):new tu(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 yr(s):new tu(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 Oy(s)}))!==null&&o!==void 0?o:[]}var X=function t(e){R(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(d){var y;(y=l.displayBoList)===null||y===void 0||y.push(new nu(d))})}var o;this.showOrder=(o=e==null?void 0:e.showOrder)!==null&&o!==void 0?o:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",iu.call(this,e)},uu=function t(e){R(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:[]},Ce=function t(e){R(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 y;this.openType=(y=e==null?void 0:e.openType)!==null&&y!==void 0?y:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},mr=function t(e){R(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 nu(l)}))!==null&&r!==void 0?r:[]},Cn=function(t){re(n,t);var e=le(n);function n(u){R(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 mr(o)}))!==null&&l!==void 0?l:[],a}return n}(X),ky=function(t){re(n,t);var e=le(n);function n(u){R(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 mr(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}(X),vr=function(t){re(n,t);var e=le(n);function n(u){R(this,n);var a;a=e.call(this,u),a.rootNode=new vt(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}(Cn),gr=function t(e){R(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 p(l)}))!==null&&r!==void 0?r:[]},br=function(t){re(n,t);var e=le(n);function n(u){R(this,n);var a;return a=e.call(this,u),iu.call(dr(a),u),a}return n}(gr),Cr=function(t){re(n,t);var e=le(n);function n(u){R(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}(gr),Er=function t(e){R(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:""},My=function t(e){R(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe(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 ye(t){var e;return(e=t==null?void 0:t.map(function(n){return new My(n)}))!==null&&e!==void 0?e:[]}var au=function t(){R(this,t)},Ny=function(t){re(n,t);var e=le(n);function n(u){R(this,n);var a;return a=e.call(this),a.amount=new ce(u==null?void 0:u.amount),a.currency=new ce(u==null?void 0:u.currency),a}return n}(au),Ly=function t(e){R(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:En.CNY},$y=function(t){re(n,t);var e=le(n);function n(u){R(this,n);var a;return a=e.call(this),a.min=new ce(u==null?void 0:u.min),a.max=new ce(u==null?void 0:u.max),a}return n}(au),Vy=function t(e){R(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:""},Hy=function t(e){R(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:""},jy=function(t){re(n,t);var e=le(n);function n(u){R(this,n);var a;return a=e.call(this),a.result=new ce(u==null?void 0:u.result),a.unit=new ce(u==null?void 0:u.unit),a}return n}(au),qy=function t(e){R(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:""},En;(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"})(En||(En={}));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"})(c||(c={}));var ru;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(ru||(ru={}));var Ee=function t(e){R(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},Uy=function t(e){R(this,t);var n,u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:fe(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 hr(l)}))!==null&&r!==void 0?r:[],iu.call(this,e)},Wy=function t(e){R(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"},Ky=function t(e){R(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 zy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function wn(t,e,n){return Gy()?wn=Reflect.construct:wn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&bt(d,l.prototype),d},wn.apply(null,arguments)}function gt(t){return gt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gt(t)}function Xy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bt(t,e)}function Qy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Jy(t,e){return e&&(Zy(e)==="object"||typeof e=="function")?e:zy(t)}function bt(t,e){return bt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},bt(t,e)}var Zy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ou(t){var e=typeof Map=="function"?new Map:void 0;return ou=function(u){if(u===null||!Qy(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 wn(u,arguments,gt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),bt(a,u)},ou(t)}function Yy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function py(t){var e=Yy();return function(){var u=gt(t),a;if(e){var r=gt(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Jy(this,a)}}var H=function t(e){lu(this,t),this.isHide={type:"boolean"}},Pe=function(t){Xy(n,t);var e=py(n);function n(u){return lu(this,n),e.call(this)}return n}(ou(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";lu(this,t);var u;this.isHide=(u=e==null?void 0:e.isHide)!==null&&u!==void 0?u:!1,this.style=new Wy(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};q.Rules=H,q.RuntimeRules=Pe;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 em(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function cu(t){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cu(t)}function In(t,e){return In=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},In(t,e)}function tm(){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 Sn(t,e,n){return tm()?Sn=Reflect.construct:Sn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&In(d,l.prototype),d},Sn.apply(null,arguments)}function nm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function su(t){var e=typeof Map=="function"?new Map:void 0;return su=function(u){if(u===null||!nm(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 Sn(u,arguments,cu(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),In(a,u)},su(t)}var im=/%[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 du(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 te(){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(im,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 um(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function j(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||um(e)&&typeof t=="string"&&!t)}function am(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 Ir(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 rm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Sr=function(t){em(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}(su(Error));function lm(t,e,n,u){if(e.first){var a=new Promise(function(m,b){var E=function(_){return u(_),_.length?b(new Sr(_,du(_))):m()},A=rm(t);Ir(A,n,E)});return a.catch(function(m){return m}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,d=[],y=new Promise(function(m,b){var E=function(C){if(d.push.apply(d,C),s++,s===o)return u(d),d.length?b(new Sr(d,du(d))):m()};l.length||(u(d),m()),l.forEach(function(A){var C=t[A];r.indexOf(A)!==-1?Ir(C,n,E):am(C,n,E)})});return y.catch(function(m){return m}),y}function Ar(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 _r(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 Rr(t,e,n,u,a,r){t.required&&(!n.hasOwnProperty(t.field)||j(e,r||t.type))&&u.push(te(a.messages.required,t.fullField))}function om(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(te(a.messages.whitespace,t.fullField))}var fu={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},Ct={integer:function(e){return Ct.number(e)&&parseInt(e,10)===e},float:function(e){return Ct.number(e)&&!Ct.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"&&!Ct.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(fu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(fu.url)},hex:function(e){return typeof e=="string"&&!!e.match(fu.hex)}};function cm(t,e,n,u,a){if(t.required&&e===void 0){Rr(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?Ct[l](e)||u.push(te(a.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&u.push(te(a.messages.types[l],t.fullField,t.type))}function sm(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,y=null,m=typeof e=="number",b=typeof e=="string",E=Array.isArray(e);if(m?y="number":b?y="string":E&&(y="array"),!y)return!1;E&&(d=e.length),b&&(d=e.replace(s,"_").length),r?d!==t.len&&u.push(te(a.messages[y].len,t.fullField,t.len)):l&&!o&&d<t.min?u.push(te(a.messages[y].min,t.fullField,t.min)):o&&!l&&d>t.max?u.push(te(a.messages[y].max,t.fullField,t.max)):l&&o&&(d<t.min||d>t.max)&&u.push(te(a.messages[y].range,t.fullField,t.min,t.max))}var Ye="enum";function dm(t,e,n,u,a){t[Ye]=Array.isArray(t[Ye])?t[Ye]:[],t[Ye].indexOf(e)===-1&&u.push(te(a.messages[Ye],t.fullField,t[Ye].join(", ")))}function fm(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(te(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(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:Rr,whitespace:om,type:cm,range:sm,enum:dm,pattern:fm};function hm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(j(e,"string")&&!t.required)return n();T.required(t,e,u,r,a,"string"),j(e,"string")||(T.type(t,e,u,r,a),T.range(t,e,u,r,a),T.pattern(t,e,u,r,a),t.whitespace===!0&&T.whitespace(t,e,u,r,a))}n(r)}function ym(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(j(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&T.type(t,e,u,r,a)}n(r)}function mm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),j(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&(T.type(t,e,u,r,a),T.range(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(j(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&T.type(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(j(e)&&!t.required)return n();T.required(t,e,u,r,a),j(e)||T.type(t,e,u,r,a)}n(r)}function bm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(j(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&(T.type(t,e,u,r,a),T.range(t,e,u,r,a))}n(r)}function Cm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(j(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&(T.type(t,e,u,r,a),T.range(t,e,u,r,a))}n(r)}function Em(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();T.required(t,e,u,r,a,"array"),e!=null&&(T.type(t,e,u,r,a),T.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(j(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&T.type(t,e,u,r,a)}n(r)}var Im="enum";function Sm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(j(e)&&!t.required)return n();T.required(t,e,u,r,a),e!==void 0&&T[Im](t,e,u,r,a)}n(r)}function Am(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(j(e,"string")&&!t.required)return n();T.required(t,e,u,r,a),j(e,"string")||T.pattern(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(j(e,"date")&&!t.required)return n();if(T.required(t,e,u,r,a),!j(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),T.type(t,o,u,r,a),o&&T.range(t,o.getTime(),u,r,a)}}n(r)}function Rm(t,e,n,u,a){var r=[],l=Array.isArray(e)?"array":typeof e;T.required(t,e,u,r,a,l),n(r)}function hu(t,e,n,u,a){var r=t.type,l=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(j(e,r)&&!t.required)return n();T.required(t,e,u,l,a,r),j(e,r)||T.type(t,e,u,l,a)}n(l)}function Tm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(j(e)&&!t.required)return n();T.required(t,e,u,r,a)}n(r)}var Et={string:hm,method:ym,number:mm,boolean:vm,regexp:gm,integer:bm,float:Cm,array:Em,object:wm,enum:Sm,pattern:Am,date:_m,url:hu,hex:hu,email:hu,required:Rm,any:Tm};function yu(){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 mu=yu();function we(t){this.rules=null,this._messages=mu,this.define(t)}we.prototype={messages:function(e){return e&&(this._messages=_r(yu(),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(C){var _,v=[],I={};function w(F){if(Array.isArray(F)){var O;v=(O=v).concat.apply(O,F)}else v.push(F)}for(_=0;_<C.length;_++)w(C[_]);v.length?I=du(v):(v=null,I=null),o(v,I)}if(l.messages){var d=this.messages();d===mu&&(d=yu()),_r(d,l.messages),l.messages=d}else l.messages=this.messages();var y,m,b={},E=l.keys||Object.keys(this.rules);E.forEach(function(C){y=a.rules[C],m=r[C],y.forEach(function(_){var v=_;typeof v.transform=="function"&&(r===e&&(r=se({},r)),m=r[C]=v.transform(m)),typeof v=="function"?v={validator:v}:v=se({},v),v.validator=a.getValidationMethod(v),v.field=C,v.fullField=v.fullField||C,v.type=a.getType(v),!!v.validator&&(b[C]=b[C]||[],b[C].push({rule:v,value:m,source:r,field:C}))})});var A={};return lm(b,l,function(C,_){var v=C.rule,I=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");I=I&&(v.required||!v.required&&C.value),v.field=C.field;function w(ie,x){return se(se({},x),{},{fullField:v.fullField+"."+ie})}function F(ie){ie===void 0&&(ie=[]);var x=ie;if(Array.isArray(x)||(x=[x]),!l.suppressWarning&&x.length&&we.warning("async-validator:",x),x.length&&v.message!==void 0&&(x=[].concat(v.message)),x=x.map(Ar(v)),l.first&&x.length)return A[v.field]=1,_(x);if(!I)_(x);else{if(v.required&&!C.value)return v.message!==void 0?x=[].concat(v.message).map(Ar(v)):l.error&&(x=[l.error(v,te(l.messages.required,v.field))]),_(x);var ue={};if(v.defaultField)for(var yn in C.value)C.value.hasOwnProperty(yn)&&(ue[yn]=v.defaultField);ue=se(se({},ue),C.rule.fields);for(var st in ue)if(ue.hasOwnProperty(st)){var wC=Array.isArray(ue[st])?ue[st]:[ue[st]];ue[st]=wC.map(w.bind(null,st))}var Lc=new we(ue);Lc.messages(l.messages),C.rule.options&&(C.rule.options.messages=l.messages,C.rule.options.error=l.error),Lc.validate(C.value,C.rule.options||l,function(qa){var dt=[];x&&x.length&&dt.push.apply(dt,x),qa&&qa.length&&dt.push.apply(dt,qa),_(dt.length?dt:null)})}}var O;v.asyncValidator?O=v.asyncValidator(v,C.value,F,C.source,l):v.validator&&(O=v.validator(v,C.value,F,C.source,l),O===!0?F():O===!1?F(v.message||v.field+" fails"):O instanceof Array?F(O):O instanceof Error&&F(O.message)),O&&O.then&&O.then(function(){return F()},function(ie){return F(ie)})},function(C){s(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Et.hasOwnProperty(e.type))throw new Error(te("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"?Et.required:Et[this.getType(e)]||!1}},we.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Et[e]=n},we.warning=wr,we.messages=mu,we.validators=Et;var Bm={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 we(t);return n.messages(Object.assign(Bm,e)),n}var Dm=new yy;function vu(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 Fm(t){if(Array.isArray(t))return t}function xm(t){if(Array.isArray(t))return vu(t)}function Tr(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 Br(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Tr(r,u,a,l,o,"next",s)}function o(s){Tr(r,u,a,l,o,"throw",s)}l(void 0)})}}function Om(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 km(t,e,n){return e&&Pr(t.prototype,e),n&&Pr(t,n),t}function Mm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Fr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Nm(){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 Lm(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function xr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},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){Mm(t,a,n[a])})}return t}function $m(t){return Fm(t)||Fr(t)||Or(t,i)||Nm()}function gu(t){return xm(t)||Fr(t)||Or(t)||Lm()}function Or(t,e){if(!!t){if(typeof t=="string")return vu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vu(t,e)}}var k=function(){function e(n){var u=this;Om(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Mr,this.removeSetting=kr,this._callControlHooks("preInstance",n);var a=Dr(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,o=a.controlType,s=a.controlFieldType,d=a.controlEventKeys,y=a.controlCustomEvents,m=a.name,b=a.setting;r&&l&&o||er("The ".concat(m," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:fe(10),this.name=r,this.icon=l;var A;this.type=(A=n==null?void 0:n.type)!==null&&A!==void 0?A:o,this.props=new q(n==null?void 0:n.props,(Dr(this,e)?this.constructor:void 0).controlName);var C;this.controlType=(C=n==null?void 0:n.controlType)!==null&&C!==void 0?C:"base",this.setting=be(b);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=be(d),this.customEvents=be(y),Promise.resolve().then(function(){u._callControlHooks("postInstance",n)})}return km(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=$m(a),s=o[0],d=o.slice(1);return(l=Dm).emit.apply(l,[s,this].concat(gu(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),ty(this.props,u,a),this.postUpdate(u,a)}},{key:"preValidate",value:function(){var u=this;return Br(ae.default.mark(function a(){var r,l,o;return ae.default.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return r=xr({},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 Br(ae.default.mark(function l(){var o,s,d;return ae.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,r.preValidate();case 2:return o=m.sent,s=o!==void 0?o:xr({},r.rules),Array.isArray(a)&&a.forEach(function(b){s.hasOwnProperty(b)&&delete s[b]}),d=Pm(s,u),m.prev=6,m.next=9,d.validate(r.props);case 9:return m.abrupt("return",!0);case 12:throw m.prev=12,m.t0=m.catch(6),m.t0.control||(m.t0.control=r),m.t0;case 16:case"end":return m.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,y=o.optionConfig,m=o.caption,b=o.required,E=o.maxLength,A=o.options,C=o.encrypted,_=o.encryptedMode;if(!(!a&&!s&&!d)){var v={parentId:u,fieldType:a,controlId:r,caption:m,type:l,props:{}};switch(s&&(v.dataBind=s),y){case"datasource":case void 0:d&&(v.datasourceBind=d);break;case"custom":v.props.options=A;break}return b!==void 0&&(v.required=b),E!==void 0&&(v.maxLength=E),C!==void 0&&(v.encrypted=C),_!==void 0&&(v.encryptedMode=_),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:be(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,gu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();k.mode="Designer",k.controlName="\u63A7\u4EF6",k.controlIcon="icon",k.controlType="control",k.controlEventKeys=[],k.controlCustomEvents=[],k.setting=[],k.__is_control__=!0,k.removeSettingItem=kr,k.updateSettingItem=Mr;function kr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(u){var a=typeof u!="string",r=e.setting.findIndex(function(s){return s.key===(a?u.key:u)});if(r!==-1){var l,o;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(s){return!u.hideItems.includes(s)}):e.setting.splice(r,1),a&&!((o=e.setting[r].showItems)===null||o===void 0?void 0:o.length)&&e.setting.splice(r,1)}})}function Mr(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,gu(e.showItems))}}}})}function Vm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nr(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 Hm(t,e,n){return e&&Nr(t.prototype,e),n&&Nr(t,n),t}function jm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){Vm(this,e),this.customEvents=[],this.parent=null;var u=jm(this,e)?this.constructor:void 0,a=u.controlType,r=u.controlFieldType,l=u.name,o=u.controlCustomEvents;a||er("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:fe(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new q(n==null?void 0:n.props),this.customEvents=o;var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:r;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:ru.UNKNOWN}return Hm(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}();U.mode="Runtime",U.controlType="control",U.__is_control__=!0,U.controlCustomEvents=[];function bu(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=ry(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 An(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 qm(t){return t.dataCode!==void 0&&t.fieldCode!==void 0}function Lr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function Tn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Cu(t,e)}function Um(t,e){return e&&(Wm(e)==="object"||typeof e=="function")?e:Lr(t)}function Cu(t,e){return Cu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Cu(t,e)}var Wm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Km(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bn(t){var e=Km();return function(){var u=Rn(t),a;if(e){var r=Rn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Um(this,a)}}var Q=function(t){Tn(n,t);var e=Bn(n);function n(u){_n(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(qm(u.dataBind))a.dataBind={type:"object",required:!0,fields:be(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:be(r),message:f.getMessage("pleaseEnterFieldCode")}}),a.dataBind=l}return u.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}(H),M=function(t){Tn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;a=e.call(this,u);var r=u.isHide?!1:u.required;return r&&a.push({type:"string",required:r,message:u.requiredMessage!==""?u.requiredMessage:f.getMessage("runtimeRequired",{caption:u.caption})}),a}return n}(Pe),B=function(t){Tn(n,t);var e=Bn(n);function n(u){_n(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 y;a.labelPosition=(y=u==null?void 0:u.labelPosition)!==null&&y!==void 0?y:"top";var m;a.placeholder=(m=u==null?void 0:u.placeholder)!==null&&m!==void 0?m:"";var b;a.required=(b=u==null?void 0:u.required)!==null&&b!==void 0?b:!1;var E;a.requiredMessage=(E=u==null?void 0:u.requiredMessage)!==null&&E!==void 0?E:"",a.dataBind=new ce(u==null?void 0:u.dataBind);var A;return a.defaultValue=(A=u==null?void 0:u.defaultValue)!==null&&A!==void 0?A:"",a}return n}(q);B.Rules=Q,B.RuntimeRules=M;var pe=function(t){Tn(n,t);var e=Bn(n);function n(u){_n(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")}],bu.call(Lr(a),u),a}return n}(Q);function zm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function Xm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Eu(t,e)}function Qm(t,e){return e&&(Jm(e)==="object"||typeof e=="function")?e:zm(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Eu(t,e)}var Jm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ym(t){var e=Zm();return function(){var u=Pn(t),a;if(e){var r=Pn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Qm(this,a)}}var P=function(t){Xm(n,t);var e=Ym(n);function n(u){Gm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new B(u==null?void 0:u.props),a}return n}(k);P.controlEventKeys=["on_change","on_focus","on_blur"];function pm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ev(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(t)}function tv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wu(t,e)}function nv(t,e){return e&&(iv(e)==="object"||typeof e=="function")?e:pm(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},wu(t,e)}var iv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function uv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function av(t){var e=uv();return function(){var u=Dn(t),a;if(e){var r=Dn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return nv(this,a)}}var D=function(t){tv(n,t);var e=av(n);function n(u){ev(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new B(u==null?void 0:u.props),a}return n}(U);function rv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(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&&Iu(t,e)}function cv(t,e){return e&&(sv(e)==="object"||typeof e=="function")?e:rv(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Iu(t,e)}var sv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function dv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function fv(t){var e=dv();return function(){var u=Fn(t),a;if(e){var r=Fn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return cv(this,a)}}var N=function(t){ov(n,t);var e=fv(n);function n(u){return lv(this,n),e.call(this,u)}return n}(q);function Su(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 hv(t){if(Array.isArray(t))return Su(t)}function $r(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vr(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 yv(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Vr(r,u,a,l,o,"next",s)}function o(s){Vr(r,u,a,l,o,"throw",s)}l(void 0)})}}function mv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hr(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 vv(t,e,n){return e&&Hr(t.prototype,e),n&&Hr(t,n),t}function gv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function et(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?et=Reflect.get:et=function(a,r,l){var o=Av(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},et(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(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&&Au(t,e)}function Cv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Ev(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wv(){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 Iv(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){gv(t,a,n[a])})}return t}function Sv(t,e){return e&&(_v(e)==="object"||typeof e=="function")?e:$r(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Au(t,e)}function Av(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function jr(t){return hv(t)||Ev(t)||Rv(t)||wv()}var _v=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Rv(t,e){if(!!t){if(typeof t=="string")return Su(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Su(t,e)}}function Tv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bv(t){var e=Tv();return function(){var u=Ie(t),a;if(e){var r=Ie(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Sv(this,a)}}var Pv=1e4,$=function(e){bv(u,e);var n=Bv(u);function u(a){mv(this,u);var r;r=n.call(this,a),r.controlType="layout";var l=Cv(this,u)?this.constructor:void 0,o=l.excludes,s=l.childrenMaxLength;return r.props=new N(a==null?void 0:a.props),he($r(r),"children",a==null?void 0:a.children,void 0,"Designer"),r.excludes=be(o),r.childrenMaxLength=s,r}return vv(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 et(Ie(u.prototype),"validate",o)};return yv(ae.default.mark(function y(){return ae.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,d().call(s,r,l);case 2:return b.next=4,Promise.all(s.children.map(function(E){return E.validate(r,l)}));case 4:return b.abrupt("return",!0);case 5:case"end":return b.stop()}},y)}))()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=et(Ie(u.prototype),"toDataBindModel",this).call(this),o=l?[l]:[];return this.children.reduce(function(s,d){var y=d.toDataBindModel(r);if(Array.isArray(y)){var m=y.filter(function(b){return!!b});return jr(s).concat(jr(m))}return y&&s.push(y),s},o)}},{key:"toSchema",value:function(){var r=et(Ie(u.prototype),"toSchema",this).call(this),l=this.children.map(function(o){var s=o.toSchema();return s});return Iv({},r,{children:l})}}]),u}(k);$.excludes=!1,$.childrenMaxLength=Pv;function qr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dv(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 Fv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_u(t,e)}function xv(t,e){return e&&(Ov(e)==="object"||typeof e=="function")?e:qr(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},_u(t,e)}var Ov=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function kv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Mv(t){var e=kv();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 xv(this,a)}}var W=function(t){Fv(n,t);var e=Mv(n);function n(u){Dv(this,n);var a;return a=e.call(this,u),a.controlType="layout",a.props=new N(u==null?void 0:u.props),he(qr(a),"children",u==null?void 0:u.children,void 0,"Runtime"),a}return n}(U);function Ur(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function Lv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ru(t,e)}function $v(t,e){return e&&(Vv(e)==="object"||typeof e=="function")?e:Ur(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ru(t,e)}var Vv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Hv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function jv(t){var e=Hv();return function(){var u=On(t),a;if(e){var r=On(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return $v(this,a)}}var kn=function(t){Lv(n,t);var e=jv(n);function n(u,a,r){Nv(this,n);var l;return l=e.call(this,a),he(Ur(l),"headers",a==null?void 0:a.headers,u,r),l}return n}(q);function Tu(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 qv(t){if(Array.isArray(t))return Tu(t)}function Wr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kr(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 Uv(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Kr(r,u,a,l,o,"next",s)}function o(s){Kr(r,u,a,l,o,"throw",s)}l(void 0)})}}function Wv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Kv(t,e,n){return e&&zr(t.prototype,e),n&&zr(t,n),t}function zv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?tt=Reflect.get:tt=function(a,r,l){var o=Zv(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},tt(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function Gv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bu(t,e)}function Xv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Qv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Gr(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){zv(t,a,n[a])})}return t}function Jv(t,e){return e&&(Yv(e)==="object"||typeof e=="function")?e:Wr(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Bu(t,e)}function Zv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Xr(t){return qv(t)||Xv(t)||pv(t)||Qv()}var Yv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function pv(t,e){if(!!t){if(typeof t=="string")return Tu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tu(t,e)}}function eg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function tg(t){var e=eg();return function(){var u=Se(t),a;if(e){var r=Se(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Jv(this,a)}}var Pu=function(t){Gv(n,t);var e=tg(n);function n(u){Wv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new kn(Wr(a),u==null?void 0:u.props,"Designer"),a}return Kv(n,[{key:"validate",value:function(a,r){var l=this,o=this,s=function(){return tt(Se(n.prototype),"validate",l)};return Uv(ae.default.mark(function d(){return ae.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,s().call(o,a);case 2:return m.next=4,Promise.all(o.props.headers.map(function(b){return b.validate(a,r)}));case 4:return m.abrupt("return",!0);case 5:case"end":return m.stop()}},d)}))()}},{key:"toDataBindModel",value:function(){var a=tt(Se(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 y=d.filter(function(m){return!!m});return Xr(o).concat(Xr(y))}return d&&o.push(d),o},r)}},{key:"toSchema",value:function(){var a,r,l=tt(Se(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 Gr({},l,{props:Gr({},this.props,{headers:o,footers:s})})}}]),n}(k);Pu.controlFieldType=g.LIST;function Du(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ng(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(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 ig(t,e,n){return e&&Qr(t.prototype,e),n&&Qr(t,n),t}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function ug(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fu(t,e)}function ag(t,e){return e&&(rg(e)==="object"||typeof e=="function")?e:Du(t)}function Fu(t,e){return Fu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Fu(t,e)}var rg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function lg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function og(t){var e=lg();return function(){var u=Mn(t),a;if(e){var r=Mn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return ag(this,a)}}var Jr=function(t){ug(n,t);var e=og(n);function n(u){ng(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new kn(Du(a),u==null?void 0:u.props,"Runtime"),he(Du(a),"children",u==null?void 0:u.children,void 0,"Runtime"),a}return ig(n,[{key:"length",get:function(){return this.children.length}}]),n}(U);function Zr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(t)}function Ou(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 cg(t,e){return e&&(sg(e)==="object"||typeof e=="function")?e:Zr(t)}function ku(t,e){return ku=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ku(t,e)}var sg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Mu(t){var e=dg();return function(){var u=Nn(t),a;if(e){var r=Nn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return cg(this,a)}}var me=function(t){Ou(n,t);var e=Mu(n);function n(u){xu(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}(H),V=function(t){Ou(n,t);var e=Mu(n);function n(u){xu(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 fr(u==null?void 0:u.autoWidth),a.dataBind=new ce(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}(q);V.Rules=me;var Yr=function(t){Ou(n,t);var e=Mu(n);function n(u){xu(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")}],bu.call(Zr(a),u),a}return n}(me);function fg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function yg(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 mg(t,e){return e&&(vg(e)==="object"||typeof e=="function")?e:fg(t)}function Nu(t,e){return Nu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Nu(t,e)}var vg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function gg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function bg(t){var e=gg();return function(){var u=Ln(t),a;if(e){var r=Ln(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return mg(this,a)}}var z=function(t){yg(n,t);var e=bg(n);function n(u){hg(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new V(u==null?void 0:u.props),a}return n}(k);function Cg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Eg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(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&&Lu(t,e)}function Ig(t,e){return e&&(Sg(e)==="object"||typeof e=="function")?e:Cg(t)}function Lu(t,e){return Lu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Lu(t,e)}var Sg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ag(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function _g(t){var e=Ag();return function(){var u=$n(t),a;if(e){var r=$n(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Ig(this,a)}}var G=function(t){wg(n,t);var e=_g(n);function n(u){Eg(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new V(u==null?void 0:u.props),a}return n}(U);function Rg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function Bg(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 Pg(t,e){return e&&(Dg(e)==="object"||typeof e=="function")?e:Rg(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},$u(t,e)}var Dg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Fg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function xg(t){var e=Fg();return function(){var u=Vn(t),a;if(e){var r=Vn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Pg(this,a)}}var Vu=function(t){Bg(n,t);var e=xg(n);function n(u){Tg(this,n);var a;return a=e.call(this,u),a.dataBind=new ce(u==null?void 0:u.dataBind),a}return n}(N);function Og(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function Mg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hu(t,e)}function Ng(t,e){return e&&(Lg(e)==="object"||typeof e=="function")?e:Og(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Hu(t,e)}var Lg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function $g(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Vg(t){var e=$g();return function(){var u=Hn(t),a;if(e){var r=Hn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Ng(this,a)}}var Hg=function(t){Mg(n,t);var e=Vg(n);function n(u){kg(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new Vu(u==null?void 0:u.props),a}return n}($);function jg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jn(t){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(t)}function Ug(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ju(t,e)}function Wg(t,e){return e&&(Kg(e)==="object"||typeof e=="function")?e:jg(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ju(t,e)}var Kg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function zg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gg(t){var e=zg();return function(){var u=jn(t),a;if(e){var r=jn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Wg(this,a)}}var Xg=function(t){Ug(n,t);var e=Gg(n);function n(u){qg(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new Vu(u==null?void 0:u.props),a}return n}(W);function De(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class qu extends q{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 pr extends k{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 qu(e==null?void 0:e.props)}}pr.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Qg extends U{static get controlType(){return"text"}constructor(e){super(e);this.props=new qu(e==null?void 0:e.props)}}var el={Designer:pr,Runtime:Qg,Property:qu};class Uu extends q{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 Wu extends k{static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}constructor(e){super(e);this.props=new Uu(e==null?void 0:e.props)}}Wu.controlEventKeys=["on_click"],Wu.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Jg extends U{static get controlType(){return"link"}constructor(e){super(e);this.props=new Uu(e==null?void 0:e.props)}}var tl={Designer:Wu,Runtime:Jg,Property:Uu};class Z extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d,y;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 Ky((y=e==null?void 0:e.optObj)!=null?y:{})}}class Y extends k{static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}Y.controlEventKeys=["on_click","on_click_finish"],Y.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 ne extends U{static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}var nl={Designer:Y,Runtime:ne,Property:Z},Ae=(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))(Ae||{}),il=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(il||{}),ul=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(ul||{});class qn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:fe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Ku=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Ku||{});class Un{constructor(e){var n,u;this.id=(n=e==null?void 0:e.id)!=null?n:fe(),this.text=(u=e==null?void 0:e.text)!=null?u:""}}var zu=(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))(zu||{});class Gu{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 vt((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 vt((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new vt((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(d=e==null?void 0:e.remark)!=null?d:""}}class al{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 Gu(s)))!=null?a:[new Gu],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 Xu{constructor(e){var n,u,a,r,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:fe(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 Qu{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 rl{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 Qu(e==null?void 0:e.watermark),this.autoRename=new Qu(e==null?void 0:e.autoRename)}}const ll=480;function wt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class ol{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 cl{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 sl=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(sl||{}),Ju=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Ju||{}),Wn=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Wn||{}),_e=(t=>(t.ALL="all",t.ASSIGN="assign",t))(_e||{}),Zu=(t=>(t.ALL="all",t.ADMIN="admin",t))(Zu||{});class Yu extends q{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:zu.SOLID}}class dl extends k{static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}constructor(e){super(e);this.props=new Yu(e==null?void 0:e.props)}}dl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Zg extends U{static get controlType(){return"divider"}constructor(e){super(e);this.props=new Yu(e==null?void 0:e.props)}}var fl={Designer:dl,Runtime:Zg,Property:Yu};class Yg extends H{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(Ae.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 Kn extends q{constructor(e){super(e);var n,u,a,r;this.dataBind=new ce(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Ae.ShowSubmitUser,Ae.ShowSubmitDept,Ae.ShowSubmitTime,Ae.ShowCurrentApprovar,Ae.ShowTitle],this.caption=(a=(u=e==null?void 0:e.caption)!=null?u:nt==null?void 0:nt.controlName)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}Kn.Rules=Yg;class nt extends k{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 Kn(e==null?void 0:e.props)}}nt.controlFieldType=g.AUTO_NUMBER,nt.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class pg extends U{static get controlType(){return"title"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}var hl={Designer:nt,Runtime:pg,Property:Kn};class e0 extends H{constructor(e){super(e);this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class zn extends Z{constructor(e){super(e);var n,u,a,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:It.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:It.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}zn.Rules=e0;class It extends Y{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 zn(e==null?void 0:e.props)}}It.controlEventKeys=["on_click","on_click_finish"],It.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class t0 extends ne{static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}var yl={Designer:It,Runtime:t0,Property:zn};class n0 extends H{constructor(e){super(e);this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Gn extends Z{constructor(e){super(e);var n,u,a,r,l,o;this.icon=(n=e==null?void 0:e.icon)!=null?n:St.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:St.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:""}}Gn.Rules=n0;class St extends Y{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 Gn(e==null?void 0:e.props)}}St.controlEventKeys=["on_click","on_click_finish"],St.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class i0 extends ne{static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new Gn(e==null?void 0:e.props)}}var ml={Designer:St,Runtime:i0,Property:Gn};class pu extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:At.controlIcon}}class At extends Y{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 pu(e==null?void 0:e.props)}}At.controlEventKeys=["on_click"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class u0 extends ne{static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new pu(e==null?void 0:e.props)}}var vl={Designer:At,Runtime:u0,Property:pu};class ea extends Z{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.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new Xu(l)))!=null?r:[new Xu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class _t extends Y{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 ea(e==null?void 0:e.props)}}_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class a0 extends ne{static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new ea(e==null?void 0:e.props)}}var gl={Designer:_t,Runtime:a0,Property:ea};class ta extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:Rt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Rt.controlIcon}}class Rt extends Y{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 ta(e==null?void 0:e.props)}}Rt.controlEventKeys=["on_click"],Rt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class r0 extends ne{static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new ta(e==null?void 0:e.props)}}var bl={Designer:Rt,Runtime:r0,Property:ta};class l0{constructor(e){this.dataCode=e.dataCode}}class na extends Z{constructor(e){super(e);var n,u,a,r;this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Tt.controlIcon,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(l=>new l0(l)))!=null?r:[]}}class Tt extends Y{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 na(e==null?void 0:e.props)}}Tt.controlEventKeys=["on_click","on_click_finish"],Tt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class o0 extends ne{static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new na(e==null?void 0:e.props)}}var Cl={Designer:Tt,Runtime:o0,Property:na};function Xn(){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 c0 extends H{constructor(e){super(e);this.fillPayload={type:"object",fields:ve({},Xn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ve({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Xn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Qn extends Z{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Bt.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new br(e==null?void 0:e.fillPayload),this.formBind=new Ty(e==null?void 0:e.formBind),this.fillBack=new Cr(e==null?void 0:e.fillBack)}}Qn.Rules=c0;class Bt extends Y{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 Qn(e==null?void 0:e.props)}}Bt.controlEventKeys=["on_click","on_click_finish"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class s0 extends ne{static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new Qn(e==null?void 0:e.props)}}var El={Designer:Bt,Runtime:s0,Property:Qn};class d0 extends H{constructor(e){super(e);this.fillPayload={type:"object",fields:ve({},Xn())},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:ve({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Xn())}}}class Jn extends Z{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:Pt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Pt.controlIcon,this.fillPayload=new br(e==null?void 0:e.fillPayload),this.listPageBind=new eu(e==null?void 0:e.listPageBind),this.fillBack=new Cr(e==null?void 0:e.fillBack),this.showSelectedDetail=(a=e==null?void 0:e.showSelectedDetail)!=null?a:!1,this.selectedContentConfig=new uu(e==null?void 0:e.selectedContentConfig)}}Jn.Rules=d0;class Pt extends Y{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 Jn(e==null?void 0:e.props)}}Pt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Pt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class f0 extends ne{static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}}var wl={Designer:Pt,Runtime:f0,Property:Jn};class h0 extends H{constructor(e){super(e)}}class y0 extends Pe{constructor(e){super(e)}}class Dt extends q{constructor(e){super(e)}}Dt.Rules=h0,Dt.RuntimeRules=y0;class Il extends k{static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}constructor(e){super(e);this.props=new Dt(e==null?void 0:e.props)}}Il.setting=[];class m0 extends U{static get controlType(){return"pagination"}constructor(e){super(e);this.props=new Dt(e==null?void 0:e.props)}}var Sl={Designer:Il,Runtime:m0,Property:Dt};class v0 extends H{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 Zn extends q{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"}}Zn.Rules=v0;class Al extends k{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 Zn(e==null?void 0:e.props)}}Al.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class g0 extends U{static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new Zn(e==null?void 0:e.props)}}var _l={Designer:Al,Runtime:g0,Property:Zn};class b0 extends H{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 Yn extends q{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 Uy(r)))!=null?a:[]}}Yn.Rules=b0;class Rl extends k{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 Yn(e==null?void 0:e.props)}}Rl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class C0 extends U{static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}}var Tl={Designer:Rl,Runtime:C0,Property:Yn};class E0 extends H{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 pn extends Z{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m;this.caption=(n=e==null?void 0:e.caption)!=null?n:it.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:it.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:it.controlIcon,this.ocrType=(d=e==null?void 0:e.ocrType)!=null?d:"",this.fillList=(m=(y=e==null?void 0:e.fillList)==null?void 0:y.map(b=>new p(b)))!=null?m:[]}}pn.Rules=E0;class it extends Y{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 pn(e==null?void 0:e.props)}}it.controlEventKeys=["on_click","on_click_finish"],it.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class w0 extends ne{static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new pn(e==null?void 0:e.props)}}var Bl={Designer:it,Runtime:w0,Property:pn};class I0 extends H{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 ei extends Z{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m;this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.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:ut.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:ut.controlIcon,this.invoiceCheck=(d=e==null?void 0:e.invoiceCheck)!=null?d:!0,this.fillList=(m=(y=e==null?void 0:e.fillList)==null?void 0:y.map(b=>new p(b)))!=null?m:[]}}ei.Rules=I0;class ut extends Y{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 ei(e==null?void 0:e.props)}}ut.controlEventKeys=["on_click","on_click_finish"],ut.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 S0 extends ne{static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new ei(e==null?void 0:e.props)}}var Pl={Designer:ut,Runtime:S0,Property:ei};class A0 extends H{constructor(){super(...arguments);this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class ti extends Z{constructor(e){super(e);var n,u,a,r,l;this.icon=(n=e==null?void 0:e.icon)!=null?n:Ft.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Ft.controlName,this.printTemplates=(r=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(o=>new ol(o)))!=null?r:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}ti.Rules=A0;class Ft extends Y{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 ti(e==null?void 0:e.props)}}Ft.controlEventKeys=["on_click","on_click_finish"],Ft.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 _0 extends ne{static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new ti(e==null?void 0:e.props)}}var Dl={Designer:Ft,Runtime:_0,Property:ti};class ia extends Z{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 Y{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 ia(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 R0 extends ne{static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new ia(e==null?void 0:e.props)}}var Fl={Designer:xt,Runtime:R0,Property:ia};class T0 extends H{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 ni extends q{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}}ni.Rules=T0;class ii extends k{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 ni(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 B0 extends U{static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new ni(e==null?void 0:e.props)}}var xl={Designer:ii,Runtime:B0,Property:ni};class ua extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d,y;this.content=(n=e==null?void 0:e.content)!=null?n:Ot.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ot.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=(y=e==null?void 0:e.isLoading)!=null?y:!1}}class Ot extends k{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 ua(e==null?void 0:e.props)}}Ot.controlEventKeys=["on_click"],Ot.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class P0 extends U{static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new ua(e==null?void 0:e.props)}}var Ol={Designer:Ot,Runtime:P0,Property:ua},D0=Object.freeze({__proto__:null,Text:el,Link:tl,Button:nl,Divider:fl,Title:hl,CreateFormListButton:yl,BatchSubmissionListButton:ml,SubmissionRecordListButton:vl,ExportListButton:gl,ExportRecordListButton:bl,ImportRecordListButton:Cl,FormSelectButton:El,ListSelectButton:wl,Pagination:Sl,Dashboard:_l,ListViewSelect:Tl,TextOcrButton:Bl,InvoiceCheckButton:Pl,BatchPrintListButton:Dl,BatchPrintRecordListButton:Fl,OperationButton:xl,BatchDeleteButton:Ol});class F0 extends Q{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=wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class x0 extends M{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:wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class at extends B{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 Er(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:rt.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:""}}at.Rules=F0,at.RuntimeRules=x0;class rt extends P{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 at(e==null?void 0:e.props)}}rt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rt.controlFieldType=g.VARCHAR,rt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 kl extends D{static get controlType(){return"input"}constructor(e){super(e);this.props=new at(e==null?void 0:e.props)}}kl.controlFieldType=g.VARCHAR;var Ml={Designer:rt,Runtime:kl,Property:at};class O0 extends pe{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 k0 extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class kt extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m,b,E,A;this.options=ye((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 X(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(y=e==null?void 0:e.caption)!=null?y:Mt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,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(C=>{var _;(_=this.multistageFilling)==null||_.push(new p(C))}))}}kt.Rules=O0,kt.RuntimeRules=k0;class Mt extends P{static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new kt(e==null?void 0:e.props)}}Mt.controlEventKeys=["on_change","on_click"],Mt.controlFieldType=g.ARRAY,Mt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 Nl extends D{static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new kt(e==null?void 0:e.props)}}Nl.controlFieldType=g.ARRAY;var Ll={Designer:Mt,Runtime:Nl,Property:kt};class M0 extends pe{constructor(e){super(e)}}class ui extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m,b;this.options=ye((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 X(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(y=e==null?void 0:e.caption)!=null?y:Nt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",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(E=>{var A;(A=this.multistageFilling)==null||A.push(new p(E))}))}}ui.Rules=M0;class Nt extends P{static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}constructor(e){super(e);this.props=new ui(e==null?void 0:e.props)}}Nt.controlEventKeys=["on_change","on_click"],Nt.controlFieldType=g.VARCHAR,Nt.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 $l extends D{static get controlType(){return"radio"}constructor(e){super(e);this.props=new ui(e==null?void 0:e.props)}}$l.controlFieldType=g.VARCHAR;var Vl={Designer:Nt,Runtime:$l,Property:ui};class N0 extends Q{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=wt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class L0 extends M{constructor(e){super(e);this[0]!==void 0&&(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:wt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Lt extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m,b,E,A;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=(y=e==null?void 0:e.unitPosition)!=null?y:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:$t.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:"\u8BF7\u8F93\u5165",this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:"",this.regularRules=new Er(e==null?void 0:e.regularRules)}}Lt.Rules=N0,Lt.RuntimeRules=L0;class $t extends P{static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}constructor(e){super(e);this.props=new Lt(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}}$t.controlEventKeys=["on_change","on_input","on_focus","on_blur"],$t.controlFieldType=g.DECIMAL,$t.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 Hl extends D{static get controlType(){return"number"}constructor(e){super(e);this.props=new Lt(e==null?void 0:e.props)}}Hl.controlFieldType=g.DECIMAL;var jl={Designer:$t,Runtime:Hl,Property:Lt};class aa extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m,b;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.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:ai.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=(y=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(E=>new qn(E)))!=null?y:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(b=e==null?void 0:e.filterWeekend)!=null?b:!1}}class ai extends P{static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new aa(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}}ai.controlFieldType=g.TIMESTAMP,ai.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 ql extends D{static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new aa(e==null?void 0:e.props)}}ql.controlFieldType=g.TIMESTAMP;var Ul={Designer:ai,Runtime:ql,Property:aa};class $0 extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide&&this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class ri extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m,b;this.dataBind=new $y(e==null?void 0:e.dataBind),this.defaultValue=new Vy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.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=(y=e==null?void 0:e.caption)!=null?y:li.controlName,this.limitDateList=(b=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(E=>new qn(E)))!=null?b:[]}}ri.RuntimeRules=$0;class li extends P{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 ri(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}}li.controlFieldType=g.TIMESCOPE,li.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 Wl extends D{static get controlType(){return"date-range"}constructor(e){super(e);this.props=new ri(e==null?void 0:e.props)}}Wl.controlFieldType=g.TIMESCOPE;var Kl={Designer:li,Runtime:Wl,Property:ri};class V0 extends Q{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 H0 extends M{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 Vt extends B{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:Ht.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}}Vt.Rules=V0,Vt.RuntimeRules=H0;class Ht extends P{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 Vt(e==null?void 0:e.props)}}Ht.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ht.controlFieldType=g.TEXT,Ht.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{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 zl extends D{static get controlType(){return"textarea"}constructor(e){super(e);this.props=new Vt(e==null?void 0:e.props)}}zl.controlFieldType=g.TEXT;var Gl={Designer:Ht,Runtime:zl,Property:Vt};class j0 extends Q{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 q0 extends M{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 jt extends B{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:qt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}jt.Rules=j0,jt.RuntimeRules=q0;class qt extends P{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 jt(e==null?void 0:e.props)}}qt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],qt.controlFieldType=g.TEXT,qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Xl extends D{static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new jt(e==null?void 0:e.props)}}Xl.controlFieldType=g.TEXT;var Ql={Designer:qt,Runtime:Xl,Property:jt};class U0 extends pe{constructor(e){super(e)}}class oi extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m;this.options=ye((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 X(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:ci.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(b=>{var E;(E=this.multistageFilling)==null||E.push(new p(b))})),this.canViewForm=(y=e==null?void 0:e.canViewForm)!=null?y:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new Ze(e==null?void 0:e.formBind)}}oi.Rules=U0;class ci extends P{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 oi(e==null?void 0:e.props)}}ci.controlFieldType=g.VARCHAR,ci.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 Jl extends D{static get controlType(){return"select"}constructor(e){super(e);this.props=new oi(e==null?void 0:e.props)}}Jl.controlFieldType=g.VARCHAR;var Zl={Designer:ci,Runtime:Jl,Property:oi};class W0 extends pe{constructor(e){super(e)}}class K0 extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class Ut extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y;this.options=ye((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 X(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:si.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(m=>{var b;(b=this.multistageFilling)==null||b.push(new p(m))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new Ze(e==null?void 0:e.formBind)}}Ut.Rules=W0,Ut.RuntimeRules=K0;class si extends P{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 Ut(e==null?void 0:e.props)}}si.controlFieldType=g.ARRAY,si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"super-setting",visible:!0}];class Yl extends D{static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new Ut(e==null?void 0:e.props)}}Yl.controlFieldType=g.ARRAY;var pl={Designer:si,Runtime:Yl,Property:Ut};class z0 extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class di extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y;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=(y=e==null?void 0:e.openMultistageFilling)!=null?y:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var b;(b=this.multistageFilling)==null||b.push(new p(m))}))}}di.RuntimeRules=z0;class fi extends P{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=g.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 eo extends D{static get controlType(){return"employee"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}eo.controlFieldType=g.EMPLOYEES;var to={Designer:fi,Runtime:eo,Property:di};const G0=10485760,X0=104857600,Q0=1048576e3;class J0 extends Q{constructor(e){super(e);this.maxSize={type:"number",min:0,max:Q0,message:f.getMessage("attachmentMaxSize")}}}class Z0 extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class lt extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(u=e==null?void 0:e.showType)!=null?u:"default",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:X0,this.caption=(s=e==null?void 0:e.caption)!=null?s:ot.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}lt.Rules=J0,lt.RuntimeRules=Z0;class ot extends P{static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}constructor(e){super(e);this.props=new lt(e==null?void 0:e.props)}}ot.controlEventKeys=["on_change"],ot.controlFieldType=g.FILE,ot.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 ra extends D{static get controlType(){return"attachment"}constructor(e){super(e);this.props=new lt(e==null?void 0:e.props)}}ra.controlFieldType=g.FILE;var no={Designer:ot,Runtime:ra,Property:lt};const io=class extends ot{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:io.controlName,this.props.placeholder=(a=(u=t==null?void 0:t.props)==null?void 0:u.placeholder)!=null?a:"\u4E0A\u4F20\u56FE\u7247"}};let la=io;la.controlFieldType=g.IMAGE,la.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Y0 extends ra{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 p0 extends lt{constructor(e){super(e)}}var uo={Designer:la,Runtime:Y0,Property:p0};class eb extends pe{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 tb extends M{constructor(e){super(e);this[0]!==void 0&&(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:[mn(ve({},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 Wt extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m,b;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 Ny(e==null?void 0:e.dataBind),this.datasourceBind=new X((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new nu({value:"name"})]}),this.defaultValue=new Ly((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:En.CNY}),this.options=ye(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:Kt.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Wt.Rules=eb,Wt.RuntimeRules=tb;class Kt extends P{static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}constructor(e){super(e);this.props=new Wt(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}}Kt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Kt.controlFieldType=g.MONEY,Kt.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 ao extends D{static get controlType(){return"amount"}constructor(e){super(e);this.props=new Wt(e==null?void 0:e.props)}}ao.controlFieldType=g.MONEY;var ro={Designer:Kt,Runtime:ao,Property:Wt};class nb extends Q{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 ib extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class zt extends B{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:Ku.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 Un(d)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new Un),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Gt.controlName}}zt.Rules=nb,zt.RuntimeRules=ib;class Gt extends P{static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}constructor(e){super(e);this.props=new zt(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 Un);this.props.explain.push(...a)}}super.postUpdate(e,n)}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=g.DECIMAL,Gt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.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 D{static get controlType(){return"score"}constructor(e){super(e);this.props=new zt(e==null?void 0:e.props)}}lo.controlFieldType=g.DECIMAL;var oo={Designer:Gt,Runtime:lo,Property:zt};class ub extends M{constructor(e){super(e);if(this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class hi extends B{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:yi.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 Hy((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"}}hi.RuntimeRules=ub;class yi extends P{static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}yi.controlFieldType=g.ADDRESS,yi.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 co extends D{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 hi(e==null?void 0:e.props)}}co.controlFieldType=g.ADDRESS;var so={Designer:yi,Runtime:co,Property:hi};class ab extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class mi extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m,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=(y=e==null?void 0:e.caption)!=null?y:Xt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var A;(A=this.multistageFilling)==null||A.push(new p(E))}))}}mi.RuntimeRules=ab;class Xt extends P{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}constructor(e){super(e);this.props=new mi(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}}Xt.controlName="\u90E8\u95E8",Xt.controlFieldType=g.DEPARTMENTS,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.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 fo extends D{static get controlType(){return"department"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}}fo.controlFieldType=g.DEPARTMENTS;var ho={Designer:Xt,Runtime:fo,Property:mi};class oa extends B{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:Qt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Qt extends P{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)}}Qt.controlEventKeys=["on_change"],Qt.controlFieldType=g.AUTO_NUMBER,Qt.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 yo extends D{static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new oa(e==null?void 0:e.props)}}yo.controlFieldType=g.AUTO_NUMBER;var mo={Designer:Qt,Runtime:yo,Property:oa};class rb extends Q{constructor(e){super(e);this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class lb extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class Jt extends B{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 jy(e==null?void 0:e.dataBind),this.defaultValue=new qy(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:Zt.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:""}}Jt.Rules=rb,Jt.RuntimeRules=lb;class Zt extends P{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 Jt(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}}Zt.controlEventKeys=["on_change"],Zt.controlFieldType=g.CALC,Zt.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 vo extends D{static get controlType(){return"calc"}constructor(e){super(e);this.props=new Jt(e==null?void 0:e.props)}}vo.controlFieldType=g.CALC;var go={Designer:Zt,Runtime:vo,Property:Jt};class ob extends M{constructor(e){super(e);this[0]!==void 0&&(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 vi extends B{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:gi.controlName}}vi.RuntimeRules=ob;class gi extends P{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 vi(e==null?void 0:e.props)}}gi.controlFieldType=g.DECIMAL_RANGE,gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 bo extends D{static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}bo.controlFieldType=g.DECIMAL_RANGE;var Co={Designer:gi,Runtime:bo,Property:vi};class cb extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class bi extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m,b,E;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(u=e==null?void 0:e.dateType)!=null?u:ge.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=(y=e==null?void 0:e.placeholderEnd)!=null?y:"\u7ED3\u675F\u65E5\u671F",this.caption=(m=e==null?void 0:e.caption)!=null?m:Ci.controlName,this.limitDateList=(E=(b=e==null?void 0:e.limitDateList)==null?void 0:b.map(A=>new qn(A)))!=null?E:[]}}bi.RuntimeRules=cb;class Ci extends P{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 bi(e==null?void 0:e.props)}}Ci.controlFieldType=g.ARRAY,Ci.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 Eo extends D{static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}Eo.controlFieldType=g.ARRAY;var wo={Designer:Ci,Runtime:Eo,Property:bi};class sb extends Q{constructor(e){super(e);this.dataBind={type:"any"}}}class db extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="any")}}class Yt extends B{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:pt.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}}Yt.Rules=sb,Yt.RuntimeRules=db;class pt extends P{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 Yt(e==null?void 0:e.props)}}pt.controlFieldType=g.ANY,pt.controlEventKeys=[],pt.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 Io extends D{static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new Yt(e==null?void 0:e.props)}}Io.controlFieldType=g.ANY;var So={Designer:pt,Runtime:Io,Property:Yt};class fb extends pe{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 Ei extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y;this.options=ye((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.listPageBind=new eu(e==null?void 0:e.listPageBind),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:en.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 uu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var b;(b=this.multistageFilling)==null||b.push(new p(m))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new Ze(e==null?void 0:e.formBind)}}Ei.Rules=fb;class en extends P{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 Ei(e==null?void 0:e.props)}}en.controlFieldType=g.VARCHAR,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:"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}],en.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Ao extends D{static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new Ei(e==null?void 0:e.props)}}Ao.controlFieldType=g.VARCHAR;var _o={Designer:en,Runtime:Ao,Property:Ei};class ca extends at{constructor(e){super(e)}}class Ro extends rt{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}constructor(e){super(e);this.props=new ca(e==null?void 0:e.props)}}Ro.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 To extends D{static get controlType(){return"search-input"}constructor(e){super(e);this.props=new ca(e==null?void 0:e.props)}}To.controlFieldType=g.VARCHAR;var Bo={Designer:Ro,Runtime:To,Property:ca};class hb extends Q{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],An.call(this,e,Re.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"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class yb extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class tn extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m,b,E,A,C,_,v,I,w;this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Re.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=(y=e==null?void 0:e.isShowIncludeSub)!=null?y:!1,this.defaultCollapse=(m=e==null?void 0:e.defaultCollapse)!=null?m:"all",this.defaultCollapseLevel=(b=e==null?void 0:e.defaultCollapseLevel)!=null?b:1,this.datasourceBind=new vr((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Re.controlCustomAttributes}),this.filterItemDatasourceBind=new vr((A=e==null?void 0:e.filterItemDatasourceBind)!=null?A:{attributes:Re.controlCustomAttributes}),this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.defaultDisplay=(_=e==null?void 0:e.defaultDisplay)!=null?_:!1,this.multistageFilling=(I=(v=e==null?void 0:e.multistageFilling)==null?void 0:v.map(F=>new p(F)))!=null?I:[],this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:[]}}tn.Rules=hb,tn.RuntimeRules=yb;class Re extends P{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 tn(e==null?void 0:e.props)}}Re.controlEventKeys=["on_change","on_click"],Re.controlFieldType=g.ARRAY,Re.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Po extends D{static get controlType(){return"tree"}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}Po.controlFieldType=g.ARRAY;var Do={Designer:Re,Runtime:Po,Property:tn};class mb extends Q{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},An.call(this,e,ct.controlCustomAttributes),e.externalType===_e.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class vb extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class nn extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m,b,E,A,C;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:ct.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 Cn((y=e==null?void 0:e.datasourceBind)!=null?y:{attributes:ct.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Ju.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:Zu.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:_e.ALL,this.externalScope=(A=e==null?void 0:e.externalScope)!=null?A:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var v;(v=this.multistageFilling)==null||v.push(new p(_))}))}}nn.Rules=mb,nn.RuntimeRules=vb;class ct extends P{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 nn(e==null?void 0:e.props)}}ct.controlFieldType=g.EMPLOYEES,ct.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 Fo extends D{static get controlType(){return"employee2"}constructor(e){super(e);this.props=new nn(e==null?void 0:e.props)}}Fo.controlFieldType=g.EMPLOYEES;var xo={Designer:ct,Runtime:Fo,Property:nn};class gb extends Q{constructor(e){super(e);this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,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"&&Xi(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")&&Xi(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class wi extends B{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:un.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 al(e==null?void 0:e.signatureConfig)}}wi.Rules=gb;class un extends P{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 wi(e==null?void 0:e.props)}}un.controlEventKeys=["on_click","on_click_finish"],un.controlFieldType=g.VARCHAR,un.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 Oo extends D{static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}Oo.controlFieldType=g.VARCHAR;var ko={Designer:un,Runtime:Oo,Property:wi};class bb extends Q{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 Cb extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class an extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m,b,E;this.caption=(n=e==null?void 0:e.caption)!=null?n:rn.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=(y=e==null?void 0:e.canDelete)!=null?y:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:G0,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new rl(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}an.Rules=bb,an.RuntimeRules=Cb;class rn extends P{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 an(e==null?void 0:e.props)}}rn.controlEventKeys=["on_change","on_wps_open"],rn.controlFieldType=g.FILE,rn.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 Mo extends D{static get controlType(){return"wps"}constructor(e){super(e);this.props=new an(e==null?void 0:e.props)}}Mo.controlFieldType=g.FILE;var No={Designer:rn,Runtime:Mo,Property:an};class Eb extends Q{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},An.call(this,e,Fe.controlCustomAttributes),e.businessType===_e.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class wb extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class ln extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m,b,E,A,C,_;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=(y=e==null?void 0:e.caption)!=null?y:Fe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Cn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Fe.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:Wn.INTERNAL,this.businessScope=(A=e==null?void 0:e.businessScope)!=null?A:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:_e.ALL,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var I;(I=this.multistageFilling)==null||I.push(new p(v))}))}}ln.Rules=Eb,ln.RuntimeRules=wb;class Fe extends P{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 ln(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}}Fe.controlName="\u90E8\u95E8",Fe.controlFieldType=g.DEPARTMENTS,Fe.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 Lo extends D{static get controlType(){return"department2"}constructor(e){super(e);this.props=new ln(e==null?void 0:e.props)}}Lo.controlFieldType=g.DEPARTMENTS;var $o={Designer:Fe,Runtime:Lo,Property:ln};class Ib extends Q{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},An.call(this,e,xe.controlCustomAttributes),e.businessType===_e.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Sb extends M{constructor(e){super(e);this[0]!==void 0&&(this[0].type="array")}}class on extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m,b,E,A,C,_,v,I,w;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 eu(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=(y=e==null?void 0:e.caption)!=null?y:xe.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new ky((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:xe.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:Wn.INTERNAL,this.businessScope=(A=e==null?void 0:e.businessScope)!=null?A:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:_e.ALL,this.organizingFunction=(_=e==null?void 0:e.organizingFunction)!=null?_:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(I=e==null?void 0:e.showSelectedDetail)!=null?I:!1,this.selectedContentConfig=new uu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(F=>{var O;(O=this.multistageFilling)==null||O.push(new p(F))}))}}on.Rules=Ib,on.RuntimeRules=Sb;class xe extends P{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 on(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}}xe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",xe.controlFieldType=g.DEPARTMENTS,xe.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 Vo extends D{static get controlType(){return"organization-selection"}constructor(e){super(e);this.props=new on(e==null?void 0:e.props)}}Vo.controlFieldType=g.DEPARTMENTS;var Ho={Designer:xe,Runtime:Vo,Property:on},Ab=Object.freeze({__proto__:null,Input:Ml,Checkbox:Ll,Radio:Vl,Number:jl,DatePicker:Ul,DateRange:Kl,Textarea:Gl,RichText:Ql,Select:Zl,SelectMultiple:pl,Employee:to,Image:uo,Attachment:no,Amount:ro,Score:oo,Address:so,Department:ho,AutoNumber:mo,Calc:go,SearchNumberRange:Co,SearchDateRange:wo,VueFormItem:So,SelectRelation:_o,SearchInput:Bo,Tree:Do,Employee2:xo,ElectronicSignature:ko,WPS:No,Department2:$o,OrganizationSelection:Ho});class jo extends ${static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}jo.excludes=[S.GRID];class _b extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var qo={Designer:jo,Runtime:_b,Property:N};const Rb=24;class Oe extends N{constructor(e){super(e);var n,u;this.span=(n=e==null?void 0:e.span)!=null?n:Rb,this.offset=(u=e==null?void 0:e.offset)!=null?u:0}}class cn extends ${static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}constructor(e){super(e);this.props=new Oe(e==null?void 0:e.props)}}cn.excludes=[S.COL,S.CARD_GROUP,S.SUBTABLE,S.SUBTABLE_COLUMN,S.DIVIDER],cn.childrenMaxLength=1;class sa extends W{static get controlType(){return"col"}constructor(e){super(e);this.props=new Oe(e==null?void 0:e.props)}}var Uo={Designer:cn,Runtime:sa,Property:Oe};class Ii extends N{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 Si extends ${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 Ii(e==null?void 0:e.props)}}Si.excludes=[S.ROW],Si.setting=[{key:"col-setting",visible:!0}];class Wo extends W{static get controlType(){return"row"}constructor(e){super(e);this.props=new Ii(e==null?void 0:e.props)}}var Ko={Designer:Si,Runtime:Wo,Property:Ii};const Tb=4;class Ai extends Si{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)}}Ai.excludes=[S.GRID_ROW],Ai.setting=[],Ai.childrenMaxLength=Tb;class Bb extends Wo{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Pb extends Ii{constructor(e){super(e)}}var zo={Designer:Ai,Runtime:Bb,Property:Pb};class Db extends N.Rules{constructor(){super(...arguments);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class _i extends N{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"}}_i.Rules=Db;class da extends ${static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}da.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],da.excludes=[S.CARD_GROUP];class Fb extends W{static get controlType(){return"card-group"}constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}var Go={Designer:da,Runtime:Fb,Property:_i};class xb extends H{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 Ri extends N{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 _y(e==null?void 0:e.metaAutoWidth)}}Ri.Rules=xb;class oe extends ${constructor(e){super(e);this.props=new Ri(e==null?void 0:e.props)}}oe.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",oe.controlType="subtable-column",oe.controlIcon="subtable-column",oe.childrenMaxLength=1,oe.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],oe.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 Xo extends W{constructor(e){super(e);this.props=new Ri(e==null?void 0:e.props)}}Xo.controlType="subtable-column";var Qo={Designer:oe,Runtime:Xo,Property:Ri};class fa extends N{constructor(e){super(e)}}class ke extends ${constructor(e){super(e);this.props=new fa(e==null?void 0:e.props)}}ke.controlName="\u660E\u7EC6\u5B50\u8868\u884C",ke.controlType="subtable-row",ke.controlIcon="subtable-row",ke.childrenMaxLength=1,ke.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],ke.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class Ob extends W{static get controlType(){return"subtable-row"}constructor(e){super(e);this.props=new fa(e==null?void 0:e.props)}}var Jo={Designer:ke,Runtime:Ob,Property:fa};class ha extends N{constructor(e){super(e);var n,u,a,r,l,o,s,d,y,m;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:g.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new X(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=(y=e==null?void 0:e.timestampDateType)!=null?y:ge.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Me extends ${constructor(e){super(e);this.props=new ha(e==null?void 0:e.props)}}Me.controlName="\u5217\u8868\u5355\u5143\u683C",Me.controlType="gridtable-column",Me.controlIcon="gridtable-column",Me.childrenMaxLength=1,Me.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Me.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Zo extends W{constructor(e){super(e);this.props=new ha(e==null?void 0:e.props)}}Zo.controlType="gridtable-column";var Yo={Designer:Me,Runtime:Zo,Property:ha};class ya extends N{constructor(e){super(e)}}class kb extends H{constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ti extends N{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:dn.controlName}}Ti.Rules=kb;class sn extends ${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 Ti(e==null?void 0:e.props)}}sn.excludes=[S.TAB],sn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Mb extends W{static get controlType(){return"tab-pane"}constructor(e){super(e);this.props=new Ti(e==null?void 0:e.props)}}var po={Designer:sn,Runtime:Mb,Property:Ti};class dn extends ${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 ya(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new sn,new sn]}}dn.excludes=[S.TAB],dn.controlEventKeys=["on_change_tab"],dn.setting=[{key:"super-setting",visible:!0}];class Nb extends W{static get controlType(){return"tab"}constructor(e){super(e);this.props=new ya(e==null?void 0:e.props)}}var ec={Designer:dn,Runtime:Nb,Property:ya};class tc extends N{constructor(e){super(e)}}class nc extends ${static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}constructor(e){super(e);this.props=new tc({}),this.children=(e==null?void 0:e.children)||[new cn({props:new Oe({span:12})}),new cn({props:new Oe({span:12})})]}}nc.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class Lb extends W{static get controlType(){return"toolbox"}constructor(e){super(e);this.children=(e==null?void 0:e.children)||[new sa({props:new Oe({span:12})}),new sa({props:new Oe({span:12})})]}}var ic={Designer:nc,Runtime:Lb,Property:tc};class $b extends Pe{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Vb extends H{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")}}}}]}}]),bu.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 fn extends N{constructor(e){super(e);var n,u,a,r,l,o,s,d,y;this.datasourceBind=new X(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 Dy(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new xy(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.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isAllLoaded=(y=e==null?void 0:e.isAllLoaded)!=null?y:!0,this.countType=e==null?void 0:e.countType}}fn.Rules=Vb,fn.RuntimeRules=$b;class Bi extends ${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 fn(e==null?void 0:e.props)}}Bi.excludes=[S.ROW],Bi.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"],Bi.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:"super-setting",visible:!0}];class Hb extends W{static get controlType(){return"list-view"}constructor(e){super(e);this.props=new fn(e==null?void 0:e.props)}}var uc={Designer:Bi,Runtime:Hb,Property:fn};class jb extends Pe{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Pi extends N{constructor(e){super(e);var n,u,a,r,l,o;this.save=new Ee((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Ee((u=e==null?void 0:e.cancel)!=null?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ee((a=e==null?void 0:e.saveAs)!=null?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ee((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 Ee(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new X(e==null?void 0:e.datasourceBind)}}Pi.RuntimeRules=jb;class ac extends ${static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Pi(e==null?void 0:e.props)}}ac.excludes=[];class qb extends W{static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Pi(e==null?void 0:e.props)}}var rc={Designer:ac,Runtime:qb,Property:Pi};class Ub extends ${static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class Wb extends W{static get controlType(){return"page"}constructor(e){super(e)}}class Kb extends N{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:Ub,Runtime:Wb,Property:Kb};class zb extends ${static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Gb extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Xb extends N{constructor(e){super(e);this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new cl(e==null?void 0:e.flexConfig)}}var oc={Designer:zb,Runtime:Gb,Property:Xb};class Qb extends ${static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Jb extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Zb extends N{constructor(e){super(e)}}var cc={Designer:Qb,Runtime:Jb,Property:Zb};class Yb extends ${static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class pb extends W{static get controlType(){return"position"}constructor(e){super(e)}}class eC extends N{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 sc={Designer:Yb,Runtime:pb,Property:eC};class ma extends N{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 va extends ${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 ma((n=e==null?void 0:e.props)!=null?n:{})}}va.excludes=[],va.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class tC extends W{static get controlType(){return"action-bar"}constructor(e){super(e);var n;this.props=new ma((n=e==null?void 0:e.props)!=null?n:{})}}var dc={Designer:va,Runtime:tC,Property:ma},nC=Object.freeze({__proto__:null,Grid:qo,Col:Uo,Row:Ko,GridRow:zo,CardGroup:Go,SubTableColumn:Qo,SubTableRow:Jo,GridTableColumn:Yo,Tab:ec,TabPane:po,Toolbox:ic,ListView:uc,DataView:rc,Page:lc,AdvancedContainer:oc,PositioningContainer:cc,Position:sc,ActionBar:dc});class iC extends H{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")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class uC extends Pe{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})})}}const fc=class extends kn{constructor(t,e){super(t,e,fc.mode);var n,u,a,r,l,o,s,d,y,m,b,E,A,C,_,v,I,w,F,O,ie,x,ue,yn;this.caption=(n=e==null?void 0:e.caption)!=null?n:Di.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(d=e==null?void 0:e.maxHeight)!=null?d:ll,this.printMode=(y=e==null?void 0:e.printMode)!=null?y:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.defaultRows=(b=e==null?void 0:e.defaultRows)!=null?b:1,this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.canAdd=(E=e==null?void 0:e.canAdd)!=null?E:!0,this.canDelete=(A=e==null?void 0:e.canDelete)!=null?A:!0,this.canCheck=(C=e==null?void 0:e.canCheck)!=null?C:!1,this.canEdit=(_=e==null?void 0:e.canEdit)!=null?_:!1,this.canImport=(v=e==null?void 0:e.canImport)!=null?v:!1,this.canExport=(I=e==null?void 0:e.canExport)!=null?I:!1,this.canClear=(w=e==null?void 0:e.canClear)!=null?w:!0,this.serverPagination=(F=e==null?void 0:e.serverPagination)!=null?F:!1,this.isShowCaptionTip=(O=e==null?void 0:e.isShowCaptionTip)!=null?O:!1,this.captionTip=(ie=e==null?void 0:e.captionTip)!=null?ie:"",this.mobileShowType=(x=e==null?void 0:e.mobileShowType)!=null?x:"list",this.dataStorageDoc=(ue=e==null?void 0:e.dataStorageDoc)!=null?ue:new Ry,this.fixedColumn=(yn=e==null?void 0:e.fixedColumn)!=null?yn:[]}};let hn=fc;hn.Rules=iC,hn.RuntimeRules=uC;class Di extends Pu{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 hn(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 oe,new oe,new oe]),((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 oe,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Di.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Di.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class aC extends Jr{static get controlType(){return"subtable"}constructor(e){super(e);this.props=new hn(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){pa("Method not implemented.")}getChildrenFormControl(){return[]}}var hc={Designer:Di,Runtime:aC,Property:hn};class ga extends kn{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 rC extends me{constructor(e){super(e);this.caption.required=!1}}class Fi extends V{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:Ne.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"}}Fi.Rules=rC;class Ne extends z{constructor(e){super(e);this.props=new Fi(e==null?void 0:e.props)}}Ne.controlType="order-column",Ne.controlName="\u5E8F\u53F7",Ne.controlIcon="order-column",Ne.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class ba extends G{constructor(e){super(e);this.props=new Fi(e==null?void 0:e.props)}}ba.controlType="order-column",ba.controlFieldType=g.DECIMAL;var yc={Designer:Ne,Runtime:ba,Property:Fi};class Ca extends V{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:Le.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 Le extends z{constructor(e){super(e);this.props=new Ca(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer")}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 mn(ve({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){var u=a=>super[a];return Ua(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}Le.controlType="operation-column",Le.controlName="\u64CD\u4F5C",Le.controlIcon="operation-column",Le.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 Ea extends G{constructor(e){super(e);this.props=new Ca(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Ea.controlType="operation-column",Ea.controlFieldType=g.FILE;var mc={Designer:Le,Runtime:Ea,Property:Ca};class vc extends Pu{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 ga(this,e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ne,new Le]),((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 mn(ve({},e),{children:n})}validate(e,n){var u=a=>super[a];return Ua(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}vc.setting=[{key:"list-fixed-header",visible:!0}];class lC extends Jr{static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new ga(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){pa("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var gc={Designer:vc,Runtime:lC,Property:ga},oC=Object.freeze({__proto__:null,SubTable:hc,GridTable:gc});class cC extends Yr{constructor(e){super(e);De.call(this,e)}}class xi extends V{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=ye((a=e==null?void 0:e.options)!=null?a:[{}]),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1}}xi.Rules=cC;class $e extends z{constructor(e){super(e);this.props=new xi(e==null?void 0:e.props)}}$e.controlType="varchar-column",$e.controlName="\u77ED\u6587\u672C",$e.controlIcon="varchar-column",$e.controlFieldType=g.VARCHAR,$e.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 wa extends G{constructor(e){super(e);this.props=new xi(e==null?void 0:e.props)}}wa.controlType="varchar-column",wa.controlFieldType=g.VARCHAR;var bc={Designer:$e,Runtime:wa,Property:xi};class sC extends me{constructor(e){super(e);De.call(this,e)}}class Oi extends V{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:Ve.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 Ce(e==null?void 0:e.linkOperationOption)}}Oi.Rules=sC;class Ve extends z{constructor(e){super(e);this.props=new Oi(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}}Ve.controlType="text-column",Ve.controlName="\u957F\u6587\u672C",Ve.controlIcon="text-column",Ve.controlFieldType=g.TEXT,Ve.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 Ia extends G{constructor(e){super(e);this.props=new Oi(e==null?void 0:e.props)}}Ia.controlType="text-column",Ia.controlFieldType=g.TEXT;var Cc={Designer:Ve,Runtime:Ia,Property:Oi};class dC extends me{constructor(e){super(e);De.call(this,e)}}class ki extends V{constructor(e){super(e);var n,u,a,r,l,o,s;this.caption=(n=e==null?void 0:e.caption)!=null?n:He.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 X(e==null?void 0:e.datasourceBind),this.options=ye((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption)}}ki.Rules=dC;class He extends z{constructor(e){super(e);this.props=new ki(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}}He.controlType="decimal-column",He.controlName="\u6570\u503C",He.controlIcon="decimal-column",He.controlFieldType=g.DECIMAL,He.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 Sa extends G{constructor(e){super(e);this.props=new ki(e==null?void 0:e.props)}}Sa.controlType="decimal-column",Sa.controlFieldType=g.DECIMAL;var Ec={Designer:He,Runtime:Sa,Property:ki};class fC extends me{constructor(e){super(e);De.call(this,e)}}class Mi extends V{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:je.controlName}}Mi.Rules=fC;class je extends z{constructor(e){super(e);this.props=new Mi(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}}je.controlType="timescope-column",je.controlName="\u65E5\u671F\u533A\u95F4",je.controlIcon="timescope-column",je.controlFieldType=g.TIMESCOPE,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Aa extends G{constructor(e){super(e);this.props=new Mi(e==null?void 0:e.props)}}Aa.controlType="timescope-column",Aa.controlFieldType=g.TIMESCOPE;var wc={Designer:je,Runtime:Aa,Property:Mi};class hC extends me{constructor(e){super(e);De.call(this,e)}}class Ni extends V{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:ge.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:qe.controlName}}Ni.Rules=hC;class qe extends z{constructor(e){super(e);this.props=new Ni(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}}qe.controlType="timestamp-column",qe.controlName="\u65E5\u671F",qe.controlIcon="timestamp-column",qe.controlFieldType=g.TIMESTAMP,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class _a extends G{constructor(e){super(e);this.props=new Ni(e==null?void 0:e.props)}}_a.controlType="timestamp-column",_a.controlFieldType=g.TIMESTAMP;var Ic={Designer:qe,Runtime:_a,Property:Ni};class yC extends Yr{constructor(e){super(e)}}class Li extends V{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=ye((a=e==null?void 0:e.options)!=null?a:[{}])}}Li.Rules=yC;class Ue extends z{constructor(e){super(e);this.props=new Li(e==null?void 0:e.props)}}Ue.controlType="array-column",Ue.controlName="\u6570\u7EC4",Ue.controlIcon="array-column",Ue.controlFieldType=g.ARRAY,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-options-setting",visible:!0},{key:"column-sort",visible:!0}];class Ra extends G{constructor(e){super(e);this.props=new Li(e==null?void 0:e.props)}}Ra.controlType="array-column",Ra.controlFieldType=g.ARRAY;var Sc={Designer:Ue,Runtime:Ra,Property:Li};class Ta extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1}}class We extends z{constructor(e){super(e);this.props=new Ta(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}}We.controlType="department-column",We.controlName="\u90E8\u95E8",We.controlIcon="department-column",We.controlFieldType=g.DEPARTMENTS,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Ba extends G{constructor(e){super(e);this.props=new Ta(e==null?void 0:e.props)}}Ba.controlType="department-column",Ba.controlFieldType=g.DEPARTMENTS;var Ac={Designer:We,Runtime:Ba,Property:Ta};class mC extends me{constructor(e){super(e);De.call(this,e)}}class $i extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption)}}$i.Rules=mC;class Ke extends z{constructor(e){super(e);this.props=new $i(e==null?void 0:e.props)}}Ke.controlType="auto-number-column",Ke.controlName="\u81EA\u52A8\u7F16\u53F7",Ke.controlIcon="auto-number-column",Ke.controlFieldType=g.AUTO_NUMBER,Ke.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 Pa extends G{constructor(e){super(e);this.props=new $i(e==null?void 0:e.props)}}Pa.controlType="auto-number-column",Pa.controlFieldType=g.AUTO_NUMBER;var _c={Designer:Ke,Runtime:Pa,Property:$i};class Da extends V{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName}}class ze extends z{constructor(e){super(e);this.props=new Da(e==null?void 0:e.props)}}ze.controlType="file-column",ze.controlName="\u9644\u4EF6",ze.controlIcon="file-column",ze.controlFieldType=g.FILE,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Fa extends G{constructor(e){super(e);this.props=new Da(e==null?void 0:e.props)}}Fa.controlType="file-column",Fa.controlFieldType=g.FILE;var Rc={Designer:ze,Runtime:Fa,Property:Da};class xa extends V{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName}}class Ge extends z{constructor(e){super(e);this.props=new xa(e==null?void 0:e.props)}}Ge.controlType="image-column",Ge.controlName="\u56FE\u7247",Ge.controlIcon="image-column",Ge.controlFieldType=g.IMAGE,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Oa extends G{constructor(e){super(e);this.props=new xa(e==null?void 0:e.props)}}Oa.controlType="image-column",Oa.controlFieldType=g.IMAGE;var Tc={Designer:Ge,Runtime:Oa,Property:xa};class ka extends V{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName}}class Xe extends z{constructor(e){super(e);this.props=new ka(e==null?void 0:e.props)}}Xe.controlType="people-column",Xe.controlName="\u4EBA\u5458",Xe.controlIcon="people-column",Xe.controlFieldType=g.EMPLOYEES,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ma extends G{constructor(e){super(e);this.props=new ka(e==null?void 0:e.props)}}Ma.controlType="people-column",Ma.controlFieldType=g.EMPLOYEES;var Bc={Designer:Xe,Runtime:Ma,Property:ka};class vC extends me{constructor(e){super(e);De.call(this,e)}}class Vi extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption)}}Vi.Rules=vC;class Qe extends z{constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}Qe.controlType="location-column",Qe.controlName="\u5730\u5740",Qe.controlIcon="location-column",Qe.controlFieldType=g.ADDRESS,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Na extends G{constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}Na.controlType="location-column",Na.controlFieldType=g.ADDRESS;var Pc={Designer:Qe,Runtime:Na,Property:Vi};class La extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Te.controlName,this.fieldCodeList=(u=e==null?void 0:e.fieldCodeList)!=null?u:[]}}const gC=1;class Te extends z{constructor(e){super(e);const{excludes:n,childrenMaxLength:u}=new.target;this.props=new La(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=be(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 mn(ve({},e),{children:this.children.map(n=>n.toSchema())})}}Te.controlType="custom-column",Te.controlName="\u81EA\u5B9A\u4E49",Te.controlIcon="custom-column",Te.excludes=[],Te.childrenMaxLength=gC,Te.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 Dc extends G{constructor(e){super(e);this.props=new La(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Dc.controlType="custom-column";var Fc={Designer:Te,Runtime:Dc,Property:La};class $a extends V{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.datasourceBind=new Cn((u=e==null?void 0:e.datasourceBind)!=null?u:{attributes:Be.controlCustomAttributes})}}class Be extends z{static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new $a(e==null?void 0:e.props)}}Be.controlType="employee-column",Be.controlName="\u4EBA\u5458",Be.controlIcon="employee-column",Be.controlFieldType=g.EMPLOYEES,Be.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 Va extends G{constructor(e){super(e);this.props=new $a(e==null?void 0:e.props)}}Va.controlType="employee-column",Va.controlFieldType=g.EMPLOYEES;var xc={Designer:Be,Runtime:Va,Property:$a};class Ha extends V{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new Ce(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class Je extends z{constructor(e){super(e);this.props=new Ha(e==null?void 0:e.props)}}Je.controlType="approval-status-column",Je.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Je.controlIcon="approval-status-column",Je.excludes=[],Je.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 Oc extends G{constructor(e){super(e);this.props=new Ha(e==null?void 0:e.props)}}Oc.controlType="approval-status-column";var kc={Designer:Je,Runtime:Oc,Property:Ha},bC=Object.freeze({__proto__:null,VarcharColumn:bc,TextColumn:Cc,DecimalColumn:Ec,TimescopeColumn:wc,TimestampColumn:Ic,ArrayColumn:Sc,DepartmentColumn:Ac,AutoNumberColumn:_c,FileColumn:Rc,ImageColumn:Tc,PeopleColumn:Bc,LocationColumn:Pc,CustomColumn:Fc,OrderColumn:yc,OperationColumn:mc,EmployeeColumn:xc,ApprovalStatusColumn:kc});class CC extends Pe{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Hi extends Vu{constructor(e){super(e);var n,u,a,r,l,o,s;this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ee((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Ee((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((o=e==null?void 0:e.custom)!=null?o:[]).map(d=>new Ee(d)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}Hi.RuntimeRules=CC;class ja extends Hg{constructor(e){super(e);this.props=new Hi(e==null?void 0:e.props)}}ja.controlType="simple-search",ja.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class Mc extends Xg{constructor(e){super(e);var n;this.props=new Hi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Mc.controlType="simple-search";var Nc={Designer:ja,Runtime:Mc,Property:Hi},EC=Object.freeze({__proto__:null,SimpleSearch:Nc});h.ActionBar=dc,h.Address=so,h.AdvancedContainer=oc,h.Amount=ro,h.ApprovalStatusColumn=kc,h.ArrayColumn=Sc,h.AssignType=_e,h.Attachment=no,h.AutoNumber=mo,h.AutoNumberColumn=_c,h.BatchDeleteButton=Ol,h.BatchPrintListButton=Dl,h.BatchPrintRecordListButton=Fl,h.BatchSubmissionListButton=ml,h.Button=nl,h.Calc=go,h.CardGroup=Go,h.Checkbox=Ll,h.Col=Uo,h.CreateFormListButton=yl,h.CustomColumn=Fc,h.DATE_CONFIG_TYPE=il,h.DATE_LIMIT_TYPE=ul,h.Dashboard=_l,h.DataView=rc,h.DatePicker=Ul,h.DateRange=Kl,h.DecimalColumn=Ec,h.Department=ho,h.Department2=$o,h.DepartmentColumn=Ac,h.DepartmentType=Wn,h.Divider=fl,h.ElectronicSignature=ko,h.ElectronicSignatureConfig=al,h.Employee=to,h.Employee2=xo,h.EmployeeColumn=xc,h.EncryptTypeEnum=sl,h.Explain=Un,h.ExportListButton=gl,h.ExportRecordListButton=bl,h.ExportTemplate=Xu,h.FileColumn=Rc,h.FlexStyleConfig=cl,h.FormSelectButton=El,h.Grid=qo,h.GridRow=zo,h.GridTable=gc,h.GridTableColumn=Yo,h.Image=uo,h.ImageColumn=Tc,h.ImportRecordListButton=Cl,h.Input=Ml,h.InternalType=Zu,h.InvoiceCheckButton=Pl,h.LINE_STYLE=zu,h.LimitDate=qn,h.Link=tl,h.ListSelectButton=wl,h.ListView=uc,h.ListViewSelect=Tl,h.LocationColumn=Pc,h.Number=jl,h.OperationButton=xl,h.OperationColumn=mc,h.OrderColumn=yc,h.OrganizationSelection=Ho,h.OrganizeType=Ju,h.Page=lc,h.Pagination=Sl,h.PeopleColumn=Bc,h.Position=sc,h.PositioningContainer=cc,h.PrintTemplate=ol,h.Radio=Vl,h.RichText=Ql,h.Row=Ko,h.SCORE_TYPE=Ku,h.SUBTABLE_DEFAULT_MAX_HEIGHT=ll,h.Score=oo,h.SearchDateRange=wo,h.SearchInput=Bo,h.SearchNumberRange=Co,h.Select=Zl,h.SelectMultiple=pl,h.SelectRelation=_o,h.SimpleSearch=Nc,h.SubTable=hc,h.SubTableColumn=Qo,h.SubTableRow=Jo,h.SubmissionRecordListButton=vl,h.Tab=ec,h.TabPane=po,h.Text=el,h.TextColumn=Cc,h.TextOcrButton=Bl,h.Textarea=Gl,h.TimescopeColumn=wc,h.TimestampColumn=Ic,h.Title=hl,h.TitleConfigEnum=Ae,h.Toolbox=ic,h.Tree=Do,h.UndersignedPerson=Gu,h.VarcharColumn=bc,h.VueFormItem=So,h.WPS=No,h.WPSSetting=rl,h.WpsOperationItem=Qu,h.baseControls=D0,h.columnControls=bC,h.formControls=Ab,h.initExpression=wt,h.layoutControls=nC,h.listControls=oC,h.searchControls=EC,Object.defineProperty(h,"__esModule",{value:!0})});
|