@byteluck-fe/model-driven-controls 7.0.0-props.117 → 7.0.0-props.118
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js
CHANGED
|
@@ -5,4 +5,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
5
5
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function y1(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
6
6
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wo(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){L(t,u,i[u])})}return t}function f1(t){return o1(t)||Io(t)||Ao(t)||h1()}function Fl(t){return c1(t)||Io(t)||Ao(t)||y1()}function Bo(t,e){var i,n,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),c=Object.defineProperty;return c(r,"next",{value:s(0)}),c(r,"throw",{value:s(1)}),c(r,"return",{value:s(2)}),typeof Symbol=="function"&&c(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,n=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function v1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ao(t,e){if(!!t){if(typeof t=="string")return Tl(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Tl(t,e)}}var O=function(){function e(i){var n=this;s1(this,e);var u,l,r,c;L(this,"id",void 0),L(this,"name",void 0),L(this,"icon",void 0),L(this,"type",void 0),L(this,"controlType",void 0),L(this,"props",void 0),L(this,"setting",[]),L(this,"fieldType",void 0),L(this,"eventKeys",[]),L(this,"customEvents",[]),L(this,"parent",null),L(this,"slots",void 0),L(this,"slotPosition",void 0),L(this,"updateSetting",Fo),L(this,"removeSetting",To),this._callControlHooks("preInstance",i);var s=Do(this,e)?this.constructor:void 0,h=s.controlName,d=s.controlIcon,f=s.controlType,g=s.controlFieldType,E=s.controlEventKeys,_=s.controlCustomEvents,b=s.name,I=s.setting,m=s.slots,D=s.slotPosition;h&&d&&f||$r("The ".concat(b," controlName,controlIcon,controlType is not define")),this.id=(u=i==null?void 0:i.id)!==null&&u!==void 0?u:oe(10),this.name=h,this.icon=d,this.type=(l=i==null?void 0:i.type)!==null&&l!==void 0?l:f,this.props=new j(i==null?void 0:i.props,(Do(this,e)?this.constructor:void 0).controlName),this.controlType=(r=i==null?void 0:i.controlType)!==null&&r!==void 0?r:"base",this.setting=ce(I),this.fieldType=(c=i==null?void 0:i.fieldType)!==null&&c!==void 0?c:g,this.eventKeys=ce(E),this.customEvents=ce(_),this.slots=ce(m),this.slotPosition=ce(D),Promise.resolve().then(function(){n._callControlHooks("postInstance",i)})}return d1(e,[{key:"rules",get:function(){var n=this.props.constructor.Rules;return n?new n(this.props):{}}},{key:"_callControlHooks",value:function(){for(var n=arguments.length,u=new Array(n),l=0;l<n;l++)u[l]=arguments[l];var r,c=f1(u),s=c[0],h=c.slice(1);return(r=r1).emit.apply(r,[s,this].concat(Fl(h)))}},{key:"preUpdate",value:function(n,u){this._callControlHooks("preUpdateProps",n,u)}},{key:"postUpdate",value:function(n,u){this._callControlHooks("postUpdateProps",n,u)}},{key:"updateProps",value:function(n,u){this.preUpdate(n,u),dE(this.props,n,u),this.postUpdate(n,u)}},{key:"preValidate",value:function(){return Eo(function(){var n,u,l;return Bo(this,function(r){switch(r.label){case 0:return n=wo({},this.rules),[4,this._callControlHooks("preValidate",n)];case 1:return u=r.sent(),l=u[u.length-1],[2,l===!1?void 0:l]}})}).call(this)}},{key:"validate",value:function(n,u){return Eo(function(){var l,r,c,s;return Bo(this,function(h){switch(h.label){case 0:return[4,this.preValidate()];case 1:l=h.sent(),r=l!==void 0?l:wo({},this.rules),Array.isArray(u)&&u.forEach(function(d){r.hasOwnProperty(d)&&delete r[d]}),c=a1(r,n),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,c.validate(this.props)];case 3:return h.sent(),[2,!0];case 4:throw s=h.sent(),s.control||(s.control=this),s;case 5:return[2]}})}).call(this)}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,l=this.id,r=this.type,c=this.props,s=c.dataBind,h=c.datasourceBind,d=c.optionConfig,f=c.caption,g=c.required,E=c.maxLength,_=c.options,b=c.encrypted,I=c.encryptedMode;if(!(!u&&!s&&!h)){var m={parentId:n,fieldType:u,controlId:l,caption:f,type:r,props:{}};switch(s&&(m.dataBind=s),d){case"datasource":case void 0:h&&(m.datasourceBind=h);break;case"custom":m.props.options=_;break}return g!==void 0&&(m.required=g),E!==void 0&&(m.maxLength=E),b!==void 0&&(m.encrypted=b),I!==void 0&&(m.encryptedMode=I),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,u){if(n==="setting"){if(u.add){var l;(l=this.setting).push.apply(l,Fl(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();L(O,"mode","Designer"),L(O,"slots",void 0),L(O,"slotPosition",void 0),L(O,"controlName",a("CMD.7baf1751712168384")),L(O,"controlIcon","icon"),L(O,"controlType","control"),L(O,"controlFieldType",void 0),L(O,"controlEventKeys",[]),L(O,"controlCustomEvents",[]),L(O,"setting",[]),L(O,"__is_control__",!0),L(O,"removeSettingItem",To),L(O,"updateSettingItem",Fo);function To(t){var e=this,i=Array.isArray(t)?t:[t];i.forEach(function(n){var u,l=typeof n!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(h){return h.key===(l?n.key:n)});if(r!==-1){var c,s;l?e.setting[r].showItems=(c=e.setting[r].showItems)===null||c===void 0?void 0:c.filter(function(h){return!n.hideItems.includes(h)}):e.setting.splice(r,1),l&&!(!((s=e.setting[r].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(r,1)}})}function Fo(t,e){var i=this,n=typeof t=="string"?[t]:t;n.forEach(function(u){var l=i.setting.find(function(h){return h.key===u});if(l){if(typeof e=="boolean")l.visible=e;else if((typeof e=="undefined"?"undefined":v1(e))==="object"){var r,c=(r=e.type)!==null&&r!==void 0?r:"replace";if(c==="replace")l.showItems=e.showItems;else{var s;(s=l.showItems).push.apply(s,Fl(e.showItems))}}}})}function m1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function So(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function g1(t,e,i){return e&&So(t.prototype,e),i&&So(t,i),t}function ne(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function b1(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var q=function(){function e(i){m1(this,e);var n,u,l,r,c;ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var s=b1(this,e)?this.constructor:void 0,h=s.controlType,d=s.controlFieldType,f=s.name,g=s.controlCustomEvents;h||$r("The ".concat(f," controlType is not define")),this.id=(n=i==null?void 0:i.id)!==null&&n!==void 0?n:oe(10),this.type=(u=i==null?void 0:i.type)!==null&&u!==void 0?u:h,this.props=new j(i==null?void 0:i.props),this.customEvents=g,this.controlType=(l=i==null?void 0:i.controlType)!==null&&l!==void 0?l:"base",this.fieldType=(r=i==null?void 0:i.fieldType)!==null&&r!==void 0?r:d,this.pageStatus=(c=i==null?void 0:i.pageStatus)!==null&&c!==void 0?c:r_.UNKNOWN}return g1(e,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var u=new n(this.props);return Array.from(u)}return[]}}]),e}();ne(q,"mode","Runtime"),ne(q,"controlType","control"),ne(q,"controlFieldType",void 0),ne(q,"__is_control__",!0),ne(q,"controlCustomEvents",[]);function Sl(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:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:a("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:a("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(i,n,u){n.length===0&&u(a("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(i,n,u){var l=n.map(function(c){return c.value}),r=gE(l);l.length!==r.length?u(a("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:a("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:a("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(i,n,u){n.length===0&&u(a("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:a("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:a("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function ln(t,e){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a(i?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,a(i?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:a(i?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,a(i?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:a(i?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,a(i?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,l,r){l.length===0&&r(a(i?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,a(i?"CMD.6a071751712131459":"CMD.52351751712149286"))),r()},message:a(i?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,a(i?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:a("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function C1(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function E1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function an(t,e,i){return e=on(e),_1(t,Po()?Reflect.construct(e,i||[],on(t).constructor):e.apply(t,i))}function rn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function H(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function on(t){return on=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},on(t)}function cn(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&&Pl(t,e)}function Po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Po=function(){return!!t})()}function _1(t,e){return e&&(D1(e)==="object"||typeof e=="function")?e:E1(t)}function Pl(t,e){return Pl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Pl(t,e)}function D1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var z=function(t){cn(e,t);function e(i){rn(this,e);var n;n=an(this,e,[i]),H(n,"dataBind",{}),H(n,"caption",{type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),H(n,"isHideCaption",{type:"boolean"}),H(n,"labelPosition",{type:"enum",enum:["top","left"]}),H(n,"defaultState",{type:"enum",enum:["default","readonly"]}),H(n,"required",{type:"boolean"}),H(n,"captionTip",{type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(C1(i.dataBind))n.dataBind={type:"object",required:!0,fields:ce(u),message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var l={type:"object",required:!0,fields:{},message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(i.dataBind).forEach(function(r){l.fields[r]={type:"object",required:!0,fields:ce(u),message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),n.dataBind=l}return i.isShowCaptionTip&&(n.captionTip.required=!0),n}return e}(U),x=function(t){cn(e,t);function e(i){rn(this,e);var n;n=an(this,e,[i]);var u=i.isHide?!1:i.required;return u&&n.push({type:"string",required:u,message:i.requiredMessage!==""?i.requiredMessage:a("CMD.runtimeRequired",{caption:i.caption},"{caption}\u5FC5\u586B")}),n}return e}(Ne),A=function(t){cn(e,t);function e(i){rn(this,e);var n,u,l,r,c,s,h,d,f,g,E,_,b,I,m,D;return n=an(this,e,[i]),H(n,"caption",void 0),H(n,"captionSize",void 0),H(n,"captionColor",void 0),H(n,"isCaptionItalic",void 0),H(n,"captionFontWeight",void 0),H(n,"className",void 0),H(n,"isHideCaption",void 0),H(n,"isShowCaptionTip",void 0),H(n,"captionTip",void 0),H(n,"labelPosition",void 0),H(n,"dataBind",void 0),H(n,"defaultValue",void 0),H(n,"placeholder",void 0),H(n,"defaultState",void 0),H(n,"required",void 0),H(n,"requiredMessage",void 0),n.caption=(u=i==null?void 0:i.caption)!==null&&u!==void 0?u:"",n.captionSize=(l=i==null?void 0:i.captionSize)!==null&&l!==void 0?l:"",n.captionColor=(r=i==null?void 0:i.captionColor)!==null&&r!==void 0?r:"",n.isCaptionItalic=(c=i==null?void 0:i.isCaptionItalic)!==null&&c!==void 0?c:!1,n.captionFontWeight=(s=i==null?void 0:i.captionFontWeight)!==null&&s!==void 0?s:"normal",n.className=(h=i==null?void 0:i.className)!==null&&h!==void 0?h:[],n.isHideCaption=(d=i==null?void 0:i.isHideCaption)!==null&&d!==void 0?d:!1,n.isShowCaptionTip=(f=i==null?void 0:i.isShowCaptionTip)!==null&&f!==void 0?f:!1,n.captionTip=(g=i==null?void 0:i.captionTip)!==null&&g!==void 0?g:"",n.defaultState=(E=i==null?void 0:i.defaultState)!==null&&E!==void 0?E:"default",n.labelPosition=(_=i==null?void 0:i.labelPosition)!==null&&_!==void 0?_:"top",n.placeholder=(b=i==null?void 0:i.placeholder)!==null&&b!==void 0?b:"",n.required=(I=i==null?void 0:i.required)!==null&&I!==void 0?I:!1,n.requiredMessage=(m=i==null?void 0:i.requiredMessage)!==null&&m!==void 0?m:"",n.dataBind=new ye(i==null?void 0:i.dataBind),n.defaultValue=(D=i==null?void 0:i.defaultValue)!==null&&D!==void 0?D:"",n}return e}(j);H(A,"Rules",z),H(A,"RuntimeRules",x);var Le=function(t){cn(e,t);function e(i){rn(this,e);var n;return n=an(this,e,[i]),H(n,"optionConfig",{type:"enum",enum:["custom","datasource"],message:a("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),H(n,"options",[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),H(n,"datasourceBind",[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Sl.call(n,i),n}return e}(z);function I1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w1(t,e,i){return e=dn(e),T1(t,Oo()?Reflect.construct(e,i||[],dn(t).constructor):e.apply(t,i))}function B1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function dn(t){return dn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},dn(t)}function A1(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&&Ol(t,e)}function Oo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Oo=function(){return!!t})()}function T1(t,e){return e&&(F1(e)==="object"||typeof e=="function")?e:I1(t)}function Ol(t,e){return Ol=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ol(t,e)}function F1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var T=function(t){A1(e,t);function e(i){B1(this,e);var n;return n=w1(this,e,[i]),sn(n,"controlType","form"),sn(n,"props",void 0),n.props=new A(i==null?void 0:i.props),n}return e}(O);sn(T,"controlEventKeys",["on_change","on_focus","on_blur"]),sn(T,"controlCustomAttributes",void 0);function S1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P1(t,e,i){return e=hn(e),R1(t,ko()?Reflect.construct(e,i||[],hn(t).constructor):e.apply(t,i))}function O1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function hn(t){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},hn(t)}function k1(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&&Rl(t,e)}function ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ko=function(){return!!t})()}function R1(t,e){return e&&(M1(e)==="object"||typeof e=="function")?e:S1(t)}function Rl(t,e){return Rl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Rl(t,e)}function M1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var F=function(t){k1(e,t);function e(i){O1(this,e);var n;return n=P1(this,e,[i]),kl(n,"controlType","form"),kl(n,"props",void 0),kl(n,"value",void 0),n.props=new A(i==null?void 0:i.props),n}return e}(q);function x1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function N1(t,e,i){return e=yn(e),H1(t,Ro()?Reflect.construct(e,i||[],yn(t).constructor):e.apply(t,i))}function L1(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(i){return i.__proto__||Object.getPrototypeOf(i)},yn(t)}function $1(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&&Ml(t,e)}function Ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ro=function(){return!!t})()}function H1(t,e){return e&&(V1(e)==="object"||typeof e=="function")?e:x1(t)}function Ml(t,e){return Ml=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ml(t,e)}function V1(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var k=function(t){$1(e,t);function e(i){return L1(this,e),N1(this,e,[i])}return e}(j);function xl(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function j1(t){if(Array.isArray(t))return xl(t)}function q1(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mo(t,e,i,n,u,l,r){try{var c=t[l](r),s=c.value}catch(h){i(h);return}c.done?e(s):Promise.resolve(s).then(n,u)}function W1(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var l=t.apply(e,i);function r(s){Mo(l,n,u,r,c,"next",s)}function c(s){Mo(l,n,u,r,c,"throw",s)}r(void 0)})}}function U1(t,e,i){return e=Fe(e),e6(t,No()?Reflect.construct(e,i||[],Fe(t).constructor):e.apply(t,i))}function z1(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function G1(t,e,i){return e&&xo(t.prototype,e),i&&xo(t,i),t}function Te(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function ct(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,l,r){var c=t6(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(r||u):s.value}},ct(t,e,i||t)}function Fe(t){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Fe(t)}function K1(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&&Nl(t,e)}function Q1(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function No(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(No=function(){return!!t})()}function Z1(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function X1(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
7
7
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function J1(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){Te(t,u,i[u])})}return t}function Y1(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function p1(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Y1(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function e6(t,e){return e&&(n6(e)==="object"||typeof e=="function")?e:q1(t)}function Nl(t,e){return Nl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Nl(t,e)}function t6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Fe(t),t!==null););return t}function Lo(t){return j1(t)||Z1(t)||u6(t)||X1()}function i6(t,e){var i,n,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),c=Object.defineProperty;return c(r,"next",{value:s(0)}),c(r,"throw",{value:s(1)}),c(r,"return",{value:s(2)}),typeof Symbol=="function"&&c(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,n=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function n6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u6(t,e){if(!!t){if(typeof t=="string")return xl(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return xl(t,e)}}var l6=1e4,N=function(e){K1(i,e);function i(n){z1(this,i);var u;u=U1(this,i,[n]),Te(u,"controlType","layout"),Te(u,"children",void 0),Te(u,"excludes",void 0),Te(u,"childrenMaxLength",void 0),Te(u,"props",void 0);var l=Q1(this,i)?this.constructor:void 0,r=l.excludes,c=l.childrenMaxLength;return u.props=new k(n==null?void 0:n.props),se(u,"children",n==null?void 0:n.children,void 0,"Designer"),u.excludes=ce(r),u.childrenMaxLength=c,u}return G1(i,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var l=this.judgeExcludesChildren(u);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,l){var r=this,c=this,s=function(){return ct(Fe(i.prototype),"validate",r)};return W1(function(){return i6(this,function(h){switch(h.label){case 0:return[4,s().call(c,u,l)];case 1:return h.sent(),[4,Promise.all(this.children.map(function(d){return d.validate(u,l)}))];case 2:return h.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=ct(Fe(i.prototype),"toDataBindModel",this).call(this),r=l?[l]:[];return this.children.reduce(function(c,s){var h=s.toDataBindModel(u);if(Array.isArray(h)){var d=h.filter(function(f){return!!f});return Lo(c).concat(Lo(d))}return h&&c.push(h),c},r)}},{key:"toSchema",value:function(){var u=ct(Fe(i.prototype),"toSchema",this).call(this),l=this.children.map(function(r){var c=r.toSchema();return c});return p1(J1({},u),{children:l})}}]),i}(O);Te(N,"excludes",!1),Te(N,"childrenMaxLength",l6);function a6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r6(t,e,i){return e=fn(e),s6(t,$o()?Reflect.construct(e,i||[],fn(t).constructor):e.apply(t,i))}function o6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ll(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function fn(t){return fn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},fn(t)}function c6(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&&$l(t,e)}function $o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($o=function(){return!!t})()}function s6(t,e){return e&&(d6(e)==="object"||typeof e=="function")?e:a6(t)}function $l(t,e){return $l=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},$l(t,e)}function d6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var $=function(t){c6(e,t);function e(i){o6(this,e);var n;return n=r6(this,e,[i]),Ll(n,"controlType","layout"),Ll(n,"children",void 0),Ll(n,"props",void 0),n.props=new k(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return e}(q);function h6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y6(t,e,i){return e=vn(e),m6(t,Ho()?Reflect.construct(e,i||[],vn(t).constructor):e.apply(t,i))}function f6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function st(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},vn(t)}function v6(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&&Hl(t,e)}function Ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ho=function(){return!!t})()}function m6(t,e){return e&&(g6(e)==="object"||typeof e=="function")?e:h6(t)}function Hl(t,e){return Hl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Hl(t,e)}function g6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var mn=function(t){v6(e,t);function e(i,n,u){f6(this,e);var l,r,c,s,h;return l=y6(this,e,[n]),st(l,"headers",void 0),st(l,"footers",void 0),st(l,"pageIndex",void 0),st(l,"pageSize",void 0),st(l,"pageSizeOptions",void 0),st(l,"totalCount",void 0),se(l,"headers",n==null?void 0:n.headers,i,u),se(l,"footers",n==null?void 0:n.footers,i),l.pageIndex=(r=n==null?void 0:n.pageIndex)!==null&&r!==void 0?r:1,l.pageSize=(c=n==null?void 0:n.pageSize)!==null&&c!==void 0?c:20,l.pageSizeOptions=(s=n==null?void 0:n.pageSizeOptions)!==null&&s!==void 0?s:[20],l.totalCount=(h=n==null?void 0:n.totalCount)!==null&&h!==void 0?h:0,l}return e}(j);function Vl(t,e){(e==null||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function b6(t){if(Array.isArray(t))return Vl(t)}function C6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vo(t,e,i,n,u,l,r){try{var c=t[l](r),s=c.value}catch(h){i(h);return}c.done?e(s):Promise.resolve(s).then(n,u)}function E6(t){return function(){var e=this,i=arguments;return new Promise(function(n,u){var l=t.apply(e,i);function r(s){Vo(l,n,u,r,c,"next",s)}function c(s){Vo(l,n,u,r,c,"throw",s)}r(void 0)})}}function _6(t,e,i){return e=Se(e),F6(t,qo()?Reflect.construct(e,i||[],Se(t).constructor):e.apply(t,i))}function D6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function I6(t,e,i){return e&&jo(t.prototype,e),i&&jo(t,i),t}function gn(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function dt(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?dt=Reflect.get:dt=function(u,l,r){var c=S6(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(r||u):s.value}},dt(t,e,i||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Se(t)}function w6(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&&jl(t,e)}function qo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qo=function(){return!!t})()}function B6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function A6(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
8
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wo(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){gn(t,u,i[u])})}return t}function T6(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function Uo(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):T6(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function F6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:C6(t)}function jl(t,e){return jl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},jl(t,e)}function S6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function zo(t){return b6(t)||B6(t)||k6(t)||A6()}function P6(t,e){var i,n,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),c=Object.defineProperty;return c(r,"next",{value:s(0)}),c(r,"throw",{value:s(1)}),c(r,"return",{value:s(2)}),typeof Symbol=="function"&&c(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,n=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function O6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function k6(t,e){if(!!t){if(typeof t=="string")return Vl(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Vl(t,e)}}var ql=function(t){w6(e,t);function e(i){D6(this,e);var n;return n=_6(this,e,[i]),gn(n,"controlType","list"),gn(n,"props",void 0),n.props=new mn(n,i==null?void 0:i.props,"Designer"),n}return I6(e,[{key:"validate",value:function(n,u){var l=this,r=this,c=function(){return dt(Se(e.prototype),"validate",l)};return E6(function(){return P6(this,function(s){switch(s.label){case 0:return[4,c().call(r,n)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(n,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var n=dt(Se(e.prototype),"toDataBindModel",this).call(this),u=n?[n]:[],l=this.id;return this.props.headers.reduce(function(r,c){var s=c.toDataBindModel(l);if(Array.isArray(s)){var h=s.filter(function(d){return!!d});return zo(r).concat(zo(h))}return s&&r.push(s),r},u)}},{key:"toSchema",value:function(){var n=dt(Se(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return Uo(Wo({},n),{props:Uo(Wo({},this.props),{headers:u})})}}]),e}(O);gn(ql,"controlFieldType",C.LIST);function R6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M6(t,e,i){return e=bn(e),$6(t,Ko()?Reflect.construct(e,i||[],bn(t).constructor):e.apply(t,i))}function x6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Go(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function N6(t,e,i){return e&&Go(t.prototype,e),i&&Go(t,i),t}function Wl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},bn(t)}function L6(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&&Ul(t,e)}function Ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ko=function(){return!!t})()}function $6(t,e){return e&&(H6(e)==="object"||typeof e=="function")?e:R6(t)}function Ul(t,e){return Ul=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ul(t,e)}function H6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var Qo=function(t){L6(e,t);function e(i){x6(this,e);var n;return n=M6(this,e,[i]),Wl(n,"controlType","list"),Wl(n,"children",void 0),Wl(n,"props",void 0),n.props=new mn(n,i==null?void 0:i.props,"Runtime"),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return N6(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function V6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zl(t,e,i){return e=Cn(e),j6(t,Zo()?Reflect.construct(e,i||[],Cn(t).constructor):e.apply(t,i))}function Gl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Cn(t)}function Kl(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&&Ql(t,e)}function Zo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zo=function(){return!!t})()}function j6(t,e){return e&&(q6(e)==="object"||typeof e=="function")?e:V6(t)}function Ql(t,e){return Ql=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ql(t,e)}function q6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var be=function(t){Kl(e,t);function e(i){Gl(this,e);var n;return n=zl(this,e,[i]),Y(n,"caption",{type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Y(n,"width",{type:"number",required:!1,message:a("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),n.width.required=i.widthType==="px",n}return e}(U),G=function(t){Kl(e,t);function e(i){Gl(this,e);var n,u,l,r,c,s;return n=zl(this,e,[i]),Y(n,"widthType",void 0),Y(n,"width",void 0),Y(n,"caption",void 0),Y(n,"dataBind",void 0),Y(n,"autoWidth",void 0),Y(n,"fixed",void 0),Y(n,"sort",void 0),Y(n,"align",void 0),Y(n,"colSpan",void 0),Y(n,"autoHeight",void 0),Y(n,"children",void 0),n.width=(u=i==null?void 0:i.width)!==null&&u!==void 0?u:150,n.widthType=(i==null?void 0:i.widthType)||"auto",n.caption=(l=i==null?void 0:i.caption)!==null&&l!==void 0?l:"",n.fixed=(r=i==null?void 0:i.fixed)!==null&&r!==void 0?r:"none",n.autoWidth=new eo(i==null?void 0:i.autoWidth),n.dataBind=new ye(i==null?void 0:i.dataBind),n.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,n.align=i==null?void 0:i.align,n.colSpan=i==null?void 0:i.colSpan,n.autoHeight=(s=i==null?void 0:i.autoHeight)!==null&&s!==void 0?s:!1,n}return e}(j);Y(G,"Rules",be);var Zl=function(t){Kl(e,t);function e(i){Gl(this,e);var n;return n=zl(this,e,[i]),Y(n,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:a("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Y(n,"options",[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Y(n,"datasourceBind",[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Sl.call(n,i),n}return e}(be);function W6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U6(t,e,i){return e=ht(e),J6(t,Jo()?Reflect.construct(e,i||[],ht(t).constructor):e.apply(t,i))}function z6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function G6(t,e,i){return e&&Xo(t.prototype,e),i&&Xo(t,i),t}function En(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function _n(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?_n=Reflect.get:_n=function(u,l,r){var c=Y6(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(r||u):s.value}},_n(t,e,i||t)}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},ht(t)}function K6(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&&Xl(t,e)}function Jo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jo=function(){return!!t})()}function Q6(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){En(t,u,i[u])})}return t}function Z6(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function X6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Z6(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function J6(t,e){return e&&(p6(e)==="object"||typeof e=="function")?e:W6(t)}function Xl(t,e){return Xl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Xl(t,e)}function Y6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ht(t),t!==null););return t}function p6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var X=function(t){K6(e,t);function e(i){z6(this,e);var n;return n=U6(this,e,[i]),En(n,"controlType","column"),En(n,"props",void 0),En(n,"children",void 0),n.props=new G(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Designer"),n}return G6(e,[{key:"toSchema",value:function(){var n=_n(ht(e.prototype),"toSchema",this).call(this);return X6(Q6({},n),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(O);function eD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tD(t,e,i){return e=Dn(e),uD(t,Yo()?Reflect.construct(e,i||[],Dn(t).constructor):e.apply(t,i))}function iD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Dn(t)}function nD(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&&Yl(t,e)}function Yo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yo=function(){return!!t})()}function uD(t,e){return e&&(lD(e)==="object"||typeof e=="function")?e:eD(t)}function Yl(t,e){return Yl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Yl(t,e)}function lD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var J=function(t){nD(e,t);function e(i){iD(this,e);var n;return n=tD(this,e,[i]),Jl(n,"controlType","column"),Jl(n,"props",void 0),Jl(n,"children",void 0),n.props=new G(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return e}(q);function aD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rD(t,e,i){return e=In(e),dD(t,po()?Reflect.construct(e,i||[],In(t).constructor):e.apply(t,i))}function oD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cD(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},In(t)}function sD(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&&pl(t,e)}function po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(po=function(){return!!t})()}function dD(t,e){return e&&(hD(e)==="object"||typeof e=="function")?e:aD(t)}function pl(t,e){return pl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},pl(t,e)}function hD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var ea=function(t){sD(e,t);function e(i){oD(this,e);var n;return n=rD(this,e,[i]),cD(n,"dataBind",void 0),n.dataBind=new ye(i==null?void 0:i.dataBind),n}return e}(k);function yD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fD(t,e,i){return e=wn(e),gD(t,tc()?Reflect.construct(e,i||[],wn(t).constructor):e.apply(t,i))}function vD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ec(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},wn(t)}function mD(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 tc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tc=function(){return!!t})()}function gD(t,e){return e&&(bD(e)==="object"||typeof e=="function")?e:yD(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ta(t,e)}function bD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var CD=function(t){mD(e,t);function e(i){vD(this,e);var n;return n=fD(this,e,[i]),ec(n,"controlType","search"),ec(n,"props",void 0),n.props=new ea(i==null?void 0:i.props),n}return e}(N);function ED(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _D(t,e,i){return e=Bn(e),wD(t,nc()?Reflect.construct(e,i||[],Bn(t).constructor):e.apply(t,i))}function DD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ic(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Bn(t)}function ID(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function nc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nc=function(){return!!t})()}function wD(t,e){return e&&(BD(e)==="object"||typeof e=="function")?e:ED(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ia(t,e)}function BD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var AD=function(t){ID(e,t);function e(i){DD(this,e);var n;return n=_D(this,e,[i]),ic(n,"controlType","search"),ic(n,"props",void 0),n.props=new ea(i==null?void 0:i.props),n}return e}($);function TD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FD(t,e,i){return e=An(e),OD(t,uc()?Reflect.construct(e,i||[],An(t).constructor):e.apply(t,i))}function SD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},An(t)}function PD(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 uc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uc=function(){return!!t})()}function OD(t,e){return e&&(kD(e)==="object"||typeof e=="function")?e:TD(t)}function na(t,e){return na=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},na(t,e)}function kD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var ua=function(t){PD(e,t);function e(i){return SD(this,e),FD(this,e,[i])}return e}(k);function RD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MD(t,e,i){return e=Tn(e),LD(t,ac()?Reflect.construct(e,i||[],Tn(t).constructor):e.apply(t,i))}function xD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lc(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Tn(t)}function ND(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&la(t,e)}function ac(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ac=function(){return!!t})()}function LD(t,e){return e&&($D(e)==="object"||typeof e=="function")?e:RD(t)}function la(t,e){return la=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},la(t,e)}function $D(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var HD=function(t){ND(e,t);function e(i){xD(this,e);var n;return n=MD(this,e,[i]),lc(n,"controlType","wrap"),lc(n,"props",void 0),n.props=new ua(i==null?void 0:i.props),n}return e}(N);function VD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jD(t,e,i){return e=Fn(e),UD(t,oc()?Reflect.construct(e,i||[],Fn(t).constructor):e.apply(t,i))}function qD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rc(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Fn(t)}function WD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function oc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oc=function(){return!!t})()}function UD(t,e){return e&&(zD(e)==="object"||typeof e=="function")?e:VD(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},aa(t,e)}function zD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var GD=function(t){WD(e,t);function e(i){qD(this,e);var n;return n=jD(this,e,[i]),rc(n,"controlType","wrap"),rc(n,"props",void 0),n.props=new ua(i==null?void 0:i.props),n}return e}($);function Pe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}var Oe=(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))(Oe||{}),cc=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(cc||{}),sc=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(sc||{});class Sn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}class ra{constructor(e){var i,n,u;this.id=(i=e==null?void 0:e.id)!=null?i:oe(8),this.limitType=(n=e==null?void 0:e.limitType)!=null?n:"hour",this.value=(u=e==null?void 0:e.value)!=null?u:[]}}var oa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(oa||{});class Pn{constructor(e){var i,n,u;this.id=(i=e==null?void 0:e.id)!=null?i:oe(),this.text=(n=e==null?void 0:e.text)!=null?n:"",this.color=(u=e==null?void 0:e.color)!=null?u:""}}var ca=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(ca||{}),ke=(t=>(t.NORMAL="normal",t.BOLD="bold",t.LIGHTER="lighter",t))(ke||{});class sa{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m,D,R;this.type=(i=e==null?void 0:e.type)!=null?i:"private",this.person=new we((n=e==null?void 0:e.person)!=null?n:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new we((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new we((c=e==null?void 0:e.company)!=null?c:{type:"form"}),this.indexSignature=(d=e==null?void 0:e.indexSignature)!=null?d:new we((h=e==null?void 0:e.indexSignature)!=null?h:{type:"form"}),this.signaturePosition=(f=e==null?void 0:e.signaturePosition)!=null?f:"free",this.seal=new we((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(E=e==null?void 0:e.platformAutoSign)!=null?E:!1,this.signDateBeanType=(_=e==null?void 0:e.signDateBeanType)!=null?_:0,this.signDateFontSize=(b=e==null?void 0:e.signDateFontSize)!=null?b:12,this.signOrder=(I=e==null?void 0:e.signOrder)!=null?I:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(m=e==null?void 0:e.posX)!=null?m:0,this.posY=(D=e==null?void 0:e.posY)!=null?D:0,this.remark=(R=e==null?void 0:e.remark)!=null?R:""}}class dc{constructor(e){var i,n,u,l,r,c;this.fileControl=(i=e==null?void 0:e.fileControl)!=null?i:"",this.undersignedList=(u=(n=e==null?void 0:e.undersignedList)==null?void 0:n.map(s=>new sa(s)))!=null?u:[new sa],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(c=e==null?void 0:e.completeTimeControl)!=null?c:""}}class Wt{constructor(e){var i,n,u,l,r,c,s;this.id=(i=e==null?void 0:e.id)!=null?i:oe(8),this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(c=e==null?void 0:e.fieldList)!=null?c:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class da{constructor(e){var i,n;this.active=(i=e==null?void 0:e.active)!=null?i:!1,this.text=(n=e==null?void 0:e.text)!=null?n:""}}class hc{constructor(e){var i,n,u,l;this.types=(i=e==null?void 0:e.types)!=null?i:["word","ppt","excel"],this.history=(n=e==null?void 0:e.history)!=null?n:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(l=e==null?void 0:e.logicToDelete)!=null?l:!0,this.watermark=new da(e==null?void 0:e.watermark),this.autoRename=new da(e==null?void 0:e.autoRename)}}class ha{constructor(e){var i,n,u,l,r,c,s;this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(r=e==null?void 0:e.filters)!=null?r:[],this.isRelation=(c=e==null?void 0:e.isRelation)!=null?c:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class ya{constructor(e){var i,n;this.type=(i=e==null?void 0:e.type)!=null?i:"auto",this.row=(n=e==null?void 0:e.row)!=null?n:20,this.height=e==null?void 0:e.height}}class yc{constructor(e){this.dataCode=e.dataCode}}class fc{constructor(e){var i,n,u;this.templateType=(i=e==null?void 0:e.templateType)!=null?i:"system",this.templateList=(u=(n=e==null?void 0:e.templateList)==null?void 0:n.map(l=>new yc(l)))!=null?u:[]}}class vc{constructor(e){var i,n,u;this.templateType=(i=e==null?void 0:e.templateType)!=null?i:"system",this.templateList=(u=(n=e==null?void 0:e.templateList)==null?void 0:n.map(l=>new Wt(l)))!=null?u:[new Wt({id:"default",name:a("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const mc=480;function Ut(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class gc{constructor(e){var i,n,u,l,r;this.fileId=(i=e==null?void 0:e.fileId)!=null?i:"",this.fileName=(n=e==null?void 0:e.fileName)!=null?n:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(l=e.isDefault)!=null?l:!1,this.rules=(r=e.rules)!=null?r:[]}}class bc{constructor(e){var i,n,u;this.direction=(i=e==null?void 0:e.direction)!=null?i:"row",this.justifyContent=(n=e==null?void 0:e.justifyContent)!=null?n:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var Cc=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Cc||{}),fa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(fa||{}),On=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(On||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),va=(t=>(t.ALL="all",t.ADMIN="admin",t))(va||{}),ma=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(ma||{});class ga extends j{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(i=e==null?void 0:e.captionFontWeight)!=null?i:ke.NORMAL,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(u=e==null?void 0:e.showState)!=null?u:"text",this.content=(l=e==null?void 0:e.content)!=null?l:a("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(r=e==null?void 0:e.align)!=null?r:"",this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1,this.isLabel=(s=e==null?void 0:e.isLabel)!=null?s:!1,this.background=(h=e==null?void 0:e.background)!=null?h:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.close=(d=e==null?void 0:e.close)!=null?d:{show:!1,text:a("CMD.closeText",null,"\u5173\u95ED")}}}class Ec extends O{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlName(){return a("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Ec.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"close-setting",visible:!0},{key:"dynamic-background",visible:!0},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.54641777541642981"),default:"left",options:[{value:"left",label:a("CMD.79471774579023855")},{value:"center",label:a("CMD.3c361774579037653")},{value:"right",label:a("CMD.9e811774579025727")}]},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class KD extends q{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"text"}}var _c={Designer:Ec,Runtime:KD,Property:ga};class ba extends j{constructor(e){var i,n,u,l,r,c;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.position=(n=e==null?void 0:e.position)!=null?n:"left",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.url=(l=e==null?void 0:e.url)!=null?l:"",this.openMode=(r=e==null?void 0:e.openMode)!=null?r:"new",this.icon=(c=e==null?void 0:e.icon)!=null?c:""}}class Ca extends O{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlName(){return a("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ca.controlEventKeys=["on_click"],Ca.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.90741774578992730"),default:"left",options:[{value:"left",label:a("CMD.79471774579023855")},{value:"center",label:a("CMD.3c361774579037653")},{value:"right",label:a("CMD.9e811774579025727")}]},{key:"common-color-type",visible:!0,name:"color",label:a("CMD.d1ed1774579042905")},{key:"common-icon",visible:!0,name:"icon",label:a("CMD.1a781774579044216")},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class QD extends q{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"link"}}var Dc={Designer:Ca,Runtime:QD,Property:ba};class ZD extends U{constructor(){super(...arguments),this.content={type:"string",required:!0,message:a("CMD.cacc1777541637293")},this.width={type:"number",required:!0,min:1,message:a("CMD.2f901777541688219")},this.height={type:"number",required:!0,min:1,message:a("CMD.156e1777541690112")}}}class kn extends j{constructor(e){var i,n,u;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:"",this.width=(n=e==null?void 0:e.width)!=null?n:600,this.height=(u=e==null?void 0:e.height)!=null?u:400}}kn.Rules=ZD;class Ic extends O{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlName(){return a("CMD.iframe",null,"\u7F51\u9875\u5D4C\u5165")}static get controlIcon(){return"iconiframe"}static get controlType(){return"iframe"}}Ic.setting=[{key:"content",visible:!0,name:"content",label:"URL"},{key:"common-input-number",visible:!0,name:"width",label:a("CMD.f5311777541773110"),min:1,tip:a("CMD.ee791777541581639")},{key:"common-input-number",visible:!0,name:"height",label:a("CMD.ea8c1777541774421"),min:1},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class XD extends q{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"iframe"}}var wc={Designer:Ic,Runtime:XD,Property:kn};class ee extends j{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.button",null,"\u6309\u94AE"),this.buttonType=(n=e==null?void 0:e.buttonType)!=null?n:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new s_((d=e==null?void 0:e.optObj)!=null?d:{})}}class p extends O{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return a("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",Or.DEFAULT],p.controlEventKeys=["on_click"],p.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends q{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var Bc={Designer:p,Runtime:ue,Property:ee};class Ea extends j{constructor(e){var i,n,u,l,r,c;super(e),this.color=(i=e==null?void 0:e.color)!=null?i:"#000",this.lineStyle=(n=e==null?void 0:e.lineStyle)!=null?n:ca.SOLID,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(r=e==null?void 0:e.captionFontWeight)!=null?r:ke.NORMAL,this.verticalPosition=(c=e==null?void 0:e.verticalPosition)!=null?c:"middle"}}class Ac extends O{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlName(){return a("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Ac.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"content",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.30971774578990996"),default:"left",options:[{value:"left",label:a("CMD.77f61774579023852")},{value:"center",label:a("CMD.c2061774579037651")},{value:"right",label:a("CMD.92fa1774579025725")}]},{key:"common-button-radio",visible:!0,name:"verticalPosition",label:a("CMD.e9f61774578968941"),default:"middle",options:[{value:"top",label:a("CMD.2bfb1774579038746")},{value:"middle",label:a("CMD.9e231774579040279")},{value:"bottom",label:a("CMD.36d71774579041637")}]},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]}];class JD extends q{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Tc={Designer:Ac,Runtime:JD,Property:Ea};class YD extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Oe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:a("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class Rn extends j{constructor(e){var i,n,u,l;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(i=e==null?void 0:e.config)!=null?i:[Oe.ShowSubmitUser,Oe.ShowSubmitDept,Oe.ShowSubmitTime,Oe.ShowCurrentApprovar,Oe.ShowTitle],this.caption=(u=(n=e==null?void 0:e.caption)!=null?n:yt==null?void 0:yt.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}Rn.Rules=YD;class yt extends O{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlName(){return a("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}yt.controlFieldType=C.AUTO_NUMBER,yt.setting=[{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class pD extends q{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Fc={Designer:yt,Runtime:pD,Property:Rn};class eI extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class Mn extends ee{constructor(e){var i,n,u,l;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:ft.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:ft.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}Mn.Rules=eI;class ft extends p{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlName(){return a("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.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 tI extends ue{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Sc={Designer:ft,Runtime:tI,Property:Mn};class iI extends U{constructor(e){super(e),this.processKey=[{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:a("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class xn extends ee{constructor(e){var i,n,u,l,r,c;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(c=e==null?void 0:e.employeeId)!=null?c:""}}xn.Rules=iI;class vt extends p{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class nI extends ue{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Pc={Designer:vt,Runtime:nI,Property:xn};class _a extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon}}class mt extends p{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlName(){return a("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class uI extends ue{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Oc={Designer:mt,Runtime:uI,Property:_a};class Da extends ee{constructor(e){var i,n,u,l,r;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(l=e==null?void 0:e.templateList)==null?void 0:l.map(c=>new Wt(c)))!=null?r:[new Wt({id:"default",name:a("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class gt extends p{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return a("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class lI extends ue{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var kc={Designer:gt,Runtime:lI,Property:Da};class Ia extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:bt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:bt.controlIcon}}class bt extends p{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlName(){return a("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class aI extends ue{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Rc={Designer:bt,Runtime:aI,Property:Ia};class rI{constructor(e){this.dataCode=e.dataCode}}class wa extends ee{constructor(e){var i,n,u,l,r;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(c=>new rI(c)))!=null?l:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class Ct extends p{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlName(){return a("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class oI extends ue{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Mc={Designer:Ct,Runtime:oI,Property:wa};function cI(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function sI(t){if(!t.trim())return{};try{const e=JSON.parse(t);return cI(e)?e:{}}catch(e){return{}}}function dI(t){return Array.isArray(t)?t:t?[t]:[]}function xc(t){return typeof t!="string"||t.trim()===""}function hI(t,e){const i=sI(t);return dI(i[e]).some(n=>n.type==="category")}function Nn(t,e,i){return{type:"string",validator(n,u,l){if(hI(t.optionJson,e)&&xc(u)){l(i);return}l()}}}function Ba(t){return{type:"array",validator(e,i,n){if(!Array.isArray(i)||i.length===0||i.some(u=>xc(u==null?void 0:u.valueField))){n(t);return}n()}}}function Ln(){return{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:a("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class yI extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:lt({},Ln())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:lt({mode:{type:"string",required:!0,message:a("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ln())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:a("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class $n extends ee{constructor(e){var i,n,u;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:zt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:zt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new lo(e==null?void 0:e.fillPayload),this.formBind=new zE(e==null?void 0:e.formBind),this.fillBack=new ao(e==null?void 0:e.fillBack)}}$n.Rules=yI;class zt extends p{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlName(){return a("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}zt.controlEventKeys=["on_click","on_click_finish"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class fI extends ue{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Nc={Designer:zt,Runtime:fI,Property:$n};class vI extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:lt({},Ln())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:a("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:lt({mode:{type:"string",required:!0,message:a("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ln())}}}class Hn extends ee{constructor(e){var i,n,u,l,r;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Gt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Gt.controlIcon,this.fillPayload=new lo(e==null?void 0:e.fillPayload),this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.fillBack=new ao(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new vl(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(l=e==null?void 0:e.isSelectedRowFill)!=null?l:!1,this.disableFilling=(r=e==null?void 0:e.disableFilling)!=null?r:!0}}Hn.Rules=vI;class Gt extends p{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlName(){return a("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Gt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class mI extends ue{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Lc={Designer:Gt,Runtime:mI,Property:Hn};class gI extends U{constructor(e){super(e)}}class bI extends Ne{constructor(e){super(e)}}class Kt extends j{constructor(e){super(e)}}Kt.Rules=gI,Kt.RuntimeRules=bI;class $c extends O{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return a("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}$c.setting=[];class CI extends q{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Hc={Designer:$c,Runtime:CI,Property:Kt};class EI extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:a("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Vn extends j{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.dashboardKey=(i=e==null?void 0:e.dashboardKey)!=null?i:"",this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(c=e==null?void 0:e.labelPosition)!=null?c:"top",this.isShowReportParams=(s=e==null?void 0:e.isShowReportParams)!=null?s:!1,this.reportParams=(h=e==null?void 0:e.reportParams)!=null?h:[]}}Vn.Rules=EI;class Vc extends O{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlName(){return a("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Vc.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class _I extends q{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var jc={Designer:Vc,Runtime:_I,Property:Vn};class DI extends U{constructor(e){super(e),this.seriesConfig=Ba(a("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5")),this.xField=Nn(e,"xAxis",a("CMD.pleaseSelectXAxisField",null,"\u8BF7\u7ED1\u5B9A X \u8F74\u5B57\u6BB5")),this.yField=Nn(e,"yAxis",a("CMD.pleaseSelectYAxisField",null,"\u8BF7\u7ED1\u5B9A Y \u8F74\u5B57\u6BB5"))}}const II={grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{type:"bar",data:[120,200,150,80,70,110,130]}]};class jn extends j{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:qn.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(s=e==null?void 0:e.isHide)!=null?s:!1,this.template=(h=e==null?void 0:e.template)!=null?h:"bar-basic",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:JSON.stringify(II,null,2),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new W(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(f=e==null?void 0:e.multistageFilling)==null?void 0:f.map(D=>new Q(D)))!=null?g:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.xField=(b=e==null?void 0:e.xField)!=null?b:"",this.yField=(I=e==null?void 0:e.yField)!=null?I:"",this.seriesConfig=(m=e==null?void 0:e.seriesConfig)!=null?m:[]}}jn.Rules=DI;class qn extends O{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlName(){return a("CMD.barChart",null,"\u67F1\u72B6\u56FE")}static get controlIcon(){return"iconBarchart"}static get controlType(){return"bar-chart"}static get controlCustomAttributes(){return[]}}qn.controlEventKeys=["on_chart_change"],qn.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:a("CMD.d6d01777541754654"),default:"default",options:[{value:"bar-basic",label:a("CMD.50c71777541662435")},{value:"bar-background",label:a("CMD.29961777541608579")},{value:"bar-waterfall",label:a("CMD.0de61777541732843")},{value:"bar-alternating",label:a("CMD.15241777541626614")},{value:"bar-multi-y",label:a("CMD.12c91777541629189")},{value:"bar-stacked",label:a("CMD.30e11777541664430")},{value:"bar-stacked-rounded",label:a("CMD.44721777541599841")},{value:"bar-stacked-horizontal",label:a("CMD.6f651777541666780")},{value:"bar-positive-negative",label:a("CMD.95b31777541669068")}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class wI extends q{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"bar-chart"}}var qc={Designer:qn,Runtime:wI,Property:jn};class BI extends U{constructor(e){super(e),this.seriesConfig=Ba(a("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5")),this.xField=Nn(e,"xAxis",a("CMD.pleaseSelectXAxisField",null,"\u8BF7\u7ED1\u5B9A X \u8F74\u5B57\u6BB5")),this.yField=Nn(e,"yAxis",a("CMD.pleaseSelectYAxisField",null,"\u8BF7\u7ED1\u5B9A Y \u8F74\u5B57\u6BB5"))}}const AI={grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{type:"line",data:[120,200,150,80,70,110,130]}]};class Wn extends j{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Un.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(s=e==null?void 0:e.isHide)!=null?s:!1,this.template=(h=e==null?void 0:e.template)!=null?h:"line-basic",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:JSON.stringify(AI,null,2),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new W(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(f=e==null?void 0:e.multistageFilling)==null?void 0:f.map(D=>new Q(D)))!=null?g:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.xField=(b=e==null?void 0:e.xField)!=null?b:"",this.yField=(I=e==null?void 0:e.yField)!=null?I:"",this.seriesConfig=(m=e==null?void 0:e.seriesConfig)!=null?m:[]}}Wn.Rules=BI;class Un extends O{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlName(){return a("CMD.lineChart",null,"\u6298\u7EBF\u56FE")}static get controlIcon(){return"iconLinechart"}static get controlType(){return"line-chart"}static get controlCustomAttributes(){return[]}}Un.controlEventKeys=["on_chart_change"],Un.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:a("CMD.e89a1777541754655"),default:"line-basic",options:[{value:"line-basic",label:a("CMD.9bf11777541671154")},{value:"line-smooth",label:a("CMD.50231777541632244")},{value:"line-area",label:a("CMD.bad61777541673203")},{value:"line-stacked",label:a("CMD.8e651777541675555")},{value:"line-stacked-area",label:a("CMD.a75e1777541677634")}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class TI extends q{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"line-chart"}}var Wc={Designer:Un,Runtime:TI,Property:Wn};const FI={tooltip:{trigger:"item"},legend:{top:"bottom"},series:[{type:"pie",radius:["40%","70%"],itemStyle:{borderRadius:10},data:[{value:1048,name:a("CMD.31801777541696784")},{value:735,name:a("CMD.30781777541698808")},{value:580,name:a("CMD.53ce1777541700854")},{value:484,name:a("CMD.aab91777541703228")},{value:300,name:a("CMD.cb9d1777541704940")}]}],grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0}};class SI extends U{constructor(e){super(e),this.seriesConfig=Ba(a("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5"))}}class zn extends j{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Gn.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(s=e==null?void 0:e.isHide)!=null?s:!1,this.template=(h=e==null?void 0:e.template)!=null?h:"pie-rounded-ring",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:JSON.stringify(FI,null,2),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new W(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(f=e==null?void 0:e.multistageFilling)==null?void 0:f.map(I=>new Q(I)))!=null?g:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.seriesConfig=(b=e==null?void 0:e.seriesConfig)!=null?b:[]}}zn.Rules=SI;class Gn extends O{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlName(){return a("CMD.pieChart",null,"\u997C\u56FE")}static get controlIcon(){return"iconPiechart"}static get controlType(){return"pie-chart"}static get controlCustomAttributes(){return[]}}Gn.controlEventKeys=["on_chart_change"],Gn.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:a("CMD.f5361777541754658"),default:"default",options:[{value:"pie-rounded-ring",label:a("CMD.81a51777541679974")},{value:"pie-ring",label:a("CMD.a4281777541734255")},{value:"pie-half-ring",label:a("CMD.24b41777541692257")},{value:"pie-gap",label:a("CMD.5ce91777541640370")},{value:"pie-rose",label:a("CMD.3f911777541602899")},{value:"pie-texture",label:a("CMD.13a21777541694793")}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class PI extends q{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlType(){return"pie-chart"}}var Uc={Designer:Gn,Runtime:PI,Property:zn};class OI extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:a("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Kn extends j{constructor(e){var i,n,u;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"select",this.viewList=(u=(n=e==null?void 0:e.viewList)==null?void 0:n.map(l=>new o_(l)))!=null?u:[]}}Kn.Rules=OI;class zc extends O{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlName(){return a("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}zc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class kI extends q{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Gc={Designer:zc,Runtime:kI,Property:Kn};class RI extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:a("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(i,n,u){if(n.every(r=>!r.controlId)){u(a("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Qn extends ee{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Et.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(c=e==null?void 0:e.content)!=null?c:Et.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Et.controlIcon,this.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Q(g)))!=null?f:[]}}Qn.Rules=RI;class Et extends p{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return a("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class MI extends ue{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Kc={Designer:Et,Runtime:MI,Property:Qn};class xI extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(i,n,u){if(n.every(r=>!r.controlId)){u(a("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zn extends ee{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:_t.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(c=e==null?void 0:e.content)!=null?c:_t.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:_t.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Q(g)))!=null?f:[]}}Zn.Rules=xI;class _t extends p{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return a("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class NI extends ue{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Qc={Designer:_t,Runtime:NI,Property:Zn};class LI extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:a("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Xn extends ee{constructor(e){var i,n,u,l,r;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:Dt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:Dt.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(c=>new gc(c)))!=null?l:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Xn.Rules=LI;class Dt extends p{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click","on_click_finish"],Dt.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 $I extends ue{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Zc={Designer:Dt,Runtime:$I,Property:Xn};class Aa extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:It.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:It.controlIcon}}class It extends p{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}It.slots=["grid-table-toolbar-slot"],It.controlEventKeys=["on_click"],It.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 HI extends ue{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Xc={Designer:It,Runtime:HI,Property:Aa};class VI extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Jn extends j{constructor(e){var i,n,u,l,r,c;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(n=e==null?void 0:e.command)!=null?n:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.isSyncDelete=(c=e==null?void 0:e.isSyncDelete)!=null?c:!1}}Jn.Rules=VI;class Yn extends O{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlName(){return a("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Yn.controlEventKeys=["on_click"],Yn.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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class jI extends q{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Jc={Designer:Yn,Runtime:jI,Property:Jn};class Ta extends j{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(c=e==null?void 0:e.isHide)!=null?c:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class wt extends O{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}wt.slots=["grid-table-toolbar-slot"],wt.controlEventKeys=["on_click"],wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class qI extends q{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Yc={Designer:wt,Runtime:qI,Property:Ta};class WI extends U{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class pn extends j{constructor(e){var i,n,u,l,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:eu.controlName,this.isShowSimpleSearch=(n=e==null?void 0:e.isShowSimpleSearch)!=null?n:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.actionSetting=(r=new ha(e==null?void 0:e.actionSetting))!=null?r:new ha,this.listHeightSetting=(c=new ya(e==null?void 0:e.listHeightSetting))!=null?c:new ya}}pn.Rules=WI;class eu extends O{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return a("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}eu.controlEventKeys=["on_list_rowclick"],eu.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_SIMPLE_SEARCH,o.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class UI extends q{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var pc={Designer:eu,Runtime:UI,Property:pn};class Fa extends j{constructor(e){var i;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class es extends O{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return a("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}es.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class zI extends q{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"comment"}}var ts={Designer:es,Runtime:zI,Property:Fa},GI=Object.freeze({__proto__:null,Text:_c,Link:Dc,Iframe:wc,Button:Bc,Divider:Tc,Title:Fc,CreateFormListButton:Sc,BatchSubmissionListButton:Pc,SubmissionRecordListButton:Oc,ExportListButton:kc,ExportRecordListButton:Rc,ImportRecordListButton:Mc,FormSelectButton:Nc,ListSelectButton:Lc,Pagination:Hc,Dashboard:jc,BarChart:qc,LineChart:Wc,PieChart:Uc,ListViewSelect:Gc,TextOcrButton:Kc,InvoiceCheckButton:Qc,BatchPrintListButton:Zc,BatchPrintRecordListButton:Xc,OperationButton:Jc,BatchDeleteButton:Yc,ReferenceList:pc,CommentControl:ts});class KI extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{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=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=Ut(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class QI extends x{constructor(e){super(e),this.push({type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ut(e.regularRules.expression),message:e.regularRules.errMessage})}}class Bt extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:200,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.regularRules=new ro(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:At.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(c=e==null?void 0:e.encrypted)!=null?c:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:"",this.aiContentSearch=(h=e==null?void 0:e.aiContentSearch)!=null?h:!1,this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}Bt.Rules=KI,Bt.RuntimeRules=QI;class At extends T{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return a("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}At.controlEventKeys=["on_change","on_input","on_focus","on_blur"],At.controlFieldType=C.VARCHAR,At.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.ENCRYPTED]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{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 is extends F{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"input"}}is.controlFieldType=C.VARCHAR;var ns={Designer:At,Runtime:is,Property:Bt};class ZI extends Le{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:a("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const n=u=>u==="unlimited"?void 0:u;this.limitMax.min=n(e.limitMin)}}class XI extends x{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 Qt extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(n=e==null?void 0:e.checkboxMode)!=null?n:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(c=e==null?void 0:e.limitMin)!=null?c:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Zt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.isUseCustomColor=(b=e==null?void 0:e.isUseCustomColor)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var D;(D=this.multistageFilling)==null||D.push(new Q(m))})),this.aiContentSearch=(I=e==null?void 0:e.aiContentSearch)!=null?I:!1}}Qt.Rules=ZI,Qt.RuntimeRules=XI;class Zt extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return a("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=C.ARRAY,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class us extends F{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}us.controlFieldType=C.ARRAY;var ls={Designer:Zt,Runtime:us,Property:Qt};class Sa extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:$e.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.showSearch=(l=e==null?void 0:e.showSearch)!=null?l:!0,this.expandTrigger=(r=e==null?void 0:e.expandTrigger)!=null?r:"click",this.allowClear=(c=e==null?void 0:e.allowClear)!=null?c:!0,this.showCheckedStrategy=(s=e==null?void 0:e.showCheckedStrategy)!=null?s:"",this.saveCheckedStrategy=(h=e==null?void 0:e.saveCheckedStrategy)!=null?h:"CHILD",this.separator=(d=e==null?void 0:e.separator)!=null?d:"/",this.optionConfig=(f=e==null?void 0:e.optionConfig)!=null?f:"custom",this.datasourceBind=new en((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:$e.controlCustomAttributes}),this.filterItemDatasourceBind=new en((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:$e.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(I=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(D=>new Q(D)))!=null?I:[],this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[]}}class $e extends T{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlName(){return a("CMD.c8ad1774578994488")}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:a("CMD.33ee1751712159752"),required:!0}]}}$e.controlEventKeys=["on_change","on_focus","on_blur"],$e.controlFieldType=C.ARRAY,$e.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"cascader-trigger-type",visible:!0},{key:"cascader-select-value-type",visible:!0},{key:"cascader-show-type",visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class as extends F{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlType(){return"cascader"}}as.controlFieldType=C.VARCHAR;var rs={Designer:$e,Runtime:as,Property:Sa};class JI extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=a("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.max={type:"number",min:n,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class YI extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.push({type:"number",min:n,max:i,message:a(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},a(i===void 0?"CMD.51051751712133507":n===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))})}}class Xt extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Jt.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.min=(l=e==null?void 0:e.min)!=null?l:0,this.max=(r=e==null?void 0:e.max)!=null?r:100,this.step=(c=e==null?void 0:e.step)!=null?c:1,this.precision=(s=e==null?void 0:e.precision)!=null?s:0,this.controls=(h=e==null?void 0:e.controls)!=null?h:!0,this.controlPosition=(d=e==null?void 0:e.controlPosition)!=null?d:"both"}}Xt.Rules=JI,Xt.RuntimeRules=YI;class Jt extends T{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return a("CMD.78aa1774579027114")}static get controlType(){return"counter"}static get controlIcon(){return"iconjishuqi"}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=C.DECIMAL,Jt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"counter-setting",visible:!0},{key:"super-setting",visible:!0}];class os extends F{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"counter"}}os.controlFieldType=C.DECIMAL;var cs={Designer:Jt,Runtime:os,Property:Xt};class pI extends Le{constructor(e){super(e)}}class tu extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(n=e==null?void 0:e.radioMode)!=null?n:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(c=e==null?void 0:e.defaultShowOptions)!=null?c:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Yt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.type=(E=e==null?void 0:e.type)!=null?E:"default",this.isUseCustomColor=(_=e==null?void 0:e.isUseCustomColor)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var m;(m=this.multistageFilling)==null||m.push(new Q(I))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}tu.Rules=pI;class Yt extends T{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return a("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Yt.controlEventKeys=["on_change","on_click"],Yt.controlFieldType=C.VARCHAR,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.79a61774578997632"),default:"default",options:[{value:"default",label:a("CMD.a1171774579045618")},{value:"button",label:a("CMD.a4b41774579046938")}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ss extends F{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"radio"}}ss.controlFieldType=C.VARCHAR;var ds={Designer:Yt,Runtime:ss,Property:tu};class ew extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=a("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.rangeMax={type:"number",min:n,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=Ut(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class tw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.rangeMax!==""?e.rangeMax:void 0,n=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:i,min:n,message:a(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},a(i===void 0?"CMD.16921751712133509":n===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ut(e.regularRules.expression),message:e.regularRules.errMessage})}}class pt extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m;super(e),this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(n=e==null?void 0:e.rangeMax)!=null?n:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(c=e==null?void 0:e.precision)!=null?c:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(h=e==null?void 0:e.isShowUnit)!=null?h:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(f=e==null?void 0:e.unit)!=null?f:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:ei.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:"",this.regularRules=new ro(e==null?void 0:e.regularRules),this.isShowControlButton=(b=e==null?void 0:e.isShowControlButton)!=null?b:!1,this.controlButtonPosition=(I=e==null?void 0:e.controlButtonPosition)!=null?I:"between",this.step=(m=e==null?void 0:e.step)!=null?m:1}}pt.Rules=ew,pt.RuntimeRules=tw;class ei extends T{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return a("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}ei.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ei.controlFieldType=C.DECIMAL,ei.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_UNIT,o.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class hs extends F{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"number"}}hs.controlFieldType=C.DECIMAL;var ys={Designer:ei,Runtime:hs,Property:pt};class iw extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:a("CMD.5d051777541586591")}],this.max={type:"any"};const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=a("CMD.5d051777541586591"),n!==void 0&&i!==void 0&&(this.max={type:"number",min:n,message:a("CMD.03c61777541622820")})}}class nw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.push({type:"number",min:n,max:i,message:a(i===void 0?"CMD.0ea31777541589957":n===void 0?"CMD.61eb1777541593375":"CMD.5d051777541586591")})}}class ti extends A{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ii.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.min=(u=e==null?void 0:e.min)!=null?u:0,this.max=(l=e==null?void 0:e.max)!=null?l:100,this.step=(r=e==null?void 0:e.step)!=null?r:1,this.showInput=(c=e==null?void 0:e.showInput)!=null?c:!0,this.showMarks=(s=e==null?void 0:e.showMarks)!=null?s:!1,this.marks=de((h=e==null?void 0:e.marks)!=null?h:[])}}ti.Rules=iw,ti.RuntimeRules=nw;class ii extends T{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlName(){return a("CMD.7fa81777541762879")}static get controlType(){return"slider"}static get controlIcon(){return"iconhuakuai"}}ii.controlEventKeys=["on_change"],ii.controlFieldType=C.DECIMAL,ii.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"slider-setting",visible:!0},{key:"super-setting",visible:!0}];class fs extends F{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"slider"}}fs.controlFieldType=C.DECIMAL;var vs={Designer:ii,Runtime:fs,Property:ti};class uw extends z{constructor(e){super(e)}}class lw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number",this[0].min=0,this[0].max=1)}}class ni extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ui.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:1,this.textDisplayStyle=(u=e==null?void 0:e.textDisplayStyle)!=null?u:"inside",this.checkedText=(l=e==null?void 0:e.checkedText)!=null?l:a("CMD.f0301777541765473"),this.checkedTextColor=(r=e==null?void 0:e.checkedTextColor)!=null?r:"#ffffff",this.checkedBackgroundColor=(c=e==null?void 0:e.checkedBackgroundColor)!=null?c:"#4C78FC",this.uncheckedText=(s=e==null?void 0:e.uncheckedText)!=null?s:a("CMD.106d1777541766792"),this.uncheckedTextColor=(h=e==null?void 0:e.uncheckedTextColor)!=null?h:"#ffffff",this.uncheckedBackgroundColor=(d=e==null?void 0:e.uncheckedBackgroundColor)!=null?d:"#BFBFBF"}}ni.Rules=uw,ni.RuntimeRules=lw;class ui extends T{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return a("CMD.e11c1777541764390")}static get controlIcon(){return"iconkaiguanguan"}static get controlType(){return"switch"}}ui.controlEventKeys=["on_change"],ui.controlFieldType=C.DECIMAL,ui.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"common-button-radio",visible:!0,name:"defaultValue",label:a("CMD.760c1777541720778"),default:0,options:[{value:1,label:a("CMD.f48b1777541765472")},{value:0,label:a("CMD.4a541777541766791")}]},{key:"common-button-radio",visible:!0,name:"textDisplayStyle",label:a("CMD.478a1777541651375"),default:"inside",options:[{value:"inside",label:a("CMD.e7ef1777541748888")},{value:"outside",label:a("CMD.38711777541750404")}]},{key:"common-group",visible:!0,label:a("CMD.35f21777541706717"),children:[{key:"common-input",visible:!0,name:"checkedText",layout:"horizontal",label:a("CMD.9a801777541722584")},{key:"color",visible:!0,name:"checkedTextColor",layout:"horizontal",label:a("CMD.d1da1777541653501")},{key:"color",visible:!0,name:"checkedBackgroundColor",layout:"horizontal",label:a("CMD.4e821777541655793")},{key:"common-input",visible:!0,name:"uncheckedText",layout:"horizontal",label:a("CMD.886f1777541724447")},{key:"color",visible:!0,name:"uncheckedTextColor",layout:"horizontal",label:a("CMD.93231777541658161")},{key:"color",visible:!0,name:"uncheckedBackgroundColor",layout:"horizontal",label:a("CMD.04e91777541660486")}]},{key:"super-setting",visible:!0}];class ms extends F{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"switch"}}ms.controlFieldType=C.DECIMAL;var gs={Designer:ui,Runtime:ms,Property:ni};class aw extends Le{constructor(e){super(e)}}class rw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class li extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:ai.controlName,this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.size=(r=e==null?void 0:e.size)!=null?r:"medium",this.align=(c=e==null?void 0:e.align)!=null?c:"left",this.color=(s=e==null?void 0:e.color)!=null?s:"default",this.optionConfig=(h=e==null?void 0:e.optionConfig)!=null?h:"custom",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),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.forEach(f=>{var g;(g=this.multistageFilling)==null||g.push(new Q(f))}))}}li.Rules=aw,li.RuntimeRules=rw;class ai extends T{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlName(){return a("CMD.tag",null,"\u6807\u7B7E")}static get controlIcon(){return"iconbiaoqian"}static get controlType(){return"tag"}}ai.controlEventKeys=["on_click"],ai.controlFieldType=C.ARRAY,ai.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.DEFAULT_SHOW_OPTIONS]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"size",label:a("CMD.size",null,"\u6807\u7B7E\u5C3A\u5BF8"),default:"medium",options:[{value:"large",label:a("CMD.88fc1777541775429")},{value:"medium",label:a("CMD.f7b51777541776645")},{value:"small",label:a("CMD.6b7d1777541777847")}]},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.dc011777541726235"),default:"left",tip:a("CMD.1e6c1777541596761"),options:[{value:"left",label:a("CMD.e29a1777541743101")},{value:"center",label:a("CMD.f0c51777541758749")},{value:"right",label:a("CMD.b69e1777541744540")}]},{key:"common-select",visible:!0,name:"color",label:a("CMD.8fc41777541768092"),default:"default",options:[{value:"default",label:a("CMD.8fc41777541768092")},{value:"success",label:a("CMD.4ad61777541769394")},{value:"processing",label:a("CMD.d74b1777541751881")},{value:"error",label:a("CMD.64911777541770890")},{value:"warning",label:a("CMD.b6eb1777541772158")}]},{key:"options-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bs extends F{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"tag"}}bs.controlFieldType=C.ARRAY;var Cs={Designer:ai,Runtime:bs,Property:li};class ow extends z{constructor(e){super(e)}}class cw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class ri extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:oi.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:a("CMD.5c5a1777541746080"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.codeHeight=(l=e==null?void 0:e.codeHeight)!=null?l:80,this.codeWidth=(r=e==null?void 0:e.codeWidth)!=null?r:1,this.codeMargin=(c=e==null?void 0:e.codeMargin)!=null?c:0,this.barcodeColor=(s=e==null?void 0:e.barcodeColor)!=null?s:"#000000",this.align=(h=e==null?void 0:e.align)!=null?h:"left",this.displayValue=(d=e==null?void 0:e.displayValue)!=null?d:!1}}ri.Rules=ow,ri.RuntimeRules=cw;class oi extends T{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return a("CMD.9fb91777541735669")}static get controlIcon(){return"icontiaoxingma"}static get controlType(){return"barcode"}}oi.controlEventKeys=["on_change"],oi.controlFieldType=C.VARCHAR,oi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:a("CMD.6e021777541706714"),children:[{key:"common-input-number",visible:!0,name:"codeHeight",layout:"horizontal",label:a("CMD.a5611777541611406")},{key:"common-input-number",visible:!0,name:"codeWidth",layout:"horizontal",label:a("CMD.453a1777541614098")},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:a("CMD.fc751777541645066")},{key:"common-switch",visible:!0,name:"displayValue",layout:"horizontal",label:a("CMD.6c311777541737079")}]},{key:"common-group",visible:!0,label:a("CMD.7a091777541710451"),children:[{key:"common-select",visible:!0,name:"barcodeColor",label:a("CMD.01a11777541712546"),default:"#000000",options:[{value:"#000000",label:a("CMD.c1fb1777541756177")},{value:"#001F3F",label:a("CMD.c5de1777541714576")},{value:"#004225",label:a("CMD.91211777541716842")},{value:"#4A0404",label:a("CMD.49421777541738691")},{value:"#2F2F2F",label:a("CMD.99701777541740192")},{value:"#1A237E",label:a("CMD.5c681777541741804")}]},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.6abe1777541757478"),default:"left",options:[{value:"left",label:a("CMD.70c61777541743098")},{value:"center",label:a("CMD.41551777541758747")},{value:"right",label:a("CMD.1fc91777541744537")}]}]},{key:"super-setting",visible:!0}];class Es extends F{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"barcode"}}Es.controlFieldType=C.VARCHAR;var _s={Designer:oi,Runtime:Es,Property:ri};class sw extends z{constructor(e){super(e)}}class dw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class ci extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:si.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.qrVersion=(u=e==null?void 0:e.qrVersion)!=null?u:"auto",this.errorCorrectionLevel=(l=e==null?void 0:e.errorCorrectionLevel)!=null?l:"M",this.codeMode=(r=e==null?void 0:e.codeMode)!=null?r:"qrCode",this.size=(c=e==null?void 0:e.size)!=null?c:160,this.codeMargin=(s=e==null?void 0:e.codeMargin)!=null?s:0,this.qrColor=(h=e==null?void 0:e.qrColor)!=null?h:"#000000",this.align=(d=e==null?void 0:e.align)!=null?d:"left"}}ci.Rules=sw,ci.RuntimeRules=dw;class si extends T{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return a("CMD.034d1777541747382")}static get controlIcon(){return"iconerweima"}static get controlType(){return"qr-code"}}si.controlEventKeys=["on_change"],si.controlFieldType=C.VARCHAR,si.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:a("CMD.48ab1777541706716"),children:[{key:"common-select",visible:!0,name:"qrVersion",label:a("CMD.9f5f1777541682089"),default:"auto",options:[{value:"auto",label:a("CMD.43211777541760099")},{value:"1",label:"1 (21*21)"},{value:"2",label:"2 (25*25)"},{value:"3",label:"3 (29*29)"},{value:"4",label:"4 (33*33)"},{value:"5",label:"5 (37*37)"},{value:"6",label:"6 (41*41)"},{value:"7",label:"7 (45*45)"},{value:"8",label:"8 (49*49)"},{value:"9",label:"9 (53*53)"},{value:"10",label:"10 (57*57)"},{value:"11",label:"11 (61*61)"},{value:"12",label:"12 (65*65)"},{value:"13",label:"13 (69*69)"},{value:"14",label:"14 (73*73)"},{value:"15",label:"15 (77*77)"},{value:"16",label:"16 (81*81)"},{value:"17",label:"17 (85*85)"},{value:"18",label:"18 (89*89)"},{value:"19",label:"19 (93*93)"},{value:"20",label:"20 (97*97)"},{value:"21",label:"21 (101*101)"},{value:"22",label:"22 (105*105)"},{value:"23",label:"23 (109*109)"},{value:"24",label:"24 (113*113)"},{value:"25",label:"25 (117*117)"},{value:"26",label:"26 (121*121)"},{value:"27",label:"27 (125*125)"},{value:"28",label:"28 (129*129)"},{value:"29",label:"29 (133*133)"},{value:"30",label:"30 (137*137)"},{value:"31",label:"31 (141*141)"},{value:"32",label:"32 (145*145)"},{value:"33",label:"33 (149*149)"},{value:"34",label:"34 (153*153)"},{value:"35",label:"35 (157*157)"},{value:"36",label:"36 (161*161)"},{value:"37",label:"37 (165*165)"},{value:"38",label:"38 (169*169)"},{value:"39",label:"39 (173*173)"},{value:"40",label:"40 (177*177)"}]},{key:"common-select",visible:!0,name:"errorCorrectionLevel",label:a("CMD.a9b81777541718919"),default:"M",options:[{value:"L",label:a("CMD.3e9b1777541634899")},{value:"M",label:a("CMD.bc7a1777541617060")},{value:"Q",label:a("CMD.3ce71777541620174")},{value:"H",label:a("CMD.b5841777541605769")}]},{key:"common-select",visible:!0,name:"codeMode",label:a("CMD.ae891777541761573"),default:"qrCode",options:[{value:"qrCode",label:"QR Code"}]},{key:"common-input-number",visible:!0,name:"size",layout:"horizontal",label:a("CMD.dd381777541646923")},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:a("CMD.71a11777541645070")}]},{key:"common-group",visible:!0,label:a("CMD.523e1777541710452"),children:[{key:"common-select",visible:!0,name:"qrColor",label:a("CMD.41081777541683947"),default:"#000000",options:[{value:"#000000",label:a("CMD.a5211777541756178")},{value:"#001F3F",label:a("CMD.18241777541714577")},{value:"#004225",label:a("CMD.cb4e1777541716843")},{value:"#4A0404",label:a("CMD.e0d51777541738692")},{value:"#2F2F2F",label:a("CMD.98df1777541740192")},{value:"#1A237E",label:a("CMD.9e1f1777541741805")}]},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.d82e1777541757479"),default:"left",options:[{value:"left",label:a("CMD.2e381777541743100")},{value:"center",label:a("CMD.262c1777541758748")},{value:"right",label:a("CMD.c4ee1777541744538")}]}]},{key:"super-setting",visible:!0}];class Ds extends F{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"qr-code"}}Ds.controlFieldType=C.VARCHAR;var Is={Designer:si,Runtime:Ds,Property:ci};class Pa extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.dateFormat=(n=e==null?void 0:e.dateFormat)!=null?n:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:iu.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:a("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(I=>new Sn(I)))!=null?d:[],this.allowDateRange=(f=e==null?void 0:e.allowDateRange)!=null?f:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1,this.isShowCustomDateFormat=(_=e==null?void 0:e.isShowCustomDateFormat)!=null?_:!1,this.customDateFormat=(b=e==null?void 0:e.customDateFormat)!=null?b:""}}class iu extends T{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlName(){return a("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}iu.controlFieldType=C.TIMESTAMP,iu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"custom-date-format",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ws extends F{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}ws.controlFieldType=C.TIMESTAMP;var Bs={Designer:iu,Runtime:ws,Property:Pa};class hw extends x{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 nu extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.dataBind=new so(e==null?void 0:e.dataBind),this.defaultValue=new ho(e==null?void 0:e.defaultValue),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.dateFormat=(n=e==null?void 0:e.dateFormat)!=null?n:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:a("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:a("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(d=e==null?void 0:e.caption)!=null?d:uu.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(_=>new Sn(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}nu.RuntimeRules=hw;class uu extends T{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}uu.controlFieldType=C.TIMESCOPE,uu.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class As extends F{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"date-range"}}As.controlFieldType=C.TIMESCOPE;var Ts={Designer:uu,Runtime:As,Property:nu};class Oa extends A{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.timeType=(i=e==null?void 0:e.timeType)!=null?i:Pr.HOURSEC,this.format=(n=e==null?void 0:e.format)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:lu.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.c9dc1774578987545"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitTimeList=(s=(c=e==null?void 0:e.limitTimeList)==null?void 0:c.map(d=>new ra(d)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}class lu extends T{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return a("CMD.9e0e1774579048265")}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}lu.controlFieldType=C.TIMESTAMP,lu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Fs extends F{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}Fs.controlFieldType=C.TIMESTAMP;var Ss={Designer:lu,Runtime:Fs,Property:Oa};class yw extends x{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 au extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.dataBind=new so(e==null?void 0:e.dataBind),this.defaultValue=new ho(e==null?void 0:e.defaultValue),this.timeType=(i=e==null?void 0:e.timeType)!=null?i:Pr.HOURSEC,this.format=(n=e==null?void 0:e.format)!=null?n:"",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:a("CMD.be931774579000687"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:a("CMD.0a501774579002398"),this.caption=(s=e==null?void 0:e.caption)!=null?s:ru.controlName,this.limitTimeList=(d=(h=e==null?void 0:e.limitTimeList)==null?void 0:h.map(g=>new ra(g)))!=null?d:[],this.isInternational=(f=e==null?void 0:e.isInternational)!=null?f:!1}}au.RuntimeRules=yw;class ru extends T{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlName(){return a("CMD.103e1774578999219")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}ru.controlFieldType=C.TIMESCOPE,ru.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:a("CMD.b54f1774578958298")},{key:"common-input",visible:!0,name:"placeholderEnd",label:a("CMD.680d1774578960613")},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ps extends F{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlType(){return"time-range"}}Ps.controlFieldType=C.TIMESCOPE;var Os={Designer:ru,Runtime:Ps,Property:au};class fw extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class vw extends x{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class di extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:5e4,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:hi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new qE(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=co((h=e==null?void 0:e.aiOptions)!=null?h:[{label:a("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:a("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:a("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:a("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:a("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:a("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}di.Rules=fw,di.RuntimeRules=vw;class hi extends T{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return a("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}hi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],hi.controlFieldType=C.TEXT,hi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class ks extends F{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"textarea"}}ks.controlFieldType=C.TEXT;var Rs={Designer:hi,Runtime:ks,Property:di};class mw extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class gw extends x{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class yi extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:5e4,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.height=(u=e==null?void 0:e.height)!=null?u:300,this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:fi.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1,this.aiGeneration=(h=e==null?void 0:e.aiGeneration)!=null?h:!1,this.aiOptions=co((d=e==null?void 0:e.aiOptions)!=null?d:[{label:a("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:a("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:a("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:a("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:a("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:a("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(f=e==null?void 0:e.autoHeight)!=null?f:!1,this.lineEllipsis=(g=e==null?void 0:e.lineEllipsis)!=null?g:1}}yi.Rules=mw,yi.RuntimeRules=gw;class fi extends T{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return a("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}fi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],fi.controlFieldType=C.TEXT,fi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"common-input-number",visible:!0,name:"height",layout:"horizontal",label:a("CMD.131c1777541649034"),min:300},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Ms extends F{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Ms.controlFieldType=C.TEXT;var xs={Designer:fi,Runtime:Ms,Property:yi};class bw extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ou extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:cu.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.type=(d=e==null?void 0:e.type)!=null?d:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var b;(b=this.multistageFilling)==null||b.push(new Q(_))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new rt(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}ou.Rules=bw;class cu extends T{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlName(){return a("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}cu.controlFieldType=C.VARCHAR,cu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP,o.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.de501774578997633"),default:"default",options:[{value:"default",label:a("CMD.10a31774579045620")},{value:"button",label:a("CMD.db4d1774579046939")}]},{key:"options-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ns extends F{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlType(){return"select"}}Ns.controlFieldType=C.VARCHAR;var Ls={Designer:cu,Runtime:Ns,Property:ou};class Cw extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Ew extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class vi extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:su.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.type=(h=e==null?void 0:e.type)!=null?h:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Q(E))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new rt(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}vi.Rules=Cw,vi.RuntimeRules=Ew;class su extends T{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return a("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}su.controlFieldType=C.ARRAY,su.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.6e421774578997634"),default:"default",options:[{value:"default",label:a("CMD.6e971774579045621")},{value:"button",label:a("CMD.2b401774579046940")}]},{key:"options-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $s extends F{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}$s.controlFieldType=C.ARRAY;var Hs={Designer:su,Runtime:$s,Property:vi};class _w extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class du extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.range=(n=e==null?void 0:e.range)!=null?n:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:hu.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:a("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(f=>{var g;(g=this.multistageFilling)==null||g.push(new Q(f))}))}}du.RuntimeRules=_w;class hu extends T{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlName(){return a("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}hu.controlFieldType=C.EMPLOYEES,hu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.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 Vs extends F{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlType(){return"employee"}}Vs.controlFieldType=C.EMPLOYEES;var js={Designer:hu,Runtime:Vs,Property:du};const Dw=10485760,Iw=104857600,ww=1048576e3;class Bw extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:ww,message:a("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class Aw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:a("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class Tt extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m,D;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:[],this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(c=e==null?void 0:e.minLimit)!=null?c:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:Iw,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ft.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:a("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(f=e==null?void 0:e.isShowWatermark)!=null?f:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(E=e==null?void 0:e.operation)!=null?E:["info","preview","download"],this.aiExplanation=(_=e==null?void 0:e.aiExplanation)!=null?_:!1,this.aiExplanationLength=(b=e==null?void 0:e.aiExplanationLength)!=null?b:500,this.storageType=(I=e==null?void 0:e.storageType)!=null?I:"local",this.customOperation=(m=e==null?void 0:e.customOperation)!=null?m:[],this.describe=(D=e==null?void 0:e.describe)!=null?D:""}}Tt.Rules=Bw,Tt.RuntimeRules=Aw;class Ft extends T{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlName(){return a("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Ft.controlEventKeys=["on_change","on_file_actions"],Ft.controlFieldType=C.FILE,Ft.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ka extends F{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ka.controlFieldType=C.FILE;var qs={Designer:Ft,Runtime:ka,Property:Tt};const Tw=10485760,Fw=31457280;class Sw extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Fw,message:a("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F330MB\u4E4B\u95F4")}}}class yu extends Tt{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.showType="image",this.maxLimit=(i=e==null?void 0:e.maxLimit)!=null?i:10,this.caption=(u=(n=e==null?void 0:e.caption)!=null?n:fu.controlName)!=null?u:a("CMD.image",null,"\u56FE\u7247"),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(r=e==null?void 0:e.compressTypeCode)!=null?r:ma.NO_COMPRESS,this.compressRatio=(c=e==null?void 0:e.compressRatio)!=null?c:1,this.maxPixel=(s=e==null?void 0:e.maxPixel)!=null?s:1080,this.maxSize=(h=e==null?void 0:e.maxSize)!=null?h:Tw}}yu.Rules=Sw;class fu extends Ft{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlName(){return a("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}fu.controlFieldType=C.IMAGE,fu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-input",visible:!0,name:"describe",label:a("CMD.84591774578995829")},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Pw extends ka{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlType(){return"image"}}var Ws={Designer:fu,Runtime:Pw,Property:yu};class Ow extends Le{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=i,this.defaultValue.fields.amount[0].min=n,this.defaultValue.fields.amount[0].message=a("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.rangeMax={type:"number",min:n,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class kw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Tr(lt({},this[0]),{type:"number"}),{type:"number",min:n,max:i,message:a(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},a(i===void 0?"CMD.51051751712133507":n===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class mi extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(n=e==null?void 0:e.rangeMax)!=null?n:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new t_(e==null?void 0:e.dataBind),this.datasourceBind=new W((c=e==null?void 0:e.datasourceBind)!=null?c:{displayBoList:[new yl({value:"name"})]}),this.defaultValue=new i_((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:a_.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=de(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:gi.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}mi.Rules=Ow,mi.RuntimeRules=kw;class gi extends T{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return a("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}gi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],gi.controlFieldType=C.MONEY,gi.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.SUBMIT_SELECT_CURRENCY,o.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Us extends F{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"amount"}}Us.controlFieldType=C.MONEY;var zs={Designer:gi,Runtime:Us,Property:mi};class Rw extends z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:a("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:a("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:a("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=a("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class Mw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.required?1:0;this.push({type:"number",min:i,max:e.totalScore,message:a("CMD.scoreDefaultValueRange",{max:e.totalScore,min:i},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class bi extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.totalScore=(i=e==null?void 0:e.totalScore)!=null?i:5,this.scoreType=(n=e==null?void 0:e.scoreType)!=null?n:oa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(l=e==null?void 0:e.explain)==null?void 0:l.map(f=>new Pn(f)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Pn),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Ci.controlName,this.explainColor=(h=e==null?void 0:e.explainColor)!=null?h:"primary",this.isShowCurrentScore=(d=e==null?void 0:e.isShowCurrentScore)!=null?d:!1}}bi.Rules=Rw,bi.RuntimeRules=Mw;class Ci extends T{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return a("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,i){if(e==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{const n=i-this.props.explain.length,u=Array(n).fill(void 0).map(()=>new Pn);this.props.explain.push(...u)}}super.postUpdate(e,i)}}Ci.controlEventKeys=["on_change","on_click"],Ci.controlFieldType=C.DECIMAL,Ci.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"common-color-type",visible:!0,name:"explainColor",label:a("CMD.71be1774578971263")},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"common-switch",visible:!0,name:"isShowCurrentScore",label:a("CMD.ded61774578956109"),default:!1},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Gs extends F{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"score"}}Gs.controlFieldType=C.DECIMAL;var Ks={Designer:Ci,Runtime:Gs,Property:bi};class xw extends x{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const i={type:"object",fields:{}};e.addressType.includes("country")&&(i.fields.country={type:"string",required:e.required,message:a("CMD.pleaseSelectCountry",null,"\u8BF7\u9009\u62E9\u56FD\u5BB6")}),e.addressType.includes("province")&&(i.fields.province={type:"string",required:e.required,message:a("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}),e.addressType.includes("city")&&(i.fields.city={type:"string",required:e.required,message:a("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(i.fields.district={type:"string",required:e.required,message:a("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(i)}}}class vu extends A{constructor(e){var i,n,u,l,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:mu.controlName,this.defaultValueType=(n=e==null?void 0:e.defaultValueType)!=null?n:"default",this.countryScope=(u=e==null?void 0:e.countryScope)!=null?u:["100000"],this.addressType=(l=e==null?void 0:e.addressType)!=null?l:["country","province","city","district"],this.defaultValue=new n_((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:a("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}vu.RuntimeRules=xw;class mu extends T{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}static get controlName(){return a("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}mu.controlFieldType=C.ADDRESS,mu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Qs extends F{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}static get controlName(){return a("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Qs.controlFieldType=C.ADDRESS;var Zs={Designer:mu,Runtime:Qs,Property:vu};class Nw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gu extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ei.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Q(E))}))}}gu.RuntimeRules=Nw;class Ei extends T{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Ei.controlName=a("CMD.department",null,"\u90E8\u95E8"),Ei.controlFieldType=C.DEPARTMENTS,Ei.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 Xs extends F{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}static get controlType(){return"department"}}Xs.controlFieldType=C.DEPARTMENTS;var Js={Designer:Ei,Runtime:Xs,Property:gu};class Ra extends A{constructor(e){var i,n,u;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:"",this.caption=(n=e==null?void 0:e.caption)!=null?n:_i.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:a("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class _i extends T{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return a("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}_i.controlEventKeys=["on_change"],_i.controlFieldType=C.AUTO_NUMBER,_i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ys extends F{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ys.controlFieldType=C.AUTO_NUMBER;var ps={Designer:_i,Runtime:Ys,Property:Ra};class Lw extends z{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 $w extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:a("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class Di extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(n=e==null?void 0:e.micrometer)!=null?n:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new u_(e==null?void 0:e.dataBind),this.defaultValue=new l_(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:Ii.controlName,this.unitPosition=(r=e==null?void 0:e.unitPosition)!=null?r:"right",this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}Di.Rules=Lw,Di.RuntimeRules=$w;class Ii extends T{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return a("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}Ii.controlEventKeys=["on_change"],Ii.controlFieldType=C.CALC,Ii.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ed extends F{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"calc"}}ed.controlFieldType=C.CALC;var td={Designer:Ii,Runtime:ed,Property:Di};class Hw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(i,n){return e.required&&n.every(l=>!l)?Promise.reject(a("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class bu extends A{constructor(e){var i,n,u,l,r,c;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:["",""],this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:a("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:a("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(c=e==null?void 0:e.caption)!=null?c:Cu.controlName}}bu.RuntimeRules=Hw;class Cu extends T{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlName(){return a("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Cu.controlFieldType=C.DECIMAL_RANGE,Cu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class id extends F{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}id.controlFieldType=C.DECIMAL_RANGE;var nd={Designer:Cu,Runtime:id,Property:bu};class Vw extends x{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 Eu extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:["",""],this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(c=e==null?void 0:e.rangeMin)!=null?c:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(h=e==null?void 0:e.placeholderStart)!=null?h:a("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:a("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:_u.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new Sn(b)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}Eu.RuntimeRules=Vw;class _u extends T{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}static get controlName(){return a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}_u.controlFieldType=C.ARRAY,_u.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ud extends F{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}ud.controlFieldType=C.ARRAY;var ld={Designer:_u,Runtime:ud,Property:Eu};class jw extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class qw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class wi extends A{constructor(e){var i,n,u,l,r;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:St.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}wi.Rules=jw,wi.RuntimeRules=qw;class St extends T{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return a("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=C.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",Or.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.REQUIRED,o.IS_SHOW_CAPTION_TIP,o.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class ad extends F{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}ad.controlFieldType=C.ANY;var rd={Designer:St,Runtime:ad,Property:wi};class Ww extends Le{constructor(e){super(e),this.listPageBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Du extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[]),this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"datasource",this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Bi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new vl(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var I;(I=this.multistageFilling)==null||I.push(new Q(b))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new rt(e==null?void 0:e.formBind),this.optionDisplayConfig=(f=e==null?void 0:e.optionDisplayConfig)!=null?f:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1,this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!1}}Du.Rules=Ww;class Bi extends T{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlName(){return a("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{optionDisplayConfig:n}=this.props;i.props.optionDisplayConfig=n}return i}}Bi.controlFieldType=C.VARCHAR,Bi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.CAN_SEARCH,o.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],Bi.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class od extends F{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}od.controlFieldType=C.VARCHAR;var cd={Designer:Bi,Runtime:od,Property:Du};class Ma extends Bt{constructor(e){super(e)}}class sd extends At{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return a("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}sd.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED]},{key:"super-setting",visible:!0}];class dd extends F{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"search-input"}}dd.controlFieldType=C.VARCHAR;var hd={Designer:sd,Runtime:dd,Property:Ma};class Uw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],ln.call(this,e,Me.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:a("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class zw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ai extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m,D,R,P,M;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Me.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(c=e==null?void 0:e.optionalLevel)!=null?c:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(h=e==null?void 0:e.isShowFilterItem)!=null?h:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(f=e==null?void 0:e.isDefaultCheckSub)!=null?f:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new en((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:Me.controlCustomAttributes}),this.filterItemDatasourceBind=new en((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:Me.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(R=(D=e==null?void 0:e.multistageFilling)==null?void 0:D.map(te=>new Q(te)))!=null?R:[],this.defaultValue=(P=e==null?void 0:e.defaultValue)!=null?P:[],this.treeQuery=(M=e==null?void 0:e.treeQuery)!=null?M:[]}}Ai.Rules=Uw,Ai.RuntimeRules=zw;class Me extends T{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return a("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:a("CMD.33ee1751712159752"),required:!0}]}}Me.controlEventKeys=["on_change","on_click","on_tree_search"],Me.controlFieldType=C.ARRAY,Me.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.DEFAULT_DISPLAY,o.CONTAINS_SUB_NODE,o.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class yd extends F{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"tree"}}yd.controlFieldType=C.ARRAY;var fd={Designer:Me,Runtime:yd,Property:Ai};class Gw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},ln.call(this,e,He.controlCustomAttributes),e.externalType===Re.ASSIGN&&(this.externalScope={type:"array",required:!0,message:a("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class Kw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ti extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.range=(n=e==null?void 0:e.range)!=null?n:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:He.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:a("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new pi((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:He.controlCustomAttributes}),this.datasourceType=(f=e==null?void 0:e.datasourceType)!=null?f:fa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:va.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:Re.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.mainDeptFlag=(I=e==null?void 0:e.mainDeptFlag)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var R;(R=this.multistageFilling)==null||R.push(new Q(D))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}Ti.Rules=Gw,Ti.RuntimeRules=Kw;class He extends T{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return a("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.ffd71751712162321"),required:!0}]}}He.controlFieldType=C.EMPLOYEES,He.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],He.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP,o.MAIN_DEPT_FLAG,o.DEFAULT_SHOW_OPTIONS]},{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 vd extends F{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"employee2"}}vd.controlFieldType=C.EMPLOYEES;var md={Designer:He,Runtime:vd,Property:Ti};class Qw extends z{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:a("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((i,n,u)=>(i[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(l,r,c){if(n.type==="public"&&Zi(r.value)&&r.value.length===0){c(a("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}c()}},indexSignature:{type:"object",required:!0,validator(l,r,c){if((n==null?void 0:n.signaturePosition)==="index"&&Zi(r.value)&&r.value.length===0){c(a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}c()}},company:{type:"object",required:!0,validator(l,r,c){if(n.type==="public"&&n.signatureType.includes("company")&&Zi(r.value)&&r.value.length===0){c(a("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}c()}}}},i),{})}}}}}class Iu extends A{constructor(e){var i,n,u,l,r,c;super(e),this.command="",this.isLoading=!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Fi.controlName,this.content=(n=e==null?void 0:e.content)!=null?n:a("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(c=e==null?void 0:e.icon)!=null?c:"iconfenlei2",this.signatureConfig=new dc(e==null?void 0:e.signatureConfig)}}Iu.Rules=Qw;class Fi extends T{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}static get controlName(){return a("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Fi.controlEventKeys=["on_click","on_click_finish"],Fi.controlFieldType=C.VARCHAR,Fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.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 gd extends F{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}gd.controlFieldType=C.VARCHAR;var bd={Designer:Fi,Runtime:gd,Property:Iu};class Zw extends z{constructor(e){super(e),this.content={type:"string",required:!0,message:a("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(i,n,u){if(n.active&&!n.text){u(a("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(i,n,u){if(n.active&&!n.text){u(a("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(i,n,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(a("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class Xw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Si extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Pi.controlName,this.content=(n=e==null?void 0:e.content)!=null?n:a("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(c=e==null?void 0:e.canEdit)!=null?c:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(h=e==null?void 0:e.canExport)!=null?h:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(f=e==null?void 0:e.maxSize)!=null?f:Dw,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new hc(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}Si.Rules=Zw,Si.RuntimeRules=Xw;class Pi extends T{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return a("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Pi.controlEventKeys=["on_change","on_wps_open"],Pi.controlFieldType=C.FILE,Pi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.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 Cd extends F{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"wps"}}Cd.controlFieldType=C.FILE;var Ed={Designer:Pi,Runtime:Cd,Property:Si};class Jw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ln.call(this,e,Ve.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:a("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class Yw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Oi extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m,D,R;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ve.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new pi((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ve.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:On.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(P=>{var M;(M=this.multistageFilling)==null||M.push(new Q(P))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1,this.disabledSelectedFilters=(R=(D=e==null?void 0:e.disabledSelectedFilters)==null?void 0:D.map(P=>P.children!==void 0?new Yi(P):new $t(P)))!=null?R:[]}}Oi.Rules=Jw,Oi.RuntimeRules=Yw;class Ve extends T{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Ve.controlName=a("CMD.department",null,"\u90E8\u95E8"),Ve.controlFieldType=C.DEPARTMENTS,Ve.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP,o.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-disabled-filter",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 _d extends F{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"department2"}}_d.controlFieldType=C.DEPARTMENTS;var Dd={Designer:Ve,Runtime:_d,Property:Oi};class pw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ln.call(this,e,Pt.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:a("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class eB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ki extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m,D,R;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Pt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new pE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Pt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:On.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(D=e==null?void 0:e.showSelectedDetail)!=null?D:!1,this.selectedContentConfig=new vl(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(P=>{var M;(M=this.multistageFilling)==null||M.push(new Q(P))}))}}ki.Rules=pw,ki.RuntimeRules=eB;class Pt extends T{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return a("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Pt.controlFieldType=C.DEPARTMENTS,Pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 Id extends F{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Id.controlFieldType=C.DEPARTMENTS;var wd={Designer:Pt,Runtime:Id,Property:ki};class tB extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class iB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Ri extends A{constructor(e){var i,n,u,l,r;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Mi.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Ri.Rules=tB,Ri.RuntimeRules=iB;class Mi extends T{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return a("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return B.VUE_PAGE}}Mi.controlFieldType=C.ANY,Mi.controlEventKeys=[],Mi.setting=[];class Bd extends F{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return B.VUE_PAGE}}Bd.controlFieldType=C.ANY;var Ad={Designer:Mi,Runtime:Bd,Property:Ri},nB=Object.freeze({__proto__:null,Input:ns,Checkbox:ls,Cascader:rs,Counter:cs,Radio:ds,Number:ys,Slider:vs,Switch:gs,Tag:Cs,Barcode:_s,QrCode:Is,DatePicker:Bs,DateRange:Ts,TimePicker:Ss,TimeRange:Os,Textarea:Rs,RichText:xs,Select:Ls,SelectMultiple:Hs,Employee:js,Image:Ws,Attachment:qs,Amount:zs,Score:Ks,Address:Zs,Department:Js,AutoNumber:ps,Calc:td,SearchNumberRange:nd,SearchDateRange:ld,VueFormItem:rd,SelectRelation:cd,SearchInput:hd,Tree:fd,Employee2:md,ElectronicSignature:bd,WPS:Ed,Department2:Dd,OrganizationSelection:wd,VuePage:Ad});class Td extends N{static get controlName(){return a("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Td.excludes=[B.GRID];class uB extends ${static get controlType(){return"grid"}constructor(e){super(e)}}class lB extends k{constructor(e){super(e)}}var Fd={Designer:Td,Runtime:uB,Property:lB};const aB=24;class je extends k{constructor(e){var i,n,u;super(e),this.span=(i=e==null?void 0:e.span)!=null?i:aB,this.offset=(n=e==null?void 0:e.offset)!=null?n:0,this.isNoFull=(u=e==null?void 0:e.isNoFull)!=null?u:!1}}class xi extends N{constructor(e){super(e),this.props=new je(e==null?void 0:e.props)}static get controlName(){return a("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}xi.excludes=[B.COL,B.SUBTABLE,B.SUBTABLE_COLUMN,B.GRID_LAYOUT_CONTAINER,B.DIVIDER],xi.childrenMaxLength=1;class xa extends ${constructor(e){super(e),this.props=new je(e==null?void 0:e.props)}static get controlType(){return"col"}}var Sd={Designer:xi,Runtime:xa,Property:je};class wu extends k{constructor(e){var i,n,u,l,r;super(e),this.layoutMode=(i=e==null?void 0:e.layoutMode)!=null?i:"select",this.gutter=(n=e==null?void 0:e.gutter)!=null?n:0,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(l=e==null?void 0:e.justify)!=null?l:"",this.padding=new __(e==null?void 0:e.padding),this.margin=new E_(e==null?void 0:e.margin),this.isFull=(r=e==null?void 0:e.isFull)!=null?r:!1}}class Bu extends N{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}static get controlName(){return a("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Bu.excludes=[B.ROW],Bu.setting=[{key:"col-setting",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class Pd extends ${constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}static get controlType(){return"row"}}var Od={Designer:Bu,Runtime:Pd,Property:wu};const rB=4;class Au extends Bu{static get controlName(){return a("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Au.excludes=[B.GRID_ROW],Au.setting=[],Au.childrenMaxLength=rB;class oB extends Pd{static get controlType(){return"grid-row"}constructor(e){super(e)}}class cB extends wu{constructor(e){super(e)}}var kd={Designer:Au,Runtime:oB,Property:cB};class sB extends k.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Tu extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:a("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none",this.describe=(l=e==null?void 0:e.describe)!=null?l:"",this.position=(r=e==null?void 0:e.position)!=null?r:"left",this.captionType=(c=e==null?void 0:e.captionType)!=null?c:"default",this.borderType=(s=e==null?void 0:e.borderType)!=null?s:"none",this.divider=(h=e==null?void 0:e.divider)!=null?h:"solid",this.triggerShadow=(d=e==null?void 0:e.triggerShadow)!=null?d:"never",this.type=(f=e==null?void 0:e.type)!=null?f:"default"}}Tu.Rules=sB;class Na extends N{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlName(){return a("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Na.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:a("CMD.c9451774578995831")},{key:"common-button-radio",visible:!0,name:"divider",label:a("CMD.6bdd1774579030243"),default:"solid",options:[{value:"none",label:a("CMD.6a321774579067900")},{value:"dotted",label:a("CMD.6bf61774579053844")},{value:"solid",label:a("CMD.1d291774579055379")}],tip:a("CMD.de3f1774580653034")},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.93ae1774579004149"),default:"default",options:[{value:"default",label:a("CMD.1ef01774579045622")},{value:"card",label:a("CMD.9d551774579049605")}]},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.b1761774579005863"),default:"left",options:[{value:"left",label:a("CMD.23f71774579023855")},{value:"center",label:a("CMD.ecb71774579037654")},{value:"right",label:a("CMD.5e991774579025728")}]},{key:"common-select",visible:!0,name:"captionType",label:a("CMD.87c01774579007616"),default:"default",options:[{value:"default",label:a("CMD.1ef01774579045622")},{value:"warning",label:a("CMD.80581774579050943")},{value:"success",label:a("CMD.98331774579052281")}]},{key:"common-select",visible:!0,name:"borderType",label:a("CMD.852f1774579009314"),default:"none",options:[{value:"none",label:a("CMD.83e11774579028684")},{value:"dotted",label:a("CMD.6bf61774579053844")},{value:"solid",label:a("CMD.1d291774579055379")}]},{key:"common-select",visible:!0,name:"triggerShadow",label:a("CMD.1a941774578973189"),default:"never",options:[{value:"never",label:a("CMD.16b21774579011405")},{value:"hover",label:a("CMD.cef21774578966959")},{value:"always",label:a("CMD.74351774579013248")}]},{key:"super-setting",visible:!0}],Na.excludes=[B.CARD_GROUP];class dB extends ${constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Rd={Designer:Na,Runtime:dB,Property:Tu};class hB extends k.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:a("CMD.c7ee1777541686092")}}}class Fu extends k{constructor(e){var i,n,u,l,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:a("CMD.fbd81777541728197"),this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(u=e==null?void 0:e.captionFontWeight)!=null?u:ke.NORMAL,this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.backgroundColor=(r=e==null?void 0:e.backgroundColor)!=null?r:"#ffffff",this.showShadow=(c=e==null?void 0:e.showShadow)!=null?c:!1}}Fu.Rules=hB;class La extends N{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlName(){return a("CMD.48611777541728194")}static get controlIcon(){return"iconkongbairongqi"}static get controlType(){return"blank-container"}}La.excludes=[],La.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.4b761777541729796"),default:"left",options:[{value:"left",label:a("CMD.321d1777541743102")},{value:"center",label:a("CMD.00281777541758750")},{value:"right",label:a("CMD.534c1777541744540")}]},{key:"color",visible:!0,name:"backgroundColor",layout:"horizontal",label:a("CMD.22b11777541753145")},{key:"common-switch",visible:!0,name:"showShadow",label:a("CMD.238b1777541731433"),default:!1},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class yB extends ${constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlType(){return"blank-container"}}var Md={Designer:La,Runtime:yB,Property:Fu};class fB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:a("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Su extends k{constructor(e){var i,n,u,l,r;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(n=e==null?void 0:e.fixed)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new WE(e==null?void 0:e.metaAutoWidth)}}Su.Rules=fB;class he extends N{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}he.controlName=a("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[B.SUBTABLE,B.SUBTABLE_COLUMN,B.ROW,B.COL,B.CARD_GROUP,B.DIVIDER,B.TEXT,B.GRID_LAYOUT_CONTAINER],he.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",showItems:[o.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class xd extends ${constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}xd.controlType="subtable-column";var Nd={Designer:he,Runtime:xd,Property:Su};class $a extends k{constructor(e){super(e)}}class qe extends N{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}}qe.controlName=a("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),qe.controlType="subtable-row",qe.controlIcon="subtable-row",qe.childrenMaxLength=1,qe.excludes=[B.SUBTABLE,B.SUBTABLE_COLUMN,B.SUBTABLE_ROW,B.ROW,B.COL,B.CARD_GROUP,B.DIVIDER,B.TEXT],qe.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0}];class vB extends ${constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Ld={Designer:qe,Runtime:vB,Property:$a};class Ha extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.width=(i=e==null?void 0:e.width)!=null?i:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:C.VARCHAR,this.fieldName=(c=e==null?void 0:e.fieldName)!=null?c:"",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(h=e==null?void 0:e.decimalKeepPrecision)!=null?h:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:at.DATE,this.departmentDisplayLevel=(f=e==null?void 0:e.departmentDisplayLevel)!=null?f:1}}class We extends N{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}We.controlName=a("CMD.8ba01751712155518"),We.controlType="gridtable-column",We.controlIcon="gridtable-column",We.childrenMaxLength=1,We.excludes=[B.GRID_TABLE,B.GRID_TABLE_COLUMN,B.ROW,B.COL,B.CARD_GROUP,B.DIVIDER,B.TEXT],We.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class $d extends ${constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}$d.controlType="gridtable-column";var Hd={Designer:We,Runtime:$d,Property:Ha};class Va extends k{constructor(e){var i,n;super(e),this.childMinWidth=(i=e==null?void 0:e.childMinWidth)!=null?i:230,this.colGap=(n=e==null?void 0:e.colGap)!=null?n:24}}class ja extends N{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return a("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ja.excludes=[B.GRID_LAYOUT_CONTAINER,B.CARD_GROUP,B.TAB],ja.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class mB extends ${constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Vd={Designer:ja,Runtime:mB,Property:Va};class qa extends k{constructor(e){var i,n,u,l,r;super(e),this.mobileShowType=(i=e==null?void 0:e.mobileShowType)!=null?i:"vertical",this.type=(n=e==null?void 0:e.type)!=null?n:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(l=e==null?void 0:e.isLabelFlat)!=null?l:!1,this.isDelay=(r=e==null?void 0:e.isDelay)!=null?r:!1}}class gB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Pu extends k{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Li.controlName}}Pu.Rules=gB;class Ni extends N{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlName(){return a("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Ni.excludes=[B.TAB],Ni.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class bB extends ${constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var jd={Designer:Ni,Runtime:bB,Property:Pu};class Li extends N{constructor(e){var i;super(e),this.props=new qa(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Ni,new Ni]}static get controlName(){return a("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Li.excludes=[B.TAB],Li.controlEventKeys=["on_change_tab"],Li.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.2a051774579020300"),default:"line",options:[{value:"line",label:a("CMD.4b041774579045624")},{value:"card",label:a("CMD.f38f1774579033217")}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:a("CMD.b9af1774579022229"),default:"top",options:[{value:"top",label:a("CMD.1efb1774579069467")},{value:"bottom",label:a("CMD.24c01774579070698")},{value:"left",label:a("CMD.13f41774579072043")},{value:"right",label:a("CMD.ebe01774579073490")}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:a("CMD.65361774578950526"),default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:a("CMD.d1641774578983962"),default:!1},{key:"super-setting",visible:!0}];class CB extends ${constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var qd={Designer:Li,Runtime:CB,Property:qa};class Wd extends k{constructor(e){super(e)}}class Ud extends N{constructor(e){super(e),this.props=new Wd({}),this.children=(e==null?void 0:e.children)||[new xi({props:new je({span:12})}),new xi({props:new je({span:12})})]}static get controlName(){return a("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Ud.excludes=[B.GRID_ROW,B.ROW,B.GRID,B.SUBTABLE,B.TAB,B.TOOLBOX];class EB extends ${static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new xa({props:new je({span:12})}),new xa({props:new je({span:12})})]}}var zd={Designer:Ud,Runtime:EB,Property:Wd};class _B extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class DB extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:a("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:a("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:a("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:a("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),Sl.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const i=this.datasourceBind.find(n=>n.type==="object"&&n.fields);i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}}}class $i extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I;super(e),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.isLoading=(i=e==null?void 0:e.isLoading)!=null?i:!1,this.isShowSubList=(n=e==null?void 0:e.isShowSubList)!=null?n:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new QE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new XE(e==null?void 0:e.joinRelation),this.showType=(c=e==null?void 0:e.showType)!=null?c:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(h=e==null?void 0:e.selectionType)!=null?h:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(f=e==null?void 0:e.isShowSelection)!=null?f:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(E=e==null?void 0:e.countLimit)!=null?E:1e5,this.rowStyle=new y_(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new f_(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new v_(e==null?void 0:e.masterDetail),this.isShowDrillDownList=(I=e==null?void 0:e.isShowDrillDownList)!=null?I:!1,this.drillDownList=new C_(e==null?void 0:e.drillDownList)}}$i.Rules=DB,$i.RuntimeRules=_B;class Hi extends N{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return a("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Hi.slotPosition={left:"list-view-left-slot"},Hi.excludes=[B.ROW],Hi.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"],Hi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-tree-setting",visible:!0},{key:"list-master-detail",visible:!0},{key:"list-drill-down-setting",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class IB extends ${constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Gd={Designer:Hi,Runtime:IB,Property:$i};class wB extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ou extends k{constructor(e){var i,n,u,l,r,c,s;super(e),this.save=new Be((i=e==null?void 0:e.save)!=null?i:{content:a("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Be((n=e==null?void 0:e.cancel)!=null?n:{content:a("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Be((u=e==null?void 0:e.saveAs)!=null?u:{content:a("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Be((l=e==null?void 0:e.print)!=null?l:{content:a("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(h=>new Be(h)),this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(s=e==null?void 0:e.processFormReadonlyControlMode)!=null?s:"disabled"}}Ou.RuntimeRules=wB;class Kd extends N{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}static get controlName(){return a("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Kd.excludes=[];class BB extends ${constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Qd={Designer:Kd,Runtime:BB,Property:Ou};class AB extends N{static get controlName(){return a("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class TB extends ${static get controlType(){return"page"}constructor(e){super(e)}}class FB extends k{constructor(e){var i;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(i=e==null?void 0:e.hideHeader)!=null?i:!1}}var Zd={Designer:AB,Runtime:TB,Property:FB};class SB extends N{static get controlName(){return a("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class PB extends ${static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class OB extends k{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new bc(e==null?void 0:e.flexConfig)}}var Xd={Designer:SB,Runtime:PB,Property:OB};class kB extends N{static get controlName(){return a("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class RB extends ${static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class MB extends k{constructor(e){super(e)}}var Jd={Designer:kB,Runtime:RB,Property:MB};class xB extends N{static get controlName(){return a("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class NB extends ${static get controlType(){return"position"}constructor(e){super(e)}}class LB extends k{constructor(e){var i,n,u,l;super(e),this.widthSpan=(i=e==null?void 0:e.widthSpan)!=null?i:12,this.heightSpan=(n=e==null?void 0:e.heightSpan)!=null?n:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(l=e==null?void 0:e.top)!=null?l:0}}var Yd={Designer:xB,Runtime:NB,Property:LB};class Wa extends k{constructor(e){var i,n,u;super(e),this.position=(i=e==null?void 0:e.position)!=null?i:"bottom",this.opacity=(n=e==null?void 0:e.opacity)!=null?n:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class ku extends N{constructor(e){var i;super(e),this.props=new Wa((i=e==null?void 0:e.props)!=null?i:{})}static get controlName(){return a("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}ku.slotPosition={default:"action-bar-slot"},ku.excludes=[],ku.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class $B extends ${constructor(e){var i;super(e),this.props=new Wa((i=e==null?void 0:e.props)!=null?i:{})}static get controlType(){return"action-bar"}}var pd={Designer:ku,Runtime:$B,Property:Wa};class Ua extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f,g;super(e),this.direction=(i=e==null?void 0:e.direction)!=null?i:"horizontal",this.labelPlacement=(n=e==null?void 0:e.labelPlacement)!=null?n:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(l=e==null?void 0:e.type)!=null?l:"default",this.isSticky=(r=e==null?void 0:e.isSticky)!=null?r:!1,this.step=(c=e==null?void 0:e.step)!=null?c:"",this.isCenter=(s=e==null?void 0:e.isCenter)!=null?s:!1,this.isStopStepClick=(h=e==null?void 0:e.isStopStepClick)!=null?h:!0,this.status=(d=e==null?void 0:e.status)!=null?d:"process",this.stopStatus=(f=e==null?void 0:e.stopStatus)!=null?f:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new w_(e==null?void 0:e.stepButtons)}}class za extends k{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.title=(i=e==null?void 0:e.title)!=null?i:"",this.subTitle=(n=e==null?void 0:e.subTitle)!=null?n:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(r=e==null?void 0:e.color)!=null?r:"",this.status=(c=e==null?void 0:e.status)!=null?c:"wait",this.description=(s=e==null?void 0:e.description)!=null?s:"",this.isDefault=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class Ot extends N{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return a("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Ot.excludes=[B.TAB],Ot.setting=[];class HB extends ${constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var eh={Designer:Ot,Runtime:HB,Property:za};class Ru extends N{constructor(e){var i;super(e),this.props=new Ua(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Ot,new Ot,new Ot]}static get controlName(){return a("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}Ru.excludes=[],Ru.controlEventKeys=["on_change_steps"],Ru.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:a("CMD.924f1774579018766"),default:!1,tip:a("CMD.16b71774578977696")},{key:"common-switch",visible:!0,name:"isStopStepClick",label:a("CMD.2d331774578964504"),default:!0},{key:"common-select",visible:!0,name:"status",label:a("CMD.bd571774578979668"),default:"process",options:[{value:"wait",label:a("CMD.69fe1774579059983")},{value:"process",label:a("CMD.0d9e1774579031802")},{value:"finish",label:a("CMD.b1021774579061754")},{value:"error",label:a("CMD.a24d1774579063219")}]},{key:"common-select",visible:!0,name:"stopStatus",label:a("CMD.328c1774578981653"),default:"finish",options:[{value:"wait",label:a("CMD.69fe1774579059983")},{value:"process",label:a("CMD.0d9e1774579031802")},{value:"finish",label:a("CMD.b1021774579061754")},{value:"error",label:a("CMD.a24d1774579063219")}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class VB extends ${constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"step"}}var th={Designer:Ru,Runtime:VB,Property:Ua};class Ga extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I;super(e),this.rowCount=(i=e==null?void 0:e.rowCount)!=null?i:2,this.colCount=(n=e==null?void 0:e.colCount)!=null?n:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(l=e==null?void 0:e.colWidthType)!=null?l:"average",this.colWidth=(r=e==null?void 0:e.colWidth)!=null?r:"12:12",this.isLabelBold=(c=e==null?void 0:e.isLabelBold)!=null?c:!1,this.labelWidth=(s=e==null?void 0:e.labelWidth)!=null?s:"",this.align=(h=e==null?void 0:e.align)!=null?h:"",this.verticalAlign=(d=e==null?void 0:e.verticalAlign)!=null?d:"center",this.padding=(f=e==null?void 0:e.padding)!=null?f:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(g=e==null?void 0:e.margin)!=null?g:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(E=e==null?void 0:e.border)!=null?E:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(_=e==null?void 0:e.borderRadius)!=null?_:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(b=e==null?void 0:e.background)!=null?b:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(I=e==null?void 0:e.innerBorder)!=null?I:{borderWidth:1,borderColor:"",borderType:"solid"}}}class Ka extends N{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return a("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}Ka.excludes=[],Ka.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"label-bold",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class jB extends ${constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var ih={Designer:Ka,Runtime:jB,Property:Ga};class Qa extends k{constructor(e){var i,n;super(e),this.layoutMode=(i=e==null?void 0:e.layoutMode)!=null?i:"select",this.gutter=(n=e==null?void 0:e.gutter)!=null?n:0}}class Za extends N{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}Za.excludes=[B.ROW,B.TABLE_LAYOUT_ROW],Za.setting=[{key:"col-setting",visible:!0}];class qB extends ${constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var nh={Designer:Za,Runtime:qB,Property:Qa};const WB=24;class Xa extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.span=(i=e==null?void 0:e.span)!=null?i:WB,this.offset=(n=e==null?void 0:e.offset)!=null?n:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(l=e==null?void 0:e.tableLayoutColSpanType)!=null?l:"",this.layout=(r=e==null?void 0:e.layout)!=null?r:"flex",this.flexDirection=(c=e==null?void 0:e.flexDirection)!=null?c:"column",this.alignItems=(s=e==null?void 0:e.alignItems)!=null?s:"flex-start",this.justifyContent=(h=e==null?void 0:e.justifyContent)!=null?h:"flex-start",this.background=(d=e==null?void 0:e.background)!=null?d:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(f=e==null?void 0:e.isLabelCol)!=null?f:!1}}class Ja extends N{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}Ja.excludes=[B.COL,B.SUBTABLE_COLUMN,B.GRID_LAYOUT_CONTAINER,B.TABLE_LAYOUT_COL],Ja.setting=[{key:"col-span",visible:!0},{key:"is-label-col",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0},{key:"dynamic-background",visible:!0}];class UB extends ${constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var uh={Designer:Ja,Runtime:UB,Property:Xa};class Ya extends k{constructor(e){var i,n,u;super(e),this.width=(i=e==null?void 0:e.width)!=null?i:"",this.widthCompany=(n=e==null?void 0:e.widthCompany)!=null?n:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class pa extends N{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}pa.excludes=[],pa.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class zB extends ${constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var lh={Designer:pa,Runtime:zB,Property:Ya};class er extends k{constructor(e){var i,n;super(e),this.accordion=(i=e==null?void 0:e.accordion)!=null?i:!1,this.bordered=(e==null?void 0:e.bordered)!==!1,this.isShowHighlightBar=(n=e==null?void 0:e.isShowHighlightBar)!=null?n:!1}}class tr extends k{constructor(e){var i;super(e),this.header=(i=e==null?void 0:e.header)!=null?i:a("CMD.08411774579056771")}}class Vi extends N{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlName(){return a("CMD.e2b61774578975402")}static get controlType(){return"collapse-pane"}static get controlIcon(){return"collapse-pane"}}Vi.excludes=[B.TAB],Vi.setting=[];class GB extends ${constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var ah={Designer:Vi,Runtime:GB,Property:tr};class Mu extends N{constructor(e){var i;super(e),this.props=new er(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Vi,new Vi]}static get controlName(){return a("CMD.0c811774579014810")}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}Mu.excludes=[],Mu.controlEventKeys=["on_change_collapse"],Mu.setting=[{key:"common-switch",visible:!0,name:"accordion",label:a("CMD.48f31774578989481"),default:!1},{key:"common-switch",visible:!0,name:"bordered",label:a("CMD.02b21774579016858"),default:!0},{key:"common-switch",visible:!0,name:"isShowHighlightBar",label:a("CMD.41b81774578953649"),default:!1},{key:"collapse-pane",visible:!0}];class KB extends ${constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var rh={Designer:Mu,Runtime:KB,Property:er},QB=Object.freeze({__proto__:null,Grid:Fd,Col:Sd,Row:Od,GridRow:kd,CardGroup:Rd,BlankContainer:Md,SubTableColumn:Nd,SubTableRow:Ld,GridTableColumn:Hd,GridLayoutContainer:Vd,Tab:qd,TabPane:jd,Toolbox:zd,ListView:Gd,DataView:Qd,Page:Zd,AdvancedContainer:Xd,PositioningContainer:Jd,Position:Yd,ActionBar:pd,Step:th,StepPane:eh,TableLayout:ih,TableLayoutRow:nh,TableLayoutCol:uh,TableLayoutWrapper:lh,Collapse:rh,CollapsePane:ah});class ZB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:a("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:a("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:a("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:a("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class XB extends Ne{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:a("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(i,n,u){n.length<e.limitRows&&u(a("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:a("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const oh=class extends mn{constructor(t,e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m,D,R,P,M,te,V,le,Ui,_e,Ku,zi,kt,De,xh,Nh,Lh,$h,Hh,Vh;super(t,e,oh.mode),this.caption=(i=e==null?void 0:e.caption)!=null?i:qi.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(c=e==null?void 0:e.formKey)!=null?c:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(h=e==null?void 0:e.maxHeight)!=null?h:mc,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(f=e==null?void 0:e.limitRows)!=null?f:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(E=e==null?void 0:e.defaultRows)!=null?E:1,this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(b=e==null?void 0:e.canDelete)!=null?b:!0,this.canCheck=(I=e==null?void 0:e.canCheck)!=null?I:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(D=e==null?void 0:e.canImport)!=null?D:!1,this.canExport=(R=e==null?void 0:e.canExport)!=null?R:!1,this.canClear=(P=e==null?void 0:e.canClear)!=null?P:!0,this.serverPagination=(M=e==null?void 0:e.serverPagination)!=null?M:!1,this.isShowCaptionTip=(te=e==null?void 0:e.isShowCaptionTip)!=null?te:!1,this.captionTip=(V=e==null?void 0:e.captionTip)!=null?V:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Ui=e==null?void 0:e.mobileDefaultNum)!=null?Ui:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new UE,this.fixedColumn=(Ku=e==null?void 0:e.fixedColumn)!=null?Ku:[],this.mobileRowCaption=(zi=e==null?void 0:e.mobileRowCaption)!=null?zi:a("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(kt=e==null?void 0:e.mobileIsTile)!=null?kt:!1,this.isPaste=(De=e==null?void 0:e.isPaste)!=null?De:!1,this.pageSize=(xh=e==null?void 0:e.pageSize)!=null?xh:10,this.pageSizeOptions=(Nh=e==null?void 0:e.pageSizeOptions)!=null?Nh:[10,20,50,100],this.importConfig=new fc(e==null?void 0:e.importConfig),this.exportConfig=new vc(e==null?void 0:e.exportConfig),this.sortable=(Lh=e==null?void 0:e.sortable)!=null?Lh:!1,this.sortKey=($h=e==null?void 0:e.sortKey)!=null?$h:{},this.showTableIndex=(Hh=e==null?void 0:e.showTableIndex)!=null?Hh:!0,this.triggerEdit=(Vh=e==null?void 0:e.triggerEdit)!=null?Vh:"single"}};let ji=oh;ji.Rules=ZB,ji.RuntimeRules=XB;class qi extends ql{constructor(e){var i;super(e),this.props=new ji(this,e==null?void 0:e.props),((i=e==null?void 0:e.props)==null?void 0:i.headers)===void 0&&(this.props.headers=[new he,new he,new he])}static get controlName(){return a("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,i){const n=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:i;return u===void 0?this.props.headers.push(n):this.props.headers.splice(u,0,n),n}}qi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],qi.slotPosition={toolbar:"subtable-toolbar-slot"},qi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.IS_PASTE,o.SERVER_PAGINATION,o.SORTABLE,o.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:a("CMD.65531774578985876"),default:"single",options:[{value:"single",label:a("CMD.315e1774579064681")},{value:"double",label:a("CMD.22281774579066498")}]},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class JB extends Qo{constructor(e){super(e),this.props=new ji(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var ch={Designer:qi,Runtime:JB,Property:ji};class ir extends mn{constructor(e,i){var n,u,l,r,c;super(e,i),this.isFixedHeader=(n=i==null?void 0:i.isFixedHeader)!=null?n:!1,this.selectionType=i==null?void 0:i.selectionType,this.isShowToolbar=(u=i==null?void 0:i.isShowToolbar)!=null?u:!0,this.isShowSelection=(l=i==null?void 0:i.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(r=i==null?void 0:i.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(c=i==null?void 0:i.pageSizeOptions)!=null?c:[10,20,50,100,500]}}class YB extends be{constructor(e){super(e),this.caption.required=!1}}class xu extends G{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.fixed=(i=e==null?void 0:e.fixed)!=null?i:"left",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?r:60,this.autoWidth.flex=(s=(c=e==null?void 0:e.autoWidth)==null?void 0:c.flex)!=null?s:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}xu.Rules=YB;class Ue extends X{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}}Ue.controlType="order-column",Ue.controlName=a("CMD.order",null,"\u5E8F\u53F7"),Ue.controlIcon="order-column",Ue.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class nr extends J{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}}nr.controlType="order-column",nr.controlFieldType=C.DECIMAL;var sh={Designer:Ue,Runtime:nr,Property:xu};class ur extends G{constructor(e){var i,n,u,l,r,c;super(e),this.fixed=(i=e==null?void 0:e.fixed)!=null?i:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(n=e==null?void 0:e.autoWidth)==null?void 0:n.minWidth)!=null?u:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(c=e==null?void 0:e.limit)!=null?c:3}}class Ce extends X{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(i=>{if(i.type===Yn.controlType){const n=i;e.props[n.props.command]=n.props}}),e}validate(e,i){return Sr(this,null,function*(){return yield Fr(Ce.prototype,this,"validate").call(this,e,i),yield Promise.all(this.children.map(n=>n.validate(e,i))),!0})}}Ce.controlType="operation-column",Ce.controlName=a("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[o.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},{key:"super-setting",visible:!0}];class lr extends J{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}lr.controlType="operation-column",lr.controlFieldType=C.FILE;var dh={Designer:Ce,Runtime:lr,Property:ur};const pB=1e4;class ze extends ql{constructor(e){super(e);const{excludes:i,childrenMaxLength:n}=new.target;this.props=new ir(this,e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ue,new Ce]),this.excludes=ce(i),this.childrenMaxLength=n}static get controlName(){return a("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return i&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),i=this.children.map(n=>n.toSchema());return Tr(lt({},e),{children:i})}validate(e,i){return Sr(this,null,function*(){return yield Fr(ze.prototype,this,"validate").call(this,e,i),yield Promise.all(this.children.map(n=>n.validate(e,i))),!0})}}ze.slotPosition={toolbar:"grid-table-toolbar-slot"},ze.setting=[{key:"list-fixed-header",visible:!0}],ze.excludes=[],ze.childrenMaxLength=pB;class e8 extends Qo{constructor(e){super(e),this.props=new ir(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var hh={Designer:ze,Runtime:e8,Property:ir},t8=Object.freeze({__proto__:null,SubTable:ch,GridTable:hh});class i8 extends Zl{constructor(e){super(e),Pe.call(this,e)}}class Nu extends G{constructor(e){var i,n,u,l,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ge.controlName,this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.dictionaryTagConfig=(c=e==null?void 0:e.dictionaryTagConfig)!=null?c:{isTag:!1}}}Nu.Rules=i8;class Ge extends X{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}}Ge.controlType="varchar-column",Ge.controlName=a("CMD.varchar",null,"\u77ED\u6587\u672C"),Ge.controlIcon="varchar-column",Ge.controlFieldType=C.VARCHAR,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class ar extends J{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}}ar.controlType="varchar-column",ar.controlFieldType=C.VARCHAR;var yh={Designer:Ge,Runtime:ar,Property:Nu};class n8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Lu extends G{constructor(e){var i,n,u,l;super(e),this.escapeHTML=(i=e==null?void 0:e.escapeHTML)!=null?i:!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}Lu.Rules=n8;class Ke extends X{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{escapeHTML:n}=this.props;i.props.escapeHTML=n}return i}}Ke.controlType="text-column",Ke.controlName=a("CMD.long",null,"\u957F\u6587\u672C"),Ke.controlIcon="text-column",Ke.controlFieldType=C.TEXT,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class rr extends J{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}}rr.controlType="text-column",rr.controlFieldType=C.TEXT;var fh={Designer:Ke,Runtime:rr,Property:Lu};class u8 extends Zl{constructor(e){super(e),Pe.call(this,e)}}class $u extends G{constructor(e){var i,n,u,l,r,c,s;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Qe.controlName,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.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.options=de((c=e==null?void 0:e.options)!=null?c:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}$u.Rules=u8;class Qe extends X{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}Qe.controlType="decimal-column",Qe.controlName=a("CMD.decimal",null,"\u6570\u503C"),Qe.controlIcon="decimal-column",Qe.controlFieldType=C.DECIMAL,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[o.MICROMETER,o.PRECISION,o.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class or extends J{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}}or.controlType="decimal-column",or.controlFieldType=C.DECIMAL;var vh={Designer:Qe,Runtime:or,Property:$u};class l8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Hu extends G{constructor(e){var i,n,u,l;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Hu.Rules=l8;class Ze extends X{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}Ze.controlType="timescope-column",Ze.controlName=a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ze.controlIcon="timescope-column",Ze.controlFieldType=C.TIMESCOPE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class cr extends J{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}}cr.controlType="timescope-column",cr.controlFieldType=C.TIMESCOPE;var mh={Designer:Ze,Runtime:cr,Property:Hu};class a8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Vu extends G{constructor(e){var i,n,u,l;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Xe.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Vu.Rules=a8;class Xe extends X{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}Xe.controlType="timestamp-column",Xe.controlName=a("CMD.timestamp",null,"\u65E5\u671F"),Xe.controlIcon="timestamp-column",Xe.controlFieldType=C.TIMESTAMP,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class sr extends J{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}}sr.controlType="timestamp-column",sr.controlFieldType=C.TIMESTAMP;var gh={Designer:Xe,Runtime:sr,Property:Vu};class r8 extends Zl{constructor(e){super(e),Pe.call(this,e)}}class ju extends G{constructor(e){var i,n,u,l;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Je.controlName,this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}ju.Rules=r8;class Je extends X{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}}Je.controlType="array-column",Je.controlName=a("CMD.array",null,"\u6570\u7EC4"),Je.controlIcon="array-column",Je.controlFieldType=C.ARRAY,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class dr extends J{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}}dr.controlType="array-column",dr.controlFieldType=C.ARRAY;var bh={Designer:Je,Runtime:dr,Property:ju};class hr extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ye.controlName,this.displayLevel=(n=e==null?void 0:e.displayLevel)!=null?n:1}}class Ye extends X{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{displayLevel:n}=this.props;i.props.displayLevel=n}return i}}Ye.controlType="department-column",Ye.controlName=a("CMD.department",null,"\u90E8\u95E8"),Ye.controlIcon="department-column",Ye.controlFieldType=C.DEPARTMENTS,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class yr extends J{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}yr.controlType="department-column",yr.controlFieldType=C.DEPARTMENTS;var Ch={Designer:Ye,Runtime:yr,Property:hr};class o8 extends be{constructor(e){super(e),Pe.call(this,e)}}class qu extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:pe.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}qu.Rules=o8;class pe extends X{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}}pe.controlType="auto-number-column",pe.controlName=a("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),pe.controlIcon="auto-number-column",pe.controlFieldType=C.AUTO_NUMBER,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class fr extends J{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}}fr.controlType="auto-number-column",fr.controlFieldType=C.AUTO_NUMBER;var Eh={Designer:pe,Runtime:fr,Property:qu};class vr extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:et.controlName,this.operation=(n=e==null?void 0:e.operation)!=null?n:["info","preview","download"]}}class et extends X{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}}et.controlType="file-column",et.controlName=a("CMD.file",null,"\u9644\u4EF6"),et.controlIcon="file-column",et.controlFieldType=C.FILE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class mr extends J{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}}mr.controlType="file-column",mr.controlFieldType=C.FILE;var _h={Designer:et,Runtime:mr,Property:vr};class gr extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:tt.controlName}}class tt extends X{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}tt.controlType="image-column",tt.controlName=a("CMD.image",null,"\u56FE\u7247"),tt.controlIcon="image-column",tt.controlFieldType=C.IMAGE,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class br extends J{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="image-column",br.controlFieldType=C.IMAGE;var Dh={Designer:tt,Runtime:br,Property:gr};class Cr extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:it.controlName}}class it extends X{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}it.controlType="people-column",it.controlName=a("CMD.people",null,"\u4EBA\u5458"),it.controlIcon="people-column",it.controlFieldType=C.EMPLOYEES,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Er extends J{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}Er.controlType="people-column",Er.controlFieldType=C.EMPLOYEES;var Ih={Designer:it,Runtime:Er,Property:Cr};class c8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Wu extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:nt.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}Wu.Rules=c8;class nt extends X{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}}nt.controlType="location-column",nt.controlName=a("CMD.location",null,"\u5730\u5740"),nt.controlIcon="location-column",nt.controlFieldType=C.ADDRESS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class _r extends J{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}}_r.controlType="location-column",_r.controlFieldType=C.ADDRESS;var wh={Designer:nt,Runtime:_r,Property:Wu};class s8 extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:a("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Uu extends G{constructor(e){var i,n,u;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ee.controlName,this.fieldCodeList=(n=e==null?void 0:e.fieldCodeList)!=null?n:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}Uu.Rules=s8;const d8=1;class Ee extends X{constructor(e){super(e);const{excludes:i,childrenMaxLength:n}=new.target;this.props=new Uu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(i),this.childrenMaxLength=n}judgeJoinChildren(e){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return i&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{fieldCodeList:n}=this.props;i.props.fieldCodeList=n}return i}}Ee.controlType="custom-column",Ee.controlName=a("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=d8,Ee.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class Bh extends J{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Bh.controlType="custom-column";var Ah={Designer:Ee,Runtime:Bh,Property:Uu};class Dr extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:xe.controlName,this.datasourceBind=new pi((n=e==null?void 0:e.datasourceBind)!=null?n:{attributes:xe.controlCustomAttributes})}}class xe extends X{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=a("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=C.EMPLOYEES,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ir extends J{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}Ir.controlType="employee-column",Ir.controlFieldType=C.EMPLOYEES;var Th={Designer:xe,Runtime:Ir,Property:Dr};class wr extends G{constructor(e){var i,n,u;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ut.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class ut extends X{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}ut.controlType="approval-status-column",ut.controlName=a("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),ut.controlIcon="approval-status-column",ut.excludes=[],ut.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Fh extends J{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}Fh.controlType="approval-status-column";var Sh={Designer:ut,Runtime:Fh,Property:wr};class Br extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:""}}class Wi extends X{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}}Wi.controlType="group-column",Wi.controlName=a("CMD.43541769566517351"),Wi.controlIcon="group-column",Wi.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ph extends J{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Ph.controlType="group-column";var Oh={Designer:Wi,Runtime:Ph,Property:Br},h8=Object.freeze({__proto__:null,VarcharColumn:yh,TextColumn:fh,DecimalColumn:vh,TimescopeColumn:mh,TimestampColumn:gh,ArrayColumn:bh,DepartmentColumn:Ch,AutoNumberColumn:Eh,FileColumn:_h,ImageColumn:Dh,PeopleColumn:Ih,LocationColumn:wh,CustomColumn:Ah,OrderColumn:sh,OperationColumn:dh,EmployeeColumn:Th,ApprovalStatusColumn:Sh,GroupColumn:Oh});class y8 extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class zu extends ea{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.searchType=(i=e==null?void 0:e.searchType)!=null?i:"model",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 Be((l=e==null?void 0:e.search)!=null?l:{content:a("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Be((r=e==null?void 0:e.cancel)!=null?r:{content:a("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(_=>new Be(_)),this.queryTypeMap=(h=e==null?void 0:e.queryTypeMap)!=null?h:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(f=e==null?void 0:e.colGap)!=null?f:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}zu.RuntimeRules=y8;class Gu extends CD{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}}Gu.controlType="simple-search",Gu.slotPosition={default:"search"},Gu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"search-view-type",visible:!0}];class kh extends AD{constructor(e){var i;super(e),this.props=new zu(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[]}}kh.controlType="simple-search";var Rh={Designer:Gu,Runtime:kh,Property:zu},f8=Object.freeze({__proto__:null,SimpleSearch:Rh});class Ar extends ua{constructor(e){var i;super(e),this.wholeRow=(i=e==null?void 0:e.wholeRow)!=null?i:!1}}class v8 extends HD{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlName(){return a("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class m8 extends GD{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function A8(t){return t}var g8={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:a("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Mh={Designer:v8,Runtime:m8,Property:Ar,Setting:g8},b8=Object.freeze({__proto__:null,GridLayoutWrap:Mh});v.ActionBar=pd,v.ActionSetting=ha,v.Address=Zs,v.AdvancedContainer=Xd,v.Amount=zs,v.ApprovalStatusColumn=Sh,v.ArrayColumn=bh,v.AssignType=Re,v.Attachment=qs,v.AutoNumber=ps,v.AutoNumberColumn=Eh,v.BarChart=qc,v.Barcode=_s,v.BatchDeleteButton=Yc,v.BatchPrintListButton=Zc,v.BatchPrintRecordListButton=Xc,v.BatchSubmissionListButton=Pc,v.BlankContainer=Md,v.Button=Bc,v.Calc=td,v.CardGroup=Rd,v.Cascader=rs,v.Checkbox=ls,v.Col=Sd,v.Collapse=rh,v.CollapsePane=ah,v.CommentControl=ts,v.Counter=cs,v.CreateFormListButton=Sc,v.CustomColumn=Ah,v.DATE_CONFIG_TYPE=cc,v.DATE_LIMIT_TYPE=sc,v.Dashboard=jc,v.DataView=Qd,v.DatePicker=Bs,v.DateRange=Ts,v.DecimalColumn=vh,v.Department=Js,v.Department2=Dd,v.DepartmentColumn=Ch,v.DepartmentType=On,v.Divider=Tc,v.ElectronicSignature=bd,v.ElectronicSignatureConfig=dc,v.Employee=js,v.Employee2=md,v.EmployeeColumn=Th,v.EncryptTypeEnum=Cc,v.Explain=Pn,v.ExportConfig=vc,v.ExportListButton=kc,v.ExportRecordListButton=Rc,v.ExportTemplate=Wt,v.FONT_WEIGHT=ke,v.FileColumn=_h,v.FlexStyleConfig=bc,v.FormSelectButton=Nc,v.Grid=Fd,v.GridLayoutContainer=Vd,v.GridLayoutWrap=Mh,v.GridRow=kd,v.GridTable=hh,v.GridTableColumn=Hd,v.GroupColumn=Oh,v.Iframe=wc,v.Image=Ws,v.ImageColumn=Dh,v.ImageCompressType=ma,v.ImportConfig=fc,v.ImportListBind=yc,v.ImportRecordListButton=Mc,v.Input=ns,v.InternalType=va,v.InvoiceCheckButton=Qc,v.LINE_STYLE=ca,v.LimitDate=Sn,v.LimitTime=ra,v.LineChart=Wc,v.Link=Dc,v.ListHeightSetting=ya,v.ListSelectButton=Lc,v.ListView=Gd,v.ListViewSelect=Gc,v.LocationColumn=wh,v.Number=ys,v.OperationButton=Jc,v.OperationColumn=dh,v.OrderColumn=sh,v.OrganizationSelection=wd,v.OrganizeType=fa,v.Page=Zd,v.Pagination=Hc,v.PeopleColumn=Ih,v.PieChart=Uc,v.Position=Yd,v.PositioningContainer=Jd,v.PrintTemplate=gc,v.QrCode=Is,v.Radio=ds,v.ReferenceList=pc,v.RichText=xs,v.Row=Od,v.SCORE_TYPE=oa,v.SUBTABLE_DEFAULT_MAX_HEIGHT=mc,v.Score=Ks,v.SearchDateRange=ld,v.SearchInput=hd,v.SearchNumberRange=nd,v.Select=Ls,v.SelectMultiple=Hs,v.SelectRelation=cd,v.SimpleSearch=Rh,v.Slider=vs,v.Step=th,v.StepPane=eh,v.SubTable=ch,v.SubTableColumn=Nd,v.SubTableRow=Ld,v.SubmissionRecordListButton=Oc,v.Switch=gs,v.Tab=qd,v.TabPane=jd,v.TableLayout=ih,v.TableLayoutCol=uh,v.TableLayoutRow=nh,v.TableLayoutWrapper=lh,v.Tag=Cs,v.Text=_c,v.TextColumn=fh,v.TextOcrButton=Kc,v.Textarea=Rs,v.TimePicker=Ss,v.TimeRange=Os,v.TimescopeColumn=mh,v.TimestampColumn=gh,v.Title=Fc,v.TitleConfigEnum=Oe,v.Toolbox=zd,v.Tree=fd,v.UndersignedPerson=sa,v.VarcharColumn=yh,v.VueFormItem=rd,v.VuePage=Ad,v.WPS=Ed,v.WPSSetting=hc,v.WpsOperationItem=da,v.baseControls=GI,v.columnControls=h8,v.formControls=nB,v.initExpression=Ut,v.layoutControls=QB,v.listControls=t8,v.searchControls=f8,v.wrapControls=b8,Object.defineProperty(v,"__esModule",{value:!0})});
|
|
8
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wo(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){gn(t,u,i[u])})}return t}function T6(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function Uo(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):T6(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function F6(t,e){return e&&(O6(e)==="object"||typeof e=="function")?e:C6(t)}function jl(t,e){return jl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},jl(t,e)}function S6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function zo(t){return b6(t)||B6(t)||k6(t)||A6()}function P6(t,e){var i,n,u,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},r=Object.create((typeof Iterator=="function"?Iterator:Object).prototype),c=Object.defineProperty;return c(r,"next",{value:s(0)}),c(r,"throw",{value:s(1)}),c(r,"return",{value:s(2)}),typeof Symbol=="function"&&c(r,Symbol.iterator,{value:function(){return this}}),r;function s(d){return function(f){return h([d,f])}}function h(d){if(i)throw new TypeError("Generator is already executing.");for(;r&&(r=0,d[0]&&(l=0)),l;)try{if(i=1,n&&(u=d[0]&2?n.return:d[0]?n.throw||((u=n.return)&&u.call(n),0):n.next)&&!(u=u.call(n,d[1])).done)return u;switch(n=0,u&&(d=[d[0]&2,u.value]),d[0]){case 0:case 1:u=d;break;case 4:return l.label++,{value:d[1],done:!1};case 5:l.label++,n=d[1],d=[0];continue;case 7:d=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(d[0]===6||d[0]===2)){l=0;continue}if(d[0]===3&&(!u||d[1]>u[0]&&d[1]<u[3])){l.label=d[1];break}if(d[0]===6&&l.label<u[1]){l.label=u[1],u=d;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(d);break}u[2]&&l.ops.pop(),l.trys.pop();continue}d=e.call(t,l)}catch(f){d=[6,f],n=0}finally{i=u=0}if(d[0]&5)throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}}function O6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function k6(t,e){if(!!t){if(typeof t=="string")return Vl(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);if(i==="Object"&&t.constructor&&(i=t.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Vl(t,e)}}var ql=function(t){w6(e,t);function e(i){D6(this,e);var n;return n=_6(this,e,[i]),gn(n,"controlType","list"),gn(n,"props",void 0),n.props=new mn(n,i==null?void 0:i.props,"Designer"),n}return I6(e,[{key:"validate",value:function(n,u){var l=this,r=this,c=function(){return dt(Se(e.prototype),"validate",l)};return E6(function(){return P6(this,function(s){switch(s.label){case 0:return[4,c().call(r,n)];case 1:return s.sent(),[4,Promise.all(this.props.headers.map(function(h){return h.validate(n,u)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var n=dt(Se(e.prototype),"toDataBindModel",this).call(this),u=n?[n]:[],l=this.id;return this.props.headers.reduce(function(r,c){var s=c.toDataBindModel(l);if(Array.isArray(s)){var h=s.filter(function(d){return!!d});return zo(r).concat(zo(h))}return s&&r.push(s),r},u)}},{key:"toSchema",value:function(){var n=dt(Se(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(l){return l.toSchema()});return Uo(Wo({},n),{props:Uo(Wo({},this.props),{headers:u})})}}]),e}(O);gn(ql,"controlFieldType",C.LIST);function R6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function M6(t,e,i){return e=bn(e),$6(t,Ko()?Reflect.construct(e,i||[],bn(t).constructor):e.apply(t,i))}function x6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Go(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function N6(t,e,i){return e&&Go(t.prototype,e),i&&Go(t,i),t}function Wl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},bn(t)}function L6(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&&Ul(t,e)}function Ko(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ko=function(){return!!t})()}function $6(t,e){return e&&(H6(e)==="object"||typeof e=="function")?e:R6(t)}function Ul(t,e){return Ul=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ul(t,e)}function H6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var Qo=function(t){L6(e,t);function e(i){x6(this,e);var n;return n=M6(this,e,[i]),Wl(n,"controlType","list"),Wl(n,"children",void 0),Wl(n,"props",void 0),n.props=new mn(n,i==null?void 0:i.props,"Runtime"),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return N6(e,[{key:"length",get:function(){return this.children.length}}]),e}(q);function V6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zl(t,e,i){return e=Cn(e),j6(t,Zo()?Reflect.construct(e,i||[],Cn(t).constructor):e.apply(t,i))}function Gl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Cn(t)}function Kl(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&&Ql(t,e)}function Zo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zo=function(){return!!t})()}function j6(t,e){return e&&(q6(e)==="object"||typeof e=="function")?e:V6(t)}function Ql(t,e){return Ql=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Ql(t,e)}function q6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var be=function(t){Kl(e,t);function e(i){Gl(this,e);var n;return n=zl(this,e,[i]),Y(n,"caption",{type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Y(n,"width",{type:"number",required:!1,message:a("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),n.width.required=i.widthType==="px",n}return e}(U),G=function(t){Kl(e,t);function e(i){Gl(this,e);var n,u,l,r,c,s;return n=zl(this,e,[i]),Y(n,"widthType",void 0),Y(n,"width",void 0),Y(n,"caption",void 0),Y(n,"dataBind",void 0),Y(n,"autoWidth",void 0),Y(n,"fixed",void 0),Y(n,"sort",void 0),Y(n,"align",void 0),Y(n,"colSpan",void 0),Y(n,"autoHeight",void 0),Y(n,"children",void 0),n.width=(u=i==null?void 0:i.width)!==null&&u!==void 0?u:150,n.widthType=(i==null?void 0:i.widthType)||"auto",n.caption=(l=i==null?void 0:i.caption)!==null&&l!==void 0?l:"",n.fixed=(r=i==null?void 0:i.fixed)!==null&&r!==void 0?r:"none",n.autoWidth=new eo(i==null?void 0:i.autoWidth),n.dataBind=new ye(i==null?void 0:i.dataBind),n.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!0,n.align=i==null?void 0:i.align,n.colSpan=i==null?void 0:i.colSpan,n.autoHeight=(s=i==null?void 0:i.autoHeight)!==null&&s!==void 0?s:!1,n}return e}(j);Y(G,"Rules",be);var Zl=function(t){Kl(e,t);function e(i){Gl(this,e);var n;return n=zl(this,e,[i]),Y(n,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:a("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Y(n,"options",[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Y(n,"datasourceBind",[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Sl.call(n,i),n}return e}(be);function W6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U6(t,e,i){return e=ht(e),J6(t,Jo()?Reflect.construct(e,i||[],ht(t).constructor):e.apply(t,i))}function z6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xo(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function G6(t,e,i){return e&&Xo(t.prototype,e),i&&Xo(t,i),t}function En(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function _n(t,e,i){return typeof Reflect!="undefined"&&Reflect.get?_n=Reflect.get:_n=function(u,l,r){var c=Y6(u,l);if(!!c){var s=Object.getOwnPropertyDescriptor(c,l);return s.get?s.get.call(r||u):s.value}},_n(t,e,i||t)}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},ht(t)}function K6(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&&Xl(t,e)}function Jo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jo=function(){return!!t})()}function Q6(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{},n=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(u){return Object.getOwnPropertyDescriptor(i,u).enumerable}))),n.forEach(function(u){En(t,u,i[u])})}return t}function Z6(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),i.push.apply(i,n)}return i}function X6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Z6(Object(e)).forEach(function(i){Object.defineProperty(t,i,Object.getOwnPropertyDescriptor(e,i))}),t}function J6(t,e){return e&&(p6(e)==="object"||typeof e=="function")?e:W6(t)}function Xl(t,e){return Xl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Xl(t,e)}function Y6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ht(t),t!==null););return t}function p6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var X=function(t){K6(e,t);function e(i){z6(this,e);var n;return n=U6(this,e,[i]),En(n,"controlType","column"),En(n,"props",void 0),En(n,"children",void 0),n.props=new G(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Designer"),n}return G6(e,[{key:"toSchema",value:function(){var n=_n(ht(e.prototype),"toSchema",this).call(this);return X6(Q6({},n),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(O);function eD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tD(t,e,i){return e=Dn(e),uD(t,Yo()?Reflect.construct(e,i||[],Dn(t).constructor):e.apply(t,i))}function iD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Dn(t)}function nD(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&&Yl(t,e)}function Yo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yo=function(){return!!t})()}function uD(t,e){return e&&(lD(e)==="object"||typeof e=="function")?e:eD(t)}function Yl(t,e){return Yl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},Yl(t,e)}function lD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var J=function(t){nD(e,t);function e(i){iD(this,e);var n;return n=tD(this,e,[i]),Jl(n,"controlType","column"),Jl(n,"props",void 0),Jl(n,"children",void 0),n.props=new G(i==null?void 0:i.props),se(n,"children",i==null?void 0:i.children,void 0,"Runtime"),n}return e}(q);function aD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rD(t,e,i){return e=In(e),dD(t,po()?Reflect.construct(e,i||[],In(t).constructor):e.apply(t,i))}function oD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cD(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},In(t)}function sD(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&&pl(t,e)}function po(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(po=function(){return!!t})()}function dD(t,e){return e&&(hD(e)==="object"||typeof e=="function")?e:aD(t)}function pl(t,e){return pl=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},pl(t,e)}function hD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var ea=function(t){sD(e,t);function e(i){oD(this,e);var n;return n=rD(this,e,[i]),cD(n,"dataBind",void 0),n.dataBind=new ye(i==null?void 0:i.dataBind),n}return e}(k);function yD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fD(t,e,i){return e=wn(e),gD(t,tc()?Reflect.construct(e,i||[],wn(t).constructor):e.apply(t,i))}function vD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ec(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},wn(t)}function mD(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 tc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(tc=function(){return!!t})()}function gD(t,e){return e&&(bD(e)==="object"||typeof e=="function")?e:yD(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ta(t,e)}function bD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var CD=function(t){mD(e,t);function e(i){vD(this,e);var n;return n=fD(this,e,[i]),ec(n,"controlType","search"),ec(n,"props",void 0),n.props=new ea(i==null?void 0:i.props),n}return e}(N);function ED(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _D(t,e,i){return e=Bn(e),wD(t,nc()?Reflect.construct(e,i||[],Bn(t).constructor):e.apply(t,i))}function DD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ic(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Bn(t)}function ID(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ia(t,e)}function nc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(nc=function(){return!!t})()}function wD(t,e){return e&&(BD(e)==="object"||typeof e=="function")?e:ED(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},ia(t,e)}function BD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var AD=function(t){ID(e,t);function e(i){DD(this,e);var n;return n=_D(this,e,[i]),ic(n,"controlType","search"),ic(n,"props",void 0),n.props=new ea(i==null?void 0:i.props),n}return e}($);function TD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function FD(t,e,i){return e=An(e),OD(t,uc()?Reflect.construct(e,i||[],An(t).constructor):e.apply(t,i))}function SD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},An(t)}function PD(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 uc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uc=function(){return!!t})()}function OD(t,e){return e&&(kD(e)==="object"||typeof e=="function")?e:TD(t)}function na(t,e){return na=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},na(t,e)}function kD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var ua=function(t){PD(e,t);function e(i){return SD(this,e),FD(this,e,[i])}return e}(k);function RD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MD(t,e,i){return e=Tn(e),LD(t,ac()?Reflect.construct(e,i||[],Tn(t).constructor):e.apply(t,i))}function xD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lc(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Tn(t)}function ND(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&la(t,e)}function ac(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ac=function(){return!!t})()}function LD(t,e){return e&&($D(e)==="object"||typeof e=="function")?e:RD(t)}function la(t,e){return la=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},la(t,e)}function $D(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var HD=function(t){ND(e,t);function e(i){xD(this,e);var n;return n=MD(this,e,[i]),lc(n,"controlType","wrap"),lc(n,"props",void 0),n.props=new ua(i==null?void 0:i.props),n}return e}(N);function VD(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jD(t,e,i){return e=Fn(e),UD(t,oc()?Reflect.construct(e,i||[],Fn(t).constructor):e.apply(t,i))}function qD(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rc(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(i){return i.__proto__||Object.getPrototypeOf(i)},Fn(t)}function WD(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&aa(t,e)}function oc(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oc=function(){return!!t})()}function UD(t,e){return e&&(zD(e)==="object"||typeof e=="function")?e:VD(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(n,u){return n.__proto__=u,n},aa(t,e)}function zD(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}var GD=function(t){WD(e,t);function e(i){qD(this,e);var n;return n=jD(this,e,[i]),rc(n,"controlType","wrap"),rc(n,"props",void 0),n.props=new ua(i==null?void 0:i.props),n}return e}($);function Pe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}var Oe=(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))(Oe||{}),cc=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(cc||{}),sc=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(sc||{});class Sn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}class ra{constructor(e){var i,n,u;this.id=(i=e==null?void 0:e.id)!=null?i:oe(8),this.limitType=(n=e==null?void 0:e.limitType)!=null?n:"hour",this.value=(u=e==null?void 0:e.value)!=null?u:[]}}var oa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(oa||{});class Pn{constructor(e){var i,n,u;this.id=(i=e==null?void 0:e.id)!=null?i:oe(),this.text=(n=e==null?void 0:e.text)!=null?n:"",this.color=(u=e==null?void 0:e.color)!=null?u:""}}var ca=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t.DECORATED_TAB="decorated-tab-line",t.DECORATED_WINGS="decorated-wings-line",t))(ca||{}),ke=(t=>(t.NORMAL="normal",t.BOLD="bold",t.LIGHTER="lighter",t))(ke||{});class sa{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m,D,R;this.type=(i=e==null?void 0:e.type)!=null?i:"private",this.person=new we((n=e==null?void 0:e.person)!=null?n:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new we((l=e==null?void 0:e.telephone)!=null?l:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new we((c=e==null?void 0:e.company)!=null?c:{type:"form"}),this.indexSignature=(d=e==null?void 0:e.indexSignature)!=null?d:new we((h=e==null?void 0:e.indexSignature)!=null?h:{type:"form"}),this.signaturePosition=(f=e==null?void 0:e.signaturePosition)!=null?f:"free",this.seal=new we((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(E=e==null?void 0:e.platformAutoSign)!=null?E:!1,this.signDateBeanType=(_=e==null?void 0:e.signDateBeanType)!=null?_:0,this.signDateFontSize=(b=e==null?void 0:e.signDateFontSize)!=null?b:12,this.signOrder=(I=e==null?void 0:e.signOrder)!=null?I:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(m=e==null?void 0:e.posX)!=null?m:0,this.posY=(D=e==null?void 0:e.posY)!=null?D:0,this.remark=(R=e==null?void 0:e.remark)!=null?R:""}}class dc{constructor(e){var i,n,u,l,r,c;this.fileControl=(i=e==null?void 0:e.fileControl)!=null?i:"",this.undersignedList=(u=(n=e==null?void 0:e.undersignedList)==null?void 0:n.map(s=>new sa(s)))!=null?u:[new sa],this.statusControl=(l=e==null?void 0:e.statusControl)!=null?l:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(c=e==null?void 0:e.completeTimeControl)!=null?c:""}}class Wt{constructor(e){var i,n,u,l,r,c,s;this.id=(i=e==null?void 0:e.id)!=null?i:oe(8),this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(l=e==null?void 0:e.svcCode)!=null?l:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(c=e==null?void 0:e.fieldList)!=null?c:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class da{constructor(e){var i,n;this.active=(i=e==null?void 0:e.active)!=null?i:!1,this.text=(n=e==null?void 0:e.text)!=null?n:""}}class hc{constructor(e){var i,n,u,l;this.types=(i=e==null?void 0:e.types)!=null?i:["word","ppt","excel"],this.history=(n=e==null?void 0:e.history)!=null?n:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(l=e==null?void 0:e.logicToDelete)!=null?l:!0,this.watermark=new da(e==null?void 0:e.watermark),this.autoRename=new da(e==null?void 0:e.autoRename)}}class ha{constructor(e){var i,n,u,l,r,c,s;this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(l=e==null?void 0:e.orders)!=null?l:[],this.filters=(r=e==null?void 0:e.filters)!=null?r:[],this.isRelation=(c=e==null?void 0:e.isRelation)!=null?c:!1,this.relationBindCode=(s=e==null?void 0:e.relationBindCode)!=null?s:""}}class ya{constructor(e){var i,n;this.type=(i=e==null?void 0:e.type)!=null?i:"auto",this.row=(n=e==null?void 0:e.row)!=null?n:20,this.height=e==null?void 0:e.height}}class yc{constructor(e){this.dataCode=e.dataCode}}class fc{constructor(e){var i,n,u;this.templateType=(i=e==null?void 0:e.templateType)!=null?i:"system",this.templateList=(u=(n=e==null?void 0:e.templateList)==null?void 0:n.map(l=>new yc(l)))!=null?u:[]}}class vc{constructor(e){var i,n,u;this.templateType=(i=e==null?void 0:e.templateType)!=null?i:"system",this.templateList=(u=(n=e==null?void 0:e.templateList)==null?void 0:n.map(l=>new Wt(l)))!=null?u:[new Wt({id:"default",name:a("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const mc=480;function Ut(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class gc{constructor(e){var i,n,u,l,r;this.fileId=(i=e==null?void 0:e.fileId)!=null?i:"",this.fileName=(n=e==null?void 0:e.fileName)!=null?n:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(l=e.isDefault)!=null?l:!1,this.rules=(r=e.rules)!=null?r:[]}}class bc{constructor(e){var i,n,u;this.direction=(i=e==null?void 0:e.direction)!=null?i:"row",this.justifyContent=(n=e==null?void 0:e.justifyContent)!=null?n:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var Cc=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Cc||{}),fa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(fa||{}),On=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(On||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),va=(t=>(t.ALL="all",t.ADMIN="admin",t))(va||{}),ma=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(ma||{});class ga extends j{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(i=e==null?void 0:e.captionFontWeight)!=null?i:ke.NORMAL,this.icon=(n=e==null?void 0:e.icon)!=null?n:"page-hint",this.showState=(u=e==null?void 0:e.showState)!=null?u:"text",this.content=(l=e==null?void 0:e.content)!=null?l:a("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(r=e==null?void 0:e.align)!=null?r:"",this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1,this.isLabel=(s=e==null?void 0:e.isLabel)!=null?s:!1,this.background=(h=e==null?void 0:e.background)!=null?h:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.close=(d=e==null?void 0:e.close)!=null?d:{show:!1,text:a("CMD.closeText",null,"\u5173\u95ED")}}}class Ec extends O{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlName(){return a("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Ec.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"close-setting",visible:!0},{key:"dynamic-background",visible:!0},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.54641777541642981"),default:"left",options:[{value:"left",label:a("CMD.79471774579023855")},{value:"center",label:a("CMD.3c361774579037653")},{value:"right",label:a("CMD.9e811774579025727")}]},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class KD extends q{constructor(e){super(e),this.props=new ga(e==null?void 0:e.props)}static get controlType(){return"text"}}var _c={Designer:Ec,Runtime:KD,Property:ga};class ba extends j{constructor(e){var i,n,u,l,r,c;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.position=(n=e==null?void 0:e.position)!=null?n:"left",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.url=(l=e==null?void 0:e.url)!=null?l:"",this.openMode=(r=e==null?void 0:e.openMode)!=null?r:"new",this.icon=(c=e==null?void 0:e.icon)!=null?c:""}}class Ca extends O{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlName(){return a("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ca.controlEventKeys=["on_click"],Ca.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.90741774578992730"),default:"left",options:[{value:"left",label:a("CMD.79471774579023855")},{value:"center",label:a("CMD.3c361774579037653")},{value:"right",label:a("CMD.9e811774579025727")}]},{key:"common-color-type",visible:!0,name:"color",label:a("CMD.d1ed1774579042905")},{key:"common-icon",visible:!0,name:"icon",label:a("CMD.1a781774579044216")},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class QD extends q{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"link"}}var Dc={Designer:Ca,Runtime:QD,Property:ba};class ZD extends U{constructor(){super(...arguments),this.content={type:"string",required:!0,message:a("CMD.cacc1777541637293")},this.width={type:"number",required:!0,min:1,message:a("CMD.2f901777541688219")},this.height={type:"number",required:!0,min:1,message:a("CMD.156e1777541690112")}}}class kn extends j{constructor(e){var i,n,u;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:"",this.width=(n=e==null?void 0:e.width)!=null?n:600,this.height=(u=e==null?void 0:e.height)!=null?u:400}}kn.Rules=ZD;class Ic extends O{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlName(){return a("CMD.iframe",null,"\u7F51\u9875\u5D4C\u5165")}static get controlIcon(){return"iconiframe"}static get controlType(){return"iframe"}}Ic.setting=[{key:"content",visible:!0,name:"content",label:"URL"},{key:"common-input-number",visible:!0,name:"width",label:a("CMD.f5311777541773110"),min:1,tip:a("CMD.ee791777541581639")},{key:"common-input-number",visible:!0,name:"height",label:a("CMD.ea8c1777541774421"),min:1},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class XD extends q{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"iframe"}}var wc={Designer:Ic,Runtime:XD,Property:kn};class ee extends j{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.button",null,"\u6309\u94AE"),this.buttonType=(n=e==null?void 0:e.buttonType)!=null?n:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(h=e==null?void 0:e.isLoading)!=null?h:!1,this.optObj=new s_((d=e==null?void 0:e.optObj)!=null?d:{})}}class p extends O{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return a("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",Or.DEFAULT],p.controlEventKeys=["on_click"],p.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class ue extends q{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var Bc={Designer:p,Runtime:ue,Property:ee};class Ea extends j{constructor(e){var i,n,u,l,r,c;super(e),this.color=(i=e==null?void 0:e.color)!=null?i:"#000",this.lineStyle=(n=e==null?void 0:e.lineStyle)!=null?n:ca.SOLID,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(r=e==null?void 0:e.captionFontWeight)!=null?r:ke.NORMAL,this.verticalPosition=(c=e==null?void 0:e.verticalPosition)!=null?c:"middle"}}class Ac extends O{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlName(){return a("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Ac.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"content",visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.30971774578990996"),default:"left",options:[{value:"left",label:a("CMD.77f61774579023852")},{value:"center",label:a("CMD.c2061774579037651")},{value:"right",label:a("CMD.92fa1774579025725")}]},{key:"common-button-radio",visible:!0,name:"verticalPosition",label:a("CMD.e9f61774578968941"),default:"middle",options:[{value:"top",label:a("CMD.2bfb1774579038746")},{value:"middle",label:a("CMD.9e231774579040279")},{value:"bottom",label:a("CMD.36d71774579041637")}]},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]}];class JD extends q{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Tc={Designer:Ac,Runtime:JD,Property:Ea};class YD extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Oe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:a("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:a("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class Rn extends j{constructor(e){var i,n,u,l;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(i=e==null?void 0:e.config)!=null?i:[Oe.ShowSubmitUser,Oe.ShowSubmitDept,Oe.ShowSubmitTime,Oe.ShowCurrentApprovar,Oe.ShowTitle],this.caption=(u=(n=e==null?void 0:e.caption)!=null?n:yt==null?void 0:yt.controlName)!=null?u:"",this.position=(l=e==null?void 0:e.position)!=null?l:"top"}}Rn.Rules=YD;class yt extends O{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlName(){return a("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}yt.controlFieldType=C.AUTO_NUMBER,yt.setting=[{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class pD extends q{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Fc={Designer:yt,Runtime:pD,Property:Rn};class eI extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class Mn extends ee{constructor(e){var i,n,u,l;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:ft.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:ft.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(l=e==null?void 0:e.openType)!=null?l:"modal"}}Mn.Rules=eI;class ft extends p{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlName(){return a("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.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 tI extends ue{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Sc={Designer:ft,Runtime:tI,Property:Mn};class iI extends U{constructor(e){super(e),this.processKey=[{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:a("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class xn extends ee{constructor(e){var i,n,u,l,r,c;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(l=e==null?void 0:e.processKey)!=null?l:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(c=e==null?void 0:e.employeeId)!=null?c:""}}xn.Rules=iI;class vt extends p{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class nI extends ue{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Pc={Designer:vt,Runtime:nI,Property:xn};class _a extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon}}class mt extends p{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlName(){return a("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class uI extends ue{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Oc={Designer:mt,Runtime:uI,Property:_a};class Da extends ee{constructor(e){var i,n,u,l,r;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(l=e==null?void 0:e.templateList)==null?void 0:l.map(c=>new Wt(c)))!=null?r:[new Wt({id:"default",name:a("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class gt extends p{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return a("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class lI extends ue{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var kc={Designer:gt,Runtime:lI,Property:Da};class Ia extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:bt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:bt.controlIcon}}class bt extends p{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlName(){return a("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class aI extends ue{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Rc={Designer:bt,Runtime:aI,Property:Ia};class rI{constructor(e){this.dataCode=e.dataCode}}class wa extends ee{constructor(e){var i,n,u,l,r;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.canImportList=(l=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(c=>new rI(c)))!=null?l:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class Ct extends p{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlName(){return a("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class oI extends ue{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Mc={Designer:Ct,Runtime:oI,Property:wa};function cI(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function sI(t){if(!t.trim())return{};try{const e=JSON.parse(t);return cI(e)?e:{}}catch(e){return{}}}function dI(t){return Array.isArray(t)?t:t?[t]:[]}function xc(t){return typeof t!="string"||t.trim()===""}function hI(t,e){const i=sI(t);return dI(i[e]).some(n=>n.type==="category")}function Nn(t,e,i){return{type:"string",validator(n,u,l){if(hI(t.optionJson,e)&&xc(u)){l(i);return}l()}}}function Ba(t){return{type:"array",validator(e,i,n){if(!Array.isArray(i)||i.length===0||i.some(u=>xc(u==null?void 0:u.valueField))){n(t);return}n()}}}function Ln(){return{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:a("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class yI extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:lt({},Ln())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:lt({mode:{type:"string",required:!0,message:a("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ln())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:a("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class $n extends ee{constructor(e){var i,n,u;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:zt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:zt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new lo(e==null?void 0:e.fillPayload),this.formBind=new zE(e==null?void 0:e.formBind),this.fillBack=new ao(e==null?void 0:e.fillBack)}}$n.Rules=yI;class zt extends p{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlName(){return a("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}zt.controlEventKeys=["on_click","on_click_finish"],zt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class fI extends ue{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Nc={Designer:zt,Runtime:fI,Property:$n};class vI extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:lt({},Ln())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:a("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:lt({mode:{type:"string",required:!0,message:a("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},Ln())}}}class Hn extends ee{constructor(e){var i,n,u,l,r;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:Gt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:Gt.controlIcon,this.fillPayload=new lo(e==null?void 0:e.fillPayload),this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.fillBack=new ao(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new vl(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(l=e==null?void 0:e.isSelectedRowFill)!=null?l:!1,this.disableFilling=(r=e==null?void 0:e.disableFilling)!=null?r:!0}}Hn.Rules=vI;class Gt extends p{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlName(){return a("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Gt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class mI extends ue{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Lc={Designer:Gt,Runtime:mI,Property:Hn};class gI extends U{constructor(e){super(e)}}class bI extends Ne{constructor(e){super(e)}}class Kt extends j{constructor(e){super(e)}}Kt.Rules=gI,Kt.RuntimeRules=bI;class $c extends O{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return a("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}$c.setting=[];class CI extends q{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Hc={Designer:$c,Runtime:CI,Property:Kt};class EI extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:a("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Vn extends j{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.dashboardKey=(i=e==null?void 0:e.dashboardKey)!=null?i:"",this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(l=e==null?void 0:e.isShowCaptionTip)!=null?l:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(c=e==null?void 0:e.labelPosition)!=null?c:"top",this.isShowReportParams=(s=e==null?void 0:e.isShowReportParams)!=null?s:!1,this.reportParams=(h=e==null?void 0:e.reportParams)!=null?h:[]}}Vn.Rules=EI;class Vc extends O{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlName(){return a("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}Vc.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class _I extends q{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var jc={Designer:Vc,Runtime:_I,Property:Vn};class DI extends U{constructor(e){super(e),this.seriesConfig=Ba(a("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5")),this.xField=Nn(e,"xAxis",a("CMD.pleaseSelectXAxisField",null,"\u8BF7\u7ED1\u5B9A X \u8F74\u5B57\u6BB5")),this.yField=Nn(e,"yAxis",a("CMD.pleaseSelectYAxisField",null,"\u8BF7\u7ED1\u5B9A Y \u8F74\u5B57\u6BB5"))}}const II={grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{type:"bar",data:[120,200,150,80,70,110,130]}]};class jn extends j{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:qn.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(s=e==null?void 0:e.isHide)!=null?s:!1,this.template=(h=e==null?void 0:e.template)!=null?h:"bar-basic",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:JSON.stringify(II,null,2),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new W(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(f=e==null?void 0:e.multistageFilling)==null?void 0:f.map(D=>new Q(D)))!=null?g:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.xField=(b=e==null?void 0:e.xField)!=null?b:"",this.yField=(I=e==null?void 0:e.yField)!=null?I:"",this.seriesConfig=(m=e==null?void 0:e.seriesConfig)!=null?m:[]}}jn.Rules=DI;class qn extends O{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlName(){return a("CMD.barChart",null,"\u67F1\u72B6\u56FE")}static get controlIcon(){return"iconBarchart"}static get controlType(){return"bar-chart"}static get controlCustomAttributes(){return[]}}qn.controlEventKeys=["on_chart_change"],qn.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:a("CMD.d6d01777541754654"),default:"default",options:[{value:"bar-basic",label:a("CMD.50c71777541662435")},{value:"bar-background",label:a("CMD.29961777541608579")},{value:"bar-waterfall",label:a("CMD.0de61777541732843")},{value:"bar-alternating",label:a("CMD.15241777541626614")},{value:"bar-multi-y",label:a("CMD.12c91777541629189")},{value:"bar-stacked",label:a("CMD.30e11777541664430")},{value:"bar-stacked-rounded",label:a("CMD.44721777541599841")},{value:"bar-stacked-horizontal",label:a("CMD.6f651777541666780")},{value:"bar-positive-negative",label:a("CMD.95b31777541669068")}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class wI extends q{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"bar-chart"}}var qc={Designer:qn,Runtime:wI,Property:jn};class BI extends U{constructor(e){super(e),this.seriesConfig=Ba(a("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5")),this.xField=Nn(e,"xAxis",a("CMD.pleaseSelectXAxisField",null,"\u8BF7\u7ED1\u5B9A X \u8F74\u5B57\u6BB5")),this.yField=Nn(e,"yAxis",a("CMD.pleaseSelectYAxisField",null,"\u8BF7\u7ED1\u5B9A Y \u8F74\u5B57\u6BB5"))}}const AI={grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:{type:"value"},series:[{type:"line",data:[120,200,150,80,70,110,130]}]};class Wn extends j{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Un.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(s=e==null?void 0:e.isHide)!=null?s:!1,this.template=(h=e==null?void 0:e.template)!=null?h:"line-basic",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:JSON.stringify(AI,null,2),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new W(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(f=e==null?void 0:e.multistageFilling)==null?void 0:f.map(D=>new Q(D)))!=null?g:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.xField=(b=e==null?void 0:e.xField)!=null?b:"",this.yField=(I=e==null?void 0:e.yField)!=null?I:"",this.seriesConfig=(m=e==null?void 0:e.seriesConfig)!=null?m:[]}}Wn.Rules=BI;class Un extends O{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlName(){return a("CMD.lineChart",null,"\u6298\u7EBF\u56FE")}static get controlIcon(){return"iconLinechart"}static get controlType(){return"line-chart"}static get controlCustomAttributes(){return[]}}Un.controlEventKeys=["on_chart_change"],Un.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:a("CMD.e89a1777541754655"),default:"line-basic",options:[{value:"line-basic",label:a("CMD.9bf11777541671154")},{value:"line-smooth",label:a("CMD.50231777541632244")},{value:"line-area",label:a("CMD.bad61777541673203")},{value:"line-stacked",label:a("CMD.8e651777541675555")},{value:"line-stacked-area",label:a("CMD.a75e1777541677634")}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class TI extends q{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"line-chart"}}var Wc={Designer:Un,Runtime:TI,Property:Wn};const FI={tooltip:{trigger:"item"},legend:{top:"bottom"},series:[{type:"pie",radius:["40%","70%"],itemStyle:{borderRadius:10},data:[{value:1048,name:a("CMD.31801777541696784")},{value:735,name:a("CMD.30781777541698808")},{value:580,name:a("CMD.53ce1777541700854")},{value:484,name:a("CMD.aab91777541703228")},{value:300,name:a("CMD.cb9d1777541704940")}]}],grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0}};class SI extends U{constructor(e){super(e),this.seriesConfig=Ba(a("CMD.pleaseSelectSeriesValueField",null,"\u8BF7\u7ED1\u5B9A\u7CFB\u5217\u503C\u5B57\u6BB5"))}}class zn extends j{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Gn.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(c=e==null?void 0:e.captionFontWeight)!=null?c:ke.NORMAL,this.isHide=(s=e==null?void 0:e.isHide)!=null?s:!1,this.template=(h=e==null?void 0:e.template)!=null?h:"pie-rounded-ring",this.optionJson=(d=e==null?void 0:e.optionJson)!=null?d:JSON.stringify(FI,null,2),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.filterItemDatasourceBind=new W(e==null?void 0:e.filterItemDatasourceBind),this.multistageFilling=(g=(f=e==null?void 0:e.multistageFilling)==null?void 0:f.map(I=>new Q(I)))!=null?g:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.seriesConfig=(b=e==null?void 0:e.seriesConfig)!=null?b:[]}}zn.Rules=SI;class Gn extends O{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlName(){return a("CMD.pieChart",null,"\u997C\u56FE")}static get controlIcon(){return"iconPiechart"}static get controlType(){return"pie-chart"}static get controlCustomAttributes(){return[]}}Gn.controlEventKeys=["on_chart_change"],Gn.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"common-select",visible:!0,name:"template",label:a("CMD.f5361777541754658"),default:"default",options:[{value:"pie-rounded-ring",label:a("CMD.81a51777541679974")},{value:"pie-ring",label:a("CMD.a4281777541734255")},{value:"pie-half-ring",label:a("CMD.24b41777541692257")},{value:"pie-gap",label:a("CMD.5ce91777541640370")},{value:"pie-rose",label:a("CMD.3f911777541602899")},{value:"pie-texture",label:a("CMD.13a21777541694793")}]},{key:"chart-setting",visible:!0},{key:"chart-data-bind",visible:!0},{key:"super-setting",visible:!0}];class PI extends q{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlType(){return"pie-chart"}}var Uc={Designer:Gn,Runtime:PI,Property:zn};class OI extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:a("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Kn extends j{constructor(e){var i,n,u;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"select",this.viewList=(u=(n=e==null?void 0:e.viewList)==null?void 0:n.map(l=>new o_(l)))!=null?u:[]}}Kn.Rules=OI;class zc extends O{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlName(){return a("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}zc.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class kI extends q{constructor(e){super(e),this.props=new Kn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Gc={Designer:zc,Runtime:kI,Property:Kn};class RI extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:a("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(i,n,u){if(n.every(r=>!r.controlId)){u(a("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Qn extends ee{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Et.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(c=e==null?void 0:e.content)!=null?c:Et.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Et.controlIcon,this.ocrType=(h=e==null?void 0:e.ocrType)!=null?h:"",this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Q(g)))!=null?f:[]}}Qn.Rules=RI;class Et extends p{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return a("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class MI extends ue{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Kc={Designer:Et,Runtime:MI,Property:Qn};class xI extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(i,n,u){if(n.every(r=>!r.controlId)){u(a("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zn extends ee{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:_t.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(c=e==null?void 0:e.content)!=null?c:_t.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:_t.controlIcon,this.invoiceCheck=(h=e==null?void 0:e.invoiceCheck)!=null?h:!0,this.fillList=(f=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Q(g)))!=null?f:[]}}Zn.Rules=xI;class _t extends p{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return a("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"caption",showItems:[o.CAPTION,o.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:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class NI extends ue{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Qc={Designer:_t,Runtime:NI,Property:Zn};class LI extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:a("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Xn extends ee{constructor(e){var i,n,u,l,r;super(e),this.icon=(i=e==null?void 0:e.icon)!=null?i:Dt.controlIcon,this.content=(n=e==null?void 0:e.content)!=null?n:Dt.controlName,this.printTemplates=(l=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(c=>new gc(c)))!=null?l:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Xn.Rules=LI;class Dt extends p{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click","on_click_finish"],Dt.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 $I extends ue{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Zc={Designer:Dt,Runtime:$I,Property:Xn};class Aa extends ee{constructor(e){var i,n;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:It.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:It.controlIcon}}class It extends p{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}It.slots=["grid-table-toolbar-slot"],It.controlEventKeys=["on_click"],It.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 HI extends ue{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Xc={Designer:It,Runtime:HI,Property:Aa};class VI extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Jn extends j{constructor(e){var i,n,u,l,r,c;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:a("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(n=e==null?void 0:e.command)!=null?n:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.isSyncDelete=(c=e==null?void 0:e.isSyncDelete)!=null?c:!1}}Jn.Rules=VI;class Yn extends O{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlName(){return a("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Yn.controlEventKeys=["on_click"],Yn.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:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class jI extends q{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Jc={Designer:Yn,Runtime:jI,Property:Jn};class Ta extends j{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:wt.controlName,this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(c=e==null?void 0:e.isHide)!=null?c:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(h=e==null?void 0:e.command)!=null?h:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class wt extends O{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return a("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}wt.slots=["grid-table-toolbar-slot"],wt.controlEventKeys=["on_click"],wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class qI extends q{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Yc={Designer:wt,Runtime:qI,Property:Ta};class WI extends U{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class pn extends j{constructor(e){var i,n,u,l,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:eu.controlName,this.isShowSimpleSearch=(n=e==null?void 0:e.isShowSimpleSearch)!=null?n:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.actionSetting=(r=new ha(e==null?void 0:e.actionSetting))!=null?r:new ha,this.listHeightSetting=(c=new ya(e==null?void 0:e.listHeightSetting))!=null?c:new ya}}pn.Rules=WI;class eu extends O{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return a("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}eu.controlEventKeys=["on_list_rowclick"],eu.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_SIMPLE_SEARCH,o.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class UI extends q{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var pc={Designer:eu,Runtime:UI,Property:pn};class Fa extends j{constructor(e){var i;super(e),this.content=(i=e==null?void 0:e.content)!=null?i:"",this.commentOptions=(e==null?void 0:e.commentOptions)||[]}}class es extends O{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return a("CMD.comment",null,"\u610F\u89C1\u6807\u7B7E")}static get controlIcon(){return"icona-fenlei22"}static get controlType(){return"comment"}}es.setting=[{key:"content",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"comment-option",visible:!0},{key:"super-setting",visible:!0}];class zI extends q{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"comment"}}var ts={Designer:es,Runtime:zI,Property:Fa},GI=Object.freeze({__proto__:null,Text:_c,Link:Dc,Iframe:wc,Button:Bc,Divider:Tc,Title:Fc,CreateFormListButton:Sc,BatchSubmissionListButton:Pc,SubmissionRecordListButton:Oc,ExportListButton:kc,ExportRecordListButton:Rc,ImportRecordListButton:Mc,FormSelectButton:Nc,ListSelectButton:Lc,Pagination:Hc,Dashboard:jc,BarChart:qc,LineChart:Wc,PieChart:Uc,ListViewSelect:Gc,TextOcrButton:Kc,InvoiceCheckButton:Qc,BatchPrintListButton:Zc,BatchPrintRecordListButton:Xc,OperationButton:Jc,BatchDeleteButton:Yc,ReferenceList:pc,CommentControl:ts});class KI extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{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=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=Ut(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class QI extends x{constructor(e){super(e),this.push({type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ut(e.regularRules.expression),message:e.regularRules.errMessage})}}class Bt extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:200,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.regularRules=new ro(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:At.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(c=e==null?void 0:e.encrypted)!=null?c:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:"",this.aiContentSearch=(h=e==null?void 0:e.aiContentSearch)!=null?h:!1,this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}Bt.Rules=KI,Bt.RuntimeRules=QI;class At extends T{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return a("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}At.controlEventKeys=["on_change","on_input","on_focus","on_blur"],At.controlFieldType=C.VARCHAR,At.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.ENCRYPTED]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"ai-content-search",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{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 is extends F{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"input"}}is.controlFieldType=C.VARCHAR;var ns={Designer:At,Runtime:is,Property:Bt};class ZI extends Le{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:a("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const n=u=>u==="unlimited"?void 0:u;this.limitMax.min=n(e.limitMin)}}class XI extends x{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 Qt extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.checkboxMode=(n=e==null?void 0:e.checkboxMode)!=null?n:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(c=e==null?void 0:e.limitMin)!=null?c:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Zt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.isUseCustomColor=(b=e==null?void 0:e.isUseCustomColor)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var D;(D=this.multistageFilling)==null||D.push(new Q(m))})),this.aiContentSearch=(I=e==null?void 0:e.aiContentSearch)!=null?I:!1}}Qt.Rules=ZI,Qt.RuntimeRules=XI;class Zt extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return a("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=C.ARRAY,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class us extends F{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}us.controlFieldType=C.ARRAY;var ls={Designer:Zt,Runtime:us,Property:Qt};class Sa extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:$e.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.showSearch=(l=e==null?void 0:e.showSearch)!=null?l:!0,this.expandTrigger=(r=e==null?void 0:e.expandTrigger)!=null?r:"click",this.allowClear=(c=e==null?void 0:e.allowClear)!=null?c:!0,this.showCheckedStrategy=(s=e==null?void 0:e.showCheckedStrategy)!=null?s:"",this.saveCheckedStrategy=(h=e==null?void 0:e.saveCheckedStrategy)!=null?h:"CHILD",this.separator=(d=e==null?void 0:e.separator)!=null?d:"/",this.optionConfig=(f=e==null?void 0:e.optionConfig)!=null?f:"custom",this.datasourceBind=new en((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:$e.controlCustomAttributes}),this.filterItemDatasourceBind=new en((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:$e.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=(I=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(D=>new Q(D)))!=null?I:[],this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[]}}class $e extends T{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlName(){return a("CMD.c8ad1774578994488")}static get controlIcon(){return"iconziyou_dagangshu"}static get controlType(){return"cascader"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:a("CMD.33ee1751712159752"),required:!0}]}}$e.controlEventKeys=["on_change","on_focus","on_blur"],$e.controlFieldType=C.ARRAY,$e.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"cascader-trigger-type",visible:!0},{key:"cascader-select-value-type",visible:!0},{key:"cascader-show-type",visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class as extends F{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}static get controlType(){return"cascader"}}as.controlFieldType=C.VARCHAR;var rs={Designer:$e,Runtime:as,Property:Sa};class JI extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],this.max={type:"any"};const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=a("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.max={type:"number",min:n,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class YI extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.push({type:"number",min:n,max:i,message:a(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},a(i===void 0?"CMD.51051751712133507":n===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))})}}class Xt extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Jt.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.min=(l=e==null?void 0:e.min)!=null?l:0,this.max=(r=e==null?void 0:e.max)!=null?r:100,this.step=(c=e==null?void 0:e.step)!=null?c:1,this.precision=(s=e==null?void 0:e.precision)!=null?s:0,this.controls=(h=e==null?void 0:e.controls)!=null?h:!0,this.controlPosition=(d=e==null?void 0:e.controlPosition)!=null?d:"both"}}Xt.Rules=JI,Xt.RuntimeRules=YI;class Jt extends T{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return a("CMD.78aa1774579027114")}static get controlType(){return"counter"}static get controlIcon(){return"iconjishuqi"}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=C.DECIMAL,Jt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"counter-setting",visible:!0},{key:"super-setting",visible:!0}];class os extends F{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"counter"}}os.controlFieldType=C.DECIMAL;var cs={Designer:Jt,Runtime:os,Property:Xt};class pI extends Le{constructor(e){super(e)}}class tu extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.radioMode=(n=e==null?void 0:e.radioMode)!=null?n:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(c=e==null?void 0:e.defaultShowOptions)!=null?c:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.interreaction=(h=e==null?void 0:e.interreaction)!=null?h:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Yt.controlName,this.defaultValue=(f=e==null?void 0:e.defaultValue)!=null?f:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.type=(E=e==null?void 0:e.type)!=null?E:"default",this.isUseCustomColor=(_=e==null?void 0:e.isUseCustomColor)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(I=>{var m;(m=this.multistageFilling)==null||m.push(new Q(I))})),this.aiContentSearch=(b=e==null?void 0:e.aiContentSearch)!=null?b:!1}}tu.Rules=pI;class Yt extends T{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return a("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Yt.controlEventKeys=["on_change","on_click"],Yt.controlFieldType=C.VARCHAR,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.79a61774578997632"),default:"default",options:[{value:"default",label:a("CMD.a1171774579045618")},{value:"button",label:a("CMD.a4b41774579046938")}]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ss extends F{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"radio"}}ss.controlFieldType=C.VARCHAR;var ds={Designer:Yt,Runtime:ss,Property:tu};class ew extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{pattern:"",message:""}],this.rangeMax={type:"any"};const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=a("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.rangeMax={type:"number",min:n,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=Ut(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class tw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.rangeMax!==""?e.rangeMax:void 0,n=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:i,min:n,message:a(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},a(i===void 0?"CMD.16921751712133509":n===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ut(e.regularRules.expression),message:e.regularRules.errMessage})}}class pt extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m;super(e),this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(n=e==null?void 0:e.rangeMax)!=null?n:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(c=e==null?void 0:e.precision)!=null?c:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(h=e==null?void 0:e.isShowUnit)!=null?h:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(f=e==null?void 0:e.unit)!=null?f:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:ei.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(_=e==null?void 0:e.defaultValue)!=null?_:"",this.regularRules=new ro(e==null?void 0:e.regularRules),this.isShowControlButton=(b=e==null?void 0:e.isShowControlButton)!=null?b:!1,this.controlButtonPosition=(I=e==null?void 0:e.controlButtonPosition)!=null?I:"between",this.step=(m=e==null?void 0:e.step)!=null?m:1}}pt.Rules=ew,pt.RuntimeRules=tw;class ei extends T{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return a("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}ei.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ei.controlFieldType=C.DECIMAL,ei.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_UNIT,o.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class hs extends F{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"number"}}hs.controlFieldType=C.DECIMAL;var ys={Designer:ei,Runtime:hs,Property:pt};class iw extends z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:100,message:a("CMD.5d051777541586591")}],this.max={type:"any"};const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.defaultValue[0].max=i,this.defaultValue[0].min=n,this.defaultValue[0].message=a("CMD.5d051777541586591"),n!==void 0&&i!==void 0&&(this.max={type:"number",min:n,message:a("CMD.03c61777541622820")})}}class nw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.max===""?void 0:e.max,n=e.min===""?void 0:e.min;this.push({type:"number",min:n,max:i,message:a(i===void 0?"CMD.0ea31777541589957":n===void 0?"CMD.61eb1777541593375":"CMD.5d051777541586591")})}}class ti extends A{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ii.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.min=(u=e==null?void 0:e.min)!=null?u:0,this.max=(l=e==null?void 0:e.max)!=null?l:100,this.step=(r=e==null?void 0:e.step)!=null?r:1,this.showInput=(c=e==null?void 0:e.showInput)!=null?c:!0,this.showMarks=(s=e==null?void 0:e.showMarks)!=null?s:!1,this.marks=de((h=e==null?void 0:e.marks)!=null?h:[])}}ti.Rules=iw,ti.RuntimeRules=nw;class ii extends T{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlName(){return a("CMD.7fa81777541762879")}static get controlType(){return"slider"}static get controlIcon(){return"iconhuakuai"}}ii.controlEventKeys=["on_change"],ii.controlFieldType=C.DECIMAL,ii.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"slider-setting",visible:!0},{key:"super-setting",visible:!0}];class fs extends F{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"slider"}}fs.controlFieldType=C.DECIMAL;var vs={Designer:ii,Runtime:fs,Property:ti};class uw extends z{constructor(e){super(e)}}class lw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number",this[0].min=0,this[0].max=1)}}class ni extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ui.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:1,this.textDisplayStyle=(u=e==null?void 0:e.textDisplayStyle)!=null?u:"inside",this.checkedText=(l=e==null?void 0:e.checkedText)!=null?l:a("CMD.f0301777541765473"),this.checkedTextColor=(r=e==null?void 0:e.checkedTextColor)!=null?r:"#ffffff",this.checkedBackgroundColor=(c=e==null?void 0:e.checkedBackgroundColor)!=null?c:"#4C78FC",this.uncheckedText=(s=e==null?void 0:e.uncheckedText)!=null?s:a("CMD.106d1777541766792"),this.uncheckedTextColor=(h=e==null?void 0:e.uncheckedTextColor)!=null?h:"#ffffff",this.uncheckedBackgroundColor=(d=e==null?void 0:e.uncheckedBackgroundColor)!=null?d:"#BFBFBF"}}ni.Rules=uw,ni.RuntimeRules=lw;class ui extends T{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return a("CMD.e11c1777541764390")}static get controlIcon(){return"iconkaiguanguan"}static get controlType(){return"switch"}}ui.controlEventKeys=["on_change"],ui.controlFieldType=C.DECIMAL,ui.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"common-button-radio",visible:!0,name:"defaultValue",label:a("CMD.760c1777541720778"),default:0,options:[{value:1,label:a("CMD.f48b1777541765472")},{value:0,label:a("CMD.4a541777541766791")}]},{key:"common-button-radio",visible:!0,name:"textDisplayStyle",label:a("CMD.478a1777541651375"),default:"inside",options:[{value:"inside",label:a("CMD.e7ef1777541748888")},{value:"outside",label:a("CMD.38711777541750404")}]},{key:"common-group",visible:!0,label:a("CMD.35f21777541706717"),children:[{key:"common-input",visible:!0,name:"checkedText",layout:"horizontal",label:a("CMD.9a801777541722584")},{key:"color",visible:!0,name:"checkedTextColor",layout:"horizontal",label:a("CMD.d1da1777541653501")},{key:"color",visible:!0,name:"checkedBackgroundColor",layout:"horizontal",label:a("CMD.4e821777541655793")},{key:"common-input",visible:!0,name:"uncheckedText",layout:"horizontal",label:a("CMD.886f1777541724447")},{key:"color",visible:!0,name:"uncheckedTextColor",layout:"horizontal",label:a("CMD.93231777541658161")},{key:"color",visible:!0,name:"uncheckedBackgroundColor",layout:"horizontal",label:a("CMD.04e91777541660486")}]},{key:"super-setting",visible:!0}];class ms extends F{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"switch"}}ms.controlFieldType=C.DECIMAL;var gs={Designer:ui,Runtime:ms,Property:ni};class aw extends Le{constructor(e){super(e)}}class rw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class li extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:ai.controlName,this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.size=(r=e==null?void 0:e.size)!=null?r:"medium",this.align=(c=e==null?void 0:e.align)!=null?c:"left",this.color=(s=e==null?void 0:e.color)!=null?s:"default",this.optionConfig=(h=e==null?void 0:e.optionConfig)!=null?h:"custom",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),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.forEach(f=>{var g;(g=this.multistageFilling)==null||g.push(new Q(f))}))}}li.Rules=aw,li.RuntimeRules=rw;class ai extends T{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlName(){return a("CMD.tag",null,"\u6807\u7B7E")}static get controlIcon(){return"iconbiaoqian"}static get controlType(){return"tag"}}ai.controlEventKeys=["on_click"],ai.controlFieldType=C.ARRAY,ai.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.DEFAULT_SHOW_OPTIONS]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"size",label:a("CMD.size",null,"\u6807\u7B7E\u5C3A\u5BF8"),default:"medium",options:[{value:"large",label:a("CMD.88fc1777541775429")},{value:"medium",label:a("CMD.f7b51777541776645")},{value:"small",label:a("CMD.6b7d1777541777847")}]},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.dc011777541726235"),default:"left",tip:a("CMD.1e6c1777541596761"),options:[{value:"left",label:a("CMD.e29a1777541743101")},{value:"center",label:a("CMD.f0c51777541758749")},{value:"right",label:a("CMD.b69e1777541744540")}]},{key:"common-select",visible:!0,name:"color",label:a("CMD.8fc41777541768092"),default:"default",options:[{value:"default",label:a("CMD.8fc41777541768092")},{value:"success",label:a("CMD.4ad61777541769394")},{value:"processing",label:a("CMD.d74b1777541751881")},{value:"error",label:a("CMD.64911777541770890")},{value:"warning",label:a("CMD.b6eb1777541772158")}]},{key:"options-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bs extends F{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"tag"}}bs.controlFieldType=C.ARRAY;var Cs={Designer:ai,Runtime:bs,Property:li};class ow extends z{constructor(e){super(e)}}class cw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class ri extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:oi.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:a("CMD.5c5a1777541746080"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.codeHeight=(l=e==null?void 0:e.codeHeight)!=null?l:80,this.codeWidth=(r=e==null?void 0:e.codeWidth)!=null?r:1,this.codeMargin=(c=e==null?void 0:e.codeMargin)!=null?c:0,this.barcodeColor=(s=e==null?void 0:e.barcodeColor)!=null?s:"#000000",this.align=(h=e==null?void 0:e.align)!=null?h:"left",this.displayValue=(d=e==null?void 0:e.displayValue)!=null?d:!1}}ri.Rules=ow,ri.RuntimeRules=cw;class oi extends T{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return a("CMD.9fb91777541735669")}static get controlIcon(){return"icontiaoxingma"}static get controlType(){return"barcode"}}oi.controlEventKeys=["on_change"],oi.controlFieldType=C.VARCHAR,oi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:a("CMD.6e021777541706714"),children:[{key:"common-input-number",visible:!0,name:"codeHeight",layout:"horizontal",label:a("CMD.a5611777541611406")},{key:"common-input-number",visible:!0,name:"codeWidth",layout:"horizontal",label:a("CMD.453a1777541614098")},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:a("CMD.fc751777541645066")},{key:"common-switch",visible:!0,name:"displayValue",layout:"horizontal",label:a("CMD.6c311777541737079")}]},{key:"common-group",visible:!0,label:a("CMD.7a091777541710451"),children:[{key:"common-select",visible:!0,name:"barcodeColor",label:a("CMD.01a11777541712546"),default:"#000000",options:[{value:"#000000",label:a("CMD.c1fb1777541756177")},{value:"#001F3F",label:a("CMD.c5de1777541714576")},{value:"#004225",label:a("CMD.91211777541716842")},{value:"#4A0404",label:a("CMD.49421777541738691")},{value:"#2F2F2F",label:a("CMD.99701777541740192")},{value:"#1A237E",label:a("CMD.5c681777541741804")}]},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.6abe1777541757478"),default:"left",options:[{value:"left",label:a("CMD.70c61777541743098")},{value:"center",label:a("CMD.41551777541758747")},{value:"right",label:a("CMD.1fc91777541744537")}]}]},{key:"super-setting",visible:!0}];class Es extends F{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"barcode"}}Es.controlFieldType=C.VARCHAR;var _s={Designer:oi,Runtime:Es,Property:ri};class sw extends z{constructor(e){super(e)}}class dw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="string")}}class ci extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:si.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.qrVersion=(u=e==null?void 0:e.qrVersion)!=null?u:"auto",this.errorCorrectionLevel=(l=e==null?void 0:e.errorCorrectionLevel)!=null?l:"M",this.codeMode=(r=e==null?void 0:e.codeMode)!=null?r:"qrCode",this.size=(c=e==null?void 0:e.size)!=null?c:160,this.codeMargin=(s=e==null?void 0:e.codeMargin)!=null?s:0,this.qrColor=(h=e==null?void 0:e.qrColor)!=null?h:"#000000",this.align=(d=e==null?void 0:e.align)!=null?d:"left"}}ci.Rules=sw,ci.RuntimeRules=dw;class si extends T{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return a("CMD.034d1777541747382")}static get controlIcon(){return"iconerweima"}static get controlType(){return"qr-code"}}si.controlEventKeys=["on_change"],si.controlFieldType=C.VARCHAR,si.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"common-group",visible:!0,label:a("CMD.48ab1777541706716"),children:[{key:"common-select",visible:!0,name:"qrVersion",label:a("CMD.9f5f1777541682089"),default:"auto",options:[{value:"auto",label:a("CMD.43211777541760099")},{value:"1",label:"1 (21*21)"},{value:"2",label:"2 (25*25)"},{value:"3",label:"3 (29*29)"},{value:"4",label:"4 (33*33)"},{value:"5",label:"5 (37*37)"},{value:"6",label:"6 (41*41)"},{value:"7",label:"7 (45*45)"},{value:"8",label:"8 (49*49)"},{value:"9",label:"9 (53*53)"},{value:"10",label:"10 (57*57)"},{value:"11",label:"11 (61*61)"},{value:"12",label:"12 (65*65)"},{value:"13",label:"13 (69*69)"},{value:"14",label:"14 (73*73)"},{value:"15",label:"15 (77*77)"},{value:"16",label:"16 (81*81)"},{value:"17",label:"17 (85*85)"},{value:"18",label:"18 (89*89)"},{value:"19",label:"19 (93*93)"},{value:"20",label:"20 (97*97)"},{value:"21",label:"21 (101*101)"},{value:"22",label:"22 (105*105)"},{value:"23",label:"23 (109*109)"},{value:"24",label:"24 (113*113)"},{value:"25",label:"25 (117*117)"},{value:"26",label:"26 (121*121)"},{value:"27",label:"27 (125*125)"},{value:"28",label:"28 (129*129)"},{value:"29",label:"29 (133*133)"},{value:"30",label:"30 (137*137)"},{value:"31",label:"31 (141*141)"},{value:"32",label:"32 (145*145)"},{value:"33",label:"33 (149*149)"},{value:"34",label:"34 (153*153)"},{value:"35",label:"35 (157*157)"},{value:"36",label:"36 (161*161)"},{value:"37",label:"37 (165*165)"},{value:"38",label:"38 (169*169)"},{value:"39",label:"39 (173*173)"},{value:"40",label:"40 (177*177)"}]},{key:"common-select",visible:!0,name:"errorCorrectionLevel",label:a("CMD.a9b81777541718919"),default:"M",options:[{value:"L",label:a("CMD.3e9b1777541634899")},{value:"M",label:a("CMD.bc7a1777541617060")},{value:"Q",label:a("CMD.3ce71777541620174")},{value:"H",label:a("CMD.b5841777541605769")}]},{key:"common-select",visible:!0,name:"codeMode",label:a("CMD.ae891777541761573"),default:"qrCode",options:[{value:"qrCode",label:"QR Code"}]},{key:"common-input-number",visible:!0,name:"size",layout:"horizontal",label:a("CMD.dd381777541646923")},{key:"common-input-number",visible:!0,name:"codeMargin",layout:"horizontal",label:a("CMD.71a11777541645070")}]},{key:"common-group",visible:!0,label:a("CMD.523e1777541710452"),children:[{key:"common-select",visible:!0,name:"qrColor",label:a("CMD.41081777541683947"),default:"#000000",options:[{value:"#000000",label:a("CMD.a5211777541756178")},{value:"#001F3F",label:a("CMD.18241777541714577")},{value:"#004225",label:a("CMD.cb4e1777541716843")},{value:"#4A0404",label:a("CMD.e0d51777541738692")},{value:"#2F2F2F",label:a("CMD.98df1777541740192")},{value:"#1A237E",label:a("CMD.9e1f1777541741805")}]},{key:"common-button-radio",visible:!0,name:"align",label:a("CMD.d82e1777541757479"),default:"left",options:[{value:"left",label:a("CMD.2e381777541743100")},{value:"center",label:a("CMD.262c1777541758748")},{value:"right",label:a("CMD.c4ee1777541744538")}]}]},{key:"super-setting",visible:!0}];class Ds extends F{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"qr-code"}}Ds.controlFieldType=C.VARCHAR;var Is={Designer:si,Runtime:Ds,Property:ci};class Pa extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.dateFormat=(n=e==null?void 0:e.dateFormat)!=null?n:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:iu.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:a("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(I=>new Sn(I)))!=null?d:[],this.allowDateRange=(f=e==null?void 0:e.allowDateRange)!=null?f:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1,this.isShowCustomDateFormat=(_=e==null?void 0:e.isShowCustomDateFormat)!=null?_:!1,this.customDateFormat=(b=e==null?void 0:e.customDateFormat)!=null?b:""}}class iu extends T{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlName(){return a("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}iu.controlFieldType=C.TIMESTAMP,iu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"custom-date-format",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ws extends F{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}ws.controlFieldType=C.TIMESTAMP;var Bs={Designer:iu,Runtime:ws,Property:Pa};class hw extends x{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 nu extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.dataBind=new so(e==null?void 0:e.dataBind),this.defaultValue=new ho(e==null?void 0:e.defaultValue),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.dateFormat=(n=e==null?void 0:e.dateFormat)!=null?n:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:a("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:a("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(d=e==null?void 0:e.caption)!=null?d:uu.controlName,this.limitDateList=(g=(f=e==null?void 0:e.limitDateList)==null?void 0:f.map(_=>new Sn(_)))!=null?g:[],this.isInternational=(E=e==null?void 0:e.isInternational)!=null?E:!1}}nu.RuntimeRules=hw;class uu extends T{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlName(){return a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}uu.controlFieldType=C.TIMESCOPE,uu.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class As extends F{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}static get controlType(){return"date-range"}}As.controlFieldType=C.TIMESCOPE;var Ts={Designer:uu,Runtime:As,Property:nu};class Oa extends A{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.timeType=(i=e==null?void 0:e.timeType)!=null?i:Pr.HOURSEC,this.format=(n=e==null?void 0:e.format)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:lu.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.c9dc1774578987545"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitTimeList=(s=(c=e==null?void 0:e.limitTimeList)==null?void 0:c.map(d=>new ra(d)))!=null?s:[],this.isInternational=(h=e==null?void 0:e.isInternational)!=null?h:!1}}class lu extends T{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return a("CMD.9e0e1774579048265")}static get controlIcon(){return"iconshijian31"}static get controlType(){return"time-picker"}}lu.controlFieldType=C.TIMESTAMP,lu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Fs extends F{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"time-picker"}}Fs.controlFieldType=C.TIMESTAMP;var Ss={Designer:lu,Runtime:Fs,Property:Oa};class yw extends x{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 au extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.dataBind=new so(e==null?void 0:e.dataBind),this.defaultValue=new ho(e==null?void 0:e.defaultValue),this.timeType=(i=e==null?void 0:e.timeType)!=null?i:Pr.HOURSEC,this.format=(n=e==null?void 0:e.format)!=null?n:"",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:a("CMD.be931774579000687"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:a("CMD.0a501774579002398"),this.caption=(s=e==null?void 0:e.caption)!=null?s:ru.controlName,this.limitTimeList=(d=(h=e==null?void 0:e.limitTimeList)==null?void 0:h.map(g=>new ra(g)))!=null?d:[],this.isInternational=(f=e==null?void 0:e.isInternational)!=null?f:!1}}au.RuntimeRules=yw;class ru extends T{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlName(){return a("CMD.103e1774578999219")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"time-range"}}ru.controlFieldType=C.TIMESCOPE,ru.setting=[{key:"data-bind-time-range",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-input",visible:!0,name:"placeholderStart",label:a("CMD.b54f1774578958298")},{key:"common-input",visible:!0,name:"placeholderEnd",label:a("CMD.680d1774578960613")},{key:"time-type",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_INTERNATIONAL]},{key:"time-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ps extends F{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}static get controlType(){return"time-range"}}Ps.controlFieldType=C.TIMESCOPE;var Os={Designer:ru,Runtime:Ps,Property:au};class fw extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class vw extends x{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class di extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:5e4,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(l=e==null?void 0:e.caption)!=null?l:hi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new qE(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(c=e==null?void 0:e.aiContentSearch)!=null?c:!1,this.aiGeneration=(s=e==null?void 0:e.aiGeneration)!=null?s:!1,this.aiOptions=co((h=e==null?void 0:e.aiOptions)!=null?h:[{label:a("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:a("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:a("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:a("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:a("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:a("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(d=e==null?void 0:e.autoHeight)!=null?d:!1,this.lineEllipsis=(f=e==null?void 0:e.lineEllipsis)!=null?f:1}}di.Rules=fw,di.RuntimeRules=vw;class hi extends T{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return a("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}hi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],hi.controlFieldType=C.TEXT,hi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class ks extends F{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"textarea"}}ks.controlFieldType=C.TEXT;var Rs={Designer:hi,Runtime:ks,Property:di};class mw extends z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:a("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:a("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:a("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class gw extends x{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:a("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class yi extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g;super(e),this.maxLength=(i=e==null?void 0:e.maxLength)!=null?i:5e4,this.minLength=(n=e==null?void 0:e.minLength)!=null?n:0,this.height=(u=e==null?void 0:e.height)!=null?u:300,this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:fi.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1,this.aiGeneration=(h=e==null?void 0:e.aiGeneration)!=null?h:!1,this.aiOptions=co((d=e==null?void 0:e.aiOptions)!=null?d:[{label:a("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:a("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:a("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:a("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:a("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:a("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}]),this.autoHeight=(f=e==null?void 0:e.autoHeight)!=null?f:!1,this.lineEllipsis=(g=e==null?void 0:e.lineEllipsis)!=null?g:1}}yi.Rules=mw,yi.RuntimeRules=gw;class fi extends T{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return a("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}fi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],fi.controlFieldType=C.TEXT,fi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"column-autoHeight",visible:!1},{key:"column-line-ellipsis",visible:!1},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"common-input-number",visible:!0,name:"height",layout:"horizontal",label:a("CMD.131c1777541649034"),min:300},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Ms extends F{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Ms.controlFieldType=C.TEXT;var xs={Designer:fi,Runtime:Ms,Property:yi};class bw extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ou extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:cu.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!1,this.type=(d=e==null?void 0:e.type)!=null?d:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var b;(b=this.multistageFilling)==null||b.push(new Q(_))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(g=e==null?void 0:e.viewFormModelType)!=null?g:"window",this.formBind=new rt(e==null?void 0:e.formBind),this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1}}ou.Rules=bw;class cu extends T{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlName(){return a("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}cu.controlFieldType=C.VARCHAR,cu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP,o.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.de501774578997633"),default:"default",options:[{value:"default",label:a("CMD.10a31774579045620")},{value:"button",label:a("CMD.db4d1774579046939")}]},{key:"options-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ns extends F{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}static get controlType(){return"select"}}Ns.controlFieldType=C.VARCHAR;var Ls={Designer:cu,Runtime:Ns,Property:ou};class Cw extends Le{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Ew extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class vi extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[{label:a("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:a("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:a("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:a("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:a("CMD.optionThird",null,"\u9009\u9879\u4E09")}]),this.defaultShowOptions=(n=e==null?void 0:e.defaultShowOptions)!=null?n:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(l=e==null?void 0:e.caption)!=null?l:su.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.type=(h=e==null?void 0:e.type)!=null?h:"default",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Q(E))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new rt(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}vi.Rules=Cw,vi.RuntimeRules=Ew;class su extends T{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return a("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}su.controlFieldType=C.ARRAY,su.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.DEFAULT_SHOW_OPTIONS,o.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.6e421774578997634"),default:"default",options:[{value:"default",label:a("CMD.6e971774579045621")},{value:"button",label:a("CMD.2b401774579046940")}]},{key:"options-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $s extends F{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}$s.controlFieldType=C.ARRAY;var Hs={Designer:su,Runtime:$s,Property:vi};class _w extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class du extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.range=(n=e==null?void 0:e.range)!=null?n:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:hu.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:a("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(f=>{var g;(g=this.multistageFilling)==null||g.push(new Q(f))}))}}du.RuntimeRules=_w;class hu extends T{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlName(){return a("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}hu.controlFieldType=C.EMPLOYEES,hu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.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 Vs extends F{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}static get controlType(){return"employee"}}Vs.controlFieldType=C.EMPLOYEES;var js={Designer:hu,Runtime:Vs,Property:du};const Dw=10485760,Iw=104857600,ww=1048576e3;class Bw extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:ww,message:a("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class Aw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:a("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class Tt extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m,D;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:[],this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(l=e==null?void 0:e.attachmentAccept)!=null?l:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(c=e==null?void 0:e.minLimit)!=null?c:0,this.maxSize=(s=e==null?void 0:e.maxSize)!=null?s:Iw,this.caption=(h=e==null?void 0:e.caption)!=null?h:Ft.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:a("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(f=e==null?void 0:e.isShowWatermark)!=null?f:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(E=e==null?void 0:e.operation)!=null?E:["info","preview","download"],this.aiExplanation=(_=e==null?void 0:e.aiExplanation)!=null?_:!1,this.aiExplanationLength=(b=e==null?void 0:e.aiExplanationLength)!=null?b:500,this.storageType=(I=e==null?void 0:e.storageType)!=null?I:"local",this.customOperation=(m=e==null?void 0:e.customOperation)!=null?m:[],this.describe=(D=e==null?void 0:e.describe)!=null?D:""}}Tt.Rules=Bw,Tt.RuntimeRules=Aw;class Ft extends T{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlName(){return a("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Ft.controlEventKeys=["on_change","on_file_actions"],Ft.controlFieldType=C.FILE,Ft.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ka extends F{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ka.controlFieldType=C.FILE;var qs={Designer:Ft,Runtime:ka,Property:Tt};const Tw=10485760,Fw=31457280;class Sw extends z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Fw,message:a("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F330MB\u4E4B\u95F4")}}}class yu extends Tt{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.showType="image",this.maxLimit=(i=e==null?void 0:e.maxLimit)!=null?i:10,this.caption=(u=(n=e==null?void 0:e.caption)!=null?n:fu.controlName)!=null?u:a("CMD.image",null,"\u56FE\u7247"),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(r=e==null?void 0:e.compressTypeCode)!=null?r:ma.NO_COMPRESS,this.compressRatio=(c=e==null?void 0:e.compressRatio)!=null?c:1,this.maxPixel=(s=e==null?void 0:e.maxPixel)!=null?s:1080,this.maxSize=(h=e==null?void 0:e.maxSize)!=null?h:Tw}}yu.Rules=Sw;class fu extends Ft{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlName(){return a("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}fu.controlFieldType=C.IMAGE,fu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-input",visible:!0,name:"describe",label:a("CMD.84591774578995829")},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP,o.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Pw extends ka{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}static get controlType(){return"image"}}var Ws={Designer:fu,Runtime:Pw,Property:yu};class Ow extends Le{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:a("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},this.rangeMax={type:"any"};const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=i,this.defaultValue.fields.amount[0].min=n,this.defaultValue.fields.amount[0].message=a("CMD.pleaseEnterNumberRange",{max:i,min:n},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),n&&i!==void 0&&(this.rangeMax={type:"number",min:n,message:a("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class kw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object");const i=e.rangeMax===""?void 0:e.rangeMax,n=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Tr(lt({},this[0]),{type:"number"}),{type:"number",min:n,max:i,message:a(i===void 0?"CMD.pleaseEnterAValueGreaterThanMin":n===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:i,min:n},a(i===void 0?"CMD.51051751712133507":n===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class mi extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(n=e==null?void 0:e.rangeMax)!=null?n:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new t_(e==null?void 0:e.dataBind),this.datasourceBind=new W((c=e==null?void 0:e.datasourceBind)!=null?c:{displayBoList:[new yl({value:"name"})]}),this.defaultValue=new i_((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:a_.CNY}),this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.options=de(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:gi.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(E=e==null?void 0:e.showUpperCase)!=null?E:!1}}mi.Rules=Ow,mi.RuntimeRules=kw;class gi extends T{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return a("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}gi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],gi.controlFieldType=C.MONEY,gi.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.SUBMIT_SELECT_CURRENCY,o.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Us extends F{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"amount"}}Us.controlFieldType=C.MONEY;var zs={Designer:gi,Runtime:Us,Property:mi};class Rw extends z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:a("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:a("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:a("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=a("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class Mw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const i=e.required?1:0;this.push({type:"number",min:i,max:e.totalScore,message:a("CMD.scoreDefaultValueRange",{max:e.totalScore,min:i},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class bi extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.totalScore=(i=e==null?void 0:e.totalScore)!=null?i:5,this.scoreType=(n=e==null?void 0:e.scoreType)!=null?n:oa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(l=e==null?void 0:e.explain)==null?void 0:l.map(f=>new Pn(f)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Pn),this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Ci.controlName,this.explainColor=(h=e==null?void 0:e.explainColor)!=null?h:"primary",this.isShowCurrentScore=(d=e==null?void 0:e.isShowCurrentScore)!=null?d:!1}}bi.Rules=Rw,bi.RuntimeRules=Mw;class Ci extends T{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return a("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,i){if(e==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{const n=i-this.props.explain.length,u=Array(n).fill(void 0).map(()=>new Pn);this.props.explain.push(...u)}}super.postUpdate(e,i)}}Ci.controlEventKeys=["on_change","on_click"],Ci.controlFieldType=C.DECIMAL,Ci.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"common-color-type",visible:!0,name:"explainColor",label:a("CMD.71be1774578971263")},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"common-switch",visible:!0,name:"isShowCurrentScore",label:a("CMD.ded61774578956109"),default:!1},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Gs extends F{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"score"}}Gs.controlFieldType=C.DECIMAL;var Ks={Designer:Ci,Runtime:Gs,Property:bi};class xw extends x{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const i={type:"object",fields:{}};e.addressType.includes("country")&&(i.fields.country={type:"string",required:e.required,message:a("CMD.pleaseSelectCountry",null,"\u8BF7\u9009\u62E9\u56FD\u5BB6")}),e.addressType.includes("province")&&(i.fields.province={type:"string",required:e.required,message:a("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}),e.addressType.includes("city")&&(i.fields.city={type:"string",required:e.required,message:a("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(i.fields.district={type:"string",required:e.required,message:a("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(i)}}}class vu extends A{constructor(e){var i,n,u,l,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:mu.controlName,this.defaultValueType=(n=e==null?void 0:e.defaultValueType)!=null?n:"default",this.countryScope=(u=e==null?void 0:e.countryScope)!=null?u:["100000"],this.addressType=(l=e==null?void 0:e.addressType)!=null?l:["country","province","city","district"],this.defaultValue=new n_((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:a("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}vu.RuntimeRules=xw;class mu extends T{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}static get controlName(){return a("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}mu.controlFieldType=C.ADDRESS,mu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Qs extends F{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}static get controlName(){return a("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Qs.controlFieldType=C.ADDRESS;var Zs={Designer:mu,Runtime:Qs,Property:vu};class Nw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gu extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ei.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new Q(E))}))}}gu.RuntimeRules=Nw;class Ei extends T{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Ei.controlName=a("CMD.department",null,"\u90E8\u95E8"),Ei.controlFieldType=C.DEPARTMENTS,Ei.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 Xs extends F{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}static get controlType(){return"department"}}Xs.controlFieldType=C.DEPARTMENTS;var Js={Designer:Ei,Runtime:Xs,Property:gu};class Ra extends A{constructor(e){var i,n,u;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:"",this.caption=(n=e==null?void 0:e.caption)!=null?n:_i.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:a("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class _i extends T{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return a("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}_i.controlEventKeys=["on_change"],_i.controlFieldType=C.AUTO_NUMBER,_i.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Ys extends F{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ys.controlFieldType=C.AUTO_NUMBER;var ps={Designer:_i,Runtime:Ys,Property:Ra};class Lw extends z{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 $w extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:a("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class Di extends A{constructor(e){var i,n,u,l,r,c,s,h,d;super(e),this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(n=e==null?void 0:e.micrometer)!=null?n:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new u_(e==null?void 0:e.dataBind),this.defaultValue=new l_(e==null?void 0:e.defaultValue),this.caption=(l=e==null?void 0:e.caption)!=null?l:Ii.controlName,this.unitPosition=(r=e==null?void 0:e.unitPosition)!=null?r:"right",this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:a("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(s=e==null?void 0:e.scriptEcho)!=null?s:[],this.scriptSrc=(h=e==null?void 0:e.scriptSrc)!=null?h:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}Di.Rules=Lw,Di.RuntimeRules=$w;class Ii extends T{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return a("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}Ii.controlEventKeys=["on_change"],Ii.controlFieldType=C.CALC,Ii.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[o.SHOW_UPPER_CASE,o.MICROMETER,o.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class ed extends F{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"calc"}}ed.controlFieldType=C.CALC;var td={Designer:Ii,Runtime:ed,Property:Di};class Hw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(i,n){return e.required&&n.every(l=>!l)?Promise.reject(a("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class bu extends A{constructor(e){var i,n,u,l,r,c;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:["",""],this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:a("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:a("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(c=e==null?void 0:e.caption)!=null?c:Cu.controlName}}bu.RuntimeRules=Hw;class Cu extends T{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlName(){return a("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Cu.controlFieldType=C.DECIMAL_RANGE,Cu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class id extends F{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}id.controlFieldType=C.DECIMAL_RANGE;var nd={Designer:Cu,Runtime:id,Property:bu};class Vw extends x{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 Eu extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_;super(e),this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:["",""],this.dateType=(n=e==null?void 0:e.dateType)!=null?n:at.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(l=e==null?void 0:e.commonTimeSetting)!=null?l:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(c=e==null?void 0:e.rangeMin)!=null?c:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(h=e==null?void 0:e.placeholderStart)!=null?h:a("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:a("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(f=e==null?void 0:e.caption)!=null?f:_u.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(b=>new Sn(b)))!=null?E:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}Eu.RuntimeRules=Vw;class _u extends T{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}static get controlName(){return a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}_u.controlFieldType=C.ARRAY,_u.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],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:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ud extends F{constructor(e){super(e),this.props=new Eu(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}ud.controlFieldType=C.ARRAY;var ld={Designer:_u,Runtime:ud,Property:Eu};class jw extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class qw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class wi extends A{constructor(e){var i,n,u,l,r;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:St.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}wi.Rules=jw,wi.RuntimeRules=qw;class St extends T{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return a("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}St.controlFieldType=C.ANY,St.controlEventKeys=[],St.slots=["grid-table-toolbar-slot",Or.DEFAULT],St.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_HIDE_CAPTION,o.REQUIRED,o.IS_SHOW_CAPTION_TIP,o.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class ad extends F{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}ad.controlFieldType=C.ANY;var rd={Designer:St,Runtime:ad,Property:wi};class Ww extends Le{constructor(e){super(e),this.listPageBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:a("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:a("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Du extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_;super(e),this.options=de((i=e==null?void 0:e.options)!=null?i:[]),this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"datasource",this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Bi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new vl(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var I;(I=this.multistageFilling)==null||I.push(new Q(b))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new rt(e==null?void 0:e.formBind),this.optionDisplayConfig=(f=e==null?void 0:e.optionDisplayConfig)!=null?f:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(E=e==null?void 0:e.aiContentSearch)!=null?E:!1,this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!1}}Du.Rules=Ww;class Bi extends T{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlName(){return a("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{optionDisplayConfig:n}=this.props;i.props.optionDisplayConfig=n}return i}}Bi.controlFieldType=C.VARCHAR,Bi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.CAN_SEARCH,o.DEFAULT_SHOW_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[o.CAN_VIEW_FORM,o.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],Bi.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class od extends F{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}od.controlFieldType=C.VARCHAR;var cd={Designer:Bi,Runtime:od,Property:Du};class Ma extends Bt{constructor(e){super(e)}}class sd extends At{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return a("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}sd.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED]},{key:"super-setting",visible:!0}];class dd extends F{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"search-input"}}dd.controlFieldType=C.VARCHAR;var hd={Designer:sd,Runtime:dd,Property:Ma};class Uw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],ln.call(this,e,Me.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:a("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class zw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ai extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m,D,R,P,M;super(e),this.optionConfig="datasource",this.caption=(i=e==null?void 0:e.caption)!=null?i:Me.controlName,this.placeholder=(n=e==null?void 0:e.placeholder)!=null?n:a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(l=e==null?void 0:e.canSearch)!=null?l:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(c=e==null?void 0:e.optionalLevel)!=null?c:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(h=e==null?void 0:e.isShowFilterItem)!=null?h:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(f=e==null?void 0:e.isDefaultCheckSub)!=null?f:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new en((_=e==null?void 0:e.datasourceBind)!=null?_:{attributes:Me.controlCustomAttributes}),this.filterItemDatasourceBind=new en((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:Me.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(R=(D=e==null?void 0:e.multistageFilling)==null?void 0:D.map(te=>new Q(te)))!=null?R:[],this.defaultValue=(P=e==null?void 0:e.defaultValue)!=null?P:[],this.treeQuery=(M=e==null?void 0:e.treeQuery)!=null?M:[]}}Ai.Rules=Uw,Ai.RuntimeRules=zw;class Me extends T{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return a("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:a("CMD.33ee1751712159752"),required:!0}]}}Me.controlEventKeys=["on_change","on_click","on_tree_search"],Me.controlFieldType=C.ARRAY,Me.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.CAN_SEARCH,o.DEFAULT_DISPLAY,o.CONTAINS_SUB_NODE,o.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class yd extends F{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"tree"}}yd.controlFieldType=C.ARRAY;var fd={Designer:Me,Runtime:yd,Property:Ai};class Gw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},ln.call(this,e,He.controlCustomAttributes),e.externalType===Re.ASSIGN&&(this.externalScope={type:"array",required:!0,message:a("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class Kw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ti extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.range=(n=e==null?void 0:e.range)!=null?n:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(l=e==null?void 0:e.multiple)!=null?l:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:He.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:a("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new pi((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:He.controlCustomAttributes}),this.datasourceType=(f=e==null?void 0:e.datasourceType)!=null?f:fa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:va.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:Re.ALL,this.externalScope=(_=e==null?void 0:e.externalScope)!=null?_:[],this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.mainDeptFlag=(I=e==null?void 0:e.mainDeptFlag)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var R;(R=this.multistageFilling)==null||R.push(new Q(D))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1}}Ti.Rules=Gw,Ti.RuntimeRules=Kw;class He extends T{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return a("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.ffd71751712162321"),required:!0}]}}He.controlFieldType=C.EMPLOYEES,He.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],He.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP,o.MAIN_DEPT_FLAG,o.DEFAULT_SHOW_OPTIONS]},{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 vd extends F{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"employee2"}}vd.controlFieldType=C.EMPLOYEES;var md={Designer:He,Runtime:vd,Property:Ti};class Qw extends z{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:a("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((i,n,u)=>(i[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:a("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(l,r,c){if(n.type==="public"&&Zi(r.value)&&r.value.length===0){c(a("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}c()}},indexSignature:{type:"object",required:!0,validator(l,r,c){if((n==null?void 0:n.signaturePosition)==="index"&&Zi(r.value)&&r.value.length===0){c(a("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}c()}},company:{type:"object",required:!0,validator(l,r,c){if(n.type==="public"&&n.signatureType.includes("company")&&Zi(r.value)&&r.value.length===0){c(a("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}c()}}}},i),{})}}}}}class Iu extends A{constructor(e){var i,n,u,l,r,c;super(e),this.command="",this.isLoading=!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Fi.controlName,this.content=(n=e==null?void 0:e.content)!=null?n:a("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(l=e==null?void 0:e.showType)!=null?l:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(c=e==null?void 0:e.icon)!=null?c:"iconfenlei2",this.signatureConfig=new dc(e==null?void 0:e.signatureConfig)}}Iu.Rules=Qw;class Fi extends T{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}static get controlName(){return a("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Fi.controlEventKeys=["on_click","on_click_finish"],Fi.controlFieldType=C.VARCHAR,Fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.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 gd extends F{constructor(e){super(e),this.props=new Iu(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}gd.controlFieldType=C.VARCHAR;var bd={Designer:Fi,Runtime:gd,Property:Iu};class Zw extends z{constructor(e){super(e),this.content={type:"string",required:!0,message:a("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(i,n,u){if(n.active&&!n.text){u(a("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(i,n,u){if(n.active&&!n.text){u(a("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(i,n,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(a("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class Xw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Si extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Pi.controlName,this.content=(n=e==null?void 0:e.content)!=null?n:a("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(l=e==null?void 0:e.addLocal)!=null?l:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(c=e==null?void 0:e.canEdit)!=null?c:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(h=e==null?void 0:e.canExport)!=null?h:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(f=e==null?void 0:e.maxSize)!=null?f:Dw,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new hc(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}Si.Rules=Zw,Si.RuntimeRules=Xw;class Pi extends T{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return a("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Pi.controlEventKeys=["on_change","on_wps_open"],Pi.controlFieldType=C.FILE,Pi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.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 Cd extends F{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"wps"}}Cd.controlFieldType=C.FILE;var Ed={Designer:Pi,Runtime:Cd,Property:Si};class Jw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ln.call(this,e,Ve.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:a("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class Yw extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Oi extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m,D,R;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ve.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new pi((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ve.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:On.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(P=>{var M;(M=this.multistageFilling)==null||M.push(new Q(P))})),this.defaultShowOptions=(m=e==null?void 0:e.defaultShowOptions)!=null?m:!1,this.disabledSelectedFilters=(R=(D=e==null?void 0:e.disabledSelectedFilters)==null?void 0:D.map(P=>P.children!==void 0?new Yi(P):new $t(P)))!=null?R:[]}}Oi.Rules=Jw,Oi.RuntimeRules=Yw;class Ve extends T{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Ve.controlName=a("CMD.department",null,"\u90E8\u95E8"),Ve.controlFieldType=C.DEPARTMENTS,Ve.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.IS_SHOW_CAPTION_TIP,o.DEFAULT_SHOW_OPTIONS]},{key:"department-datasource-setting",visible:!0},{key:"department-disabled-filter",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 _d extends F{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"department2"}}_d.controlFieldType=C.DEPARTMENTS;var Dd={Designer:Ve,Runtime:_d,Property:Oi};class pw extends z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},ln.call(this,e,Pt.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:a("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class eB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ki extends A{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m,D,R;super(e),this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.multiple=(n=e==null?void 0:e.multiple)!=null?n:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new hl(e==null?void 0:e.listPageBind),this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(h=e==null?void 0:e.showSubDept)!=null?h:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Pt.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:a("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new pE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Pt.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:On.INTERNAL,this.businessScope=(_=e==null?void 0:e.businessScope)!=null?_:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(D=e==null?void 0:e.showSelectedDetail)!=null?D:!1,this.selectedContentConfig=new vl(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(P=>{var M;(M=this.multistageFilling)==null||M.push(new Q(P))}))}}ki.Rules=pw,ki.RuntimeRules=eB;class Pt extends T{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return a("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.895a1751712162322"),required:!0}]}toDataBindModel(e){const i=super.toDataBindModel(e);if(i&&!Array.isArray(i)){const{displayLevel:n,showSubDept:u}=this.props;i.props.displayLevel=n,i.props.showSubDept=u}return i}}Pt.controlFieldType=C.DEPARTMENTS,Pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[o.REQUIRED,o.IS_HIDE,o.IS_HIDE_CAPTION,o.MULTIPLE,o.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 Id extends F{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Id.controlFieldType=C.DEPARTMENTS;var wd={Designer:Pt,Runtime:Id,Property:ki};class tB extends z{constructor(e){super(e),this.dataBind={type:"any"}}}class iB extends x{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Ri extends A{constructor(e){var i,n,u,l,r;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Mi.controlName,this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(l=e==null?void 0:e.permissions)!=null?l:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}Ri.Rules=tB,Ri.RuntimeRules=iB;class Mi extends T{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlName(){return a("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return B.VUE_PAGE}}Mi.controlFieldType=C.ANY,Mi.controlEventKeys=[],Mi.setting=[];class Bd extends F{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return B.VUE_PAGE}}Bd.controlFieldType=C.ANY;var Ad={Designer:Mi,Runtime:Bd,Property:Ri},nB=Object.freeze({__proto__:null,Input:ns,Checkbox:ls,Cascader:rs,Counter:cs,Radio:ds,Number:ys,Slider:vs,Switch:gs,Tag:Cs,Barcode:_s,QrCode:Is,DatePicker:Bs,DateRange:Ts,TimePicker:Ss,TimeRange:Os,Textarea:Rs,RichText:xs,Select:Ls,SelectMultiple:Hs,Employee:js,Image:Ws,Attachment:qs,Amount:zs,Score:Ks,Address:Zs,Department:Js,AutoNumber:ps,Calc:td,SearchNumberRange:nd,SearchDateRange:ld,VueFormItem:rd,SelectRelation:cd,SearchInput:hd,Tree:fd,Employee2:md,ElectronicSignature:bd,WPS:Ed,Department2:Dd,OrganizationSelection:wd,VuePage:Ad});class Td extends N{static get controlName(){return a("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Td.excludes=[B.GRID];class uB extends ${static get controlType(){return"grid"}constructor(e){super(e)}}class lB extends k{constructor(e){super(e)}}var Fd={Designer:Td,Runtime:uB,Property:lB};const aB=24;class je extends k{constructor(e){var i,n,u;super(e),this.span=(i=e==null?void 0:e.span)!=null?i:aB,this.offset=(n=e==null?void 0:e.offset)!=null?n:0,this.isNoFull=(u=e==null?void 0:e.isNoFull)!=null?u:!1}}class xi extends N{constructor(e){super(e),this.props=new je(e==null?void 0:e.props)}static get controlName(){return a("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}xi.excludes=[B.COL,B.SUBTABLE,B.SUBTABLE_COLUMN,B.GRID_LAYOUT_CONTAINER,B.DIVIDER],xi.childrenMaxLength=1;class xa extends ${constructor(e){super(e),this.props=new je(e==null?void 0:e.props)}static get controlType(){return"col"}}var Sd={Designer:xi,Runtime:xa,Property:je};class wu extends k{constructor(e){var i,n,u,l,r;super(e),this.layoutMode=(i=e==null?void 0:e.layoutMode)!=null?i:"select",this.gutter=(n=e==null?void 0:e.gutter)!=null?n:0,this.align=(u=e==null?void 0:e.align)!=null?u:"",this.justify=(l=e==null?void 0:e.justify)!=null?l:"",this.padding=new __(e==null?void 0:e.padding),this.margin=new E_(e==null?void 0:e.margin),this.isFull=(r=e==null?void 0:e.isFull)!=null?r:!1}}class Bu extends N{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}static get controlName(){return a("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Bu.excludes=[B.ROW],Bu.setting=[{key:"col-setting",visible:!0},{key:"dynamic-margin-padding",visible:!0}];class Pd extends ${constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}static get controlType(){return"row"}}var Od={Designer:Bu,Runtime:Pd,Property:wu};const rB=4;class Au extends Bu{static get controlName(){return a("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Au.excludes=[B.GRID_ROW],Au.setting=[],Au.childrenMaxLength=rB;class oB extends Pd{static get controlType(){return"grid-row"}constructor(e){super(e)}}class cB extends wu{constructor(e){super(e)}}var kd={Designer:Au,Runtime:oB,Property:cB};class sB extends k.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Tu extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:a("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none",this.describe=(l=e==null?void 0:e.describe)!=null?l:"",this.position=(r=e==null?void 0:e.position)!=null?r:"left",this.captionType=(c=e==null?void 0:e.captionType)!=null?c:"default",this.borderType=(s=e==null?void 0:e.borderType)!=null?s:"none",this.divider=(h=e==null?void 0:e.divider)!=null?h:"solid",this.triggerShadow=(d=e==null?void 0:e.triggerShadow)!=null?d:"never",this.type=(f=e==null?void 0:e.type)!=null?f:"default"}}Tu.Rules=sB;class Na extends N{constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlName(){return a("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Na.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"common-input",visible:!0,name:"describe",label:a("CMD.c9451774578995831")},{key:"common-button-radio",visible:!0,name:"divider",label:a("CMD.6bdd1774579030243"),default:"solid",options:[{value:"none",label:a("CMD.6a321774579067900")},{value:"dotted",label:a("CMD.6bf61774579053844")},{value:"solid",label:a("CMD.1d291774579055379")}],tip:a("CMD.de3f1774580653034")},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.93ae1774579004149"),default:"default",options:[{value:"default",label:a("CMD.1ef01774579045622")},{value:"card",label:a("CMD.9d551774579049605")}]},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.b1761774579005863"),default:"left",options:[{value:"left",label:a("CMD.23f71774579023855")},{value:"center",label:a("CMD.ecb71774579037654")},{value:"right",label:a("CMD.5e991774579025728")}]},{key:"common-select",visible:!0,name:"captionType",label:a("CMD.87c01774579007616"),default:"default",options:[{value:"default",label:a("CMD.1ef01774579045622")},{value:"warning",label:a("CMD.80581774579050943")},{value:"success",label:a("CMD.98331774579052281")}]},{key:"common-select",visible:!0,name:"borderType",label:a("CMD.852f1774579009314"),default:"none",options:[{value:"none",label:a("CMD.83e11774579028684")},{value:"dotted",label:a("CMD.6bf61774579053844")},{value:"solid",label:a("CMD.1d291774579055379")}]},{key:"common-select",visible:!0,name:"triggerShadow",label:a("CMD.1a941774578973189"),default:"never",options:[{value:"never",label:a("CMD.16b21774579011405")},{value:"hover",label:a("CMD.cef21774578966959")},{value:"always",label:a("CMD.74351774579013248")}]},{key:"super-setting",visible:!0}],Na.excludes=[B.CARD_GROUP];class dB extends ${constructor(e){super(e),this.props=new Tu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Rd={Designer:Na,Runtime:dB,Property:Tu};class hB extends k.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:a("CMD.c7ee1777541686092")}}}class Fu extends k{constructor(e){var i,n,u,l,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:a("CMD.fbd81777541728197"),this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.captionColor=(e==null?void 0:e.captionColor)||"",this.captionSize=(e==null?void 0:e.captionSize)||"",this.isCaptionItalic=(e==null?void 0:e.isCaptionItalic)||!1,this.captionFontWeight=(u=e==null?void 0:e.captionFontWeight)!=null?u:ke.NORMAL,this.position=(l=e==null?void 0:e.position)!=null?l:"left",this.backgroundColor=(r=e==null?void 0:e.backgroundColor)!=null?r:"#ffffff",this.showShadow=(c=e==null?void 0:e.showShadow)!=null?c:!1}}Fu.Rules=hB;class La extends N{constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlName(){return a("CMD.48611777541728194")}static get controlIcon(){return"iconkongbairongqi"}static get controlType(){return"blank-container"}}La.excludes=[],La.setting=[{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[o.CAPTION_SIZE,o.CAPTION_COLOR,o.IS_CAPTION_ITALIC,o.CAPTION_FONT_WEIGHT],visible:!0},{key:"common-button-radio",visible:!0,name:"position",label:a("CMD.4b761777541729796"),default:"left",options:[{value:"left",label:a("CMD.321d1777541743102")},{value:"center",label:a("CMD.00281777541758750")},{value:"right",label:a("CMD.534c1777541744540")}]},{key:"color",visible:!0,name:"backgroundColor",layout:"horizontal",label:a("CMD.22b11777541753145")},{key:"common-switch",visible:!0,name:"showShadow",label:a("CMD.238b1777541731433"),default:!1},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class yB extends ${constructor(e){super(e),this.props=new Fu(e==null?void 0:e.props)}static get controlType(){return"blank-container"}}var Md={Designer:La,Runtime:yB,Property:Fu};class fB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:a("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Su extends k{constructor(e){var i,n,u,l,r;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(n=e==null?void 0:e.fixed)!=null?n:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new WE(e==null?void 0:e.metaAutoWidth)}}Su.Rules=fB;class he extends N{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}he.controlName=a("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[B.SUBTABLE,B.SUBTABLE_COLUMN,B.ROW,B.COL,B.CARD_GROUP,B.DIVIDER,B.TEXT,B.GRID_LAYOUT_CONTAINER],he.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",showItems:[o.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class xd extends ${constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}}xd.controlType="subtable-column";var Nd={Designer:he,Runtime:xd,Property:Su};class $a extends k{constructor(e){super(e)}}class qe extends N{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}}qe.controlName=a("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),qe.controlType="subtable-row",qe.controlIcon="subtable-row",qe.childrenMaxLength=1,qe.excludes=[B.SUBTABLE,B.SUBTABLE_COLUMN,B.SUBTABLE_ROW,B.ROW,B.COL,B.CARD_GROUP,B.DIVIDER,B.TEXT],qe.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0}];class vB extends ${constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Ld={Designer:qe,Runtime:vB,Property:$a};class Ha extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.width=(i=e==null?void 0:e.width)!=null?i:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:C.VARCHAR,this.fieldName=(c=e==null?void 0:e.fieldName)!=null?c:"",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(h=e==null?void 0:e.decimalKeepPrecision)!=null?h:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:at.DATE,this.departmentDisplayLevel=(f=e==null?void 0:e.departmentDisplayLevel)!=null?f:1}}class We extends N{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}We.controlName=a("CMD.8ba01751712155518"),We.controlType="gridtable-column",We.controlIcon="gridtable-column",We.childrenMaxLength=1,We.excludes=[B.GRID_TABLE,B.GRID_TABLE_COLUMN,B.ROW,B.COL,B.CARD_GROUP,B.DIVIDER,B.TEXT],We.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class $d extends ${constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}}$d.controlType="gridtable-column";var Hd={Designer:We,Runtime:$d,Property:Ha};class Va extends k{constructor(e){var i,n;super(e),this.childMinWidth=(i=e==null?void 0:e.childMinWidth)!=null?i:230,this.colGap=(n=e==null?void 0:e.colGap)!=null?n:24}}class ja extends N{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return a("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ja.excludes=[B.GRID_LAYOUT_CONTAINER,B.CARD_GROUP,B.TAB],ja.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class mB extends ${constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Vd={Designer:ja,Runtime:mB,Property:Va};class qa extends k{constructor(e){var i,n,u,l,r;super(e),this.mobileShowType=(i=e==null?void 0:e.mobileShowType)!=null?i:"vertical",this.type=(n=e==null?void 0:e.type)!=null?n:"line",this.tabPosition=(u=e==null?void 0:e.tabPosition)!=null?u:"top",this.isLabelFlat=(l=e==null?void 0:e.isLabelFlat)!=null?l:!1,this.isDelay=(r=e==null?void 0:e.isDelay)!=null?r:!1}}class gB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Pu extends k{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Li.controlName}}Pu.Rules=gB;class Ni extends N{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlName(){return a("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Ni.excludes=[B.TAB],Ni.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class bB extends ${constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var jd={Designer:Ni,Runtime:bB,Property:Pu};class Li extends N{constructor(e){var i;super(e),this.props=new qa(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Ni,new Ni]}static get controlName(){return a("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Li.excludes=[B.TAB],Li.controlEventKeys=["on_change_tab"],Li.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"common-button-radio",visible:!0,name:"type",label:a("CMD.2a051774579020300"),default:"line",options:[{value:"line",label:a("CMD.4b041774579045624")},{value:"card",label:a("CMD.f38f1774579033217")}]},{key:"common-button-radio",visible:!0,name:"tabPosition",label:a("CMD.b9af1774579022229"),default:"top",options:[{value:"top",label:a("CMD.1efb1774579069467")},{value:"bottom",label:a("CMD.24c01774579070698")},{value:"left",label:a("CMD.13f41774579072043")},{value:"right",label:a("CMD.ebe01774579073490")}]},{key:"common-switch",visible:!0,name:"isLabelFlat",label:a("CMD.65361774578950526"),default:!1},{key:"common-switch",visible:!0,name:"isDelay",label:a("CMD.d1641774578983962"),default:!1},{key:"super-setting",visible:!0}];class CB extends ${constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"tab"}}var qd={Designer:Li,Runtime:CB,Property:qa};class Wd extends k{constructor(e){super(e)}}class Ud extends N{constructor(e){super(e),this.props=new Wd({}),this.children=(e==null?void 0:e.children)||[new xi({props:new je({span:12})}),new xi({props:new je({span:12})})]}static get controlName(){return a("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Ud.excludes=[B.GRID_ROW,B.ROW,B.GRID,B.SUBTABLE,B.TAB,B.TOOLBOX];class EB extends ${static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new xa({props:new je({span:12})}),new xa({props:new je({span:12})})]}}var zd={Designer:Ud,Runtime:EB,Property:Wd};class _B extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class DB extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:a("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:a("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:a("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:a("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:a("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:a("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:a("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:a("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),Sl.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const i=this.datasourceBind.find(n=>n.type==="object"&&n.fields);i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}}}class $i extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I;super(e),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.isLoading=(i=e==null?void 0:e.isLoading)!=null?i:!1,this.isShowSubList=(n=e==null?void 0:e.isShowSubList)!=null?n:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(l=e==null?void 0:e.triggerFieldCode)!=null?l:"",this.sublistPage=new QE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new XE(e==null?void 0:e.joinRelation),this.showType=(c=e==null?void 0:e.showType)!=null?c:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(h=e==null?void 0:e.selectionType)!=null?h:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(f=e==null?void 0:e.isShowSelection)!=null?f:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(E=e==null?void 0:e.countLimit)!=null?E:1e5,this.rowStyle=new y_(e==null?void 0:e.rowStyle),this.isTreeData=(_=e==null?void 0:e.isTreeData)!=null?_:!1,this.treeData=new f_(e==null?void 0:e.treeData),this.isMasterDetail=(b=e==null?void 0:e.isMasterDetail)!=null?b:!1,this.masterDetail=new v_(e==null?void 0:e.masterDetail),this.isShowDrillDownList=(I=e==null?void 0:e.isShowDrillDownList)!=null?I:!1,this.drillDownList=new C_(e==null?void 0:e.drillDownList)}}$i.Rules=DB,$i.RuntimeRules=_B;class Hi extends N{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return a("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}Hi.slotPosition={left:"list-view-left-slot"},Hi.excludes=[B.ROW],Hi.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"],Hi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-tree-setting",visible:!0},{key:"list-master-detail",visible:!0},{key:"list-drill-down-setting",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class IB extends ${constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Gd={Designer:Hi,Runtime:IB,Property:$i};class wB extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ou extends k{constructor(e){var i,n,u,l,r,c,s;super(e),this.save=new Be((i=e==null?void 0:e.save)!=null?i:{content:a("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Be((n=e==null?void 0:e.cancel)!=null?n:{content:a("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Be((u=e==null?void 0:e.saveAs)!=null?u:{content:a("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Be((l=e==null?void 0:e.print)!=null?l:{content:a("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(h=>new Be(h)),this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.processFormReadonlyControlMode=(s=e==null?void 0:e.processFormReadonlyControlMode)!=null?s:"disabled"}}Ou.RuntimeRules=wB;class Kd extends N{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}static get controlName(){return a("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Kd.excludes=[];class BB extends ${constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Qd={Designer:Kd,Runtime:BB,Property:Ou};class AB extends N{static get controlName(){return a("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class TB extends ${static get controlType(){return"page"}constructor(e){super(e)}}class FB extends k{constructor(e){var i;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(i=e==null?void 0:e.hideHeader)!=null?i:!1}}var Zd={Designer:AB,Runtime:TB,Property:FB};class SB extends N{static get controlName(){return a("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class PB extends ${static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class OB extends k{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new bc(e==null?void 0:e.flexConfig)}}var Xd={Designer:SB,Runtime:PB,Property:OB};class kB extends N{static get controlName(){return a("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class RB extends ${static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class MB extends k{constructor(e){super(e)}}var Jd={Designer:kB,Runtime:RB,Property:MB};class xB extends N{static get controlName(){return a("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class NB extends ${static get controlType(){return"position"}constructor(e){super(e)}}class LB extends k{constructor(e){var i,n,u,l;super(e),this.widthSpan=(i=e==null?void 0:e.widthSpan)!=null?i:12,this.heightSpan=(n=e==null?void 0:e.heightSpan)!=null?n:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(l=e==null?void 0:e.top)!=null?l:0}}var Yd={Designer:xB,Runtime:NB,Property:LB};class Wa extends k{constructor(e){var i,n,u;super(e),this.position=(i=e==null?void 0:e.position)!=null?i:"bottom",this.opacity=(n=e==null?void 0:e.opacity)!=null?n:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class ku extends N{constructor(e){var i;super(e),this.props=new Wa((i=e==null?void 0:e.props)!=null?i:{})}static get controlName(){return a("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}ku.slotPosition={default:"action-bar-slot"},ku.excludes=[],ku.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"super-setting",visible:!0}];class $B extends ${constructor(e){var i;super(e),this.props=new Wa((i=e==null?void 0:e.props)!=null?i:{})}static get controlType(){return"action-bar"}}var pd={Designer:ku,Runtime:$B,Property:Wa};class Ua extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f,g;super(e),this.direction=(i=e==null?void 0:e.direction)!=null?i:"horizontal",this.labelPlacement=(n=e==null?void 0:e.labelPlacement)!=null?n:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(l=e==null?void 0:e.type)!=null?l:"default",this.isSticky=(r=e==null?void 0:e.isSticky)!=null?r:!1,this.step=(c=e==null?void 0:e.step)!=null?c:"",this.isCenter=(s=e==null?void 0:e.isCenter)!=null?s:!1,this.isStopStepClick=(h=e==null?void 0:e.isStopStepClick)!=null?h:!0,this.status=(d=e==null?void 0:e.status)!=null?d:"process",this.stopStatus=(f=e==null?void 0:e.stopStatus)!=null?f:"finish",this.isShowStepButton=(g=e==null?void 0:e.isShowStepButton)!=null?g:!1,this.stepButtons=new w_(e==null?void 0:e.stepButtons)}}class za extends k{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.title=(i=e==null?void 0:e.title)!=null?i:"",this.subTitle=(n=e==null?void 0:e.subTitle)!=null?n:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(l=e==null?void 0:e.icon)!=null?l:"",this.color=(r=e==null?void 0:e.color)!=null?r:"",this.status=(c=e==null?void 0:e.status)!=null?c:"wait",this.description=(s=e==null?void 0:e.description)!=null?s:"",this.isDefault=(h=e==null?void 0:e.isDefault)!=null?h:!1}}class Ot extends N{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return a("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Ot.excludes=[B.TAB],Ot.setting=[];class HB extends ${constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var eh={Designer:Ot,Runtime:HB,Property:za};class Ru extends N{constructor(e){var i;super(e),this.props=new Ua(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Ot,new Ot,new Ot]}static get controlName(){return a("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}Ru.excludes=[],Ru.controlEventKeys=["on_change_steps"],Ru.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step",visible:!0},{key:"common-switch",visible:!0,name:"isCenter",label:a("CMD.924f1774579018766"),default:!1,tip:a("CMD.16b71774578977696")},{key:"common-switch",visible:!0,name:"isStopStepClick",label:a("CMD.2d331774578964504"),default:!0},{key:"common-select",visible:!0,name:"status",label:a("CMD.bd571774578979668"),default:"process",options:[{value:"wait",label:a("CMD.69fe1774579059983")},{value:"process",label:a("CMD.0d9e1774579031802")},{value:"finish",label:a("CMD.b1021774579061754")},{value:"error",label:a("CMD.a24d1774579063219")}]},{key:"common-select",visible:!0,name:"stopStatus",label:a("CMD.328c1774578981653"),default:"finish",options:[{value:"wait",label:a("CMD.69fe1774579059983")},{value:"process",label:a("CMD.0d9e1774579031802")},{value:"finish",label:a("CMD.b1021774579061754")},{value:"error",label:a("CMD.a24d1774579063219")}]},{key:"step-buttons",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class VB extends ${constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"step"}}var th={Designer:Ru,Runtime:VB,Property:Ua};class Ga extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I;super(e),this.rowCount=(i=e==null?void 0:e.rowCount)!=null?i:2,this.colCount=(n=e==null?void 0:e.colCount)!=null?n:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(l=e==null?void 0:e.colWidthType)!=null?l:"average",this.colWidth=(r=e==null?void 0:e.colWidth)!=null?r:"12:12",this.isLabelBold=(c=e==null?void 0:e.isLabelBold)!=null?c:!1,this.labelWidth=(s=e==null?void 0:e.labelWidth)!=null?s:"",this.align=(h=e==null?void 0:e.align)!=null?h:"",this.verticalAlign=(d=e==null?void 0:e.verticalAlign)!=null?d:"center",this.padding=(f=e==null?void 0:e.padding)!=null?f:{paddingTop:"",paddingRight:"",paddingBottom:"",paddingLeft:""},this.margin=(g=e==null?void 0:e.margin)!=null?g:{marginTop:"",marginRight:"",marginBottom:"",marginLeft:""},this.border=(E=e==null?void 0:e.border)!=null?E:{borderTop:!0,borderBottom:!0,borderLeft:!0,borderRight:!0,borderWidth:1,borderColor:"",borderType:"solid"},this.borderRadius=(_=e==null?void 0:e.borderRadius)!=null?_:{borderTopLeftRadius:"",borderTopRightRadius:"",borderBottomRightRadius:"",borderBottomLeftRadius:""},this.background=(b=e==null?void 0:e.background)!=null?b:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.innerBorder=(I=e==null?void 0:e.innerBorder)!=null?I:{borderWidth:1,borderColor:"",borderType:"solid"}}}class Ka extends N{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return a("CMD.6a6c1769566515442")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}Ka.excludes=[],Ka.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"label-bold",visible:!0},{key:"text-align",visible:!0},{key:"vertical-align",visible:!0},{key:"dynamic-border",visible:!0},{key:"inner-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class jB extends ${constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var ih={Designer:Ka,Runtime:jB,Property:Ga};class Qa extends k{constructor(e){var i,n;super(e),this.layoutMode=(i=e==null?void 0:e.layoutMode)!=null?i:"select",this.gutter=(n=e==null?void 0:e.gutter)!=null?n:0}}class Za extends N{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}Za.excludes=[B.ROW,B.TABLE_LAYOUT_ROW],Za.setting=[{key:"col-setting",visible:!0}];class qB extends ${constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var nh={Designer:Za,Runtime:qB,Property:Qa};const WB=24;class Xa extends k{constructor(e){var i,n,u,l,r,c,s,h,d,f;super(e),this.span=(i=e==null?void 0:e.span)!=null?i:WB,this.offset=(n=e==null?void 0:e.offset)!=null?n:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(l=e==null?void 0:e.tableLayoutColSpanType)!=null?l:"",this.layout=(r=e==null?void 0:e.layout)!=null?r:"flex",this.flexDirection=(c=e==null?void 0:e.flexDirection)!=null?c:"column",this.alignItems=(s=e==null?void 0:e.alignItems)!=null?s:"flex-start",this.justifyContent=(h=e==null?void 0:e.justifyContent)!=null?h:"flex-start",this.background=(d=e==null?void 0:e.background)!=null?d:{type:"backgroundColor",backgroundColor:"",backgroundImage:"",placementMode:"contain"},this.isLabelCol=(f=e==null?void 0:e.isLabelCol)!=null?f:!1}}class Ja extends N{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}Ja.excludes=[B.COL,B.SUBTABLE_COLUMN,B.GRID_LAYOUT_CONTAINER,B.TABLE_LAYOUT_COL],Ja.setting=[{key:"col-span",visible:!0},{key:"is-label-col",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0},{key:"dynamic-background",visible:!0}];class UB extends ${constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var uh={Designer:Ja,Runtime:UB,Property:Xa};class Ya extends k{constructor(e){var i,n,u;super(e),this.width=(i=e==null?void 0:e.width)!=null?i:"",this.widthCompany=(n=e==null?void 0:e.widthCompany)!=null?n:"px",this.showFormBorder=(u=e==null?void 0:e.showFormBorder)!=null?u:!1}}class pa extends N{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return a("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}pa.excludes=[],pa.setting=[{key:"dynamic-size",visible:!0},{key:"show-form-border",visible:!0}];class zB extends ${constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var lh={Designer:pa,Runtime:zB,Property:Ya};class er extends k{constructor(e){var i,n;super(e),this.accordion=(i=e==null?void 0:e.accordion)!=null?i:!1,this.bordered=(e==null?void 0:e.bordered)!==!1,this.isShowHighlightBar=(n=e==null?void 0:e.isShowHighlightBar)!=null?n:!1}}class tr extends k{constructor(e){var i;super(e),this.header=(i=e==null?void 0:e.header)!=null?i:a("CMD.08411774579056771")}}class Vi extends N{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlName(){return a("CMD.e2b61774578975402")}static get controlType(){return"collapse-pane"}static get controlIcon(){return"collapse-pane"}}Vi.excludes=[B.TAB],Vi.setting=[];class GB extends ${constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"collapse-pane"}}var ah={Designer:Vi,Runtime:GB,Property:tr};class Mu extends N{constructor(e){var i;super(e),this.props=new er(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[new Vi,new Vi]}static get controlName(){return a("CMD.0c811774579014810")}static get controlType(){return"collapse"}static get controlIcon(){return"iconziyuan1"}}Mu.excludes=[],Mu.controlEventKeys=["on_change_collapse"],Mu.setting=[{key:"common-switch",visible:!0,name:"accordion",label:a("CMD.48f31774578989481"),default:!1},{key:"common-switch",visible:!0,name:"bordered",label:a("CMD.02b21774579016858"),default:!0},{key:"common-switch",visible:!0,name:"isShowHighlightBar",label:a("CMD.41b81774578953649"),default:!1},{key:"collapse-pane",visible:!0}];class KB extends ${constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"collapse"}}var rh={Designer:Mu,Runtime:KB,Property:er},QB=Object.freeze({__proto__:null,Grid:Fd,Col:Sd,Row:Od,GridRow:kd,CardGroup:Rd,BlankContainer:Md,SubTableColumn:Nd,SubTableRow:Ld,GridTableColumn:Hd,GridLayoutContainer:Vd,Tab:qd,TabPane:jd,Toolbox:zd,ListView:Gd,DataView:Qd,Page:Zd,AdvancedContainer:Xd,PositioningContainer:Jd,Position:Yd,ActionBar:pd,Step:th,StepPane:eh,TableLayout:ih,TableLayoutRow:nh,TableLayoutCol:uh,TableLayoutWrapper:lh,Collapse:rh,CollapsePane:ah});class ZB extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:a("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:a("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:a("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:a("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:a("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:a("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:a("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class XB extends Ne{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:a("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(i,n,u){n.length<e.limitRows&&u(a("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:a("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const oh=class extends mn{constructor(t,e){var i,n,u,l,r,c,s,h,d,f,g,E,_,b,I,m,D,R,P,M,te,V,le,Ui,_e,Ku,zi,kt,De,xh,Nh,Lh,$h,Hh,Vh;super(t,e,oh.mode),this.caption=(i=e==null?void 0:e.caption)!=null?i:qi.controlName,this.isHideCaption=(n=e==null?void 0:e.isHideCaption)!=null?n:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(c=e==null?void 0:e.formKey)!=null?c:"",this.useCustomHeight=(s=e==null?void 0:e.useCustomHeight)!=null?s:!1,this.maxHeight=(h=e==null?void 0:e.maxHeight)!=null?h:mc,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(f=e==null?void 0:e.limitRows)!=null?f:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(E=e==null?void 0:e.defaultRows)!=null?E:1,this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.canAdd=(_=e==null?void 0:e.canAdd)!=null?_:!0,this.canDelete=(b=e==null?void 0:e.canDelete)!=null?b:!0,this.canCheck=(I=e==null?void 0:e.canCheck)!=null?I:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(D=e==null?void 0:e.canImport)!=null?D:!1,this.canExport=(R=e==null?void 0:e.canExport)!=null?R:!1,this.canClear=(P=e==null?void 0:e.canClear)!=null?P:!0,this.serverPagination=(M=e==null?void 0:e.serverPagination)!=null?M:!1,this.isShowCaptionTip=(te=e==null?void 0:e.isShowCaptionTip)!=null?te:!1,this.captionTip=(V=e==null?void 0:e.captionTip)!=null?V:"",this.mobileShowType=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Ui=e==null?void 0:e.mobileDefaultNum)!=null?Ui:10,this.dataStorageDoc=(_e=e==null?void 0:e.dataStorageDoc)!=null?_e:new UE,this.fixedColumn=(Ku=e==null?void 0:e.fixedColumn)!=null?Ku:[],this.mobileRowCaption=(zi=e==null?void 0:e.mobileRowCaption)!=null?zi:a("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(kt=e==null?void 0:e.mobileIsTile)!=null?kt:!1,this.isPaste=(De=e==null?void 0:e.isPaste)!=null?De:!1,this.pageSize=(xh=e==null?void 0:e.pageSize)!=null?xh:10,this.pageSizeOptions=(Nh=e==null?void 0:e.pageSizeOptions)!=null?Nh:[10,20,50,100],this.importConfig=new fc(e==null?void 0:e.importConfig),this.exportConfig=new vc(e==null?void 0:e.exportConfig),this.sortable=(Lh=e==null?void 0:e.sortable)!=null?Lh:!1,this.sortKey=($h=e==null?void 0:e.sortKey)!=null?$h:{},this.showTableIndex=(Hh=e==null?void 0:e.showTableIndex)!=null?Hh:!0,this.triggerEdit=(Vh=e==null?void 0:e.triggerEdit)!=null?Vh:"single"}};let ji=oh;ji.Rules=ZB,ji.RuntimeRules=XB;class qi extends ql{constructor(e){var i;super(e),this.props=new ji(this,e==null?void 0:e.props),((i=e==null?void 0:e.props)==null?void 0:i.headers)===void 0&&(this.props.headers=[new he,new he,new he])}static get controlName(){return a("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,i){const n=e!==void 0&&typeof e!="number"?e:new he,u=typeof e=="number"?e:i;return u===void 0?this.props.headers.push(n):this.props.headers.splice(u,0,n),n}}qi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],qi.slotPosition={toolbar:"subtable-toolbar-slot"},qi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[o.CAPTION,o.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE,o.IS_SHOW_CAPTION_TIP,o.IS_PASTE,o.SERVER_PAGINATION,o.SORTABLE,o.SHOW_TABLE_INDEX]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"common-button-radio",visible:!0,name:"triggerEdit",label:a("CMD.65531774578985876"),default:"single",options:[{value:"single",label:a("CMD.315e1774579064681")},{value:"double",label:a("CMD.22281774579066498")}]},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class JB extends Qo{constructor(e){super(e),this.props=new ji(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}}var ch={Designer:qi,Runtime:JB,Property:ji};class ir extends mn{constructor(e,i){var n,u,l,r,c;super(e,i),this.isFixedHeader=(n=i==null?void 0:i.isFixedHeader)!=null?n:!1,this.selectionType=i==null?void 0:i.selectionType,this.isShowToolbar=(u=i==null?void 0:i.isShowToolbar)!=null?u:!0,this.isShowSelection=(l=i==null?void 0:i.isShowSelection)!=null?l:!1,this.isShowCustomColumns=(r=i==null?void 0:i.isShowCustomColumns)!=null?r:!0,this.pageSizeOptions=(c=i==null?void 0:i.pageSizeOptions)!=null?c:[10,20,50,100,500]}}class YB extends be{constructor(e){super(e),this.caption.required=!1}}class xu extends G{constructor(e){var i,n,u,l,r,c,s,h;super(e),this.fixed=(i=e==null?void 0:e.fixed)!=null?i:"left",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(l=e==null?void 0:e.autoWidth)==null?void 0:l.minWidth)!=null?r:60,this.autoWidth.flex=(s=(c=e==null?void 0:e.autoWidth)==null?void 0:c.flex)!=null?s:.4,this.widthType=(h=e==null?void 0:e.widthType)!=null?h:"px"}}xu.Rules=YB;class Ue extends X{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}}Ue.controlType="order-column",Ue.controlName=a("CMD.order",null,"\u5E8F\u53F7"),Ue.controlIcon="order-column",Ue.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class nr extends J{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}}nr.controlType="order-column",nr.controlFieldType=C.DECIMAL;var sh={Designer:Ue,Runtime:nr,Property:xu};class ur extends G{constructor(e){var i,n,u,l,r,c;super(e),this.fixed=(i=e==null?void 0:e.fixed)!=null?i:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(n=e==null?void 0:e.autoWidth)==null?void 0:n.minWidth)!=null?u:84,this.caption=(l=e==null?void 0:e.caption)!=null?l:Ce.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(c=e==null?void 0:e.limit)!=null?c:3}}class Ce extends X{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(i=>{if(i.type===Yn.controlType){const n=i;e.props[n.props.command]=n.props}}),e}validate(e,i){return Sr(this,null,function*(){return yield Fr(Ce.prototype,this,"validate").call(this,e,i),yield Promise.all(this.children.map(n=>n.validate(e,i))),!0})}}Ce.controlType="operation-column",Ce.controlName=a("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[o.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},{key:"super-setting",visible:!0}];class lr extends J{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}lr.controlType="operation-column",lr.controlFieldType=C.FILE;var dh={Designer:Ce,Runtime:lr,Property:ur};const pB=1e4;class ze extends ql{constructor(e){super(e);const{excludes:i,childrenMaxLength:n}=new.target;this.props=new ir(this,e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ue,new Ce]),this.excludes=ce(i),this.childrenMaxLength=n}static get controlName(){return a("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return i&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),i=this.children.map(n=>n.toSchema());return Tr(lt({},e),{children:i})}validate(e,i){return Sr(this,null,function*(){return yield Fr(ze.prototype,this,"validate").call(this,e,i),yield Promise.all(this.children.map(n=>n.validate(e,i))),!0})}}ze.slotPosition={toolbar:"grid-table-toolbar-slot"},ze.setting=[{key:"list-fixed-header",visible:!0}],ze.excludes=[],ze.childrenMaxLength=pB;class e8 extends Qo{constructor(e){super(e),this.props=new ir(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Lt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var hh={Designer:ze,Runtime:e8,Property:ir},t8=Object.freeze({__proto__:null,SubTable:ch,GridTable:hh});class i8 extends Zl{constructor(e){super(e),Pe.call(this,e)}}class Nu extends G{constructor(e){var i,n,u,l,r,c;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ge.controlName,this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.dictionaryTagConfig=(c=e==null?void 0:e.dictionaryTagConfig)!=null?c:{isTag:!1}}}Nu.Rules=i8;class Ge extends X{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}}Ge.controlType="varchar-column",Ge.controlName=a("CMD.varchar",null,"\u77ED\u6587\u672C"),Ge.controlIcon="varchar-column",Ge.controlFieldType=C.VARCHAR,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class ar extends J{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}}ar.controlType="varchar-column",ar.controlFieldType=C.VARCHAR;var yh={Designer:Ge,Runtime:ar,Property:Nu};class n8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Lu extends G{constructor(e){var i,n,u,l;super(e),this.escapeHTML=(i=e==null?void 0:e.escapeHTML)!=null?i:!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(l=e==null?void 0:e.showLinkOperation)!=null?l:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}Lu.Rules=n8;class Ke extends X{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{escapeHTML:n}=this.props;i.props.escapeHTML=n}return i}}Ke.controlType="text-column",Ke.controlName=a("CMD.long",null,"\u957F\u6587\u672C"),Ke.controlIcon="text-column",Ke.controlFieldType=C.TEXT,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class rr extends J{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}}rr.controlType="text-column",rr.controlFieldType=C.TEXT;var fh={Designer:Ke,Runtime:rr,Property:Lu};class u8 extends Zl{constructor(e){super(e),Pe.call(this,e)}}class $u extends G{constructor(e){var i,n,u,l,r,c,s;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Qe.controlName,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.percentageFormat=(l=e==null?void 0:e.percentageFormat)!=null?l:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.options=de((c=e==null?void 0:e.options)!=null?c:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}$u.Rules=u8;class Qe extends X{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{precision:n,micrometer:u}=this.props;n!==""&&(i.props.precision=n),i.props.micrometer=u}return i}}Qe.controlType="decimal-column",Qe.controlName=a("CMD.decimal",null,"\u6570\u503C"),Qe.controlIcon="decimal-column",Qe.controlFieldType=C.DECIMAL,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[o.MICROMETER,o.PRECISION,o.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0},{key:"super-setting",visible:!0}];class or extends J{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}}or.controlType="decimal-column",or.controlFieldType=C.DECIMAL;var vh={Designer:Qe,Runtime:or,Property:$u};class l8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Hu extends G{constructor(e){var i,n,u,l;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ze.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Hu.Rules=l8;class Ze extends X{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}Ze.controlType="timescope-column",Ze.controlName=a("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ze.controlIcon="timescope-column",Ze.controlFieldType=C.TIMESCOPE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class cr extends J{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}}cr.controlType="timescope-column",cr.controlFieldType=C.TIMESCOPE;var mh={Designer:Ze,Runtime:cr,Property:Hu};class a8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Vu extends G{constructor(e){var i,n,u,l;super(e),this.dateType=(i=e==null?void 0:e.dateType)!=null?i:at.DATE,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Xe.controlName,this.isInternational=(l=e==null?void 0:e.isInternational)!=null?l:!1}}Vu.Rules=a8;class Xe extends X{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{dateType:n,isInternational:u}=this.props;i.props.dateType=n,i.props.isInternational=u}return i}}Xe.controlType="timestamp-column",Xe.controlName=a("CMD.timestamp",null,"\u65E5\u671F"),Xe.controlIcon="timestamp-column",Xe.controlFieldType=C.TIMESTAMP,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class sr extends J{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}}sr.controlType="timestamp-column",sr.controlFieldType=C.TIMESTAMP;var gh={Designer:Xe,Runtime:sr,Property:Vu};class r8 extends Zl{constructor(e){super(e),Pe.call(this,e)}}class ju extends G{constructor(e){var i,n,u,l;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Je.controlName,this.optionConfig=(n=e==null?void 0:e.optionConfig)!=null?n:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}ju.Rules=r8;class Je extends X{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}}Je.controlType="array-column",Je.controlName=a("CMD.array",null,"\u6570\u7EC4"),Je.controlIcon="array-column",Je.controlFieldType=C.ARRAY,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class dr extends J{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}}dr.controlType="array-column",dr.controlFieldType=C.ARRAY;var bh={Designer:Je,Runtime:dr,Property:ju};class hr extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ye.controlName,this.displayLevel=(n=e==null?void 0:e.displayLevel)!=null?n:1}}class Ye extends X{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{displayLevel:n}=this.props;i.props.displayLevel=n}return i}}Ye.controlType="department-column",Ye.controlName=a("CMD.department",null,"\u90E8\u95E8"),Ye.controlIcon="department-column",Ye.controlFieldType=C.DEPARTMENTS,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class yr extends J{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}yr.controlType="department-column",yr.controlFieldType=C.DEPARTMENTS;var Ch={Designer:Ye,Runtime:yr,Property:hr};class o8 extends be{constructor(e){super(e),Pe.call(this,e)}}class qu extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:pe.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}qu.Rules=o8;class pe extends X{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}}pe.controlType="auto-number-column",pe.controlName=a("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),pe.controlIcon="auto-number-column",pe.controlFieldType=C.AUTO_NUMBER,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class fr extends J{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}}fr.controlType="auto-number-column",fr.controlFieldType=C.AUTO_NUMBER;var Eh={Designer:pe,Runtime:fr,Property:qu};class vr extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:et.controlName,this.operation=(n=e==null?void 0:e.operation)!=null?n:["info","preview","download"]}}class et extends X{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}}et.controlType="file-column",et.controlName=a("CMD.file",null,"\u9644\u4EF6"),et.controlIcon="file-column",et.controlFieldType=C.FILE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class mr extends J{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}}mr.controlType="file-column",mr.controlFieldType=C.FILE;var _h={Designer:et,Runtime:mr,Property:vr};class gr extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:tt.controlName}}class tt extends X{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}tt.controlType="image-column",tt.controlName=a("CMD.image",null,"\u56FE\u7247"),tt.controlIcon="image-column",tt.controlFieldType=C.IMAGE,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class br extends J{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="image-column",br.controlFieldType=C.IMAGE;var Dh={Designer:tt,Runtime:br,Property:gr};class Cr extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:it.controlName}}class it extends X{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}it.controlType="people-column",it.controlName=a("CMD.people",null,"\u4EBA\u5458"),it.controlIcon="people-column",it.controlFieldType=C.EMPLOYEES,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Er extends J{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}Er.controlType="people-column",Er.controlFieldType=C.EMPLOYEES;var Ih={Designer:it,Runtime:Er,Property:Cr};class c8 extends be{constructor(e){super(e),Pe.call(this,e)}}class Wu extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:nt.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}Wu.Rules=c8;class nt extends X{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}}nt.controlType="location-column",nt.controlName=a("CMD.location",null,"\u5730\u5740"),nt.controlIcon="location-column",nt.controlFieldType=C.ADDRESS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class _r extends J{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}}_r.controlType="location-column",_r.controlFieldType=C.ADDRESS;var wh={Designer:nt,Runtime:_r,Property:Wu};class s8 extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:a("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Uu extends G{constructor(e){var i,n,u;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:Ee.controlName,this.fieldCodeList=(n=e==null?void 0:e.fieldCodeList)!=null?n:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}Uu.Rules=s8;const d8=1;class Ee extends X{constructor(e){super(e);const{excludes:i,childrenMaxLength:n}=new.target;this.props=new Uu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ce(i),this.childrenMaxLength=n}judgeJoinChildren(e){const i=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return i&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const i=super.toDataBindModel(e);if(i){const{fieldCodeList:n}=this.props;i.props.fieldCodeList=n}return i}}Ee.controlType="custom-column",Ee.controlName=a("CMD.custom",null,"\u81EA\u5B9A\u4E49"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=d8,Ee.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class Bh extends J{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Bh.controlType="custom-column";var Ah={Designer:Ee,Runtime:Bh,Property:Uu};class Dr extends G{constructor(e){var i,n;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:xe.controlName,this.datasourceBind=new pi((n=e==null?void 0:e.datasourceBind)!=null?n:{attributes:xe.controlCustomAttributes})}}class xe extends X{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:a("CMD.81231751712162319"),required:!0}]}}xe.controlType="employee-column",xe.controlName=a("CMD.employee",null,"\u4EBA\u5458"),xe.controlIcon="employee-column",xe.controlFieldType=C.EMPLOYEES,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ir extends J{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}Ir.controlType="employee-column",Ir.controlFieldType=C.EMPLOYEES;var Th={Designer:xe,Runtime:Ir,Property:Dr};class wr extends G{constructor(e){var i,n,u;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:ut.controlName,this.showLinkOperation=(n=e==null?void 0:e.showLinkOperation)!=null?n:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class ut extends X{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}ut.controlType="approval-status-column",ut.controlName=a("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),ut.controlIcon="approval-status-column",ut.excludes=[],ut.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Fh extends J{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}Fh.controlType="approval-status-column";var Sh={Designer:ut,Runtime:Fh,Property:wr};class Br extends G{constructor(e){var i;super(e),this.caption=(i=e==null?void 0:e.caption)!=null?i:""}}class Wi extends X{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}}Wi.controlType="group-column",Wi.controlName=a("CMD.43541769566517351"),Wi.controlIcon="group-column",Wi.setting=[{key:"caption",showItems:[o.CAPTION],visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Ph extends J{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props),se(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Ph.controlType="group-column";var Oh={Designer:Wi,Runtime:Ph,Property:Br},h8=Object.freeze({__proto__:null,VarcharColumn:yh,TextColumn:fh,DecimalColumn:vh,TimescopeColumn:mh,TimestampColumn:gh,ArrayColumn:bh,DepartmentColumn:Ch,AutoNumberColumn:Eh,FileColumn:_h,ImageColumn:Dh,PeopleColumn:Ih,LocationColumn:wh,CustomColumn:Ah,OrderColumn:sh,OperationColumn:dh,EmployeeColumn:Th,ApprovalStatusColumn:Sh,GroupColumn:Oh});class y8 extends Ne{constructor(e){super(e),this.push({type:"object",fields:{}})}}class zu extends ea{constructor(e){var i,n,u,l,r,c,s,h,d,f,g,E;super(e),this.searchType=(i=e==null?void 0:e.searchType)!=null?i:"model",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 Be((l=e==null?void 0:e.search)!=null?l:{content:a("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Be((r=e==null?void 0:e.cancel)!=null?r:{content:a("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(_=>new Be(_)),this.queryTypeMap=(h=e==null?void 0:e.queryTypeMap)!=null?h:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(f=e==null?void 0:e.colGap)!=null?f:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(E=e==null?void 0:e.simpleConfig)!=null?E:[]}}zu.RuntimeRules=y8;class Gu extends CD{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}}Gu.controlType="simple-search",Gu.slotPosition={default:"search"},Gu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[o.IS_HIDE]},{key:"search-view-type",visible:!0}];class kh extends AD{constructor(e){var i;super(e),this.props=new zu(e==null?void 0:e.props),this.children=(i=e==null?void 0:e.children)!=null?i:[]}}kh.controlType="simple-search";var Rh={Designer:Gu,Runtime:kh,Property:zu},f8=Object.freeze({__proto__:null,SimpleSearch:Rh});class Ar extends ua{constructor(e){var i;super(e),this.wholeRow=(i=e==null?void 0:e.wholeRow)!=null?i:!1}}class v8 extends HD{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlName(){return a("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class m8 extends GD{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function A8(t){return t}var g8={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:a("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Mh={Designer:v8,Runtime:m8,Property:Ar,Setting:g8},b8=Object.freeze({__proto__:null,GridLayoutWrap:Mh});v.ActionBar=pd,v.ActionSetting=ha,v.Address=Zs,v.AdvancedContainer=Xd,v.Amount=zs,v.ApprovalStatusColumn=Sh,v.ArrayColumn=bh,v.AssignType=Re,v.Attachment=qs,v.AutoNumber=ps,v.AutoNumberColumn=Eh,v.BarChart=qc,v.Barcode=_s,v.BatchDeleteButton=Yc,v.BatchPrintListButton=Zc,v.BatchPrintRecordListButton=Xc,v.BatchSubmissionListButton=Pc,v.BlankContainer=Md,v.Button=Bc,v.Calc=td,v.CardGroup=Rd,v.Cascader=rs,v.Checkbox=ls,v.Col=Sd,v.Collapse=rh,v.CollapsePane=ah,v.CommentControl=ts,v.Counter=cs,v.CreateFormListButton=Sc,v.CustomColumn=Ah,v.DATE_CONFIG_TYPE=cc,v.DATE_LIMIT_TYPE=sc,v.Dashboard=jc,v.DataView=Qd,v.DatePicker=Bs,v.DateRange=Ts,v.DecimalColumn=vh,v.Department=Js,v.Department2=Dd,v.DepartmentColumn=Ch,v.DepartmentType=On,v.Divider=Tc,v.ElectronicSignature=bd,v.ElectronicSignatureConfig=dc,v.Employee=js,v.Employee2=md,v.EmployeeColumn=Th,v.EncryptTypeEnum=Cc,v.Explain=Pn,v.ExportConfig=vc,v.ExportListButton=kc,v.ExportRecordListButton=Rc,v.ExportTemplate=Wt,v.FONT_WEIGHT=ke,v.FileColumn=_h,v.FlexStyleConfig=bc,v.FormSelectButton=Nc,v.Grid=Fd,v.GridLayoutContainer=Vd,v.GridLayoutWrap=Mh,v.GridRow=kd,v.GridTable=hh,v.GridTableColumn=Hd,v.GroupColumn=Oh,v.Iframe=wc,v.Image=Ws,v.ImageColumn=Dh,v.ImageCompressType=ma,v.ImportConfig=fc,v.ImportListBind=yc,v.ImportRecordListButton=Mc,v.Input=ns,v.InternalType=va,v.InvoiceCheckButton=Qc,v.LINE_STYLE=ca,v.LimitDate=Sn,v.LimitTime=ra,v.LineChart=Wc,v.Link=Dc,v.ListHeightSetting=ya,v.ListSelectButton=Lc,v.ListView=Gd,v.ListViewSelect=Gc,v.LocationColumn=wh,v.Number=ys,v.OperationButton=Jc,v.OperationColumn=dh,v.OrderColumn=sh,v.OrganizationSelection=wd,v.OrganizeType=fa,v.Page=Zd,v.Pagination=Hc,v.PeopleColumn=Ih,v.PieChart=Uc,v.Position=Yd,v.PositioningContainer=Jd,v.PrintTemplate=gc,v.QrCode=Is,v.Radio=ds,v.ReferenceList=pc,v.RichText=xs,v.Row=Od,v.SCORE_TYPE=oa,v.SUBTABLE_DEFAULT_MAX_HEIGHT=mc,v.Score=Ks,v.SearchDateRange=ld,v.SearchInput=hd,v.SearchNumberRange=nd,v.Select=Ls,v.SelectMultiple=Hs,v.SelectRelation=cd,v.SimpleSearch=Rh,v.Slider=vs,v.Step=th,v.StepPane=eh,v.SubTable=ch,v.SubTableColumn=Nd,v.SubTableRow=Ld,v.SubmissionRecordListButton=Oc,v.Switch=gs,v.Tab=qd,v.TabPane=jd,v.TableLayout=ih,v.TableLayoutCol=uh,v.TableLayoutRow=nh,v.TableLayoutWrapper=lh,v.Tag=Cs,v.Text=_c,v.TextColumn=fh,v.TextOcrButton=Kc,v.Textarea=Rs,v.TimePicker=Ss,v.TimeRange=Os,v.TimescopeColumn=mh,v.TimestampColumn=gh,v.Title=Fc,v.TitleConfigEnum=Oe,v.Toolbox=zd,v.Tree=fd,v.UndersignedPerson=sa,v.VarcharColumn=yh,v.VueFormItem=rd,v.VuePage=Ad,v.WPS=Ed,v.WPSSetting=hc,v.WpsOperationItem=da,v.baseControls=GI,v.columnControls=h8,v.formControls=nB,v.initExpression=Ut,v.layoutControls=QB,v.listControls=t8,v.searchControls=f8,v.wrapControls=b8,Object.defineProperty(v,"__esModule",{value:!0})});
|