@byteluck-fe/model-driven-core-all 2.22.2-beta.10 → 2.22.2-beta.12

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
@@ -42,4 +42,4 @@ Component that was made reactive: `,e)),qz(e,t,r,n,o,u,i,!0)}function Kz(e){retu
42
42
  * vue-i18n v9.14.0
43
43
  * (c) 2024 kazuya kawaguchi
44
44
  * Released under the MIT License.
45
- */const _W="9.14.0";function dW(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Vn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Vn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Vn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Vn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vn().__INTLIFY_PROD_DEVTOOLS__=!1)}const KS=yt.__EXTEND_POINT__,Hn=Pa(KS),de={FALLBACK_TO_ROOT:KS,NOT_SUPPORTED_PRESERVE:Hn(),NOT_SUPPORTED_FORMATTER:Hn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Hn(),NOT_SUPPORTED_GET_CHOICE_INDEX:Hn(),COMPONENT_NAME_LEGACY_COMPATIBLE:Hn(),NOT_FOUND_PARENT_SCOPE:Hn(),IGNORE_OBJ_FLATTEN:Hn(),NOTICE_DROP_ALLOW_COMPOSITION:Hn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Hn()},yW={[de.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[de.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[de.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[de.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[de.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[de.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[de.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[de.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[de.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze",[de.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Pt(e,...t){return Nu(yW[e],...t)}const XS=He.__EXTEND_POINT__,Tt=Pa(XS),q={UNEXPECTED_RETURN_TYPE:XS,INVALID_ARGUMENT:Tt(),MUST_BE_CALL_SETUP_TOP:Tt(),NOT_INSTALLED:Tt(),NOT_AVAILABLE_IN_LEGACY_MODE:Tt(),REQUIRED_VALUE:Tt(),INVALID_VALUE:Tt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Tt(),NOT_INSTALLED_WITH_PROVIDE:Tt(),UNEXPECTED_ERROR:Tt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Tt(),BRIDGE_SUPPORT_VUE_2_ONLY:Tt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Tt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Tt(),__EXTEND_POINT__:Tt()};function xe(e,...t){return zo(e,null,process.env.NODE_ENV!=="production"?{messages:pW,args:t}:void 0)}const pW={[q.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[q.INVALID_ARGUMENT]:"Invalid argument",[q.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[q.NOT_INSTALLED]:"Need to install with `app.use` function",[q.UNEXPECTED_ERROR]:"Unexpected error",[q.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[q.REQUIRED_VALUE]:"Required in value: {0}",[q.INVALID_VALUE]:"Invalid value",[q.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[q.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[q.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[q.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[q.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Yh=cn("__translateVNode"),zh=cn("__datetimeParts"),Wh=cn("__numberParts"),co=cn("__enableEmitter"),Vu=cn("__disableEmitter"),JS=cn("__setPluralRules");cn("__intlifyMeta");const QS=cn("__injectWithOption"),qh=cn("__dispose");function xu(e){if(!X(e))return e;for(const t in e)if(!!Ea(e,t))if(!t.includes("."))X(e[t])&&xu(e[t]);else{const r=t.split("."),n=r.length-1;let o=e,i=!1;for(let u=0;u<n;u++){if(r[u]in o||(o[r[u]]={}),!X(o[r[u]])){process.env.NODE_ENV!=="production"&&Ve(Pt(de.IGNORE_OBJ_FLATTEN,{key:r[u]})),i=!0;break}o=o[r[u]]}i||(o[r[n]]=e[t],delete e[t]),X(o[r[n]])&&xu(o[r[n]])}return e}function Ja(e,t){const{messages:r,__i18n:n,messageResolver:o,flatJson:i}=t,u=j(r)?r:le(n)?{}:{[e]:{}};if(le(n)&&n.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:l,resource:f}=c;l?(u[l]=u[l]||{},$a(f,u[l])):$a(f,u)}else D(c)&&$a(JSON.parse(c),u)}),o==null&&i)for(const c in u)Ea(u,c)&&xu(u[c]);return u}function ZS(e){return e.type}function eN(e,t,r){let n=X(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=Ja(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,n[i])});{if(X(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(u=>{e.mergeDateTimeFormat(u,t.datetimeFormats[u])})}if(X(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(u=>{e.mergeNumberFormat(u,t.numberFormats[u])})}}}function tN(e){return ri(jS,null,e,0)}const nN="__INTLIFY_META__",rN=()=>[],vW=()=>!1;let oN=0;function iN(e){return(t,r,n,o)=>e(r,n,oi()||void 0,o)}const hW=()=>{const e=oi();let t=null;return e&&(t=ZS(e)[nN])?{[nN]:t}:null};function Kh(e={},t){const{__root:r,__injectWithOption:n}=e,o=r===void 0,i=e.flatJson,u=un?Zo:bS,c=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&c&&iR(Pt(de.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let l=Y(e.inheritLocale)?e.inheritLocale:!0;const f=u(r&&l?r.locale.value:D(e.locale)?e.locale:Ko),s=u(r&&l?r.fallbackLocale.value:D(e.fallbackLocale)||le(e.fallbackLocale)||j(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:f.value),_=u(Ja(f.value,e)),d=u(j(e.datetimeFormats)?e.datetimeFormats:{[f.value]:{}}),p=u(j(e.numberFormats)?e.numberFormats:{[f.value]:{}});let m=r?r.missingWarn:Y(e.missingWarn)||pr(e.missingWarn)?e.missingWarn:!0,h=r?r.fallbackWarn:Y(e.fallbackWarn)||pr(e.fallbackWarn)?e.fallbackWarn:!0,E=r?r.fallbackRoot:Y(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,R=ie(e.missing)?e.missing:null,b=ie(e.missing)?iN(e.missing):null,O=ie(e.postTranslation)?e.postTranslation:null,S=r?r.warnHtmlMessage:Y(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const $=r?r.modifiers:j(e.modifiers)?e.modifiers:{};let I=e.pluralRules||r&&r.pluralRules,A;A=(()=>{o&&PR(null);const N={version:_W,locale:f.value,fallbackLocale:s.value,messages:_.value,modifiers:$,pluralRules:I,missing:b===null?void 0:b,missingWarn:m,fallbackWarn:h,fallbackFormat:v,unresolving:!0,postTranslation:O===null?void 0:O,warnHtmlMessage:S,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};N.datetimeFormats=d.value,N.numberFormats=p.value,N.__datetimeFormatters=j(A)?A.__datetimeFormatters:void 0,N.__numberFormatters=j(A)?A.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(N.__v_emitter=j(A)?A.__v_emitter:void 0);const M=cY(N);return o&&PR(M),M})(),Bu(A,f.value,s.value);function Z(){return[f.value,s.value,_.value,d.value,p.value]}const H=Rn({get:()=>f.value,set:N=>{f.value=N,A.locale=f.value}}),he=Rn({get:()=>s.value,set:N=>{s.value=N,A.fallbackLocale=s.value,Bu(A,f.value,N)}}),st=Rn(()=>_.value),cr=Rn(()=>d.value),It=Rn(()=>p.value);function ar(){return ie(O)?O:null}function lr(N){O=N,A.postTranslation=N}function fr(){return R}function sr(N){N!==null&&(b=iN(N)),R=N,A.missing=b}function _r(N,M){return N!=="translate"||!M.resolvedMessage}const _t=(N,M,te,Ae,qr,zv)=>{Z();let Eu;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&wR(hW()),o||(A.fallbackContext=r?uY():void 0),Eu=N(A)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&wR(null),o||(A.fallbackContext=void 0)}if(te!=="translate exists"&&ke(Eu)&&Eu===Na||te==="translate exists"&&!Eu){const[Ho,QAe]=M();if(process.env.NODE_ENV!=="production"&&r&&D(Ho)&&_r(te,QAe)&&(E&&(Ba(h,Ho)||$R(m,Ho))&&Ve(Pt(de.FALLBACK_TO_ROOT,{key:Ho,type:te})),process.env.NODE_ENV!=="production")){const{__v_emitter:x5}=A;x5&&E&&x5.emit("fallback",{type:te,key:Ho,to:"global",groupId:`${te}:${Ho}`})}return r&&E?Ae(r):qr(Ho)}else{if(zv(Eu))return Eu;throw xe(q.UNEXPECTED_RETURN_TYPE)}};function bu(...N){return _t(M=>Reflect.apply(LR,null,[M,...N]),()=>fh(...N),"translate",M=>Reflect.apply(M.t,M,[...N]),M=>M,M=>D(M))}function Ou(...N){const[M,te,Ae]=N;if(Ae&&!X(Ae))throw xe(q.INVALID_ARGUMENT);return bu(M,te,je({resolvedMessage:!0},Ae||{}))}function fa(...N){return _t(M=>Reflect.apply(jR,null,[M,...N]),()=>sh(...N),"datetime format",M=>Reflect.apply(M.d,M,[...N]),()=>Ia,M=>D(M))}function sa(...N){return _t(M=>Reflect.apply(UR,null,[M,...N]),()=>_h(...N),"number format",M=>Reflect.apply(M.n,M,[...N]),()=>Ia,M=>D(M))}function _a(N){return N.map(M=>D(M)||ke(M)||Y(M)?tN(String(M)):M)}const da={normalize:_a,interpolate:N=>N,type:"vnode"};function wu(...N){return _t(M=>{let te;const Ae=M;try{Ae.processor=da,te=Reflect.apply(LR,null,[Ae,...N])}finally{Ae.processor=null}return te},()=>fh(...N),"translate",M=>M[Yh](...N),M=>[tN(M)],M=>le(M))}function ya(...N){return _t(M=>Reflect.apply(UR,null,[M,...N]),()=>_h(...N),"number format",M=>M[Wh](...N),rN,M=>D(M)||le(M))}function pa(...N){return _t(M=>Reflect.apply(jR,null,[M,...N]),()=>sh(...N),"datetime format",M=>M[zh](...N),rN,M=>D(M)||le(M))}function va(N){I=N,A.pluralRules=I}function L(N,M){return _t(()=>{if(!N)return!1;const te=D(M)?M:f.value,Ae=Go(te),qr=A.messageResolver(Ae,N);return c?qr!=null:gr(qr)||Ht(qr)||D(qr)},()=>[N],"translate exists",te=>Reflect.apply(te.te,te,[N,M]),vW,te=>Y(te))}function ee(N){let M=null;const te=yR(A,s.value,f.value);for(let Ae=0;Ae<te.length;Ae++){const qr=_.value[te[Ae]]||{},zv=A.messageResolver(qr,N);if(zv!=null){M=zv;break}}return M}function ha(N){const M=ee(N);return M!=null?M:r?r.tm(N)||{}:{}}function Go(N){return _.value[N]||{}}function ga(N,M){if(i){const te={[N]:M};for(const Ae in te)Ea(te,Ae)&&xu(te[Ae]);M=te[N]}_.value[N]=M,A.messages=_.value}function U$(N,M){_.value[N]=_.value[N]||{};const te={[N]:M};if(i)for(const Ae in te)Ea(te,Ae)&&xu(te[Ae]);M=te[N],$a(M,_.value[N]),A.messages=_.value}function g(N){return d.value[N]||{}}function w(N,M){d.value[N]=M,A.datetimeFormats=d.value,xR(A,N,M)}function B(N,M){d.value[N]=je(d.value[N]||{},M),A.datetimeFormats=d.value,xR(A,N,M)}function C(N){return p.value[N]||{}}function ge(N,M){p.value[N]=M,A.numberFormats=p.value,HR(A,N,M)}function ae(N,M){p.value[N]=je(p.value[N]||{},M),A.numberFormats=p.value,HR(A,N,M)}oN++,r&&un&&(Vh(r.locale,N=>{l&&(f.value=N,A.locale=N,Bu(A,f.value,s.value))}),Vh(r.fallbackLocale,N=>{l&&(s.value=N,A.fallbackLocale=N,Bu(A,f.value,s.value))}));const oe={id:oN,locale:H,fallbackLocale:he,get inheritLocale(){return l},set inheritLocale(N){l=N,N&&r&&(f.value=r.locale.value,s.value=r.fallbackLocale.value,Bu(A,f.value,s.value))},get availableLocales(){return Object.keys(_.value).sort()},messages:st,get modifiers(){return $},get pluralRules(){return I||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(N){m=N,A.missingWarn=m},get fallbackWarn(){return h},set fallbackWarn(N){h=N,A.fallbackWarn=h},get fallbackRoot(){return E},set fallbackRoot(N){E=N},get fallbackFormat(){return v},set fallbackFormat(N){v=N,A.fallbackFormat=v},get warnHtmlMessage(){return S},set warnHtmlMessage(N){S=N,A.warnHtmlMessage=N},get escapeParameter(){return T},set escapeParameter(N){T=N,A.escapeParameter=N},t:bu,getLocaleMessage:Go,setLocaleMessage:ga,mergeLocaleMessage:U$,getPostTranslationHandler:ar,setPostTranslationHandler:lr,getMissingHandler:fr,setMissingHandler:sr,[JS]:va};return oe.datetimeFormats=cr,oe.numberFormats=It,oe.rt=Ou,oe.te=L,oe.tm=ha,oe.d=fa,oe.n=sa,oe.getDateTimeFormat=g,oe.setDateTimeFormat=w,oe.mergeDateTimeFormat=B,oe.getNumberFormat=C,oe.setNumberFormat=ge,oe.mergeNumberFormat=ae,oe[QS]=n,oe[Yh]=wu,oe[zh]=pa,oe[Wh]=ya,process.env.NODE_ENV!=="production"&&(oe[co]=N=>{A.__v_emitter=N},oe[Vu]=()=>{A.__v_emitter=void 0}),oe}function gW(e){const t=D(e.locale)?e.locale:Ko,r=D(e.fallbackLocale)||le(e.fallbackLocale)||j(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=ie(e.missing)?e.missing:void 0,o=Y(e.silentTranslationWarn)||pr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=Y(e.silentFallbackWarn)||pr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=Y(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,l=j(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,s=ie(e.postTranslation)?e.postTranslation:void 0,_=D(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=Y(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ve(Pt(de.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ve(Pt(de.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let m=e.messages;if(j(e.sharedMessages)){const T=e.sharedMessages;m=Object.keys(T).reduce((I,A)=>{const x=I[A]||(I[A]={});return je(x,T[A]),I},m||{})}const{__i18n:h,__root:E,__injectWithOption:v}=e,R=e.datetimeFormats,b=e.numberFormats,O=e.flatJson,S=e.translateExistCompatible;return{locale:t,fallbackLocale:r,messages:m,flatJson:O,datetimeFormats:R,numberFormats:b,missing:n,missingWarn:o,fallbackWarn:i,fallbackRoot:u,fallbackFormat:c,modifiers:l,pluralRules:f,postTranslation:s,warnHtmlMessage:_,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,translateExistCompatible:S,__i18n:h,__root:E,__injectWithOption:v}}function Xh(e={},t){{const r=Kh(gW(e)),{__extender:n}=e,o={id:r.id,get locale(){return r.locale.value},set locale(i){r.locale.value=i},get fallbackLocale(){return r.fallbackLocale.value},set fallbackLocale(i){r.fallbackLocale.value=i},get messages(){return r.messages.value},get datetimeFormats(){return r.datetimeFormats.value},get numberFormats(){return r.numberFormats.value},get availableLocales(){return r.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Ve(Pt(de.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(i){process.env.NODE_ENV!=="production"&&Ve(Pt(de.NOT_SUPPORTED_FORMATTER))},get missing(){return r.getMissingHandler()},set missing(i){r.setMissingHandler(i)},get silentTranslationWarn(){return Y(r.missingWarn)?!r.missingWarn:r.missingWarn},set silentTranslationWarn(i){r.missingWarn=Y(i)?!i:i},get silentFallbackWarn(){return Y(r.fallbackWarn)?!r.fallbackWarn:r.fallbackWarn},set silentFallbackWarn(i){r.fallbackWarn=Y(i)?!i:i},get modifiers(){return r.modifiers},get formatFallbackMessages(){return r.fallbackFormat},set formatFallbackMessages(i){r.fallbackFormat=i},get postTranslation(){return r.getPostTranslationHandler()},set postTranslation(i){r.setPostTranslationHandler(i)},get sync(){return r.inheritLocale},set sync(i){r.inheritLocale=i},get warnHtmlInMessage(){return r.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){r.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return r.escapeParameter},set escapeParameterHtml(i){r.escapeParameter=i},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Ve(Pt(de.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(i){process.env.NODE_ENV!=="production"&&Ve(Pt(de.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return r.pluralRules||{}},__composer:r,t(...i){const[u,c,l]=i,f={};let s=null,_=null;if(!D(u))throw xe(q.INVALID_ARGUMENT);const d=u;return D(c)?f.locale=c:le(c)?s=c:j(c)&&(_=c),le(l)?s=l:j(l)&&(_=l),Reflect.apply(r.t,r,[d,s||_||{},f])},rt(...i){return Reflect.apply(r.rt,r,[...i])},tc(...i){const[u,c,l]=i,f={plural:1};let s=null,_=null;if(!D(u))throw xe(q.INVALID_ARGUMENT);const d=u;return D(c)?f.locale=c:ke(c)?f.plural=c:le(c)?s=c:j(c)&&(_=c),D(l)?f.locale=l:le(l)?s=l:j(l)&&(_=l),Reflect.apply(r.t,r,[d,s||_||{},f])},te(i,u){return r.te(i,u)},tm(i){return r.tm(i)},getLocaleMessage(i){return r.getLocaleMessage(i)},setLocaleMessage(i,u){r.setLocaleMessage(i,u)},mergeLocaleMessage(i,u){r.mergeLocaleMessage(i,u)},d(...i){return Reflect.apply(r.d,r,[...i])},getDateTimeFormat(i){return r.getDateTimeFormat(i)},setDateTimeFormat(i,u){r.setDateTimeFormat(i,u)},mergeDateTimeFormat(i,u){r.mergeDateTimeFormat(i,u)},n(...i){return Reflect.apply(r.n,r,[...i])},getNumberFormat(i){return r.getNumberFormat(i)},setNumberFormat(i,u){r.setNumberFormat(i,u)},mergeNumberFormat(i,u){r.mergeNumberFormat(i,u)},getChoiceIndex(i,u){return process.env.NODE_ENV!=="production"&&Ve(Pt(de.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return o.__extender=n,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=i=>{const u=r;u[co]&&u[co](i)},o.__disableEmitter=()=>{const i=r;i[Vu]&&i[Vu]()}),o}}const Jh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function mW({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,o)=>[...n,...o.type===Wa?o.children:[o]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},{})}function uN(e){return Wa}const Qh=Dh({name:"i18n-t",props:je({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ke(e)||!isNaN(e)}},Jh),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||ng({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(r).filter(_=>_!=="_"),u={};e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=D(e.plural)?+e.plural:e.plural);const c=mW(t,i),l=o[Yh](e.keypath,c,u),f=je({},n),s=D(e.tag)||X(e.tag)?e.tag:uN();return WS(s,f,l)}}});function bW(e){return le(e)&&!D(e[0])}function cN(e,t,r,n){const{slots:o,attrs:i}=t;return()=>{const u={part:!0};let c={};e.locale&&(u.locale=e.locale),D(e.format)?u.key=e.format:X(e.format)&&(D(e.format.key)&&(u.key=e.format.key),c=Object.keys(e.format).reduce((d,p)=>r.includes(p)?je({},d,{[p]:e.format[p]}):d,{}));const l=n(e.value,u,c);let f=[u.key];le(l)?f=l.map((d,p)=>{const m=o[d.type],h=m?m({[d.type]:d.value,index:p,parts:l}):[d.value];return bW(h)&&(h[0].key=`${d.type}-${p}`),h}):D(l)&&(f=[l]);const s=je({},i),_=D(e.tag)||X(e.tag)?e.tag:uN();return WS(_,s,f)}}const aN=Dh({name:"i18n-n",props:je({value:{type:Number,required:!0},format:{type:[String,Object]}},Jh),setup(e,t){const r=e.i18n||ng({useScope:e.scope,__useComponent:!0});return cN(e,t,GR,(...n)=>r[Wh](...n))}}),lN=Dh({name:"i18n-d",props:je({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Jh),setup(e,t){const r=e.i18n||ng({useScope:e.scope,__useComponent:!0});return cN(e,t,VR,(...n)=>r[zh](...n))}});function OW(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function wW(e){const t=u=>{const{instance:c,modifiers:l,value:f}=u;if(!c||!c.$)throw xe(q.UNEXPECTED_ERROR);const s=OW(e,c.$);process.env.NODE_ENV!=="production"&&l.preserve&&Ve(Pt(de.NOT_SUPPORTED_PRESERVE));const _=fN(f);return[Reflect.apply(s.t,s,[...sN(_)]),s]};return{created:(u,c)=>{const[l,f]=t(c);un&&e.global===f&&(u.__i18nWatcher=Vh(f.locale,()=>{c.instance&&c.instance.$forceUpdate()})),u.__composer=f,u.textContent=l},unmounted:u=>{un&&u.__i18nWatcher&&(u.__i18nWatcher(),u.__i18nWatcher=void 0,delete u.__i18nWatcher),u.__composer&&(u.__composer=void 0,delete u.__composer)},beforeUpdate:(u,{value:c})=>{if(u.__composer){const l=u.__composer,f=fN(c);u.textContent=Reflect.apply(l.t,l,[...sN(f)])}},getSSRProps:u=>{const[c]=t(u);return{textContent:c}}}}function fN(e){if(D(e))return{path:e};if(j(e)){if(!("path"in e))throw xe(q.REQUIRED_VALUE,"path");return e}else throw xe(q.INVALID_VALUE)}function sN(e){const{path:t,locale:r,args:n,choice:o,plural:i}=e,u={},c=n||{};return D(r)&&(u.locale=r),ke(o)&&(u.plural=o),ke(i)&&(u.plural=i),[t,c,u]}function EW(e,t,...r){const n=j(r[0])?r[0]:{},o=!!n.useI18nComponentName,i=Y(n.globalInstall)?n.globalInstall:!0;process.env.NODE_ENV!=="production"&&i&&o&&Ve(Pt(de.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Qh.name})),i&&([o?"i18n":Qh.name,"I18nT"].forEach(u=>e.component(u,Qh)),[aN.name,"I18nN"].forEach(u=>e.component(u,aN)),[lN.name,"I18nD"].forEach(u=>e.component(u,lN))),e.directive("t",wW(t))}const Zh={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},PW={["vue-i18n-resource-inspector"]:"Search for scopes ..."},TW={["vue-i18n-timeline"]:16764185},_N="vue-i18n: composer properties";let eg;function $W(e,t){return dr(this,null,function*(){return new Promise((r,n)=>{try{sW({id:"vue-devtools-plugin-vue-i18n",label:Zh["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[_N],app:e},o=>{eg=o,o.on.visitComponentTree(({componentInstance:u,treeNode:c})=>{RW(u,c,t)}),o.on.inspectComponent(({componentInstance:u,instanceData:c})=>{u.vnode.el&&u.vnode.el.__VUE_I18N__&&c&&(t.mode==="legacy"?u.vnode.el.__VUE_I18N__!==t.global.__composer&&yN(c,u.vnode.el.__VUE_I18N__):yN(c,u.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:Zh["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:PW["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&AW(u,t)});const i=new Map;o.on.getInspectorState(u=>dr(this,null,function*(){if(u.app===e&&u.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),LW(u,t),u.nodeId==="global"){if(!i.has(u.app)){const[c]=yield o.getComponentInstances(u.app);i.set(u.app,c)}o.highlightElement(i.get(u.app))}else{const c=MW(u.nodeId,t);c&&o.highlightElement(c)}})),o.on.editInspectorState(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&FW(u,t)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:Zh["vue-i18n-timeline"],color:TW["vue-i18n-timeline"]}),r(!0)})}catch(o){console.error(o),n(!1)}})})}function dN(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function RW(e,t,r){const n=r.mode==="composition"?r.global:r.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==n){const o={label:`i18n (${dN(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(o)}}function yN(e,t){const r=_N;e.state.push({type:r,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:r,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:r,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:r,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:r,key:"messages",editable:!1,value:tg(t.messages.value)}),e.state.push({type:r,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:r,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function tg(e){const t={};return Object.keys(e).forEach(r=>{const n=e[r];ie(n)&&"source"in n?t[r]=BW(n):gr(n)&&n.loc&&n.loc.source?t[r]=n.loc.source:X(n)?t[r]=tg(n):t[r]=n}),t}const SW={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function NW(e){return e.replace(/[<>"&]/g,IW)}function IW(e){return SW[e]||e}function BW(e){const t=e.source?`("${NW(e.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${t}`}}}function AW(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const r=t.mode==="composition"?t.global:t.global.__composer;for(const[n,o]of t.__instances){const i=t.mode==="composition"?o:o.__composer;r!==i&&e.rootNodes.push({id:i.id.toString(),label:`${dN(n)} Scope`})}}function MW(e,t){let r=null;if(e!=="global"){for(const[n,o]of t.__instances.entries())if(o.id.toString()===e){r=n;break}}return r}function pN(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const r=Array.from(t.__instances.values()).find(n=>n.id.toString()===e);return r?t.mode==="composition"?r:r.__composer:null}}function LW(e,t){const r=pN(e.nodeId,t);return r&&(e.state=DW(r)),null}function DW(e){const t={},r="Locale related info",n=[{type:r,key:"locale",editable:!0,value:e.locale.value},{type:r,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:r,key:"availableLocales",editable:!1,value:e.availableLocales},{type:r,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[r]=n;const o="Locale messages info",i=[{type:o,key:"messages",editable:!1,value:tg(e.messages.value)}];t[o]=i;{const u="Datetime formats info",c=[{type:u,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[u]=c;const l="Datetime formats info",f=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[l]=f}return t}function Uu(e,t){if(eg){let r;t&&"groupId"in t&&(r=t.groupId,delete t.groupId),eg.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:r,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function FW(e,t){const r=pN(e.nodeId,t);if(r){const[n]=e.path;n==="locale"&&D(e.state.value)?r.locale.value=e.state.value:n==="fallbackLocale"&&(D(e.state.value)||le(e.state.value)||X(e.state.value))?r.fallbackLocale.value=e.state.value:n==="inheritLocale"&&Y(e.state.value)&&(r.inheritLocale=e.state.value)}}function CW(e,t,r){return{beforeCreate(){const n=oi();if(!n)throw xe(q.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const i=o.i18n;if(o.__i18n&&(i.__i18n=o.__i18n),i.__root=t,this===this.$root)this.$i18n=vN(e,i);else{i.__injectWithOption=!0,i.__extender=r.__vueI18nExtend,this.$i18n=Xh(i);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=vN(e,o);else{this.$i18n=Xh({__i18n:o.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&eN(t,o,o),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,u)=>this.$i18n.te(i,u),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),r.__setInstance(n,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$i18n){const n=this.$i18n;this.$el.__VUE_I18N__=n.__composer;const o=this.__v_emitter=rh();n.__enableEmitter&&n.__enableEmitter(o),o.on("*",Uu)}},unmounted(){const n=oi();if(!n)throw xe(q.UNEXPECTED_ERROR);const o=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Uu),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),r.__deleteInstance(n),delete this.$i18n}}}function vN(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[JS](t.pluralizationRules||e.pluralizationRules);const r=Ja(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(n=>e.mergeLocaleMessage(n,r[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const kW=cn("global-vue-i18n");function jW(e={},t){const r=__VUE_I18N_LEGACY_API__&&Y(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Y(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&r?!!e.allowComposition:!0,i=new Map,[u,c]=VW(e,r),l=cn(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&r&&o&&Ve(Pt(de.NOTICE_DROP_ALLOW_COMPOSITION));function f(d){return i.get(d)||null}function s(d,p){i.set(d,p)}function _(d){i.delete(d)}{let p;const d={get mode(){return __VUE_I18N_LEGACY_API__&&r?"legacy":"composition"},get allowComposition(){return o},install(m,...h){return dr(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(m.__VUE_I18N__=d),m.__VUE_I18N_SYMBOL__=l,m.provide(m.__VUE_I18N_SYMBOL__,d),j(h[0])){const R=h[0];d.__composerExtend=R.__composerExtend,d.__vueI18nExtend=R.__vueI18nExtend}let E=null;!r&&n&&(E=KW(m,d.global)),__VUE_I18N_FULL_INSTALL__&&EW(m,d,...h),__VUE_I18N_LEGACY_API__&&r&&m.mixin(CW(c,c.__composer,d));const v=m.unmount;if(m.unmount=()=>{E&&E(),d.dispose(),v()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield $W(m,d)))throw xe(q.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const b=rh();if(r){const O=c;O.__enableEmitter&&O.__enableEmitter(b)}else{const O=c;O[co]&&O[co](b)}b.on("*",Uu)}})},get global(){return c},dispose(){u.stop()},__instances:i,__getInstance:f,__setInstance:s,__deleteInstance:_};return d}}function ng(e={}){const t=oi();if(t==null)throw xe(q.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw xe(q.NOT_INSTALLED);const r=xW(t),n=GW(r),o=ZS(t),i=UW(e,o);if(__VUE_I18N_LEGACY_API__&&r.mode==="legacy"&&!e.__useComponent){if(!r.allowComposition)throw xe(q.NOT_AVAILABLE_IN_LEGACY_MODE);return WW(t,i,n,e)}if(i==="global")return eN(n,e,o),n;if(i==="parent"){let l=HW(r,t,e.__useComponent);return l==null&&(process.env.NODE_ENV!=="production"&&Ve(Pt(de.NOT_FOUND_PARENT_SCOPE)),l=n),l}const u=r;let c=u.__getInstance(t);if(c==null){const l=je({},e);"__i18n"in o&&(l.__i18n=o.__i18n),n&&(l.__root=n),c=Kh(l),u.__composerExtend&&(c[qh]=u.__composerExtend(c)),zW(u,t,c),u.__setInstance(t,c)}return c}function VW(e,t,r){const n=LY();{const o=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Xh(e)):n.run(()=>Kh(e));if(o==null)throw xe(q.UNEXPECTED_ERROR);return[n,o]}}function xW(e){{const t=DS(e.isCE?kW:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw xe(e.isCE?q.NOT_INSTALLED_WITH_PROVIDE:q.UNEXPECTED_ERROR);return t}}function UW(e,t){return wa(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function GW(e){return e.mode==="composition"?e.global:e.global.__composer}function HW(e,t,r=!1){let n=null;const o=t.root;let i=YW(t,r);for(;i!=null;){const u=e;if(e.mode==="composition")n=u.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const c=u.__getInstance(i);c!=null&&(n=c.__composer,r&&n&&!n[QS]&&(n=null))}if(n!=null||o===i)break;i=i.parent}return n}function YW(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function zW(e,t,r){let n=null;Rz(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el){t.vnode.el.__VUE_I18N__=r,n=rh();const o=r;o[co]&&o[co](n),n.on("*",Uu)}},t),Sz(()=>{const o=r;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(n&&n.off("*",Uu),o[Vu]&&o[Vu](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const i=o[qh];i&&(i(),delete o[qh])},t)}function WW(e,t,r,n={}){const o=t==="local",i=bS(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw xe(q.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=Y(n.inheritLocale)?n.inheritLocale:!D(n.locale),c=Zo(!o||u?r.locale.value:D(n.locale)?n.locale:Ko),l=Zo(!o||u?r.fallbackLocale.value:D(n.fallbackLocale)||le(n.fallbackLocale)||j(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:c.value),f=Zo(Ja(c.value,n)),s=Zo(j(n.datetimeFormats)?n.datetimeFormats:{[c.value]:{}}),_=Zo(j(n.numberFormats)?n.numberFormats:{[c.value]:{}}),d=o?r.missingWarn:Y(n.missingWarn)||pr(n.missingWarn)?n.missingWarn:!0,p=o?r.fallbackWarn:Y(n.fallbackWarn)||pr(n.fallbackWarn)?n.fallbackWarn:!0,m=o?r.fallbackRoot:Y(n.fallbackRoot)?n.fallbackRoot:!0,h=!!n.fallbackFormat,E=ie(n.missing)?n.missing:null,v=ie(n.postTranslation)?n.postTranslation:null,R=o?r.warnHtmlMessage:Y(n.warnHtmlMessage)?n.warnHtmlMessage:!0,b=!!n.escapeParameter,O=o?r.modifiers:j(n.modifiers)?n.modifiers:{},S=n.pluralRules||o&&r.pluralRules;function T(){return[c.value,l.value,f.value,s.value,_.value]}const $=Rn({get:()=>i.value?i.value.locale.value:c.value,set:L=>{i.value&&(i.value.locale.value=L),c.value=L}}),I=Rn({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:L=>{i.value&&(i.value.fallbackLocale.value=L),l.value=L}}),A=Rn(()=>i.value?i.value.messages.value:f.value),x=Rn(()=>s.value),Z=Rn(()=>_.value);function H(){return i.value?i.value.getPostTranslationHandler():v}function he(L){i.value&&i.value.setPostTranslationHandler(L)}function st(){return i.value?i.value.getMissingHandler():E}function cr(L){i.value&&i.value.setMissingHandler(L)}function It(L){return T(),L()}function ar(...L){return i.value?It(()=>Reflect.apply(i.value.t,null,[...L])):It(()=>"")}function lr(...L){return i.value?Reflect.apply(i.value.rt,null,[...L]):""}function fr(...L){return i.value?It(()=>Reflect.apply(i.value.d,null,[...L])):It(()=>"")}function sr(...L){return i.value?It(()=>Reflect.apply(i.value.n,null,[...L])):It(()=>"")}function _r(L){return i.value?i.value.tm(L):{}}function _t(L,ee){return i.value?i.value.te(L,ee):!1}function bu(L){return i.value?i.value.getLocaleMessage(L):{}}function Ou(L,ee){i.value&&(i.value.setLocaleMessage(L,ee),f.value[L]=ee)}function fa(L,ee){i.value&&i.value.mergeLocaleMessage(L,ee)}function sa(L){return i.value?i.value.getDateTimeFormat(L):{}}function _a(L,ee){i.value&&(i.value.setDateTimeFormat(L,ee),s.value[L]=ee)}function Yv(L,ee){i.value&&i.value.mergeDateTimeFormat(L,ee)}function da(L){return i.value?i.value.getNumberFormat(L):{}}function wu(L,ee){i.value&&(i.value.setNumberFormat(L,ee),_.value[L]=ee)}function ya(L,ee){i.value&&i.value.mergeNumberFormat(L,ee)}const pa={get id(){return i.value?i.value.id:-1},locale:$,fallbackLocale:I,messages:A,datetimeFormats:x,numberFormats:Z,get inheritLocale(){return i.value?i.value.inheritLocale:u},set inheritLocale(L){i.value&&(i.value.inheritLocale=L)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(f.value)},get modifiers(){return i.value?i.value.modifiers:O},get pluralRules(){return i.value?i.value.pluralRules:S},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:d},set missingWarn(L){i.value&&(i.value.missingWarn=L)},get fallbackWarn(){return i.value?i.value.fallbackWarn:p},set fallbackWarn(L){i.value&&(i.value.missingWarn=L)},get fallbackRoot(){return i.value?i.value.fallbackRoot:m},set fallbackRoot(L){i.value&&(i.value.fallbackRoot=L)},get fallbackFormat(){return i.value?i.value.fallbackFormat:h},set fallbackFormat(L){i.value&&(i.value.fallbackFormat=L)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:R},set warnHtmlMessage(L){i.value&&(i.value.warnHtmlMessage=L)},get escapeParameter(){return i.value?i.value.escapeParameter:b},set escapeParameter(L){i.value&&(i.value.escapeParameter=L)},t:ar,getPostTranslationHandler:H,setPostTranslationHandler:he,getMissingHandler:st,setMissingHandler:cr,rt:lr,d:fr,n:sr,tm:_r,te:_t,getLocaleMessage:bu,setLocaleMessage:Ou,mergeLocaleMessage:fa,getDateTimeFormat:sa,setDateTimeFormat:_a,mergeDateTimeFormat:Yv,getNumberFormat:da,setNumberFormat:wu,mergeNumberFormat:ya};function va(L){L.locale.value=c.value,L.fallbackLocale.value=l.value,Object.keys(f.value).forEach(ee=>{L.mergeLocaleMessage(ee,f.value[ee])}),Object.keys(s.value).forEach(ee=>{L.mergeDateTimeFormat(ee,s.value[ee])}),Object.keys(_.value).forEach(ee=>{L.mergeNumberFormat(ee,_.value[ee])}),L.escapeParameter=b,L.fallbackFormat=h,L.fallbackRoot=m,L.fallbackWarn=p,L.missingWarn=d,L.warnHtmlMessage=R}return $z(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw xe(q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const L=i.value=e.proxy.$i18n.__composer;t==="global"?(c.value=L.locale.value,l.value=L.fallbackLocale.value,f.value=L.messages.value,s.value=L.datetimeFormats.value,_.value=L.numberFormats.value):o&&va(L)}),pa}const qW=["locale","fallbackLocale","availableLocales"],hN=["t","rt","d","n","tm","te"];function KW(e,t){const r=Object.create(null);return qW.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw xe(q.UNEXPECTED_ERROR);const u=Et(i.value)?{get(){return i.value.value},set(c){i.value.value=c}}:{get(){return i.get&&i.get()}};Object.defineProperty(r,o,u)}),e.config.globalProperties.$i18n=r,hN.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw xe(q.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,hN.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}if(dW(),__INTLIFY_JIT_COMPILATION__?gR(_Y):gR(sY),rY(CH),oY(yR),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Vn();e.__INTLIFY__=!0,zH(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const XW=(e,t)=>{var u;const r=e.split(".");let n;const o=((u=window.baitedaWorkers)==null?void 0:u.languageMessages)||{};r.forEach((c,l)=>{l===0?n=o[c]:n&&(n=n[c])});let i="";return n&&(i=n),t&&Object.keys(t).forEach(c=>{const l=t[c];i=i.replace(new RegExp(`\\{\\s*${c}\\s*\\}`),l)}),i||(i=e),i};function JW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QW(e,t,r){return t&&gN(e.prototype,t),r&&gN(e,r),e}function ZW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=function(){function e(){JW(this,e)}return QW(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o;return(o=this.$i18n.global.t(r,n))!==null&&o!==void 0?o:XW("engine."+r)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Y$;return jW({locale:r,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(r,n){var o=n;n||(o=IG.zhCN),this.$i18n.global.setLocaleMessage(r,o)}}]),e}();ZW(y,"$i18n",y.resetI18n());function mN(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,l){var f=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){Kr("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===l.length-1&&!Object.is(f[u],r)&&(f[u]=r,o=!0),f[u]}},e),o}var eq=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},rg={exports:{}};(function(e){(function(t){var r=function(v,R,b){if(!f(R)||_(R)||d(R)||p(R)||l(R))return R;var O,S=0,T=0;if(s(R))for(O=[],T=R.length;S<T;S++)O.push(r(v,R[S],b));else{O={};for(var $ in R)Object.prototype.hasOwnProperty.call(R,$)&&(O[v($,b)]=r(v,R[$],b))}return O},n=function(v,R){R=R||{};var b=R.separator||"_",O=R.split||/(?=[A-Z])/;return v.split(O).join(b)},o=function(v){return m(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(R,b){return b?b.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var R=o(v);return R.substr(0,1).toUpperCase()+R.substr(1)},u=function(v,R){return n(v,R).toLowerCase()},c=Object.prototype.toString,l=function(v){return typeof v=="function"},f=function(v){return v===Object(v)},s=function(v){return c.call(v)=="[object Array]"},_=function(v){return c.call(v)=="[object Date]"},d=function(v){return c.call(v)=="[object RegExp]"},p=function(v){return c.call(v)=="[object Boolean]"},m=function(v){return v=v-0,v===v},h=function(v,R){var b=R&&"process"in R?R.process:R;return typeof b!="function"?v:function(O,S){return b(O,v,S)}},E={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,R){return r(h(o,R),v)},decamelizeKeys:function(v,R){return r(h(u,R),v,R)},pascalizeKeys:function(v,R){return r(h(i,R),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=E:t.humps=E})(eq)})(rg);var bN={};Object.defineProperty(bN,"__esModule",{value:!0});function og(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:og(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:og(n)}return t}}var tq=bN.default=og;function ON(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zt(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":ON(e))==="object"?tq(e):e}function ut(e){return ig(e)&&"zh"in e}function ig(e){return Object.prototype.toString.call(e)==="[object Object]"}function nq(e){return e!=null&&(typeof e=="undefined"?"undefined":ON(e))==="object"&&Array.isArray(e)===!1}function ao(e){return Array.isArray(e)}function wN(e){return typeof e=="string"}function ug(e){return typeof e=="number"}function rq(e){return typeof e=="function"}function oq(e){return ao(e)&&e.every(function(t){return wN(t)})}function iq(e){return ao(e)&&e.every(function(t){return ug(t)})}function uq(e){return ao(e)&&e.every(function(t){return ug(t)||t===""})}function cq(e){return/^\[.*?]$/.test(e)}function aq(e){return/^{.*?}$/.test(e)}function lo(e){return isNaN(parseFloat(e))?"":Number(e)}function EN(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function lq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,r;return function(){for(var n=this,o=arguments.length,i=new Array(o),u=0;u<o;u++)i[u]=arguments[u];r||(r=setTimeout(function(){e.apply(n,i),clearTimeout(r),r=null},t))}}function fq(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function ye(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=ye(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=ye(n.footers,t)),t(o)})),r}function PN(e){return rg.exports.camelizeKeys(e)}function Rr(e){return rg.exports.decamelizeKeys(e)}function sq(e){return Object.values(a.CONTROL_TYPE).includes(e)}function cg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _q(e){if(Array.isArray(e))return cg(e)}function TN(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(f){r(f);return}c.done?t(l):Promise.resolve(l).then(n,o)}function dq(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){TN(i,n,o,u,c,"next",l)}function c(l){TN(i,n,o,u,c,"throw",l)}u(void 0)})}}function yq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $N(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pq(e,t,r){return t&&$N(e.prototype,t),r&&$N(e,r),e}function RN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vq(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hq(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ag(e){return _q(e)||vq(e)||gq(e)||hq()}function gq(e,t){if(!!e){if(typeof e=="string")return cg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cg(e,t)}}function mq(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(f){return function(s){return l([f,s])}}function l(f){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=f[0]&2?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[f[0]&2,o.value]),f[0]){case 0:case 1:o=f;break;case 4:return u.label++,{value:f[1],done:!1};case 5:u.label++,n=f[1],f=[0];continue;case 7:f=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(f[0]===6||f[0]===2)){u=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){u.label=f[1];break}if(f[0]===6&&u.label<o[1]){u.label=o[1],o=f;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(f);break}o[2]&&u.ops.pop(),u.trys.pop();continue}f=t.call(e,u)}catch(s){f=[6,s],n=0}finally{r=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var SN=function(){function e(){yq(this,e),RN(this,"_events",new Map),RN(this,"debug",!1)}return pq(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return dq(function(){var c,l,f,s,_,d,p,m,h,E,v,R;return mq(this,function(b){switch(b.label){case 0:if(c=u._events.get(r),l=[],!c)return[3,10];f=c.slice(),s=!0,_=!1,d=void 0,b.label=1;case 1:b.trys.push([1,8,9,10]),p=f[Symbol.iterator](),b.label=2;case 2:if(s=(m=p.next()).done)return[3,7];if(h=m.value,!c.includes(h))return[3,6];b.label=3;case 3:return b.trys.push([3,5,,6]),u.debug&&Su.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(ag(o))),[4,h.apply(null,ag(o))];case 4:return E=b.sent(),u.debug&&Su.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ag(o),[E])),l.push(E),E===!1?[3,7]:[3,6];case 5:return v=b.sent(),Q$(String(v)+":"+String(v.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return R=b.sent(),_=!0,d=R,[3,10];case 9:try{!s&&p.return!=null&&p.return()}finally{if(_)throw d}return[7];case 10:return[2,l]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function bq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oq(e,t,r){return t&&NN(e.prototype,t),r&&NN(e,r),e}function wq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Eq=[{key:"on_click",name:y.getMessage("click"),code:"click"},{key:"on_click_finish",name:y.getMessage("finished"),code:"click-finish"},{key:"on_change",name:y.getMessage("valueChange"),code:"change"},{key:"on_search",name:y.getMessage("search"),code:"search"},{key:"on_list_change",name:y.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:y.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:y.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:y.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:y.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:y.getMessage("onInput"),code:"input"},{key:"on_blur",name:y.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:y.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:y.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:y.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:y.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:y.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:y.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:y.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:y.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:y.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:y.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:y.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:y.getMessage("modalConfirm"),code:"modal-ok"}],IN=function(){function e(){bq(this,e)}return Oq(e,null,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}},{key:"getEventsFromControl",value:function(r){var n=[],o=r.eventKeys;n=n.concat(e.events.filter(function(u){return o.includes(u.key)}));var i=r.customEvents.map(function(u){var c=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(c=u.namespace+":"+u.key),{key:c,code:u.key,name:u.name}});return n=n.concat(i),n}}]),e}();wq(IN,"events",Eq);function lg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Pq(e){if(Array.isArray(e))return lg(e)}function Tq(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $q(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function BN(e){return Pq(e)||Tq(e)||Rq(e)||$q()}function Rq(e,t){if(!!e){if(typeof e=="string")return lg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return lg(e,t)}}function Qa(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function fg(e,t,r){r!=="Runtime"&&(e.parent=t,Qa(e,"parent"))}function AN(e,t,r){e.forEach(function(n){fg(n,t,r)})}var MN=Symbol("targetKey");function LN(e){var t;return(t=e[MN])!==null&&t!==void 0?t:e}function DN(e,t,r){return AN(e,t,r),new Proxy(e,{get:function(o,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),l=2;l<u;l++)c[l-2]=arguments[l];var f;return i===MN?o:(f=Reflect).get.apply(f,[o,i].concat(BN(c)))},set:function(o,i,u){for(var c=arguments.length,l=new Array(c>3?c-3:0),f=3;f<c;f++)l[f-3]=arguments[f];var s;if(ao(e)&&i==="length"&&u===e.length)return!0;var _=(s=Reflect).set.apply(s,[o,i,u].concat(BN(l)));return ig(u)&&fg(u,t,r),_}})}function _n(e,t,r,n,o){var i=n!=null?n:e,u=DN(LN(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(l){u=DN(LN(l),i,o)},enumerable:!0})}function Sq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nq(e,t,r){return t&&FN(e.prototype,t),r&&FN(e,r),e}function Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var CN=[],Gu=function(){function e(t){Sq(this,e),Sr(this,"registeredControlTypes",new Set),Sr(this,"controlConfigMap",new Map),Sr(this,"_controls",[]),Sr(this,"_type",void 0),this._type=t,this._initControls(t)}return Nq(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||yr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(Kr("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===a.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===a.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===a.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===a.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(s){return o.createControl(s,n)});if(r.children&&(r.children=r.children.map(function(s){return o.createControl(s,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(s){return o.createControl(s,n)}))}var u=this.getControlFormType(r.type);if(u){var c=r;if(typeof n=="function"){var l=n(c);l&&(c=l)}var f;return u.mode==="Runtime"?(f=c,f.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(f,this)):f=new u(c),f}else yr("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(r,n){delete r.parent,Object.defineProperty(r,"parent",{configurable:!0,get:function(){return n}}),Qa(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var i=r.id,u=n._controlParentIdMap,c=n.instanceMap;if(!(!u||!c)){var l=u[i],f=c[i];if(!(!l&&!f)){var s=f.findIndex(function(p){return p==r}),_=c[l]||[],d;return _.length!==f.length?d=_[0]:d=_[s],d}}}}),Qa(r,"parent"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var o=e.staticControlsRuntimeRules.get(r),i=[];if(o){var u=new o(n);i=Array.from(u)}return i}},{key:"register",value:function(r,n){var o=r.Designer,i=r.Runtime,u=r.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&yr("".concat(r," is can't register as a Control"));var c=this.staticControls.findIndex(function(l){return l.Designer.controlType===o.controlType});return c>-1&&(Kr("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),u.mode=n,this}}]),e}();Sr(Gu,"staticControlsRuntimeRules",new Map),Sr(Gu,"staticControls",CN),Sr(Gu,"staticRegisteredTypes",new Set(CN.map(function(e){return e.Designer.controlType}))),Sr(Gu,"staticRegisteredConfigs",new Map);function ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(e)}function Wt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sg(e,t)}function Iq(e,t){return t&&(Bq(t)==="object"||typeof t=="function")?t:ce(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sg(e,t)}function Bq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Aq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qt(e){var t=Aq();return function(){var n=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iq(this,o)}}var Kt=function e(t){F(this,e),P(this,"dataCode",void 0),P(this,"fieldCode",void 0),P(this,"fieldType",void 0),P(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},el=function e(t){F(this,e),P(this,"minWidth",void 0),P(this,"maxWidth",void 0),P(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},_g=function e(t){F(this,e),P(this,"rowHeightType",void 0),P(this,"minRows",void 0),P(this,"maxRows",void 0),P(this,"fiexdRow",void 0);var r;this.rowHeightType=(r=t==null?void 0:t.rowHeightType)!==null&&r!==void 0?r:"fixed";var n;this.minRows=(n=t==null?void 0:t.minRows)!==null&&n!==void 0?n:4;var o;this.maxRows=(o=t==null?void 0:t.maxRows)!==null&&o!==void 0?o:20;var i;this.fiexdRow=(i=t==null?void 0:t.fiexdRow)!==null&&i!==void 0?i:4},dg=function e(t){F(this,e),P(this,"pc",void 0),P(this,"mobile",void 0),this.pc=new _g(t==null?void 0:t.pc),this.mobile=new _g(t==null?void 0:t.mobile)},tl=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;o=t.call(this,n),P(ce(o),"width",void 0),P(ce(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(el),yg=function e(t){F(this,e),P(this,"pc",void 0),P(this,"mobile",void 0),this.pc=new tl(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new tl(t==null?void 0:t.mobile):new tl({width:130,minWidth:180})},kN=function e(t){F(this,e),P(this,"type",void 0),P(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},fo=function e(t){F(this,e),P(this,"dataCode",void 0),P(this,"formKey",void 0),P(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},jN=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;o=t.call(this,n),P(ce(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(fo),VN=function e(t){F(this,e),P(this,"fieldCode",void 0),P(this,"dataCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:""},nl=function e(t){F(this,e);var r;P(this,"appId",void 0),P(this,"formKey",void 0),P(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new VN(u)}))!==null&&i!==void 0?i:[]},xN=function e(t){F(this,e),P(this,"fieldName",void 0),P(this,"fieldCode",void 0),P(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:a.FieldTypes.VARCHAR},UN=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;o=t.call(this,n),P(ce(o),"title",void 0),P(ce(o),"svcCode",void 0),P(ce(o),"isOpenFilter",void 0),P(ce(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var c;o.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var l;return o.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],o}return r}(fo),GN=function e(t){F(this,e);var r,n;P(this,"type","sublist-page"),P(this,"formBind",void 0),P(this,"displayFields",void 0),P(this,"sublists",void 0),this.formBind=new fo(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new xN(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new UN(u)}))!==null&&i!==void 0?i:[]},HN=function e(t){F(this,e),P(this,"type",void 0),P(this,"value",void 0),P(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},ui=function e(t){F(this,e),P(this,"type",void 0),P(this,"value",void 0),P(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},rl=function e(t){var r=this;F(this,e),P(this,"id",void 0),P(this,"ruleId",void 0),P(this,"type","conditions"),P(this,"level",void 0),P(this,"value",void 0),P(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Gt();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var l,f=new e(c);(l=r.children)===null||l===void 0||l.push(f)}else{var s,_=new Hu(c);(s=r.children)===null||s===void 0||s.push(_)}}))},Hu=function e(t){F(this,e),P(this,"id",void 0),P(this,"ruleId",void 0),P(this,"type","condition"),P(this,"symbol",void 0),P(this,"checked",void 0),P(this,"describe",void 0),P(this,"leftVariableBo",void 0),P(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Gt();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new HN(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ui(t==null?void 0:t.rightVariableBo)},YN=function e(t){F(this,e),P(this,"aliasCode",void 0),P(this,"datasourceBind",void 0),P(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new Ue(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},ht=function e(t){F(this,e),P(this,"controlId",void 0),P(this,"fieldCode",void 0),P(this,"fieldType",void 0),P(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},ol=function e(t){F(this,e),P(this,"type",void 0),P(this,"value",void 0),P(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},Mq=function e(t){F(this,e),P(this,"title",void 0),P(this,"displayBoList",void 0);var r;this.title=(r=t==null?void 0:t.title)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},pg=function e(t){F(this,e),P(this,"columnName",void 0),P(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},zN=function e(t){F(this,e),P(this,"code",void 0),P(this,"value",void 0),P(this,"field_type",void 0);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:a.FieldTypes.ANY},Lq=function e(t){F(this,e);var r,n;P(this,"id",void 0),P(this,"limit",void 0),P(this,"orders",void 0),P(this,"formKey",void 0),P(this,"dataSet",void 0);var o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var c;this.orders=(c=(r=t.orders)===null||r===void 0?void 0:r.map(function(f){return new pg(f)}))!==null&&c!==void 0?c:[];var l;this.dataSet=(l=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(f){return new zN(f)}))!==null&&l!==void 0?l:[]};function vg(e){var t,r,n,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new rl(c):new Hu(c)}))!==null&&o!==void 0?o:[];var i;this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(c){return c.children!==void 0?new rl(c):new Hu(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(c){return new pg(c)}))!==null&&u!==void 0?u:[]}var Ue=function e(t){var r=this;F(this,e),P(this,"dataCode",void 0),P(this,"valueFieldCode",void 0),P(this,"displayBoList",void 0),P(this,"keywordMapping",void 0),P(this,"svcCode",void 0),P(this,"appId",void 0),P(this,"filters",void 0),P(this,"viewFilters",void 0),P(this,"isOpenViewFilters",void 0),P(this,"orders",void 0),P(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(s){var _;(_=r.displayBoList)===null||_===void 0||_.push(new ol(s))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var l;this.showOrder=(l=t==null?void 0:t.showOrder)!==null&&l!==void 0?l:!0;var f;this.svcCode=(f=t==null?void 0:t.svcCode)!==null&&f!==void 0?f:"",vg.call(this,t)},il=function e(t){F(this,e),P(this,"dataCode",void 0),P(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},Sn=function e(t){F(this,e),P(this,"code",void 0),P(this,"color",void 0),P(this,"command",void 0),P(this,"confirmMessage",void 0),P(this,"defaultState",void 0),P(this,"formKey",void 0),P(this,"formType",void 0),P(this,"icon",void 0),P(this,"needConfirm",void 0),P(this,"openType",void 0),P(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0,this.formType=t==null?void 0:t.formType;var l;this.icon=(l=t==null?void 0:t.icon)!==null&&l!==void 0?l:"iconliulan1";var f;this.needConfirm=(f=t==null?void 0:t.needConfirm)!==null&&f!==void 0?f:!1;var s;this.openType=(s=t==null?void 0:t.openType)!==null&&s!==void 0?s:"modal";var _;this.priorityProcess=(_=t==null?void 0:t.priorityProcess)!==null&&_!==void 0?_:!0},hg=function e(t){F(this,e);var r;P(this,"name",void 0),P(this,"key",void 0),P(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new ol(u)}))!==null&&i!==void 0?i:[]},Yu=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o,i;o=t.call(this,n),P(ce(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(c){return new hg(c)}))!==null&&u!==void 0?u:[],o}return r}(Ue),WN=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o,i;o=t.call(this,n),P(ce(o),"attributes",void 0),P(ce(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(l){return new hg(l)}))!==null&&u!==void 0?u:[];var c;return o.formCode=(c=n==null?void 0:n.formCode)!==null&&c!==void 0?c:"",o}return r}(Ue),gg=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;o=t.call(this,n),P(ce(o),"rootNode",void 0),P(ce(o),"filterCode",void 0),o.rootNode=new ui(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(Yu),qN=function e(t){F(this,e);var r;P(this,"dataCode",void 0),P(this,"appId",void 0),P(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new ht(u)}))!==null&&i!==void 0?i:[]},mg=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;return o=t.call(this,n),P(ce(o),"filters",void 0),P(ce(o),"viewFilters",void 0),P(ce(o),"orders",void 0),vg.call(ce(o),n),o}return r}(qN),bg=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;o=t.call(this,n),P(ce(o),"mode",void 0),P(ce(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(qN),Dq=function e(t){F(this,e),P(this,"zh",void 0),P(this,"en",void 0),P(this,"ja",void 0);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},ul=function e(t){F(this,e),P(this,"stencilName",void 0),P(this,"expression",void 0),P(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},Og=function e(t){F(this,e),P(this,"id",void 0),P(this,"label",void 0),P(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Gt(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label},KN=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;o=t.call(this,n),P(ce(o),"image",void 0),P(ce(o),"type",void 0);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var u;return o.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:"src",o}return r}(Og);function Nn(e){var t;return(t=e==null?void 0:e.map(function(r){return new Og(r)}))!==null&&t!==void 0?t:[]}function Fq(e){var t;return(t=e==null?void 0:e.map(function(r){return new KN(r)}))!==null&&t!==void 0?t:[]}var cl=function e(){F(this,e)},XN=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;return o=t.call(this),P(ce(o),"amount",void 0),P(ce(o),"currency",void 0),o.amount=new Kt(n==null?void 0:n.amount),o.currency=new Kt(n==null?void 0:n.currency),o}return r}(cl),JN=function e(t){F(this,e),P(this,"amount",void 0),P(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},QN=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;return o=t.call(this),P(ce(o),"min",void 0),P(ce(o),"max",void 0),o.min=new Kt(n==null?void 0:n.min),o.max=new Kt(n==null?void 0:n.max),o}return r}(cl),ZN=function e(t){F(this,e),P(this,"min",void 0),P(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},eI=function e(t){F(this,e),P(this,"city",void 0),P(this,"cityDisplay",void 0),P(this,"district",void 0),P(this,"districtDisplay",void 0),P(this,"province",void 0),P(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=t==null?void 0:t.provinceDisplay)!==null&&c!==void 0?c:""},tI=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;return o=t.call(this),P(ce(o),"result",void 0),P(ce(o),"unit",void 0),o.result=new Kt(n==null?void 0:n.result),o.unit=new Kt(n==null?void 0:n.unit),o}return r}(cl),nI=function e(t){F(this,e),P(this,"result",void 0),P(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};a.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(a.AMOUNT_TYPE||(a.AMOUNT_TYPE={})),a.COMMON_SETTING_TYPE=void 0,function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable"}(a.COMMON_SETTING_TYPE||(a.COMMON_SETTING_TYPE={})),a.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(a.PAGE_STATUS||(a.PAGE_STATUS={}));var Yn=function e(t){F(this,e),P(this,"isShow",void 0),P(this,"priorityProcess",void 0),P(this,"formKey",void 0),P(this,"content",void 0),P(this,"openType",void 0),P(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},rI=function e(t){F(this,e);var r;P(this,"id",void 0),P(this,"title",void 0),P(this,"filters",void 0),P(this,"viewFilters",void 0),P(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Gt(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new VN(u)}))!==null&&i!==void 0?i:[],vg.call(this,t)},Cq=function e(t){F(this,e),P(this,"key",void 0),P(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:Gt(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},oI=function e(t){F(this,e),P(this,"width",void 0),P(this,"height",void 0),P(this,"widthConfig",void 0),P(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},iI=function e(t){F(this,e),P(this,"optCode",void 0),P(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""},uI=function e(t){F(this,e);var r,n;P(this,"id",void 0),P(this,"name",void 0),P(this,"settings",void 0),P(this,"filters",void 0),P(this,"script",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Gt();var i;this.name=(i=t==null?void 0:t.name)!==null&&i!==void 0?i:"";var u;this.filters=(u=t==null||(r=t.filters)===null||r===void 0?void 0:r.map(function(l){return l.children!==void 0?new rl(l):new Hu(l)}))!==null&&u!==void 0?u:[];var c;this.settings=(t==null?void 0:t.settings)&&Array.isArray(t==null?void 0:t.settings)?(c=t==null||(n=t.settings)===null||n===void 0?void 0:n.map(function(l){return new cI(l)}))!==null&&c!==void 0?c:[]:[],this.script=t==null?void 0:t.script},cI=function e(t){F(this,e),P(this,"color",void 0),P(this,"fieldCodes",void 0),P(this,"type",void 0),P(this,"scope",void 0);var r;this.type=(r=t.type)!==null&&r!==void 0?r:"background";var n;this.fieldCodes=(n=t.fieldCodes)!==null&&n!==void 0?n:[];var o;this.color=(o=t.color)!==null&&o!==void 0?o:"theme";var i;this.scope=(i=t.scope)!==null&&i!==void 0?i:"row"},aI=function e(t){F(this,e);var r;P(this,"type",void 0),P(this,"interval",void 0),P(this,"rules",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"none";var o;this.interval=(o=t==null?void 0:t.interval)!==null&&o!==void 0?o:{color:""};var i;this.rules=(t==null?void 0:t.rules)&&Array.isArray(t==null?void 0:t.rules)?(i=t==null||(r=t.rules)===null||r===void 0?void 0:r.map(function(u){return new uI(u)}))!==null&&i!==void 0?i:[]:[]};function kq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function al(e,t,r){return lI()?al=Reflect.construct:al=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),f=new l;return u&&Wu(f,u.prototype),f},al.apply(null,arguments)}function zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(e)}function jq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wu(e,t)}function Vq(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function xq(e,t){return t&&(Uq(t)==="object"||typeof t=="function")?t:kq(e)}function Wu(e,t){return Wu=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wu(e,t)}function Uq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eg(e){var t=typeof Map=="function"?new Map:void 0;return Eg=function(n){if(n===null||!Vq(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return al(n,arguments,zu(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Wu(o,n)},Eg(e)}function lI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gq(e){var t=lI();return function(){var n=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xq(this,o)}}var Fe=function e(t){wg(this,e),zn(this,"isHide",{type:"boolean"})},Nr=function(e){jq(r,e);var t=Gq(r);function r(n){return wg(this,r),t.call(this)}return r}(Eg(Array)),$e=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";wg(this,e),zn(this,"isHide",void 0),zn(this,"className",void 0),zn(this,"style",void 0),zn(this,"caption",void 0),zn(this,"defaultState",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new oI(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};zn($e,"mode",void 0),zn($e,"Rules",Fe),zn($e,"RuntimeRules",Nr);function In(){return In=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},In.apply(this,arguments)}function Hq(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Pg(e){return Pg=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pg(e)}function ll(e,t){return ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ll(e,t)}function Yq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function fl(e,t,r){return Yq()?fl=Reflect.construct:fl=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),f=new l;return u&&ll(f,u.prototype),f},fl.apply(null,arguments)}function zq(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Tg(e){var t=typeof Map=="function"?new Map:void 0;return Tg=function(n){if(n===null||!zq(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return fl(n,arguments,Pg(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ll(o,n)},Tg(e)}var Wq=/%[sdj%]/g,fI=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(fI=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function $g(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function At(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(Wq,function(c){if(c==="%%")return"%";if(n>=i)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(l){return"[Circular]"}break;default:return c}});return u}return o}function qq(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Ge(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||qq(t)&&typeof e=="string"&&!e)}function Kq(e,t,r){var n=[],o=0,i=e.length;function u(c){n.push.apply(n,c),o++,o===i&&r(n)}e.forEach(function(c){t(c,u)})}function sI(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<o?t(e[c],i):r([])}i([])}function Xq(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var _I=function(e){Hq(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(Tg(Error));function Jq(e,t,r,n){if(t.first){var o=new Promise(function(_,d){var p=function(E){return n(E),E.length?d(new _I(E,$g(E))):_()},m=Xq(e);sI(m,r,p)});return o.catch(function(_){return _}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,l=0,f=[],s=new Promise(function(_,d){var p=function(h){if(f.push.apply(f,h),l++,l===c)return n(f),f.length?d(new _I(f,$g(f))):_()};u.length||(n(f),_()),u.forEach(function(m){var h=e[m];i.indexOf(m)!==-1?sI(h,r,p):Kq(h,r,p)})});return s.catch(function(_){return _}),s}function dI(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function yI(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=In(In({},e[r]),n):e[r]=n}}return e}function pI(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||Ge(t,i||e.type))&&n.push(At(o.messages.required,e.fullField))}function Qq(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(At(o.messages.whitespace,e.fullField))}var Rg={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},qu={integer:function(t){return qu.number(t)&&parseInt(t,10)===t},float:function(t){return qu.number(t)&&!qu.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!qu.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Rg.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Rg.url)},hex:function(t){return typeof t=="string"&&!!t.match(Rg.hex)}};function Zq(e,t,r,n,o){if(e.required&&t===void 0){pI(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?qu[u](t)||n.push(At(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(At(o.messages.types[u],e.fullField,e.type))}function eK(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=t,s=null,_=typeof t=="number",d=typeof t=="string",p=Array.isArray(t);if(_?s="number":d?s="string":p&&(s="array"),!s)return!1;p&&(f=t.length),d&&(f=t.replace(l,"_").length),i?f!==e.len&&n.push(At(o.messages[s].len,e.fullField,e.len)):u&&!c&&f<e.min?n.push(At(o.messages[s].min,e.fullField,e.min)):c&&!u&&f>e.max?n.push(At(o.messages[s].max,e.fullField,e.max)):u&&c&&(f<e.min||f>e.max)&&n.push(At(o.messages[s].range,e.fullField,e.min,e.max))}var ci="enum";function tK(e,t,r,n,o){e[ci]=Array.isArray(e[ci])?e[ci]:[],e[ci].indexOf(t)===-1&&n.push(At(o.messages[ci],e.fullField,e[ci].join(", ")))}function nK(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(At(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(At(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var W={required:pI,whitespace:Qq,type:Zq,range:eK,enum:tK,pattern:nK};function rK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t,"string")&&!e.required)return r();W.required(e,t,n,i,o,"string"),Ge(t,"string")||(W.type(e,t,n,i,o),W.range(e,t,n,i,o),W.pattern(e,t,n,i,o),e.whitespace===!0&&W.whitespace(e,t,n,i,o))}r(i)}function oK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),t!==void 0&&W.type(e,t,n,i,o)}r(i)}function iK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),t!==void 0&&(W.type(e,t,n,i,o),W.range(e,t,n,i,o))}r(i)}function uK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),t!==void 0&&W.type(e,t,n,i,o)}r(i)}function cK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),Ge(t)||W.type(e,t,n,i,o)}r(i)}function aK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),t!==void 0&&(W.type(e,t,n,i,o),W.range(e,t,n,i,o))}r(i)}function lK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),t!==void 0&&(W.type(e,t,n,i,o),W.range(e,t,n,i,o))}r(i)}function fK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();W.required(e,t,n,i,o,"array"),t!=null&&(W.type(e,t,n,i,o),W.range(e,t,n,i,o))}r(i)}function sK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),t!==void 0&&W.type(e,t,n,i,o)}r(i)}var _K="enum";function dK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),t!==void 0&&W[_K](e,t,n,i,o)}r(i)}function yK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t,"string")&&!e.required)return r();W.required(e,t,n,i,o),Ge(t,"string")||W.pattern(e,t,n,i,o)}r(i)}function pK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t,"date")&&!e.required)return r();if(W.required(e,t,n,i,o),!Ge(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),W.type(e,c,n,i,o),c&&W.range(e,c.getTime(),n,i,o)}}r(i)}function vK(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;W.required(e,t,n,i,o,u),r(i)}function Sg(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(Ge(t,i)&&!e.required)return r();W.required(e,t,n,u,o,i),Ge(t,i)||W.type(e,t,n,u,o)}r(u)}function hK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o)}r(i)}var Ku={string:rK,method:oK,number:iK,boolean:uK,regexp:cK,integer:aK,float:lK,array:fK,object:sK,enum:dK,pattern:yK,date:pK,url:Sg,hex:Sg,email:Sg,required:vK,any:hK};function Ng(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Ig=Ng();function Ir(e){this.rules=null,this._messages=Ig,this.define(e)}Ir.prototype={messages:function(t){return t&&(this._messages=yI(Ng(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function l(h){var E,v=[],R={};function b(O){if(Array.isArray(O)){var S;v=(S=v).concat.apply(S,O)}else v.push(O)}for(E=0;E<h.length;E++)b(h[E]);v.length?R=$g(v):(v=null,R=null),c(v,R)}if(u.messages){var f=this.messages();f===Ig&&(f=Ng()),yI(f,u.messages),u.messages=f}else u.messages=this.messages();var s,_,d={},p=u.keys||Object.keys(this.rules);p.forEach(function(h){s=o.rules[h],_=i[h],s.forEach(function(E){var v=E;typeof v.transform=="function"&&(i===t&&(i=In({},i)),_=i[h]=v.transform(_)),typeof v=="function"?v={validator:v}:v=In({},v),v.validator=o.getValidationMethod(v),v.field=h,v.fullField=v.fullField||h,v.type=o.getType(v),v.validator&&(d[h]=d[h]||[],d[h].push({rule:v,value:_,source:i,field:h}))})});var m={};return Jq(d,u,function(h,E){var v=h.rule,R=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");R=R&&(v.required||!v.required&&h.value),v.field=h.field;function b(T,$){return In(In({},$),{},{fullField:v.fullField+"."+T})}function O(T){T===void 0&&(T=[]);var $=T;if(Array.isArray($)||($=[$]),!u.suppressWarning&&$.length&&Ir.warning("async-validator:",$),$.length&&v.message!==void 0&&($=[].concat(v.message)),$=$.map(dI(v)),u.first&&$.length)return m[v.field]=1,E($);if(!R)E($);else{if(v.required&&!h.value)return v.message!==void 0?$=[].concat(v.message).map(dI(v)):u.error&&($=[u.error(v,At(u.messages.required,v.field))]),E($);var I={};if(v.defaultField)for(var A in h.value)h.value.hasOwnProperty(A)&&(I[A]=v.defaultField);I=In(In({},I),h.rule.fields);for(var x in I)if(I.hasOwnProperty(x)){var Z=Array.isArray(I[x])?I[x]:[I[x]];I[x]=Z.map(b.bind(null,x))}var H=new Ir(I);H.messages(u.messages),h.rule.options&&(h.rule.options.messages=u.messages,h.rule.options.error=u.error),H.validate(h.value,h.rule.options||u,function(he){var st=[];$&&$.length&&st.push.apply(st,$),he&&he.length&&st.push.apply(st,he),E(st.length?st:null)})}}var S;v.asyncValidator?S=v.asyncValidator(v,h.value,O,h.source,u):v.validator&&(S=v.validator(v,h.value,O,h.source,u),S===!0?O():S===!1?O(v.message||v.field+" fails"):S instanceof Array?O(S):S instanceof Error&&O(S.message)),S&&S.then&&S.then(function(){return O()},function(T){return O(T)})},function(h){l(h)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Ku.hasOwnProperty(t.type))throw new Error(At("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?Ku.required:Ku[this.getType(t)]||!1}},Ir.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ku[t]=r},Ir.warning=fI,Ir.messages=Ig,Ir.validators=Ku;var gK={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function vI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Ir(e);return r.messages(Object.assign(gK,t)),r}var hI=new SN;function Bg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function mK(e){if(Array.isArray(e))return e}function bK(e){if(Array.isArray(e))return Bg(e)}function gI(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(f){r(f);return}c.done?t(l):Promise.resolve(l).then(n,o)}function mI(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){gI(i,n,o,u,c,"next",l)}function c(l){gI(i,n,o,u,c,"throw",l)}u(void 0)})}}function OK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wK(e,t,r){return t&&bI(e.prototype,t),r&&bI(e,r),e}function ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function OI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function wI(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function EK(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function PK(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function EI(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){ne(e,o,r[o])})}return e}function TK(e){return mK(e)||wI(e)||PI(e)||EK()}function Ag(e){return bK(e)||wI(e)||PI(e)||PK()}function $K(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PI(e,t){if(!!e){if(typeof e=="string")return Bg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Bg(e,t)}}function TI(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(f){return function(s){return l([f,s])}}function l(f){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=f[0]&2?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[f[0]&2,o.value]),f[0]){case 0:case 1:o=f;break;case 4:return u.label++,{value:f[1],done:!1};case 5:u.label++,n=f[1],f=[0];continue;case 7:f=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(f[0]===6||f[0]===2)){u=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){u.label=f[1];break}if(f[0]===6&&u.label<o[1]){u.label=o[1],o=f;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(f);break}o[2]&&u.ops.pop(),u.trys.pop();continue}f=t.call(e,u)}catch(s){f=[6,s],n=0}finally{r=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var re=function(){function t(r){var n=this;OK(this,t),ne(this,"id",void 0),ne(this,"name",void 0),ne(this,"icon",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"setting",[]),ne(this,"fieldType",void 0),ne(this,"eventKeys",[]),ne(this,"customEvents",[]),ne(this,"parent",null),ne(this,"slots",void 0),ne(this,"slotPosition",void 0),ne(this,"updateSetting",RI),ne(this,"removeSetting",$I),this._callControlHooks("preInstance",r);var o=OI(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,l=o.controlFieldType,f=o.controlEventKeys,s=o.controlCustomEvents,_=o.name,d=o.setting,p=o.slots,m=o.slotPosition;i&&u&&c||th("The ".concat(_," controlName,controlIcon,controlType is not define"));var h;this.id=(h=r==null?void 0:r.id)!==null&&h!==void 0?h:Gt(10),this.name=i,this.icon=u;var E;this.type=(E=r==null?void 0:r.type)!==null&&E!==void 0?E:c,this.props=new $e(r==null?void 0:r.props,(OI(this,t)?this.constructor:void 0).controlName);var v;this.controlType=(v=r==null?void 0:r.controlType)!==null&&v!==void 0?v:"base",this.setting=zt(d);var R;this.fieldType=(R=r==null?void 0:r.fieldType)!==null&&R!==void 0?R:l,this.eventKeys=zt(f),this.customEvents=zt(s),this.slots=zt(p),this.slotPosition=zt(m),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return wK(t,[{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,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,c=TK(o),l=c[0],f=c.slice(1);return(u=hI).emit.apply(u,[l,this].concat(Ag(f)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),mN(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return mI(function(){var o,i,u;return TI(this,function(c){switch(c.label){case 0:return o=EI({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return mI(function(){var u,c,l,f;return TI(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:u=s.sent(),c=u!==void 0?u:EI({},i.rules),Array.isArray(o)&&o.forEach(function(_){c.hasOwnProperty(_)&&delete c[_]}),l=vI(c,n),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,l.validate(i.props)];case 3:return s.sent(),[2,!0];case 4:throw f=s.sent(),f.control||(f.control=i),f;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,c=this.props,l=c.dataBind,f=c.datasourceBind,s=c.optionConfig,_=c.caption,d=c.required,p=c.maxLength,m=c.options,h=c.encrypted,E=c.encryptedMode;if(!(!o&&!l&&!f)){var v={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(l&&(v.dataBind=l),s){case"datasource":case void 0:f&&(v.datasourceBind=f);break;case"custom":v.props.options=m;break}return d!==void 0&&(v.required=d),p!==void 0&&(v.maxLength=p),h!==void 0&&(v.encrypted=h),E!==void 0&&(v.encryptedMode=E),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:zt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Ag(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();ne(re,"mode","Designer"),ne(re,"slots",void 0),ne(re,"slotPosition",void 0),ne(re,"controlName","\u63A7\u4EF6"),ne(re,"controlIcon","icon"),ne(re,"controlType","control"),ne(re,"controlFieldType",void 0),ne(re,"controlEventKeys",[]),ne(re,"controlCustomEvents",[]),ne(re,"setting",[]),ne(re,"__is_control__",!0),ne(re,"removeSettingItem",$I),ne(re,"updateSettingItem",RI);function $I(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(f){return f.key===(i?n.key:n)});if(u!==-1){var c,l;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(f){return!n.hideItems.includes(f)}):t.setting.splice(u,1),i&&!(!((l=t.setting[u].showItems)===null||l===void 0)&&l.length)&&t.setting.splice(u,1)}})}function RI(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(f){return f.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":$K(t))==="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var l;(l=i.showItems).push.apply(l,Ag(t.showItems))}}}})}function RK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SK(e,t,r){return t&&SI(e.prototype,t),r&&SI(e,r),e}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function NK(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Re=function(){function t(r){RK(this,t),Mt(this,"id",void 0),Mt(this,"type",void 0),Mt(this,"controlType",void 0),Mt(this,"props",void 0),Mt(this,"fieldType",void 0),Mt(this,"customEvents",[]),Mt(this,"pageStatus",void 0),Mt(this,"parent",null);var n=NK(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||th("The ".concat(u," controlType is not define"));var l;this.id=(l=r==null?void 0:r.id)!==null&&l!==void 0?l:Gt(10);var f;this.type=(f=r==null?void 0:r.type)!==null&&f!==void 0?f:o,this.props=new $e(r==null?void 0:r.props),this.customEvents=c;var s;this.controlType=(s=r==null?void 0:r.controlType)!==null&&s!==void 0?s:"base";var _;this.fieldType=(_=r==null?void 0:r.fieldType)!==null&&_!==void 0?_:i;var d;this.pageStatus=(d=r==null?void 0:r.pageStatus)!==null&&d!==void 0?d:a.PAGE_STATUS.UNKNOWN}return SK(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();Mt(Re,"mode","Runtime"),Mt(Re,"controlType","control"),Mt(Re,"controlFieldType",void 0),Mt(Re,"__is_control__",!0),Mt(Re,"controlCustomEvents",[]);function sl(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:y.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:y.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:y.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(y.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=EN(i);i.length!==u.length?o(y.getMessage("optionIdIsRepeat")):o()},message:y.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:y.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:y.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(y.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:y.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:y.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:y.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:y.getMessage("isNotBoolean")}}}}]}}])}function Xu(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:y.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:y.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:y.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:y.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:y.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:y.getMessage("isNotString")},key:{type:"string",required:!0,message:y.getMessage("isNotString")},value:[{type:"array",message:y.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(y.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:y.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:y.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:y.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:y.getMessage("isNotBoolean")}}}}]}}]}function NI(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function yl(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mg(e,t)}function IK(e,t){return t&&(BK(t)==="object"||typeof t=="function")?t:me(e)}function Mg(e,t){return Mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mg(e,t)}function BK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pl(e){var t=AK();return function(){var n=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IK(this,o)}}var Ye=function(e){yl(r,e);var t=pl(r);function r(n){_l(this,r);var o;o=t.call(this,n),be(me(o),"dataBind",{}),be(me(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),be(me(o),"isHideCaption",{type:"boolean"}),be(me(o),"labelPosition",{type:"enum",enum:["top","left"]}),be(me(o),"defaultState",{type:"enum",enum:["default","readonly"]}),be(me(o),"required",{type:"boolean"}),be(me(o),"captionTip",{type:"string",required:!1,message:y.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterFieldCode")}};if(NI(n.dataBind))o.dataBind={type:"object",required:!0,fields:zt(i),message:y.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:y.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:zt(i),message:y.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Fe),_e=function(e){yl(r,e);var t=pl(r);function r(n){_l(this,r);var o;o=t.call(this,n);var i=n.isHide?!1:n.required;return i&&o.push({type:"string",required:i,message:n.requiredMessage!==""?n.requiredMessage:y.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(Nr),K=function(e){yl(r,e);var t=pl(r);function r(n){_l(this,r);var o;o=t.call(this,n),be(me(o),"caption",void 0),be(me(o),"isHideCaption",void 0),be(me(o),"isShowCaptionTip",void 0),be(me(o),"captionTip",void 0),be(me(o),"labelPosition",void 0),be(me(o),"dataBind",void 0),be(me(o),"defaultValue",void 0),be(me(o),"placeholder",void 0),be(me(o),"defaultState",void 0),be(me(o),"required",void 0),be(me(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var d;o.required=(d=n==null?void 0:n.required)!==null&&d!==void 0?d:!1;var p;o.requiredMessage=(p=n==null?void 0:n.requiredMessage)!==null&&p!==void 0?p:"",o.dataBind=new Kt(n==null?void 0:n.dataBind);var m;return o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:"",o}return r}($e);be(K,"Rules",Ye),be(K,"RuntimeRules",_e);var so=function(e){yl(r,e);var t=pl(r);function r(n){_l(this,r);var o;return o=t.call(this,n),be(me(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:y.getMessage("PleaseSelectTheCorrectOptionSettings")}),be(me(o),"options",[{type:"array",message:y.getMessage("isNotArray")}]),be(me(o),"datasourceBind",[{type:"object",message:y.getMessage("isNotObject")}]),sl.call(me(o),n),o}return r}(Ye);function Lg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function LK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dg(e,t)}function DK(e,t){return t&&(FK(t)==="object"||typeof t=="function")?t:Lg(e)}function Dg(e,t){return Dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dg(e,t)}function FK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kK(e){var t=CK();return function(){var n=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DK(this,o)}}var J=function(e){LK(r,e);var t=kK(r);function r(n){MK(this,r);var o;return o=t.call(this,n),vl(Lg(o),"controlType","form"),vl(Lg(o),"props",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(re);vl(J,"controlEventKeys",["on_change","on_focus","on_blur"]),vl(J,"controlCustomAttributes",void 0);function gl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function VK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cg(e,t)}function xK(e,t){return t&&(UK(t)==="object"||typeof t=="function")?t:gl(e)}function Cg(e,t){return Cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cg(e,t)}function UK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HK(e){var t=GK();return function(){var n=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xK(this,o)}}var Q=function(e){VK(r,e);var t=HK(r);function r(n){jK(this,r);var o;return o=t.call(this,n),Fg(gl(o),"controlType","form"),Fg(gl(o),"props",void 0),Fg(gl(o),"value",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(Re);function YK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function WK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kg(e,t)}function qK(e,t){return t&&(KK(t)==="object"||typeof t=="function")?t:YK(e)}function kg(e,t){return kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kg(e,t)}function KK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JK(e){var t=XK();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qK(this,o)}}var pe=function(e){WK(r,e);var t=JK(r);function r(n){return zK(this,r),t.call(this,n)}return r}($e);function jg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function QK(e){if(Array.isArray(e))return jg(e)}function _o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function II(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(f){r(f);return}c.done?t(l):Promise.resolve(l).then(n,o)}function ZK(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){II(i,n,o,u,c,"next",l)}function c(l){II(i,n,o,u,c,"throw",l)}u(void 0)})}}function eX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tX(e,t,r){return t&&BI(e.prototype,t),r&&BI(e,r),e}function Br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ai(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ai=Reflect.get:ai=function(o,i,u){var c=fX(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},ai(e,t,r||e)}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ar(e)}function nX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vg(e,t)}function rX(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function oX(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function iX(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function uX(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Br(e,o,r[o])})}return e}function cX(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function aX(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cX(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function lX(e,t){return t&&(sX(t)==="object"||typeof t=="function")?t:_o(e)}function Vg(e,t){return Vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vg(e,t)}function fX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ar(e),e!==null););return e}function AI(e){return QK(e)||oX(e)||_X(e)||iX()}function sX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _X(e,t){if(!!e){if(typeof e=="string")return jg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return jg(e,t)}}function dX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yX(e){var t=dX();return function(){var n=Ar(e),o;if(t){var i=Ar(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lX(this,o)}}function pX(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(f){return function(s){return l([f,s])}}function l(f){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=f[0]&2?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[f[0]&2,o.value]),f[0]){case 0:case 1:o=f;break;case 4:return u.label++,{value:f[1],done:!1};case 5:u.label++,n=f[1],f=[0];continue;case 7:f=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(f[0]===6||f[0]===2)){u=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){u.label=f[1];break}if(f[0]===6&&u.label<o[1]){u.label=o[1],o=f;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(f);break}o[2]&&u.ops.pop(),u.trys.pop();continue}f=t.call(e,u)}catch(s){f=[6,s],n=0}finally{r=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var vX=1e4,Oe=function(t){nX(n,t);var r=yX(n);function n(o){eX(this,n);var i;i=r.call(this,o),Br(_o(i),"controlType","layout"),Br(_o(i),"children",void 0),Br(_o(i),"excludes",void 0),Br(_o(i),"childrenMaxLength",void 0),Br(_o(i),"props",void 0);var u=rX(this,n)?this.constructor:void 0,c=u.excludes,l=u.childrenMaxLength;return i.props=new pe(o==null?void 0:o.props),_n(_o(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=zt(c),i.childrenMaxLength=l,i}return tX(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var c=this,l=this,f=function(){return ai(Ar(n.prototype),"validate",c)};return ZK(function(){return pX(this,function(s){switch(s.label){case 0:return[4,f().call(l,i,u)];case 1:return s.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=ai(Ar(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(l,f){var s=f.toDataBindModel(i);if(Array.isArray(s)){var _=s.filter(function(d){return!!d});return AI(l).concat(AI(_))}return s&&l.push(s),l},c)}},{key:"toSchema",value:function(){var i=ai(Ar(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var l=c.toSchema();return l});return aX(uX({},i),{children:u})}}]),n}(re);Br(Oe,"excludes",!1),Br(Oe,"childrenMaxLength",vX);function Ju(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function gX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ug(e,t)}function mX(e,t){return t&&(bX(t)==="object"||typeof t=="function")?t:Ju(e)}function Ug(e,t){return Ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ug(e,t)}function bX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wX(e){var t=OX();return function(){var n=Ol(e),o;if(t){var i=Ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mX(this,o)}}var Se=function(e){gX(r,e);var t=wX(r);function r(n){hX(this,r);var o;return o=t.call(this,n),xg(Ju(o),"controlType","layout"),xg(Ju(o),"children",void 0),xg(Ju(o),"props",void 0),o.props=new pe(n==null?void 0:n.props),_n(Ju(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Re);function Wn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function li(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function PX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gg(e,t)}function TX(e,t){return t&&($X(t)==="object"||typeof t=="function")?t:Wn(e)}function Gg(e,t){return Gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gg(e,t)}function $X(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SX(e){var t=RX();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TX(this,o)}}var Qu=function(e){PX(r,e);var t=SX(r);function r(n,o,i){EX(this,r);var u;u=t.call(this,o),li(Wn(u),"headers",void 0),li(Wn(u),"footers",void 0),li(Wn(u),"pageIndex",void 0),li(Wn(u),"pageSize",void 0),li(Wn(u),"pageSizeOptions",void 0),li(Wn(u),"totalCount",void 0),_n(Wn(u),"headers",o==null?void 0:o.headers,n,i),_n(Wn(u),"footers",o==null?void 0:o.footers,n);var c;u.pageIndex=(c=o==null?void 0:o.pageIndex)!==null&&c!==void 0?c:1;var l;u.pageSize=(l=o==null?void 0:o.pageSize)!==null&&l!==void 0?l:20;var f;u.pageSizeOptions=(f=o==null?void 0:o.pageSizeOptions)!==null&&f!==void 0?f:[20];var s;return u.totalCount=(s=o==null?void 0:o.totalCount)!==null&&s!==void 0?s:0,u}return r}($e);function Hg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function NX(e){if(Array.isArray(e))return Hg(e)}function El(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MI(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(f){r(f);return}c.done?t(l):Promise.resolve(l).then(n,o)}function IX(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){MI(i,n,o,u,c,"next",l)}function c(l){MI(i,n,o,u,c,"throw",l)}u(void 0)})}}function BX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AX(e,t,r){return t&&LI(e.prototype,t),r&&LI(e,r),e}function Pl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?fi=Reflect.get:fi=function(o,i,u){var c=kX(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},fi(e,t,r||e)}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mr(e)}function MX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yg(e,t)}function LX(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function DX(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function DI(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Pl(e,o,r[o])})}return e}function FX(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function FI(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):FX(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function CX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:El(e)}function Yg(e,t){return Yg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yg(e,t)}function kX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mr(e),e!==null););return e}function CI(e){return NX(e)||LX(e)||VX(e)||DX()}function jX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VX(e,t){if(!!e){if(typeof e=="string")return Hg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Hg(e,t)}}function xX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UX(e){var t=xX();return function(){var n=Mr(e),o;if(t){var i=Mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CX(this,o)}}function GX(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(f){return function(s){return l([f,s])}}function l(f){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=f[0]&2?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[f[0]&2,o.value]),f[0]){case 0:case 1:o=f;break;case 4:return u.label++,{value:f[1],done:!1};case 5:u.label++,n=f[1],f=[0];continue;case 7:f=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(f[0]===6||f[0]===2)){u=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){u.label=f[1];break}if(f[0]===6&&u.label<o[1]){u.label=o[1],o=f;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(f);break}o[2]&&u.ops.pop(),u.trys.pop();continue}f=t.call(e,u)}catch(s){f=[6,s],n=0}finally{r=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var Tl=function(e){MX(r,e);var t=UX(r);function r(n){BX(this,r);var o;return o=t.call(this,n),Pl(El(o),"controlType","list"),Pl(El(o),"props",void 0),o.props=new Qu(El(o),n==null?void 0:n.props,"Designer"),o}return AX(r,[{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return fi(Mr(r.prototype),"validate",u)};return IX(function(){return GX(this,function(f){switch(f.label){case 0:return[4,l().call(c,o)];case 1:return f.sent(),[4,Promise.all(c.props.headers.map(function(s){return s.validate(o,i)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=fi(Mr(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,l){var f=l.toDataBindModel(u);if(Array.isArray(f)){var s=f.filter(function(_){return!!_});return CI(c).concat(CI(s))}return f&&c.push(f),c},i)}},{key:"toSchema",value:function(){var o=fi(Mr(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(u){return u.toSchema()});return FI(DI({},o),{props:FI(DI({},this.props),{headers:i})})}}]),r}(re);Pl(Tl,"controlFieldType",a.FieldTypes.LIST);function si(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YX(e,t,r){return t&&kI(e.prototype,t),r&&kI(e,r),e}function zg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function zX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wg(e,t)}function WX(e,t){return t&&(qX(t)==="object"||typeof t=="function")?t:si(e)}function Wg(e,t){return Wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wg(e,t)}function qX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XX(e){var t=KX();return function(){var n=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WX(this,o)}}var qg=function(e){zX(r,e);var t=XX(r);function r(n){HX(this,r);var o;return o=t.call(this,n),zg(si(o),"controlType","list"),zg(si(o),"children",void 0),zg(si(o),"props",void 0),o.props=new Qu(si(o),n==null?void 0:n.props,"Runtime"),_n(si(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return YX(r,[{key:"length",get:function(){return this.children.length}}]),r}(Re);function ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rl(e)}function Xg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jg(e,t)}function JX(e,t){return t&&(QX(t)==="object"||typeof t=="function")?t:ze(e)}function Jg(e,t){return Jg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jg(e,t)}function QX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qg(e){var t=ZX();return function(){var n=Rl(e),o;if(t){var i=Rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JX(this,o)}}var dn=function(e){Xg(r,e);var t=Qg(r);function r(n){Kg(this,r);var o;return o=t.call(this,n),Je(ze(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),Je(ze(o),"width",{type:"number",required:!1,message:y.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(Fe),Ne=function(e){Xg(r,e);var t=Qg(r);function r(n){Kg(this,r);var o;o=t.call(this,n),Je(ze(o),"widthType",void 0),Je(ze(o),"width",void 0),Je(ze(o),"caption",void 0),Je(ze(o),"dataBind",void 0),Je(ze(o),"autoWidth",void 0),Je(ze(o),"fixed",void 0),Je(ze(o),"sort",void 0),Je(ze(o),"align",void 0),Je(ze(o),"colSpan",void 0),Je(ze(o),"autoHeight",void 0),Je(ze(o),"children",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",o.autoWidth=new el(n==null?void 0:n.autoWidth),o.dataBind=new Kt(n==null?void 0:n.dataBind);var l;o.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var f;return o.autoHeight=(f=n==null?void 0:n.autoHeight)!==null&&f!==void 0?f:!1,o}return r}($e);Je(Ne,"Rules",dn);var Zg=function(e){Xg(r,e);var t=Qg(r);function r(n){Kg(this,r);var o;return o=t.call(this,n),Je(ze(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:y.getMessage("PleaseSelectTheCorrectOptionSettings")}),Je(ze(o),"options",[{type:"array",message:y.getMessage("isNotArray")}]),Je(ze(o),"datasourceBind",[{type:"object",message:y.getMessage("isNotObject")}]),sl.call(ze(o),n),o}return r}(dn);function Zu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tJ(e,t,r){return t&&jI(e.prototype,t),r&&jI(e,r),e}function Sl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Nl=Reflect.get:Nl=function(o,i,u){var c=cJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Nl(e,t,r||e)}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(e)}function nJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&em(e,t)}function rJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Sl(e,o,r[o])})}return e}function oJ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function iJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):oJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function uJ(e,t){return t&&(aJ(t)==="object"||typeof t=="function")?t:Zu(e)}function em(e,t){return em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},em(e,t)}function cJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_i(e),e!==null););return e}function aJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fJ(e){var t=lJ();return function(){var n=_i(e),o;if(t){var i=_i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uJ(this,o)}}var We=function(e){nJ(r,e);var t=fJ(r);function r(n){eJ(this,r);var o;return o=t.call(this,n),Sl(Zu(o),"controlType","column"),Sl(Zu(o),"props",void 0),Sl(Zu(o),"children",void 0),o.props=new Ne(n==null?void 0:n.props),_n(Zu(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return tJ(r,[{key:"toSchema",value:function(){var o=Nl(_i(r.prototype),"toSchema",this).call(this);return iJ(rJ({},o),{children:this.children?this.children.map(function(i){return i.toSchema()}):[]})}}]),r}(re);function ec(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function _J(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nm(e,t)}function dJ(e,t){return t&&(yJ(t)==="object"||typeof t=="function")?t:ec(e)}function nm(e,t){return nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nm(e,t)}function yJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vJ(e){var t=pJ();return function(){var n=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dJ(this,o)}}var qe=function(e){_J(r,e);var t=vJ(r);function r(n){sJ(this,r);var o;return o=t.call(this,n),tm(ec(o),"controlType","column"),tm(ec(o),"props",void 0),tm(ec(o),"children",void 0),o.props=new Ne(n==null?void 0:n.props),_n(ec(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Re);function VI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gJ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(e)}function mJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rm(e,t)}function bJ(e,t){return t&&(OJ(t)==="object"||typeof t=="function")?t:VI(e)}function rm(e,t){return rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rm(e,t)}function OJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EJ(e){var t=wJ();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bJ(this,o)}}var Al=function(e){mJ(r,e);var t=EJ(r);function r(n){hJ(this,r);var o;return o=t.call(this,n),gJ(VI(o),"dataBind",void 0),o.dataBind=new Kt(n==null?void 0:n.dataBind),o}return r}(pe);function om(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function TJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&im(e,t)}function $J(e,t){return t&&(RJ(t)==="object"||typeof t=="function")?t:om(e)}function im(e,t){return im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},im(e,t)}function RJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NJ(e){var t=SJ();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $J(this,o)}}var UI=function(e){TJ(r,e);var t=NJ(r);function r(n){PJ(this,r);var o;return o=t.call(this,n),xI(om(o),"controlType","search"),xI(om(o),"props",void 0),o.props=new Al(n==null?void 0:n.props),o}return r}(Oe);function um(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(e)}function BJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cm(e,t)}function AJ(e,t){return t&&(MJ(t)==="object"||typeof t=="function")?t:um(e)}function cm(e,t){return cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cm(e,t)}function MJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DJ(e){var t=LJ();return function(){var n=Ll(e),o;if(t){var i=Ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AJ(this,o)}}var HI=function(e){BJ(r,e);var t=DJ(r);function r(n){IJ(this,r);var o;return o=t.call(this,n),GI(um(o),"controlType","search"),GI(um(o),"props",void 0),o.props=new Al(n==null?void 0:n.props),o}return r}(Se);function FJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dl(e)}function kJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&am(e,t)}function jJ(e,t){return t&&(VJ(t)==="object"||typeof t=="function")?t:FJ(e)}function am(e,t){return am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},am(e,t)}function VJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UJ(e){var t=xJ();return function(){var n=Dl(e),o;if(t){var i=Dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jJ(this,o)}}var Fl=function(e){kJ(r,e);var t=UJ(r);function r(n){return CJ(this,r),t.call(this,n)}return r}(pe);function lm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(e)}function HJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fm(e,t)}function YJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:lm(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fm(e,t)}function zJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qJ(e){var t=WJ();return function(){var n=Cl(e),o;if(t){var i=Cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YJ(this,o)}}var zI=function(e){HJ(r,e);var t=qJ(r);function r(n){GJ(this,r);var o;return o=t.call(this,n),YI(lm(o),"controlType","wrap"),YI(lm(o),"props",void 0),o.props=new Fl(n==null?void 0:n.props),o}return r}(Oe);function sm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(e)}function XJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_m(e,t)}function JJ(e,t){return t&&(QJ(t)==="object"||typeof t=="function")?t:sm(e)}function _m(e,t){return _m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_m(e,t)}function QJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eQ(e){var t=ZJ();return function(){var n=kl(e),o;if(t){var i=kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JJ(this,o)}}var qI=function(e){XJ(r,e);var t=eQ(r);function r(n){KJ(this,r);var o;return o=t.call(this,n),WI(sm(o),"controlType","wrap"),WI(sm(o),"props",void 0),o.props=new Fl(n==null?void 0:n.props),o}return r}(Se);function qn(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:y.getMessage("pleaseEnterForm")}}}])}function yo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function di(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function nQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dm(e,t)}function rQ(e,t){return t&&(oQ(t)==="object"||typeof t=="function")?t:yo(e)}function dm(e,t){return dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dm(e,t)}function oQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uQ(e){var t=iQ();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rQ(this,o)}}var ym=function(e){nQ(r,e);var t=uQ(r);function r(n){tQ(this,r);var o;o=t.call(this,n),di(yo(o),"content",void 0),di(yo(o),"fontSize",void 0),di(yo(o),"color",void 0),di(yo(o),"icon",void 0),di(yo(o),"align",void 0),di(yo(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"page-hint";var l;o.showState=(l=n==null?void 0:n.showState)!==null&&l!==void 0?l:"text";var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:y.getMessage("text");var s;return o.align=(s=n==null?void 0:n.align)!==null&&s!==void 0?s:"",o}return r}($e);function KI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aQ(e,t,r){return t&&XI(e.prototype,t),r&&XI(e,r),e}function JI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(e)}function lQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pm(e,t)}function fQ(e,t){return t&&(sQ(t)==="object"||typeof t=="function")?t:KI(e)}function pm(e,t){return pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pm(e,t)}function sQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _Q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dQ(e){var t=_Q();return function(){var n=Vl(e),o;if(t){var i=Vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fQ(this,o)}}var QI=function(e){lQ(r,e);var t=dQ(r);function r(n){cQ(this,r);var o;return o=t.call(this,n),JI(KI(o),"props",void 0),o.props=new ym(n==null?void 0:n.props),o}return aQ(r,null,[{key:"controlName",get:function(){return y.getMessage("text")}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(re);JI(QI,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function ZI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pQ(e,t,r){return t&&eB(e.prototype,t),r&&eB(e,r),e}function vQ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function hQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vm(e,t)}function gQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:ZI(e)}function vm(e,t){return vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vm(e,t)}function mQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OQ(e){var t=bQ();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gQ(this,o)}}var wQ=function(e){hQ(r,e);var t=OQ(r);function r(n){yQ(this,r);var o;return o=t.call(this,n),vQ(ZI(o),"props",void 0),o.props=new ym(n==null?void 0:n.props),o}return pQ(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(Re),tB={Designer:QI,Runtime:wQ,Property:ym};function Ul(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function PQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gm(e,t)}function TQ(e,t){return t&&($Q(t)==="object"||typeof t=="function")?t:Ul(e)}function gm(e,t){return gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gm(e,t)}function $Q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SQ(e){var t=RQ();return function(){var n=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TQ(this,o)}}var mm=function(e){PQ(r,e);var t=SQ(r);function r(n){EQ(this,r);var o;o=t.call(this,n),hm(Ul(o),"content",void 0),hm(Ul(o),"url",void 0),hm(Ul(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var c;return o.openMode=(c=n==null?void 0:n.openMode)!==null&&c!==void 0?c:"new",o}return r}($e);function nB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IQ(e,t,r){return t&&rB(e.prototype,t),r&&rB(e,r),e}function bm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function BQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Om(e,t)}function AQ(e,t){return t&&(MQ(t)==="object"||typeof t=="function")?t:nB(e)}function Om(e,t){return Om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Om(e,t)}function MQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DQ(e){var t=LQ();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AQ(this,o)}}var wm=function(e){BQ(r,e);var t=DQ(r);function r(n){NQ(this,r);var o;return o=t.call(this,n),bm(nB(o),"props",void 0),o.props=new mm(n==null?void 0:n.props),o}return IQ(r,null,[{key:"controlName",get:function(){return y.getMessage("link")}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(re);bm(wm,"controlEventKeys",["on_click"]),bm(wm,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function oB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CQ(e,t,r){return t&&iB(e.prototype,t),r&&iB(e,r),e}function kQ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function jQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Em(e,t)}function VQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:oB(e)}function Em(e,t){return Em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Em(e,t)}function xQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GQ(e){var t=UQ();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VQ(this,o)}}var HQ=function(e){jQ(r,e);var t=GQ(r);function r(n){FQ(this,r);var o;return o=t.call(this,n),kQ(oB(o),"props",void 0),o.props=new mm(n==null?void 0:n.props),o}return CQ(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(Re),uB={Designer:wm,Runtime:HQ,Property:mm};function Bn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(e)}function zQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pm(e,t)}function WQ(e,t){return t&&(qQ(t)==="object"||typeof t=="function")?t:Bn(e)}function Pm(e,t){return Pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pm(e,t)}function qQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XQ(e){var t=KQ();return function(){var n=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WQ(this,o)}}var gt=function(e){zQ(r,e);var t=XQ(r);function r(n){YQ(this,r);var o;o=t.call(this,n),Kn(Bn(o),"content",void 0),Kn(Bn(o),"buttonType",void 0),Kn(Bn(o),"showType",void 0),Kn(Bn(o),"color",void 0),Kn(Bn(o),"icon",void 0),Kn(Bn(o),"defaultState",void 0),Kn(Bn(o),"command",void 0),Kn(Bn(o),"isLoading",void 0),Kn(Bn(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"iconfenlei2";var s;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var d;o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1;var p;return o.optObj=new iI((p=n==null?void 0:n.optObj)!==null&&p!==void 0?p:{}),o}return r}($e);function cB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QQ(e,t,r){return t&&aB(e.prototype,t),r&&aB(e,r),e}function Wl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function ZQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tm(e,t)}function eZ(e,t){return t&&(tZ(t)==="object"||typeof t=="function")?t:cB(e)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tm(e,t)}function tZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rZ(e){var t=nZ();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eZ(this,o)}}var ct=function(e){ZQ(r,e);var t=rZ(r);function r(n){JQ(this,r);var o;return o=t.call(this,n),Wl(cB(o),"props",void 0),o.props=new gt(n==null?void 0:n.props),o}return QQ(r,null,[{key:"controlName",get:function(){return y.getMessage("button")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(re);Wl(ct,"slots",["grid-table-toolbar-slot","action-bar-slot",Xv.DEFAULT]),Wl(ct,"controlEventKeys",["on_click"]),Wl(ct,"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:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function lB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iZ(e,t,r){return t&&fB(e.prototype,t),r&&fB(e,r),e}function uZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function cZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$m(e,t)}function aZ(e,t){return t&&(lZ(t)==="object"||typeof t=="function")?t:lB(e)}function $m(e,t){return $m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$m(e,t)}function lZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sZ(e){var t=fZ();return function(){var n=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aZ(this,o)}}var Lt=function(e){cZ(r,e);var t=sZ(r);function r(n){oZ(this,r);var o;return o=t.call(this,n),uZ(lB(o),"props",void 0),o.props=new gt(n==null?void 0:n.props),o}return iZ(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(Re),sB={Designer:ct,Runtime:Lt,Property:gt};function Xt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a.TitleConfigEnum=void 0,function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"}(a.TitleConfigEnum||(a.TitleConfigEnum={})),a.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(a.DATE_CONFIG_TYPE||(a.DATE_CONFIG_TYPE={})),a.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(a.DATE_LIMIT_TYPE||(a.DATE_LIMIT_TYPE={}));var Xl=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Gt(8),value:["",""]};Xt(this,e),V(this,"dateConfigType",void 0),V(this,"dateLimitType",void 0),V(this,"id",void 0),V(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};a.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(a.SCORE_TYPE||(a.SCORE_TYPE={}));var Jl=function e(t){Xt(this,e),V(this,"id",void 0),V(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Gt();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};a.LINE_STYLE=void 0,function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"}(a.LINE_STYLE||(a.LINE_STYLE={}));var Rm=function e(t){Xt(this,e),V(this,"type",void 0),V(this,"person",void 0),V(this,"signatureType",void 0),V(this,"telephone",void 0),V(this,"company",void 0),V(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new ui((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new ui((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,l;this.company=(l=t==null?void 0:t.company)!==null&&l!==void 0?l:new ui((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var f;this.remark=(f=t==null?void 0:t.remark)!==null&&f!==void 0?f:""},_B=function e(t){Xt(this,e);var r;V(this,"fileControl",void 0),V(this,"undersignedList",void 0),V(this,"statusControl",void 0),V(this,"completeControl",void 0),V(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(l){return new Rm(l)}))!==null&&o!==void 0?o:[new Rm];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=t==null?void 0:t.completeTimeControl)!==null&&c!==void 0?c:""},tc=function e(t){Xt(this,e),V(this,"id",void 0),V(this,"appId",void 0),V(this,"dataCode",void 0),V(this,"svcCode",void 0),V(this,"name",void 0),V(this,"fieldList",void 0),V(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Gt(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=t==null?void 0:t.fieldList)!==null&&c!==void 0?c:[];var l;this.active=(l=t==null?void 0:t.active)!==null&&l!==void 0?l:!1},Sm=function e(t){Xt(this,e),V(this,"active",void 0),V(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},dB=function e(t){Xt(this,e),V(this,"types",void 0),V(this,"history",void 0),V(this,"collaborativeRecord",void 0),V(this,"logicToDelete",void 0),V(this,"watermark",void 0),V(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Sm(t==null?void 0:t.watermark),this.autoRename=new Sm(t==null?void 0:t.autoRename)},yB=function e(t){Xt(this,e),V(this,"dataCode",void 0),this.dataCode=t.dataCode},pB=function e(t){Xt(this,e);var r;V(this,"templateType",void 0),V(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new yB(i)}))!==null&&o!==void 0?o:[]},vB=function e(t){Xt(this,e);var r;V(this,"templateType",void 0),V(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new tc(i)}))!==null&&o!==void 0?o:[new tc({id:"default",name:y.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},hB=480;function nc(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var gB=function e(t){Xt(this,e),V(this,"fileId",void 0),V(this,"fileName",void 0),V(this,"ruleName",void 0),V(this,"isDefault",void 0),V(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},mB=function e(t){Xt(this,e),V(this,"direction",void 0),V(this,"justifyContent",void 0),V(this,"alignItems",void 0);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};a.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(a.EncryptTypeEnum||(a.EncryptTypeEnum={})),a.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(a.OrganizeType||(a.OrganizeType={})),a.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(a.DepartmentType||(a.DepartmentType={})),a.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(a.AssignType||(a.AssignType={})),a.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(a.InternalType||(a.InternalType={}));function Nm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function dZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Im(e,t)}function yZ(e,t){return t&&(pZ(t)==="object"||typeof t=="function")?t:Nm(e)}function Im(e,t){return Im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Im(e,t)}function pZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hZ(e){var t=vZ();return function(){var n=Ql(e),o;if(t){var i=Ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yZ(this,o)}}var Bm=function(e){dZ(r,e);var t=hZ(r);function r(n){_Z(this,r);var o;o=t.call(this,n),bB(Nm(o),"color",void 0),bB(Nm(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:a.LINE_STYLE.SOLID,o}return r}($e);function OB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mZ(e,t,r){return t&&wB(e.prototype,t),r&&wB(e,r),e}function EB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function bZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Am(e,t)}function OZ(e,t){return t&&(wZ(t)==="object"||typeof t=="function")?t:OB(e)}function Am(e,t){return Am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Am(e,t)}function wZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PZ(e){var t=EZ();return function(){var n=Zl(e),o;if(t){var i=Zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OZ(this,o)}}var PB=function(e){bZ(r,e);var t=PZ(r);function r(n){gZ(this,r);var o;return o=t.call(this,n),EB(OB(o),"props",void 0),o.props=new Bm(n==null?void 0:n.props),o}return mZ(r,null,[{key:"controlName",get:function(){return y.getMessage("divider")}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(re);EB(PB,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE]}]);function TB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $B(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $Z(e,t,r){return t&&$B(e.prototype,t),r&&$B(e,r),e}function RZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function SZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mm(e,t)}function NZ(e,t){return t&&(IZ(t)==="object"||typeof t=="function")?t:TB(e)}function Mm(e,t){return Mm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mm(e,t)}function IZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AZ(e){var t=BZ();return function(){var n=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NZ(this,o)}}var MZ=function(e){SZ(r,e);var t=AZ(r);function r(n){TZ(this,r);var o;return o=t.call(this,n),RZ(TB(o),"props",void 0),o.props=new Bm(n==null?void 0:n.props),o}return $Z(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(Re),RB={Designer:PB,Runtime:MZ,Property:Bm};function Lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(e)}function NB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lm(e,t)}function LZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:Lr(e)}function Lm(e,t){return Lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lm(e,t)}function DZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IB(e){var t=FZ();return function(){var n=tf(e),o;if(t){var i=tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LZ(this,o)}}var CZ=function(e){NB(r,e);var t=IB(r);function r(n){SB(this,r);var o;return o=t.call(this,n),Dr(Lr(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),Dr(Lr(o),"dataBind",{type:"any"}),Dr(Lr(o),"config",{type:"array"}),n.config.includes(a.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:y.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:y.getMessage("bizKeyNotBindFiled")}},message:y.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:y.getMessage("pleaseSelectOneField")}),o}return r}(Fe),nf=function(e){NB(r,e);var t=IB(r);function r(n){SB(this,r);var o;o=t.call(this,n),Dr(Lr(o),"dataBind",void 0),Dr(Lr(o),"caption",void 0),Dr(Lr(o),"config",void 0),Dr(Lr(o),"position",void 0),o.dataBind=new Kt(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[a.TitleConfigEnum.ShowSubmitUser,a.TitleConfigEnum.ShowSubmitDept,a.TitleConfigEnum.ShowSubmitTime,a.TitleConfigEnum.ShowCurrentApprovar,a.TitleConfigEnum.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:yi==null?void 0:yi.controlName)!==null&&c!==void 0?c:"";var l;return o.position=(l=n==null?void 0:n.position)!==null&&l!==void 0?l:"top",o}return r}($e);Dr(nf,"Rules",CZ);function BB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jZ(e,t,r){return t&&AB(e.prototype,t),r&&AB(e,r),e}function Dm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function VZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fm(e,t)}function xZ(e,t){return t&&(UZ(t)==="object"||typeof t=="function")?t:BB(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}function UZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HZ(e){var t=GZ();return function(){var n=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xZ(this,o)}}var yi=function(e){VZ(r,e);var t=HZ(r);function r(n){kZ(this,r);var o;return o=t.call(this,n),Dm(BB(o),"props",void 0),o.props=new nf(n==null?void 0:n.props),o}return jZ(r,null,[{key:"controlName",get:function(){return y.getMessage("title")}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(re);Dm(yi,"controlFieldType",a.FieldTypes.AUTO_NUMBER),Dm(yi,"setting",[{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function MB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zZ(e,t,r){return t&&LB(e.prototype,t),r&&LB(e,r),e}function WZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function qZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cm(e,t)}function KZ(e,t){return t&&(XZ(t)==="object"||typeof t=="function")?t:MB(e)}function Cm(e,t){return Cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cm(e,t)}function XZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QZ(e){var t=JZ();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KZ(this,o)}}var ZZ=function(e){qZ(r,e);var t=QZ(r);function r(n){YZ(this,r);var o;return o=t.call(this,n),WZ(MB(o),"props",void 0),o.props=new nf(n==null?void 0:n.props),o}return zZ(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(Re),DB={Designer:yi,Runtime:ZZ,Property:nf};function uf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function CB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&km(e,t)}function eee(e,t){return t&&(tee(t)==="object"||typeof t=="function")?t:uf(e)}function km(e,t){return km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},km(e,t)}function tee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kB(e){var t=nee();return function(){var n=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eee(this,o)}}var ree=function(e){CB(r,e);var t=kB(r);function r(n){FB(this,r);var o;return o=t.call(this,n),cf(uf(o),"formKey",{type:"string",required:!0,message:y.getMessage("pleaseEnterForm")}),o}return r}(Fe),lf=function(e){CB(r,e);var t=kB(r);function r(n){FB(this,r);var o;o=t.call(this,n),cf(uf(o),"formKey",void 0),cf(uf(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:pi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:pi.controlName;var c;o.formKey=(c=n==null?void 0:n.formKey)!==null&&c!==void 0?c:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return r}(gt);cf(lf,"Rules",ree);function jB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iee(e,t,r){return t&&VB(e.prototype,t),r&&VB(e,r),e}function ff(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function uee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jm(e,t)}function cee(e,t){return t&&(aee(t)==="object"||typeof t=="function")?t:jB(e)}function jm(e,t){return jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jm(e,t)}function aee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fee(e){var t=lee();return function(){var n=sf(e),o;if(t){var i=sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cee(this,o)}}var pi=function(e){uee(r,e);var t=fee(r);function r(n){oee(this,r);var o;return o=t.call(this,n),ff(jB(o),"props",void 0),o.props=new lf(n==null?void 0:n.props),o}return iee(r,null,[{key:"controlName",get:function(){return y.getMessage("createFormListButton")}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ct);ff(pi,"slots",["grid-table-toolbar-slot"]),ff(pi,"controlEventKeys",["on_click","on_click_finish"]),ff(pi,"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}]);function xB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function see(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _ee(e,t,r){return t&&UB(e.prototype,t),r&&UB(e,r),e}function dee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function yee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vm(e,t)}function pee(e,t){return t&&(vee(t)==="object"||typeof t=="function")?t:xB(e)}function Vm(e,t){return Vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vm(e,t)}function vee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gee(e){var t=hee();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pee(this,o)}}var mee=function(e){yee(r,e);var t=gee(r);function r(n){see(this,r);var o;return o=t.call(this,n),dee(xB(o),"props",void 0),o.props=new lf(n==null?void 0:n.props),o}return _ee(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Lt),GB={Designer:pi,Runtime:mee,Property:lf};function vi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function YB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xm(e,t)}function bee(e,t){return t&&(Oee(t)==="object"||typeof t=="function")?t:vi(e)}function xm(e,t){return xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xm(e,t)}function Oee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zB(e){var t=wee();return function(){var n=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bee(this,o)}}var Eee=function(e){YB(r,e);var t=zB(r);function r(n){HB(this,r);var o;return o=t.call(this,n),hi(vi(o),"processKey",[{type:"string",message:y.getMessage("isNotString")},{type:"string",required:!0,message:y.getMessage("pleaseEnterProcess")}]),o}return r}(Fe),yf=function(e){YB(r,e);var t=zB(r);function r(n){HB(this,r);var o;o=t.call(this,n),hi(vi(o),"processKey",void 0),hi(vi(o),"initiatorMode",void 0),hi(vi(o),"fieldCode",void 0),hi(vi(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:gi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:gi.controlName;var c;o.initiatorMode=(c=n==null?void 0:n.initiatorMode)!==null&&c!==void 0?c:"currentInitiator";var l;o.processKey=(l=n==null?void 0:n.processKey)!==null&&l!==void 0?l:"";var f;o.fieldCode=(f=n==null?void 0:n.fieldCode)!==null&&f!==void 0?f:"";var s;return o.employeeId=(s=n==null?void 0:n.employeeId)!==null&&s!==void 0?s:"",o}return r}(gt);hi(yf,"Rules",Eee);function WB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tee(e,t,r){return t&&qB(e.prototype,t),r&&qB(e,r),e}function pf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function $ee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Um(e,t)}function Ree(e,t){return t&&(See(t)==="object"||typeof t=="function")?t:WB(e)}function Um(e,t){return Um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Um(e,t)}function See(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iee(e){var t=Nee();return function(){var n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ree(this,o)}}var gi=function(e){$ee(r,e);var t=Iee(r);function r(n){Pee(this,r);var o;return o=t.call(this,n),pf(WB(o),"props",void 0),o.props=new yf(n==null?void 0:n.props),o}return Tee(r,null,[{key:"controlName",get:function(){return y.getMessage("batchSubmissionListButton")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ct);pf(gi,"slots",["grid-table-toolbar-slot"]),pf(gi,"controlEventKeys",["on_click","on_click_finish"]),pf(gi,"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}]);function KB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Aee(e,t,r){return t&&XB(e.prototype,t),r&&XB(e,r),e}function Mee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function Lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gm(e,t)}function Dee(e,t){return t&&(Fee(t)==="object"||typeof t=="function")?t:KB(e)}function Gm(e,t){return Gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gm(e,t)}function Fee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kee(e){var t=Cee();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dee(this,o)}}var jee=function(e){Lee(r,e);var t=kee(r);function r(n){Bee(this,r);var o;return o=t.call(this,n),Mee(KB(o),"props",void 0),o.props=new yf(n==null?void 0:n.props),o}return Aee(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Lt),JB={Designer:gi,Runtime:jee,Property:yf};function Vee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function Uee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hm(e,t)}function Gee(e,t){return t&&(Hee(t)==="object"||typeof t=="function")?t:Vee(e)}function Hm(e,t){return Hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hm(e,t)}function Hee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zee(e){var t=Yee();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gee(this,o)}}var Ym=function(e){Uee(r,e);var t=zee(r);function r(n){xee(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:mi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:mi.controlIcon,o}return r}(gt);function QB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qee(e,t,r){return t&&ZB(e.prototype,t),r&&ZB(e,r),e}function mf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function Kee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zm(e,t)}function Xee(e,t){return t&&(Jee(t)==="object"||typeof t=="function")?t:QB(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zm(e,t)}function Jee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zee(e){var t=Qee();return function(){var n=bf(e),o;if(t){var i=bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xee(this,o)}}var mi=function(e){Kee(r,e);var t=Zee(r);function r(n){Wee(this,r);var o;return o=t.call(this,n),mf(QB(o),"props",void 0),o.props=new Ym(n==null?void 0:n.props),o}return qee(r,null,[{key:"controlName",get:function(){return y.getMessage("submissionRecordListButton")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ct);mf(mi,"slots",["grid-table-toolbar-slot"]),mf(mi,"controlEventKeys",["on_click"]),mf(mi,"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}]);function e1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ete(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tte(e,t,r){return t&&t1(e.prototype,t),r&&t1(e,r),e}function nte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function rte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wm(e,t)}function ote(e,t){return t&&(ite(t)==="object"||typeof t=="function")?t:e1(e)}function Wm(e,t){return Wm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wm(e,t)}function ite(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ute(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cte(e){var t=ute();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ote(this,o)}}var ate=function(e){rte(r,e);var t=cte(r);function r(n){ete(this,r);var o;return o=t.call(this,n),nte(e1(o),"props",void 0),o.props=new Ym(n==null?void 0:n.props),o}return tte(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Lt),n1={Designer:mi,Runtime:ate,Property:Ym};function qm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function fte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Km(e,t)}function ste(e,t){return t&&(_te(t)==="object"||typeof t=="function")?t:qm(e)}function Km(e,t){return Km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Km(e,t)}function _te(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yte(e){var t=dte();return function(){var n=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ste(this,o)}}var Xm=function(e){fte(r,e);var t=yte(r);function r(n){lte(this,r);var o,i;o=t.call(this,n),r1(qm(o),"templateList",void 0),r1(qm(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:bi.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:bi.controlName;var l;o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system";var f;return o.templateList=(f=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(s){return new tc(s)}))!==null&&f!==void 0?f:[new tc({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(gt);function o1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vte(e,t,r){return t&&i1(e.prototype,t),r&&i1(e,r),e}function Ef(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function hte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jm(e,t)}function gte(e,t){return t&&(mte(t)==="object"||typeof t=="function")?t:o1(e)}function Jm(e,t){return Jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jm(e,t)}function mte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ote(e){var t=bte();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gte(this,o)}}var bi=function(e){hte(r,e);var t=Ote(r);function r(n){pte(this,r);var o;return o=t.call(this,n),Ef(o1(o),"props",void 0),o.props=new Xm(n==null?void 0:n.props),o}return vte(r,null,[{key:"controlName",get:function(){return y.getMessage("exportListButton")}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ct);Ef(bi,"slots",["grid-table-toolbar-slot"]),Ef(bi,"controlEventKeys",["on_click","on_click_finish"]),Ef(bi,"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}]);function u1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ete(e,t,r){return t&&c1(e.prototype,t),r&&c1(e,r),e}function Pte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function Tte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qm(e,t)}function $te(e,t){return t&&(Rte(t)==="object"||typeof t=="function")?t:u1(e)}function Qm(e,t){return Qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qm(e,t)}function Rte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ste(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nte(e){var t=Ste();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $te(this,o)}}var Ite=function(e){Tte(r,e);var t=Nte(r);function r(n){wte(this,r);var o;return o=t.call(this,n),Pte(u1(o),"props",void 0),o.props=new Xm(n==null?void 0:n.props),o}return Ete(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Lt),a1={Designer:bi,Runtime:Ite,Property:Xm};function Bte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ate(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function Mte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zm(e,t)}function Lte(e,t){return t&&(Dte(t)==="object"||typeof t=="function")?t:Bte(e)}function Zm(e,t){return Zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zm(e,t)}function Dte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cte(e){var t=Fte();return function(){var n=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lte(this,o)}}var eb=function(e){Mte(r,e);var t=Cte(r);function r(n){Ate(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Oi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Oi.controlIcon,o}return r}(gt);function l1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jte(e,t,r){return t&&f1(e.prototype,t),r&&f1(e,r),e}function Rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function Vte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function xte(e,t){return t&&(Ute(t)==="object"||typeof t=="function")?t:l1(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function Ute(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hte(e){var t=Gte();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xte(this,o)}}var Oi=function(e){Vte(r,e);var t=Hte(r);function r(n){kte(this,r);var o;return o=t.call(this,n),Rf(l1(o),"props",void 0),o.props=new eb(n==null?void 0:n.props),o}return jte(r,null,[{key:"controlName",get:function(){return y.getMessage("exportRecordListButton")}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ct);Rf(Oi,"slots",["grid-table-toolbar-slot"]),Rf(Oi,"controlEventKeys",["on_click"]),Rf(Oi,"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}]);function s1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zte(e,t,r){return t&&_1(e.prototype,t),r&&_1(e,r),e}function Wte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function qte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nb(e,t)}function Kte(e,t){return t&&(Xte(t)==="object"||typeof t=="function")?t:s1(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}function Xte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qte(e){var t=Jte();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kte(this,o)}}var Zte=function(e){qte(r,e);var t=Qte(r);function r(n){Yte(this,r);var o;return o=t.call(this,n),Wte(s1(o),"props",void 0),o.props=new eb(n==null?void 0:n.props),o}return zte(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Lt),d1={Designer:Oi,Runtime:Zte,Property:eb};function rb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ob(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function ene(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ib(e,t)}function tne(e,t){return t&&(nne(t)==="object"||typeof t=="function")?t:rb(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}function nne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function one(e){var t=rne();return function(){var n=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tne(this,o)}}var ine=function e(t){y1(this,e),ob(this,"dataCode",void 0),this.dataCode=t.dataCode},ub=function(e){ene(r,e);var t=one(r);function r(n){y1(this,r);var o,i;o=t.call(this,n),ob(rb(o),"canImportList",void 0),ob(rb(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:wi.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:wi.controlIcon;var l;o.canImportList=(l=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(s){return new ine(s)}))!==null&&l!==void 0?l:[];var f;return o.templateType=(f=n==null?void 0:n.templateType)!==null&&f!==void 0?f:"system",o}return r}(gt);function p1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function une(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cne(e,t,r){return t&&v1(e.prototype,t),r&&v1(e,r),e}function Bf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function ane(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cb(e,t)}function lne(e,t){return t&&(fne(t)==="object"||typeof t=="function")?t:p1(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function fne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ne(e){var t=sne();return function(){var n=Af(e),o;if(t){var i=Af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lne(this,o)}}var wi=function(e){ane(r,e);var t=_ne(r);function r(n){une(this,r);var o;return o=t.call(this,n),Bf(p1(o),"props",void 0),o.props=new ub(n==null?void 0:n.props),o}return cne(r,null,[{key:"controlName",get:function(){return y.getMessage("importRecordListButton")}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ct);Bf(wi,"slots",["grid-table-toolbar-slot"]),Bf(wi,"controlEventKeys",["on_click","on_click_finish"]),Bf(wi,"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}]);function h1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yne(e,t,r){return t&&g1(e.prototype,t),r&&g1(e,r),e}function pne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function vne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ab(e,t)}function hne(e,t){return t&&(gne(t)==="object"||typeof t=="function")?t:h1(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function gne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bne(e){var t=mne();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hne(this,o)}}var One=function(e){vne(r,e);var t=bne(r);function r(n){dne(this,r);var o;return o=t.call(this,n),pne(h1(o),"props",void 0),o.props=new ub(n==null?void 0:n.props),o}return yne(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Lt),m1={Designer:wi,Runtime:One,Property:ub};function Lf(){return{dataCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:y.getMessage("pleaseSelectControl")}}}}}}function Fr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function O1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}function w1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Xn(e,o,r[o])})}return e}function wne(e,t){return t&&(Ene(t)==="object"||typeof t=="function")?t:Fr(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function Ene(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E1(e){var t=Pne();return function(){var n=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wne(this,o)}}var Tne=function(e){O1(r,e);var t=E1(r);function r(n){b1(this,r);var o;return o=t.call(this,n),Xn(Fr(o),"fillPayload",{type:"object",fields:w1({},Lf())}),Xn(Fr(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:y.getMessage("pleaseEnterList")}}}),Xn(Fr(o),"fillBack",{type:"object",fields:w1({mode:{type:"string",required:!0,message:y.getMessage("pleaseSelectFillBackMode")}},Lf())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:y.getMessage("pleaseSelectControl")}),o}return r}(Fe),Ff=function(e){O1(r,e);var t=E1(r);function r(n){b1(this,r);var o;o=t.call(this,n),Xn(Fr(o),"fillPayload",void 0),Xn(Fr(o),"formBind",void 0),Xn(Fr(o),"fillBack",void 0),Xn(Fr(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:rc.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:rc.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new mg(n==null?void 0:n.fillPayload),o.formBind=new jN(n==null?void 0:n.formBind),o.fillBack=new bg(n==null?void 0:n.fillBack),o}return r}(gt);Xn(Ff,"Rules",Tne);function P1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rne(e,t,r){return t&&T1(e.prototype,t),r&&T1(e,r),e}function fb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function Sne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function Nne(e,t){return t&&(Ine(t)==="object"||typeof t=="function")?t:P1(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function Ine(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ane(e){var t=Bne();return function(){var n=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nne(this,o)}}var rc=function(e){Sne(r,e);var t=Ane(r);function r(n){$ne(this,r);var o;return o=t.call(this,n),fb(P1(o),"props",void 0),o.props=new Ff(n==null?void 0:n.props),o}return Rne(r,null,[{key:"controlName",get:function(){return y.getMessage("formSelectButton")}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(ct);fb(rc,"controlEventKeys",["on_click","on_click_finish"]),fb(rc,"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:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function $1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lne(e,t,r){return t&&R1(e.prototype,t),r&&R1(e,r),e}function Dne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function Fne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_b(e,t)}function Cne(e,t){return t&&(kne(t)==="object"||typeof t=="function")?t:$1(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}function kne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vne(e){var t=jne();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cne(this,o)}}var xne=function(e){Fne(r,e);var t=Vne(r);function r(n){Mne(this,r);var o;return o=t.call(this,n),Dne($1(o),"props",void 0),o.props=new Ff(n==null?void 0:n.props),o}return Lne(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(Lt),S1={Designer:rc,Runtime:xne,Property:Ff};function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function I1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&db(e,t)}function B1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Jt(e,o,r[o])})}return e}function Une(e,t){return t&&(Gne(t)==="object"||typeof t=="function")?t:yn(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function Gne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A1(e){var t=Hne();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Une(this,o)}}var Yne=function(e){I1(r,e);var t=A1(r);function r(n){N1(this,r);var o;return o=t.call(this,n),Jt(yn(o),"fillPayload",{type:"object",fields:B1({},Lf())}),Jt(yn(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:y.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:y.getMessage("pleaseSelectAtLeastOneColumn")}}}),Jt(yn(o),"fillBack",{type:"object",fields:B1({mode:{type:"string",required:!0,message:y.getMessage("pleaseSelectFillBackMode")}},Lf())}),o}return r}(Fe),Vf=function(e){I1(r,e);var t=A1(r);function r(n){N1(this,r);var o;o=t.call(this,n),Jt(yn(o),"fillPayload",void 0),Jt(yn(o),"listPageBind",void 0),Jt(yn(o),"disableFilling",void 0),Jt(yn(o),"fillBack",void 0),Jt(yn(o),"showSelectedDetail",void 0),Jt(yn(o),"isSelectedRowFill",void 0),Jt(yn(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:oc.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:oc.controlIcon,o.fillPayload=new mg(n==null?void 0:n.fillPayload),o.listPageBind=new nl(n==null?void 0:n.listPageBind),o.fillBack=new bg(n==null?void 0:n.fillBack);var c;o.showSelectedDetail=(c=n==null?void 0:n.showSelectedDetail)!==null&&c!==void 0?c:!1,o.selectedContentConfig=new il(n==null?void 0:n.selectedContentConfig);var l;o.isSelectedRowFill=(l=n==null?void 0:n.isSelectedRowFill)!==null&&l!==void 0?l:!1;var f;return o.disableFilling=(f=n==null?void 0:n.disableFilling)!==null&&f!==void 0?f:!0,o}return r}(gt);Jt(Vf,"Rules",Yne);function M1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wne(e,t,r){return t&&L1(e.prototype,t),r&&L1(e,r),e}function yb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function qne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function Kne(e,t){return t&&(Xne(t)==="object"||typeof t=="function")?t:M1(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function Xne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qne(e){var t=Jne();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kne(this,o)}}var oc=function(e){qne(r,e);var t=Qne(r);function r(n){zne(this,r);var o;return o=t.call(this,n),yb(M1(o),"props",void 0),o.props=new Vf(n==null?void 0:n.props),o}return Wne(r,null,[{key:"controlName",get:function(){return y.getMessage("listSelectButton")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(ct);yb(oc,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),yb(oc,"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:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function D1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ere(e,t,r){return t&&F1(e.prototype,t),r&&F1(e,r),e}function tre(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function nre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vb(e,t)}function rre(e,t){return t&&(ore(t)==="object"||typeof t=="function")?t:D1(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(e,t)}function ore(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ire(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ure(e){var t=ire();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rre(this,o)}}var cre=function(e){nre(r,e);var t=ure(r);function r(n){Zne(this,r);var o;return o=t.call(this,n),tre(D1(o),"props",void 0),o.props=new Vf(n==null?void 0:n.props),o}return ere(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(Lt),C1={Designer:oc,Runtime:cre,Property:Vf};function are(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function gb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mb(e,t)}function lre(e,t){return t&&(fre(t)==="object"||typeof t=="function")?t:are(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}function fre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bb(e){var t=sre();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lre(this,o)}}var _re=function(e){gb(r,e);var t=bb(r);function r(n){return hb(this,r),t.call(this,n)}return r}(Fe),dre=function(e){gb(r,e);var t=bb(r);function r(n){return hb(this,r),t.call(this,n)}return r}(Nr),ic=function(e){gb(r,e);var t=bb(r);function r(n){return hb(this,r),t.call(this,n)}return r}($e);k1(ic,"Rules",_re),k1(ic,"RuntimeRules",dre);function j1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pre(e,t,r){return t&&V1(e.prototype,t),r&&V1(e,r),e}function x1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function vre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}function hre(e,t){return t&&(gre(t)==="object"||typeof t=="function")?t:j1(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function gre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bre(e){var t=mre();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hre(this,o)}}var U1=function(e){vre(r,e);var t=bre(r);function r(n){yre(this,r);var o;return o=t.call(this,n),x1(j1(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return pre(r,null,[{key:"controlName",get:function(){return y.getMessage("pagination")}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(re);x1(U1,"setting",[]);function G1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ore(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wre(e,t,r){return t&&H1(e.prototype,t),r&&H1(e,r),e}function Ere(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function Pre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wb(e,t)}function Tre(e,t){return t&&($re(t)==="object"||typeof t=="function")?t:G1(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function $re(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sre(e){var t=Rre();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tre(this,o)}}var Nre=function(e){Pre(r,e);var t=Sre(r);function r(n){Ore(this,r);var o;return o=t.call(this,n),Ere(G1(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return wre(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(Re),Y1={Designer:U1,Runtime:Nre,Property:ic};function Qt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function W1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function Ire(e,t){return t&&(Bre(t)==="object"||typeof t=="function")?t:Qt(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function Bre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Are(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q1(e){var t=Are();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ire(this,o)}}var Mre=function(e){W1(r,e);var t=q1(r);function r(n){z1(this,r);var o;return o=t.call(this,n),Zt(Qt(o),"dashboardKey",{type:"string",required:!0,message:y.getMessage("pleaseSelectDashboard")}),Zt(Qt(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),Zt(Qt(o),"isHideCaption",{type:"boolean"}),Zt(Qt(o),"labelPosition",{type:"enum",enum:["top","left"]}),Zt(Qt(o),"captionTip",{type:"string",required:!1,message:y.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Fe),Wf=function(e){W1(r,e);var t=q1(r);function r(n){z1(this,r);var o;o=t.call(this,n),Zt(Qt(o),"dashboardKey",void 0),Zt(Qt(o),"caption",void 0),Zt(Qt(o),"isHideCaption",void 0),Zt(Qt(o),"isShowCaptionTip",void 0),Zt(Qt(o),"captionTip",void 0),Zt(Qt(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var s;return o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top",o}return r}($e);Zt(Wf,"Rules",Mre);function K1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dre(e,t,r){return t&&X1(e.prototype,t),r&&X1(e,r),e}function J1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function Fre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function Cre(e,t){return t&&(kre(t)==="object"||typeof t=="function")?t:K1(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function kre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vre(e){var t=jre();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cre(this,o)}}var Q1=function(e){Fre(r,e);var t=Vre(r);function r(n){Lre(this,r);var o;return o=t.call(this,n),J1(K1(o),"props",void 0),o.props=new Wf(n==null?void 0:n.props),o}return Dre(r,null,[{key:"controlName",get:function(){return y.getMessage("dashboard")}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(re);J1(Q1,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Z1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ure(e,t,r){return t&&eA(e.prototype,t),r&&eA(e,r),e}function Gre(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function Hre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tb(e,t)}function Yre(e,t){return t&&(zre(t)==="object"||typeof t=="function")?t:Z1(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}function zre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qre(e){var t=Wre();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yre(this,o)}}var Kre=function(e){Hre(r,e);var t=qre(r);function r(n){xre(this,r);var o;return o=t.call(this,n),Gre(Z1(o),"props",void 0),o.props=new Wf(n==null?void 0:n.props),o}return Ure(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(Re),tA={Designer:Q1,Runtime:Kre,Property:Wf};function uc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function rA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$b(e,t)}function Xre(e,t){return t&&(Jre(t)==="object"||typeof t=="function")?t:uc(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function Jre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oA(e){var t=Qre();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xre(this,o)}}var Zre=function(e){rA(r,e);var t=oA(r);function r(n){nA(this,r);var o;return o=t.call(this,n),cc(uc(o),"showType",{type:"enum",enum:["select","tabs"]}),cc(uc(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:y.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:y.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(Fe),Jf=function(e){rA(r,e);var t=oA(r);function r(n){nA(this,r);var o,i;o=t.call(this,n),cc(uc(o),"showType",void 0),cc(uc(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var c;return o.viewList=(c=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(l){return new rI(l)}))!==null&&c!==void 0?c:[],o}return r}($e);cc(Jf,"Rules",Zre);function iA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function toe(e,t,r){return t&&uA(e.prototype,t),r&&uA(e,r),e}function cA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function noe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rb(e,t)}function roe(e,t){return t&&(ooe(t)==="object"||typeof t=="function")?t:iA(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}function ooe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ioe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uoe(e){var t=ioe();return function(){var n=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return roe(this,o)}}var aA=function(e){noe(r,e);var t=uoe(r);function r(n){eoe(this,r);var o;return o=t.call(this,n),cA(iA(o),"props",void 0),o.props=new Jf(n==null?void 0:n.props),o}return toe(r,null,[{key:"controlName",get:function(){return y.getMessage("listViewSelect")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(re);cA(aA,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function lA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function coe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aoe(e,t,r){return t&&fA(e.prototype,t),r&&fA(e,r),e}function loe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(e)}function foe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function soe(e,t){return t&&(_oe(t)==="object"||typeof t=="function")?t:lA(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function _oe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function doe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yoe(e){var t=doe();return function(){var n=Zf(e),o;if(t){var i=Zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return soe(this,o)}}var poe=function(e){foe(r,e);var t=yoe(r);function r(n){coe(this,r);var o;return o=t.call(this,n),loe(lA(o),"props",void 0),o.props=new Jf(n==null?void 0:n.props),o}return aoe(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(Re),sA={Designer:aA,Runtime:poe,Property:Jf};function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},es(e)}function dA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nb(e,t)}function voe(e,t){return t&&(hoe(t)==="object"||typeof t=="function")?t:$t(e)}function Nb(e,t){return Nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nb(e,t)}function hoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function goe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yA(e){var t=goe();return function(){var n=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return voe(this,o)}}var moe=function(e){dA(r,e);var t=yA(r);function r(n){_A(this,r);var o;return o=t.call(this,n),Rt($t(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),Rt($t(o),"isHideCaption",{type:"boolean"}),Rt($t(o),"labelPosition",{type:"enum",enum:["top","left"]}),Rt($t(o),"ocrType",{type:"string",required:!0,message:y.getMessage("pleaseSelectOcrType")}),Rt($t(o),"fillList",{type:"array",validator:function(u,c,l){var f=c.every(function(s){return!s.controlId});if(f){l(y.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Rt($t(o),"captionTip",{type:"string",required:!1,message:y.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Fe),ts=function(e){dA(r,e);var t=yA(r);function r(n){_A(this,r);var o,i;o=t.call(this,n),Rt($t(o),"caption",void 0),Rt($t(o),"isHideCaption",void 0),Rt($t(o),"isShowCaptionTip",void 0),Rt($t(o),"captionTip",void 0),Rt($t(o),"labelPosition",void 0),Rt($t(o),"ocrType",void 0),Rt($t(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ei.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:Ei.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:Ei.controlIcon;var p;o.ocrType=(p=n==null?void 0:n.ocrType)!==null&&p!==void 0?p:"";var m;return o.fillList=(m=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new ht(h)}))!==null&&m!==void 0?m:[],o}return r}(gt);Rt(ts,"Rules",moe);function pA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function boe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ooe(e,t,r){return t&&vA(e.prototype,t),r&&vA(e,r),e}function Ib(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function woe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bb(e,t)}function Eoe(e,t){return t&&(Poe(t)==="object"||typeof t=="function")?t:pA(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}function Poe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Toe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $oe(e){var t=Toe();return function(){var n=ns(e),o;if(t){var i=ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eoe(this,o)}}var Ei=function(e){woe(r,e);var t=$oe(r);function r(n){boe(this,r);var o;return o=t.call(this,n),Ib(pA(o),"props",void 0),o.props=new ts(n==null?void 0:n.props),o}return Ooe(r,null,[{key:"controlName",get:function(){return y.getMessage("textOcrButton")}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ct);Ib(Ei,"controlEventKeys",["on_click","on_click_finish"]),Ib(Ei,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function hA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Roe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Soe(e,t,r){return t&&gA(e.prototype,t),r&&gA(e,r),e}function Noe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(e)}function Ioe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ab(e,t)}function Boe(e,t){return t&&(Aoe(t)==="object"||typeof t=="function")?t:hA(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function Aoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Moe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Loe(e){var t=Moe();return function(){var n=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Boe(this,o)}}var Doe=function(e){Ioe(r,e);var t=Loe(r);function r(n){Roe(this,r);var o;return o=t.call(this,n),Noe(hA(o),"props",void 0),o.props=new ts(n==null?void 0:n.props),o}return Soe(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Lt),mA={Designer:Ei,Runtime:Doe,Property:ts};function St(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function OA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mb(e,t)}function Foe(e,t){return t&&(Coe(t)==="object"||typeof t=="function")?t:St(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}function Coe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function koe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wA(e){var t=koe();return function(){var n=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Foe(this,o)}}var joe=function(e){OA(r,e);var t=wA(r);function r(n){bA(this,r);var o;return o=t.call(this,n),Nt(St(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),Nt(St(o),"isHideCaption",{type:"boolean"}),Nt(St(o),"labelPosition",{type:"enum",enum:["top","left"]}),Nt(St(o),"invoiceCheck",{type:"boolean"}),Nt(St(o),"fillList",{type:"array",validator:function(u,c,l){var f=c.every(function(s){return!s.controlId});if(f){l(y.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Nt(St(o),"captionTip",{type:"string",required:!1,message:y.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Fe),is=function(e){OA(r,e);var t=wA(r);function r(n){bA(this,r);var o,i;o=t.call(this,n),Nt(St(o),"caption",void 0),Nt(St(o),"isHideCaption",void 0),Nt(St(o),"isShowCaptionTip",void 0),Nt(St(o),"captionTip",void 0),Nt(St(o),"labelPosition",void 0),Nt(St(o),"invoiceCheck",void 0),Nt(St(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Pi.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:Pi.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:Pi.controlIcon;var p;o.invoiceCheck=(p=n==null?void 0:n.invoiceCheck)!==null&&p!==void 0?p:!0;var m;return o.fillList=(m=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new ht(h)}))!==null&&m!==void 0?m:[],o}return r}(gt);Nt(is,"Rules",joe);function EA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Voe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xoe(e,t,r){return t&&PA(e.prototype,t),r&&PA(e,r),e}function Lb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},us(e)}function Uoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function Goe(e,t){return t&&(Hoe(t)==="object"||typeof t=="function")?t:EA(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function Hoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zoe(e){var t=Yoe();return function(){var n=us(e),o;if(t){var i=us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Goe(this,o)}}var Pi=function(e){Uoe(r,e);var t=zoe(r);function r(n){Voe(this,r);var o;return o=t.call(this,n),Lb(EA(o),"props",void 0),o.props=new is(n==null?void 0:n.props),o}return xoe(r,null,[{key:"controlName",get:function(){return y.getMessage("invoiceCheckButton")}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(ct);Lb(Pi,"controlEventKeys",["on_click","on_click_finish"]),Lb(Pi,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function TA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Woe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qoe(e,t,r){return t&&$A(e.prototype,t),r&&$A(e,r),e}function Koe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cs(e)}function Xoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function Joe(e,t){return t&&(Qoe(t)==="object"||typeof t=="function")?t:TA(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function Qoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eie(e){var t=Zoe();return function(){var n=cs(e),o;if(t){var i=cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Joe(this,o)}}var tie=function(e){Xoe(r,e);var t=eie(r);function r(n){Woe(this,r);var o;return o=t.call(this,n),Koe(TA(o),"props",void 0),o.props=new is(n==null?void 0:n.props),o}return qoe(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Lt),RA={Designer:Pi,Runtime:tie,Property:is};function as(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ls(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function NA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cb(e,t)}function nie(e,t){return t&&(rie(t)==="object"||typeof t=="function")?t:as(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}function rie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IA(e){var t=oie();return function(){var n=fs(e),o;if(t){var i=fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nie(this,o)}}var iie=function(e){NA(r,e);var t=IA(r);function r(){SA(this,r);var n;return n=t.apply(this,arguments),ls(as(n),"printTemplates",{type:"array",min:1,required:!0,message:y.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(Fe),ss=function(e){NA(r,e);var t=IA(r);function r(n){SA(this,r);var o,i;o=t.call(this,n),ls(as(o),"printTemplates",void 0),ls(as(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ti.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Ti.controlName;var l;o.printTemplates=(l=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new gB(s)}))!==null&&l!==void 0?l:[];var f;return o.autoSelectTemplate=(f=n==null?void 0:n.autoSelectTemplate)!==null&&f!==void 0?f:!1,o}return r}(gt);ls(ss,"Rules",iie);function BA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cie(e,t,r){return t&&AA(e.prototype,t),r&&AA(e,r),e}function _s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function aie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function lie(e,t){return t&&(fie(t)==="object"||typeof t=="function")?t:BA(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}function fie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ie(e){var t=sie();return function(){var n=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lie(this,o)}}var Ti=function(e){aie(r,e);var t=_ie(r);function r(n){uie(this,r);var o;return o=t.call(this,n),_s(BA(o),"props",void 0),o.props=new ss(n==null?void 0:n.props),o}return cie(r,null,[{key:"controlName",get:function(){return y.getMessage("batchPrintListButton")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ct);_s(Ti,"slots",["grid-table-toolbar-slot"]),_s(Ti,"controlEventKeys",["on_click","on_click_finish"]),_s(Ti,"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}]);function MA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function die(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yie(e,t,r){return t&&LA(e.prototype,t),r&&LA(e,r),e}function pie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ys(e){return ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ys(e)}function vie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jb(e,t)}function hie(e,t){return t&&(gie(t)==="object"||typeof t=="function")?t:MA(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function gie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bie(e){var t=mie();return function(){var n=ys(e),o;if(t){var i=ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hie(this,o)}}var Oie=function(e){vie(r,e);var t=bie(r);function r(n){die(this,r);var o;return o=t.call(this,n),pie(MA(o),"props",void 0),o.props=new ss(n==null?void 0:n.props),o}return yie(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Lt),DA={Designer:Ti,Runtime:Oie,Property:ss};function wie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ps(e){return ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ps(e)}function Pie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vb(e,t)}function Tie(e,t){return t&&($ie(t)==="object"||typeof t=="function")?t:wie(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(e,t)}function $ie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sie(e){var t=Rie();return function(){var n=ps(e),o;if(t){var i=ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tie(this,o)}}var xb=function(e){Pie(r,e);var t=Sie(r);function r(n){Eie(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:$i.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:$i.controlIcon,o}return r}(gt);function FA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Iie(e,t,r){return t&&CA(e.prototype,t),r&&CA(e,r),e}function vs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function Bie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ub(e,t)}function Aie(e,t){return t&&(Mie(t)==="object"||typeof t=="function")?t:FA(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}function Mie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Die(e){var t=Lie();return function(){var n=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aie(this,o)}}var $i=function(e){Bie(r,e);var t=Die(r);function r(n){Nie(this,r);var o;return o=t.call(this,n),vs(FA(o),"props",void 0),o.props=new xb(n==null?void 0:n.props),o}return Iie(r,null,[{key:"controlName",get:function(){return y.getMessage("batchPrintRecordList")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ct);vs($i,"slots",["grid-table-toolbar-slot"]),vs($i,"controlEventKeys",["on_click"]),vs($i,"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}]);function kA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cie(e,t,r){return t&&jA(e.prototype,t),r&&jA(e,r),e}function kie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(e)}function jie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gb(e,t)}function Vie(e,t){return t&&(xie(t)==="object"||typeof t=="function")?t:kA(e)}function Gb(e,t){return Gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gb(e,t)}function xie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gie(e){var t=Uie();return function(){var n=gs(e),o;if(t){var i=gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vie(this,o)}}var Hie=function(e){jie(r,e);var t=Gie(r);function r(n){Fie(this,r);var o;return o=t.call(this,n),kie(kA(o),"props",void 0),o.props=new xb(n==null?void 0:n.props),o}return Cie(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Lt),VA={Designer:$i,Runtime:Hie,Property:xb};function mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function UA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hb(e,t)}function Yie(e,t){return t&&(zie(t)==="object"||typeof t=="function")?t:mt(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}function zie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GA(e){var t=Wie();return function(){var n=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yie(this,o)}}var qie=function(e){UA(r,e);var t=GA(r);function r(n){xA(this,r);var o;return o=t.call(this,n),bt(mt(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:y.getMessage("pleaseEnterForm")}),o}return r}(Fe),bs=function(e){UA(r,e);var t=GA(r);function r(n){xA(this,r);var o;o=t.call(this,n),bt(mt(o),"content",void 0),bt(mt(o),"code",void 0),bt(mt(o),"command",void 0),bt(mt(o),"color",void 0),bt(mt(o),"icon",void 0),bt(mt(o),"formKey",void 0),bt(mt(o),"openType",void 0),bt(mt(o),"needConfirm",void 0),bt(mt(o),"confirmMessage",void 0),bt(mt(o),"options",void 0),bt(mt(o),"defaultState",void 0),bt(mt(o),"priorityProcess",void 0),bt(mt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o}return r}($e);bt(bs,"Rules",qie);function HA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xie(e,t,r){return t&&YA(e.prototype,t),r&&YA(e,r),e}function Yb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Os(e)}function Jie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zb(e,t)}function Qie(e,t){return t&&(Zie(t)==="object"||typeof t=="function")?t:HA(e)}function zb(e,t){return zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zb(e,t)}function Zie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tue(e){var t=eue();return function(){var n=Os(e),o;if(t){var i=Os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qie(this,o)}}var ws=function(e){Jie(r,e);var t=tue(r);function r(n){Kie(this,r);var o;return o=t.call(this,n),Yb(HA(o),"props",void 0),o.props=new bs(n==null?void 0:n.props),o}return Xie(r,null,[{key:"controlName",get:function(){return y.getMessage("operationButton")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(re);Yb(ws,"controlEventKeys",["on_click"]),Yb(ws,"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:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function zA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rue(e,t,r){return t&&WA(e.prototype,t),r&&WA(e,r),e}function oue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Es(e){return Es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Es(e)}function iue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wb(e,t)}function uue(e,t){return t&&(cue(t)==="object"||typeof t=="function")?t:zA(e)}function Wb(e,t){return Wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wb(e,t)}function cue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lue(e){var t=aue();return function(){var n=Es(e),o;if(t){var i=Es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uue(this,o)}}var fue=function(e){iue(r,e);var t=lue(r);function r(n){nue(this,r);var o;return o=t.call(this,n),oue(zA(o),"props",void 0),o.props=new bs(n==null?void 0:n.props),o}return rue(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Re),ac={Designer:ws,Runtime:fue,Property:bs};function Jn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(e)}function _ue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qb(e,t)}function due(e,t){return t&&(yue(t)==="object"||typeof t=="function")?t:Jn(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}function yue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vue(e){var t=pue();return function(){var n=Ps(e),o;if(t){var i=Ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return due(this,o)}}var Kb=function(e){_ue(r,e);var t=vue(r);function r(n){sue(this,r);var o;o=t.call(this,n),Cr(Jn(o),"content",void 0),Cr(Jn(o),"buttonType",void 0),Cr(Jn(o),"showType",void 0),Cr(Jn(o),"color",void 0),Cr(Jn(o),"icon",void 0),Cr(Jn(o),"defaultState",void 0),Cr(Jn(o),"command",void 0),Cr(Jn(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Ri.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ri.controlIcon;var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"iconText";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"danger";var s;o.isHide=(s=n==null?void 0:n.isHide)!==null&&s!==void 0?s:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var d;o.command=(d=n==null?void 0:n.command)!==null&&d!==void 0?d:"custom";var p;return o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1,o}return r}($e);function qA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gue(e,t,r){return t&&KA(e.prototype,t),r&&KA(e,r),e}function Ts(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $s(e){return $s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$s(e)}function mue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xb(e,t)}function bue(e,t){return t&&(Oue(t)==="object"||typeof t=="function")?t:qA(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}function Oue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eue(e){var t=wue();return function(){var n=$s(e),o;if(t){var i=$s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bue(this,o)}}var Ri=function(e){mue(r,e);var t=Eue(r);function r(n){hue(this,r);var o;return o=t.call(this,n),Ts(qA(o),"props",void 0),o.props=new Kb(n==null?void 0:n.props),o}return gue(r,null,[{key:"controlName",get:function(){return y.getMessage("batchDeleteButton")}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(re);Ts(Ri,"slots",["grid-table-toolbar-slot"]),Ts(Ri,"controlEventKeys",["on_click"]),Ts(Ri,"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:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function XA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tue(e,t,r){return t&&JA(e.prototype,t),r&&JA(e,r),e}function $ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rs(e)}function Rue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jb(e,t)}function Sue(e,t){return t&&(Nue(t)==="object"||typeof t=="function")?t:XA(e)}function Jb(e,t){return Jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jb(e,t)}function Nue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bue(e){var t=Iue();return function(){var n=Rs(e),o;if(t){var i=Rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sue(this,o)}}var Aue=function(e){Rue(r,e);var t=Bue(r);function r(n){Pue(this,r);var o;return o=t.call(this,n),$ue(XA(o),"props",void 0),o.props=new Kb(n==null?void 0:n.props),o}return Tue(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(Re),QA={Designer:Ri,Runtime:Aue,Property:Kb},Mue=Object.freeze({__proto__:null,Text:tB,Link:uB,Button:sB,Divider:RB,Title:DB,CreateFormListButton:GB,BatchSubmissionListButton:JB,SubmissionRecordListButton:n1,ExportListButton:a1,ExportRecordListButton:d1,ImportRecordListButton:m1,FormSelectButton:S1,ListSelectButton:C1,Pagination:Y1,Dashboard:tA,ListViewSelect:sA,TextOcrButton:mA,InvoiceCheckButton:RA,BatchPrintListButton:DA,BatchPrintRecordListButton:VA,OperationButton:ac,BatchDeleteButton:QA});function An(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ss(e){return Ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ss(e)}function Zb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e0(e,t)}function Lue(e,t){return t&&(Due(t)==="object"||typeof t=="function")?t:An(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e0(e,t)}function Due(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t0(e){var t=Fue();return function(){var n=Ss(e),o;if(t){var i=Ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lue(this,o)}}var Cue=function(e){Zb(r,e);var t=t0(r);function r(n){Qb(this,r);var o;return o=t.call(this,n),pn(An(o),"maxLength",{type:"number",min:0,message:y.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),pn(An(o),"minLength",{type:"number",max:200,message:y.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),pn(An(o),"defaultValue",[{type:"string",max:200,min:0,message:y.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=y.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=nc(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(Ye),kue=function(e){Zb(r,e);var t=t0(r);function r(n){Qb(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:y.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:y.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:nc(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(_e),Si=function(e){Zb(r,e);var t=t0(r);function r(n){Qb(this,r);var o;o=t.call(this,n),pn(An(o),"maxLength",void 0),pn(An(o),"minLength",void 0),pn(An(o),"regularRules",void 0),pn(An(o),"defaultValue",void 0),pn(An(o),"encrypted",void 0),pn(An(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new ul(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Ni.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:y.getMessage("pleaseEnter");var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(K);pn(Si,"Rules",Cue),pn(Si,"RuntimeRules",kue);function ZA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vue(e,t,r){return t&&e3(e.prototype,t),r&&e3(e,r),e}function Ns(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Is(e){return Is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Is(e)}function xue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function Uue(e,t){return t&&(Gue(t)==="object"||typeof t=="function")?t:ZA(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}function Gue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yue(e){var t=Hue();return function(){var n=Is(e),o;if(t){var i=Is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uue(this,o)}}var Ni=function(e){xue(r,e);var t=Yue(r);function r(n){jue(this,r);var o;return o=t.call(this,n),Ns(ZA(o),"props",void 0),o.props=new Si(n==null?void 0:n.props),o}return Vue(r,null,[{key:"controlName",get:function(){return y.getMessage("input")}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(J);Ns(Ni,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ns(Ni,"controlFieldType",a.FieldTypes.VARCHAR),Ns(Ni,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,a.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function t3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wue(e,t,r){return t&&n3(e.prototype,t),r&&n3(e,r),e}function r3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bs(e){return Bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bs(e)}function que(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r0(e,t)}function Kue(e,t){return t&&(Xue(t)==="object"||typeof t=="function")?t:t3(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r0(e,t)}function Xue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Que(e){var t=Jue();return function(){var n=Bs(e),o;if(t){var i=Bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kue(this,o)}}var o3=function(e){que(r,e);var t=Que(r);function r(n){zue(this,r);var o;return o=t.call(this,n),r3(t3(o),"props",void 0),o.props=new Si(n==null?void 0:n.props),o}return Wue(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(Q);r3(o3,"controlFieldType",a.FieldTypes.VARCHAR);var i3={Designer:Ni,Runtime:o3,Property:Si};function at(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function As(e){return As=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},As(e)}function i0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u0(e,t)}function Zue(e,t){return t&&(ece(t)==="object"||typeof t=="function")?t:at(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}function ece(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c0(e){var t=tce();return function(){var n=As(e),o;if(t){var i=As(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zue(this,o)}}var nce=function(e){i0(r,e);var t=c0(r);function r(n){o0(this,r);var o;o=t.call(this,n),Qe(at(o),"limitMax",{type:"number",min:void 0,message:y.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(so),rce=function(e){i0(r,e);var t=c0(r);function r(n){o0(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(_e),lc=function(e){i0(r,e);var t=c0(r);function r(n){o0(this,r);var o;o=t.call(this,n),Qe(at(o),"checkboxMode",void 0),Qe(at(o),"options",void 0),Qe(at(o),"optionsOrder",void 0),Qe(at(o),"limitMax",void 0),Qe(at(o),"limitMin",void 0),Qe(at(o),"otherOption",void 0),Qe(at(o),"optionConfig",void 0),Qe(at(o),"optionsFormat",void 0),Qe(at(o),"defaultShowOptions",void 0),Qe(at(o),"datasourceBind",void 0),Qe(at(o),"multistageFilling",void 0),Qe(at(o),"interreaction",void 0),Qe(at(o),"defaultValue",void 0),Qe(at(o),"openMultistageFilling",void 0);var i;o.options=Nn((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var f;o.otherOption=(f=n==null?void 0:n.otherOption)!==null&&f!==void 0?f:!1;var s;o.limitMin=(s=n==null?void 0:n.limitMin)!==null&&s!==void 0?s:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var d;o.interreaction=(d=n==null?void 0:n.interreaction)!==null&&d!==void 0?d:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:fc.controlName;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:[];var h;o.optionsFormat=(h=n==null?void 0:n.optionsFormat)!==null&&h!==void 0?h:"horizontal";var E;o.defaultShowOptions=(E=n==null?void 0:n.defaultShowOptions)!==null&&E!==void 0?E:!0;var v;return o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(R){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new ht(R))})),o}return r}(K);Qe(lc,"Rules",nce),Qe(lc,"RuntimeRules",rce);function u3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ice(e,t,r){return t&&c3(e.prototype,t),r&&c3(e,r),e}function Ms(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ls(e)}function uce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a0(e,t)}function cce(e,t){return t&&(ace(t)==="object"||typeof t=="function")?t:u3(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}function ace(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fce(e){var t=lce();return function(){var n=Ls(e),o;if(t){var i=Ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cce(this,o)}}var fc=function(e){uce(r,e);var t=fce(r);function r(n){oce(this,r);var o;return o=t.call(this,n),Ms(u3(o),"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return ice(r,null,[{key:"controlName",get:function(){return y.getMessage("checkBox")}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(J);Ms(fc,"controlEventKeys",["on_change","on_click"]),Ms(fc,"controlFieldType",a.FieldTypes.ARRAY),Ms(fc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{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}]);function a3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _ce(e,t,r){return t&&l3(e.prototype,t),r&&l3(e,r),e}function f3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ds(e)}function dce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l0(e,t)}function yce(e,t){return t&&(pce(t)==="object"||typeof t=="function")?t:a3(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l0(e,t)}function pce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hce(e){var t=vce();return function(){var n=Ds(e),o;if(t){var i=Ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yce(this,o)}}var s3=function(e){dce(r,e);var t=hce(r);function r(n){sce(this,r);var o;return o=t.call(this,n),f3(a3(o),"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return _ce(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(Q);f3(s3,"controlFieldType",a.FieldTypes.ARRAY);var _3={Designer:fc,Runtime:s3,Property:lc};function Dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fs(e)}function y3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f0(e,t)}function gce(e,t){return t&&(mce(t)==="object"||typeof t=="function")?t:Dt(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function mce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p3(e){var t=bce();return function(){var n=Fs(e),o;if(t){var i=Fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gce(this,o)}}var Oce=function(e){y3(r,e);var t=p3(r);function r(n){return d3(this,r),t.call(this,n)}return r}(so),Cs=function(e){y3(r,e);var t=p3(r);function r(n){d3(this,r);var o;o=t.call(this,n),Ft(Dt(o),"radioMode",void 0),Ft(Dt(o),"options",void 0),Ft(Dt(o),"optionConfig",void 0),Ft(Dt(o),"optionsFormat",void 0),Ft(Dt(o),"defaultShowOptions",void 0),Ft(Dt(o),"otherOption",void 0),Ft(Dt(o),"optionsOrder",void 0),Ft(Dt(o),"datasourceBind",void 0),Ft(Dt(o),"multistageFilling",void 0),Ft(Dt(o),"interreaction",void 0),Ft(Dt(o),"defaultValue",void 0),Ft(Dt(o),"openMultistageFilling",void 0);var i;o.options=Nn((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var f;o.optionsOrder=(f=n==null?void 0:n.optionsOrder)!==null&&f!==void 0?f:!1;var s;o.defaultShowOptions=(s=n==null?void 0:n.defaultShowOptions)!==null&&s!==void 0?s:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var d;o.interreaction=(d=n==null?void 0:n.interreaction)!==null&&d!==void 0?d:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:sc.controlName;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:"";var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(E){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new ht(E))})),o}return r}(K);Ft(Cs,"Rules",Oce);function v3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ece(e,t,r){return t&&h3(e.prototype,t),r&&h3(e,r),e}function ks(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function js(e){return js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},js(e)}function Pce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s0(e,t)}function Tce(e,t){return t&&($ce(t)==="object"||typeof t=="function")?t:v3(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}function $ce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sce(e){var t=Rce();return function(){var n=js(e),o;if(t){var i=js(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tce(this,o)}}var sc=function(e){Pce(r,e);var t=Sce(r);function r(n){wce(this,r);var o;return o=t.call(this,n),ks(v3(o),"props",void 0),o.props=new Cs(n==null?void 0:n.props),o}return Ece(r,null,[{key:"controlName",get:function(){return y.getMessage("radio")}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(J);ks(sc,"controlEventKeys",["on_change","on_click"]),ks(sc,"controlFieldType",a.FieldTypes.VARCHAR),ks(sc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function g3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ice(e,t,r){return t&&m3(e.prototype,t),r&&m3(e,r),e}function b3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vs(e){return Vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vs(e)}function Bce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_0(e,t)}function Ace(e,t){return t&&(Mce(t)==="object"||typeof t=="function")?t:g3(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}function Mce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dce(e){var t=Lce();return function(){var n=Vs(e),o;if(t){var i=Vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ace(this,o)}}var O3=function(e){Bce(r,e);var t=Dce(r);function r(n){Nce(this,r);var o;return o=t.call(this,n),b3(g3(o),"props",void 0),o.props=new Cs(n==null?void 0:n.props),o}return Ice(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(Q);b3(O3,"controlFieldType",a.FieldTypes.VARCHAR);var w3={Designer:sc,Runtime:O3,Property:Cs};function Ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xs(e){return xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xs(e)}function y0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p0(e,t)}function Fce(e,t){return t&&(Cce(t)==="object"||typeof t=="function")?t:Ot(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p0(e,t)}function Cce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v0(e){var t=kce();return function(){var n=xs(e),o;if(t){var i=xs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fce(this,o)}}var jce=function(e){y0(r,e);var t=v0(r);function r(n){d0(this,r);var o;o=t.call(this,n),lt(Ot(o),"defaultValue",[{type:"number",min:0,max:200,message:y.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),lt(Ot(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=y.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:y.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=nc(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(Ye),Vce=function(e){y0(r,e);var t=v0(r);function r(n){d0(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:y.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:nc(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(_e),_c=function(e){y0(r,e);var t=v0(r);function r(n){d0(this,r);var o;o=t.call(this,n),lt(Ot(o),"rangeMin",void 0),lt(Ot(o),"rangeMax",void 0),lt(Ot(o),"numberType",void 0),lt(Ot(o),"percentageFormat",void 0),lt(Ot(o),"micrometer",void 0),lt(Ot(o),"precision",void 0),lt(Ot(o),"showUpperCase",void 0),lt(Ot(o),"isShowUnit",void 0),lt(Ot(o),"unitPosition",void 0),lt(Ot(o),"unit",void 0),lt(Ot(o),"defaultValue",void 0),lt(Ot(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.numberType=(c=n==null?void 0:n.numberType)!==null&&c!==void 0?c:"number";var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var s;o.precision=(s=n==null?void 0:n.precision)!==null&&s!==void 0?s:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var d;o.isShowUnit=(d=n==null?void 0:n.isShowUnit)!==null&&d!==void 0?d:!1;var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right";var m;o.unit=(m=n==null?void 0:n.unit)!==null&&m!==void 0?m:"";var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:dc.controlName;var E;o.placeholder=(E=n==null?void 0:n.placeholder)!==null&&E!==void 0?E:y.getMessage("pleaseEnter");var v;return o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",o.regularRules=new ul(n==null?void 0:n.regularRules),o}return r}(K);lt(_c,"Rules",jce),lt(_c,"RuntimeRules",Vce);function E3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uce(e,t,r){return t&&P3(e.prototype,t),r&&P3(e,r),e}function Us(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gs(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Gs=Reflect.get:Gs=function(o,i,u){var c=Yce(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Gs(e,t,r||e)}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function Gce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h0(e,t)}function Hce(e,t){return t&&(zce(t)==="object"||typeof t=="function")?t:E3(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h0(e,t)}function Yce(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ii(e),e!==null););return e}function zce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qce(e){var t=Wce();return function(){var n=Ii(e),o;if(t){var i=Ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hce(this,o)}}var dc=function(e){Gce(r,e);var t=qce(r);function r(n){xce(this,r);var o;return o=t.call(this,n),Us(E3(o),"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return Uce(r,[{key:"toDataBindModel",value:function(o){var i=Gs(Ii(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return y.getMessage("number")}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(J);Us(dc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Us(dc,"controlFieldType",a.FieldTypes.DECIMAL),Us(dc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_UNIT,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[a.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,a.COMMON_SETTING_TYPE.MICROMETER,a.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function T3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xce(e,t,r){return t&&$3(e.prototype,t),r&&$3(e,r),e}function R3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hs(e)}function Jce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g0(e,t)}function Qce(e,t){return t&&(Zce(t)==="object"||typeof t=="function")?t:T3(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function Zce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tae(e){var t=eae();return function(){var n=Hs(e),o;if(t){var i=Hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qce(this,o)}}var S3=function(e){Jce(r,e);var t=tae(r);function r(n){Kce(this,r);var o;return o=t.call(this,n),R3(T3(o),"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return Xce(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(Q);R3(S3,"controlFieldType",a.FieldTypes.DECIMAL);var N3={Designer:dc,Runtime:S3,Property:_c};function Qn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ys(e){return Ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ys(e)}function rae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m0(e,t)}function oae(e,t){return t&&(iae(t)==="object"||typeof t=="function")?t:Qn(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}function iae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cae(e){var t=uae();return function(){var n=Ys(e),o;if(t){var i=Ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oae(this,o)}}var b0=function(e){rae(r,e);var t=cae(r);function r(n){nae(this,r);var o,i;o=t.call(this,n),kr(Qn(o),"dateType",void 0),kr(Qn(o),"dateFormat",void 0),kr(Qn(o),"commonTimeSetting",void 0),kr(Qn(o),"setValueType",void 0),kr(Qn(o),"defaultValue",void 0),kr(Qn(o),"limitDateList",void 0),kr(Qn(o),"allowDateRange",void 0),kr(Qn(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:a.DateType.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:Ws.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:y.getMessage("pleaseEnterDate");var d;o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"";var p;o.limitDateList=(p=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(E){return new Xl(E)}))!==null&&p!==void 0?p:[];var m;o.allowDateRange=(m=n==null?void 0:n.allowDateRange)!==null&&m!==void 0?m:["",""];var h;return o.filterWeekend=(h=n==null?void 0:n.filterWeekend)!==null&&h!==void 0?h:!1,o}return r}(K);function I3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lae(e,t,r){return t&&B3(e.prototype,t),r&&B3(e,r),e}function O0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zs(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?zs=Reflect.get:zs=function(o,i,u){var c=_ae(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},zs(e,t,r||e)}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function fae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w0(e,t)}function sae(e,t){return t&&(dae(t)==="object"||typeof t=="function")?t:I3(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function _ae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Bi(e),e!==null););return e}function dae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pae(e){var t=yae();return function(){var n=Bi(e),o;if(t){var i=Bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sae(this,o)}}var Ws=function(e){fae(r,e);var t=pae(r);function r(n){aae(this,r);var o;return o=t.call(this,n),O0(I3(o),"props",void 0),o.props=new b0(n==null?void 0:n.props),o}return lae(r,[{key:"toDataBindModel",value:function(o){var i=zs(Bi(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return y.getMessage("timestamp")}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(J);O0(Ws,"controlFieldType",a.FieldTypes.TIMESTAMP),O0(Ws,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function A3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hae(e,t,r){return t&&M3(e.prototype,t),r&&M3(e,r),e}function L3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qs(e){return qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qs(e)}function gae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E0(e,t)}function mae(e,t){return t&&(bae(t)==="object"||typeof t=="function")?t:A3(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function bae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wae(e){var t=Oae();return function(){var n=qs(e),o;if(t){var i=qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mae(this,o)}}var D3=function(e){gae(r,e);var t=wae(r);function r(n){vae(this,r);var o;return o=t.call(this,n),L3(A3(o),"props",void 0),o.props=new b0(n==null?void 0:n.props),o}return hae(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(Q);L3(D3,"controlFieldType",a.FieldTypes.TIMESTAMP);var F3={Designer:Ws,Runtime:D3,Property:b0};function en(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ks(e){return Ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ks(e)}function k3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P0(e,t)}function Eae(e,t){return t&&(Pae(t)==="object"||typeof t=="function")?t:en(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function Pae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j3(e){var t=Tae();return function(){var n=Ks(e),o;if(t){var i=Ks(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eae(this,o)}}var $ae=function(e){k3(r,e);var t=j3(r);function r(n){C3(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(_e),Xs=function(e){k3(r,e);var t=j3(r);function r(n){C3(this,r);var o,i;o=t.call(this,n),tn(en(o),"dataBind",void 0),tn(en(o),"rangeMin",void 0),tn(en(o),"rangeMax",void 0),tn(en(o),"placeholderStart",void 0),tn(en(o),"placeholderEnd",void 0),tn(en(o),"dateFormat",void 0),tn(en(o),"commonTimeSetting",void 0),tn(en(o),"dateType",void 0),tn(en(o),"setValueType",void 0),tn(en(o),"defaultValue",void 0),tn(en(o),"limitDateList",void 0),o.dataBind=new QN(n==null?void 0:n.dataBind),o.defaultValue=new ZN(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:a.DateType.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var s;o.rangeMin=(s=n==null?void 0:n.rangeMin)!==null&&s!==void 0?s:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:y.getMessage("pleaseSelectStartDate");var p;o.placeholderEnd=(p=n==null?void 0:n.placeholderEnd)!==null&&p!==void 0?p:y.getMessage("pleaseSelectEndDate");var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:Qs.controlName;var h;return o.limitDateList=(h=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(E){return new Xl(E)}))!==null&&h!==void 0?h:[],o}return r}(K);tn(Xs,"RuntimeRules",$ae);function V3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sae(e,t,r){return t&&x3(e.prototype,t),r&&x3(e,r),e}function T0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Js(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Js=Reflect.get:Js=function(o,i,u){var c=Bae(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Js(e,t,r||e)}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function Nae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$0(e,t)}function Iae(e,t){return t&&(Aae(t)==="object"||typeof t=="function")?t:V3(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function Bae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ai(e),e!==null););return e}function Aae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lae(e){var t=Mae();return function(){var n=Ai(e),o;if(t){var i=Ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iae(this,o)}}var Qs=function(e){Nae(r,e);var t=Lae(r);function r(n){Rae(this,r);var o;return o=t.call(this,n),T0(V3(o),"props",void 0),o.props=new Xs(n==null?void 0:n.props),o}return Sae(r,[{key:"toDataBindModel",value:function(o){var i=Js(Ai(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return y.getMessage("timescope")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(J);T0(Qs,"controlFieldType",a.FieldTypes.TIMESCOPE),T0(Qs,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function U3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fae(e,t,r){return t&&G3(e.prototype,t),r&&G3(e,r),e}function H3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zs(e){return Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zs(e)}function Cae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R0(e,t)}function kae(e,t){return t&&(jae(t)==="object"||typeof t=="function")?t:U3(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R0(e,t)}function jae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xae(e){var t=Vae();return function(){var n=Zs(e),o;if(t){var i=Zs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kae(this,o)}}var Y3=function(e){Cae(r,e);var t=xae(r);function r(n){Dae(this,r);var o;return o=t.call(this,n),H3(U3(o),"props",void 0),o.props=new Xs(n==null?void 0:n.props),o}return Fae(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(Q);H3(Y3,"controlFieldType",a.FieldTypes.TIMESCOPE);var z3={Designer:Qs,Runtime:Y3,Property:Xs};function jr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function e_(e){return e_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},e_(e)}function N0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I0(e,t)}function Uae(e,t){return t&&(Gae(t)==="object"||typeof t=="function")?t:jr(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function Gae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B0(e){var t=Hae();return function(){var n=e_(e),o;if(t){var i=e_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uae(this,o)}}var Yae=function(e){N0(r,e);var t=B0(r);function r(n){S0(this,r);var o;return o=t.call(this,n),Zn(jr(o),"maxLength",{type:"number",min:0,message:y.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Zn(jr(o),"minLength",{type:"number",max:1e6,message:y.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Zn(jr(o),"defaultValue",{type:"string",max:200,min:0,message:y.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=y.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(Ye),zae=function(e){N0(r,e);var t=B0(r);function r(n){S0(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:y.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(_e),yc=function(e){N0(r,e);var t=B0(r);function r(n){S0(this,r);var o;o=t.call(this,n),Zn(jr(o),"maxLength",void 0),Zn(jr(o),"minLength",void 0),Zn(jr(o),"defaultValue",void 0),Zn(jr(o),"rowHeightSetting",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:pc.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:y.getMessage("pleaseEnter"),o.rowHeightSetting=new dg(n==null?void 0:n.rowHeightSetting),o}return r}(K);Zn(yc,"Rules",Yae),Zn(yc,"RuntimeRules",zae);function W3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qae(e,t,r){return t&&q3(e.prototype,t),r&&q3(e,r),e}function t_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n_(e){return n_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},n_(e)}function Kae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A0(e,t)}function Xae(e,t){return t&&(Jae(t)==="object"||typeof t=="function")?t:W3(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function Jae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zae(e){var t=Qae();return function(){var n=n_(e),o;if(t){var i=n_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xae(this,o)}}var pc=function(e){Kae(r,e);var t=Zae(r);function r(n){Wae(this,r);var o;return o=t.call(this,n),t_(W3(o),"props",void 0),o.props=new yc(n==null?void 0:n.props),o}return qae(r,null,[{key:"controlName",get:function(){return y.getMessage("textarea")}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(J);t_(pc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),t_(pc,"controlFieldType",a.FieldTypes.TEXT),t_(pc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{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}]);function K3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ele(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tle(e,t,r){return t&&X3(e.prototype,t),r&&X3(e,r),e}function J3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r_(e){return r_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},r_(e)}function nle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M0(e,t)}function rle(e,t){return t&&(ole(t)==="object"||typeof t=="function")?t:K3(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(e,t)}function ole(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ile(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ule(e){var t=ile();return function(){var n=r_(e),o;if(t){var i=r_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rle(this,o)}}var Q3=function(e){nle(r,e);var t=ule(r);function r(n){ele(this,r);var o;return o=t.call(this,n),J3(K3(o),"props",void 0),o.props=new yc(n==null?void 0:n.props),o}return tle(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(Q);J3(Q3,"controlFieldType",a.FieldTypes.TEXT);var Z3={Designer:pc,Runtime:Q3,Property:yc};function po(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o_(e){return o_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},o_(e)}function D0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F0(e,t)}function cle(e,t){return t&&(ale(t)==="object"||typeof t=="function")?t:po(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function ale(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C0(e){var t=lle();return function(){var n=o_(e),o;if(t){var i=o_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cle(this,o)}}var fle=function(e){D0(r,e);var t=C0(r);function r(n){L0(this,r);var o;return o=t.call(this,n),Vr(po(o),"maxLength",{type:"number",min:0,message:y.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Vr(po(o),"minLength",{type:"number",max:1e6,message:y.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Vr(po(o),"defaultValue",{type:"string",max:200,min:0,message:y.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=y.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(Ye),sle=function(e){D0(r,e);var t=C0(r);function r(n){L0(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:y.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(_e),vc=function(e){D0(r,e);var t=C0(r);function r(n){L0(this,r);var o;o=t.call(this,n),Vr(po(o),"maxLength",void 0),Vr(po(o),"minLength",void 0),Vr(po(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:hc.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:y.getMessage("pleaseEnter"),o}return r}(K);Vr(vc,"Rules",fle),Vr(vc,"RuntimeRules",sle);function eM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dle(e,t,r){return t&&tM(e.prototype,t),r&&tM(e,r),e}function i_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u_(e){return u_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},u_(e)}function yle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k0(e,t)}function ple(e,t){return t&&(vle(t)==="object"||typeof t=="function")?t:eM(e)}function k0(e,t){return k0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k0(e,t)}function vle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gle(e){var t=hle();return function(){var n=u_(e),o;if(t){var i=u_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ple(this,o)}}var hc=function(e){yle(r,e);var t=gle(r);function r(n){_le(this,r);var o;return o=t.call(this,n),i_(eM(o),"props",void 0),o.props=new vc(n==null?void 0:n.props),o}return dle(r,null,[{key:"controlName",get:function(){return y.getMessage("richText")}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(J);i_(hc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),i_(hc,"controlFieldType",a.FieldTypes.TEXT),i_(hc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function nM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ble(e,t,r){return t&&rM(e.prototype,t),r&&rM(e,r),e}function oM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c_(e){return c_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},c_(e)}function Ole(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j0(e,t)}function wle(e,t){return t&&(Ele(t)==="object"||typeof t=="function")?t:nM(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}function Ele(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ple(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tle(e){var t=Ple();return function(){var n=c_(e),o;if(t){var i=c_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wle(this,o)}}var iM=function(e){Ole(r,e);var t=Tle(r);function r(n){mle(this,r);var o;return o=t.call(this,n),oM(nM(o),"props",void 0),o.props=new vc(n==null?void 0:n.props),o}return ble(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(Q);oM(iM,"controlFieldType",a.FieldTypes.TEXT);var uM={Designer:hc,Runtime:iM,Property:vc};function Ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a_(e){return a_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},a_(e)}function aM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V0(e,t)}function $le(e,t){return t&&(Rle(t)==="object"||typeof t=="function")?t:Ct(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function Rle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lM(e){var t=Sle();return function(){var n=a_(e),o;if(t){var i=a_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $le(this,o)}}var Nle=function(e){aM(r,e);var t=lM(r);function r(n){cM(this,r);var o;return o=t.call(this,n),kt(Ct(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:y.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(so),l_=function(e){aM(r,e);var t=lM(r);function r(n){cM(this,r);var o;o=t.call(this,n),kt(Ct(o),"options",void 0),kt(Ct(o),"defaultShowOptions",void 0),kt(Ct(o),"optionConfig",void 0),kt(Ct(o),"defaultValue",void 0),kt(Ct(o),"datasourceBind",void 0),kt(Ct(o),"multistageFilling",void 0),kt(Ct(o),"allowCopyOptions",void 0),kt(Ct(o),"openMultistageFilling",void 0),kt(Ct(o),"viewFormModelType",void 0),kt(Ct(o),"canViewForm",void 0),kt(Ct(o),"formBind",void 0);var i;o.options=Nn((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:s_.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:y.getMessage("pleaseSelect");var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var d;o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new ht(h))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var m;return o.viewFormModelType=(m=n==null?void 0:n.viewFormModelType)!==null&&m!==void 0?m:"window",o.formBind=new fo(n==null?void 0:n.formBind),o}return r}(K);kt(l_,"Rules",Nle);function fM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ile(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ble(e,t,r){return t&&sM(e.prototype,t),r&&sM(e,r),e}function x0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f_(e){return f_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},f_(e)}function Ale(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U0(e,t)}function Mle(e,t){return t&&(Lle(t)==="object"||typeof t=="function")?t:fM(e)}function U0(e,t){return U0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U0(e,t)}function Lle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fle(e){var t=Dle();return function(){var n=f_(e),o;if(t){var i=f_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mle(this,o)}}var s_=function(e){Ale(r,e);var t=Fle(r);function r(n){Ile(this,r);var o;return o=t.call(this,n),x0(fM(o),"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return Ble(r,null,[{key:"controlName",get:function(){return y.getMessage("select")}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(J);x0(s_,"controlFieldType",a.FieldTypes.VARCHAR),x0(s_,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,a.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.CAN_VIEW_FORM,a.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function _M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kle(e,t,r){return t&&dM(e.prototype,t),r&&dM(e,r),e}function yM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function __(e){return __=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},__(e)}function jle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G0(e,t)}function Vle(e,t){return t&&(xle(t)==="object"||typeof t=="function")?t:_M(e)}function G0(e,t){return G0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G0(e,t)}function xle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ule(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gle(e){var t=Ule();return function(){var n=__(e),o;if(t){var i=__(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vle(this,o)}}var pM=function(e){jle(r,e);var t=Gle(r);function r(n){Cle(this,r);var o;return o=t.call(this,n),yM(_M(o),"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return kle(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(Q);yM(pM,"controlFieldType",a.FieldTypes.VARCHAR);var vM={Designer:s_,Runtime:pM,Property:l_};function nn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d_(e){return d_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},d_(e)}function Y0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z0(e,t)}function Hle(e,t){return t&&(Yle(t)==="object"||typeof t=="function")?t:nn(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z0(e,t)}function Yle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W0(e){var t=zle();return function(){var n=d_(e),o;if(t){var i=d_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hle(this,o)}}var Wle=function(e){Y0(r,e);var t=W0(r);function r(n){H0(this,r);var o;return o=t.call(this,n),jt(nn(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:y.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(so),qle=function(e){Y0(r,e);var t=W0(r);function r(n){H0(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),gc=function(e){Y0(r,e);var t=W0(r);function r(n){H0(this,r);var o;o=t.call(this,n),jt(nn(o),"options",void 0),jt(nn(o),"defaultShowOptions",void 0),jt(nn(o),"optionConfig",void 0),jt(nn(o),"defaultValue",void 0),jt(nn(o),"datasourceBind",void 0),jt(nn(o),"multistageFilling",void 0),jt(nn(o),"openMultistageFilling",void 0),jt(nn(o),"viewFormModelType",void 0),jt(nn(o),"canViewForm",void 0),jt(nn(o),"formBind",void 0);var i;o.options=Nn((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:p_.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:y.getMessage("pleaseSelect");var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new ht(m))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var p;return o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",o.formBind=new fo(n==null?void 0:n.formBind),o}return r}(K);jt(gc,"Rules",Wle),jt(gc,"RuntimeRules",qle);function hM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xle(e,t,r){return t&&gM(e.prototype,t),r&&gM(e,r),e}function q0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y_(e){return y_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},y_(e)}function Jle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K0(e,t)}function Qle(e,t){return t&&(Zle(t)==="object"||typeof t=="function")?t:hM(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function Zle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function efe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tfe(e){var t=efe();return function(){var n=y_(e),o;if(t){var i=y_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qle(this,o)}}var p_=function(e){Jle(r,e);var t=tfe(r);function r(n){Kle(this,r);var o;return o=t.call(this,n),q0(hM(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return Xle(r,null,[{key:"controlName",get:function(){return y.getMessage("selectMultiple")}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(J);q0(p_,"controlFieldType",a.FieldTypes.ARRAY),q0(p_,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.CAN_VIEW_FORM,a.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function mM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rfe(e,t,r){return t&&bM(e.prototype,t),r&&bM(e,r),e}function OM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v_(e){return v_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},v_(e)}function ofe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X0(e,t)}function ife(e,t){return t&&(ufe(t)==="object"||typeof t=="function")?t:mM(e)}function X0(e,t){return X0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X0(e,t)}function ufe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function afe(e){var t=cfe();return function(){var n=v_(e),o;if(t){var i=v_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ife(this,o)}}var wM=function(e){ofe(r,e);var t=afe(r);function r(n){nfe(this,r);var o;return o=t.call(this,n),OM(mM(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return rfe(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(Q);OM(wM,"controlFieldType",a.FieldTypes.ARRAY);var EM={Designer:p_,Runtime:wM,Property:gc};function er(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h_(e){return h_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},h_(e)}function TM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J0(e,t)}function lfe(e,t){return t&&(ffe(t)==="object"||typeof t=="function")?t:er(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}function ffe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $M(e){var t=sfe();return function(){var n=h_(e),o;if(t){var i=h_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lfe(this,o)}}var _fe=function(e){TM(r,e);var t=$M(r);function r(n){PM(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),g_=function(e){TM(r,e);var t=$M(r);function r(n){PM(this,r);var o;o=t.call(this,n),tr(er(o),"showType",void 0),tr(er(o),"range",void 0),tr(er(o),"rangeOptions",void 0),tr(er(o),"multiple",void 0),tr(er(o),"defaultValueType",void 0),tr(er(o),"defaultValue",void 0),tr(er(o),"multistageFilling",void 0),tr(er(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:b_.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:y.getMessage("pleaseEnterNameorEmail");var p;return o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new ht(m))})),o}return r}(K);tr(g_,"RuntimeRules",_fe);function RM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yfe(e,t,r){return t&&SM(e.prototype,t),r&&SM(e,r),e}function Q0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m_(e){return m_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},m_(e)}function pfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z0(e,t)}function vfe(e,t){return t&&(hfe(t)==="object"||typeof t=="function")?t:RM(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(e,t)}function hfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mfe(e){var t=gfe();return function(){var n=m_(e),o;if(t){var i=m_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vfe(this,o)}}var b_=function(e){pfe(r,e);var t=mfe(r);function r(n){dfe(this,r);var o;return o=t.call(this,n),Q0(RM(o),"props",void 0),o.props=new g_(n==null?void 0:n.props),o}return yfe(r,null,[{key:"controlName",get:function(){return y.getMessage("people")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(J);Q0(b_,"controlFieldType",a.FieldTypes.EMPLOYEES),Q0(b_,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.MULTIPLE,a.COMMON_SETTING_TYPE.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}]);function NM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ofe(e,t,r){return t&&IM(e.prototype,t),r&&IM(e,r),e}function BM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O_(e){return O_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},O_(e)}function wfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eO(e,t)}function Efe(e,t){return t&&(Pfe(t)==="object"||typeof t=="function")?t:NM(e)}function eO(e,t){return eO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eO(e,t)}function Pfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $fe(e){var t=Tfe();return function(){var n=O_(e),o;if(t){var i=O_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Efe(this,o)}}var AM=function(e){wfe(r,e);var t=$fe(r);function r(n){bfe(this,r);var o;return o=t.call(this,n),BM(NM(o),"props",void 0),o.props=new g_(n==null?void 0:n.props),o}return Ofe(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(Q);BM(AM,"controlFieldType",a.FieldTypes.EMPLOYEES);var MM={Designer:b_,Runtime:AM,Property:g_};function vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w_(e){return w_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},w_(e)}function nO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rO(e,t)}function Rfe(e,t){return t&&(Sfe(t)==="object"||typeof t=="function")?t:vn(e)}function rO(e,t){return rO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rO(e,t)}function Sfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oO(e){var t=Nfe();return function(){var n=w_(e),o;if(t){var i=w_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rfe(this,o)}}var Ife=10485760,Bfe=104857600,Afe=1048576e3,Mfe=function(e){nO(r,e);var t=oO(r);function r(n){tO(this,r);var o;return o=t.call(this,n),rn(vn(o),"maxSize",{type:"number",min:0,max:Afe,message:y.getMessage("attachmentMaxSize")}),o}return r}(Ye),Lfe=function(e){nO(r,e);var t=oO(r);function r(n){tO(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:y.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(_e),Mi=function(e){nO(r,e);var t=oO(r);function r(n){tO(this,r);var o;o=t.call(this,n),rn(vn(o),"defaultValue",void 0),rn(vn(o),"showType",void 0),rn(vn(o),"resultShowType",void 0),rn(vn(o),"attachmentAccept",void 0),rn(vn(o),"maxLimit",void 0),rn(vn(o),"minLimit",void 0),rn(vn(o),"isShowWatermark",void 0),rn(vn(o),"watermarkFx",void 0),rn(vn(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var c;o.resultShowType=(c=n==null?void 0:n.resultShowType)!==null&&c!==void 0?c:"simple";var l;o.attachmentAccept=(l=n==null?void 0:n.attachmentAccept)!==null&&l!==void 0?l:[];var f;o.maxLimit=(f=n==null?void 0:n.maxLimit)!==null&&f!==void 0?f:10;var s;o.minLimit=(s=n==null?void 0:n.minLimit)!==null&&s!==void 0?s:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:Bfe;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Li.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u4E0A\u4F20\u9644\u4EF6";var m;o.isShowWatermark=(m=n==null?void 0:n.isShowWatermark)!==null&&m!==void 0?m:!1;var h;return o.watermarkFx=(h=n==null?void 0:n.watermarkFx)!==null&&h!==void 0?h:{},o}return r}(K);rn(Mi,"Rules",Mfe),rn(Mi,"RuntimeRules",Lfe);function LM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ffe(e,t,r){return t&&DM(e.prototype,t),r&&DM(e,r),e}function E_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P_(e){return P_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},P_(e)}function Cfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iO(e,t)}function kfe(e,t){return t&&(jfe(t)==="object"||typeof t=="function")?t:LM(e)}function iO(e,t){return iO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iO(e,t)}function jfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xfe(e){var t=Vfe();return function(){var n=P_(e),o;if(t){var i=P_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kfe(this,o)}}var Li=function(e){Cfe(r,e);var t=xfe(r);function r(n){Dfe(this,r);var o;return o=t.call(this,n),E_(LM(o),"props",void 0),o.props=new Mi(n==null?void 0:n.props),o}return Ffe(r,null,[{key:"controlName",get:function(){return y.getMessage("file")}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(J);E_(Li,"controlEventKeys",["on_change"]),E_(Li,"controlFieldType",a.FieldTypes.FILE),E_(Li,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function FM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ufe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gfe(e,t,r){return t&&CM(e.prototype,t),r&&CM(e,r),e}function kM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T_(e){return T_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},T_(e)}function Hfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uO(e,t)}function Yfe(e,t){return t&&(zfe(t)==="object"||typeof t=="function")?t:FM(e)}function uO(e,t){return uO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uO(e,t)}function zfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qfe(e){var t=Wfe();return function(){var n=T_(e),o;if(t){var i=T_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yfe(this,o)}}var cO=function(e){Hfe(r,e);var t=qfe(r);function r(n){Ufe(this,r);var o;return o=t.call(this,n),kM(FM(o),"props",void 0),o.props=new Mi(n==null?void 0:n.props),o}return Gfe(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(Q);kM(cO,"controlFieldType",a.FieldTypes.FILE);var jM={Designer:Li,Runtime:cO,Property:Mi};function Kfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jfe(e,t,r){return t&&VM(e.prototype,t),r&&VM(e,r),e}function xM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $_(e){return $_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$_(e)}function Qfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aO(e,t)}function Zfe(e,t){return t&&(ese(t)==="object"||typeof t=="function")?t:Kfe(e)}function aO(e,t){return aO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aO(e,t)}function ese(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nse(e){var t=tse();return function(){var n=$_(e),o;if(t){var i=$_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zfe(this,o)}}var lO=function(e){Qfe(r,e);var t=nse(r);function r(n){Xfe(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var c;o.props.caption=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r.controlName;var l;return o.props.placeholder=(l=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&l!==void 0?l:"\u4E0A\u4F20\u56FE\u7247",o}return Jfe(r,null,[{key:"controlName",get:function(){return y.getMessage("image")}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Li);xM(lO,"controlFieldType",a.FieldTypes.IMAGE),xM(lO,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,a.COMMON_SETTING_TYPE.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function rse(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ose(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ise(e,t,r){return t&&UM(e.prototype,t),r&&UM(e,r),e}function R_(e){return R_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},R_(e)}function use(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fO(e,t)}function cse(e,t){return t&&(ase(t)==="object"||typeof t=="function")?t:rse(e)}function fO(e,t){return fO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fO(e,t)}function ase(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fse(e){var t=lse();return function(){var n=R_(e),o;if(t){var i=R_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cse(this,o)}}var sse=function(e){use(r,e);var t=fse(r);function r(n){ose(this,r);var o,i,u,c;o=t.call(this,n),o.props.showType="image";var l;o.props.maxLimit=(l=n==null||(i=n.props)===null||i===void 0?void 0:i.maxLimit)!==null&&l!==void 0?l:9;var f;o.props.caption=(f=n==null||(u=n.props)===null||u===void 0?void 0:u.caption)!==null&&f!==void 0?f:"\u56FE\u7247";var s;return o.props.placeholder=(s=n==null||(c=n.props)===null||c===void 0?void 0:c.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return ise(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(cO);function _se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S_(e){return S_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},S_(e)}function yse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sO(e,t)}function pse(e,t){return t&&(vse(t)==="object"||typeof t=="function")?t:_se(e)}function sO(e,t){return sO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sO(e,t)}function vse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gse(e){var t=hse();return function(){var n=S_(e),o;if(t){var i=S_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pse(this,o)}}var mse=function(e){yse(r,e);var t=gse(r);function r(n){return dse(this,r),t.call(this,n)}return r}(Mi),GM={Designer:lO,Runtime:sse,Property:mse};function wt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N_(e){return N_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},N_(e)}function dO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yO(e,t)}function bse(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ze(e,o,r[o])})}return e}function Ose(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function wse(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ose(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Ese(e,t){return t&&(Pse(t)==="object"||typeof t=="function")?t:wt(e)}function yO(e,t){return yO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yO(e,t)}function Pse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pO(e){var t=Tse();return function(){var n=N_(e),o;if(t){var i=N_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ese(this,o)}}var $se=function(e){dO(r,e);var t=pO(r);function r(n){_O(this,r);var o;o=t.call(this,n),Ze(wt(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:y.getMessage("pleaseEnterNumberRange")}]}}),Ze(wt(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=y.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:y.getMessage("numberRangeSetError")}),o}return r}(so),Rse=function(e){dO(r,e);var t=pO(r);function r(n){_O(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="object");var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[wse(bse({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:y.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(_e),mc=function(e){dO(r,e);var t=pO(r);function r(n){_O(this,r);var o;o=t.call(this,n),Ze(wt(o),"rangeMin",void 0),Ze(wt(o),"rangeMax",void 0),Ze(wt(o),"showUpperCase",void 0),Ze(wt(o),"submitSelectCurrency",void 0),Ze(wt(o),"micrometer",void 0),Ze(wt(o),"precision",void 0),Ze(wt(o),"unitPosition",void 0),Ze(wt(o),"optionConfig",void 0),Ze(wt(o),"dataBind",void 0),Ze(wt(o),"datasourceBind",void 0),Ze(wt(o),"defaultValue",void 0),Ze(wt(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource";var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:2,o.dataBind=new XN(n==null?void 0:n.dataBind);var s;o.datasourceBind=new Ue((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new ol({value:"name"})]});var _;o.defaultValue=new JN((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:a.AMOUNT_TYPE.CNY});var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right",o.options=Nn(n==null?void 0:n.options);var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:bc.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:y.getMessage("pleaseEnter");var h;o.submitSelectCurrency=(h=n==null?void 0:n.submitSelectCurrency)!==null&&h!==void 0?h:!1;var E;return o.showUpperCase=(E=n==null?void 0:n.showUpperCase)!==null&&E!==void 0?E:!1,o}return r}(K);Ze(mc,"Rules",$se),Ze(mc,"RuntimeRules",Rse);function HM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nse(e,t,r){return t&&YM(e.prototype,t),r&&YM(e,r),e}function I_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?B_=Reflect.get:B_=function(o,i,u){var c=Ase(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},B_(e,t,r||e)}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(e)}function Ise(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vO(e,t)}function Bse(e,t){return t&&(Mse(t)==="object"||typeof t=="function")?t:HM(e)}function vO(e,t){return vO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vO(e,t)}function Ase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Di(e),e!==null););return e}function Mse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dse(e){var t=Lse();return function(){var n=Di(e),o;if(t){var i=Di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bse(this,o)}}var bc=function(e){Ise(r,e);var t=Dse(r);function r(n){Sse(this,r);var o;return o=t.call(this,n),I_(HM(o),"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return Nse(r,[{key:"toDataBindModel",value:function(o){var i=B_(Di(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return y.getMessage("amount")}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(J);I_(bc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),I_(bc,"controlFieldType",a.FieldTypes.MONEY),I_(bc,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,a.COMMON_SETTING_TYPE.MICROMETER,a.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function zM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cse(e,t,r){return t&&WM(e.prototype,t),r&&WM(e,r),e}function qM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function A_(e){return A_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},A_(e)}function kse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hO(e,t)}function jse(e,t){return t&&(Vse(t)==="object"||typeof t=="function")?t:zM(e)}function hO(e,t){return hO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hO(e,t)}function Vse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Use(e){var t=xse();return function(){var n=A_(e),o;if(t){var i=A_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jse(this,o)}}var KM=function(e){kse(r,e);var t=Use(r);function r(n){Fse(this,r);var o;return o=t.call(this,n),qM(zM(o),"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return Cse(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(Q);qM(KM,"controlFieldType",a.FieldTypes.MONEY);var XM={Designer:bc,Runtime:KM,Property:mc};function xr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M_(e){return M_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},M_(e)}function mO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bO(e,t)}function Gse(e,t){return t&&(Hse(t)==="object"||typeof t=="function")?t:xr(e)}function bO(e,t){return bO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bO(e,t)}function Hse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OO(e){var t=Yse();return function(){var n=M_(e),o;if(t){var i=M_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gse(this,o)}}var zse=function(e){mO(r,e);var t=OO(r);function r(n){gO(this,r);var o;return o=t.call(this,n),nr(xr(o),"totalScore",[{type:"number",required:!0,message:y.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:y.getMessage("theTotalScoreMustNotBeLessThan1")}]),nr(xr(o),"defaultValue",{type:"number",min:0,max:5,message:y.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=y.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(Ye),Wse=function(e){mO(r,e);var t=OO(r);function r(n){gO(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:y.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(_e),Oc=function(e){mO(r,e);var t=OO(r);function r(n){gO(this,r);var o,i;o=t.call(this,n),nr(xr(o),"totalScore",void 0),nr(xr(o),"scoreType",void 0),nr(xr(o),"isShowExplain",void 0),nr(xr(o),"explain",void 0),nr(xr(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var c;o.scoreType=(c=n==null?void 0:n.scoreType)!==null&&c!==void 0?c:a.SCORE_TYPE.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var f;o.explain=(f=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(d){return new Jl(d)}))!==null&&f!==void 0?f:Array(o.totalScore).fill(void 0).map(function(){return new Jl});var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:wc.controlName,o}return r}(K);nr(Oc,"Rules",zse),nr(Oc,"RuntimeRules",Wse);function wO(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function qse(e){if(Array.isArray(e))return wO(e)}function JM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xse(e,t,r){return t&&QM(e.prototype,t),r&&QM(e,r),e}function L_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?D_=Reflect.get:D_=function(o,i,u){var c=t_e(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},D_(e,t,r||e)}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function Jse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&EO(e,t)}function Qse(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Zse(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e_e(e,t){return t&&(r_e(t)==="object"||typeof t=="function")?t:JM(e)}function EO(e,t){return EO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EO(e,t)}function t_e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fi(e),e!==null););return e}function n_e(e){return qse(e)||Qse(e)||o_e(e)||Zse()}function r_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o_e(e,t){if(!!e){if(typeof e=="string")return wO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return wO(e,t)}}function i_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u_e(e){var t=i_e();return function(){var n=Fi(e),o;if(t){var i=Fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e_e(this,o)}}var wc=function(e){Jse(r,e);var t=u_e(r);function r(n){Kse(this,r);var o;return o=t.call(this,n),L_(JM(o),"props",void 0),o.props=new Oc(n==null?void 0:n.props),o}return Xse(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,c=i-this.props.explain.length,l=Array(c).fill(void 0).map(function(){return new Jl});(u=this.props.explain).push.apply(u,n_e(l))}}D_(Fi(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return y.getMessage("score")}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(J);L_(wc,"controlEventKeys",["on_change","on_click"]),L_(wc,"controlFieldType",a.FieldTypes.DECIMAL),L_(wc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function ZM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a_e(e,t,r){return t&&eL(e.prototype,t),r&&eL(e,r),e}function tL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F_(e){return F_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},F_(e)}function l_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PO(e,t)}function f_e(e,t){return t&&(s_e(t)==="object"||typeof t=="function")?t:ZM(e)}function PO(e,t){return PO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PO(e,t)}function s_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function __e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d_e(e){var t=__e();return function(){var n=F_(e),o;if(t){var i=F_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f_e(this,o)}}var nL=function(e){l_e(r,e);var t=d_e(r);function r(n){c_e(this,r);var o;return o=t.call(this,n),tL(ZM(o),"props",void 0),o.props=new Oc(n==null?void 0:n.props),o}return a_e(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(Q);tL(nL,"controlFieldType",a.FieldTypes.DECIMAL);var rL={Designer:wc,Runtime:nL,Property:Oc};function C_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j_(e){return j_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},j_(e)}function iL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&TO(e,t)}function y_e(e,t){return t&&(p_e(t)==="object"||typeof t=="function")?t:C_(e)}function TO(e,t){return TO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TO(e,t)}function p_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uL(e){var t=v_e();return function(){var n=j_(e),o;if(t){var i=j_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y_e(this,o)}}var h_e=function(e){iL(r,e);var t=uL(r);function r(n){oL(this,r);var o;if(o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:y.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:y.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:y.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(_e),V_=function(e){iL(r,e);var t=uL(r);function r(n){oL(this,r);var o;o=t.call(this,n),k_(C_(o),"defaultValueType",void 0),k_(C_(o),"defaultValue",void 0),k_(C_(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:U_.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var c;o.addressType=(c=n==null?void 0:n.addressType)!==null&&c!==void 0?c:["province","city","district"];var l;o.defaultValue=new eI((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:y.getMessage("pleaseChooseAddress"),o}return r}(K);k_(V_,"RuntimeRules",h_e);function cL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m_e(e,t,r){return t&&aL(e.prototype,t),r&&aL(e,r),e}function $O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x_(e){return x_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},x_(e)}function b_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RO(e,t)}function O_e(e,t){return t&&(w_e(t)==="object"||typeof t=="function")?t:cL(e)}function RO(e,t){return RO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RO(e,t)}function w_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P_e(e){var t=E_e();return function(){var n=x_(e),o;if(t){var i=x_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O_e(this,o)}}var U_=function(e){b_e(r,e);var t=P_e(r);function r(n){g_e(this,r);var o;return o=t.call(this,n),$O(cL(o),"props",void 0),o.props=new V_(n==null?void 0:n.props),o}return m_e(r,null,[{key:"controlName",get:function(){return y.getMessage("address")}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(J);$O(U_,"controlFieldType",a.FieldTypes.ADDRESS),$O(U_,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function lL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $_e(e,t,r){return t&&fL(e.prototype,t),r&&fL(e,r),e}function sL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function G_(e){return G_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},G_(e)}function R_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&SO(e,t)}function S_e(e,t){return t&&(N_e(t)==="object"||typeof t=="function")?t:lL(e)}function SO(e,t){return SO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},SO(e,t)}function N_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B_e(e){var t=I_e();return function(){var n=G_(e),o;if(t){var i=G_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S_e(this,o)}}var _L=function(e){R_e(r,e);var t=B_e(r);function r(n){T_e(this,r);var o;return o=t.call(this,n),sL(lL(o),"props",void 0),o.props=new V_(n==null?void 0:n.props),o}return $_e(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(Q);sL(_L,"controlFieldType",a.FieldTypes.ADDRESS);var dL={Designer:U_,Runtime:_L,Property:V_};function hn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function H_(e){return H_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},H_(e)}function pL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NO(e,t)}function A_e(e,t){return t&&(M_e(t)==="object"||typeof t=="function")?t:hn(e)}function NO(e,t){return NO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NO(e,t)}function M_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vL(e){var t=L_e();return function(){var n=H_(e),o;if(t){var i=H_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A_e(this,o)}}var D_e=function(e){pL(r,e);var t=vL(r);function r(n){yL(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Y_=function(e){pL(r,e);var t=vL(r);function r(n){yL(this,r);var o;o=t.call(this,n),gn(hn(o),"showType",void 0),gn(hn(o),"range",void 0),gn(hn(o),"defaultValueType",void 0),gn(hn(o),"multiple",void 0),gn(hn(o),"rangeOptions",void 0),gn(hn(o),"defaultValue",void 0),gn(hn(o),"displayLevel",void 0),gn(hn(o),"showSubDept",void 0),gn(hn(o),"multistageFilling",void 0),gn(hn(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Ec.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:y.getMessage("pleaseSelectDept");var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(E){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new ht(E))})),o}return r}(K);gn(Y_,"RuntimeRules",D_e);function hL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C_e(e,t,r){return t&&gL(e.prototype,t),r&&gL(e,r),e}function z_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function W_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?W_=Reflect.get:W_=function(o,i,u){var c=V_e(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},W_(e,t,r||e)}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function k_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&IO(e,t)}function j_e(e,t){return t&&(x_e(t)==="object"||typeof t=="function")?t:hL(e)}function IO(e,t){return IO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IO(e,t)}function V_e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ci(e),e!==null););return e}function x_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G_e(e){var t=U_e();return function(){var n=Ci(e),o;if(t){var i=Ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j_e(this,o)}}var Ec=function(e){k_e(r,e);var t=G_e(r);function r(n){F_e(this,r);var o;return o=t.call(this,n),z_(hL(o),"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return C_e(r,[{key:"toDataBindModel",value:function(o){var i=W_(Ci(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(J);z_(Ec,"controlName",y.getMessage("department")),z_(Ec,"controlFieldType",a.FieldTypes.DEPARTMENTS),z_(Ec,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.MULTIPLE,a.COMMON_SETTING_TYPE.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}]);function mL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y_e(e,t,r){return t&&bL(e.prototype,t),r&&bL(e,r),e}function OL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function q_(e){return q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},q_(e)}function z_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&BO(e,t)}function W_e(e,t){return t&&(q_e(t)==="object"||typeof t=="function")?t:mL(e)}function BO(e,t){return BO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},BO(e,t)}function q_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X_e(e){var t=K_e();return function(){var n=q_(e),o;if(t){var i=q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W_e(this,o)}}var wL=function(e){z_e(r,e);var t=X_e(r);function r(n){H_e(this,r);var o;return o=t.call(this,n),OL(mL(o),"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return Y_e(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(Q);OL(wL,"controlFieldType",a.FieldTypes.DEPARTMENTS);var EL={Designer:Ec,Runtime:wL,Property:Y_};function PL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q_e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K_(e){return K_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},K_(e)}function Z_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AO(e,t)}function ede(e,t){return t&&(tde(t)==="object"||typeof t=="function")?t:PL(e)}function AO(e,t){return AO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},AO(e,t)}function tde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rde(e){var t=nde();return function(){var n=K_(e),o;if(t){var i=K_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ede(this,o)}}var MO=function(e){Z_e(r,e);var t=rde(r);function r(n){J_e(this,r);var o;o=t.call(this,n),Q_e(PL(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Pc.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:y.getMessage("pleaseEnterAutonumber"),o}return r}(K);function TL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ode(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $L(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ide(e,t,r){return t&&$L(e.prototype,t),r&&$L(e,r),e}function X_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function J_(e){return J_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},J_(e)}function ude(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LO(e,t)}function cde(e,t){return t&&(ade(t)==="object"||typeof t=="function")?t:TL(e)}function LO(e,t){return LO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LO(e,t)}function ade(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fde(e){var t=lde();return function(){var n=J_(e),o;if(t){var i=J_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cde(this,o)}}var Pc=function(e){ude(r,e);var t=fde(r);function r(n){ode(this,r);var o;return o=t.call(this,n),X_(TL(o),"props",void 0),o.props=new MO(n==null?void 0:n.props),o}return ide(r,null,[{key:"controlName",get:function(){return y.getMessage("autoNumber")}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(J);X_(Pc,"controlEventKeys",["on_change"]),X_(Pc,"controlFieldType",a.FieldTypes.AUTO_NUMBER),X_(Pc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function RL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _de(e,t,r){return t&&SL(e.prototype,t),r&&SL(e,r),e}function NL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q_(e){return Q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Q_(e)}function dde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&DO(e,t)}function yde(e,t){return t&&(pde(t)==="object"||typeof t=="function")?t:RL(e)}function DO(e,t){return DO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DO(e,t)}function pde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hde(e){var t=vde();return function(){var n=Q_(e),o;if(t){var i=Q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yde(this,o)}}var IL=function(e){dde(r,e);var t=hde(r);function r(n){sde(this,r);var o;return o=t.call(this,n),NL(RL(o),"props",void 0),o.props=new MO(n==null?void 0:n.props),o}return _de(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(Q);NL(IL,"controlFieldType",a.FieldTypes.AUTO_NUMBER);var BL={Designer:Pc,Runtime:IL,Property:MO};function Mn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z_(e){return Z_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Z_(e)}function CO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kO(e,t)}function gde(e,t){return t&&(mde(t)==="object"||typeof t=="function")?t:Mn(e)}function kO(e,t){return kO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kO(e,t)}function mde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jO(e){var t=bde();return function(){var n=Z_(e),o;if(t){var i=Z_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gde(this,o)}}var Ode=function(e){CO(r,e);var t=jO(r);function r(n){FO(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(Ye),wde=function(e){CO(r,e);var t=jO(r);function r(n){FO(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:y.getMessage("isNotObject"),fields:{result:[{type:"number",message:y.getMessage("isNotNumber")}],unit:{type:"string",message:y.getMessage("isNotString")}}}),o}return r}(_e),Tc=function(e){CO(r,e);var t=jO(r);function r(n){FO(this,r);var o;o=t.call(this,n),mn(Mn(o),"precision",void 0),mn(Mn(o),"micrometer",void 0),mn(Mn(o),"showUpperCase",void 0),mn(Mn(o),"scriptSrc",void 0),mn(Mn(o),"scriptEcho",void 0),mn(Mn(o),"dataBind",void 0),mn(Mn(o),"defaultValue",void 0),mn(Mn(o),"unitPosition",void 0),mn(Mn(o),"calcOnMounted",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.showUpperCase=(c=n==null?void 0:n.showUpperCase)!==null&&c!==void 0?c:!1,o.dataBind=new tI(n==null?void 0:n.dataBind),o.defaultValue=new nI(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:$c.controlName;var f;o.unitPosition=(f=n==null?void 0:n.unitPosition)!==null&&f!==void 0?f:"right";var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:y.getMessage("pleaseEnter");var _;o.scriptEcho=(_=n==null?void 0:n.scriptEcho)!==null&&_!==void 0?_:[];var d;o.scriptSrc=(d=n==null?void 0:n.scriptSrc)!==null&&d!==void 0?d:"";var p;return o.calcOnMounted=(p=n==null?void 0:n.calcOnMounted)!==null&&p!==void 0?p:!1,o}return r}(K);mn(Tc,"Rules",Ode),mn(Tc,"RuntimeRules",wde);function AL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ede(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ML(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pde(e,t,r){return t&&ML(e.prototype,t),r&&ML(e,r),e}function ed(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function td(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?td=Reflect.get:td=function(o,i,u){var c=Rde(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},td(e,t,r||e)}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function Tde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&VO(e,t)}function $de(e,t){return t&&(Sde(t)==="object"||typeof t=="function")?t:AL(e)}function VO(e,t){return VO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},VO(e,t)}function Rde(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ki(e),e!==null););return e}function Sde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ide(e){var t=Nde();return function(){var n=ki(e),o;if(t){var i=ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $de(this,o)}}var $c=function(e){Tde(r,e);var t=Ide(r);function r(n){Ede(this,r);var o;return o=t.call(this,n),ed(AL(o),"props",void 0),o.props=new Tc(n==null?void 0:n.props),o}return Pde(r,[{key:"toDataBindModel",value:function(o){var i=td(ki(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return y.getMessage("calc")}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(J);ed($c,"controlEventKeys",["on_change"]),ed($c,"controlFieldType",a.FieldTypes.CALC),ed($c,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[a.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,a.COMMON_SETTING_TYPE.MICROMETER,a.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function LL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ade(e,t,r){return t&&DL(e.prototype,t),r&&DL(e,r),e}function FL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nd(e){return nd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nd(e)}function Mde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xO(e,t)}function Lde(e,t){return t&&(Dde(t)==="object"||typeof t=="function")?t:LL(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xO(e,t)}function Dde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cde(e){var t=Fde();return function(){var n=nd(e),o;if(t){var i=nd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lde(this,o)}}var CL=function(e){Mde(r,e);var t=Cde(r);function r(n){Bde(this,r);var o;return o=t.call(this,n),FL(LL(o),"props",void 0),o.props=new Tc(n==null?void 0:n.props),o}return Ade(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(Q);FL(CL,"controlFieldType",a.FieldTypes.CALC);var kL={Designer:$c,Runtime:CL,Property:Tc};function ji(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rd(e){return rd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rd(e)}function VL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UO(e,t)}function kde(e,t){return t&&(jde(t)==="object"||typeof t=="function")?t:ji(e)}function UO(e,t){return UO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UO(e,t)}function jde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xL(e){var t=Vde();return function(){var n=rd(e),o;if(t){var i=rd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kde(this,o)}}var xde=function(e){VL(r,e);var t=xL(r);function r(n){jL(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(u,c){if(n.required){var l=c.every(function(f){return!f});return l?Promise.reject(y.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(_e),od=function(e){VL(r,e);var t=xL(r);function r(n){jL(this,r);var o;o=t.call(this,n),Vi(ji(o),"rangeMin",void 0),Vi(ji(o),"rangeMax",void 0),Vi(ji(o),"placeholderStart",void 0),Vi(ji(o),"placeholderEnd",void 0),Vi(ji(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:y.getMessage("min");var f;o.placeholderEnd=(f=n==null?void 0:n.placeholderEnd)!==null&&f!==void 0?f:y.getMessage("max");var s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:ud.controlName,o}return r}(K);Vi(od,"RuntimeRules",xde);function UL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ude(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gde(e,t,r){return t&&GL(e.prototype,t),r&&GL(e,r),e}function GO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function id(e){return id=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},id(e)}function Hde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&HO(e,t)}function Yde(e,t){return t&&(zde(t)==="object"||typeof t=="function")?t:UL(e)}function HO(e,t){return HO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HO(e,t)}function zde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qde(e){var t=Wde();return function(){var n=id(e),o;if(t){var i=id(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yde(this,o)}}var ud=function(e){Hde(r,e);var t=qde(r);function r(n){Ude(this,r);var o;return o=t.call(this,n),GO(UL(o),"props",void 0),o.props=new od(n==null?void 0:n.props),o}return Gde(r,null,[{key:"controlName",get:function(){return y.getMessage("searchNumberRange")}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(J);GO(ud,"controlFieldType",a.FieldTypes.DECIMAL_RANGE),GO(ud,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function HL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xde(e,t,r){return t&&YL(e.prototype,t),r&&YL(e,r),e}function zL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cd(e){return cd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cd(e)}function Jde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&YO(e,t)}function Qde(e,t){return t&&(Zde(t)==="object"||typeof t=="function")?t:HL(e)}function YO(e,t){return YO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YO(e,t)}function Zde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tye(e){var t=eye();return function(){var n=cd(e),o;if(t){var i=cd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qde(this,o)}}var WL=function(e){Jde(r,e);var t=tye(r);function r(n){Kde(this,r);var o;return o=t.call(this,n),zL(HL(o),"props",void 0),o.props=new od(n==null?void 0:n.props),o}return Xde(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(Q);zL(WL,"controlFieldType",a.FieldTypes.DECIMAL_RANGE);var qL={Designer:ud,Runtime:WL,Property:od};function bn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function On(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ad(e){return ad=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ad(e)}function XL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zO(e,t)}function nye(e,t){return t&&(rye(t)==="object"||typeof t=="function")?t:bn(e)}function zO(e,t){return zO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zO(e,t)}function rye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JL(e){var t=oye();return function(){var n=ad(e),o;if(t){var i=ad(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nye(this,o)}}var iye=function(e){XL(r,e);var t=JL(r);function r(n){KL(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(_e),ld=function(e){XL(r,e);var t=JL(r);function r(n){KL(this,r);var o,i;o=t.call(this,n),On(bn(o),"rangeMin",void 0),On(bn(o),"rangeMax",void 0),On(bn(o),"placeholderStart",void 0),On(bn(o),"placeholderEnd",void 0),On(bn(o),"dateType",void 0),On(bn(o),"dateFormat",void 0),On(bn(o),"commonTimeSetting",void 0),On(bn(o),"setValueType",void 0),On(bn(o),"defaultValue",void 0),On(bn(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:a.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var f;o.commonTimeSetting=(f=n==null?void 0:n.commonTimeSetting)!==null&&f!==void 0?f:[];var s;o.setValueType=(s=n==null?void 0:n.setValueType)!==null&&s!==void 0?s:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var d;o.rangeMax=(d=n==null?void 0:n.rangeMax)!==null&&d!==void 0?d:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:y.getMessage("startDate");var m;o.placeholderEnd=(m=n==null?void 0:n.placeholderEnd)!==null&&m!==void 0?m:y.getMessage("endDate");var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:sd.controlName;var E;return o.limitDateList=(E=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(v){return new Xl(v)}))!==null&&E!==void 0?E:[],o}return r}(K);On(ld,"RuntimeRules",iye);function QL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cye(e,t,r){return t&&ZL(e.prototype,t),r&&ZL(e,r),e}function WO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fd(e){return fd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fd(e)}function aye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qO(e,t)}function lye(e,t){return t&&(fye(t)==="object"||typeof t=="function")?t:QL(e)}function qO(e,t){return qO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qO(e,t)}function fye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ye(e){var t=sye();return function(){var n=fd(e),o;if(t){var i=fd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lye(this,o)}}var sd=function(e){aye(r,e);var t=_ye(r);function r(n){uye(this,r);var o;return o=t.call(this,n),WO(QL(o),"props",void 0),o.props=new ld(n==null?void 0:n.props),o}return cye(r,null,[{key:"controlName",get:function(){return y.getMessage("timescope")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(J);WO(sd,"controlFieldType",a.FieldTypes.ARRAY),WO(sd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function eD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yye(e,t,r){return t&&tD(e.prototype,t),r&&tD(e,r),e}function nD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _d(e){return _d=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_d(e)}function pye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&KO(e,t)}function vye(e,t){return t&&(hye(t)==="object"||typeof t=="function")?t:eD(e)}function KO(e,t){return KO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KO(e,t)}function hye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mye(e){var t=gye();return function(){var n=_d(e),o;if(t){var i=_d(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vye(this,o)}}var rD=function(e){pye(r,e);var t=mye(r);function r(n){dye(this,r);var o;return o=t.call(this,n),nD(eD(o),"props",void 0),o.props=new ld(n==null?void 0:n.props),o}return yye(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(Q);nD(rD,"controlFieldType",a.FieldTypes.ARRAY);var oD={Designer:sd,Runtime:rD,Property:ld};function Rc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dd(e){return dd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dd(e)}function JO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&QO(e,t)}function bye(e,t){return t&&(Oye(t)==="object"||typeof t=="function")?t:Rc(e)}function QO(e,t){return QO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},QO(e,t)}function Oye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZO(e){var t=wye();return function(){var n=dd(e),o;if(t){var i=dd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bye(this,o)}}var Eye=function(e){JO(r,e);var t=ZO(r);function r(n){XO(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(Ye),Pye=function(e){JO(r,e);var t=ZO(r);function r(n){XO(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(_e),Sc=function(e){JO(r,e);var t=ZO(r);function r(n){XO(this,r);var o;o=t.call(this,n),xi(Rc(o),"controlExportName",void 0),xi(Rc(o),"permissions",void 0),xi(Rc(o),"defaultValue",void 0),xi(Rc(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ui.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var f;return o.isInlineEdit=(f=n==null?void 0:n.isInlineEdit)!==null&&f!==void 0?f:!1,o}return r}(K);xi(Sc,"Rules",Eye),xi(Sc,"RuntimeRules",Pye);function iD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $ye(e,t,r){return t&&uD(e.prototype,t),r&&uD(e,r),e}function Nc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yd(e){return yd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yd(e)}function Rye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ew(e,t)}function Sye(e,t){return t&&(Nye(t)==="object"||typeof t=="function")?t:iD(e)}function ew(e,t){return ew=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ew(e,t)}function Nye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bye(e){var t=Iye();return function(){var n=yd(e),o;if(t){var i=yd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sye(this,o)}}var Ui=function(e){Rye(r,e);var t=Bye(r);function r(n){Tye(this,r);var o;return o=t.call(this,n),Nc(iD(o),"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return $ye(r,null,[{key:"controlName",get:function(){return y.getMessage("vueFormItem")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(J);Nc(Ui,"controlFieldType",a.FieldTypes.ANY),Nc(Ui,"controlEventKeys",[]),Nc(Ui,"slots",["grid-table-toolbar-slot",Xv.DEFAULT]),Nc(Ui,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,a.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function cD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mye(e,t,r){return t&&aD(e.prototype,t),r&&aD(e,r),e}function lD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pd(e){return pd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pd(e)}function Lye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tw(e,t)}function Dye(e,t){return t&&(Fye(t)==="object"||typeof t=="function")?t:cD(e)}function tw(e,t){return tw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tw(e,t)}function Fye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kye(e){var t=Cye();return function(){var n=pd(e),o;if(t){var i=pd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dye(this,o)}}var fD=function(e){Lye(r,e);var t=kye(r);function r(n){Aye(this,r);var o;return o=t.call(this,n),lD(cD(o),"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return Mye(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(Q);lD(fD,"controlFieldType",a.FieldTypes.ANY);var sD={Designer:Ui,Runtime:fD,Property:Sc};function et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vd(e){return vd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vd(e)}function dD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nw(e,t)}function jye(e,t){return t&&(Vye(t)==="object"||typeof t=="function")?t:et(e)}function nw(e,t){return nw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nw(e,t)}function Vye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yD(e){var t=xye();return function(){var n=vd(e),o;if(t){var i=vd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jye(this,o)}}var Uye=function(e){dD(r,e);var t=yD(r);function r(n){_D(this,r);var o;return o=t.call(this,n),tt(et(o),"listPageBind",[{type:"object",message:y.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:y.getMessage("isNotString")},{type:"string",required:!0,message:y.getMessage("pleaseEnterList")}]}}]),tt(et(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:y.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(so),hd=function(e){dD(r,e);var t=yD(r);function r(n){_D(this,r);var o;o=t.call(this,n),tt(et(o),"options",void 0),tt(et(o),"optionConfig",void 0),tt(et(o),"defaultValue",void 0),tt(et(o),"listPageBind",void 0),tt(et(o),"datasourceBind",void 0),tt(et(o),"multistageFilling",void 0),tt(et(o),"viewFormModelType",void 0),tt(et(o),"canViewForm",void 0),tt(et(o),"formBind",void 0),tt(et(o),"openMultistageFilling",void 0),tt(et(o),"showSelectedDetail",void 0),tt(et(o),"selectedContentConfig",void 0),tt(et(o),"optionDisplayConfig",void 0),tt(et(o),"canSearch",void 0);var i;o.options=Nn((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new nl(n==null?void 0:n.listPageBind),o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Ic.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:y.getMessage("pleaseSelect");var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var s;o.openMultistageFilling=(s=n==null?void 0:n.openMultistageFilling)!==null&&s!==void 0?s:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new il(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(E){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new ht(E))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var p;o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",o.formBind=new fo(n==null?void 0:n.formBind);var m;o.optionDisplayConfig=(m=n==null?void 0:n.optionDisplayConfig)!==null&&m!==void 0?m:[];var h;return o.canSearch=(h=n==null?void 0:n.canSearch)!==null&&h!==void 0?h:!1,o}return r}(K);tt(hd,"Rules",Uye);function pD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Hye(e,t,r){return t&&vD(e.prototype,t),r&&vD(e,r),e}function gd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function md(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?md=Reflect.get:md=function(o,i,u){var c=Wye(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},md(e,t,r||e)}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function Yye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rw(e,t)}function zye(e,t){return t&&(qye(t)==="object"||typeof t=="function")?t:pD(e)}function rw(e,t){return rw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rw(e,t)}function Wye(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gi(e),e!==null););return e}function qye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xye(e){var t=Kye();return function(){var n=Gi(e),o;if(t){var i=Gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zye(this,o)}}var Ic=function(e){Yye(r,e);var t=Xye(r);function r(n){Gye(this,r);var o;return o=t.call(this,n),gd(pD(o),"props",void 0),o.props=new hd(n==null?void 0:n.props),o}return Hye(r,[{key:"toDataBindModel",value:function(o){var i=md(Gi(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.optionDisplayConfig;i.props.optionDisplayConfig=u}return i}}],[{key:"controlName",get:function(){return y.getMessage("selectRelation")}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(J);gd(Ic,"controlFieldType",a.FieldTypes.VARCHAR),gd(Ic,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,a.COMMON_SETTING_TYPE.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.CAN_VIEW_FORM,a.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}]),gd(Ic,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function hD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qye(e,t,r){return t&&gD(e.prototype,t),r&&gD(e,r),e}function mD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bd(e){return bd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bd(e)}function Zye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ow(e,t)}function epe(e,t){return t&&(tpe(t)==="object"||typeof t=="function")?t:hD(e)}function ow(e,t){return ow=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ow(e,t)}function tpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function npe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rpe(e){var t=npe();return function(){var n=bd(e),o;if(t){var i=bd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return epe(this,o)}}var bD=function(e){Zye(r,e);var t=rpe(r);function r(n){Jye(this,r);var o;return o=t.call(this,n),mD(hD(o),"props",void 0),o.props=new hd(n==null?void 0:n.props),o}return Qye(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(Q);mD(bD,"controlFieldType",a.FieldTypes.VARCHAR);var OD={Designer:Ic,Runtime:bD,Property:hd};function ope(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ipe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Od(e){return Od=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Od(e)}function upe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iw(e,t)}function cpe(e,t){return t&&(ape(t)==="object"||typeof t=="function")?t:ope(e)}function iw(e,t){return iw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iw(e,t)}function ape(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fpe(e){var t=lpe();return function(){var n=Od(e),o;if(t){var i=Od(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cpe(this,o)}}var uw=function(e){upe(r,e);var t=fpe(r);function r(n){return ipe(this,r),t.call(this,n)}return r}(Si);function wD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function spe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ED(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _pe(e,t,r){return t&&ED(e.prototype,t),r&&ED(e,r),e}function PD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wd(e){return wd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wd(e)}function dpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cw(e,t)}function ype(e,t){return t&&(ppe(t)==="object"||typeof t=="function")?t:wD(e)}function cw(e,t){return cw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cw(e,t)}function ppe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hpe(e){var t=vpe();return function(){var n=wd(e),o;if(t){var i=wd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ype(this,o)}}var TD=function(e){dpe(r,e);var t=hpe(r);function r(n){spe(this,r);var o;return o=t.call(this,n),PD(wD(o),"props",void 0),o.props=new uw(n==null?void 0:n.props),o}return _pe(r,null,[{key:"controlName",get:function(){return y.getMessage("input")}},{key:"controlType",get:function(){return"search-input"}}]),r}(Ni);PD(TD,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}]);function $D(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mpe(e,t,r){return t&&RD(e.prototype,t),r&&RD(e,r),e}function SD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ed(e){return Ed=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ed(e)}function bpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aw(e,t)}function Ope(e,t){return t&&(wpe(t)==="object"||typeof t=="function")?t:$D(e)}function aw(e,t){return aw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aw(e,t)}function wpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Epe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ppe(e){var t=Epe();return function(){var n=Ed(e),o;if(t){var i=Ed(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ope(this,o)}}var ND=function(e){bpe(r,e);var t=Ppe(r);function r(n){gpe(this,r);var o;return o=t.call(this,n),SD($D(o),"props",void 0),o.props=new uw(n==null?void 0:n.props),o}return mpe(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(Q);SD(ND,"controlFieldType",a.FieldTypes.VARCHAR);var ID={Designer:TD,Runtime:ND,Property:uw};function Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pd(e){return Pd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pd(e)}function fw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sw(e,t)}function Tpe(e,t){return t&&($pe(t)==="object"||typeof t=="function")?t:Ie(e)}function sw(e,t){return sw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sw(e,t)}function $pe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _w(e){var t=Rpe();return function(){var n=Pd(e),o;if(t){var i=Pd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tpe(this,o)}}var Spe=function(e){fw(r,e);var t=_w(r);function r(n){lw(this,r);var o;return o=t.call(this,n),Be(Ie(o),"datasourceBind",[{type:"object",message:y.getMessage("isNotObject")}]),Xu.call(Ie(o),n,Ur.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:y.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:y.getMessage("rootNodeIsRequired")}}}]),o}return r}(Ye),Npe=function(e){fw(r,e);var t=_w(r);function r(n){lw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Bc=function(e){fw(r,e);var t=_w(r);function r(n){lw(this,r);var o,i;o=t.call(this,n),Be(Ie(o),"placeholder",void 0),Be(Ie(o),"multiple",void 0),Be(Ie(o),"canSearch",void 0),Be(Ie(o),"levelType",void 0),Be(Ie(o),"optionalLevel",void 0),Be(Ie(o),"containsSubNode",void 0),Be(Ie(o),"defaultDisplay",void 0),Be(Ie(o),"isShowIncludeSub",void 0),Be(Ie(o),"isDefaultCheckSub",void 0),Be(Ie(o),"isShowFilterItem",void 0),Be(Ie(o),"defaultCollapse",void 0),Be(Ie(o),"defaultCollapseLevel",void 0),Be(Ie(o),"optionConfig","datasource"),Be(Ie(o),"datasourceBind",void 0),Be(Ie(o),"filterItemDatasourceBind",void 0),Be(Ie(o),"multistageFilling",void 0),Be(Ie(o),"defaultValue",void 0),Be(Ie(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ur.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:y.getMessage("pleaseSelect");var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var f;o.canSearch=(f=n==null?void 0:n.canSearch)!==null&&f!==void 0?f:!0;var s;o.levelType=(s=n==null?void 0:n.levelType)!==null&&s!==void 0?s:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var d;o.containsSubNode=(d=n==null?void 0:n.containsSubNode)!==null&&d!==void 0?d:!1;var p;o.isShowFilterItem=(p=n==null?void 0:n.isShowFilterItem)!==null&&p!==void 0?p:!1;var m;o.isShowIncludeSub=(m=n==null?void 0:n.isShowIncludeSub)!==null&&m!==void 0?m:!1;var h;o.isDefaultCheckSub=(h=n==null?void 0:n.isDefaultCheckSub)!==null&&h!==void 0?h:!1;var E;o.defaultCollapse=(E=n==null?void 0:n.defaultCollapse)!==null&&E!==void 0?E:"all";var v;o.defaultCollapseLevel=(v=n==null?void 0:n.defaultCollapseLevel)!==null&&v!==void 0?v:1;var R;o.datasourceBind=new gg((R=n==null?void 0:n.datasourceBind)!==null&&R!==void 0?R:{attributes:Ur.controlCustomAttributes});var b;o.filterItemDatasourceBind=new gg((b=n==null?void 0:n.filterItemDatasourceBind)!==null&&b!==void 0?b:{attributes:Ur.controlCustomAttributes});var O;o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1;var S;o.defaultDisplay=(S=n==null?void 0:n.defaultDisplay)!==null&&S!==void 0?S:!1;var T;o.multistageFilling=(T=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(I){return new ht(I)}))!==null&&T!==void 0?T:[];var $;return o.defaultValue=($=n==null?void 0:n.defaultValue)!==null&&$!==void 0?$:[],o}return r}(K);Be(Bc,"Rules",Spe),Be(Bc,"RuntimeRules",Npe);function BD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ipe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bpe(e,t,r){return t&&AD(e.prototype,t),r&&AD(e,r),e}function Td(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $d(e){return $d=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$d(e)}function Ape(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dw(e,t)}function Mpe(e,t){return t&&(Lpe(t)==="object"||typeof t=="function")?t:BD(e)}function dw(e,t){return dw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dw(e,t)}function Lpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fpe(e){var t=Dpe();return function(){var n=$d(e),o;if(t){var i=$d(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mpe(this,o)}}var Ur=function(e){Ape(r,e);var t=Fpe(r);function r(n){Ipe(this,r);var o;return o=t.call(this,n),Td(BD(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return Bpe(r,null,[{key:"controlName",get:function(){return y.getMessage("tree")}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(J);Td(Ur,"controlEventKeys",["on_change","on_click"]),Td(Ur,"controlFieldType",a.FieldTypes.ARRAY),Td(Ur,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.MULTIPLE,a.COMMON_SETTING_TYPE.CAN_SEARCH,a.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,a.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,a.COMMON_SETTING_TYPE.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}]);function MD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kpe(e,t,r){return t&&LD(e.prototype,t),r&&LD(e,r),e}function DD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rd(e){return Rd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rd(e)}function jpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yw(e,t)}function Vpe(e,t){return t&&(xpe(t)==="object"||typeof t=="function")?t:MD(e)}function yw(e,t){return yw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yw(e,t)}function xpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Upe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gpe(e){var t=Upe();return function(){var n=Rd(e),o;if(t){var i=Rd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vpe(this,o)}}var FD=function(e){jpe(r,e);var t=Gpe(r);function r(n){Cpe(this,r);var o;return o=t.call(this,n),DD(MD(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return kpe(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(Q);DD(FD,"controlFieldType",a.FieldTypes.ARRAY);var CD={Designer:Ur,Runtime:FD,Property:Bc};function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sd(e){return Sd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sd(e)}function vw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hw(e,t)}function Hpe(e,t){return t&&(Ype(t)==="object"||typeof t=="function")?t:nt(e)}function hw(e,t){return hw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hw(e,t)}function Ype(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gw(e){var t=zpe();return function(){var n=Sd(e),o;if(t){var i=Sd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hpe(this,o)}}var Wpe=function(e){vw(r,e);var t=gw(r);function r(n){pw(this,r);var o;return o=t.call(this,n),rt(nt(o),"datasourceBind",[{type:"object",message:y.getMessage("isNotObject")}]),rt(nt(o),"externalScope",{type:"any"}),Xu.call(nt(o),n,Hi.controlCustomAttributes),n.externalType===a.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:y.getMessage("pleaseAssignExternal")}),o}return r}(Ye),qpe=function(e){vw(r,e);var t=gw(r);function r(n){pw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Ac=function(e){vw(r,e);var t=gw(r);function r(n){pw(this,r);var o;o=t.call(this,n),rt(nt(o),"showType",void 0),rt(nt(o),"range",void 0),rt(nt(o),"rangeOptions",void 0),rt(nt(o),"multiple",void 0),rt(nt(o),"defaultValueType",void 0),rt(nt(o),"defaultValue",void 0),rt(nt(o),"multistageFilling",void 0),rt(nt(o),"datasourceBind",void 0),rt(nt(o),"datasourceType",void 0),rt(nt(o),"insideType",void 0),rt(nt(o),"externalType",void 0),rt(nt(o),"externalScope",void 0),rt(nt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Hi.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:y.getMessage("pleaseEnterNameorEmail");var p;o.datasourceBind=new Yu((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:Hi.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:a.OrganizeType.INTERNAL;var h;o.insideType=(h=n==null?void 0:n.insideType)!==null&&h!==void 0?h:a.InternalType.ADMIN;var E;o.externalType=(E=n==null?void 0:n.externalType)!==null&&E!==void 0?E:a.AssignType.ALL;var v;o.externalScope=(v=n==null?void 0:n.externalScope)!==null&&v!==void 0?v:[];var R;return o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new ht(b))})),o}return r}(K);rt(Ac,"Rules",Wpe),rt(Ac,"RuntimeRules",qpe);function kD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xpe(e,t,r){return t&&jD(e.prototype,t),r&&jD(e,r),e}function mw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nd(e){return Nd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nd(e)}function Jpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bw(e,t)}function Qpe(e,t){return t&&(Zpe(t)==="object"||typeof t=="function")?t:kD(e)}function bw(e,t){return bw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bw(e,t)}function Zpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tve(e){var t=eve();return function(){var n=Nd(e),o;if(t){var i=Nd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qpe(this,o)}}var Hi=function(e){Jpe(r,e);var t=tve(r);function r(n){Kpe(this,r);var o;return o=t.call(this,n),mw(kD(o),"props",void 0),o.props=new Ac(n==null?void 0:n.props),o}return Xpe(r,null,[{key:"controlName",get:function(){return y.getMessage("people")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(J);mw(Hi,"controlFieldType",a.FieldTypes.EMPLOYEES),mw(Hi,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.MULTIPLE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function VD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rve(e,t,r){return t&&xD(e.prototype,t),r&&xD(e,r),e}function UD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Id(e){return Id=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Id(e)}function ove(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ow(e,t)}function ive(e,t){return t&&(uve(t)==="object"||typeof t=="function")?t:VD(e)}function Ow(e,t){return Ow=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ow(e,t)}function uve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ave(e){var t=cve();return function(){var n=Id(e),o;if(t){var i=Id(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ive(this,o)}}var GD=function(e){ove(r,e);var t=ave(r);function r(n){nve(this,r);var o;return o=t.call(this,n),UD(VD(o),"props",void 0),o.props=new Ac(n==null?void 0:n.props),o}return rve(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(Q);UD(GD,"controlFieldType",a.FieldTypes.EMPLOYEES);var HD={Designer:Hi,Runtime:GD,Property:Ac};function Ln(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bd(e){return Bd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bd(e)}function zD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ww(e,t)}function lve(e,t){return t&&(fve(t)==="object"||typeof t=="function")?t:Ln(e)}function ww(e,t){return ww=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ww(e,t)}function fve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WD(e){var t=sve();return function(){var n=Bd(e),o;if(t){var i=Bd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lve(this,o)}}var _ve=function(e){zD(r,e);var t=WD(r);function r(n){YD(this,r);var o;return o=t.call(this,n),Dn(Ln(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:y.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:y.getMessage("pleaseSelectOnlyOne"),fields:n.signatureConfig.undersignedList.reduce(function(i,u,c){return i[c]={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:y.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:y.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator:function(f,s,_){if(u.type==="public"&&ao(s.value)&&s.value.length===0){_(y.getMessage("pleaseSelectPhoneOrEmail"));return}_()}},company:{type:"object",required:!0,validator:function(f,s,_){if(u.type==="public"&&u.signatureType.includes("company")&&ao(s.value)&&s.value.length===0){_(y.getMessage("pleaseSelectCompanyName"));return}_()}}}},i},{})}}},o}return r}(Ye),Ad=function(e){zD(r,e);var t=WD(r);function r(n){YD(this,r);var o;o=t.call(this,n),Dn(Ln(o),"buttonType",void 0),Dn(Ln(o),"content",void 0),Dn(Ln(o),"showType",void 0),Dn(Ln(o),"color",void 0),Dn(Ln(o),"icon",void 0),Dn(Ln(o),"command",""),Dn(Ln(o),"isLoading",!1),Dn(Ln(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Mc.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary";var s;return o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:"iconfenlei2",o.signatureConfig=new _B(n==null?void 0:n.signatureConfig),o}return r}(K);Dn(Ad,"Rules",_ve);function qD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yve(e,t,r){return t&&KD(e.prototype,t),r&&KD(e,r),e}function Md(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ld(e){return Ld=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ld(e)}function pve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ew(e,t)}function vve(e,t){return t&&(hve(t)==="object"||typeof t=="function")?t:qD(e)}function Ew(e,t){return Ew=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ew(e,t)}function hve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mve(e){var t=gve();return function(){var n=Ld(e),o;if(t){var i=Ld(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vve(this,o)}}var Mc=function(e){pve(r,e);var t=mve(r);function r(n){dve(this,r);var o;return o=t.call(this,n),Md(qD(o),"props",void 0),o.props=new Ad(n==null?void 0:n.props),o}return yve(r,null,[{key:"controlName",get:function(){return y.getMessage("electronicSignature")}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(J);Md(Mc,"controlEventKeys",["on_click","on_click_finish"]),Md(Mc,"controlFieldType",a.FieldTypes.VARCHAR),Md(Mc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.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}]);function XD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ove(e,t,r){return t&&JD(e.prototype,t),r&&JD(e,r),e}function QD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dd(e){return Dd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dd(e)}function wve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pw(e,t)}function Eve(e,t){return t&&(Pve(t)==="object"||typeof t=="function")?t:XD(e)}function Pw(e,t){return Pw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pw(e,t)}function Pve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ve(e){var t=Tve();return function(){var n=Dd(e),o;if(t){var i=Dd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eve(this,o)}}var ZD=function(e){wve(r,e);var t=$ve(r);function r(n){bve(this,r);var o;return o=t.call(this,n),QD(XD(o),"props",void 0),o.props=new Ad(n==null?void 0:n.props),o}return Ove(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(Q);QD(ZD,"controlFieldType",a.FieldTypes.VARCHAR);var eF={Designer:Mc,Runtime:ZD,Property:Ad};function ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fd(e){return Fd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fd(e)}function $w(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rw(e,t)}function Rve(e,t){return t&&(Sve(t)==="object"||typeof t=="function")?t:ft(e)}function Rw(e,t){return Rw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rw(e,t)}function Sve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sw(e){var t=Nve();return function(){var n=Fd(e),o;if(t){var i=Fd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rve(this,o)}}var Ive=function(e){$w(r,e);var t=Sw(r);function r(n){Tw(this,r);var o;return o=t.call(this,n),ot(ft(o),"content",{type:"string",required:!0,message:y.getMessage("pleaseEnterButtonContent")}),ot(ft(o),"canAdd",void 0),ot(ft(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l(y.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l(y.getMessage("pleaseEnterFileName"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(u,c,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(y.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(Ye),Bve=function(e){$w(r,e);var t=Sw(r);function r(n){Tw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Lc=function(e){$w(r,e);var t=Sw(r);function r(n){Tw(this,r);var o;o=t.call(this,n),ot(ft(o),"content",void 0),ot(ft(o),"canAdd",void 0),ot(ft(o),"addLocal",void 0),ot(ft(o),"addOnline",void 0),ot(ft(o),"canDownload",void 0),ot(ft(o),"canEdit",void 0),ot(ft(o),"canExport",void 0),ot(ft(o),"canDelete",void 0),ot(ft(o),"wpsSetting",void 0),ot(ft(o),"maxSize",void 0),ot(ft(o),"defaultValue",void 0),ot(ft(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Dc.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var c;o.canAdd=(c=n==null?void 0:n.canAdd)!==null&&c!==void 0?c:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var f;o.addOnline=(f=n==null?void 0:n.addOnline)!==null&&f!==void 0?f:!0;var s;o.canEdit=(s=n==null?void 0:n.canEdit)!==null&&s!==void 0?s:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var d;o.canExport=(d=n==null?void 0:n.canExport)!==null&&d!==void 0?d:!0;var p;o.canDelete=(p=n==null?void 0:n.canDelete)!==null&&p!==void 0?p:!1;var m;o.maxSize=(m=n==null?void 0:n.maxSize)!==null&&m!==void 0?m:Ife;var h;o.defaultValue=(h=n==null?void 0:n.defaultValue)!==null&&h!==void 0?h:[],o.wpsSetting=new dB(n==null?void 0:n.wpsSetting);var E;return o.revisionsMode=(E=n==null?void 0:n.revisionsMode)!==null&&E!==void 0?E:!1,o}return r}(K);ot(Lc,"Rules",Ive),ot(Lc,"RuntimeRules",Bve);function tF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ave(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mve(e,t,r){return t&&nF(e.prototype,t),r&&nF(e,r),e}function Cd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kd(e){return kd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kd(e)}function Lve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nw(e,t)}function Dve(e,t){return t&&(Fve(t)==="object"||typeof t=="function")?t:tF(e)}function Nw(e,t){return Nw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nw(e,t)}function Fve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kve(e){var t=Cve();return function(){var n=kd(e),o;if(t){var i=kd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dve(this,o)}}var Dc=function(e){Lve(r,e);var t=kve(r);function r(n){Ave(this,r);var o;return o=t.call(this,n),Cd(tF(o),"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return Mve(r,null,[{key:"controlName",get:function(){return y.getMessage("WPS")}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(J);Cd(Dc,"controlEventKeys",["on_change","on_wps_open"]),Cd(Dc,"controlFieldType",a.FieldTypes.FILE),Cd(Dc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,a.COMMON_SETTING_TYPE.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}]);function rF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vve(e,t,r){return t&&oF(e.prototype,t),r&&oF(e,r),e}function iF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jd(e){return jd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jd(e)}function xve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iw(e,t)}function Uve(e,t){return t&&(Gve(t)==="object"||typeof t=="function")?t:rF(e)}function Iw(e,t){return Iw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iw(e,t)}function Gve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yve(e){var t=Hve();return function(){var n=jd(e),o;if(t){var i=jd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uve(this,o)}}var uF=function(e){xve(r,e);var t=Yve(r);function r(n){jve(this,r);var o;return o=t.call(this,n),iF(rF(o),"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return Vve(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(Q);iF(uF,"controlFieldType",a.FieldTypes.FILE);var cF={Designer:Dc,Runtime:uF,Property:Lc};function Ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vd(e){return Vd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vd(e)}function Aw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mw(e,t)}function zve(e,t){return t&&(Wve(t)==="object"||typeof t=="function")?t:Ke(e)}function Mw(e,t){return Mw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mw(e,t)}function Wve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lw(e){var t=qve();return function(){var n=Vd(e),o;if(t){var i=Vd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zve(this,o)}}var Kve=function(e){Aw(r,e);var t=Lw(r);function r(n){Bw(this,r);var o;return o=t.call(this,n),Xe(Ke(o),"datasourceBind",[{type:"object",message:y.getMessage("isNotObject")}]),Xe(Ke(o),"businessScope",{type:"any"}),Xu.call(Ke(o),n,vo.controlCustomAttributes),n.businessType===a.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:y.getMessage("pleaseAssignBusiness")}),o}return r}(Ye),Xve=function(e){Aw(r,e);var t=Lw(r);function r(n){Bw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Fc=function(e){Aw(r,e);var t=Lw(r);function r(n){Bw(this,r);var o;o=t.call(this,n),Xe(Ke(o),"showType",void 0),Xe(Ke(o),"range",void 0),Xe(Ke(o),"defaultValueType",void 0),Xe(Ke(o),"multiple",void 0),Xe(Ke(o),"rangeOptions",void 0),Xe(Ke(o),"defaultValue",void 0),Xe(Ke(o),"displayLevel",void 0),Xe(Ke(o),"showSubDept",void 0),Xe(Ke(o),"multistageFilling",void 0),Xe(Ke(o),"datasourceBind",void 0),Xe(Ke(o),"datasourceType",void 0),Xe(Ke(o),"businessType",void 0),Xe(Ke(o),"businessScope",void 0),Xe(Ke(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:vo.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:y.getMessage("pleaseSelectDept");var h;o.datasourceBind=new Yu((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:vo.controlCustomAttributes});var E;o.datasourceType=(E=n==null?void 0:n.datasourceType)!==null&&E!==void 0?E:a.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var R;o.businessType=(R=n==null?void 0:n.businessType)!==null&&R!==void 0?R:a.AssignType.ALL;var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var S;(S=o.multistageFilling)===null||S===void 0||S.push(new ht(O))})),o}return r}(K);Xe(Fc,"Rules",Kve),Xe(Fc,"RuntimeRules",Xve);function aF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qve(e,t,r){return t&&lF(e.prototype,t),r&&lF(e,r),e}function xd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ud(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ud=Reflect.get:Ud=function(o,i,u){var c=the(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Ud(e,t,r||e)}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function Zve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dw(e,t)}function ehe(e,t){return t&&(nhe(t)==="object"||typeof t=="function")?t:aF(e)}function Dw(e,t){return Dw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dw(e,t)}function the(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yi(e),e!==null););return e}function nhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ohe(e){var t=rhe();return function(){var n=Yi(e),o;if(t){var i=Yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ehe(this,o)}}var vo=function(e){Zve(r,e);var t=ohe(r);function r(n){Jve(this,r);var o;return o=t.call(this,n),xd(aF(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return Qve(r,[{key:"toDataBindModel",value:function(o){var i=Ud(Yi(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(J);xd(vo,"controlName",y.getMessage("department")),xd(vo,"controlFieldType",a.FieldTypes.DEPARTMENTS),xd(vo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.MULTIPLE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function fF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ihe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uhe(e,t,r){return t&&sF(e.prototype,t),r&&sF(e,r),e}function _F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gd(e){return Gd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gd(e)}function che(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fw(e,t)}function ahe(e,t){return t&&(lhe(t)==="object"||typeof t=="function")?t:fF(e)}function Fw(e,t){return Fw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fw(e,t)}function lhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function she(e){var t=fhe();return function(){var n=Gd(e),o;if(t){var i=Gd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ahe(this,o)}}var dF=function(e){che(r,e);var t=she(r);function r(n){ihe(this,r);var o;return o=t.call(this,n),_F(fF(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return uhe(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(Q);_F(dF,"controlFieldType",a.FieldTypes.DEPARTMENTS);var yF={Designer:vo,Runtime:dF,Property:Fc};function we(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hd(e){return Hd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hd(e)}function kw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jw(e,t)}function _he(e,t){return t&&(dhe(t)==="object"||typeof t=="function")?t:we(e)}function jw(e,t){return jw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jw(e,t)}function dhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vw(e){var t=yhe();return function(){var n=Hd(e),o;if(t){var i=Hd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _he(this,o)}}var phe=function(e){kw(r,e);var t=Vw(r);function r(n){Cw(this,r);var o;return o=t.call(this,n),Ee(we(o),"datasourceBind",[{type:"object",message:y.getMessage("isNotObject")}]),Ee(we(o),"businessScope",{type:"any"}),Xu.call(we(o),n,Wi.controlCustomAttributes),n.businessType===a.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:y.getMessage("pleaseAssignBusiness")}),o}return r}(Ye),vhe=function(e){kw(r,e);var t=Vw(r);function r(n){Cw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Cc=function(e){kw(r,e);var t=Vw(r);function r(n){Cw(this,r);var o;o=t.call(this,n),Ee(we(o),"showType",void 0),Ee(we(o),"range",void 0),Ee(we(o),"defaultValueType",void 0),Ee(we(o),"multiple",void 0),Ee(we(o),"rangeOptions",void 0),Ee(we(o),"defaultValue",void 0),Ee(we(o),"displayLevel",void 0),Ee(we(o),"showSubDept",void 0),Ee(we(o),"multistageFilling",void 0),Ee(we(o),"datasourceBind",void 0),Ee(we(o),"listPageBind",void 0),Ee(we(o),"datasourceType",void 0),Ee(we(o),"businessType",void 0),Ee(we(o),"businessScope",void 0),Ee(we(o),"organizingFunction",void 0),Ee(we(o),"organizationView",void 0),Ee(we(o),"openMultistageFilling",void 0),Ee(we(o),"showSelectedDetail",void 0),Ee(we(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all",o.listPageBind=new nl(n==null?void 0:n.listPageBind);var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Wi.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:y.getMessage("pleaseSelectOrg");var h;o.datasourceBind=new WN((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Wi.controlCustomAttributes});var E;o.datasourceType=(E=n==null?void 0:n.datasourceType)!==null&&E!==void 0?E:a.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var R;o.businessType=(R=n==null?void 0:n.businessType)!==null&&R!==void 0?R:a.AssignType.ALL;var b;o.organizingFunction=(b=n==null?void 0:n.organizingFunction)!==null&&b!==void 0?b:void 0;var O;o.organizationView=(O=n==null?void 0:n.organizationView)!==null&&O!==void 0?O:void 0;var S;o.showSelectedDetail=(S=n==null?void 0:n.showSelectedDetail)!==null&&S!==void 0?S:!1,o.selectedContentConfig=new il(n==null?void 0:n.selectedContentConfig);var T;return o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var I;(I=o.multistageFilling)===null||I===void 0||I.push(new ht($))})),o}return r}(K);Ee(Cc,"Rules",phe),Ee(Cc,"RuntimeRules",vhe);function pF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hhe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ghe(e,t,r){return t&&vF(e.prototype,t),r&&vF(e,r),e}function xw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yd(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Yd=Reflect.get:Yd=function(o,i,u){var c=Ohe(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Yd(e,t,r||e)}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function mhe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uw(e,t)}function bhe(e,t){return t&&(whe(t)==="object"||typeof t=="function")?t:pF(e)}function Uw(e,t){return Uw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uw(e,t)}function Ohe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zi(e),e!==null););return e}function whe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ehe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Phe(e){var t=Ehe();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bhe(this,o)}}var Wi=function(e){mhe(r,e);var t=Phe(r);function r(n){hhe(this,r);var o;return o=t.call(this,n),xw(pF(o),"props",void 0),o.props=new Cc(n==null?void 0:n.props),o}return ghe(r,[{key:"toDataBindModel",value:function(o){var i=Yd(zi(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlName",get:function(){return y.getMessage("organizationSelection")}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(J);xw(Wi,"controlFieldType",a.FieldTypes.DEPARTMENTS),xw(Wi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.MULTIPLE,a.COMMON_SETTING_TYPE.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}]);function hF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function The(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $he(e,t,r){return t&&gF(e.prototype,t),r&&gF(e,r),e}function mF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zd(e){return zd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zd(e)}function Rhe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gw(e,t)}function She(e,t){return t&&(Nhe(t)==="object"||typeof t=="function")?t:hF(e)}function Gw(e,t){return Gw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gw(e,t)}function Nhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ihe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bhe(e){var t=Ihe();return function(){var n=zd(e),o;if(t){var i=zd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return She(this,o)}}var bF=function(e){Rhe(r,e);var t=Bhe(r);function r(n){The(this,r);var o;return o=t.call(this,n),mF(hF(o),"props",void 0),o.props=new Cc(n==null?void 0:n.props),o}return $he(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(Q);mF(bF,"controlFieldType",a.FieldTypes.DEPARTMENTS);var OF={Designer:Wi,Runtime:bF,Property:Cc};function kc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wd(e){return Wd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wd(e)}function Yw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zw(e,t)}function Ahe(e,t){return t&&(Mhe(t)==="object"||typeof t=="function")?t:kc(e)}function zw(e,t){return zw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zw(e,t)}function Mhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ww(e){var t=Lhe();return function(){var n=Wd(e),o;if(t){var i=Wd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ahe(this,o)}}var Dhe=function(e){Yw(r,e);var t=Ww(r);function r(n){Hw(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(Ye),Fhe=function(e){Yw(r,e);var t=Ww(r);function r(n){Hw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(_e),jc=function(e){Yw(r,e);var t=Ww(r);function r(n){Hw(this,r);var o;o=t.call(this,n),qi(kc(o),"controlExportName",void 0),qi(kc(o),"permissions",void 0),qi(kc(o),"defaultValue",void 0),qi(kc(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Vc.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var f;return o.isInlineEdit=(f=n==null?void 0:n.isInlineEdit)!==null&&f!==void 0?f:!1,o}return r}(K);qi(jc,"Rules",Dhe),qi(jc,"RuntimeRules",Fhe);function wF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Che(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function khe(e,t,r){return t&&EF(e.prototype,t),r&&EF(e,r),e}function qd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kd(e){return Kd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kd(e)}function jhe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qw(e,t)}function Vhe(e,t){return t&&(xhe(t)==="object"||typeof t=="function")?t:wF(e)}function qw(e,t){return qw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qw(e,t)}function xhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ghe(e){var t=Uhe();return function(){var n=Kd(e),o;if(t){var i=Kd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vhe(this,o)}}var Vc=function(e){jhe(r,e);var t=Ghe(r);function r(n){Che(this,r);var o;return o=t.call(this,n),qd(wF(o),"props",void 0),o.props=new jc(n==null?void 0:n.props),o}return khe(r,null,[{key:"controlName",get:function(){return y.getMessage("vuePage")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return a.CONTROL_TYPE.VUE_PAGE}}]),r}(J);qd(Vc,"controlFieldType",a.FieldTypes.ANY),qd(Vc,"controlEventKeys",[]),qd(Vc,"setting",[]);function PF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hhe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yhe(e,t,r){return t&&TF(e.prototype,t),r&&TF(e,r),e}function $F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xd(e){return Xd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xd(e)}function zhe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kw(e,t)}function Whe(e,t){return t&&(qhe(t)==="object"||typeof t=="function")?t:PF(e)}function Kw(e,t){return Kw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kw(e,t)}function qhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Khe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xhe(e){var t=Khe();return function(){var n=Xd(e),o;if(t){var i=Xd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Whe(this,o)}}var RF=function(e){zhe(r,e);var t=Xhe(r);function r(n){Hhe(this,r);var o;return o=t.call(this,n),$F(PF(o),"props",void 0),o.props=new jc(n==null?void 0:n.props),o}return Yhe(r,null,[{key:"controlType",get:function(){return a.CONTROL_TYPE.VUE_PAGE}}]),r}(Q);$F(RF,"controlFieldType",a.FieldTypes.ANY);var SF={Designer:Vc,Runtime:RF,Property:jc},Jhe=Object.freeze({__proto__:null,Input:i3,Checkbox:_3,Radio:w3,Number:N3,DatePicker:F3,DateRange:z3,Textarea:Z3,RichText:uM,Select:vM,SelectMultiple:EM,Employee:MM,Image:GM,Attachment:jM,Amount:XM,Score:rL,Address:dL,Department:EL,AutoNumber:BL,Calc:kL,SearchNumberRange:qL,SearchDateRange:oD,VueFormItem:sD,SelectRelation:OD,SearchInput:ID,Tree:CD,Employee2:HD,ElectronicSignature:eF,WPS:cF,Department2:yF,OrganizationSelection:OF,VuePage:SF});function Qhe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zhe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ege(e,t,r){return t&&NF(e.prototype,t),r&&NF(e,r),e}function tge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jd(e){return Jd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jd(e)}function nge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xw(e,t)}function rge(e,t){return t&&(oge(t)==="object"||typeof t=="function")?t:Qhe(e)}function Xw(e,t){return Xw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xw(e,t)}function oge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ige(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uge(e){var t=ige();return function(){var n=Jd(e),o;if(t){var i=Jd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rge(this,o)}}var IF=function(e){nge(r,e);var t=uge(r);function r(n){return Zhe(this,r),t.call(this,n)}return ege(r,null,[{key:"controlName",get:function(){return y.getMessage("grid")}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(Oe);tge(IF,"excludes",[a.CONTROL_TYPE.GRID]);function cge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function age(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lge(e,t,r){return t&&BF(e.prototype,t),r&&BF(e,r),e}function Qd(e){return Qd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qd(e)}function fge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jw(e,t)}function sge(e,t){return t&&(_ge(t)==="object"||typeof t=="function")?t:cge(e)}function Jw(e,t){return Jw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jw(e,t)}function _ge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yge(e){var t=dge();return function(){var n=Qd(e),o;if(t){var i=Qd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sge(this,o)}}var pge=function(e){fge(r,e);var t=yge(r);function r(n){return age(this,r),t.call(this,n)}return lge(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(Se),AF={Designer:IF,Runtime:pge,Property:pe};function Qw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zd(e){return Zd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zd(e)}function hge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zw(e,t)}function gge(e,t){return t&&(mge(t)==="object"||typeof t=="function")?t:Qw(e)}function Zw(e,t){return Zw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zw(e,t)}function mge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oge(e){var t=bge();return function(){var n=Zd(e),o;if(t){var i=Zd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gge(this,o)}}var wge=24,ho=function(e){hge(r,e);var t=Oge(r);function r(n){vge(this,r);var o;o=t.call(this,n),MF(Qw(o),"span",void 0),MF(Qw(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:wge;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(pe);function LF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ege(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pge(e,t,r){return t&&DF(e.prototype,t),r&&DF(e,r),e}function eE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ey(e){return ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ey(e)}function Tge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tE(e,t)}function $ge(e,t){return t&&(Rge(t)==="object"||typeof t=="function")?t:LF(e)}function tE(e,t){return tE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tE(e,t)}function Rge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nge(e){var t=Sge();return function(){var n=ey(e),o;if(t){var i=ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $ge(this,o)}}var xc=function(e){Tge(r,e);var t=Nge(r);function r(n){Ege(this,r);var o;return o=t.call(this,n),eE(LF(o),"props",void 0),o.props=new ho(n==null?void 0:n.props),o}return Pge(r,null,[{key:"controlName",get:function(){return y.getMessage("col")}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(Oe);eE(xc,"excludes",[a.CONTROL_TYPE.COL,a.CONTROL_TYPE.SUBTABLE,a.CONTROL_TYPE.SUBTABLE_COLUMN,a.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,a.CONTROL_TYPE.DIVIDER]),eE(xc,"childrenMaxLength",1);function FF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ige(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bge(e,t,r){return t&&CF(e.prototype,t),r&&CF(e,r),e}function Age(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ty(e)}function Mge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nE(e,t)}function Lge(e,t){return t&&(Dge(t)==="object"||typeof t=="function")?t:FF(e)}function nE(e,t){return nE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nE(e,t)}function Dge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cge(e){var t=Fge();return function(){var n=ty(e),o;if(t){var i=ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lge(this,o)}}var rE=function(e){Mge(r,e);var t=Cge(r);function r(n){Ige(this,r);var o;return o=t.call(this,n),Age(FF(o),"props",void 0),o.props=new ho(n==null?void 0:n.props),o}return Bge(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Se),ny={Designer:xc,Runtime:rE,Property:ho};function oE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ry(e){return ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ry(e)}function jge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iE(e,t)}function Vge(e,t){return t&&(xge(t)==="object"||typeof t=="function")?t:oE(e)}function iE(e,t){return iE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iE(e,t)}function xge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gge(e){var t=Uge();return function(){var n=ry(e),o;if(t){var i=ry(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vge(this,o)}}var oy=function(e){jge(r,e);var t=Gge(r);function r(n){kge(this,r);var o;o=t.call(this,n),kF(oE(o),"layoutMode",void 0),kF(oE(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(pe);function jF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yge(e,t,r){return t&&VF(e.prototype,t),r&&VF(e,r),e}function uE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iy(e){return iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iy(e)}function zge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cE(e,t)}function Wge(e,t){return t&&(qge(t)==="object"||typeof t=="function")?t:jF(e)}function cE(e,t){return cE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cE(e,t)}function qge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xge(e){var t=Kge();return function(){var n=iy(e),o;if(t){var i=iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wge(this,o)}}var uy=function(e){zge(r,e);var t=Xge(r);function r(n){Hge(this,r);var o;return o=t.call(this,n),uE(jF(o),"props",void 0),o.props=new oy(n==null?void 0:n.props),o}return Yge(r,null,[{key:"controlName",get:function(){return y.getMessage("row")}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Oe);uE(uy,"excludes",[a.CONTROL_TYPE.ROW]),uE(uy,"setting",[{key:"col-setting",visible:!0}]);function xF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qge(e,t,r){return t&&UF(e.prototype,t),r&&UF(e,r),e}function Zge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cy(e){return cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cy(e)}function eme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aE(e,t)}function tme(e,t){return t&&(nme(t)==="object"||typeof t=="function")?t:xF(e)}function aE(e,t){return aE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aE(e,t)}function nme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ome(e){var t=rme();return function(){var n=cy(e),o;if(t){var i=cy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tme(this,o)}}var GF=function(e){eme(r,e);var t=ome(r);function r(n){Jge(this,r);var o;return o=t.call(this,n),Zge(xF(o),"props",void 0),o.props=new oy(n==null?void 0:n.props),o}return Qge(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Se),HF={Designer:uy,Runtime:GF,Property:oy};function ime(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ume(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cme(e,t,r){return t&&YF(e.prototype,t),r&&YF(e,r),e}function lE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ay(e){return ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ay(e)}function ame(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fE(e,t)}function lme(e,t){return t&&(fme(t)==="object"||typeof t=="function")?t:ime(e)}function fE(e,t){return fE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fE(e,t)}function fme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _me(e){var t=sme();return function(){var n=ay(e),o;if(t){var i=ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lme(this,o)}}var dme=4,ly=function(e){ame(r,e);var t=_me(r);function r(n){return ume(this,r),t.call(this,n)}return cme(r,null,[{key:"controlName",get:function(){return y.getMessage("gridRow")}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(uy);lE(ly,"excludes",[a.CONTROL_TYPE.GRID_ROW]),lE(ly,"setting",[]),lE(ly,"childrenMaxLength",dme);function yme(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vme(e,t,r){return t&&zF(e.prototype,t),r&&zF(e,r),e}function fy(e){return fy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fy(e)}function hme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sE(e,t)}function gme(e,t){return t&&(mme(t)==="object"||typeof t=="function")?t:yme(e)}function sE(e,t){return sE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sE(e,t)}function mme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ome(e){var t=bme();return function(){var n=fy(e),o;if(t){var i=fy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gme(this,o)}}var wme=function(e){hme(r,e);var t=Ome(r);function r(n){return pme(this,r),t.call(this,n)}return vme(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(GF);function Eme(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sy(e){return sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sy(e)}function Tme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_E(e,t)}function $me(e,t){return t&&(Rme(t)==="object"||typeof t=="function")?t:Eme(e)}function _E(e,t){return _E=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_E(e,t)}function Rme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nme(e){var t=Sme();return function(){var n=sy(e),o;if(t){var i=sy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $me(this,o)}}var Ime=function(e){Tme(r,e);var t=Nme(r);function r(n){return Pme(this,r),t.call(this,n)}return r}(oy),dE={Designer:ly,Runtime:wme,Property:Ime};function Uc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _y(e){return _y=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_y(e)}function qF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yE(e,t)}function Bme(e,t){return t&&(Ame(t)==="object"||typeof t=="function")?t:Uc(e)}function yE(e,t){return yE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yE(e,t)}function Ame(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KF(e){var t=Mme();return function(){var n=_y(e),o;if(t){var i=_y(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bme(this,o)}}var Lme=function(e){qF(r,e);var t=KF(r);function r(){WF(this,r);var n;return n=t.apply(this,arguments),Gc(Uc(n),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),n}return r}(pe.Rules),dy=function(e){qF(r,e);var t=KF(r);function r(n){WF(this,r);var o;o=t.call(this,n),Gc(Uc(o),"caption",void 0),Gc(Uc(o),"isHideCaption",void 0),Gc(Uc(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;return o.collapse=(c=n==null?void 0:n.collapse)!==null&&c!==void 0?c:"none",o}return r}(pe);Gc(dy,"Rules",Lme);function XF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fme(e,t,r){return t&&JF(e.prototype,t),r&&JF(e,r),e}function pE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yy(e){return yy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yy(e)}function Cme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vE(e,t)}function kme(e,t){return t&&(jme(t)==="object"||typeof t=="function")?t:XF(e)}function vE(e,t){return vE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vE(e,t)}function jme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xme(e){var t=Vme();return function(){var n=yy(e),o;if(t){var i=yy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kme(this,o)}}var hE=function(e){Cme(r,e);var t=xme(r);function r(n){Dme(this,r);var o;return o=t.call(this,n),pE(XF(o),"props",void 0),o.props=new dy(n==null?void 0:n.props),o}return Fme(r,null,[{key:"controlName",get:function(){return y.getMessage("cardGroup")}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(Oe);pE(hE,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),pE(hE,"excludes",[a.CONTROL_TYPE.CARD_GROUP]);function QF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ume(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gme(e,t,r){return t&&ZF(e.prototype,t),r&&ZF(e,r),e}function Hme(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function py(e){return py=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},py(e)}function Yme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gE(e,t)}function zme(e,t){return t&&(Wme(t)==="object"||typeof t=="function")?t:QF(e)}function gE(e,t){return gE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gE(e,t)}function Wme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kme(e){var t=qme();return function(){var n=py(e),o;if(t){var i=py(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zme(this,o)}}var Xme=function(e){Yme(r,e);var t=Kme(r);function r(n){Ume(this,r);var o;return o=t.call(this,n),Hme(QF(o),"props",void 0),o.props=new dy(n==null?void 0:n.props),o}return Gme(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(Se),eC={Designer:hE,Runtime:Xme,Property:dy};function Fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vy(e){return vy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vy(e)}function nC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mE(e,t)}function Jme(e,t){return t&&(Qme(t)==="object"||typeof t=="function")?t:Fn(e)}function mE(e,t){return mE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mE(e,t)}function Qme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rC(e){var t=Zme();return function(){var n=vy(e),o;if(t){var i=vy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jme(this,o)}}var ebe=function(e){nC(r,e);var t=rC(r);function r(n){tC(this,r);var o;return o=t.call(this,n),Cn(Fn(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),Cn(Fn(o),"width",{type:"number",required:!1,message:y.getMessage("pleaseEnterColumnWidth")}),Cn(Fn(o),"captionTip",{type:"string",required:!1,message:y.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Fe),hy=function(e){nC(r,e);var t=rC(r);function r(n){tC(this,r);var o;o=t.call(this,n),Cn(Fn(o),"metaAutoWidth",void 0),Cn(Fn(o),"caption",void 0),Cn(Fn(o),"fixed",void 0),Cn(Fn(o),"isShowCaptionTip",void 0),Cn(Fn(o),"captionTip",void 0),Cn(Fn(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;return o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1,o.metaAutoWidth=new yg(n==null?void 0:n.metaAutoWidth),o}return r}(pe);Cn(hy,"Rules",ebe);function oC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function go(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gy(e){return gy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gy(e)}function nbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bE(e,t)}function rbe(e,t){return t&&(obe(t)==="object"||typeof t=="function")?t:oC(e)}function bE(e,t){return bE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bE(e,t)}function obe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ibe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ube(e){var t=ibe();return function(){var n=gy(e),o;if(t){var i=gy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rbe(this,o)}}var wn=function(e){nbe(r,e);var t=ube(r);function r(n){tbe(this,r);var o;return o=t.call(this,n),go(oC(o),"props",void 0),o.props=new hy(n==null?void 0:n.props),o}return r}(Oe);go(wn,"controlName",y.getMessage("subtableColumn")),go(wn,"controlType","subtable-column"),go(wn,"controlIcon","subtable-column"),go(wn,"childrenMaxLength",1),go(wn,"excludes",[a.CONTROL_TYPE.SUBTABLE,a.CONTROL_TYPE.SUBTABLE_COLUMN,a.CONTROL_TYPE.ROW,a.CONTROL_TYPE.COL,a.CONTROL_TYPE.CARD_GROUP,a.CONTROL_TYPE.DIVIDER,a.CONTROL_TYPE.TEXT]),go(wn,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function iC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function my(e){return my=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},my(e)}function abe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OE(e,t)}function lbe(e,t){return t&&(fbe(t)==="object"||typeof t=="function")?t:iC(e)}function OE(e,t){return OE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OE(e,t)}function fbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _be(e){var t=sbe();return function(){var n=my(e),o;if(t){var i=my(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lbe(this,o)}}var cC=function(e){abe(r,e);var t=_be(r);function r(n){cbe(this,r);var o;return o=t.call(this,n),uC(iC(o),"props",void 0),o.props=new hy(n==null?void 0:n.props),o}return r}(Se);uC(cC,"controlType","subtable-column");var wE={Designer:wn,Runtime:cC,Property:hy};function dbe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ybe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function by(e){return by=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},by(e)}function pbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&EE(e,t)}function vbe(e,t){return t&&(hbe(t)==="object"||typeof t=="function")?t:dbe(e)}function EE(e,t){return EE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EE(e,t)}function hbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mbe(e){var t=gbe();return function(){var n=by(e),o;if(t){var i=by(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vbe(this,o)}}var PE=function(e){pbe(r,e);var t=mbe(r);function r(n){return ybe(this,r),t.call(this,n)}return r}(pe);function aC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oy(e){return Oy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oy(e)}function Obe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&TE(e,t)}function wbe(e,t){return t&&(Ebe(t)==="object"||typeof t=="function")?t:aC(e)}function TE(e,t){return TE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TE(e,t)}function Ebe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tbe(e){var t=Pbe();return function(){var n=Oy(e),o;if(t){var i=Oy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wbe(this,o)}}var bo=function(e){Obe(r,e);var t=Tbe(r);function r(n){bbe(this,r);var o;return o=t.call(this,n),mo(aC(o),"props",void 0),o.props=new PE(n==null?void 0:n.props),o}return r}(Oe);mo(bo,"controlName",y.getMessage("subtableRow")),mo(bo,"controlType","subtable-row"),mo(bo,"controlIcon","subtable-row"),mo(bo,"childrenMaxLength",1),mo(bo,"excludes",[a.CONTROL_TYPE.SUBTABLE,a.CONTROL_TYPE.SUBTABLE_COLUMN,a.CONTROL_TYPE.SUBTABLE_ROW,a.CONTROL_TYPE.ROW,a.CONTROL_TYPE.COL,a.CONTROL_TYPE.CARD_GROUP,a.CONTROL_TYPE.DIVIDER,a.CONTROL_TYPE.TEXT]),mo(bo,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0}]);function lC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $be(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rbe(e,t,r){return t&&fC(e.prototype,t),r&&fC(e,r),e}function Sbe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wy(e){return wy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wy(e)}function Nbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$E(e,t)}function Ibe(e,t){return t&&(Bbe(t)==="object"||typeof t=="function")?t:lC(e)}function $E(e,t){return $E=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$E(e,t)}function Bbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Abe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mbe(e){var t=Abe();return function(){var n=wy(e),o;if(t){var i=wy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ibe(this,o)}}var Lbe=function(e){Nbe(r,e);var t=Mbe(r);function r(n){$be(this,r);var o;return o=t.call(this,n),Sbe(lC(o),"props",void 0),o.props=new PE(n==null?void 0:n.props),o}return Rbe(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(Se),sC={Designer:bo,Runtime:Lbe,Property:PE};function Vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ey(e){return Ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ey(e)}function Fbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RE(e,t)}function Cbe(e,t){return t&&(kbe(t)==="object"||typeof t=="function")?t:Vt(e)}function RE(e,t){return RE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RE(e,t)}function kbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vbe(e){var t=jbe();return function(){var n=Ey(e),o;if(t){var i=Ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cbe(this,o)}}var SE=function(e){Fbe(r,e);var t=Vbe(r);function r(n){Dbe(this,r);var o;o=t.call(this,n),on(Vt(o),"widthType",void 0),on(Vt(o),"width",void 0),on(Vt(o),"caption",void 0),on(Vt(o),"fieldCode",void 0),on(Vt(o),"fieldType",void 0),on(Vt(o),"fieldName",void 0),on(Vt(o),"datasourceBind",void 0),on(Vt(o),"fixed",void 0),on(Vt(o),"textCleanFormart",void 0),on(Vt(o),"decimalKeepPrecision",void 0),on(Vt(o),"timestampDateType",void 0),on(Vt(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var f;o.fieldType=(f=n==null?void 0:n.fieldType)!==null&&f!==void 0?f:a.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var d;o.decimalKeepPrecision=(d=n==null?void 0:n.decimalKeepPrecision)!==null&&d!==void 0?d:0;var p;o.timestampDateType=(p=n==null?void 0:n.timestampDateType)!==null&&p!==void 0?p:a.DateType.DATE;var m;return o.departmentDisplayLevel=(m=n==null?void 0:n.departmentDisplayLevel)!==null&&m!==void 0?m:1,o}return r}(pe);function _C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Py(e){return Py=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Py(e)}function Ube(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NE(e,t)}function Gbe(e,t){return t&&(Hbe(t)==="object"||typeof t=="function")?t:_C(e)}function NE(e,t){return NE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NE(e,t)}function Hbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ybe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zbe(e){var t=Ybe();return function(){var n=Py(e),o;if(t){var i=Py(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gbe(this,o)}}var wo=function(e){Ube(r,e);var t=zbe(r);function r(n){xbe(this,r);var o;return o=t.call(this,n),Oo(_C(o),"props",void 0),o.props=new SE(n==null?void 0:n.props),o}return r}(Oe);Oo(wo,"controlName","\u5217\u8868\u5355\u5143\u683C"),Oo(wo,"controlType","gridtable-column"),Oo(wo,"controlIcon","gridtable-column"),Oo(wo,"childrenMaxLength",1),Oo(wo,"excludes",[a.CONTROL_TYPE.GRID_TABLE,a.CONTROL_TYPE.GRID_TABLE_COLUMN,a.CONTROL_TYPE.ROW,a.CONTROL_TYPE.COL,a.CONTROL_TYPE.CARD_GROUP,a.CONTROL_TYPE.DIVIDER,a.CONTROL_TYPE.TEXT]),Oo(wo,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function dC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ty(e){return Ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ty(e)}function qbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&IE(e,t)}function Kbe(e,t){return t&&(Xbe(t)==="object"||typeof t=="function")?t:dC(e)}function IE(e,t){return IE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IE(e,t)}function Xbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qbe(e){var t=Jbe();return function(){var n=Ty(e),o;if(t){var i=Ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kbe(this,o)}}var pC=function(e){qbe(r,e);var t=Qbe(r);function r(n){Wbe(this,r);var o;return o=t.call(this,n),yC(dC(o),"props",void 0),o.props=new SE(n==null?void 0:n.props),o}return r}(Se);yC(pC,"controlType","gridtable-column");var vC={Designer:wo,Runtime:pC,Property:SE};function BE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $y(e){return $y=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$y(e)}function e0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AE(e,t)}function t0e(e,t){return t&&(n0e(t)==="object"||typeof t=="function")?t:BE(e)}function AE(e,t){return AE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},AE(e,t)}function n0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o0e(e){var t=r0e();return function(){var n=$y(e),o;if(t){var i=$y(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t0e(this,o)}}var ME=function(e){e0e(r,e);var t=o0e(r);function r(n){Zbe(this,r);var o;o=t.call(this,n),hC(BE(o),"childMinWidth",void 0),hC(BE(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.colGap=(u=n==null?void 0:n.colGap)!==null&&u!==void 0?u:24,o}return r}(pe);function gC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u0e(e,t,r){return t&&mC(e.prototype,t),r&&mC(e,r),e}function LE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ry(e){return Ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ry(e)}function c0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&DE(e,t)}function a0e(e,t){return t&&(l0e(t)==="object"||typeof t=="function")?t:gC(e)}function DE(e,t){return DE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DE(e,t)}function l0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s0e(e){var t=f0e();return function(){var n=Ry(e),o;if(t){var i=Ry(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a0e(this,o)}}var FE=function(e){c0e(r,e);var t=s0e(r);function r(n){i0e(this,r);var o;return o=t.call(this,n),LE(gC(o),"props",void 0),o.props=new ME(n==null?void 0:n.props),o}return u0e(r,null,[{key:"controlName",get:function(){return y.getMessage("gridLayoutContainer")}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(Oe);LE(FE,"excludes",[a.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,a.CONTROL_TYPE.CARD_GROUP,a.CONTROL_TYPE.TAB]),LE(FE,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function bC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d0e(e,t,r){return t&&OC(e.prototype,t),r&&OC(e,r),e}function y0e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sy(e){return Sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sy(e)}function p0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&CE(e,t)}function v0e(e,t){return t&&(h0e(t)==="object"||typeof t=="function")?t:bC(e)}function CE(e,t){return CE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CE(e,t)}function h0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m0e(e){var t=g0e();return function(){var n=Sy(e),o;if(t){var i=Sy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v0e(this,o)}}var b0e=function(e){p0e(r,e);var t=m0e(r);function r(n){_0e(this,r);var o;return o=t.call(this,n),y0e(bC(o),"props",void 0),o.props=new ME(n==null?void 0:n.props),o}return d0e(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(Se),wC={Designer:FE,Runtime:b0e,Property:ME};function EC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w0e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ny(e){return Ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ny(e)}function E0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kE(e,t)}function P0e(e,t){return t&&(T0e(t)==="object"||typeof t=="function")?t:EC(e)}function kE(e,t){return kE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kE(e,t)}function T0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R0e(e){var t=$0e();return function(){var n=Ny(e),o;if(t){var i=Ny(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return P0e(this,o)}}var jE=function(e){E0e(r,e);var t=R0e(r);function r(n){O0e(this,r);var o;o=t.call(this,n),w0e(EC(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(pe);function VE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iy(e){return Iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iy(e)}function TC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UE(e,t)}function S0e(e,t){return t&&(N0e(t)==="object"||typeof t=="function")?t:VE(e)}function UE(e,t){return UE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UE(e,t)}function N0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $C(e){var t=I0e();return function(){var n=Iy(e),o;if(t){var i=Iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S0e(this,o)}}var B0e=function(e){TC(r,e);var t=$C(r);function r(n){PC(this,r);var o;return o=t.call(this,n),xE(VE(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),o}return r}(Fe),By=function(e){TC(r,e);var t=$C(r);function r(n){PC(this,r);var o;o=t.call(this,n),xE(VE(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Yc.controlName,o}return r}(pe);xE(By,"Rules",B0e);function RC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M0e(e,t,r){return t&&SC(e.prototype,t),r&&SC(e,r),e}function GE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ay(e){return Ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ay(e)}function L0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&HE(e,t)}function D0e(e,t){return t&&(F0e(t)==="object"||typeof t=="function")?t:RC(e)}function HE(e,t){return HE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HE(e,t)}function F0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k0e(e){var t=C0e();return function(){var n=Ay(e),o;if(t){var i=Ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D0e(this,o)}}var Hc=function(e){L0e(r,e);var t=k0e(r);function r(n){A0e(this,r);var o;return o=t.call(this,n),GE(RC(o),"props",void 0),o.props=new By(n==null?void 0:n.props),o}return M0e(r,null,[{key:"controlName",get:function(){return y.getMessage("tabPane")}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(Oe);GE(Hc,"excludes",[a.CONTROL_TYPE.TAB]),GE(Hc,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function NC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V0e(e,t,r){return t&&IC(e.prototype,t),r&&IC(e,r),e}function x0e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function My(e){return My=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},My(e)}function U0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&YE(e,t)}function G0e(e,t){return t&&(H0e(t)==="object"||typeof t=="function")?t:NC(e)}function YE(e,t){return YE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YE(e,t)}function H0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z0e(e){var t=Y0e();return function(){var n=My(e),o;if(t){var i=My(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G0e(this,o)}}var W0e=function(e){U0e(r,e);var t=z0e(r);function r(n){j0e(this,r);var o;return o=t.call(this,n),x0e(NC(o),"props",void 0),o.props=new By(n==null?void 0:n.props),o}return V0e(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(Se),BC={Designer:Hc,Runtime:W0e,Property:By};function AC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K0e(e,t,r){return t&&MC(e.prototype,t),r&&MC(e,r),e}function Ly(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dy(e){return Dy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dy(e)}function X0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zE(e,t)}function J0e(e,t){return t&&(Q0e(t)==="object"||typeof t=="function")?t:AC(e)}function zE(e,t){return zE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zE(e,t)}function Q0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eOe(e){var t=Z0e();return function(){var n=Dy(e),o;if(t){var i=Dy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J0e(this,o)}}var Yc=function(e){X0e(r,e);var t=eOe(r);function r(n){q0e(this,r);var o;o=t.call(this,n),Ly(AC(o),"props",void 0),o.props=new jE(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Hc,new Hc],o}return K0e(r,null,[{key:"controlName",get:function(){return y.getMessage("tab")}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(Oe);Ly(Yc,"excludes",[a.CONTROL_TYPE.TAB]),Ly(Yc,"controlEventKeys",["on_change_tab"]),Ly(Yc,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function LC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nOe(e,t,r){return t&&DC(e.prototype,t),r&&DC(e,r),e}function rOe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fy(e){return Fy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fy(e)}function oOe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&WE(e,t)}function iOe(e,t){return t&&(uOe(t)==="object"||typeof t=="function")?t:LC(e)}function WE(e,t){return WE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},WE(e,t)}function uOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aOe(e){var t=cOe();return function(){var n=Fy(e),o;if(t){var i=Fy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iOe(this,o)}}var lOe=function(e){oOe(r,e);var t=aOe(r);function r(n){tOe(this,r);var o;return o=t.call(this,n),rOe(LC(o),"props",void 0),o.props=new jE(n==null?void 0:n.props),o}return nOe(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(Se),FC={Designer:Yc,Runtime:lOe,Property:jE};function fOe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cy(e){return Cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cy(e)}function _Oe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qE(e,t)}function dOe(e,t){return t&&(yOe(t)==="object"||typeof t=="function")?t:fOe(e)}function qE(e,t){return qE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qE(e,t)}function yOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vOe(e){var t=pOe();return function(){var n=Cy(e),o;if(t){var i=Cy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dOe(this,o)}}var CC=function(e){_Oe(r,e);var t=vOe(r);function r(n){return sOe(this,r),t.call(this,n)}return r}(pe);function kC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gOe(e,t,r){return t&&jC(e.prototype,t),r&&jC(e,r),e}function VC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ky(e){return ky=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ky(e)}function mOe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&KE(e,t)}function bOe(e,t){return t&&(OOe(t)==="object"||typeof t=="function")?t:kC(e)}function KE(e,t){return KE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KE(e,t)}function OOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EOe(e){var t=wOe();return function(){var n=ky(e),o;if(t){var i=ky(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bOe(this,o)}}var xC=function(e){mOe(r,e);var t=EOe(r);function r(n){hOe(this,r);var o;return o=t.call(this,n),VC(kC(o),"props",void 0),o.props=new CC({}),o.children=(n==null?void 0:n.children)||[new xc({props:new ho({span:12})}),new xc({props:new ho({span:12})})],o}return gOe(r,null,[{key:"controlName",get:function(){return y.getMessage("toolbox")}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(Oe);VC(xC,"excludes",[a.CONTROL_TYPE.GRID_ROW,a.CONTROL_TYPE.ROW,a.CONTROL_TYPE.GRID,a.CONTROL_TYPE.SUBTABLE,a.CONTROL_TYPE.TAB,a.CONTROL_TYPE.TOOLBOX]);function POe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $Oe(e,t,r){return t&&UC(e.prototype,t),r&&UC(e,r),e}function jy(e){return jy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jy(e)}function ROe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&XE(e,t)}function SOe(e,t){return t&&(NOe(t)==="object"||typeof t=="function")?t:POe(e)}function XE(e,t){return XE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},XE(e,t)}function NOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BOe(e){var t=IOe();return function(){var n=jy(e),o;if(t){var i=jy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SOe(this,o)}}var AOe=function(e){ROe(r,e);var t=BOe(r);function r(n){TOe(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new rE({props:new ho({span:12})}),new rE({props:new ho({span:12})})],o}return $Oe(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(Se),GC={Designer:xC,Runtime:AOe,Property:CC};function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vy(e){return Vy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vy(e)}function QE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZE(e,t)}function MOe(e,t){return t&&(LOe(t)==="object"||typeof t=="function")?t:Pe(e)}function ZE(e,t){return ZE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZE(e,t)}function LOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eP(e){var t=DOe();return function(){var n=Vy(e),o;if(t){var i=Vy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MOe(this,o)}}var HC;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(HC||(HC={}));var FOe=function(e){QE(r,e);var t=eP(r);function r(n){JE(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Nr),COe=function(e){QE(r,e);var t=eP(r);function r(n){JE(this,r);var o;if(o=t.call(this,n),Te(Pe(o),"triggerFieldCode",{type:"any"}),Te(Pe(o),"datasourceBind",{type:"any"}),Te(Pe(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:y.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:y.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:y.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:y.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:y.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:y.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:y.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:y.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),sl.call(Pe(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(Fe),zc=function(e){QE(r,e);var t=eP(r);function r(n){JE(this,r);var o;o=t.call(this,n),Te(Pe(o),"datasourceBind",void 0),Te(Pe(o),"isLoading",void 0),Te(Pe(o),"isShowSubList",void 0),Te(Pe(o),"triggerType",void 0),Te(Pe(o),"triggerFieldCode",void 0),Te(Pe(o),"sublistPage",void 0),Te(Pe(o),"isShowJoinRelation",void 0),Te(Pe(o),"joinRelation",void 0),Te(Pe(o),"showType",void 0),Te(Pe(o),"showFullScreen",void 0),Te(Pe(o),"isFixedHeader",void 0),Te(Pe(o),"selectionType",void 0),Te(Pe(o),"isShowSelection",void 0),Te(Pe(o),"isAllLoaded",void 0),Te(Pe(o),"countType",void 0),Te(Pe(o),"countLimit",void 0),Te(Pe(o),"rowStyle",void 0),o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var c;o.triggerType=(c=n==null?void 0:n.triggerType)!==null&&c!==void 0?c:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new GN(n==null?void 0:n.sublistPage);var f;o.isShowJoinRelation=(f=n==null?void 0:n.isShowJoinRelation)!==null&&f!==void 0?f:!1,o.joinRelation=new YN(n==null?void 0:n.joinRelation);var s;o.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"stretch";var _;o.showFullScreen=(_=n==null?void 0:n.showFullScreen)!==null&&_!==void 0?_:!1;var d;o.selectionType=(d=n==null?void 0:n.selectionType)!==null&&d!==void 0?d:"multiple";var p;o.isFixedHeader=(p=n==null?void 0:n.isFixedHeader)!==null&&p!==void 0?p:!1;var m;o.isShowSelection=(m=n==null?void 0:n.isShowSelection)!==null&&m!==void 0?m:!1;var h;o.isAllLoaded=(h=n==null?void 0:n.isAllLoaded)!==null&&h!==void 0?h:!0,o.countType=n==null?void 0:n.countType;var E;return o.countLimit=(E=n==null?void 0:n.countLimit)!==null&&E!==void 0?E:1e5,o.rowStyle=new aI(n==null?void 0:n.rowStyle),o}return r}(pe);Te(zc,"Rules",COe),Te(zc,"RuntimeRules",FOe);function YC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jOe(e,t,r){return t&&zC(e.prototype,t),r&&zC(e,r),e}function Wc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xy(e){return xy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xy(e)}function VOe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tP(e,t)}function xOe(e,t){return t&&(UOe(t)==="object"||typeof t=="function")?t:YC(e)}function tP(e,t){return tP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tP(e,t)}function UOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HOe(e){var t=GOe();return function(){var n=xy(e),o;if(t){var i=xy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xOe(this,o)}}var qc=function(e){VOe(r,e);var t=HOe(r);function r(n){kOe(this,r);var o;return o=t.call(this,n),Wc(YC(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return jOe(r,null,[{key:"controlName",get:function(){return y.getMessage("listView")}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Oe);Wc(qc,"slotPosition",{left:"list-view-left-slot"}),Wc(qc,"excludes",[a.CONTROL_TYPE.ROW]),Wc(qc,"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"]),Wc(qc,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}]);function WC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zOe(e,t,r){return t&&qC(e.prototype,t),r&&qC(e,r),e}function WOe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uy(e){return Uy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uy(e)}function qOe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nP(e,t)}function KOe(e,t){return t&&(XOe(t)==="object"||typeof t=="function")?t:WC(e)}function nP(e,t){return nP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nP(e,t)}function XOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QOe(e){var t=JOe();return function(){var n=Uy(e),o;if(t){var i=Uy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KOe(this,o)}}var ZOe=function(e){qOe(r,e);var t=QOe(r);function r(n){YOe(this,r);var o;return o=t.call(this,n),WOe(WC(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return zOe(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Se),rP={Designer:qc,Runtime:ZOe,Property:zc};function Gr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gy(e){return Gy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gy(e)}function XC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oP(e,t)}function ewe(e,t){return t&&(twe(t)==="object"||typeof t=="function")?t:Gr(e)}function oP(e,t){return oP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oP(e,t)}function twe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nwe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JC(e){var t=nwe();return function(){var n=Gy(e),o;if(t){var i=Gy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ewe(this,o)}}var rwe=function(e){XC(r,e);var t=JC(r);function r(n){KC(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Nr),Hy=function(e){XC(r,e);var t=JC(r);function r(n){KC(this,r);var o;o=t.call(this,n),Hr(Gr(o),"save",void 0),Hr(Gr(o),"cancel",void 0),Hr(Gr(o),"saveAs",void 0),Hr(Gr(o),"print",void 0),Hr(Gr(o),"custom",void 0),Hr(Gr(o),"isLoading",void 0),Hr(Gr(o),"datasourceBind",void 0);var i;o.save=new Yn((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Yn((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new Yn((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var l;o.print=new Yn((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:"\u6253\u5370",type:"print",isShow:!1});var f;o.custom=((f=n==null?void 0:n.custom)!==null&&f!==void 0?f:[]).map(function(_){return new Yn(_)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind),o}return r}(pe);Hr(Hy,"RuntimeRules",rwe);function QC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function owe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iwe(e,t,r){return t&&ZC(e.prototype,t),r&&ZC(e,r),e}function ek(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yy(e){return Yy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yy(e)}function uwe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iP(e,t)}function cwe(e,t){return t&&(awe(t)==="object"||typeof t=="function")?t:QC(e)}function iP(e,t){return iP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iP(e,t)}function awe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lwe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fwe(e){var t=lwe();return function(){var n=Yy(e),o;if(t){var i=Yy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cwe(this,o)}}var tk=function(e){uwe(r,e);var t=fwe(r);function r(n){owe(this,r);var o;return o=t.call(this,n),ek(QC(o),"props",void 0),o.props=new Hy(n==null?void 0:n.props),o}return iwe(r,null,[{key:"controlName",get:function(){return y.getMessage("dataView")}},{key:"controlType",get:function(){return"data-view"}}]),r}(Oe);ek(tk,"excludes",[]);function nk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function swe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _we(e,t,r){return t&&rk(e.prototype,t),r&&rk(e,r),e}function dwe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zy(e){return zy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zy(e)}function ywe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uP(e,t)}function pwe(e,t){return t&&(vwe(t)==="object"||typeof t=="function")?t:nk(e)}function uP(e,t){return uP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uP(e,t)}function vwe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hwe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gwe(e){var t=hwe();return function(){var n=zy(e),o;if(t){var i=zy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pwe(this,o)}}var mwe=function(e){ywe(r,e);var t=gwe(r);function r(n){swe(this,r);var o;return o=t.call(this,n),dwe(nk(o),"props",void 0),o.props=new Hy(n==null?void 0:n.props),o}return _we(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Se),cP={Designer:tk,Runtime:mwe,Property:Hy};function bwe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Owe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ok(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wwe(e,t,r){return t&&ok(e.prototype,t),r&&ok(e,r),e}function Wy(e){return Wy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wy(e)}function Ewe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aP(e,t)}function Pwe(e,t){return t&&(Twe(t)==="object"||typeof t=="function")?t:bwe(e)}function aP(e,t){return aP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aP(e,t)}function Twe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $we(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rwe(e){var t=$we();return function(){var n=Wy(e),o;if(t){var i=Wy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pwe(this,o)}}var Swe=function(e){Ewe(r,e);var t=Rwe(r);function r(n){return Owe(this,r),t.call(this,n)}return wwe(r,null,[{key:"controlName",get:function(){return y.getMessage("page")}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(Oe);function Nwe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ik(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bwe(e,t,r){return t&&ik(e.prototype,t),r&&ik(e,r),e}function qy(e){return qy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qy(e)}function Awe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lP(e,t)}function Mwe(e,t){return t&&(Lwe(t)==="object"||typeof t=="function")?t:Nwe(e)}function lP(e,t){return lP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lP(e,t)}function Lwe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dwe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fwe(e){var t=Dwe();return function(){var n=qy(e),o;if(t){var i=qy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mwe(this,o)}}var Cwe=function(e){Awe(r,e);var t=Fwe(r);function r(n){return Iwe(this,r),t.call(this,n)}return Bwe(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(Se);function Ki(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ky(e){return Ky=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ky(e)}function jwe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fP(e,t)}function Vwe(e,t){return t&&(xwe(t)==="object"||typeof t=="function")?t:Ki(e)}function fP(e,t){return fP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fP(e,t)}function xwe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uwe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gwe(e){var t=Uwe();return function(){var n=Ky(e),o;if(t){var i=Ky(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vwe(this,o)}}var Hwe=function(e){jwe(r,e);var t=Gwe(r);function r(n){kwe(this,r);var o;o=t.call(this,n),Kc(Ki(o),"hideHeader",void 0),Kc(Ki(o),"background","#fff"),Kc(Ki(o),"minWidth",""),Kc(Ki(o),"maxWidth",""),Kc(Ki(o),"heightConfig","auto");var i;return o.hideHeader=(i=n==null?void 0:n.hideHeader)!==null&&i!==void 0?i:!1,o}return r}(pe),uk={Designer:Swe,Runtime:Cwe,Property:Hwe};function Ywe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ck(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wwe(e,t,r){return t&&ck(e.prototype,t),r&&ck(e,r),e}function Xy(e){return Xy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xy(e)}function qwe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sP(e,t)}function Kwe(e,t){return t&&(Xwe(t)==="object"||typeof t=="function")?t:Ywe(e)}function sP(e,t){return sP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sP(e,t)}function Xwe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jwe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qwe(e){var t=Jwe();return function(){var n=Xy(e),o;if(t){var i=Xy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kwe(this,o)}}var Zwe=function(e){qwe(r,e);var t=Qwe(r);function r(n){return zwe(this,r),t.call(this,n)}return Wwe(r,null,[{key:"controlName",get:function(){return y.getMessage("advancedContainer")}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Oe);function eEe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ak(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nEe(e,t,r){return t&&ak(e.prototype,t),r&&ak(e,r),e}function Jy(e){return Jy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jy(e)}function rEe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_P(e,t)}function oEe(e,t){return t&&(iEe(t)==="object"||typeof t=="function")?t:eEe(e)}function _P(e,t){return _P=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_P(e,t)}function iEe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uEe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cEe(e){var t=uEe();return function(){var n=Jy(e),o;if(t){var i=Jy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oEe(this,o)}}var aEe=function(e){rEe(r,e);var t=cEe(r);function r(n){return tEe(this,r),t.call(this,n)}return nEe(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Se);function dP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lk(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qy(e){return Qy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qy(e)}function fEe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yP(e,t)}function sEe(e,t){return t&&(_Ee(t)==="object"||typeof t=="function")?t:dP(e)}function yP(e,t){return yP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yP(e,t)}function _Ee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dEe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yEe(e){var t=dEe();return function(){var n=Qy(e),o;if(t){var i=Qy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sEe(this,o)}}var pEe=function(e){fEe(r,e);var t=yEe(r);function r(n){lEe(this,r);var o;return o=t.call(this,n),lk(dP(o),"display",void 0),lk(dP(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new mB(n==null?void 0:n.flexConfig),o}return r}(pe),fk={Designer:Zwe,Runtime:aEe,Property:pEe};function vEe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gEe(e,t,r){return t&&sk(e.prototype,t),r&&sk(e,r),e}function Zy(e){return Zy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zy(e)}function mEe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pP(e,t)}function bEe(e,t){return t&&(OEe(t)==="object"||typeof t=="function")?t:vEe(e)}function pP(e,t){return pP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pP(e,t)}function OEe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wEe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EEe(e){var t=wEe();return function(){var n=Zy(e),o;if(t){var i=Zy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bEe(this,o)}}var PEe=function(e){mEe(r,e);var t=EEe(r);function r(n){return hEe(this,r),t.call(this,n)}return gEe(r,null,[{key:"controlName",get:function(){return y.getMessage("positioningContainer")}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Oe);function TEe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _k(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function REe(e,t,r){return t&&_k(e.prototype,t),r&&_k(e,r),e}function ep(e){return ep=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ep(e)}function SEe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vP(e,t)}function NEe(e,t){return t&&(IEe(t)==="object"||typeof t=="function")?t:TEe(e)}function vP(e,t){return vP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vP(e,t)}function IEe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BEe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AEe(e){var t=BEe();return function(){var n=ep(e),o;if(t){var i=ep(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NEe(this,o)}}var MEe=function(e){SEe(r,e);var t=AEe(r);function r(n){return $Ee(this,r),t.call(this,n)}return REe(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Se);function LEe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tp(e){return tp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tp(e)}function FEe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hP(e,t)}function CEe(e,t){return t&&(kEe(t)==="object"||typeof t=="function")?t:LEe(e)}function hP(e,t){return hP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hP(e,t)}function kEe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jEe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VEe(e){var t=jEe();return function(){var n=tp(e),o;if(t){var i=tp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CEe(this,o)}}var xEe=function(e){FEe(r,e);var t=VEe(r);function r(n){return DEe(this,r),t.call(this,n)}return r}(pe),dk={Designer:PEe,Runtime:MEe,Property:xEe};function UEe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HEe(e,t,r){return t&&yk(e.prototype,t),r&&yk(e,r),e}function np(e){return np=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},np(e)}function YEe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gP(e,t)}function zEe(e,t){return t&&(WEe(t)==="object"||typeof t=="function")?t:UEe(e)}function gP(e,t){return gP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gP(e,t)}function WEe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qEe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KEe(e){var t=qEe();return function(){var n=np(e),o;if(t){var i=np(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zEe(this,o)}}var XEe=function(e){YEe(r,e);var t=KEe(r);function r(n){return GEe(this,r),t.call(this,n)}return HEe(r,null,[{key:"controlName",get:function(){return y.getMessage("position")}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(Oe);function JEe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZEe(e,t,r){return t&&pk(e.prototype,t),r&&pk(e,r),e}function rp(e){return rp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rp(e)}function ePe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mP(e,t)}function tPe(e,t){return t&&(nPe(t)==="object"||typeof t=="function")?t:JEe(e)}function mP(e,t){return mP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mP(e,t)}function nPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rPe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oPe(e){var t=rPe();return function(){var n=rp(e),o;if(t){var i=rp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tPe(this,o)}}var iPe=function(e){ePe(r,e);var t=oPe(r);function r(n){return QEe(this,r),t.call(this,n)}return ZEe(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(Se);function Xc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uPe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function op(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ip(e){return ip=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ip(e)}function cPe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bP(e,t)}function aPe(e,t){return t&&(lPe(t)==="object"||typeof t=="function")?t:Xc(e)}function bP(e,t){return bP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bP(e,t)}function lPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fPe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sPe(e){var t=fPe();return function(){var n=ip(e),o;if(t){var i=ip(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aPe(this,o)}}var _Pe=function(e){cPe(r,e);var t=sPe(r);function r(n){uPe(this,r);var o;o=t.call(this,n),op(Xc(o),"widthSpan",void 0),op(Xc(o),"heightSpan",void 0),op(Xc(o),"left",void 0),op(Xc(o),"top",void 0);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var u;o.heightSpan=(u=n==null?void 0:n.heightSpan)!==null&&u!==void 0?u:12;var c;o.left=(c=n==null?void 0:n.left)!==null&&c!==void 0?c:0;var l;return o.top=(l=n==null?void 0:n.top)!==null&&l!==void 0?l:0,o}return r}(pe),vk={Designer:XEe,Runtime:iPe,Property:_Pe};function up(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dPe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cp(e){return cp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cp(e)}function yPe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wP(e,t)}function pPe(e,t){return t&&(vPe(t)==="object"||typeof t=="function")?t:up(e)}function wP(e,t){return wP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wP(e,t)}function vPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hPe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gPe(e){var t=hPe();return function(){var n=cp(e),o;if(t){var i=cp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pPe(this,o)}}var EP=function(e){yPe(r,e);var t=gPe(r);function r(n){dPe(this,r);var o;o=t.call(this,n),OP(up(o),"position",void 0),OP(up(o),"opacity",void 0),OP(up(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var c;return o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"right",o}return r}(pe);function hk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mPe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bPe(e,t,r){return t&&gk(e.prototype,t),r&&gk(e,r),e}function ap(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lp(e){return lp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lp(e)}function OPe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PP(e,t)}function wPe(e,t){return t&&(EPe(t)==="object"||typeof t=="function")?t:hk(e)}function PP(e,t){return PP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PP(e,t)}function EPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PPe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TPe(e){var t=PPe();return function(){var n=lp(e),o;if(t){var i=lp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wPe(this,o)}}var fp=function(e){OPe(r,e);var t=TPe(r);function r(n){mPe(this,r);var o;o=t.call(this,n),ap(hk(o),"props",void 0);var i;return o.props=new EP((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return bPe(r,null,[{key:"controlName",get:function(){return y.getMessage("actionBar")}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(Oe);ap(fp,"slotPosition",{default:"action-bar-slot"}),ap(fp,"excludes",[]),ap(fp,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function mk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $Pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RPe(e,t,r){return t&&bk(e.prototype,t),r&&bk(e,r),e}function SPe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sp(e){return sp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sp(e)}function NPe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&TP(e,t)}function IPe(e,t){return t&&(BPe(t)==="object"||typeof t=="function")?t:mk(e)}function TP(e,t){return TP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TP(e,t)}function BPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function APe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MPe(e){var t=APe();return function(){var n=sp(e),o;if(t){var i=sp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IPe(this,o)}}var LPe=function(e){NPe(r,e);var t=MPe(r);function r(n){$Pe(this,r);var o;o=t.call(this,n),SPe(mk(o),"props",void 0);var i;return o.props=new EP((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return RPe(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(Se),Ok={Designer:fp,Runtime:LPe,Property:EP},DPe=Object.freeze({__proto__:null,Grid:AF,Col:ny,Row:HF,GridRow:dE,CardGroup:eC,SubTableColumn:wE,SubTableRow:sC,GridTableColumn:vC,GridLayoutContainer:wC,Tab:FC,TabPane:BC,Toolbox:GC,ListView:rP,DataView:cP,Page:uk,AdvancedContainer:fk,PositioningContainer:dk,Position:vk,ActionBar:Ok});function G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _p(e){return _p=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_p(e)}function RP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&SP(e,t)}function FPe(e,t){return t&&(CPe(t)==="object"||typeof t=="function")?t:G(e)}function SP(e,t){return SP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},SP(e,t)}function CPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kPe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NP(e){var t=kPe();return function(){var n=_p(e),o;if(t){var i=_p(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FPe(this,o)}}var jPe=function(e){RP(r,e);var t=NP(r);function r(n){$P(this,r);var o;return o=t.call(this,n),U(G(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),U(G(o),"limitRows",[{type:"number",required:!0,message:y.getMessage("isNotNumber")},{type:"number",min:0,message:y.getMessage("limitRowsCannotBeLessThan0")}]),U(G(o),"formKey",{type:"string",required:!1,message:y.getMessage("pleaseEnterForm")}),U(G(o),"maxHeight",{type:"number",required:!0,message:y.getMessage("pleaseEnterMaxHeight")}),U(G(o),"captionTip",{type:"string",required:!1,message:y.getMessage("pleaseEnterCaptionTip")}),U(G(o),"mobileRowCaption",{type:"string",required:!1,message:y.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(Fe),VPe=function(e){RP(r,e);var t=NP(r);function r(n){$P(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:y.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,l){c.length<n.limitRows&&l(y.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:y.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Nr),Jc=function(e){RP(r,e);var t=NP(r);function r(n,o){$P(this,r);var i;i=t.call(this,n,o,r.mode),U(G(i),"caption",void 0),U(G(i),"labelPosition",void 0),U(G(i),"isHideCaption",void 0),U(G(i),"isShowCaptionTip",void 0),U(G(i),"captionTip",void 0),U(G(i),"defaultState",void 0),U(G(i),"limitRows",void 0),U(G(i),"maxRows",void 0),U(G(i),"defaultRows",void 0),U(G(i),"datasourceBind",void 0),U(G(i),"printMode",void 0),U(G(i),"openType",void 0),U(G(i),"formKey",void 0),U(G(i),"useCustomHeight",void 0),U(G(i),"maxHeight",void 0),U(G(i),"canAdd",void 0),U(G(i),"canDelete",void 0),U(G(i),"canCheck",void 0),U(G(i),"canEdit",void 0),U(G(i),"canImport",void 0),U(G(i),"importConfig",void 0),U(G(i),"canExport",void 0),U(G(i),"exportConfig",void 0),U(G(i),"canClear",void 0),U(G(i),"isPaste",void 0),U(G(i),"mobileShowType",void 0),U(G(i),"mobileDefaultNum",void 0),U(G(i),"dataStorageDoc",void 0),U(G(i),"serverPagination",void 0),U(G(i),"fixedColumn",void 0),U(G(i),"mobileRowCaption",void 0),U(G(i),"mobileIsTile",void 0),U(G(i),"sortable",void 0),U(G(i),"sortKey",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Qc.controlName;var c;i.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!1;var l;i.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var f;i.labelPosition=(f=o==null?void 0:o.labelPosition)!==null&&f!==void 0?f:"top";var s;i.openType=(s=o==null?void 0:o.openType)!==null&&s!==void 0?s:"default";var _;i.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var d;i.useCustomHeight=(d=o==null?void 0:o.useCustomHeight)!==null&&d!==void 0?d:!1;var p;i.maxHeight=(p=o==null?void 0:o.maxHeight)!==null&&p!==void 0?p:hB;var m;i.printMode=(m=o==null?void 0:o.printMode)!==null&&m!==void 0?m:"row";var h;i.limitRows=(h=o==null?void 0:o.limitRows)!==null&&h!==void 0?h:1;var E;i.maxRows=(E=o==null?void 0:o.maxRows)!==null&&E!==void 0?E:null;var v;i.defaultRows=(v=o==null?void 0:o.defaultRows)!==null&&v!==void 0?v:1,i.datasourceBind=new Ue(o==null?void 0:o.datasourceBind);var R;i.canAdd=(R=o==null?void 0:o.canAdd)!==null&&R!==void 0?R:!0;var b;i.canDelete=(b=o==null?void 0:o.canDelete)!==null&&b!==void 0?b:!0;var O;i.canCheck=(O=o==null?void 0:o.canCheck)!==null&&O!==void 0?O:!1;var S;i.canEdit=(S=o==null?void 0:o.canEdit)!==null&&S!==void 0?S:!1;var T;i.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var $;i.canExport=($=o==null?void 0:o.canExport)!==null&&$!==void 0?$:!1;var I;i.canClear=(I=o==null?void 0:o.canClear)!==null&&I!==void 0?I:!0;var A;i.serverPagination=(A=o==null?void 0:o.serverPagination)!==null&&A!==void 0?A:!1;var x;i.isShowCaptionTip=(x=o==null?void 0:o.isShowCaptionTip)!==null&&x!==void 0?x:!1;var Z;i.captionTip=(Z=o==null?void 0:o.captionTip)!==null&&Z!==void 0?Z:"";var H;i.mobileShowType=(H=o==null?void 0:o.mobileShowType)!==null&&H!==void 0?H:"list";var he;i.mobileDefaultNum=(he=o==null?void 0:o.mobileDefaultNum)!==null&&he!==void 0?he:10;var st;i.dataStorageDoc=(st=o==null?void 0:o.dataStorageDoc)!==null&&st!==void 0?st:new kN;var cr;i.fixedColumn=(cr=o==null?void 0:o.fixedColumn)!==null&&cr!==void 0?cr:[];var It;i.mobileRowCaption=(It=o==null?void 0:o.mobileRowCaption)!==null&&It!==void 0?It:"\u660E\u7EC6";var ar;i.mobileIsTile=(ar=o==null?void 0:o.mobileIsTile)!==null&&ar!==void 0?ar:!1;var lr;i.isPaste=(lr=o==null?void 0:o.isPaste)!==null&&lr!==void 0?lr:!1;var fr;i.pageSize=(fr=o==null?void 0:o.pageSize)!==null&&fr!==void 0?fr:10;var sr;i.pageSizeOptions=(sr=o==null?void 0:o.pageSizeOptions)!==null&&sr!==void 0?sr:[10,20,50,100],i.importConfig=new pB(o==null?void 0:o.importConfig),i.exportConfig=new vB(o==null?void 0:o.exportConfig);var _r;i.sortable=(_r=o==null?void 0:o.sortable)!==null&&_r!==void 0?_r:!1;var _t;return i.sortKey=(_t=o==null?void 0:o.sortKey)!==null&&_t!==void 0?_t:{},i}return r}(Qu);U(Jc,"Rules",jPe),U(Jc,"RuntimeRules",VPe);function IP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xPe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UPe(e,t,r){return t&&wk(e.prototype,t),r&&wk(e,r),e}function dp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yp(e){return yp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yp(e)}function GPe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&BP(e,t)}function HPe(e,t){return t&&(YPe(t)==="object"||typeof t=="function")?t:IP(e)}function BP(e,t){return BP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},BP(e,t)}function YPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zPe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WPe(e){var t=zPe();return function(){var n=yp(e),o;if(t){var i=yp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HPe(this,o)}}var Qc=function(e){GPe(r,e);var t=WPe(r);function r(n){xPe(this,r);var o,i;return o=t.call(this,n),dp(IP(o),"props",void 0),o.props=new Jc(IP(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new wn,new wn,new wn]),o}return UPe(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new wn,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return y.getMessage("subTable")}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Tl);dp(Qc,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),dp(Qc,"slotPosition",{toolbar:"subtable-toolbar-slot"}),dp(Qc,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,a.COMMON_SETTING_TYPE.IS_PASTE,a.COMMON_SETTING_TYPE.SERVER_PAGINATION,a.COMMON_SETTING_TYPE.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function AP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qPe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ek(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KPe(e,t,r){return t&&Ek(e.prototype,t),r&&Ek(e,r),e}function XPe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pp(e){return pp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pp(e)}function JPe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MP(e,t)}function QPe(e,t){return t&&(ZPe(t)==="object"||typeof t=="function")?t:AP(e)}function MP(e,t){return MP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},MP(e,t)}function ZPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tTe(e){var t=eTe();return function(){var n=pp(e),o;if(t){var i=pp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QPe(this,o)}}var nTe=function(e){JPe(r,e);var t=tTe(r);function r(n){qPe(this,r);var o;return o=t.call(this,n),XPe(AP(o),"props",void 0),o.props=new Jc(AP(o),n==null?void 0:n.props),o}return KPe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){yr("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(qg),Pk={Designer:Qc,Runtime:nTe,Property:Jc};function Xi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vp(e){return vp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vp(e)}function oTe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LP(e,t)}function iTe(e,t){return t&&(uTe(t)==="object"||typeof t=="function")?t:Xi(e)}function LP(e,t){return LP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LP(e,t)}function uTe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aTe(e){var t=cTe();return function(){var n=vp(e),o;if(t){var i=vp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iTe(this,o)}}var DP=function(e){oTe(r,e);var t=aTe(r);function r(n,o){rTe(this,r);var i;i=t.call(this,n,o),Zc(Xi(i),"isFixedHeader",void 0),Zc(Xi(i),"selectionType",void 0),Zc(Xi(i),"isShowToolbar",void 0),Zc(Xi(i),"isShowSelection",void 0),Zc(Xi(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var c;i.isShowToolbar=(c=o==null?void 0:o.isShowToolbar)!==null&&c!==void 0?c:!0;var l;i.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var f;i.isShowCustomColumns=(f=o==null?void 0:o.isShowCustomColumns)!==null&&f!==void 0?f:!0;var s;return i.pageSizeOptions=(s=o==null?void 0:o.pageSizeOptions)!==null&&s!==void 0?s:[10,20,50,100,500],i}return r}(Qu);function lTe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fTe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hp(e){return hp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hp(e)}function $k(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&FP(e,t)}function sTe(e,t){return t&&(_Te(t)==="object"||typeof t=="function")?t:lTe(e)}function FP(e,t){return FP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},FP(e,t)}function _Te(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rk(e){var t=dTe();return function(){var n=hp(e),o;if(t){var i=hp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sTe(this,o)}}var yTe=function(e){$k(r,e);var t=Rk(r);function r(n){Tk(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(dn),gp=function(e){$k(r,e);var t=Rk(r);function r(n){Tk(this,r);var o,i,u;o=t.call(this,n);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"left";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Eo.controlName;var f;o.width=(f=n==null?void 0:n.width)!==null&&f!==void 0?f:60;var s;o.autoWidth.minWidth=(s=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&s!==void 0?s:60;var _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var d;return o.widthType=(d=n==null?void 0:n.widthType)!==null&&d!==void 0?d:"px",o}return r}(Ne);fTe(gp,"Rules",yTe);function Sk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ea(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mp(e){return mp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mp(e)}function vTe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&CP(e,t)}function hTe(e,t){return t&&(gTe(t)==="object"||typeof t=="function")?t:Sk(e)}function CP(e,t){return CP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CP(e,t)}function gTe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bTe(e){var t=mTe();return function(){var n=mp(e),o;if(t){var i=mp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hTe(this,o)}}var Eo=function(e){vTe(r,e);var t=bTe(r);function r(n){pTe(this,r);var o;return o=t.call(this,n),ea(Sk(o),"props",void 0),o.props=new gp(n==null?void 0:n.props),o}return r}(We);ea(Eo,"controlType","order-column"),ea(Eo,"controlName",y.getMessage("order")),ea(Eo,"controlIcon","order-column"),ea(Eo,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function Nk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bp(e){return bp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bp(e)}function wTe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jP(e,t)}function ETe(e,t){return t&&(PTe(t)==="object"||typeof t=="function")?t:Nk(e)}function jP(e,t){return jP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jP(e,t)}function PTe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $Te(e){var t=TTe();return function(){var n=bp(e),o;if(t){var i=bp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ETe(this,o)}}var VP=function(e){wTe(r,e);var t=$Te(r);function r(n){OTe(this,r);var o;return o=t.call(this,n),kP(Nk(o),"props",void 0),o.props=new gp(n==null?void 0:n.props),o}return r}(qe);kP(VP,"controlType","order-column"),kP(VP,"controlFieldType",a.FieldTypes.DECIMAL);var Ik={Designer:Eo,Runtime:VP,Property:gp};function xP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bk(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Op(e){return Op=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Op(e)}function STe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UP(e,t)}function NTe(e,t){return t&&(ITe(t)==="object"||typeof t=="function")?t:xP(e)}function UP(e,t){return UP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UP(e,t)}function ITe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ATe(e){var t=BTe();return function(){var n=Op(e),o;if(t){var i=Op(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NTe(this,o)}}var GP=function(e){STe(r,e);var t=ATe(r);function r(n){RTe(this,r);var o,i;o=t.call(this,n),Bk(xP(o),"showType",void 0),Bk(xP(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var c;o.autoWidth.minWidth=(c=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&c!==void 0?c:84;var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:To.controlName;var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"icon";var s;return o.limit=(s=n==null?void 0:n.limit)!==null&&s!==void 0?s:3,o}return r}(Ne);function Ak(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mk(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(f){r(f);return}c.done?t(l):Promise.resolve(l).then(n,o)}function MTe(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Mk(i,n,o,u,c,"next",l)}function c(l){Mk(i,n,o,u,c,"throw",l)}u(void 0)})}}function LTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DTe(e,t,r){return t&&Lk(e.prototype,t),r&&Lk(e,r),e}function ta(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?na=Reflect.get:na=function(o,i,u){var c=kTe(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},na(e,t,r||e)}function Po(e){return Po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Po(e)}function FTe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&HP(e,t)}function CTe(e,t){return t&&(jTe(t)==="object"||typeof t=="function")?t:Ak(e)}function HP(e,t){return HP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HP(e,t)}function kTe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Po(e),e!==null););return e}function jTe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xTe(e){var t=VTe();return function(){var n=Po(e),o;if(t){var i=Po(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CTe(this,o)}}function UTe(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(f){return function(s){return l([f,s])}}function l(f){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=f[0]&2?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[f[0]&2,o.value]),f[0]){case 0:case 1:o=f;break;case 4:return u.label++,{value:f[1],done:!1};case 5:u.label++,n=f[1],f=[0];continue;case 7:f=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(f[0]===6||f[0]===2)){u=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){u.label=f[1];break}if(f[0]===6&&u.label<o[1]){u.label=o[1],o=f;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(f);break}o[2]&&u.ops.pop(),u.trys.pop();continue}f=t.call(e,u)}catch(s){f=[6,s],n=0}finally{r=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var To=function(e){FTe(r,e);var t=xTe(r);function r(n){LTe(this,r);var o;return o=t.call(this,n),ta(Ak(o),"props",void 0),o.props=new GP(n==null?void 0:n.props),o}return DTe(r,[{key:"toDataBindModel",value:function(){var o=na(Po(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===ws.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return na(Po(r.prototype),"validate",u)};return MTe(function(){return UTe(this,function(f){switch(f.label){case 0:return[4,l().call(c,o,i)];case 1:return f.sent(),[4,Promise.all(c.children.map(function(s){return s.validate(o,i)}))];case 2:return f.sent(),[2,!0]}})})()}}]),r}(We);ta(To,"controlType","operation-column"),ta(To,"controlName",y.getMessage("operation")),ta(To,"controlIcon","operation-column"),ta(To,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function Dk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wp(e){return wp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wp(e)}function HTe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zP(e,t)}function YTe(e,t){return t&&(zTe(t)==="object"||typeof t=="function")?t:Dk(e)}function zP(e,t){return zP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zP(e,t)}function zTe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qTe(e){var t=WTe();return function(){var n=wp(e),o;if(t){var i=wp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YTe(this,o)}}var WP=function(e){HTe(r,e);var t=qTe(r);function r(n){GTe(this,r);var o;return o=t.call(this,n),YP(Dk(o),"props",void 0),o.props=new GP(n==null?void 0:n.props),o}return r}(qe);YP(WP,"controlType","operation-column"),YP(WP,"controlFieldType",a.FieldTypes.FILE);var Fk={Designer:To,Runtime:WP,Property:GP};function $o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ck(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(f){r(f);return}c.done?t(l):Promise.resolve(l).then(n,o)}function KTe(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Ck(i,n,o,u,c,"next",l)}function c(l){Ck(i,n,o,u,c,"throw",l)}u(void 0)})}}function XTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JTe(e,t,r){return t&&kk(e.prototype,t),r&&kk(e,r),e}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ra=Reflect.get:ra=function(o,i,u){var c=o$e(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},ra(e,t,r||e)}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(e)}function QTe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qP(e,t)}function ZTe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function e$e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){rr(e,o,r[o])})}return e}function t$e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function n$e(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):t$e(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function r$e(e,t){return t&&(i$e(t)==="object"||typeof t=="function")?t:$o(e)}function qP(e,t){return qP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qP(e,t)}function o$e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ro(e),e!==null););return e}function i$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c$e(e){var t=u$e();return function(){var n=Ro(e),o;if(t){var i=Ro(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r$e(this,o)}}function a$e(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(f){return function(s){return l([f,s])}}function l(f){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=f[0]&2?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[f[0]&2,o.value]),f[0]){case 0:case 1:o=f;break;case 4:return u.label++,{value:f[1],done:!1};case 5:u.label++,n=f[1],f=[0];continue;case 7:f=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(f[0]===6||f[0]===2)){u=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){u.label=f[1];break}if(f[0]===6&&u.label<o[1]){u.label=o[1],o=f;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(f);break}o[2]&&u.ops.pop(),u.trys.pop();continue}f=t.call(e,u)}catch(s){f=[6,s],n=0}finally{r=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var l$e=1e4,oa=function(t){QTe(n,t);var r=c$e(n);function n(o){XTe(this,n);var i;i=r.call(this,o),rr($o(i),"props",void 0),rr($o(i),"children",void 0),rr($o(i),"excludes",void 0),rr($o(i),"childrenMaxLength",void 0);var u=ZTe(this,n)?this.constructor:void 0,c=u.excludes,l=u.childrenMaxLength;return i.props=new DP($o(i),o==null?void 0:o.props),_n($o(i),"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new Eo,new To]),i.excludes=zt(c),i.childrenMaxLength=l,i}return JTe(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toSchema",value:function(){var i=ra(Ro(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){return c.toSchema()});return n$e(e$e({},i),{children:u})}},{key:"validate",value:function(i,u){var c=this,l=this,f=function(){return ra(Ro(n.prototype),"validate",c)};return KTe(function(){return a$e(this,function(s){switch(s.label){case 0:return[4,f().call(l,i,u)];case 1:return s.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return y.getMessage("gridTable")}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(Tl);rr(oa,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),rr(oa,"setting",[{key:"list-fixed-header",visible:!0}]),rr(oa,"excludes",[]),rr(oa,"childrenMaxLength",l$e);function KP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f$e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s$e(e,t,r){return t&&jk(e.prototype,t),r&&jk(e,r),e}function _$e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ep(e){return Ep=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ep(e)}function d$e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&XP(e,t)}function y$e(e,t){return t&&(p$e(t)==="object"||typeof t=="function")?t:KP(e)}function XP(e,t){return XP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},XP(e,t)}function p$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h$e(e){var t=v$e();return function(){var n=Ep(e),o;if(t){var i=Ep(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y$e(this,o)}}var g$e=function(e){d$e(r,e);var t=h$e(r);function r(n){f$e(this,r);var o;return o=t.call(this,n),_$e(KP(o),"props",void 0),o.props=new DP(KP(o),n==null?void 0:n.props),o}return s$e(r,[{key:"getChildrenDataSourceBindLayout",value:function(){yr("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}},{key:"getCheckboxProps",value:function(o){return{}}}],[{key:"controlType",get:function(){return"grid-table"}}]),r}(qg),Vk={Designer:oa,Runtime:g$e,Property:DP},m$e=Object.freeze({__proto__:null,SubTable:Pk,GridTable:Vk});function or(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pp(e){return Pp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pp(e)}function Uk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JP(e,t)}function b$e(e,t){return t&&(O$e(t)==="object"||typeof t=="function")?t:or(e)}function JP(e,t){return JP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},JP(e,t)}function O$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gk(e){var t=w$e();return function(){var n=Pp(e),o;if(t){var i=Pp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b$e(this,o)}}var E$e=function(e){Uk(r,e);var t=Gk(r);function r(n){xk(this,r);var o;return o=t.call(this,n),qn.call(or(o),n),o}return r}(Zg),Tp=function(e){Uk(r,e);var t=Gk(r);function r(n){xk(this,r);var o;o=t.call(this,n),Yr(or(o),"optionConfig",void 0),Yr(or(o),"datasourceBind",void 0),Yr(or(o),"showLinkOperation",void 0),Yr(or(o),"linkOperationOption",void 0),Yr(or(o),"options",void 0),Yr(or(o),"lineEllipsis",void 0),Yr(or(o),"dictionaryTagConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:So.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var c;o.options=Nn((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption);var f;o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1;var s;return o.dictionaryTagConfig=(s=n==null?void 0:n.dictionaryTagConfig)!==null&&s!==void 0?s:{isTag:!1},o}return r}(Ne);Yr(Tp,"Rules",E$e);function Hk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P$e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ji(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $p(e){return $p=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$p(e)}function T$e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&QP(e,t)}function $$e(e,t){return t&&(R$e(t)==="object"||typeof t=="function")?t:Hk(e)}function QP(e,t){return QP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},QP(e,t)}function R$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N$e(e){var t=S$e();return function(){var n=$p(e),o;if(t){var i=$p(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $$e(this,o)}}var So=function(e){T$e(r,e);var t=N$e(r);function r(n){P$e(this,r);var o;return o=t.call(this,n),Ji(Hk(o),"props",void 0),o.props=new Tp(n==null?void 0:n.props),o}return r}(We);Ji(So,"controlType","varchar-column"),Ji(So,"controlName",y.getMessage("varchar")),Ji(So,"controlIcon","varchar-column"),Ji(So,"controlFieldType",a.FieldTypes.VARCHAR),Ji(So,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function Yk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I$e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rp(e){return Rp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rp(e)}function B$e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eT(e,t)}function A$e(e,t){return t&&(M$e(t)==="object"||typeof t=="function")?t:Yk(e)}function eT(e,t){return eT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eT(e,t)}function M$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D$e(e){var t=L$e();return function(){var n=Rp(e),o;if(t){var i=Rp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A$e(this,o)}}var tT=function(e){B$e(r,e);var t=D$e(r);function r(n){I$e(this,r);var o;return o=t.call(this,n),ZP(Yk(o),"props",void 0),o.props=new Tp(n==null?void 0:n.props),o}return r}(qe);ZP(tT,"controlType","varchar-column"),ZP(tT,"controlFieldType",a.FieldTypes.VARCHAR);var zk={Designer:So,Runtime:tT,Property:Tp};function Qi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ia(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sp(e){return Sp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sp(e)}function qk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nT(e,t)}function F$e(e,t){return t&&(C$e(t)==="object"||typeof t=="function")?t:Qi(e)}function nT(e,t){return nT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nT(e,t)}function C$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kk(e){var t=k$e();return function(){var n=Sp(e),o;if(t){var i=Sp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F$e(this,o)}}var j$e=function(e){qk(r,e);var t=Kk(r);function r(n){Wk(this,r);var o;return o=t.call(this,n),qn.call(Qi(o),n),o}return r}(dn),Np=function(e){qk(r,e);var t=Kk(r);function r(n){Wk(this,r);var o;o=t.call(this,n),ia(Qi(o),"escapeHTML",void 0),ia(Qi(o),"showLinkOperation",void 0),ia(Qi(o),"linkOperationOption",void 0),ia(Qi(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!1;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:No.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var l;return o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);ia(Np,"Rules",j$e);function Xk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V$e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x$e(e,t,r){return t&&Jk(e.prototype,t),r&&Jk(e,r),e}function Zi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ip(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ip=Reflect.get:Ip=function(o,i,u){var c=H$e(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Ip(e,t,r||e)}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function U$e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rT(e,t)}function G$e(e,t){return t&&(Y$e(t)==="object"||typeof t=="function")?t:Xk(e)}function rT(e,t){return rT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rT(e,t)}function H$e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=eu(e),e!==null););return e}function Y$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W$e(e){var t=z$e();return function(){var n=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G$e(this,o)}}var No=function(e){U$e(r,e);var t=W$e(r);function r(n){V$e(this,r);var o;return o=t.call(this,n),Zi(Xk(o),"props",void 0),o.props=new Np(n==null?void 0:n.props),o}return x$e(r,[{key:"toDataBindModel",value:function(o){var i=Ip(eu(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(We);Zi(No,"controlType","text-column"),Zi(No,"controlName",y.getMessage("long")),Zi(No,"controlIcon","text-column"),Zi(No,"controlFieldType",a.FieldTypes.TEXT),Zi(No,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function Qk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q$e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bp(e){return Bp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bp(e)}function K$e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iT(e,t)}function X$e(e,t){return t&&(J$e(t)==="object"||typeof t=="function")?t:Qk(e)}function iT(e,t){return iT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iT(e,t)}function J$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z$e(e){var t=Q$e();return function(){var n=Bp(e),o;if(t){var i=Bp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X$e(this,o)}}var uT=function(e){K$e(r,e);var t=Z$e(r);function r(n){q$e(this,r);var o;return o=t.call(this,n),oT(Qk(o),"props",void 0),o.props=new Np(n==null?void 0:n.props),o}return r}(qe);oT(uT,"controlType","text-column"),oT(uT,"controlFieldType",a.FieldTypes.TEXT);var Zk={Designer:No,Runtime:uT,Property:Np};function kn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ir(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ap(e){return Ap=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ap(e)}function t2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cT(e,t)}function eRe(e,t){return t&&(tRe(t)==="object"||typeof t=="function")?t:kn(e)}function cT(e,t){return cT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cT(e,t)}function tRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n2(e){var t=nRe();return function(){var n=Ap(e),o;if(t){var i=Ap(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eRe(this,o)}}var rRe=function(e){t2(r,e);var t=n2(r);function r(n){e2(this,r);var o;return o=t.call(this,n),qn.call(kn(o),n),o}return r}(dn),Mp=function(e){t2(r,e);var t=n2(r);function r(n){e2(this,r);var o;o=t.call(this,n),ir(kn(o),"optionConfig",void 0),ir(kn(o),"datasourceBind",void 0),ir(kn(o),"showLinkOperation",void 0),ir(kn(o),"linkOperationOption",void 0),ir(kn(o),"options",void 0),ir(kn(o),"precision",void 0),ir(kn(o),"micrometer",void 0),ir(kn(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Io.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"none",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var s;o.options=Nn((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);ir(Mp,"Rules",rRe);function r2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oRe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o2(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iRe(e,t,r){return t&&o2(e.prototype,t),r&&o2(e,r),e}function tu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lp(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lp=Reflect.get:Lp=function(o,i,u){var c=aRe(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Lp(e,t,r||e)}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function uRe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aT(e,t)}function cRe(e,t){return t&&(lRe(t)==="object"||typeof t=="function")?t:r2(e)}function aT(e,t){return aT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aT(e,t)}function aRe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nu(e),e!==null););return e}function lRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sRe(e){var t=fRe();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cRe(this,o)}}var Io=function(e){uRe(r,e);var t=sRe(r);function r(n){oRe(this,r);var o;return o=t.call(this,n),tu(r2(o),"props",void 0),o.props=new Mp(n==null?void 0:n.props),o}return iRe(r,[{key:"toDataBindModel",value:function(o){var i=Lp(nu(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}]),r}(We);tu(Io,"controlType","decimal-column"),tu(Io,"controlName",y.getMessage("decimal")),tu(Io,"controlIcon","decimal-column"),tu(Io,"controlFieldType",a.FieldTypes.DECIMAL),tu(Io,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.MICROMETER,a.COMMON_SETTING_TYPE.PRECISION,a.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function i2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dp(e){return Dp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dp(e)}function dRe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fT(e,t)}function yRe(e,t){return t&&(pRe(t)==="object"||typeof t=="function")?t:i2(e)}function fT(e,t){return fT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fT(e,t)}function pRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hRe(e){var t=vRe();return function(){var n=Dp(e),o;if(t){var i=Dp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yRe(this,o)}}var sT=function(e){dRe(r,e);var t=hRe(r);function r(n){_Re(this,r);var o;return o=t.call(this,n),lT(i2(o),"props",void 0),o.props=new Mp(n==null?void 0:n.props),o}return r}(qe);lT(sT,"controlType","decimal-column"),lT(sT,"controlFieldType",a.FieldTypes.DECIMAL);var u2={Designer:Io,Runtime:sT,Property:Mp};function ua(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cp(e){return Cp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cp(e)}function a2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_T(e,t)}function gRe(e,t){return t&&(mRe(t)==="object"||typeof t=="function")?t:ua(e)}function _T(e,t){return _T=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_T(e,t)}function mRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l2(e){var t=bRe();return function(){var n=Cp(e),o;if(t){var i=Cp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gRe(this,o)}}var ORe=function(e){a2(r,e);var t=l2(r);function r(n){c2(this,r);var o;return o=t.call(this,n),qn.call(ua(o),n),o}return r}(dn),kp=function(e){a2(r,e);var t=l2(r);function r(n){c2(this,r);var o;o=t.call(this,n),Fp(ua(o),"dateType",void 0),Fp(ua(o),"showLinkOperation",void 0),Fp(ua(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:a.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Bo.controlName,o}return r}(Ne);Fp(kp,"Rules",ORe);function f2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wRe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s2(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ERe(e,t,r){return t&&s2(e.prototype,t),r&&s2(e,r),e}function ru(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jp(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?jp=Reflect.get:jp=function(o,i,u){var c=$Re(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},jp(e,t,r||e)}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(e)}function PRe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dT(e,t)}function TRe(e,t){return t&&(RRe(t)==="object"||typeof t=="function")?t:f2(e)}function dT(e,t){return dT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dT(e,t)}function $Re(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ou(e),e!==null););return e}function RRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NRe(e){var t=SRe();return function(){var n=ou(e),o;if(t){var i=ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TRe(this,o)}}var Bo=function(e){PRe(r,e);var t=NRe(r);function r(n){wRe(this,r);var o;return o=t.call(this,n),ru(f2(o),"props",void 0),o.props=new kp(n==null?void 0:n.props),o}return ERe(r,[{key:"toDataBindModel",value:function(o){var i=jp(ou(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(We);ru(Bo,"controlType","timescope-column"),ru(Bo,"controlName",y.getMessage("timescope")),ru(Bo,"controlIcon","timescope-column"),ru(Bo,"controlFieldType",a.FieldTypes.TIMESCOPE),ru(Bo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function _2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IRe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vp(e){return Vp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vp(e)}function BRe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pT(e,t)}function ARe(e,t){return t&&(MRe(t)==="object"||typeof t=="function")?t:_2(e)}function pT(e,t){return pT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pT(e,t)}function MRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DRe(e){var t=LRe();return function(){var n=Vp(e),o;if(t){var i=Vp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ARe(this,o)}}var vT=function(e){BRe(r,e);var t=DRe(r);function r(n){IRe(this,r);var o;return o=t.call(this,n),yT(_2(o),"props",void 0),o.props=new kp(n==null?void 0:n.props),o}return r}(qe);yT(vT,"controlType","timescope-column"),yT(vT,"controlFieldType",a.FieldTypes.TIMESCOPE);var d2={Designer:Bo,Runtime:vT,Property:kp};function ca(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Up(e){return Up=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Up(e)}function p2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hT(e,t)}function FRe(e,t){return t&&(CRe(t)==="object"||typeof t=="function")?t:ca(e)}function hT(e,t){return hT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hT(e,t)}function CRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v2(e){var t=kRe();return function(){var n=Up(e),o;if(t){var i=Up(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FRe(this,o)}}var jRe=function(e){p2(r,e);var t=v2(r);function r(n){y2(this,r);var o;return o=t.call(this,n),qn.call(ca(o),n),o}return r}(dn),Gp=function(e){p2(r,e);var t=v2(r);function r(n){y2(this,r);var o;o=t.call(this,n),xp(ca(o),"dateType",void 0),xp(ca(o),"showLinkOperation",void 0),xp(ca(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:a.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Ao.controlName,o}return r}(Ne);xp(Gp,"Rules",jRe);function h2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VRe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g2(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xRe(e,t,r){return t&&g2(e.prototype,t),r&&g2(e,r),e}function iu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hp(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hp=Reflect.get:Hp=function(o,i,u){var c=HRe(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Hp(e,t,r||e)}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function URe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gT(e,t)}function GRe(e,t){return t&&(YRe(t)==="object"||typeof t=="function")?t:h2(e)}function gT(e,t){return gT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gT(e,t)}function HRe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=uu(e),e!==null););return e}function YRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WRe(e){var t=zRe();return function(){var n=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GRe(this,o)}}var Ao=function(e){URe(r,e);var t=WRe(r);function r(n){VRe(this,r);var o;return o=t.call(this,n),iu(h2(o),"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return xRe(r,[{key:"toDataBindModel",value:function(o){var i=Hp(uu(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(We);iu(Ao,"controlType","timestamp-column"),iu(Ao,"controlName",y.getMessage("timestamp")),iu(Ao,"controlIcon","timestamp-column"),iu(Ao,"controlFieldType",a.FieldTypes.TIMESTAMP),iu(Ao,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function m2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qRe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yp(e){return Yp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yp(e)}function KRe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bT(e,t)}function XRe(e,t){return t&&(JRe(t)==="object"||typeof t=="function")?t:m2(e)}function bT(e,t){return bT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bT(e,t)}function JRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZRe(e){var t=QRe();return function(){var n=Yp(e),o;if(t){var i=Yp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XRe(this,o)}}var OT=function(e){KRe(r,e);var t=ZRe(r);function r(n){qRe(this,r);var o;return o=t.call(this,n),mT(m2(o),"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return r}(qe);mT(OT,"controlType","timestamp-column"),mT(OT,"controlFieldType",a.FieldTypes.TIMESTAMP);var b2={Designer:Ao,Runtime:OT,Property:Gp};function Mo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zp(e){return zp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zp(e)}function w2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wT(e,t)}function eSe(e,t){return t&&(tSe(t)==="object"||typeof t=="function")?t:Mo(e)}function wT(e,t){return wT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wT(e,t)}function tSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E2(e){var t=nSe();return function(){var n=zp(e),o;if(t){var i=zp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eSe(this,o)}}var rSe=function(e){w2(r,e);var t=E2(r);function r(n){O2(this,r);var o;return o=t.call(this,n),qn.call(Mo(o),n),o}return r}(Zg),Wp=function(e){w2(r,e);var t=E2(r);function r(n){O2(this,r);var o;o=t.call(this,n),cu(Mo(o),"optionConfig",void 0),cu(Mo(o),"datasourceBind",void 0),cu(Mo(o),"showLinkOperation",void 0),cu(Mo(o),"linkOperationOption",void 0),cu(Mo(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Lo.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption);var l;return o.options=Nn((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return r}(Ne);cu(Wp,"Rules",rSe);function P2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oSe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function au(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qp(e){return qp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qp(e)}function iSe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ET(e,t)}function uSe(e,t){return t&&(cSe(t)==="object"||typeof t=="function")?t:P2(e)}function ET(e,t){return ET=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ET(e,t)}function cSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lSe(e){var t=aSe();return function(){var n=qp(e),o;if(t){var i=qp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uSe(this,o)}}var Lo=function(e){iSe(r,e);var t=lSe(r);function r(n){oSe(this,r);var o;return o=t.call(this,n),au(P2(o),"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return r}(We);au(Lo,"controlType","array-column"),au(Lo,"controlName",y.getMessage("array")),au(Lo,"controlIcon","array-column"),au(Lo,"controlFieldType",a.FieldTypes.ARRAY),au(Lo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function T2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fSe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kp(e){return Kp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kp(e)}function sSe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&TT(e,t)}function _Se(e,t){return t&&(dSe(t)==="object"||typeof t=="function")?t:T2(e)}function TT(e,t){return TT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TT(e,t)}function dSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ySe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pSe(e){var t=ySe();return function(){var n=Kp(e),o;if(t){var i=Kp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _Se(this,o)}}var $T=function(e){sSe(r,e);var t=pSe(r);function r(n){fSe(this,r);var o;return o=t.call(this,n),PT(T2(o),"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return r}(qe);PT($T,"controlType","array-column"),PT($T,"controlFieldType",a.FieldTypes.ARRAY);var $2={Designer:Lo,Runtime:$T,Property:Wp};function R2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vSe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hSe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xp(e){return Xp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xp(e)}function gSe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RT(e,t)}function mSe(e,t){return t&&(bSe(t)==="object"||typeof t=="function")?t:R2(e)}function RT(e,t){return RT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RT(e,t)}function bSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wSe(e){var t=OSe();return function(){var n=Xp(e),o;if(t){var i=Xp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mSe(this,o)}}var ST=function(e){gSe(r,e);var t=wSe(r);function r(n){vSe(this,r);var o;o=t.call(this,n),hSe(R2(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Do.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(Ne);function S2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ESe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N2(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PSe(e,t,r){return t&&N2(e.prototype,t),r&&N2(e,r),e}function lu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jp(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Jp=Reflect.get:Jp=function(o,i,u){var c=RSe(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Jp(e,t,r||e)}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function TSe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NT(e,t)}function $Se(e,t){return t&&(SSe(t)==="object"||typeof t=="function")?t:S2(e)}function NT(e,t){return NT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NT(e,t)}function RSe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fu(e),e!==null););return e}function SSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ISe(e){var t=NSe();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Se(this,o)}}var Do=function(e){TSe(r,e);var t=ISe(r);function r(n){ESe(this,r);var o;return o=t.call(this,n),lu(S2(o),"props",void 0),o.props=new ST(n==null?void 0:n.props),o}return PSe(r,[{key:"toDataBindModel",value:function(o){var i=Jp(fu(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(We);lu(Do,"controlType","department-column"),lu(Do,"controlName",y.getMessage("department")),lu(Do,"controlIcon","department-column"),lu(Do,"controlFieldType",a.FieldTypes.DEPARTMENTS),lu(Do,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function I2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BSe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qp(e){return Qp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qp(e)}function ASe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&BT(e,t)}function MSe(e,t){return t&&(LSe(t)==="object"||typeof t=="function")?t:I2(e)}function BT(e,t){return BT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},BT(e,t)}function LSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FSe(e){var t=DSe();return function(){var n=Qp(e),o;if(t){var i=Qp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MSe(this,o)}}var AT=function(e){ASe(r,e);var t=FSe(r);function r(n){BSe(this,r);var o;return o=t.call(this,n),IT(I2(o),"props",void 0),o.props=new ST(n==null?void 0:n.props),o}return r}(qe);IT(AT,"controlType","department-column"),IT(AT,"controlFieldType",a.FieldTypes.DEPARTMENTS);var B2={Designer:Do,Runtime:AT,Property:ST};function Zp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ev(e){return ev=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ev(e)}function M2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LT(e,t)}function CSe(e,t){return t&&(kSe(t)==="object"||typeof t=="function")?t:Zp(e)}function LT(e,t){return LT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LT(e,t)}function kSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L2(e){var t=jSe();return function(){var n=ev(e),o;if(t){var i=ev(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CSe(this,o)}}var VSe=function(e){M2(r,e);var t=L2(r);function r(n){A2(this,r);var o;return o=t.call(this,n),qn.call(Zp(o),n),o}return r}(dn),tv=function(e){M2(r,e);var t=L2(r);function r(n){A2(this,r);var o;o=t.call(this,n),MT(Zp(o),"showLinkOperation",void 0),MT(Zp(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Fo.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);MT(tv,"Rules",VSe);function D2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xSe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function su(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nv(e){return nv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nv(e)}function USe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&DT(e,t)}function GSe(e,t){return t&&(HSe(t)==="object"||typeof t=="function")?t:D2(e)}function DT(e,t){return DT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DT(e,t)}function HSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zSe(e){var t=YSe();return function(){var n=nv(e),o;if(t){var i=nv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GSe(this,o)}}var Fo=function(e){USe(r,e);var t=zSe(r);function r(n){xSe(this,r);var o;return o=t.call(this,n),su(D2(o),"props",void 0),o.props=new tv(n==null?void 0:n.props),o}return r}(We);su(Fo,"controlType","auto-number-column"),su(Fo,"controlName",y.getMessage("autoNumber")),su(Fo,"controlIcon","auto-number-column"),su(Fo,"controlFieldType",a.FieldTypes.AUTO_NUMBER),su(Fo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function F2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WSe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rv(e){return rv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rv(e)}function qSe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&CT(e,t)}function KSe(e,t){return t&&(XSe(t)==="object"||typeof t=="function")?t:F2(e)}function CT(e,t){return CT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CT(e,t)}function XSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QSe(e){var t=JSe();return function(){var n=rv(e),o;if(t){var i=rv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KSe(this,o)}}var kT=function(e){qSe(r,e);var t=QSe(r);function r(n){WSe(this,r);var o;return o=t.call(this,n),FT(F2(o),"props",void 0),o.props=new tv(n==null?void 0:n.props),o}return r}(qe);FT(kT,"controlType","auto-number-column"),FT(kT,"controlFieldType",a.FieldTypes.AUTO_NUMBER);var C2={Designer:Fo,Runtime:kT,Property:tv};function ZSe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ov(e){return ov=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ov(e)}function tNe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jT(e,t)}function nNe(e,t){return t&&(rNe(t)==="object"||typeof t=="function")?t:ZSe(e)}function jT(e,t){return jT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jT(e,t)}function rNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oNe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iNe(e){var t=oNe();return function(){var n=ov(e),o;if(t){var i=ov(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nNe(this,o)}}var VT=function(e){tNe(r,e);var t=iNe(r);function r(n){eNe(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Co.controlName,o}return r}(Ne);function k2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iv(e){return iv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iv(e)}function cNe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xT(e,t)}function aNe(e,t){return t&&(lNe(t)==="object"||typeof t=="function")?t:k2(e)}function xT(e,t){return xT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xT(e,t)}function lNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fNe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sNe(e){var t=fNe();return function(){var n=iv(e),o;if(t){var i=iv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aNe(this,o)}}var Co=function(e){cNe(r,e);var t=sNe(r);function r(n){uNe(this,r);var o;return o=t.call(this,n),_u(k2(o),"props",void 0),o.props=new VT(n==null?void 0:n.props),o}return r}(We);_u(Co,"controlType","file-column"),_u(Co,"controlName",y.getMessage("file")),_u(Co,"controlIcon","file-column"),_u(Co,"controlFieldType",a.FieldTypes.FILE),_u(Co,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function j2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uv(e){return uv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uv(e)}function dNe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&GT(e,t)}function yNe(e,t){return t&&(pNe(t)==="object"||typeof t=="function")?t:j2(e)}function GT(e,t){return GT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},GT(e,t)}function pNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vNe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hNe(e){var t=vNe();return function(){var n=uv(e),o;if(t){var i=uv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yNe(this,o)}}var HT=function(e){dNe(r,e);var t=hNe(r);function r(n){_Ne(this,r);var o;return o=t.call(this,n),UT(j2(o),"props",void 0),o.props=new VT(n==null?void 0:n.props),o}return r}(qe);UT(HT,"controlType","file-column"),UT(HT,"controlFieldType",a.FieldTypes.FILE);var V2={Designer:Co,Runtime:HT,Property:VT};function gNe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cv(e){return cv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cv(e)}function bNe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&YT(e,t)}function ONe(e,t){return t&&(wNe(t)==="object"||typeof t=="function")?t:gNe(e)}function YT(e,t){return YT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YT(e,t)}function wNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ENe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PNe(e){var t=ENe();return function(){var n=cv(e),o;if(t){var i=cv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ONe(this,o)}}var zT=function(e){bNe(r,e);var t=PNe(r);function r(n){mNe(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ko.controlName,o}return r}(Ne);function x2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function du(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function av(e){return av=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},av(e)}function $Ne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&WT(e,t)}function RNe(e,t){return t&&(SNe(t)==="object"||typeof t=="function")?t:x2(e)}function WT(e,t){return WT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},WT(e,t)}function SNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NNe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function INe(e){var t=NNe();return function(){var n=av(e),o;if(t){var i=av(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RNe(this,o)}}var ko=function(e){$Ne(r,e);var t=INe(r);function r(n){TNe(this,r);var o;return o=t.call(this,n),du(x2(o),"props",void 0),o.props=new zT(n==null?void 0:n.props),o}return r}(We);du(ko,"controlType","image-column"),du(ko,"controlName",y.getMessage("image")),du(ko,"controlIcon","image-column"),du(ko,"controlFieldType",a.FieldTypes.IMAGE),du(ko,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function U2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lv(e){return lv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lv(e)}function ANe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&KT(e,t)}function MNe(e,t){return t&&(LNe(t)==="object"||typeof t=="function")?t:U2(e)}function KT(e,t){return KT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KT(e,t)}function LNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DNe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FNe(e){var t=DNe();return function(){var n=lv(e),o;if(t){var i=lv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MNe(this,o)}}var XT=function(e){ANe(r,e);var t=FNe(r);function r(n){BNe(this,r);var o;return o=t.call(this,n),qT(U2(o),"props",void 0),o.props=new zT(n==null?void 0:n.props),o}return r}(qe);qT(XT,"controlType","image-column"),qT(XT,"controlFieldType",a.FieldTypes.IMAGE);var G2={Designer:ko,Runtime:XT,Property:zT};function CNe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fv(e){return fv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fv(e)}function jNe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JT(e,t)}function VNe(e,t){return t&&(xNe(t)==="object"||typeof t=="function")?t:CNe(e)}function JT(e,t){return JT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},JT(e,t)}function xNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UNe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GNe(e){var t=UNe();return function(){var n=fv(e),o;if(t){var i=fv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VNe(this,o)}}var QT=function(e){jNe(r,e);var t=GNe(r);function r(n){kNe(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:jo.controlName,o}return r}(Ne);function H2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sv(e){return sv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sv(e)}function YNe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZT(e,t)}function zNe(e,t){return t&&(WNe(t)==="object"||typeof t=="function")?t:H2(e)}function ZT(e,t){return ZT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZT(e,t)}function WNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qNe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KNe(e){var t=qNe();return function(){var n=sv(e),o;if(t){var i=sv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zNe(this,o)}}var jo=function(e){YNe(r,e);var t=KNe(r);function r(n){HNe(this,r);var o;return o=t.call(this,n),yu(H2(o),"props",void 0),o.props=new QT(n==null?void 0:n.props),o}return r}(We);yu(jo,"controlType","people-column"),yu(jo,"controlName",y.getMessage("people")),yu(jo,"controlIcon","people-column"),yu(jo,"controlFieldType",a.FieldTypes.EMPLOYEES),yu(jo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Y2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _v(e){return _v=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_v(e)}function JNe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t$(e,t)}function QNe(e,t){return t&&(ZNe(t)==="object"||typeof t=="function")?t:Y2(e)}function t$(e,t){return t$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t$(e,t)}function ZNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tIe(e){var t=eIe();return function(){var n=_v(e),o;if(t){var i=_v(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QNe(this,o)}}var n$=function(e){JNe(r,e);var t=tIe(r);function r(n){XNe(this,r);var o;return o=t.call(this,n),e$(Y2(o),"props",void 0),o.props=new QT(n==null?void 0:n.props),o}return r}(qe);e$(n$,"controlType","people-column"),e$(n$,"controlFieldType",a.FieldTypes.EMPLOYEES);var z2={Designer:jo,Runtime:n$,Property:QT};function dv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yv(e){return yv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yv(e)}function q2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o$(e,t)}function nIe(e,t){return t&&(rIe(t)==="object"||typeof t=="function")?t:dv(e)}function o$(e,t){return o$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o$(e,t)}function rIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K2(e){var t=oIe();return function(){var n=yv(e),o;if(t){var i=yv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nIe(this,o)}}var iIe=function(e){q2(r,e);var t=K2(r);function r(n){W2(this,r);var o;return o=t.call(this,n),qn.call(dv(o),n),o}return r}(dn),pv=function(e){q2(r,e);var t=K2(r);function r(n){W2(this,r);var o;o=t.call(this,n),r$(dv(o),"showLinkOperation",void 0),r$(dv(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Vo.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);r$(pv,"Rules",iIe);function X2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vv(e){return vv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vv(e)}function cIe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i$(e,t)}function aIe(e,t){return t&&(lIe(t)==="object"||typeof t=="function")?t:X2(e)}function i$(e,t){return i$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i$(e,t)}function lIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sIe(e){var t=fIe();return function(){var n=vv(e),o;if(t){var i=vv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aIe(this,o)}}var Vo=function(e){cIe(r,e);var t=sIe(r);function r(n){uIe(this,r);var o;return o=t.call(this,n),pu(X2(o),"props",void 0),o.props=new pv(n==null?void 0:n.props),o}return r}(We);pu(Vo,"controlType","location-column"),pu(Vo,"controlName",y.getMessage("location")),pu(Vo,"controlIcon","location-column"),pu(Vo,"controlFieldType",a.FieldTypes.ADDRESS),pu(Vo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function J2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hv(e){return hv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hv(e)}function dIe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c$(e,t)}function yIe(e,t){return t&&(pIe(t)==="object"||typeof t=="function")?t:J2(e)}function c$(e,t){return c$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c$(e,t)}function pIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hIe(e){var t=vIe();return function(){var n=hv(e),o;if(t){var i=hv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yIe(this,o)}}var a$=function(e){dIe(r,e);var t=hIe(r);function r(n){_Ie(this,r);var o;return o=t.call(this,n),u$(J2(o),"props",void 0),o.props=new pv(n==null?void 0:n.props),o}return r}(qe);u$(a$,"controlType","location-column"),u$(a$,"controlFieldType",a.FieldTypes.ADDRESS);var Q2={Designer:Vo,Runtime:a$,Property:pv};function gv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bv(e){return bv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bv(e)}function e5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l$(e,t)}function gIe(e,t){return t&&(mIe(t)==="object"||typeof t=="function")?t:gv(e)}function l$(e,t){return l$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l$(e,t)}function mIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t5(e){var t=bIe();return function(){var n=bv(e),o;if(t){var i=bv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gIe(this,o)}}var OIe=function(e){e5(r,e);var t=t5(r);function r(n){Z2(this,r);var o;return o=t.call(this,n),mv(gv(o),"sortFieldCode",{type:"string",message:y.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(dn),Ov=function(e){e5(r,e);var t=t5(r);function r(n){Z2(this,r);var o;o=t.call(this,n),mv(gv(o),"fieldCodeList",void 0),mv(gv(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ur.controlName;var u;o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[];var c;return o.sortFieldCode=(c=n==null?void 0:n.sortFieldCode)!==null&&c!==void 0?c:"",o}return r}(Ne);mv(Ov,"Rules",OIe);function vu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n5(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EIe(e,t,r){return t&&n5(e.prototype,t),r&&n5(e,r),e}function En(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wv(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?wv=Reflect.get:wv=function(o,i,u){var c=RIe(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},wv(e,t,r||e)}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function PIe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f$(e,t)}function TIe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function $Ie(e,t){return t&&(SIe(t)==="object"||typeof t=="function")?t:vu(e)}function f$(e,t){return f$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f$(e,t)}function RIe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hu(e),e!==null););return e}function SIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IIe(e){var t=NIe();return function(){var n=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Ie(this,o)}}var BIe=1,ur=function(t){PIe(n,t);var r=IIe(n);function n(o){wIe(this,n);var i;i=r.call(this,o),En(vu(i),"excludes",void 0),En(vu(i),"childrenMaxLength",void 0),En(vu(i),"props",void 0),En(vu(i),"children",void 0);var u=TIe(this,n)?this.constructor:void 0,c=u.excludes,l=u.childrenMaxLength;return i.props=new Ov(o==null?void 0:o.props),_n(vu(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=zt(c),i.childrenMaxLength=l,i}return EIe(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=wv(hu(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}}]),n}(We);En(ur,"controlType","custom-column"),En(ur,"controlName",y.getMessage("custom")),En(ur,"controlIcon","custom-column"),En(ur,"slots",["column-column-slot"]),En(ur,"excludes",[]),En(ur,"childrenMaxLength",BIe),En(ur,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function Ev(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pv(e){return Pv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pv(e)}function MIe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_$(e,t)}function LIe(e,t){return t&&(DIe(t)==="object"||typeof t=="function")?t:Ev(e)}function _$(e,t){return _$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_$(e,t)}function DIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CIe(e){var t=FIe();return function(){var n=Pv(e),o;if(t){var i=Pv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LIe(this,o)}}var r5=function(e){MIe(r,e);var t=CIe(r);function r(n){AIe(this,r);var o;return o=t.call(this,n),s$(Ev(o),"props",void 0),s$(Ev(o),"children",void 0),o.props=new Ov(n==null?void 0:n.props),_n(Ev(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(qe);s$(r5,"controlType","custom-column");var o5={Designer:ur,Runtime:r5,Property:Ov};function i5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jIe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tv(e){return Tv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tv(e)}function VIe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d$(e,t)}function xIe(e,t){return t&&(UIe(t)==="object"||typeof t=="function")?t:i5(e)}function d$(e,t){return d$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d$(e,t)}function UIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HIe(e){var t=GIe();return function(){var n=Tv(e),o;if(t){var i=Tv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xIe(this,o)}}var y$=function(e){VIe(r,e);var t=HIe(r);function r(n){kIe(this,r);var o;o=t.call(this,n),jIe(i5(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:zr.controlName;var u;return o.datasourceBind=new Yu((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:zr.controlCustomAttributes}),o}return r}(Ne);function u5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c5(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zIe(e,t,r){return t&&c5(e.prototype,t),r&&c5(e,r),e}function gu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $v(e){return $v=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$v(e)}function WIe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p$(e,t)}function qIe(e,t){return t&&(KIe(t)==="object"||typeof t=="function")?t:u5(e)}function p$(e,t){return p$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p$(e,t)}function KIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JIe(e){var t=XIe();return function(){var n=$v(e),o;if(t){var i=$v(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qIe(this,o)}}var zr=function(e){WIe(r,e);var t=JIe(r);function r(n){YIe(this,r);var o;return o=t.call(this,n),gu(u5(o),"props",void 0),o.props=new y$(n==null?void 0:n.props),o}return zIe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(We);gu(zr,"controlType","employee-column"),gu(zr,"controlName",y.getMessage("employee")),gu(zr,"controlIcon","employee-column"),gu(zr,"controlFieldType",a.FieldTypes.EMPLOYEES),gu(zr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function a5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rv(e){return Rv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rv(e)}function ZIe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h$(e,t)}function eBe(e,t){return t&&(tBe(t)==="object"||typeof t=="function")?t:a5(e)}function h$(e,t){return h$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h$(e,t)}function tBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rBe(e){var t=nBe();return function(){var n=Rv(e),o;if(t){var i=Rv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eBe(this,o)}}var g$=function(e){ZIe(r,e);var t=rBe(r);function r(n){QIe(this,r);var o;return o=t.call(this,n),v$(a5(o),"props",void 0),o.props=new y$(n==null?void 0:n.props),o}return r}(qe);v$(g$,"controlType","employee-column"),v$(g$,"controlFieldType",a.FieldTypes.EMPLOYEES);var l5={Designer:zr,Runtime:g$,Property:y$};function Sv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nv(e){return Nv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nv(e)}function iBe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b$(e,t)}function uBe(e,t){return t&&(cBe(t)==="object"||typeof t=="function")?t:Sv(e)}function b$(e,t){return b$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b$(e,t)}function cBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lBe(e){var t=aBe();return function(){var n=Nv(e),o;if(t){var i=Nv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uBe(this,o)}}var O$=function(e){iBe(r,e);var t=lBe(r);function r(n){oBe(this,r);var o;o=t.call(this,n),m$(Sv(o),"lineEllipsis",void 0),m$(Sv(o),"showLinkOperation",void 0),m$(Sv(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Uo.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption);var c;return o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1,o}return r}(Ne);function w$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iv(e){return Iv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iv(e)}function sBe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E$(e,t)}function _Be(e,t){return t&&(dBe(t)==="object"||typeof t=="function")?t:w$(e)}function E$(e,t){return E$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E$(e,t)}function dBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pBe(e){var t=yBe();return function(){var n=Iv(e),o;if(t){var i=Iv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _Be(this,o)}}var Uo=function(e){sBe(r,e);var t=pBe(r);function r(n){fBe(this,r);var o;return o=t.call(this,n),xo(w$(o),"props",void 0),xo(w$(o),"children",void 0),o.props=new O$(n==null?void 0:n.props),o}return r}(We);xo(Uo,"controlType","approval-status-column"),xo(Uo,"controlName",y.getMessage("approvalStatusColumn")),xo(Uo,"controlIcon","approval-status-column"),xo(Uo,"excludes",[]),xo(Uo,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function P$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bv(e){return Bv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bv(e)}function hBe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$$(e,t)}function gBe(e,t){return t&&(mBe(t)==="object"||typeof t=="function")?t:P$(e)}function $$(e,t){return $$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$$(e,t)}function mBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OBe(e){var t=bBe();return function(){var n=Bv(e),o;if(t){var i=Bv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gBe(this,o)}}var f5=function(e){hBe(r,e);var t=OBe(r);function r(n){vBe(this,r);var o;return o=t.call(this,n),T$(P$(o),"props",void 0),T$(P$(o),"children",void 0),o.props=new O$(n==null?void 0:n.props),o}return r}(qe);T$(f5,"controlType","approval-status-column");var s5={Designer:Uo,Runtime:f5,Property:O$},wBe=Object.freeze({__proto__:null,VarcharColumn:zk,TextColumn:Zk,DecimalColumn:u2,TimescopeColumn:d2,TimestampColumn:b2,ArrayColumn:$2,DepartmentColumn:B2,AutoNumberColumn:C2,FileColumn:V2,ImageColumn:G2,PeopleColumn:z2,LocationColumn:Q2,CustomColumn:o5,OrderColumn:Ik,OperationColumn:Fk,EmployeeColumn:l5,ApprovalStatusColumn:s5});function xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Av(e){return Av=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Av(e)}function d5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R$(e,t)}function EBe(e,t){return t&&(PBe(t)==="object"||typeof t=="function")?t:xt(e)}function R$(e,t){return R$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R$(e,t)}function PBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y5(e){var t=TBe();return function(){var n=Av(e),o;if(t){var i=Av(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EBe(this,o)}}var $Be=function(e){d5(r,e);var t=y5(r);function r(n){_5(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Nr),Mv=function(e){d5(r,e);var t=y5(r);function r(n){_5(this,r);var o;o=t.call(this,n),Ut(xt(o),"search",void 0),Ut(xt(o),"cancel",void 0),Ut(xt(o),"searchType",void 0),Ut(xt(o),"labelPosition",void 0),Ut(xt(o),"viewType",void 0),Ut(xt(o),"isLoading",void 0),Ut(xt(o),"custom",void 0),Ut(xt(o),"queryTypeMap",void 0),Ut(xt(o),"childMinWidth",void 0),Ut(xt(o),"colGap",void 0),Ut(xt(o),"viewConfig",void 0),Ut(xt(o),"simpleConfig",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var c;o.viewType=(c=n==null?void 0:n.viewType)!==null&&c!==void 0?c:"mini";var l;o.search=new Yn((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:"\u67E5\u8BE2",isShow:!0});var f;o.cancel=new Yn((f=n==null?void 0:n.cancel)!==null&&f!==void 0?f:{content:"\u91CD\u7F6E",isShow:!0});var s;o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(v){return new Yn(v)});var d;o.queryTypeMap=(d=n==null?void 0:n.queryTypeMap)!==null&&d!==void 0?d:[];var p;o.childMinWidth=(p=n==null?void 0:n.childMinWidth)!==null&&p!==void 0?p:230;var m;o.colGap=(m=n==null?void 0:n.colGap)!==null&&m!==void 0?m:24;var h;o.viewConfig=(h=n==null?void 0:n.viewConfig)!==null&&h!==void 0?h:[];var E;return o.simpleConfig=(E=n==null?void 0:n.simpleConfig)!==null&&E!==void 0?E:[],o}return r}(Al);Ut(Mv,"RuntimeRules",$Be);function p5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dv(e){return Dv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dv(e)}function SBe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S$(e,t)}function NBe(e,t){return t&&(IBe(t)==="object"||typeof t=="function")?t:p5(e)}function S$(e,t){return S$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S$(e,t)}function IBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ABe(e){var t=BBe();return function(){var n=Dv(e),o;if(t){var i=Dv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NBe(this,o)}}var Fv=function(e){SBe(r,e);var t=ABe(r);function r(n){RBe(this,r);var o;return o=t.call(this,n),Lv(p5(o),"props",void 0),o.props=new Mv(n==null?void 0:n.props),o}return r}(UI);Lv(Fv,"controlType","simple-search"),Lv(Fv,"slotPosition",{default:"search"}),Lv(Fv,"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:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}]);function N$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cv(e){return Cv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cv(e)}function LBe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B$(e,t)}function DBe(e,t){return t&&(FBe(t)==="object"||typeof t=="function")?t:N$(e)}function B$(e,t){return B$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B$(e,t)}function FBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kBe(e){var t=CBe();return function(){var n=Cv(e),o;if(t){var i=Cv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DBe(this,o)}}var v5=function(e){LBe(r,e);var t=kBe(r);function r(n){MBe(this,r);var o;o=t.call(this,n),I$(N$(o),"props",void 0),I$(N$(o),"children",void 0),o.props=new Mv(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}(HI);I$(v5,"controlType","simple-search");var h5={Designer:Fv,Runtime:v5,Property:Mv},jBe=Object.freeze({__proto__:null,SimpleSearch:h5});function g5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xBe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kv(e){return kv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kv(e)}function UBe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A$(e,t)}function GBe(e,t){return t&&(HBe(t)==="object"||typeof t=="function")?t:g5(e)}function A$(e,t){return A$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A$(e,t)}function HBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zBe(e){var t=YBe();return function(){var n=kv(e),o;if(t){var i=kv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GBe(this,o)}}var M$=function(e){UBe(r,e);var t=zBe(r);function r(n){VBe(this,r);var o;o=t.call(this,n),xBe(g5(o),"wholeRow",void 0);var i;return o.wholeRow=(i=n==null?void 0:n.wholeRow)!==null&&i!==void 0?i:!1,o}return r}(Fl);function m5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b5(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qBe(e,t,r){return t&&b5(e.prototype,t),r&&b5(e,r),e}function KBe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jv(e){return jv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jv(e)}function XBe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L$(e,t)}function JBe(e,t){return t&&(QBe(t)==="object"||typeof t=="function")?t:m5(e)}function L$(e,t){return L$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L$(e,t)}function QBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e1e(e){var t=ZBe();return function(){var n=jv(e),o;if(t){var i=jv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JBe(this,o)}}var t1e=function(e){XBe(r,e);var t=e1e(r);function r(n){WBe(this,r);var o;return o=t.call(this,n),KBe(m5(o),"props",void 0),o.props=new M$(n==null?void 0:n.props),o}return qBe(r,null,[{key:"controlName",get:function(){return y.getMessage("gridLayoutWrap")}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(zI);function O5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n1e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w5(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r1e(e,t,r){return t&&w5(e.prototype,t),r&&w5(e,r),e}function o1e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vv(e){return Vv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vv(e)}function i1e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D$(e,t)}function u1e(e,t){return t&&(c1e(t)==="object"||typeof t=="function")?t:O5(e)}function D$(e,t){return D$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D$(e,t)}function c1e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a1e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l1e(e){var t=a1e();return function(){var n=Vv(e),o;if(t){var i=Vv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u1e(this,o)}}var f1e=function(e){i1e(r,e);var t=l1e(r);function r(n){n1e(this,r);var o;return o=t.call(this,n),o1e(O5(o),"props",void 0),o.props=new M$(n==null?void 0:n.props),o}return r1e(r,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(qI);function a3e(e){return e}var s1e={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:y.getMessage("fullLine"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},E5={Designer:t1e,Runtime:f1e,Property:M$,Setting:s1e},_1e=Object.freeze({__proto__:null,GridLayoutWrap:E5});function F$(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function d1e(e){if(Array.isArray(e))return e}function y1e(e){if(Array.isArray(e))return F$(e)}function p1e(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function v1e(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,u,c;try{for(r=r.call(e);!(o=(u=r.next()).done)&&(n.push(u.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,c=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw c}}return n}}function h1e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g1e(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m1e(e,t){return d1e(e)||v1e(e,t)||T5(e,t)||h1e()}function P5(e){return y1e(e)||p1e(e)||T5(e)||g1e()}function T5(e,t){if(!!e){if(typeof e=="string")return F$(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return F$(e,t)}}var b1e=function(e,t){var r=Array.isArray(e),n=r?e:[e];A1e(t==null?void 0:t.events),$1e(n),R1e(n);var o=T1e(n),i=S1e(o,t),u=Rr(ye(i,function(c){return P1e(c,t)}));return r?u:u[0]},O1e=[a.CONTROL_TYPE.DIVIDER,a.CONTROL_TYPE.TEXT,a.CONTROL_TYPE.TITLE,a.CONTROL_TYPE.LINK,a.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],w1e=["subtable","grid-table"],E1e=["simple-search"];function P1e(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":O1e.includes(i.type)?i.controlType="base":i.controlType="form",w1e.includes(i.type)&&(i.controlType="list"),E1e.includes(i.type)&&(i.controlType="search-view")),delete i.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),ut(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),ut(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),ut(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var u;i.type="attachment",i.props.attachmentAccept=(u=e.attachment_format)===null||u===void 0?void 0:u.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var c;i.props.attachmentAccept=(c=e.attachment_format)===null||c===void 0?void 0:c.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(ut(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(ut(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var l,f=i.props.entry_type||i.props.entryType;i.props.openType=f==="subpage"?"modal":"default",((l=i.children[0])===null||l===void 0?void 0:l.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(T,$){var I=new wE.Designer;I.props.caption=ut(T.field_name)?T.field_name.zh:T.field_name;var A=I.toSchema();A.id=T.header_id;var x=i.children[0].children[$].children[0];return x&&(A.children=[x]),A}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var s=["radio","checkbox","select","select-multiple"];if(s.includes(e.type)&&(e.props.options.map(function(T){T.label=ut(T.text)?T.text.zh:T.text,T.id=T.id||T.opt_id||T.optId||T.data_id}),i=e),e.type==="grid-row"){var _=24/i.children.length;i.children=i.children.map(function(T){var $=new ny.Designer;$.props.span=_;var I=$.toSchema();return I.children.push(T),I})}if(e.type==="grid-layout-row"&&(i.type="row"),e.type==="grid-layout-col"&&(i.type="col"),e.type==="group-panel"&&(i.type="card-group",i.props.collapse=i.props.flod==="no"?"none":i.props.flod),e.type==="tabs-pane"&&(i.type="tab-pane"),e.type==="calc"){var d=i==null?void 0:i.children[0],p=i==null?void 0:i.children[1],m={};d&&($5(i,t),m.result=d.props.data_bind,i.id=d.id,i.props=d.props,i.props.script_src=d.props.script_src,i.props.script_echo=d.props.script_echo,i.props.precision=d.props.precision,i.props.micrometer=d.props.is_show_money,i.props.showUpperCase=d.props.is_show_chn),p&&(m.unit=p.props.data_bind,i.props.default_value={unit:p.props.value}),i.props.dataBind=m,delete i.children}if(e.type==="amount-currency"){i.type="amount",i.controlType="form";var h=i==null?void 0:i.children[0],E=i==null?void 0:i.children[1],v={},R={};h&&($5(i,t),i.id=h.id,v.amount=h.props.data_bind,i.props.range_min=lo(h.props.range_min),i.props.range_max=lo(h.props.range_max),R.amount=lo(h.props.value),i.props.required=h.props.required,i.props.is_hide=h.props.is_hide,i.props.default_state=h.props.default_state,i.props.caption=ut(h.props.caption)?h.props.caption.zh:h.props.caption,i.props.is_hide_caption=h.props.is_hide_caption,i.props.showUpperCase=h.props.is_show_chn),E&&(v.currency=E.props.data_bind,R.currency=E.props.value,i.props.datasourceBind=E.props.datasource_bind,i.props.options=E.props.options.map(function(T){return{label:T.text,value:T.value}})),i.props.dataBind=v,i.props.defaultValue=R,delete i.children}if(e.type==="date-range"){i.controlType="form";var b=i==null?void 0:i.children[0],O=i==null?void 0:i.children[1];i.props.placeholderStart=ut(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=ut(e.props.caption)?e.props.caption.zh:e.props.caption;var S={};b&&(S.min=b.props.data_bind),O&&(S.max=O.props.data_bind),i.props.dataBind=S,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=ut(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=lo(e.props.range_min),i.props.range_max=lo(e.props.range_max),i.props.defaultValue=lo(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(i.props.buttonType="default"),M1e(i,t==null?void 0:t.control_events),i}function $5(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,i=o===void 0?[]:o,u=e.id,c=e.children[0].id;n.forEach(function(l){l.id===u&&(l.id=c);var f=l.show_controls.findIndex(function(_){return _===u}),s=l.hide_controls.findIndex(function(_){return _===u});f>-1&&l.show_controls.splice(f,1,c),s>-1&&l.hide_controls.splice(s,1,c)}),i.forEach(function(l){l.ctrl_id===u&&(l.id=c)})}}function T1e(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new cP.Designer,n=r.toSchema();return n.children=e,[n]}function $1e(e){e.forEach(function(t){t.children&&B1e(t.children)})}function R1e(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,i,u=r[n],c=(i=r[n])===null||i===void 0||(o=i.children)===null||o===void 0?void 0:o[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(n,1,c)}})}function S1e(e,t){var r,n,o,i,u;if(!(Array.isArray(e)&&e.length===1))return e;var c=e[0];if(c.type!=="list-page")return e;var l=c.props,f=c.children,s=m1e(f,3),_=s[0],d=s[1],p=s[2];N1e(_),p.props.is_fixed_header=l==null||(r=l.source_config)===null||r===void 0?void 0:r.is_fixed_header,I1e(p,d);var m,h=(m=l==null||(n=l.source_config)===null||n===void 0?void 0:n.data_code)!==null&&m!==void 0?m:t==null?void 0:t.dataCode,E,v=((E=l==null||(o=l.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&E!==void 0?E:h)?"".concat(h,"_selectMore"):void 0,R,b=(R=l==null||(i=l.source_config)===null||i===void 0?void 0:i.orders)!==null&&R!==void 0?R:[],O=new rP.Designer;O.props.datasourceBind=new Ue({dataCode:h,svcCode:v,orders:PN(b)}),O.props.isShowSubList=l.is_show_sublist,O.props.triggerType=l.timing_type,O.props.triggerFieldCode=l.ctrl_field_code,l==null||(u=l.sublist_page)===null||u===void 0||u.sublists.forEach(function(T){T.title=ut(T.title)?T.title.zh:T.title}),O.props.sublistPage=l.sublist_page;var S=O.toSchema();return S.children.push(_,p),[S]}function N1e(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=ut(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=t.dateType)===null||o===void 0||(n=o.replace)===null||n===void 0?void 0:n.call(o,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function I1e(e,t){e.children=t.children.filter(function(r){return r.type!=="list-page-btn-custom-head"}),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:ut(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=ut(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var u;n.props.edit=(u=r.edit)!==null&&u!==void 0?u:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new Ue({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function B1e(e){for(var t=null,r=0;r<e.length;r++){var n,o=e[r];if(!!o){if(o.children&&((n=o.children[0])===null||n===void 0?void 0:n.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(r,1),r--)}}}function A1e(e){!e||(e.did_mount=e.did_mount.map(function(t){return t.name}),e.will_submit=e.will_submit.map(function(t){return t.name}),e.did_submit=e.did_submit.map(function(t){return t.name}))}function M1e(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(i){var u;!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),(u=t[e.id][i]).push.apply(u,P5(e.props.events[i].map(function(c){return c.name}))))}),!((r=t[e.id])===null||r===void 0)&&r.on_blur)){var o;t[e.id].on_change||(t[e.id].on_change=[]),(o=t[e.id].on_change).push.apply(o,P5(t[e.id].on_blur))}}}var L1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Rr(ye(n,function(i){return D1e(i)}));return r?o:o[0]};function D1e(e,t){if(e.type===a.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===a.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Kt({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var F1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Rr(ye(n,function(i){return C1e(i)}));return r?o:o[0]};function C1e(e,t){return[a.CONTROL_TYPE.BUTTON,a.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,a.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,a.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,a.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,a.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,a.CONTROL_TYPE.EXPORT_LIST_BUTTON,a.CONTROL_TYPE.FORM_SELECT_BUTTON,a.CONTROL_TYPE.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===a.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===a.CONTROL_TYPE.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}var k1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Rr(ye(n,function(i){return j1e(i)}));return r?o:o[0]};function j1e(e,t){if(e.props.icon){var r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}var V1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Rr(ye(n,function(i){return U1e(i)}));return r?o:o[0]},x1e=[a.CONTROL_TYPE.ROW,a.CONTROL_TYPE.TAB,a.CONTROL_TYPE.SUBTABLE,a.CONTROL_TYPE.GRID_ROW,a.CONTROL_TYPE.CARD_GROUP];function U1e(e,t){return e.type===a.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(x1e.includes(r.type))return r;var n=new dE.Designer,o=new ny.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var G1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Rr(ye(n,function(i){return H1e(i)}));return r?o:o[0]};function H1e(e,t){return e.type===a.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type===a.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}var Y1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return z1e(i)});return r?o:o[0]};function z1e(e,t){return e.type===a.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var W1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return q1e(i)});return r?o:o[0]};function Wr(e,t){e.field_code&&(e.field_type=t)}function q1e(e,t){var r,n=(r={},ve(r,a.CONTROL_TYPE.TITLE,a.FieldTypes.AUTO_NUMBER),ve(r,a.CONTROL_TYPE.ADDRESS,a.FieldTypes.ADDRESS),ve(r,a.CONTROL_TYPE.ATTACHMENT,a.FieldTypes.FILE),ve(r,a.CONTROL_TYPE.AUTO_NUMBER,a.FieldTypes.AUTO_NUMBER),ve(r,a.CONTROL_TYPE.CHECKBOX,a.FieldTypes.ARRAY),ve(r,a.CONTROL_TYPE.DATE_PICKER,a.FieldTypes.TIMESTAMP),ve(r,a.CONTROL_TYPE.DEPARTMENT,a.FieldTypes.DEPARTMENTS),ve(r,a.CONTROL_TYPE.DEPARTMENT2,a.FieldTypes.DEPARTMENTS),ve(r,a.CONTROL_TYPE.EMPLOYEE,a.FieldTypes.EMPLOYEES),ve(r,a.CONTROL_TYPE.EMPLOYEE2,a.FieldTypes.EMPLOYEES),ve(r,a.CONTROL_TYPE.IMAGE,a.FieldTypes.IMAGE),ve(r,a.CONTROL_TYPE.INPUT,a.FieldTypes.VARCHAR),ve(r,a.CONTROL_TYPE.NUMBER,a.FieldTypes.DECIMAL),ve(r,a.CONTROL_TYPE.RADIO,a.FieldTypes.VARCHAR),ve(r,a.CONTROL_TYPE.RICH_TEXT,a.FieldTypes.TEXT),ve(r,a.CONTROL_TYPE.SCORE,a.FieldTypes.DECIMAL),ve(r,a.CONTROL_TYPE.SELECT,a.FieldTypes.VARCHAR),ve(r,a.CONTROL_TYPE.SELECT_MULTIPLE,a.FieldTypes.ARRAY),ve(r,a.CONTROL_TYPE.SELECT_RELATION,a.FieldTypes.VARCHAR),ve(r,a.CONTROL_TYPE.TEXTAREA,a.FieldTypes.TEXT),ve(r,a.CONTROL_TYPE.TREE,a.FieldTypes.ARRAY),ve(r,a.CONTROL_TYPE.SEARCH_DATE_RANGE,a.FieldTypes.ARRAY),ve(r,a.CONTROL_TYPE.SEARCH_INPUT,a.FieldTypes.VARCHAR),ve(r,a.CONTROL_TYPE.SEARCH_NUMBER_RANGE,a.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&Wr(e.props.data_bind,n[e.type]),e.type===a.CONTROL_TYPE.AMOUNT&&(Wr(e.props.data_bind.amount,a.FieldTypes.DECIMAL),Wr(e.props.data_bind.currency,a.FieldTypes.VARCHAR)),e.type===a.CONTROL_TYPE.CALC&&(Wr(e.props.data_bind.result,a.FieldTypes.DECIMAL),Wr(e.props.data_bind.unit,a.FieldTypes.VARCHAR)),e.type===a.CONTROL_TYPE.DATE_RANGE&&(Wr(e.props.data_bind.min,a.FieldTypes.TIMESTAMP),Wr(e.props.data_bind.max,a.FieldTypes.TIMESTAMP)),e.type===a.CONTROL_TYPE.VUE_FORM_ITEM){var o;Wr(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:a.FieldTypes.ANY)}return e}var K1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return X1e(i)});return r?o:o[0]};function X1e(e,t){return e.type===a.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===a.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}var J1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return Q1e(i)});return r?o:o[0]};function Q1e(e,t){return e.type===a.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(function(r){var n,o;[a.FieldTypes.VARCHAR,a.FieldTypes.TEXT,a.FieldTypes.AUTO_NUMBER].includes((o=r.props)===null||o===void 0||(n=o.data_bind)===null||n===void 0?void 0:n.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}var Z1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return eAe(i)});return r?o:o[0]};function eAe(e,t){return[a.CONTROL_TYPE.SELECT,a.CONTROL_TYPE.SELECT_RELATION,a.CONTROL_TYPE.SELECT_MULTIPLE,a.CONTROL_TYPE.RADIO,a.CONTROL_TYPE.CHECKBOX,a.CONTROL_TYPE.TREE,a.CONTROL_TYPE.DEPARTMENT2,a.CONTROL_TYPE.EMPLOYEE2,a.CONTROL_TYPE.DEPARTMENT,a.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===a.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[a.CONTROL_TYPE.SELECT,a.CONTROL_TYPE.SELECT_RELATION,a.CONTROL_TYPE.SELECT_MULTIPLE,a.CONTROL_TYPE.RADIO,a.CONTROL_TYPE.CHECKBOX,a.CONTROL_TYPE.TREE,a.CONTROL_TYPE.DEPARTMENT2,a.CONTROL_TYPE.EMPLOYEE2,a.CONTROL_TYPE.DEPARTMENT,a.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var tAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return nAe(i)});return r?o:o[0]};function nAe(e,t){return[a.CONTROL_TYPE.SELECT,a.CONTROL_TYPE.SELECT_RELATION,a.CONTROL_TYPE.SELECT_MULTIPLE,a.CONTROL_TYPE.RADIO,a.CONTROL_TYPE.CHECKBOX,a.CONTROL_TYPE.TREE,a.CONTROL_TYPE.DEPARTMENT2,a.CONTROL_TYPE.EMPLOYEE2,a.CONTROL_TYPE.DEPARTMENT,a.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===a.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[a.CONTROL_TYPE.SELECT,a.CONTROL_TYPE.SELECT_RELATION,a.CONTROL_TYPE.SELECT_MULTIPLE,a.CONTROL_TYPE.RADIO,a.CONTROL_TYPE.CHECKBOX,a.CONTROL_TYPE.TREE,a.CONTROL_TYPE.DEPARTMENT2,a.CONTROL_TYPE.EMPLOYEE2,a.CONTROL_TYPE.DEPARTMENT,a.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var rAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return oAe(i)});return r?o:o[0]};function oAe(e,t){return e.type===a.CONTROL_TYPE.TITLE&&e.props.config.push(a.TitleConfigEnum.ShowTitle),e.type===a.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===a.CONTROL_TYPE.OPERATION_COLUMN){var n,o,i;r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto";var u;if(r.children=(u=r==null?void 0:r.children)!==null&&u!==void 0?u:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var c,l,f,s,_,d,p=new ac.Designer;Object.defineProperty(p,"id",{value:"listPageCheckBtnId"}),p.props.code="view",p.props.icon="iconliulan1",p.props.command="view",p.props.content=(c=r.props)===null||c===void 0?void 0:c.check.content,p.props.priorityProcess=(l=r.props)===null||l===void 0?void 0:l.check.priority_process,p.props.openType=(f=r.props)===null||f===void 0?void 0:f.check.open_type,p.props.formKey=(s=r.props)===null||s===void 0?void 0:s.check.form_key,!((_=r.props)===null||_===void 0)&&_.check.is_show&&r.children.push(p.toSchema()),(d=r.props)===null||d===void 0||delete d.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var m,h,E,v,R,b,O=new ac.Designer;Object.defineProperty(O,"id",{value:"listPageEditBtnId"}),O.props.code="edit",O.props.icon="iconbianji1",O.props.command="edit",O.props.content=(m=r.props)===null||m===void 0?void 0:m.edit.content,O.props.priorityProcess=(h=r.props)===null||h===void 0?void 0:h.edit.priority_process,O.props.openType=(E=r.props)===null||E===void 0?void 0:E.edit.open_type,O.props.formKey=(v=r.props)===null||v===void 0?void 0:v.edit.form_key,!((R=r.props)===null||R===void 0)&&R.edit.is_show&&r.children.push(O.toSchema()),(b=r.props)===null||b===void 0||delete b.edit}if(((i=r.props)===null||i===void 0?void 0:i.delete)!==void 0){var S,T,$,I,A,x,Z=new ac.Designer;Object.defineProperty(Z,"id",{value:"listPageDeleteBtnId"}),Z.props.code="delete",Z.props.icon="iconlajitong",Z.props.command="delete",Z.props.content=(S=r.props)===null||S===void 0?void 0:S.delete.content,Z.props.priorityProcess=(T=r.props)===null||T===void 0?void 0:T.delete.priority_process,Z.props.openType=($=r.props)===null||$===void 0?void 0:$.delete.open_type,Z.props.formKey=(I=r.props)===null||I===void 0?void 0:I.delete.form_key,Z.props.needConfirm=!0,Z.props.confirmMessage=y.getMessage("deleteConfirm"),!((A=r.props)===null||A===void 0)&&A.delete.is_show&&r.children.push(Z.toSchema()),(x=r.props)===null||x===void 0||delete x.delete}}}),[a.CONTROL_TYPE.SELECT,a.CONTROL_TYPE.SELECT_RELATION,a.CONTROL_TYPE.SELECT_MULTIPLE,a.CONTROL_TYPE.RADIO,a.CONTROL_TYPE.CHECKBOX,a.CONTROL_TYPE.TREE,a.CONTROL_TYPE.DEPARTMENT2,a.CONTROL_TYPE.EMPLOYEE2,a.CONTROL_TYPE.DEPARTMENT,a.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===a.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[a.CONTROL_TYPE.SELECT,a.CONTROL_TYPE.SELECT_RELATION,a.CONTROL_TYPE.SELECT_MULTIPLE,a.CONTROL_TYPE.RADIO,a.CONTROL_TYPE.CHECKBOX,a.CONTROL_TYPE.TREE,a.CONTROL_TYPE.DEPARTMENT2,a.CONTROL_TYPE.EMPLOYEE2,a.CONTROL_TYPE.DEPARTMENT,a.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}function aa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var iAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return uAe(i,t)});return r?o:o[0]};function uAe(e,t){e.type===a.CONTROL_TYPE.SUBTABLE&&e.props.headers.map(function(o){var i;o.props.meta_auto_width=new yg,o.props.width_type==="px"&&(o.props.meta_auto_width.pc.width=o.props.width,o.props.meta_auto_width.pc.width_type="px"),delete o.props.width,delete o.props.width_type;var u=(i=o.children)===null||i===void 0?void 0:i[0];u&&u.type===a.CONTROL_TYPE.CALC&&u.props.calc_on_mounted===void 0&&(u.props.calc_on_mounted=!0)});var r,n=(r={},aa(r,a.CONTROL_TYPE.SUBTABLE,[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}]),aa(r,a.CONTROL_TYPE.GRID_TABLE,[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}]),aa(r,a.CONTROL_TYPE.LIST_VIEW,[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}]),aa(r,a.CONTROL_TYPE.SIMPLE_SEARCH,[{key:"col-gap",value:24},{key:"child-min-width",value:230}]),aa(r,a.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,[{key:"template-type",value:"system"}]),r);return e.type in n&&n[e.type].forEach(function(o){e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type===a.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(o){o.type===a.CONTROL_TYPE.OPERATION_COLUMN&&(o.props.limit===void 0&&(o.props.limit=3),o.props.show_type===void 0&&(o.props.show_type="icon")),o.props.flex===void 0&&(o.props.flex=1),o.props.auto_width===void 0&&(o.props.auto_width=new el)}),e.type===a.CONTROL_TYPE.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),cAe(t),e}function cAe(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(function(r){var n,o,i;e.listeners[r].forEach(function(u,c){var l=u.event_key||u.eventKey;switch(l){case"on_click_finish":o=u,i=c;break;case"on_click":n=u;break}}),o&&(o.cases[0].handlers.unshift(C$()),n?(o.cases.forEach(function(u){n.cases[0].handlers.push(u)}),e.listeners[r].splice(i,1)):o.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[aAe()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){var t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(function(r){r.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(C$())}}}function aAe(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[C$()]}}function C$(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}var lAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return fAe(i,t)});return r?o:o[0]};function fAe(e,t){if(e.type===a.CONTROL_TYPE.LIST_VIEW){if(e.props.is_show_selection===!1){var r=[a.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,a.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT,a.CONTROL_TYPE.BATCH_DELETE_LIST_BUTTON];e.children.forEach(function(n){if(n.type===a.CONTROL_TYPE.GRID_TABLE){var o=n.children.map(function(u){return u.type}),i=o.some(function(u){return r.includes(u)});i===!0&&(e.props.is_show_selection=!0,n.props.is_show_selection=!0)}})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName),e.props.is_all_loaded===void 0&&(e.props.is_all_loaded=!0)}return e.type===a.CONTROL_TYPE.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===a.CONTROL_TYPE.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e.type===a.CONTROL_TYPE.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===a.CONTROL_TYPE.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===a.CONTROL_TYPE.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new ul),e}function sAe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _Ae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return dAe(i)});return r?o:o[0]};function dAe(e,t){var r=sAe({},a.CONTROL_TYPE.SUBTABLE,[{key:"import_config",value:{template_type:"system",template_list:[]}},{key:"export_config",value:{template_type:"system",template_list:[]}}]);e.type in r&&r[e.type].forEach(function(o){e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type==="card-group"&&e.props.isHideCaption===void 0&&(e.props.isHideCaption=!1);var n=[a.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT_RECORD,a.CONTROL_TYPE.EXPORT_LIST_BUTTON,a.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,a.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,a.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,a.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,a.CONTROL_TYPE.BATCH_DELETE_LIST_BUTTON,a.CONTROL_TYPE.BUTTON,a.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,a.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT];return n.includes(e.type)&&(e.control_type="base"),e.type===a.CONTROL_TYPE.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e}function yAe(e,t){if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){var r,n,o=(n=t==null||(r=t.events)===null||r===void 0?void 0:r.did_mount)!==null&&n!==void 0?n:[];o.length>0&&(t.events.did_init=o,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}var pAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=ye(n,function(u){var c=vAe(u);return o[u.id]=u,c});return yAe(o,t),r?i:i[0]};function vAe(e,t){if(e.type===a.CONTROL_TYPE.TEXTAREA){var r,n,o,i={rowHeightType:e.props.auto_size===!0?"auto":"fixed",minRows:(r=e.props.line_ellipsis)!==null&&r!==void 0?r:4,maxRows:(n=e.props.max_rows)!==null&&n!==void 0?n:20,fiexdRow:(o=e.props.line_ellipsis)!==null&&o!==void 0?o:4};if(e.props.row_height_setting=Rr(new dg({pc:i,mobile:i})),e.type===a.CONTROL_TYPE.ORGANIZATION_SELECTION){var u=e.props.selected_content_config,c=u==null?void 0:u.display_bo_list;c&&c.forEach(function(l){l.value==="org_type_code"&&(l.label=y.getMessage("businessType")),l.value==="org_pattern_code"&&(l.label=y.getMessage("organizationalForm"))})}e.type===a.CONTROL_TYPE.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1)}return e}var hAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=ye(n,function(u){var c=gAe(u);return o[u.id]=u,c});return mAe(o,t),r?i:i[0]};function gAe(e,t){return e}function mAe(e,t){(t==null?void 0:t.formType)===0&&(t==null?void 0:t.listeners)!==void 0&&Object.keys(t==null?void 0:t.listeners).map(function(r){var n=t==null?void 0:t.listeners[r],o=e[r];if((o==null?void 0:o.type)===a.CONTROL_TYPE.BUTTON){var i,u,c,l,f;["draft","form_submit","save"].includes((u=o.props)===null||u===void 0||(i=u.opt_obj)===null||i===void 0?void 0:i.opt_type)&&(n==null||n.map(function(s){var _,d,p,m;s==null||(_=s.cases)===null||_===void 0||_.map(function(h){var E;h==null||(E=h.handlers)===null||E===void 0||E.map(function(v){if((v==null?void 0:v.method)==="optPage"&&v.params.operation==="refresh"&&(v.params.operation="close"),(v==null?void 0:v.method)==="openPage"){var R,b,O,S;((S=v.params)===null||S===void 0||(O=S.options)===null||O===void 0||(b=O.link)===null||b===void 0||(R=b.fx)===null||R===void 0?void 0:R.expression)==="GET_FORM_URL(GET_PAYLOAD_VAL('value').data_uid,{type:'edit'})"&&(v.id="optPage",v.method="optPage",v.params={operation:"close"})}})}),(s==null||(m=s.cases)===null||m===void 0||(p=m[0])===null||p===void 0||(d=p.handlers)===null||d===void 0?void 0:d.length)===1&&s.cases[0].handlers.push({id:"optPage",method:"optPage",params:{operation:"close"}})})),["form_submit"].includes((l=o.props)===null||l===void 0||(c=l.opt_obj)===null||c===void 0?void 0:c.opt_type)&&((f=t.dataModelExtend)===null||f===void 0?void 0:f.process_status_enum_type)==="business"&&(n==null||n.map(function(s){s.cases[0].handlers.map(function(_){(_==null?void 0:_.method)==="optPage"&&_.params.operation==="close"&&(_.params.operation="edit")})}))}})}var bAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=ye(n,function(u){var c=OAe(u);return o[u.id]=u,c});return wAe(o,t),r?i:i[0]};function OAe(e,t){if(e.type===a.CONTROL_TYPE.ORGANIZATION_SELECTION){var r=e.props.selected_content_config,n=r==null?void 0:r.display_bo_list;n&&n.forEach(function(o){o.value==="org_type_code"&&(o.label=y.getMessage("businessType")),o.value==="org_pattern_code"&&(o.label=y.getMessage("organizationalForm"))})}return e}function wAe(e,t){if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){var r,n,o=(n=t==null||(r=t.events)===null||r===void 0?void 0:r.did_mount)!==null&&n!==void 0?n:[];o.length>0&&(t.events.did_init=o,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}var EAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return PAe(i)});return r?o:o[0]};function PAe(e,t){if(e.type===a.CONTROL_TYPE.SIMPLE_SEARCH){if(e.props.view_config===void 0){var r;e.props.view_config=(r=e.children)===null||r===void 0?void 0:r.map(function(u){var c;return(c=u.props)===null||c===void 0?void 0:c.data_bind})}if(e.props.simple_config===void 0){var n;e.props.simple_config=(n=e.children)===null||n===void 0?void 0:n.map(function(u){var c;return(c=u.props)===null||c===void 0?void 0:c.data_bind})}}if(e.type===a.CONTROL_TYPE.ORGANIZATION_SELECTION){var o=e.props.selected_content_config,i=o==null?void 0:o.display_bo_list;i&&i.forEach(function(u){u.value==="org_type_code"&&(u.label=y.getMessage("businessType")),u.value==="org_pattern_code"&&(u.label=y.getMessage("organizationalForm"))})}return e}var TAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return $Ae(i)});return BAe(o),RAe(o),r?o:o[0]};function $Ae(e,t){return e.type===a.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.forEach(function(r){if(r.type===a.CONTROL_TYPE.SELECT||r.type===a.CONTROL_TYPE.SELECT_MULTIPLE){var n=r;n.props.option_config==="datasource"&&(n.props.default_show_options=!1)}}),e}function RAe(e){if(e[0].type===a.CONTROL_TYPE.LIST_VIEW){var t=e[0].props,r,n,o={type:(r=t.row_style_type)!==null&&r!==void 0?r:"none",interval:{color:(n=t.row_style_bg_color)!==null&&n!==void 0?n:""},rules:[]};t.row_style_rules&&(t.row_style_rules.forEach(function(i){var u=i.id,c={color:i.color,type:"background",scope:"row",fieldCodes:["_row_"]},l;if(t.row_style_rules_script){var f=t.row_style_rules_script.find(function(s){return s.id===u});f&&(l=IAe(i.filters,f.script))}i.settings=[c],i.script=l,delete i.color}),o.rules=t.row_style_rules),t.row_style=o,delete t.row_style_type,delete t.row_style_bg_color,delete t.row_style_rules,delete t.row_style_rules_script}}function R5(e,t){return t||(t={}),e.forEach(function(r){if(r.children)R5(r.children,t);else{var n=r.left_variable_bo;switch(n.type){case"people":case"department":case"array":case"timestamp":var o=n.value;t[o]=n;break}}}),t}function SAe(e){e=e.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__");var t=e.split("__split__").map(function(r){return r.replace(/^\s+|\s+$/gm,"")});return t}function NAe(e){var t="",r="";if(e[0]==="!")t="is_empty";else{var n=e.match(/(===|!=|>|>=|<|<=)/);if(n){var o=n[0];switch(o){case"===":t="op_equal";break;case"!=":t="op_no_equal";break;case">":t="op_greater";break;case">=":t="op_greater_equal";break;case"<":t="op_less";break;case"<=":t="op_less_equal";break;default:t="is_not_empty";break}r=e.split(o)[1]||""}else t="is_not_empty"}return{operate:t,value:r}}function IAe(e,t){var r=R5(e),n=SAe(t);return n.forEach(function(o){Object.keys(r).forEach(function(i){var u=o.indexOf("params.data.data_value_map['".concat(i,"']"));if(u>-1){var c=r[i],l=c.type,f=NAe(o),s=f.operate,_=f.value,d="SpecialMatch(data, sys, '".concat(i,"', '").concat(l,"', '").concat(s,"', ").concat(_||"''",")");t=t.replace(o,d)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function BAe(e){if(e[0].type===a.CONTROL_TYPE.LIST_VIEW){var t=e[0].children.find(function(i){return i.type===a.CONTROL_TYPE.GRID_TABLE});if(t){var r=t.props.headers,n=t.props.footers,o={};n&&n.length>0&&n.forEach(function(i){var u=i.id.replace("foot_",""),c=i.children;c&&c.length>0&&i.children[0].type!==a.CONTROL_TYPE.BUTTON&&(i.children[0].field_type=i.field_type||"varchar"),o[u]=i}),r.forEach(function(i){var u=o[i.id];if(u){var c=u.children;if(!c||c.length===0)return;var l=i.children||[];i.children=[].concat(l,c)}}),t.props.footers=[]}}return e}var AAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=MAe(n,t);return r?o:o[0]};function MAe(e,t){var r=DAe(t);return r.length>0&&(LAe(r,t),S5(r,e)),e}function S5(e,t){if(t)for(var r=t.length,n=r-1;n>=0;n--){var o=t[n],i=o.id;e.indexOf(i)>-1?t.splice(n,1):S5(e,o.children)}}function LAe(e,t){for(var r=(t==null?void 0:t.permission_controls)||[],n=r.length-1;n>=0;n--){var o=r[n].control_id;e.indexOf(o)>-1&&r.splice(n,1)}}function DAe(e){var t=[],r=e==null?void 0:e.listeners;return r&&Object.keys(r).forEach(function(n){r[n].forEach(function(o){!o.cases||o.cases.forEach(function(i){!i.handlers||i.handlers.forEach(function(u){if(!!u&&u.method==="openPage"){var c,l=(c=u.params)===null||c===void 0?void 0:c.relation_control_id;l&&t.push(l)}})})})}),t}var N5={"v1.0":b1e,"v2.0":L1e,"v2.1":F1e,"v2.2":k1e,"v2.3":V1e,"v2.4":G1e,"v2.5":Y1e,"v2.6":W1e,"v2.7":K1e,"v2.8":J1e,"v2.9":Z1e,"v2.10":tAe,"v3.0":rAe,"v3.1":iAe,"v3.2":lAe,"v3.3":_Ae,"v3.4":pAe,"v3.5":hAe,"v3.6":bAe,"v3.7":EAe,"v3.8":TAe,"v3.10":AAe,"v3.11":function(){}};const I5=(e,t)=>{const r=B5(e),n=B5(t),o=r.pop(),i=n.pop(),u=L5(r,n);return u!==0?u:o&&i?L5(o.split("."),i.split(".")):o||i?o?-1:1:0},xv=(e,t,r)=>{jAe(r);const n=I5(e,t);return D5[r].includes(n)},FAe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,B5=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(FAe);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},A5=e=>e==="*"||e==="x"||e==="X",M5=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},CAe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],kAe=(e,t)=>{if(A5(e)||A5(t))return 0;const[r,n]=CAe(M5(e),M5(t));return r>n?1:r<n?-1:0},L5=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=kAe(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},D5={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},F5=Object.keys(D5),jAe=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(F5.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${F5.join("|")}`)};function VAe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C5(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xAe(e,t,r){return t&&C5(e.prototype,t),r&&C5(e,r),e}function k5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k$(e){return e.replace(/^v/,"")}var mu=Object.keys(N5).map(function(e){return k$(e)}).sort(I5),la=mu[mu.length-1],UAe=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:la;VAe(this,e),k5(this,"toVersion",void 0),k5(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,xv(r,la,">")?yr("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(la)):(!mu.includes(k$(r))||!mu.includes(k$(t)))&&yr("Version Builder: Please give me a valid version number, The valid version is: ".concat(mu.join(","),", But give me a ").concat(t))}return xAe(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(xv(this.toVersion,this.schemaVersion,"="))return r;var i=this.callDataCleanerKeys.reduce(function(u,c,l,f){var s,_=(s=f[l+1])!==null&&s!==void 0?s:o.toVersion;Su("Version Builder: current version: ".concat(c,", nextVersion: ").concat(_));var d=N5[c],p=u;if(typeof d=="function"){var m=d(u,n);m&&(p=m)}return p},r);return Su("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return mu.filter(function(n){return xv(n,r.schemaVersion,">=")&&xv(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return la}}],[{key:"version",get:function(){return la}}]),e}();const Uv=[],j$={exports:{}};let V$=!1;const GAe=window.module,HAe=window.exports,YAe=window.require;function zAe(e){return V$||(window.module=j$,window.exports=j$.exports,window.require=function(t){return e[t]},V$=!0),function(){window.module=GAe,window.exports=HAe,window.require=YAe,V$=!1}}function WAe(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=zAe(t);i.src=e,i.type="text/javascript";const c=()=>{document.head.removeChild(i);const l=Uv.findIndex(f=>f===r);Uv.splice(l,1),Uv.length===0&&u()};i.onerror=function(l){c(),o(l)},i.onload=function(){n(j$.exports),c()},document.head.appendChild(i)});return Uv.push(r),r}function x$(e){return fetch(e,{mode:"cors",cache:"no-cache",credentials:"same-origin"}).then(t=>{if(t.ok===!1)throw"not found resource:"+e;return t.text()})}function j5(e,t,r={fetch:x$}){return new Promise((n,o)=>{r.fetch(e).then(i=>{const u={exports:{}};new Function("module","exports","require",i)(u,u.exports,function(c){return t[c]}),n(u.exports)}).catch(i=>{o(i)})})}function Gv(e,t){return j5(e,t)}function qAe(e,t){return dr(this,null,function*(){return yield Promise.all(e.map(r=>Gv(r,t)))})}function Hv(e,t,r){let n;t==="runtime"?n=class extends Re{constructor(l){super(l),this.props={}}static get controlType(){return e}}:n=class extends re{constructor(l){super(l),this.props={}}static get controlType(){return e}};class o extends $e{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="low-code iconshibaimian" style="margin-right:4px"></i>${r}</div>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:c=>c}}function KAe(e,t,r,n){return dr(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>dr(this,null,function*(){let u=!0,c;try{u=!0;let l="";n.type==="runtime"?l=i.runtime:l=i.designer,l+="?v="+i.version,c=yield Gv(l,r),n.type==="runtime"?c.Runtime.__is_control__:c.Designer.__is_control__}catch(l){u=!1,Kr("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,l),c=Hv(i.id,n.type,n.tipMessage)}if(u){let l="";if(n.type==="runtime"&&i.runtimecss!==void 0){const f=new RegExp(i.id+"-runtime-.*?$");l=i.runtime.replace(f,i.runtimecss)}else if(n.type==="designer"&&i.designercss!==void 0){const f=new RegExp(i.id+"-designer-.*?$");l=i.designer.replace(f,i.designercss)}if(l!==""){const f=document.createElement("link");f.href=l,f.rel="stylesheet",document.head.appendChild(f)}}V5(n.type,c,o,u,i)}))),e==null||e.map(i=>{const[u,c]=i.split(":");if(o.has(u)===!1){const f=Hv(u,n.type,n.tipMessage);V5(n.type,f,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:c})}})),o})}function V5(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&Kr(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&Kr(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function XAe(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(u=>{const[c,l]=u.split(":");o.props.id===c&&(i=l!=null?l:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function JAe(e,t){return dr(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield x$(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield Gv(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(c=>{let l=u.find(f=>t.type==="runtime"?f.Runtime.controlType===c.id:f.Designer.controlType===c.id);l===void 0&&(l=Hv(c.id,t.type,y.getMessage("loadCtrlError"))),n.set(c.id,{props:c,version:c.version,isLoaded:!0,control:l})})}return n})}a.ActionBar=Ok,a.Address=dL,a.AddressValue=eI,a.AdvancedContainer=fk,a.Amount=XM,a.AmountDataBind=XN,a.AmountValue=JN,a.ApprovalStatusColumn=s5,a.ArrayColumn=$2,a.Attachment=jM,a.AutoNumber=BL,a.AutoNumberColumn=C2,a.AutoWidth=el,a.BaseControlProperty=K,a.BaseControlPropertyRules=Ye,a.BaseControlPropertyRuntimeRules=_e,a.BaseStyle=oI,a.BatchDeleteButton=QA,a.BatchPrintListButton=DA,a.BatchPrintRecordListButton=VA,a.BatchSubmissionListButton=JB,a.Button=sB,a.Calc=kL,a.CalcDataBind=tI,a.CalcScriptEchoItem=AG,a.CalcValue=nI,a.CardGroup=eC,a.Checkbox=_3,a.Col=ny,a.ColumnControlProperty=Ne,a.ColumnControlPropertyRules=dn,a.ColumnOptionAndDataSourcePropertyRules=Zg,a.CreateFormListButton=GB,a.CustomAttributeItem=hg,a.CustomColumn=o5,a.CustomPermissionItem=Cq,a.DEFAULT_LOCALE=Y$,a.DESIGNER_SLOT=Xv,a.Dashboard=tA,a.DataBind=Kt,a.DataSourceBind=Ue,a.DataSourceDataSetValue=zN,a.DataSourceOrderItem=pg,a.DataSourceParamItem=Lq,a.DataStorageDoc=kN,a.DataView=cP,a.DatePicker=F3,a.DateRange=z3,a.DecimalColumn=u2,a.Department=EL,a.Department2=yF,a.DepartmentColumn=B2,a.DepartmentEntity=Wv,a.DesignerColumnControl=We,a.DesignerControl=re,a.DesignerFormControl=J,a.DesignerLayoutControl=Oe,a.DesignerListControl=Tl,a.DesignerSearchControl=UI,a.DesignerWrapControl=zI,a.DisplayBoListItem=ol,a.Divider=RB,a.ElectronicSignature=eF,a.ElectronicSignatureConfig=_B,a.Employee=MM,a.Employee2=HD,a.EmployeeColumn=l5,a.EventLogic=IN,a.Explain=Jl,a.ExportConfig=vB,a.ExportListButton=a1,a.ExportRecordListButton=d1,a.ExportTemplate=tc,a.FieldBindItem=xN,a.FieldFilterCondition=Hu,a.FieldFilterConditions=rl,a.FileColumn=V2,a.FillBackBind=bg,a.FillPayloadBind=mg,a.FlexStyleConfig=mB,a.FormBind=fo,a.FormSelectBind=jN,a.FormSelectButton=S1,a.Grid=AF,a.GridLayoutContainer=wC,a.GridLayoutWrap=E5,a.GridRow=dE,a.GridTable=Vk,a.GridTableColumn=vC,a.Image=GM,a.ImageColumn=G2,a.ImageOptionSetting=KN,a.ImportConfig=pB,a.ImportListBind=yB,a.ImportRecordListButton=m1,a.Input=i3,a.InvoiceCheckButton=RA,a.JSONCopy=zt,a.JoinRelation=YN,a.Language=Dq,a.LayoutControlProperty=pe,a.LeftVariable=HN,a.LimitDate=Xl,a.Link=uB,a.LinkOperationOption=Sn,a.ListBind=nl,a.ListControlProperty=Qu,a.ListSelectButton=C1,a.ListView=rP,a.ListViewSelect=sA,a.LocationColumn=Q2,a.MetaAutoWidth=yg,a.MetaRowHeight=dg,a.MetaWidth=tl,a.MultistageFillingItem=ht,a.Number=N3,a.ObjectDataBind=cl,a.OperationButton=ac,a.OperationColumn=Fk,a.OperationItem=Yn,a.OptObject=iI,a.OptionAndDataSourcePropertyRules=so,a.OptionDisplayConfigItem=Mq,a.OptionSetting=Og,a.OrderColumn=Ik,a.OrganizationDataSourceBind=WN,a.OrganizationSelection=OF,a.Page=uk,a.Pagination=Y1,a.PeopleColumn=z2,a.Position=vk,a.PositioningContainer=dk,a.PrintTemplate=gB,a.Property=$e,a.PropertyRules=Fe,a.PropertyRuntimeRules=Nr,a.Radio=w3,a.RangeDataBind=QN,a.RangeDateValue=ZN,a.RegisterControls=Gu,a.RegularRules=ul,a.RichText=uM,a.RightVariable=ui,a.Row=HF,a.RowHeight=_g,a.RowStyle=aI,a.RowStyleRule=uI,a.RowStyleSettings=cI,a.RulesMessage=y,a.RuntimeColumnControl=qe,a.RuntimeControl=Re,a.RuntimeFormControl=Q,a.RuntimeLayoutControl=Se,a.RuntimeListControl=qg,a.RuntimeSearchControl=HI,a.RuntimeWrapControl=qI,a.SUBTABLE_DEFAULT_MAX_HEIGHT=hB,a.Score=rL,a.SearchControlProperty=Al,a.SearchDateRange=oD,a.SearchInput=ID,a.SearchNumberRange=qL,a.Select=vM,a.SelectMultiple=EM,a.SelectRelation=OD,a.SelectedContentConfig=il,a.SimpleSearch=h5,a.SubListItem=UN,a.SubListPageConfig=GN,a.SubTable=Pk,a.SubTableColumn=wE,a.SubTableRow=sC,a.SubmissionRecordListButton=n1,a.SuperDataSourceBind=Yu,a.Tab=FC,a.TabPane=BC,a.Text=tB,a.TextColumn=Zk,a.TextOcrButton=mA,a.Textarea=Z3,a.TimescopeColumn=d2,a.TimestampColumn=b2,a.Title=DB,a.Toolbox=GC,a.Tree=CD,a.TreeDataSourceBind=gg,a.UndersignedPerson=Rm,a.UserEntity=qv,a.VarcharColumn=zk,a.VersionBuilder=UAe,a.ViewOperationItem=rI,a.VueFormItem=sD,a.VuePage=SF,a.WPS=cF,a.WPSSetting=dB,a.Watcher=SN,a.WpsOperationItem=Sm,a.WrapControlProperty=Fl,a.baseControls=Mue,a.camelizeKeys=PN,a.columnControls=wBe,a.controlHooksEmitter=hI,a.createValidator=vI,a.debounce=lq,a.decamelizeKeys=Rr,a.defineArrayParent=AN,a.defineControlArrayToProperty=_n,a.defineParent=fg,a.error=yr,a.formControls=Jhe,a.genNonDuplicateId=Gt,a.getHackerControl=Hv,a.getNotRepeatItems=EN,a.initExpression=nc,a.initImageOptions=Fq,a.initLinkOperationRules=qn,a.initOptionAndDataSourceRules=sl,a.initOptions=Nn,a.initSuperDataSourceRules=Xu,a.isArray=ao,a.isBuiltInControls=sq,a.isDataBind=NI,a.isFunction=rq,a.isJSONArray=cq,a.isJSONObject=aq,a.isLanguageObject=ut,a.isNumber=ug,a.isNumberAndEmptyStringArray=uq,a.isNumberArray=iq,a.isObject=nq,a.isPlainObject=ig,a.isString=wN,a.isStringArray=oq,a.layoutControls=DPe,a.listControls=m$e,a.loadRemoteControl=Gv,a.loadRemoteControls=qAe,a.loadScriptFromFetch=j5,a.loadScriptFromTag=WAe,a.log=Su,a.logerror=Q$,a.loop=ye,a.loopFormSchema=Oa,a.nativeFetch=x$,a.noop=MG,a.referenceError=th,a.registerByteluckControls=JAe,a.registerCustomControls=KAe,a.searchControls=jBe,a.setPropertyDontEnum=Qa,a.toNumberOrEmpty=lo,a.updateValueFromKeys=mN,a.upgradeCustomControlSchema=XAe,a.wait=fq,a.warn=Kr,a.wrapControls=_1e,Object.defineProperty(a,"__esModule",{value:!0})});
45
+ */const _W="9.14.0";function dW(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Vn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Vn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Vn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Vn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Vn().__INTLIFY_PROD_DEVTOOLS__=!1)}const KS=yt.__EXTEND_POINT__,Hn=Pa(KS),de={FALLBACK_TO_ROOT:KS,NOT_SUPPORTED_PRESERVE:Hn(),NOT_SUPPORTED_FORMATTER:Hn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Hn(),NOT_SUPPORTED_GET_CHOICE_INDEX:Hn(),COMPONENT_NAME_LEGACY_COMPATIBLE:Hn(),NOT_FOUND_PARENT_SCOPE:Hn(),IGNORE_OBJ_FLATTEN:Hn(),NOTICE_DROP_ALLOW_COMPOSITION:Hn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Hn()},yW={[de.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[de.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[de.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[de.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[de.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[de.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[de.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[de.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[de.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze",[de.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Pt(e,...t){return Nu(yW[e],...t)}const XS=He.__EXTEND_POINT__,Tt=Pa(XS),q={UNEXPECTED_RETURN_TYPE:XS,INVALID_ARGUMENT:Tt(),MUST_BE_CALL_SETUP_TOP:Tt(),NOT_INSTALLED:Tt(),NOT_AVAILABLE_IN_LEGACY_MODE:Tt(),REQUIRED_VALUE:Tt(),INVALID_VALUE:Tt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Tt(),NOT_INSTALLED_WITH_PROVIDE:Tt(),UNEXPECTED_ERROR:Tt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Tt(),BRIDGE_SUPPORT_VUE_2_ONLY:Tt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Tt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Tt(),__EXTEND_POINT__:Tt()};function xe(e,...t){return zo(e,null,process.env.NODE_ENV!=="production"?{messages:pW,args:t}:void 0)}const pW={[q.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[q.INVALID_ARGUMENT]:"Invalid argument",[q.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[q.NOT_INSTALLED]:"Need to install with `app.use` function",[q.UNEXPECTED_ERROR]:"Unexpected error",[q.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[q.REQUIRED_VALUE]:"Required in value: {0}",[q.INVALID_VALUE]:"Invalid value",[q.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[q.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[q.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[q.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[q.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Yh=cn("__translateVNode"),zh=cn("__datetimeParts"),Wh=cn("__numberParts"),co=cn("__enableEmitter"),Vu=cn("__disableEmitter"),JS=cn("__setPluralRules");cn("__intlifyMeta");const QS=cn("__injectWithOption"),qh=cn("__dispose");function xu(e){if(!X(e))return e;for(const t in e)if(!!Ea(e,t))if(!t.includes("."))X(e[t])&&xu(e[t]);else{const r=t.split("."),n=r.length-1;let o=e,i=!1;for(let u=0;u<n;u++){if(r[u]in o||(o[r[u]]={}),!X(o[r[u]])){process.env.NODE_ENV!=="production"&&Ve(Pt(de.IGNORE_OBJ_FLATTEN,{key:r[u]})),i=!0;break}o=o[r[u]]}i||(o[r[n]]=e[t],delete e[t]),X(o[r[n]])&&xu(o[r[n]])}return e}function Ja(e,t){const{messages:r,__i18n:n,messageResolver:o,flatJson:i}=t,u=j(r)?r:le(n)?{}:{[e]:{}};if(le(n)&&n.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:l,resource:f}=c;l?(u[l]=u[l]||{},$a(f,u[l])):$a(f,u)}else D(c)&&$a(JSON.parse(c),u)}),o==null&&i)for(const c in u)Ea(u,c)&&xu(u[c]);return u}function ZS(e){return e.type}function eN(e,t,r){let n=X(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=Ja(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);o.length&&o.forEach(i=>{e.mergeLocaleMessage(i,n[i])});{if(X(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(u=>{e.mergeDateTimeFormat(u,t.datetimeFormats[u])})}if(X(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(u=>{e.mergeNumberFormat(u,t.numberFormats[u])})}}}function tN(e){return ri(jS,null,e,0)}const nN="__INTLIFY_META__",rN=()=>[],vW=()=>!1;let oN=0;function iN(e){return(t,r,n,o)=>e(r,n,oi()||void 0,o)}const hW=()=>{const e=oi();let t=null;return e&&(t=ZS(e)[nN])?{[nN]:t}:null};function Kh(e={},t){const{__root:r,__injectWithOption:n}=e,o=r===void 0,i=e.flatJson,u=un?Zo:bS,c=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&c&&iR(Pt(de.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let l=Y(e.inheritLocale)?e.inheritLocale:!0;const f=u(r&&l?r.locale.value:D(e.locale)?e.locale:Ko),s=u(r&&l?r.fallbackLocale.value:D(e.fallbackLocale)||le(e.fallbackLocale)||j(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:f.value),_=u(Ja(f.value,e)),d=u(j(e.datetimeFormats)?e.datetimeFormats:{[f.value]:{}}),p=u(j(e.numberFormats)?e.numberFormats:{[f.value]:{}});let m=r?r.missingWarn:Y(e.missingWarn)||pr(e.missingWarn)?e.missingWarn:!0,h=r?r.fallbackWarn:Y(e.fallbackWarn)||pr(e.fallbackWarn)?e.fallbackWarn:!0,E=r?r.fallbackRoot:Y(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,R=ie(e.missing)?e.missing:null,b=ie(e.missing)?iN(e.missing):null,O=ie(e.postTranslation)?e.postTranslation:null,S=r?r.warnHtmlMessage:Y(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const $=r?r.modifiers:j(e.modifiers)?e.modifiers:{};let I=e.pluralRules||r&&r.pluralRules,A;A=(()=>{o&&PR(null);const N={version:_W,locale:f.value,fallbackLocale:s.value,messages:_.value,modifiers:$,pluralRules:I,missing:b===null?void 0:b,missingWarn:m,fallbackWarn:h,fallbackFormat:v,unresolving:!0,postTranslation:O===null?void 0:O,warnHtmlMessage:S,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};N.datetimeFormats=d.value,N.numberFormats=p.value,N.__datetimeFormatters=j(A)?A.__datetimeFormatters:void 0,N.__numberFormatters=j(A)?A.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(N.__v_emitter=j(A)?A.__v_emitter:void 0);const M=cY(N);return o&&PR(M),M})(),Bu(A,f.value,s.value);function Z(){return[f.value,s.value,_.value,d.value,p.value]}const H=Rn({get:()=>f.value,set:N=>{f.value=N,A.locale=f.value}}),he=Rn({get:()=>s.value,set:N=>{s.value=N,A.fallbackLocale=s.value,Bu(A,f.value,N)}}),st=Rn(()=>_.value),cr=Rn(()=>d.value),It=Rn(()=>p.value);function ar(){return ie(O)?O:null}function lr(N){O=N,A.postTranslation=N}function fr(){return R}function sr(N){N!==null&&(b=iN(N)),R=N,A.missing=b}function _r(N,M){return N!=="translate"||!M.resolvedMessage}const _t=(N,M,te,Ae,qr,zv)=>{Z();let Eu;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&wR(hW()),o||(A.fallbackContext=r?uY():void 0),Eu=N(A)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&wR(null),o||(A.fallbackContext=void 0)}if(te!=="translate exists"&&ke(Eu)&&Eu===Na||te==="translate exists"&&!Eu){const[Ho,QAe]=M();if(process.env.NODE_ENV!=="production"&&r&&D(Ho)&&_r(te,QAe)&&(E&&(Ba(h,Ho)||$R(m,Ho))&&Ve(Pt(de.FALLBACK_TO_ROOT,{key:Ho,type:te})),process.env.NODE_ENV!=="production")){const{__v_emitter:x5}=A;x5&&E&&x5.emit("fallback",{type:te,key:Ho,to:"global",groupId:`${te}:${Ho}`})}return r&&E?Ae(r):qr(Ho)}else{if(zv(Eu))return Eu;throw xe(q.UNEXPECTED_RETURN_TYPE)}};function bu(...N){return _t(M=>Reflect.apply(LR,null,[M,...N]),()=>fh(...N),"translate",M=>Reflect.apply(M.t,M,[...N]),M=>M,M=>D(M))}function Ou(...N){const[M,te,Ae]=N;if(Ae&&!X(Ae))throw xe(q.INVALID_ARGUMENT);return bu(M,te,je({resolvedMessage:!0},Ae||{}))}function fa(...N){return _t(M=>Reflect.apply(jR,null,[M,...N]),()=>sh(...N),"datetime format",M=>Reflect.apply(M.d,M,[...N]),()=>Ia,M=>D(M))}function sa(...N){return _t(M=>Reflect.apply(UR,null,[M,...N]),()=>_h(...N),"number format",M=>Reflect.apply(M.n,M,[...N]),()=>Ia,M=>D(M))}function _a(N){return N.map(M=>D(M)||ke(M)||Y(M)?tN(String(M)):M)}const da={normalize:_a,interpolate:N=>N,type:"vnode"};function wu(...N){return _t(M=>{let te;const Ae=M;try{Ae.processor=da,te=Reflect.apply(LR,null,[Ae,...N])}finally{Ae.processor=null}return te},()=>fh(...N),"translate",M=>M[Yh](...N),M=>[tN(M)],M=>le(M))}function ya(...N){return _t(M=>Reflect.apply(UR,null,[M,...N]),()=>_h(...N),"number format",M=>M[Wh](...N),rN,M=>D(M)||le(M))}function pa(...N){return _t(M=>Reflect.apply(jR,null,[M,...N]),()=>sh(...N),"datetime format",M=>M[zh](...N),rN,M=>D(M)||le(M))}function va(N){I=N,A.pluralRules=I}function L(N,M){return _t(()=>{if(!N)return!1;const te=D(M)?M:f.value,Ae=Go(te),qr=A.messageResolver(Ae,N);return c?qr!=null:gr(qr)||Ht(qr)||D(qr)},()=>[N],"translate exists",te=>Reflect.apply(te.te,te,[N,M]),vW,te=>Y(te))}function ee(N){let M=null;const te=yR(A,s.value,f.value);for(let Ae=0;Ae<te.length;Ae++){const qr=_.value[te[Ae]]||{},zv=A.messageResolver(qr,N);if(zv!=null){M=zv;break}}return M}function ha(N){const M=ee(N);return M!=null?M:r?r.tm(N)||{}:{}}function Go(N){return _.value[N]||{}}function ga(N,M){if(i){const te={[N]:M};for(const Ae in te)Ea(te,Ae)&&xu(te[Ae]);M=te[N]}_.value[N]=M,A.messages=_.value}function U$(N,M){_.value[N]=_.value[N]||{};const te={[N]:M};if(i)for(const Ae in te)Ea(te,Ae)&&xu(te[Ae]);M=te[N],$a(M,_.value[N]),A.messages=_.value}function g(N){return d.value[N]||{}}function w(N,M){d.value[N]=M,A.datetimeFormats=d.value,xR(A,N,M)}function B(N,M){d.value[N]=je(d.value[N]||{},M),A.datetimeFormats=d.value,xR(A,N,M)}function C(N){return p.value[N]||{}}function ge(N,M){p.value[N]=M,A.numberFormats=p.value,HR(A,N,M)}function ae(N,M){p.value[N]=je(p.value[N]||{},M),A.numberFormats=p.value,HR(A,N,M)}oN++,r&&un&&(Vh(r.locale,N=>{l&&(f.value=N,A.locale=N,Bu(A,f.value,s.value))}),Vh(r.fallbackLocale,N=>{l&&(s.value=N,A.fallbackLocale=N,Bu(A,f.value,s.value))}));const oe={id:oN,locale:H,fallbackLocale:he,get inheritLocale(){return l},set inheritLocale(N){l=N,N&&r&&(f.value=r.locale.value,s.value=r.fallbackLocale.value,Bu(A,f.value,s.value))},get availableLocales(){return Object.keys(_.value).sort()},messages:st,get modifiers(){return $},get pluralRules(){return I||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(N){m=N,A.missingWarn=m},get fallbackWarn(){return h},set fallbackWarn(N){h=N,A.fallbackWarn=h},get fallbackRoot(){return E},set fallbackRoot(N){E=N},get fallbackFormat(){return v},set fallbackFormat(N){v=N,A.fallbackFormat=v},get warnHtmlMessage(){return S},set warnHtmlMessage(N){S=N,A.warnHtmlMessage=N},get escapeParameter(){return T},set escapeParameter(N){T=N,A.escapeParameter=N},t:bu,getLocaleMessage:Go,setLocaleMessage:ga,mergeLocaleMessage:U$,getPostTranslationHandler:ar,setPostTranslationHandler:lr,getMissingHandler:fr,setMissingHandler:sr,[JS]:va};return oe.datetimeFormats=cr,oe.numberFormats=It,oe.rt=Ou,oe.te=L,oe.tm=ha,oe.d=fa,oe.n=sa,oe.getDateTimeFormat=g,oe.setDateTimeFormat=w,oe.mergeDateTimeFormat=B,oe.getNumberFormat=C,oe.setNumberFormat=ge,oe.mergeNumberFormat=ae,oe[QS]=n,oe[Yh]=wu,oe[zh]=pa,oe[Wh]=ya,process.env.NODE_ENV!=="production"&&(oe[co]=N=>{A.__v_emitter=N},oe[Vu]=()=>{A.__v_emitter=void 0}),oe}function gW(e){const t=D(e.locale)?e.locale:Ko,r=D(e.fallbackLocale)||le(e.fallbackLocale)||j(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=ie(e.missing)?e.missing:void 0,o=Y(e.silentTranslationWarn)||pr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=Y(e.silentFallbackWarn)||pr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=Y(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,l=j(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,s=ie(e.postTranslation)?e.postTranslation:void 0,_=D(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,d=!!e.escapeParameterHtml,p=Y(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ve(Pt(de.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ve(Pt(de.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let m=e.messages;if(j(e.sharedMessages)){const T=e.sharedMessages;m=Object.keys(T).reduce((I,A)=>{const x=I[A]||(I[A]={});return je(x,T[A]),I},m||{})}const{__i18n:h,__root:E,__injectWithOption:v}=e,R=e.datetimeFormats,b=e.numberFormats,O=e.flatJson,S=e.translateExistCompatible;return{locale:t,fallbackLocale:r,messages:m,flatJson:O,datetimeFormats:R,numberFormats:b,missing:n,missingWarn:o,fallbackWarn:i,fallbackRoot:u,fallbackFormat:c,modifiers:l,pluralRules:f,postTranslation:s,warnHtmlMessage:_,escapeParameter:d,messageResolver:e.messageResolver,inheritLocale:p,translateExistCompatible:S,__i18n:h,__root:E,__injectWithOption:v}}function Xh(e={},t){{const r=Kh(gW(e)),{__extender:n}=e,o={id:r.id,get locale(){return r.locale.value},set locale(i){r.locale.value=i},get fallbackLocale(){return r.fallbackLocale.value},set fallbackLocale(i){r.fallbackLocale.value=i},get messages(){return r.messages.value},get datetimeFormats(){return r.datetimeFormats.value},get numberFormats(){return r.numberFormats.value},get availableLocales(){return r.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Ve(Pt(de.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(i){process.env.NODE_ENV!=="production"&&Ve(Pt(de.NOT_SUPPORTED_FORMATTER))},get missing(){return r.getMissingHandler()},set missing(i){r.setMissingHandler(i)},get silentTranslationWarn(){return Y(r.missingWarn)?!r.missingWarn:r.missingWarn},set silentTranslationWarn(i){r.missingWarn=Y(i)?!i:i},get silentFallbackWarn(){return Y(r.fallbackWarn)?!r.fallbackWarn:r.fallbackWarn},set silentFallbackWarn(i){r.fallbackWarn=Y(i)?!i:i},get modifiers(){return r.modifiers},get formatFallbackMessages(){return r.fallbackFormat},set formatFallbackMessages(i){r.fallbackFormat=i},get postTranslation(){return r.getPostTranslationHandler()},set postTranslation(i){r.setPostTranslationHandler(i)},get sync(){return r.inheritLocale},set sync(i){r.inheritLocale=i},get warnHtmlInMessage(){return r.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){r.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return r.escapeParameter},set escapeParameterHtml(i){r.escapeParameter=i},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Ve(Pt(de.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(i){process.env.NODE_ENV!=="production"&&Ve(Pt(de.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return r.pluralRules||{}},__composer:r,t(...i){const[u,c,l]=i,f={};let s=null,_=null;if(!D(u))throw xe(q.INVALID_ARGUMENT);const d=u;return D(c)?f.locale=c:le(c)?s=c:j(c)&&(_=c),le(l)?s=l:j(l)&&(_=l),Reflect.apply(r.t,r,[d,s||_||{},f])},rt(...i){return Reflect.apply(r.rt,r,[...i])},tc(...i){const[u,c,l]=i,f={plural:1};let s=null,_=null;if(!D(u))throw xe(q.INVALID_ARGUMENT);const d=u;return D(c)?f.locale=c:ke(c)?f.plural=c:le(c)?s=c:j(c)&&(_=c),D(l)?f.locale=l:le(l)?s=l:j(l)&&(_=l),Reflect.apply(r.t,r,[d,s||_||{},f])},te(i,u){return r.te(i,u)},tm(i){return r.tm(i)},getLocaleMessage(i){return r.getLocaleMessage(i)},setLocaleMessage(i,u){r.setLocaleMessage(i,u)},mergeLocaleMessage(i,u){r.mergeLocaleMessage(i,u)},d(...i){return Reflect.apply(r.d,r,[...i])},getDateTimeFormat(i){return r.getDateTimeFormat(i)},setDateTimeFormat(i,u){r.setDateTimeFormat(i,u)},mergeDateTimeFormat(i,u){r.mergeDateTimeFormat(i,u)},n(...i){return Reflect.apply(r.n,r,[...i])},getNumberFormat(i){return r.getNumberFormat(i)},setNumberFormat(i,u){r.setNumberFormat(i,u)},mergeNumberFormat(i,u){r.mergeNumberFormat(i,u)},getChoiceIndex(i,u){return process.env.NODE_ENV!=="production"&&Ve(Pt(de.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return o.__extender=n,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=i=>{const u=r;u[co]&&u[co](i)},o.__disableEmitter=()=>{const i=r;i[Vu]&&i[Vu]()}),o}}const Jh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function mW({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,o)=>[...n,...o.type===Wa?o.children:[o]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},{})}function uN(e){return Wa}const Qh=Dh({name:"i18n-t",props:je({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ke(e)||!isNaN(e)}},Jh),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||ng({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(r).filter(_=>_!=="_"),u={};e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=D(e.plural)?+e.plural:e.plural);const c=mW(t,i),l=o[Yh](e.keypath,c,u),f=je({},n),s=D(e.tag)||X(e.tag)?e.tag:uN();return WS(s,f,l)}}});function bW(e){return le(e)&&!D(e[0])}function cN(e,t,r,n){const{slots:o,attrs:i}=t;return()=>{const u={part:!0};let c={};e.locale&&(u.locale=e.locale),D(e.format)?u.key=e.format:X(e.format)&&(D(e.format.key)&&(u.key=e.format.key),c=Object.keys(e.format).reduce((d,p)=>r.includes(p)?je({},d,{[p]:e.format[p]}):d,{}));const l=n(e.value,u,c);let f=[u.key];le(l)?f=l.map((d,p)=>{const m=o[d.type],h=m?m({[d.type]:d.value,index:p,parts:l}):[d.value];return bW(h)&&(h[0].key=`${d.type}-${p}`),h}):D(l)&&(f=[l]);const s=je({},i),_=D(e.tag)||X(e.tag)?e.tag:uN();return WS(_,s,f)}}const aN=Dh({name:"i18n-n",props:je({value:{type:Number,required:!0},format:{type:[String,Object]}},Jh),setup(e,t){const r=e.i18n||ng({useScope:e.scope,__useComponent:!0});return cN(e,t,GR,(...n)=>r[Wh](...n))}}),lN=Dh({name:"i18n-d",props:je({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Jh),setup(e,t){const r=e.i18n||ng({useScope:e.scope,__useComponent:!0});return cN(e,t,VR,(...n)=>r[zh](...n))}});function OW(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function wW(e){const t=u=>{const{instance:c,modifiers:l,value:f}=u;if(!c||!c.$)throw xe(q.UNEXPECTED_ERROR);const s=OW(e,c.$);process.env.NODE_ENV!=="production"&&l.preserve&&Ve(Pt(de.NOT_SUPPORTED_PRESERVE));const _=fN(f);return[Reflect.apply(s.t,s,[...sN(_)]),s]};return{created:(u,c)=>{const[l,f]=t(c);un&&e.global===f&&(u.__i18nWatcher=Vh(f.locale,()=>{c.instance&&c.instance.$forceUpdate()})),u.__composer=f,u.textContent=l},unmounted:u=>{un&&u.__i18nWatcher&&(u.__i18nWatcher(),u.__i18nWatcher=void 0,delete u.__i18nWatcher),u.__composer&&(u.__composer=void 0,delete u.__composer)},beforeUpdate:(u,{value:c})=>{if(u.__composer){const l=u.__composer,f=fN(c);u.textContent=Reflect.apply(l.t,l,[...sN(f)])}},getSSRProps:u=>{const[c]=t(u);return{textContent:c}}}}function fN(e){if(D(e))return{path:e};if(j(e)){if(!("path"in e))throw xe(q.REQUIRED_VALUE,"path");return e}else throw xe(q.INVALID_VALUE)}function sN(e){const{path:t,locale:r,args:n,choice:o,plural:i}=e,u={},c=n||{};return D(r)&&(u.locale=r),ke(o)&&(u.plural=o),ke(i)&&(u.plural=i),[t,c,u]}function EW(e,t,...r){const n=j(r[0])?r[0]:{},o=!!n.useI18nComponentName,i=Y(n.globalInstall)?n.globalInstall:!0;process.env.NODE_ENV!=="production"&&i&&o&&Ve(Pt(de.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Qh.name})),i&&([o?"i18n":Qh.name,"I18nT"].forEach(u=>e.component(u,Qh)),[aN.name,"I18nN"].forEach(u=>e.component(u,aN)),[lN.name,"I18nD"].forEach(u=>e.component(u,lN))),e.directive("t",wW(t))}const Zh={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},PW={["vue-i18n-resource-inspector"]:"Search for scopes ..."},TW={["vue-i18n-timeline"]:16764185},_N="vue-i18n: composer properties";let eg;function $W(e,t){return dr(this,null,function*(){return new Promise((r,n)=>{try{sW({id:"vue-devtools-plugin-vue-i18n",label:Zh["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[_N],app:e},o=>{eg=o,o.on.visitComponentTree(({componentInstance:u,treeNode:c})=>{RW(u,c,t)}),o.on.inspectComponent(({componentInstance:u,instanceData:c})=>{u.vnode.el&&u.vnode.el.__VUE_I18N__&&c&&(t.mode==="legacy"?u.vnode.el.__VUE_I18N__!==t.global.__composer&&yN(c,u.vnode.el.__VUE_I18N__):yN(c,u.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:Zh["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:PW["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&AW(u,t)});const i=new Map;o.on.getInspectorState(u=>dr(this,null,function*(){if(u.app===e&&u.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),LW(u,t),u.nodeId==="global"){if(!i.has(u.app)){const[c]=yield o.getComponentInstances(u.app);i.set(u.app,c)}o.highlightElement(i.get(u.app))}else{const c=MW(u.nodeId,t);c&&o.highlightElement(c)}})),o.on.editInspectorState(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&FW(u,t)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:Zh["vue-i18n-timeline"],color:TW["vue-i18n-timeline"]}),r(!0)})}catch(o){console.error(o),n(!1)}})})}function dN(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function RW(e,t,r){const n=r.mode==="composition"?r.global:r.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==n){const o={label:`i18n (${dN(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(o)}}function yN(e,t){const r=_N;e.state.push({type:r,key:"locale",editable:!0,value:t.locale.value}),e.state.push({type:r,key:"availableLocales",editable:!1,value:t.availableLocales}),e.state.push({type:r,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value}),e.state.push({type:r,key:"inheritLocale",editable:!0,value:t.inheritLocale}),e.state.push({type:r,key:"messages",editable:!1,value:tg(t.messages.value)}),e.state.push({type:r,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}),e.state.push({type:r,key:"numberFormats",editable:!1,value:t.numberFormats.value})}function tg(e){const t={};return Object.keys(e).forEach(r=>{const n=e[r];ie(n)&&"source"in n?t[r]=BW(n):gr(n)&&n.loc&&n.loc.source?t[r]=n.loc.source:X(n)?t[r]=tg(n):t[r]=n}),t}const SW={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function NW(e){return e.replace(/[<>"&]/g,IW)}function IW(e){return SW[e]||e}function BW(e){const t=e.source?`("${NW(e.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${t}`}}}function AW(e,t){e.rootNodes.push({id:"global",label:"Global Scope"});const r=t.mode==="composition"?t.global:t.global.__composer;for(const[n,o]of t.__instances){const i=t.mode==="composition"?o:o.__composer;r!==i&&e.rootNodes.push({id:i.id.toString(),label:`${dN(n)} Scope`})}}function MW(e,t){let r=null;if(e!=="global"){for(const[n,o]of t.__instances.entries())if(o.id.toString()===e){r=n;break}}return r}function pN(e,t){if(e==="global")return t.mode==="composition"?t.global:t.global.__composer;{const r=Array.from(t.__instances.values()).find(n=>n.id.toString()===e);return r?t.mode==="composition"?r:r.__composer:null}}function LW(e,t){const r=pN(e.nodeId,t);return r&&(e.state=DW(r)),null}function DW(e){const t={},r="Locale related info",n=[{type:r,key:"locale",editable:!0,value:e.locale.value},{type:r,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:r,key:"availableLocales",editable:!1,value:e.availableLocales},{type:r,key:"inheritLocale",editable:!0,value:e.inheritLocale}];t[r]=n;const o="Locale messages info",i=[{type:o,key:"messages",editable:!1,value:tg(e.messages.value)}];t[o]=i;{const u="Datetime formats info",c=[{type:u,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];t[u]=c;const l="Datetime formats info",f=[{type:l,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[l]=f}return t}function Uu(e,t){if(eg){let r;t&&"groupId"in t&&(r=t.groupId,delete t.groupId),eg.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:r,time:Date.now(),meta:{},data:t||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function FW(e,t){const r=pN(e.nodeId,t);if(r){const[n]=e.path;n==="locale"&&D(e.state.value)?r.locale.value=e.state.value:n==="fallbackLocale"&&(D(e.state.value)||le(e.state.value)||X(e.state.value))?r.fallbackLocale.value=e.state.value:n==="inheritLocale"&&Y(e.state.value)&&(r.inheritLocale=e.state.value)}}function CW(e,t,r){return{beforeCreate(){const n=oi();if(!n)throw xe(q.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const i=o.i18n;if(o.__i18n&&(i.__i18n=o.__i18n),i.__root=t,this===this.$root)this.$i18n=vN(e,i);else{i.__injectWithOption=!0,i.__extender=r.__vueI18nExtend,this.$i18n=Xh(i);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=vN(e,o);else{this.$i18n=Xh({__i18n:o.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&eN(t,o,o),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,u)=>this.$i18n.te(i,u),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),r.__setInstance(n,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$i18n){const n=this.$i18n;this.$el.__VUE_I18N__=n.__composer;const o=this.__v_emitter=rh();n.__enableEmitter&&n.__enableEmitter(o),o.on("*",Uu)}},unmounted(){const n=oi();if(!n)throw xe(q.UNEXPECTED_ERROR);const o=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Uu),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),r.__deleteInstance(n),delete this.$i18n}}}function vN(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[JS](t.pluralizationRules||e.pluralizationRules);const r=Ja(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(n=>e.mergeLocaleMessage(n,r[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const kW=cn("global-vue-i18n");function jW(e={},t){const r=__VUE_I18N_LEGACY_API__&&Y(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=Y(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&r?!!e.allowComposition:!0,i=new Map,[u,c]=VW(e,r),l=cn(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&r&&o&&Ve(Pt(de.NOTICE_DROP_ALLOW_COMPOSITION));function f(d){return i.get(d)||null}function s(d,p){i.set(d,p)}function _(d){i.delete(d)}{let p;const d={get mode(){return __VUE_I18N_LEGACY_API__&&r?"legacy":"composition"},get allowComposition(){return o},install(m,...h){return dr(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(m.__VUE_I18N__=d),m.__VUE_I18N_SYMBOL__=l,m.provide(m.__VUE_I18N_SYMBOL__,d),j(h[0])){const R=h[0];d.__composerExtend=R.__composerExtend,d.__vueI18nExtend=R.__vueI18nExtend}let E=null;!r&&n&&(E=KW(m,d.global)),__VUE_I18N_FULL_INSTALL__&&EW(m,d,...h),__VUE_I18N_LEGACY_API__&&r&&m.mixin(CW(c,c.__composer,d));const v=m.unmount;if(m.unmount=()=>{E&&E(),d.dispose(),v()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield $W(m,d)))throw xe(q.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const b=rh();if(r){const O=c;O.__enableEmitter&&O.__enableEmitter(b)}else{const O=c;O[co]&&O[co](b)}b.on("*",Uu)}})},get global(){return c},dispose(){u.stop()},__instances:i,__getInstance:f,__setInstance:s,__deleteInstance:_};return d}}function ng(e={}){const t=oi();if(t==null)throw xe(q.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw xe(q.NOT_INSTALLED);const r=xW(t),n=GW(r),o=ZS(t),i=UW(e,o);if(__VUE_I18N_LEGACY_API__&&r.mode==="legacy"&&!e.__useComponent){if(!r.allowComposition)throw xe(q.NOT_AVAILABLE_IN_LEGACY_MODE);return WW(t,i,n,e)}if(i==="global")return eN(n,e,o),n;if(i==="parent"){let l=HW(r,t,e.__useComponent);return l==null&&(process.env.NODE_ENV!=="production"&&Ve(Pt(de.NOT_FOUND_PARENT_SCOPE)),l=n),l}const u=r;let c=u.__getInstance(t);if(c==null){const l=je({},e);"__i18n"in o&&(l.__i18n=o.__i18n),n&&(l.__root=n),c=Kh(l),u.__composerExtend&&(c[qh]=u.__composerExtend(c)),zW(u,t,c),u.__setInstance(t,c)}return c}function VW(e,t,r){const n=LY();{const o=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Xh(e)):n.run(()=>Kh(e));if(o==null)throw xe(q.UNEXPECTED_ERROR);return[n,o]}}function xW(e){{const t=DS(e.isCE?kW:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw xe(e.isCE?q.NOT_INSTALLED_WITH_PROVIDE:q.UNEXPECTED_ERROR);return t}}function UW(e,t){return wa(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function GW(e){return e.mode==="composition"?e.global:e.global.__composer}function HW(e,t,r=!1){let n=null;const o=t.root;let i=YW(t,r);for(;i!=null;){const u=e;if(e.mode==="composition")n=u.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const c=u.__getInstance(i);c!=null&&(n=c.__composer,r&&n&&!n[QS]&&(n=null))}if(n!=null||o===i)break;i=i.parent}return n}function YW(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function zW(e,t,r){let n=null;Rz(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el){t.vnode.el.__VUE_I18N__=r,n=rh();const o=r;o[co]&&o[co](n),n.on("*",Uu)}},t),Sz(()=>{const o=r;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(n&&n.off("*",Uu),o[Vu]&&o[Vu](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const i=o[qh];i&&(i(),delete o[qh])},t)}function WW(e,t,r,n={}){const o=t==="local",i=bS(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw xe(q.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=Y(n.inheritLocale)?n.inheritLocale:!D(n.locale),c=Zo(!o||u?r.locale.value:D(n.locale)?n.locale:Ko),l=Zo(!o||u?r.fallbackLocale.value:D(n.fallbackLocale)||le(n.fallbackLocale)||j(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:c.value),f=Zo(Ja(c.value,n)),s=Zo(j(n.datetimeFormats)?n.datetimeFormats:{[c.value]:{}}),_=Zo(j(n.numberFormats)?n.numberFormats:{[c.value]:{}}),d=o?r.missingWarn:Y(n.missingWarn)||pr(n.missingWarn)?n.missingWarn:!0,p=o?r.fallbackWarn:Y(n.fallbackWarn)||pr(n.fallbackWarn)?n.fallbackWarn:!0,m=o?r.fallbackRoot:Y(n.fallbackRoot)?n.fallbackRoot:!0,h=!!n.fallbackFormat,E=ie(n.missing)?n.missing:null,v=ie(n.postTranslation)?n.postTranslation:null,R=o?r.warnHtmlMessage:Y(n.warnHtmlMessage)?n.warnHtmlMessage:!0,b=!!n.escapeParameter,O=o?r.modifiers:j(n.modifiers)?n.modifiers:{},S=n.pluralRules||o&&r.pluralRules;function T(){return[c.value,l.value,f.value,s.value,_.value]}const $=Rn({get:()=>i.value?i.value.locale.value:c.value,set:L=>{i.value&&(i.value.locale.value=L),c.value=L}}),I=Rn({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:L=>{i.value&&(i.value.fallbackLocale.value=L),l.value=L}}),A=Rn(()=>i.value?i.value.messages.value:f.value),x=Rn(()=>s.value),Z=Rn(()=>_.value);function H(){return i.value?i.value.getPostTranslationHandler():v}function he(L){i.value&&i.value.setPostTranslationHandler(L)}function st(){return i.value?i.value.getMissingHandler():E}function cr(L){i.value&&i.value.setMissingHandler(L)}function It(L){return T(),L()}function ar(...L){return i.value?It(()=>Reflect.apply(i.value.t,null,[...L])):It(()=>"")}function lr(...L){return i.value?Reflect.apply(i.value.rt,null,[...L]):""}function fr(...L){return i.value?It(()=>Reflect.apply(i.value.d,null,[...L])):It(()=>"")}function sr(...L){return i.value?It(()=>Reflect.apply(i.value.n,null,[...L])):It(()=>"")}function _r(L){return i.value?i.value.tm(L):{}}function _t(L,ee){return i.value?i.value.te(L,ee):!1}function bu(L){return i.value?i.value.getLocaleMessage(L):{}}function Ou(L,ee){i.value&&(i.value.setLocaleMessage(L,ee),f.value[L]=ee)}function fa(L,ee){i.value&&i.value.mergeLocaleMessage(L,ee)}function sa(L){return i.value?i.value.getDateTimeFormat(L):{}}function _a(L,ee){i.value&&(i.value.setDateTimeFormat(L,ee),s.value[L]=ee)}function Yv(L,ee){i.value&&i.value.mergeDateTimeFormat(L,ee)}function da(L){return i.value?i.value.getNumberFormat(L):{}}function wu(L,ee){i.value&&(i.value.setNumberFormat(L,ee),_.value[L]=ee)}function ya(L,ee){i.value&&i.value.mergeNumberFormat(L,ee)}const pa={get id(){return i.value?i.value.id:-1},locale:$,fallbackLocale:I,messages:A,datetimeFormats:x,numberFormats:Z,get inheritLocale(){return i.value?i.value.inheritLocale:u},set inheritLocale(L){i.value&&(i.value.inheritLocale=L)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(f.value)},get modifiers(){return i.value?i.value.modifiers:O},get pluralRules(){return i.value?i.value.pluralRules:S},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:d},set missingWarn(L){i.value&&(i.value.missingWarn=L)},get fallbackWarn(){return i.value?i.value.fallbackWarn:p},set fallbackWarn(L){i.value&&(i.value.missingWarn=L)},get fallbackRoot(){return i.value?i.value.fallbackRoot:m},set fallbackRoot(L){i.value&&(i.value.fallbackRoot=L)},get fallbackFormat(){return i.value?i.value.fallbackFormat:h},set fallbackFormat(L){i.value&&(i.value.fallbackFormat=L)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:R},set warnHtmlMessage(L){i.value&&(i.value.warnHtmlMessage=L)},get escapeParameter(){return i.value?i.value.escapeParameter:b},set escapeParameter(L){i.value&&(i.value.escapeParameter=L)},t:ar,getPostTranslationHandler:H,setPostTranslationHandler:he,getMissingHandler:st,setMissingHandler:cr,rt:lr,d:fr,n:sr,tm:_r,te:_t,getLocaleMessage:bu,setLocaleMessage:Ou,mergeLocaleMessage:fa,getDateTimeFormat:sa,setDateTimeFormat:_a,mergeDateTimeFormat:Yv,getNumberFormat:da,setNumberFormat:wu,mergeNumberFormat:ya};function va(L){L.locale.value=c.value,L.fallbackLocale.value=l.value,Object.keys(f.value).forEach(ee=>{L.mergeLocaleMessage(ee,f.value[ee])}),Object.keys(s.value).forEach(ee=>{L.mergeDateTimeFormat(ee,s.value[ee])}),Object.keys(_.value).forEach(ee=>{L.mergeNumberFormat(ee,_.value[ee])}),L.escapeParameter=b,L.fallbackFormat=h,L.fallbackRoot=m,L.fallbackWarn=p,L.missingWarn=d,L.warnHtmlMessage=R}return $z(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw xe(q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const L=i.value=e.proxy.$i18n.__composer;t==="global"?(c.value=L.locale.value,l.value=L.fallbackLocale.value,f.value=L.messages.value,s.value=L.datetimeFormats.value,_.value=L.numberFormats.value):o&&va(L)}),pa}const qW=["locale","fallbackLocale","availableLocales"],hN=["t","rt","d","n","tm","te"];function KW(e,t){const r=Object.create(null);return qW.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw xe(q.UNEXPECTED_ERROR);const u=Et(i.value)?{get(){return i.value.value},set(c){i.value.value=c}}:{get(){return i.get&&i.get()}};Object.defineProperty(r,o,u)}),e.config.globalProperties.$i18n=r,hN.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i||!i.value)throw xe(q.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,i)}),()=>{delete e.config.globalProperties.$i18n,hN.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}if(dW(),__INTLIFY_JIT_COMPILATION__?gR(_Y):gR(sY),rY(CH),oY(yR),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Vn();e.__INTLIFY__=!0,zH(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const XW=(e,t)=>{var u;const r=e.split(".");let n;const o=((u=window.baitedaWorkers)==null?void 0:u.languageMessages)||{};r.forEach((c,l)=>{l===0?n=o[c]:n&&(n=n[c])});let i="";return n&&(i=n),t&&Object.keys(t).forEach(c=>{const l=t[c];i=i.replace(new RegExp(`\\{\\s*${c}\\s*\\}`),l)}),i||(i=e),i};function JW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QW(e,t,r){return t&&gN(e.prototype,t),r&&gN(e,r),e}function ZW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var y=function(){function e(){JW(this,e)}return QW(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o;return(o=XW("engine."+r))!==null&&o!==void 0?o:this.$i18n.global.t(r,n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Y$;return jW({locale:r,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(r,n){var o=n;n||(o=IG.zhCN),this.$i18n.global.setLocaleMessage(r,o)}}]),e}();ZW(y,"$i18n",y.resetI18n());function mN(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,l){var f=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,u)){Kr("Can not set ".concat(t,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),i,i);return}return c===l.length-1&&!Object.is(f[u],r)&&(f[u]=r,o=!0),f[u]}},e),o}var eq=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},rg={exports:{}};(function(e){(function(t){var r=function(v,R,b){if(!f(R)||_(R)||d(R)||p(R)||l(R))return R;var O,S=0,T=0;if(s(R))for(O=[],T=R.length;S<T;S++)O.push(r(v,R[S],b));else{O={};for(var $ in R)Object.prototype.hasOwnProperty.call(R,$)&&(O[v($,b)]=r(v,R[$],b))}return O},n=function(v,R){R=R||{};var b=R.separator||"_",O=R.split||/(?=[A-Z])/;return v.split(O).join(b)},o=function(v){return m(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(R,b){return b?b.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var R=o(v);return R.substr(0,1).toUpperCase()+R.substr(1)},u=function(v,R){return n(v,R).toLowerCase()},c=Object.prototype.toString,l=function(v){return typeof v=="function"},f=function(v){return v===Object(v)},s=function(v){return c.call(v)=="[object Array]"},_=function(v){return c.call(v)=="[object Date]"},d=function(v){return c.call(v)=="[object RegExp]"},p=function(v){return c.call(v)=="[object Boolean]"},m=function(v){return v=v-0,v===v},h=function(v,R){var b=R&&"process"in R?R.process:R;return typeof b!="function"?v:function(O,S){return b(O,v,S)}},E={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,R){return r(h(o,R),v)},decamelizeKeys:function(v,R){return r(h(u,R),v,R)},pascalizeKeys:function(v,R){return r(h(i,R),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=E:t.humps=E})(eq)})(rg);var bN={};Object.defineProperty(bN,"__esModule",{value:!0});function og(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:og(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:og(n)}return t}}var tq=bN.default=og;function ON(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zt(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":ON(e))==="object"?tq(e):e}function ut(e){return ig(e)&&"zh"in e}function ig(e){return Object.prototype.toString.call(e)==="[object Object]"}function nq(e){return e!=null&&(typeof e=="undefined"?"undefined":ON(e))==="object"&&Array.isArray(e)===!1}function ao(e){return Array.isArray(e)}function wN(e){return typeof e=="string"}function ug(e){return typeof e=="number"}function rq(e){return typeof e=="function"}function oq(e){return ao(e)&&e.every(function(t){return wN(t)})}function iq(e){return ao(e)&&e.every(function(t){return ug(t)})}function uq(e){return ao(e)&&e.every(function(t){return ug(t)||t===""})}function cq(e){return/^\[.*?]$/.test(e)}function aq(e){return/^{.*?}$/.test(e)}function lo(e){return isNaN(parseFloat(e))?"":Number(e)}function EN(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function lq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:500,r;return function(){for(var n=this,o=arguments.length,i=new Array(o),u=0;u<o;u++)i[u]=arguments[u];r||(r=setTimeout(function(){e.apply(n,i),clearTimeout(r),r=null},t))}}function fq(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function ye(e,t){var r=[];return Array.isArray(e)&&(r=e.map(function(n){var o=n;return Array.isArray(n==null?void 0:n.children)&&(o.children=ye(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=ye(n.footers,t)),t(o)})),r}function PN(e){return rg.exports.camelizeKeys(e)}function Rr(e){return rg.exports.decamelizeKeys(e)}function sq(e){return Object.values(a.CONTROL_TYPE).includes(e)}function cg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function _q(e){if(Array.isArray(e))return cg(e)}function TN(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(f){r(f);return}c.done?t(l):Promise.resolve(l).then(n,o)}function dq(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){TN(i,n,o,u,c,"next",l)}function c(l){TN(i,n,o,u,c,"throw",l)}u(void 0)})}}function yq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $N(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pq(e,t,r){return t&&$N(e.prototype,t),r&&$N(e,r),e}function RN(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vq(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function hq(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ag(e){return _q(e)||vq(e)||gq(e)||hq()}function gq(e,t){if(!!e){if(typeof e=="string")return cg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cg(e,t)}}function mq(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(f){return function(s){return l([f,s])}}function l(f){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=f[0]&2?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[f[0]&2,o.value]),f[0]){case 0:case 1:o=f;break;case 4:return u.label++,{value:f[1],done:!1};case 5:u.label++,n=f[1],f=[0];continue;case 7:f=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(f[0]===6||f[0]===2)){u=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){u.label=f[1];break}if(f[0]===6&&u.label<o[1]){u.label=o[1],o=f;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(f);break}o[2]&&u.ops.pop(),u.trys.pop();continue}f=t.call(e,u)}catch(s){f=[6,s],n=0}finally{r=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var SN=function(){function e(){yq(this,e),RN(this,"_events",new Map),RN(this,"debug",!1)}return pq(e,[{key:"emit",value:function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];var u=this;return dq(function(){var c,l,f,s,_,d,p,m,h,E,v,R;return mq(this,function(b){switch(b.label){case 0:if(c=u._events.get(r),l=[],!c)return[3,10];f=c.slice(),s=!0,_=!1,d=void 0,b.label=1;case 1:b.trys.push([1,8,9,10]),p=f[Symbol.iterator](),b.label=2;case 2:if(s=(m=p.next()).done)return[3,7];if(h=m.value,!c.includes(h))return[3,6];b.label=3;case 3:return b.trys.push([3,5,,6]),u.debug&&Su.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"\u3002")].concat(ag(o))),[4,h.apply(null,ag(o))];case 4:return E=b.sent(),u.debug&&Su.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(r," \u4E8B\u4EF6: ").concat(h.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+h.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(o.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(ag(o),[E])),l.push(E),E===!1?[3,7]:[3,6];case 5:return v=b.sent(),Q$(String(v)+":"+String(v.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return R=b.sent(),_=!0,d=R,[3,10];case 9:try{!s&&p.return!=null&&p.return()}finally{if(_)throw d}return[7];case 10:return[2,l]}})})()}},{key:"on",value:function(r,n){if(this._events.has(r)){var o;(o=this._events.get(r))===null||o===void 0||o.push(n)}else this._events.set(r,[n])}},{key:"off",value:function(r,n){if(this._events.has(r)){var o=this._events.get(r),i=o==null?void 0:o.indexOf(n);o==null||o.splice(i,1)}}},{key:"delete",value:function(r){this._events.has(r)&&this._events.delete(r)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function bq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Oq(e,t,r){return t&&NN(e.prototype,t),r&&NN(e,r),e}function wq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Eq=[{key:"on_click",name:y.getMessage("click"),code:"click"},{key:"on_click_finish",name:y.getMessage("finished"),code:"click-finish"},{key:"on_change",name:y.getMessage("valueChange"),code:"change"},{key:"on_search",name:y.getMessage("search"),code:"search"},{key:"on_list_change",name:y.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:y.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:y.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:y.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:y.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:y.getMessage("onInput"),code:"input"},{key:"on_blur",name:y.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:y.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:y.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:y.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:y.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:y.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:y.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:y.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:y.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:y.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:y.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:y.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:y.getMessage("modalConfirm"),code:"modal-ok"}],IN=function(){function e(){bq(this,e)}return Oq(e,null,[{key:"getEventsFromKeys",value:function(r){var n=typeof r=="string"?[r]:r;return e.events.filter(function(o){return n.includes(o.key)})}},{key:"getEventsFromControl",value:function(r){var n=[],o=r.eventKeys;n=n.concat(e.events.filter(function(u){return o.includes(u.key)}));var i=r.customEvents.map(function(u){var c=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(c=u.namespace+":"+u.key),{key:c,code:u.key,name:u.name}});return n=n.concat(i),n}}]),e}();wq(IN,"events",Eq);function lg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Pq(e){if(Array.isArray(e))return lg(e)}function Tq(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function $q(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function BN(e){return Pq(e)||Tq(e)||Rq(e)||$q()}function Rq(e,t){if(!!e){if(typeof e=="string")return lg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return lg(e,t)}}function Qa(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function fg(e,t,r){r!=="Runtime"&&(e.parent=t,Qa(e,"parent"))}function AN(e,t,r){e.forEach(function(n){fg(n,t,r)})}var MN=Symbol("targetKey");function LN(e){var t;return(t=e[MN])!==null&&t!==void 0?t:e}function DN(e,t,r){return AN(e,t,r),new Proxy(e,{get:function(o,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),l=2;l<u;l++)c[l-2]=arguments[l];var f;return i===MN?o:(f=Reflect).get.apply(f,[o,i].concat(BN(c)))},set:function(o,i,u){for(var c=arguments.length,l=new Array(c>3?c-3:0),f=3;f<c;f++)l[f-3]=arguments[f];var s;if(ao(e)&&i==="length"&&u===e.length)return!0;var _=(s=Reflect).set.apply(s,[o,i,u].concat(BN(l)));return ig(u)&&fg(u,t,r),_}})}function _n(e,t,r,n,o){var i=n!=null?n:e,u=DN(LN(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(l){u=DN(LN(l),i,o)},enumerable:!0})}function Sq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nq(e,t,r){return t&&FN(e.prototype,t),r&&FN(e,r),e}function Sr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var CN=[],Gu=function(){function e(t){Sq(this,e),Sr(this,"registeredControlTypes",new Set),Sr(this,"controlConfigMap",new Map),Sr(this,"_controls",[]),Sr(this,"_type",void 0),this._type=t,this._initControls(t)}return Nq(e,[{key:"registerControlConfig",value:function(r,n){return this.controlConfigMap.set(r,n),this}},{key:"getControlConfig",value:function(r){return this.controlConfigMap.get(r)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(r){r.__is_control__||yr("".concat(r.name," is not a Control"));var n=this._controls.findIndex(function(o){return o.controlType===r.controlType});return n>-1&&(Kr("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(n,1)),this.registeredControlTypes.add(r.controlType),this._controls.push(r),this}},{key:"isLayoutControl",value:function(r){return r.controlType===a.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===a.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===a.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===a.CONTROL_BASE_TYPE.COLUMN}},{key:"createControl",value:function(r,n){var o=this;if(Array.isArray(r))return r.map(function(s){return o.createControl(s,n)});if(r.children&&(r.children=r.children.map(function(s){return o.createControl(s,n)})),this.isListControl(r)){var i=r.props;i.headers&&(i.headers=i.headers.map(function(s){return o.createControl(s,n)}))}var u=this.getControlFormType(r.type);if(u){var c=r;if(typeof n=="function"){var l=n(c);l&&(c=l)}var f;return u.mode==="Runtime"?(f=c,f.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(f,this)):f=new u(c),f}else yr("The constructor of ".concat(r.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(r,n){delete r.parent,Object.defineProperty(r,"parent",{configurable:!0,get:function(){return n}}),Qa(r,"parent")}},{key:"_setParentPrototypeToSchema",value:function(r,n){n._type==="Runtime"&&(Object.defineProperty(r,"parent",{configurable:!0,get:function(){var i=r.id,u=n._controlParentIdMap,c=n.instanceMap;if(!(!u||!c)){var l=u[i],f=c[i];if(!(!l&&!f)){var s=f.findIndex(function(p){return p==r}),_=c[l]||[],d;return _.length!==f.length?d=_[0]:d=_[s],d}}}}),Qa(r,"parent"))}},{key:"createControlInstance",value:function(r,n){var o=this.getControlFormType(r);if(o)return new o(n)}},{key:"getControlFormType",value:function(r){return this._controls.find(function(n){return n.controlType===r})}},{key:"_initControls",value:function(r){var n=this;this.constructor.staticControls.forEach(function(o){n.register(o[r]),e.staticControlsRuntimeRules.set(o.Runtime.controlType,o.Property.RuntimeRules),o.Property.mode=r})}}],[{key:"staticGetRules",value:function(r,n){var o=e.staticControlsRuntimeRules.get(r),i=[];if(o){var u=new o(n);i=Array.from(u)}return i}},{key:"register",value:function(r,n){var o=r.Designer,i=r.Runtime,u=r.Property;(!o||!i||!o.__is_control__||!i.__is_control__)&&yr("".concat(r," is can't register as a Control"));var c=this.staticControls.findIndex(function(l){return l.Designer.controlType===o.controlType});return c>-1&&(Kr("The ".concat(o.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(c,1)),this.staticRegisteredTypes.add(o.controlType),this.staticControls.push(r),u.mode=n,this}}]),e}();Sr(Gu,"staticControlsRuntimeRules",new Map),Sr(Gu,"staticControls",CN),Sr(Gu,"staticRegisteredTypes",new Set(CN.map(function(e){return e.Designer.controlType}))),Sr(Gu,"staticRegisteredConfigs",new Map);function ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Za(e){return Za=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Za(e)}function Wt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sg(e,t)}function Iq(e,t){return t&&(Bq(t)==="object"||typeof t=="function")?t:ce(e)}function sg(e,t){return sg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sg(e,t)}function Bq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Aq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qt(e){var t=Aq();return function(){var n=Za(e),o;if(t){var i=Za(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iq(this,o)}}var Kt=function e(t){F(this,e),P(this,"dataCode",void 0),P(this,"fieldCode",void 0),P(this,"fieldType",void 0),P(this,"aliasCode",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"",this.aliasCode=t==null?void 0:t.aliasCode},el=function e(t){F(this,e),P(this,"minWidth",void 0),P(this,"maxWidth",void 0),P(this,"flex",void 0);var r;this.minWidth=(r=t==null?void 0:t.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=t==null?void 0:t.maxWidth;var n;this.flex=(n=t==null?void 0:t.flex)!==null&&n!==void 0?n:1},_g=function e(t){F(this,e),P(this,"rowHeightType",void 0),P(this,"minRows",void 0),P(this,"maxRows",void 0),P(this,"fiexdRow",void 0);var r;this.rowHeightType=(r=t==null?void 0:t.rowHeightType)!==null&&r!==void 0?r:"fixed";var n;this.minRows=(n=t==null?void 0:t.minRows)!==null&&n!==void 0?n:4;var o;this.maxRows=(o=t==null?void 0:t.maxRows)!==null&&o!==void 0?o:20;var i;this.fiexdRow=(i=t==null?void 0:t.fiexdRow)!==null&&i!==void 0?i:4},dg=function e(t){F(this,e),P(this,"pc",void 0),P(this,"mobile",void 0),this.pc=new _g(t==null?void 0:t.pc),this.mobile=new _g(t==null?void 0:t.mobile)},tl=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;o=t.call(this,n),P(ce(o),"width",void 0),P(ce(o),"widthType",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:240;var u;return o.widthType=(u=n==null?void 0:n.widthType)!==null&&u!==void 0?u:"auto",o}return r}(el),yg=function e(t){F(this,e),P(this,"pc",void 0),P(this,"mobile",void 0),this.pc=new tl(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new tl(t==null?void 0:t.mobile):new tl({width:130,minWidth:180})},kN=function e(t){F(this,e),P(this,"type",void 0),P(this,"customOptions",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"firstThree";var n;this.customOptions=(n=t==null?void 0:t.customOptions)!==null&&n!==void 0?n:[]},fo=function e(t){F(this,e),P(this,"dataCode",void 0),P(this,"formKey",void 0),P(this,"appId",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.formKey=(n=t==null?void 0:t.formKey)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:""},jN=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;o=t.call(this,n),P(ce(o),"primaryControlId",void 0);var i;return o.primaryControlId=(i=n==null?void 0:n.primaryControlId)!==null&&i!==void 0?i:"",o}return r}(fo),VN=function e(t){F(this,e),P(this,"fieldCode",void 0),P(this,"dataCode",void 0);var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:""},nl=function e(t){F(this,e);var r;P(this,"appId",void 0),P(this,"formKey",void 0),P(this,"headers",void 0);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new VN(u)}))!==null&&i!==void 0?i:[]},xN=function e(t){F(this,e),P(this,"fieldName",void 0),P(this,"fieldCode",void 0),P(this,"fieldType",void 0);var r;this.fieldName=(r=t==null?void 0:t.fieldName)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:a.FieldTypes.VARCHAR},UN=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;o=t.call(this,n),P(ce(o),"title",void 0),P(ce(o),"svcCode",void 0),P(ce(o),"isOpenFilter",void 0),P(ce(o),"filters",void 0);var i;o.title=(i=n==null?void 0:n.title)!==null&&i!==void 0?i:"";var u;o.svcCode=(u=n==null?void 0:n.svcCode)!==null&&u!==void 0?u:"";var c;o.isOpenFilter=(c=n==null?void 0:n.isOpenFilter)!==null&&c!==void 0?c:!1;var l;return o.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],o}return r}(fo),GN=function e(t){F(this,e);var r,n;P(this,"type","sublist-page"),P(this,"formBind",void 0),P(this,"displayFields",void 0),P(this,"sublists",void 0),this.formBind=new fo(t==null?void 0:t.formBind);var o;this.displayFields=(o=t==null||(r=t.displayFields)===null||r===void 0?void 0:r.map(function(u){return new xN(u)}))!==null&&o!==void 0?o:[];var i;this.sublists=(i=t==null||(n=t.sublists)===null||n===void 0?void 0:n.map(function(u){return new UN(u)}))!==null&&i!==void 0?i:[]},HN=function e(t){F(this,e),P(this,"type",void 0),P(this,"value",void 0),P(this,"dataCode",void 0),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value,this.dataCode=t==null?void 0:t.dataCode},ui=function e(t){F(this,e),P(this,"type",void 0),P(this,"value",void 0),P(this,"displayBos",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"custom";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:[];var o;this.displayBos=(o=t==null?void 0:t.displayBos)!==null&&o!==void 0?o:[]},rl=function e(t){var r=this;F(this,e),P(this,"id",void 0),P(this,"ruleId",void 0),P(this,"type","conditions"),P(this,"level",void 0),P(this,"value",void 0),P(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Gt();var o;this.ruleId=(o=t==null?void 0:t.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var i;this.level=(i=t==null?void 0:t.level)!==null&&i!==void 0?i:0;var u;this.value=(u=t==null?void 0:t.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(t==null?void 0:t.children)&&(t==null||t.children.map(function(c){if(c.children!==void 0){var l,f=new e(c);(l=r.children)===null||l===void 0||l.push(f)}else{var s,_=new Hu(c);(s=r.children)===null||s===void 0||s.push(_)}}))},Hu=function e(t){F(this,e),P(this,"id",void 0),P(this,"ruleId",void 0),P(this,"type","condition"),P(this,"symbol",void 0),P(this,"checked",void 0),P(this,"describe",void 0),P(this,"leftVariableBo",void 0),P(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Gt();var n;this.ruleId=(n=t==null?void 0:t.ruleId)!==null&&n!==void 0?n:new Date().valueOf();var o;this.symbol=(o=t==null?void 0:t.symbol)!==null&&o!==void 0?o:"";var i;this.checked=(i=t==null?void 0:t.checked)!==null&&i!==void 0?i:!1;var u;this.describe=(u=t==null?void 0:t.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new HN(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ui(t==null?void 0:t.rightVariableBo)},YN=function e(t){F(this,e),P(this,"aliasCode",void 0),P(this,"datasourceBind",void 0),P(this,"relationFields",void 0);var r;this.aliasCode=(r=t==null?void 0:t.aliasCode)!==null&&r!==void 0?r:"",this.datasourceBind=new Ue(t==null?void 0:t.datasourceBind);var n;this.relationFields=(n=t==null?void 0:t.relationFields)!==null&&n!==void 0?n:[]},ht=function e(t){F(this,e),P(this,"controlId",void 0),P(this,"fieldCode",void 0),P(this,"fieldType",void 0),P(this,"propName",void 0);var r;this.controlId=(r=t==null?void 0:t.controlId)!==null&&r!==void 0?r:"";var n;this.fieldCode=(n=t==null?void 0:t.fieldCode)!==null&&n!==void 0?n:"";var o;this.fieldType=(o=t==null?void 0:t.fieldType)!==null&&o!==void 0?o:"";var i;this.propName=(i=t==null?void 0:t.propName)!==null&&i!==void 0?i:""},ol=function e(t){F(this,e),P(this,"type",void 0),P(this,"value",void 0),P(this,"fieldType",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"FIELD";var n;this.value=(n=t==null?void 0:t.value)!==null&&n!==void 0?n:"",this.fieldType=t==null?void 0:t.fieldType},Mq=function e(t){F(this,e),P(this,"title",void 0),P(this,"displayBoList",void 0);var r;this.title=(r=t==null?void 0:t.title)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},pg=function e(t){F(this,e),P(this,"columnName",void 0),P(this,"desc",void 0);var r;this.columnName=(r=t.columnName)!==null&&r!==void 0?r:"";var n;this.desc=(n=t.desc)!==null&&n!==void 0?n:!1},zN=function e(t){F(this,e),P(this,"code",void 0),P(this,"value",void 0),P(this,"field_type",void 0);var r;this.code=(r=t.code)!==null&&r!==void 0?r:"";var n;this.value=(n=t.value)!==null&&n!==void 0?n:"";var o;this.field_type=(o=t.field_type)!==null&&o!==void 0?o:a.FieldTypes.ANY},Lq=function e(t){F(this,e);var r,n;P(this,"id",void 0),P(this,"limit",void 0),P(this,"orders",void 0),P(this,"formKey",void 0),P(this,"dataSet",void 0);var o;this.id=(o=t.id)!==null&&o!==void 0?o:"";var i;this.limit=(i=t.limit)!==null&&i!==void 0?i:20;var u;this.formKey=(u=t.formKey)!==null&&u!==void 0?u:"";var c;this.orders=(c=(r=t.orders)===null||r===void 0?void 0:r.map(function(f){return new pg(f)}))!==null&&c!==void 0?c:[];var l;this.dataSet=(l=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(f){return new zN(f)}))!==null&&l!==void 0?l:[]};function vg(e){var t,r,n,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(c){return c.children!==void 0?new rl(c):new Hu(c)}))!==null&&o!==void 0?o:[];var i;this.viewFilters=(i=e==null||(r=e.viewFilters)===null||r===void 0?void 0:r.map(function(c){return c.children!==void 0?new rl(c):new Hu(c)}))!==null&&i!==void 0?i:[];var u;this.orders=(u=e==null||(n=e.orders)===null||n===void 0?void 0:n.map(function(c){return new pg(c)}))!==null&&u!==void 0?u:[]}var Ue=function e(t){var r=this;F(this,e),P(this,"dataCode",void 0),P(this,"valueFieldCode",void 0),P(this,"displayBoList",void 0),P(this,"keywordMapping",void 0),P(this,"svcCode",void 0),P(this,"appId",void 0),P(this,"filters",void 0),P(this,"viewFilters",void 0),P(this,"isOpenViewFilters",void 0),P(this,"orders",void 0),P(this,"showOrder",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.valueFieldCode=(i=t==null?void 0:t.valueFieldCode)!==null&&i!==void 0?i:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=t==null?void 0:t.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(t==null?void 0:t.displayBoList)&&(t==null||t.displayBoList.map(function(s){var _;(_=r.displayBoList)===null||_===void 0||_.push(new ol(s))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var l;this.showOrder=(l=t==null?void 0:t.showOrder)!==null&&l!==void 0?l:!0;var f;this.svcCode=(f=t==null?void 0:t.svcCode)!==null&&f!==void 0?f:"",vg.call(this,t)},il=function e(t){F(this,e),P(this,"dataCode",void 0),P(this,"displayBoList",void 0);var r;this.dataCode=(r=t==null?void 0:t.dataCode)!==null&&r!==void 0?r:"";var n;this.displayBoList=(n=t==null?void 0:t.displayBoList)!==null&&n!==void 0?n:[]},Sn=function e(t){F(this,e),P(this,"code",void 0),P(this,"color",void 0),P(this,"command",void 0),P(this,"confirmMessage",void 0),P(this,"defaultState",void 0),P(this,"formKey",void 0),P(this,"formType",void 0),P(this,"icon",void 0),P(this,"needConfirm",void 0),P(this,"openType",void 0),P(this,"priorityProcess",void 0);var r;this.code=(r=t==null?void 0:t.code)!==null&&r!==void 0?r:"view";var n;this.color=(n=t==null?void 0:t.color)!==null&&n!==void 0?n:"primary";var o;this.command=(o=t==null?void 0:t.command)!==null&&o!==void 0?o:"view";var i;this.confirmMessage=(i=t==null?void 0:t.confirmMessage)!==null&&i!==void 0?i:void 0;var u;this.defaultState=(u=t==null?void 0:t.defaultState)!==null&&u!==void 0?u:"default";var c;this.formKey=(c=t==null?void 0:t.formKey)!==null&&c!==void 0?c:void 0,this.formType=t==null?void 0:t.formType;var l;this.icon=(l=t==null?void 0:t.icon)!==null&&l!==void 0?l:"iconliulan1";var f;this.needConfirm=(f=t==null?void 0:t.needConfirm)!==null&&f!==void 0?f:!1;var s;this.openType=(s=t==null?void 0:t.openType)!==null&&s!==void 0?s:"modal";var _;this.priorityProcess=(_=t==null?void 0:t.priorityProcess)!==null&&_!==void 0?_:!0},hg=function e(t){F(this,e);var r;P(this,"name",void 0),P(this,"key",void 0),P(this,"value",void 0);var n;this.name=(n=t==null?void 0:t.name)!==null&&n!==void 0?n:"";var o;this.key=(o=t==null?void 0:t.key)!==null&&o!==void 0?o:"";var i;this.value=(i=t==null||(r=t.value)===null||r===void 0?void 0:r.map(function(u){return new ol(u)}))!==null&&i!==void 0?i:[]},Yu=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o,i;o=t.call(this,n),P(ce(o),"attributes",void 0);var u;return o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(c){return new hg(c)}))!==null&&u!==void 0?u:[],o}return r}(Ue),WN=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o,i;o=t.call(this,n),P(ce(o),"attributes",void 0),P(ce(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(l){return new hg(l)}))!==null&&u!==void 0?u:[];var c;return o.formCode=(c=n==null?void 0:n.formCode)!==null&&c!==void 0?c:"",o}return r}(Ue),gg=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;o=t.call(this,n),P(ce(o),"rootNode",void 0),P(ce(o),"filterCode",void 0),o.rootNode=new ui(n==null?void 0:n.rootNode);var i;return o.filterCode=(i=n==null?void 0:n.filterCode)!==null&&i!==void 0?i:"",o}return r}(Yu),qN=function e(t){F(this,e);var r;P(this,"dataCode",void 0),P(this,"appId",void 0),P(this,"fillList",void 0);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var o;this.appId=(o=t==null?void 0:t.appId)!==null&&o!==void 0?o:"";var i;this.fillList=(i=t==null||(r=t.fillList)===null||r===void 0?void 0:r.map(function(u){return new ht(u)}))!==null&&i!==void 0?i:[]},mg=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;return o=t.call(this,n),P(ce(o),"filters",void 0),P(ce(o),"viewFilters",void 0),P(ce(o),"orders",void 0),vg.call(ce(o),n),o}return r}(qN),bg=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;o=t.call(this,n),P(ce(o),"mode",void 0),P(ce(o),"multiple",void 0);var i;o.mode=(i=n==null?void 0:n.mode)!==null&&i!==void 0?i:"current";var u;return o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1,o}return r}(qN),Dq=function e(t){F(this,e),P(this,"zh",void 0),P(this,"en",void 0),P(this,"ja",void 0);var r;this.zh=(r=t==null?void 0:t.zh)!==null&&r!==void 0?r:"";var n;this.en=(n=t==null?void 0:t.en)!==null&&n!==void 0?n:"";var o;this.ja=(o=t==null?void 0:t.ja)!==null&&o!==void 0?o:""},ul=function e(t){F(this,e),P(this,"stencilName",void 0),P(this,"expression",void 0),P(this,"errMessage",void 0);var r;this.stencilName=(r=t==null?void 0:t.stencilName)!==null&&r!==void 0?r:"";var n;this.expression=(n=t==null?void 0:t.expression)!==null&&n!==void 0?n:"";var o;this.errMessage=(o=t==null?void 0:t.errMessage)!==null&&o!==void 0?o:""},Og=function e(t){F(this,e),P(this,"id",void 0),P(this,"label",void 0),P(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Gt(8);var n;this.label=(n=t==null?void 0:t.label)!==null&&n!==void 0?n:"";var o;this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:this.label},KN=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;o=t.call(this,n),P(ce(o),"image",void 0),P(ce(o),"type",void 0);var i;o.image=(i=n==null?void 0:n.image)!==null&&i!==void 0?i:"";var u;return o.type=(u=n==null?void 0:n.type)!==null&&u!==void 0?u:"src",o}return r}(Og);function Nn(e){var t;return(t=e==null?void 0:e.map(function(r){return new Og(r)}))!==null&&t!==void 0?t:[]}function Fq(e){var t;return(t=e==null?void 0:e.map(function(r){return new KN(r)}))!==null&&t!==void 0?t:[]}var cl=function e(){F(this,e)},XN=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;return o=t.call(this),P(ce(o),"amount",void 0),P(ce(o),"currency",void 0),o.amount=new Kt(n==null?void 0:n.amount),o.currency=new Kt(n==null?void 0:n.currency),o}return r}(cl),JN=function e(t){F(this,e),P(this,"amount",void 0),P(this,"currency",void 0);var r;this.amount=(r=t==null?void 0:t.amount)!==null&&r!==void 0?r:"";var n;this.currency=(n=t==null?void 0:t.currency)!==null&&n!==void 0?n:"CNY"},QN=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;return o=t.call(this),P(ce(o),"min",void 0),P(ce(o),"max",void 0),o.min=new Kt(n==null?void 0:n.min),o.max=new Kt(n==null?void 0:n.max),o}return r}(cl),ZN=function e(t){F(this,e),P(this,"min",void 0),P(this,"max",void 0);var r;this.min=(r=t==null?void 0:t.min)!==null&&r!==void 0?r:"";var n;this.max=(n=t==null?void 0:t.max)!==null&&n!==void 0?n:""},eI=function e(t){F(this,e),P(this,"city",void 0),P(this,"cityDisplay",void 0),P(this,"district",void 0),P(this,"districtDisplay",void 0),P(this,"province",void 0),P(this,"provinceDisplay",void 0);var r;this.city=(r=t==null?void 0:t.city)!==null&&r!==void 0?r:"";var n;this.cityDisplay=(n=t==null?void 0:t.cityDisplay)!==null&&n!==void 0?n:"";var o;this.district=(o=t==null?void 0:t.district)!==null&&o!==void 0?o:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var u;this.province=(u=t==null?void 0:t.province)!==null&&u!==void 0?u:"";var c;this.provinceDisplay=(c=t==null?void 0:t.provinceDisplay)!==null&&c!==void 0?c:""},tI=function(e){Wt(r,e);var t=qt(r);function r(n){F(this,r);var o;return o=t.call(this),P(ce(o),"result",void 0),P(ce(o),"unit",void 0),o.result=new Kt(n==null?void 0:n.result),o.unit=new Kt(n==null?void 0:n.unit),o}return r}(cl),nI=function e(t){F(this,e),P(this,"result",void 0),P(this,"unit",void 0);var r;this.result=(r=t==null?void 0:t.result)!==null&&r!==void 0?r:0;var n;this.unit=(n=t==null?void 0:t.unit)!==null&&n!==void 0?n:""};a.AMOUNT_TYPE=void 0,function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"}(a.AMOUNT_TYPE||(a.AMOUNT_TYPE={})),a.COMMON_SETTING_TYPE=void 0,function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.IS_SHOW_WATERMARK="isShowWatermark",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions",e.IS_PASTE="isPaste",e.SORTABLE="sortable"}(a.COMMON_SETTING_TYPE||(a.COMMON_SETTING_TYPE={})),a.PAGE_STATUS=void 0,function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"}(a.PAGE_STATUS||(a.PAGE_STATUS={}));var Yn=function e(t){F(this,e),P(this,"isShow",void 0),P(this,"priorityProcess",void 0),P(this,"formKey",void 0),P(this,"content",void 0),P(this,"openType",void 0),P(this,"type",void 0);var r;this.isShow=(r=t==null?void 0:t.isShow)!==null&&r!==void 0?r:!0;var n;this.content=(n=t==null?void 0:t.content)!==null&&n!==void 0?n:"";var o;this.formKey=(o=t==null?void 0:t.formKey)!==null&&o!==void 0?o:"";var i;this.openType=(i=t==null?void 0:t.openType)!==null&&i!==void 0?i:"modal";var u;this.type=(u=t==null?void 0:t.type)!==null&&u!==void 0?u:"";var c;this.priorityProcess=(c=t==null?void 0:t.priorityProcess)!==null&&c!==void 0?c:!1},rI=function e(t){F(this,e);var r;P(this,"id",void 0),P(this,"title",void 0),P(this,"filters",void 0),P(this,"viewFilters",void 0),P(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Gt(8);var o;this.title=(o=t==null?void 0:t.title)!==null&&o!==void 0?o:"";var i;this.headers=(i=t==null||(r=t.headers)===null||r===void 0?void 0:r.map(function(u){return new VN(u)}))!==null&&i!==void 0?i:[],vg.call(this,t)},Cq=function e(t){F(this,e),P(this,"key",void 0),P(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:Gt(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},oI=function e(t){F(this,e),P(this,"width",void 0),P(this,"height",void 0),P(this,"widthConfig",void 0),P(this,"heightConfig",void 0);var r;this.width=(r=t==null?void 0:t.width)!==null&&r!==void 0?r:"";var n;this.height=(n=t==null?void 0:t.height)!==null&&n!==void 0?n:"";var o;this.widthConfig=(o=t==null?void 0:t.widthConfig)!==null&&o!==void 0?o:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"},iI=function e(t){F(this,e),P(this,"optCode",void 0),P(this,"optType",void 0);var r;this.optCode=(r=t==null?void 0:t.optCode)!==null&&r!==void 0?r:"";var n;this.optType=(n=t==null?void 0:t.optType)!==null&&n!==void 0?n:""},uI=function e(t){F(this,e);var r,n;P(this,"id",void 0),P(this,"name",void 0),P(this,"settings",void 0),P(this,"filters",void 0),P(this,"script",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Gt();var i;this.name=(i=t==null?void 0:t.name)!==null&&i!==void 0?i:"";var u;this.filters=(u=t==null||(r=t.filters)===null||r===void 0?void 0:r.map(function(l){return l.children!==void 0?new rl(l):new Hu(l)}))!==null&&u!==void 0?u:[];var c;this.settings=(t==null?void 0:t.settings)&&Array.isArray(t==null?void 0:t.settings)?(c=t==null||(n=t.settings)===null||n===void 0?void 0:n.map(function(l){return new cI(l)}))!==null&&c!==void 0?c:[]:[],this.script=t==null?void 0:t.script},cI=function e(t){F(this,e),P(this,"color",void 0),P(this,"fieldCodes",void 0),P(this,"type",void 0),P(this,"scope",void 0);var r;this.type=(r=t.type)!==null&&r!==void 0?r:"background";var n;this.fieldCodes=(n=t.fieldCodes)!==null&&n!==void 0?n:[];var o;this.color=(o=t.color)!==null&&o!==void 0?o:"theme";var i;this.scope=(i=t.scope)!==null&&i!==void 0?i:"row"},aI=function e(t){F(this,e);var r;P(this,"type",void 0),P(this,"interval",void 0),P(this,"rules",void 0);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"none";var o;this.interval=(o=t==null?void 0:t.interval)!==null&&o!==void 0?o:{color:""};var i;this.rules=(t==null?void 0:t.rules)&&Array.isArray(t==null?void 0:t.rules)?(i=t==null||(r=t.rules)===null||r===void 0?void 0:r.map(function(u){return new uI(u)}))!==null&&i!==void 0?i:[]:[]};function kq(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function al(e,t,r){return lI()?al=Reflect.construct:al=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),f=new l;return u&&Wu(f,u.prototype),f},al.apply(null,arguments)}function zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zu(e){return zu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zu(e)}function jq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wu(e,t)}function Vq(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function xq(e,t){return t&&(Uq(t)==="object"||typeof t=="function")?t:kq(e)}function Wu(e,t){return Wu=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wu(e,t)}function Uq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Eg(e){var t=typeof Map=="function"?new Map:void 0;return Eg=function(n){if(n===null||!Vq(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return al(n,arguments,zu(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),Wu(o,n)},Eg(e)}function lI(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gq(e){var t=lI();return function(){var n=zu(e),o;if(t){var i=zu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xq(this,o)}}var Fe=function e(t){wg(this,e),zn(this,"isHide",{type:"boolean"})},Nr=function(e){jq(r,e);var t=Gq(r);function r(n){return wg(this,r),t.call(this)}return r}(Eg(Array)),$e=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";wg(this,e),zn(this,"isHide",void 0),zn(this,"className",void 0),zn(this,"style",void 0),zn(this,"caption",void 0),zn(this,"defaultState",void 0);var n;this.isHide=(n=t==null?void 0:t.isHide)!==null&&n!==void 0?n:!1,this.style=new oI(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};zn($e,"mode",void 0),zn($e,"Rules",Fe),zn($e,"RuntimeRules",Nr);function In(){return In=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},In.apply(this,arguments)}function Hq(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Pg(e){return Pg=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pg(e)}function ll(e,t){return ll=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ll(e,t)}function Yq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function fl(e,t,r){return Yq()?fl=Reflect.construct:fl=function(o,i,u){var c=[null];c.push.apply(c,i);var l=Function.bind.apply(o,c),f=new l;return u&&ll(f,u.prototype),f},fl.apply(null,arguments)}function zq(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Tg(e){var t=typeof Map=="function"?new Map:void 0;return Tg=function(n){if(n===null||!zq(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(n))return t.get(n);t.set(n,o)}function o(){return fl(n,arguments,Pg(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),ll(o,n)},Tg(e)}var Wq=/%[sdj%]/g,fI=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(fI=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function $g(e){if(!e||!e.length)return null;var t={};return e.forEach(function(r){var n=r.field;t[n]=t[n]||[],t[n].push(r)}),t}function At(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=1,o=t[0],i=t.length;if(typeof o=="function")return o.apply(null,t.slice(1));if(typeof o=="string"){var u=String(o).replace(Wq,function(c){if(c==="%%")return"%";if(n>=i)return c;switch(c){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(l){return"[Circular]"}break;default:return c}});return u}return o}function qq(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Ge(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||qq(t)&&typeof e=="string"&&!e)}function Kq(e,t,r){var n=[],o=0,i=e.length;function u(c){n.push.apply(n,c),o++,o===i&&r(n)}e.forEach(function(c){t(c,u)})}function sI(e,t,r){var n=0,o=e.length;function i(u){if(u&&u.length){r(u);return}var c=n;n=n+1,c<o?t(e[c],i):r([])}i([])}function Xq(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var _I=function(e){Hq(t,e);function t(r,n){var o;return o=e.call(this,"Async Validation Error")||this,o.errors=r,o.fields=n,o}return t}(Tg(Error));function Jq(e,t,r,n){if(t.first){var o=new Promise(function(_,d){var p=function(E){return n(E),E.length?d(new _I(E,$g(E))):_()},m=Xq(e);sI(m,r,p)});return o.catch(function(_){return _}),o}var i=t.firstFields||[];i===!0&&(i=Object.keys(e));var u=Object.keys(e),c=u.length,l=0,f=[],s=new Promise(function(_,d){var p=function(h){if(f.push.apply(f,h),l++,l===c)return n(f),f.length?d(new _I(f,$g(f))):_()};u.length||(n(f),_()),u.forEach(function(m){var h=e[m];i.indexOf(m)!==-1?sI(h,r,p):Kq(h,r,p)})});return s.catch(function(_){return _}),s}function dI(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function yI(e,t){if(t){for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];typeof n=="object"&&typeof e[r]=="object"?e[r]=In(In({},e[r]),n):e[r]=n}}return e}function pI(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||Ge(t,i||e.type))&&n.push(At(o.messages.required,e.fullField))}function Qq(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(At(o.messages.whitespace,e.fullField))}var Rg={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},qu={integer:function(t){return qu.number(t)&&parseInt(t,10)===t},float:function(t){return qu.number(t)&&!qu.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(r){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!qu.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Rg.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Rg.url)},hex:function(t){return typeof t=="string"&&!!t.match(Rg.hex)}};function Zq(e,t,r,n,o){if(e.required&&t===void 0){pI(e,t,r,n,o);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=e.type;i.indexOf(u)>-1?qu[u](t)||n.push(At(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(At(o.messages.types[u],e.fullField,e.type))}function eK(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=t,s=null,_=typeof t=="number",d=typeof t=="string",p=Array.isArray(t);if(_?s="number":d?s="string":p&&(s="array"),!s)return!1;p&&(f=t.length),d&&(f=t.replace(l,"_").length),i?f!==e.len&&n.push(At(o.messages[s].len,e.fullField,e.len)):u&&!c&&f<e.min?n.push(At(o.messages[s].min,e.fullField,e.min)):c&&!u&&f>e.max?n.push(At(o.messages[s].max,e.fullField,e.max)):u&&c&&(f<e.min||f>e.max)&&n.push(At(o.messages[s].range,e.fullField,e.min,e.max))}var ci="enum";function tK(e,t,r,n,o){e[ci]=Array.isArray(e[ci])?e[ci]:[],e[ci].indexOf(t)===-1&&n.push(At(o.messages[ci],e.fullField,e[ci].join(", ")))}function nK(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(At(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var i=new RegExp(e.pattern);i.test(t)||n.push(At(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var W={required:pI,whitespace:Qq,type:Zq,range:eK,enum:tK,pattern:nK};function rK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t,"string")&&!e.required)return r();W.required(e,t,n,i,o,"string"),Ge(t,"string")||(W.type(e,t,n,i,o),W.range(e,t,n,i,o),W.pattern(e,t,n,i,o),e.whitespace===!0&&W.whitespace(e,t,n,i,o))}r(i)}function oK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),t!==void 0&&W.type(e,t,n,i,o)}r(i)}function iK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t===""&&(t=void 0),Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),t!==void 0&&(W.type(e,t,n,i,o),W.range(e,t,n,i,o))}r(i)}function uK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),t!==void 0&&W.type(e,t,n,i,o)}r(i)}function cK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),Ge(t)||W.type(e,t,n,i,o)}r(i)}function aK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),t!==void 0&&(W.type(e,t,n,i,o),W.range(e,t,n,i,o))}r(i)}function lK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),t!==void 0&&(W.type(e,t,n,i,o),W.range(e,t,n,i,o))}r(i)}function fK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(t==null&&!e.required)return r();W.required(e,t,n,i,o,"array"),t!=null&&(W.type(e,t,n,i,o),W.range(e,t,n,i,o))}r(i)}function sK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),t!==void 0&&W.type(e,t,n,i,o)}r(i)}var _K="enum";function dK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o),t!==void 0&&W[_K](e,t,n,i,o)}r(i)}function yK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t,"string")&&!e.required)return r();W.required(e,t,n,i,o),Ge(t,"string")||W.pattern(e,t,n,i,o)}r(i)}function pK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t,"date")&&!e.required)return r();if(W.required(e,t,n,i,o),!Ge(t,"date")){var c;t instanceof Date?c=t:c=new Date(t),W.type(e,c,n,i,o),c&&W.range(e,c.getTime(),n,i,o)}}r(i)}function vK(e,t,r,n,o){var i=[],u=Array.isArray(t)?"array":typeof t;W.required(e,t,n,i,o,u),r(i)}function Sg(e,t,r,n,o){var i=e.type,u=[],c=e.required||!e.required&&n.hasOwnProperty(e.field);if(c){if(Ge(t,i)&&!e.required)return r();W.required(e,t,n,u,o,i),Ge(t,i)||W.type(e,t,n,u,o)}r(u)}function hK(e,t,r,n,o){var i=[],u=e.required||!e.required&&n.hasOwnProperty(e.field);if(u){if(Ge(t)&&!e.required)return r();W.required(e,t,n,i,o)}r(i)}var Ku={string:rK,method:oK,number:iK,boolean:uK,regexp:cK,integer:aK,float:lK,array:fK,object:sK,enum:dK,pattern:yK,date:pK,url:Sg,hex:Sg,email:Sg,required:vK,any:hK};function Ng(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Ig=Ng();function Ir(e){this.rules=null,this._messages=Ig,this.define(e)}Ir.prototype={messages:function(t){return t&&(this._messages=yI(Ng(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var r,n;for(r in t)t.hasOwnProperty(r)&&(n=t[r],this.rules[r]=Array.isArray(n)?n:[n])},validate:function(t,r,n){var o=this;r===void 0&&(r={}),n===void 0&&(n=function(){});var i=t,u=r,c=n;if(typeof u=="function"&&(c=u,u={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function l(h){var E,v=[],R={};function b(O){if(Array.isArray(O)){var S;v=(S=v).concat.apply(S,O)}else v.push(O)}for(E=0;E<h.length;E++)b(h[E]);v.length?R=$g(v):(v=null,R=null),c(v,R)}if(u.messages){var f=this.messages();f===Ig&&(f=Ng()),yI(f,u.messages),u.messages=f}else u.messages=this.messages();var s,_,d={},p=u.keys||Object.keys(this.rules);p.forEach(function(h){s=o.rules[h],_=i[h],s.forEach(function(E){var v=E;typeof v.transform=="function"&&(i===t&&(i=In({},i)),_=i[h]=v.transform(_)),typeof v=="function"?v={validator:v}:v=In({},v),v.validator=o.getValidationMethod(v),v.field=h,v.fullField=v.fullField||h,v.type=o.getType(v),v.validator&&(d[h]=d[h]||[],d[h].push({rule:v,value:_,source:i,field:h}))})});var m={};return Jq(d,u,function(h,E){var v=h.rule,R=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");R=R&&(v.required||!v.required&&h.value),v.field=h.field;function b(T,$){return In(In({},$),{},{fullField:v.fullField+"."+T})}function O(T){T===void 0&&(T=[]);var $=T;if(Array.isArray($)||($=[$]),!u.suppressWarning&&$.length&&Ir.warning("async-validator:",$),$.length&&v.message!==void 0&&($=[].concat(v.message)),$=$.map(dI(v)),u.first&&$.length)return m[v.field]=1,E($);if(!R)E($);else{if(v.required&&!h.value)return v.message!==void 0?$=[].concat(v.message).map(dI(v)):u.error&&($=[u.error(v,At(u.messages.required,v.field))]),E($);var I={};if(v.defaultField)for(var A in h.value)h.value.hasOwnProperty(A)&&(I[A]=v.defaultField);I=In(In({},I),h.rule.fields);for(var x in I)if(I.hasOwnProperty(x)){var Z=Array.isArray(I[x])?I[x]:[I[x]];I[x]=Z.map(b.bind(null,x))}var H=new Ir(I);H.messages(u.messages),h.rule.options&&(h.rule.options.messages=u.messages,h.rule.options.error=u.error),H.validate(h.value,h.rule.options||u,function(he){var st=[];$&&$.length&&st.push.apply(st,$),he&&he.length&&st.push.apply(st,he),E(st.length?st:null)})}}var S;v.asyncValidator?S=v.asyncValidator(v,h.value,O,h.source,u):v.validator&&(S=v.validator(v,h.value,O,h.source,u),S===!0?O():S===!1?O(v.message||v.field+" fails"):S instanceof Array?O(S):S instanceof Error&&O(S.message)),S&&S.then&&S.then(function(){return O()},function(T){return O(T)})},function(h){l(h)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!Ku.hasOwnProperty(t.type))throw new Error(At("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var r=Object.keys(t),n=r.indexOf("message");return n!==-1&&r.splice(n,1),r.length===1&&r[0]==="required"?Ku.required:Ku[this.getType(t)]||!1}},Ir.register=function(t,r){if(typeof r!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ku[t]=r},Ir.warning=fI,Ir.messages=Ig,Ir.validators=Ku;var gK={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function vI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Ir(e);return r.messages(Object.assign(gK,t)),r}var hI=new SN;function Bg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function mK(e){if(Array.isArray(e))return e}function bK(e){if(Array.isArray(e))return Bg(e)}function gI(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(f){r(f);return}c.done?t(l):Promise.resolve(l).then(n,o)}function mI(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){gI(i,n,o,u,c,"next",l)}function c(l){gI(i,n,o,u,c,"throw",l)}u(void 0)})}}function OK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wK(e,t,r){return t&&bI(e.prototype,t),r&&bI(e,r),e}function ne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function OI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function wI(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function EK(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function PK(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function EI(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){ne(e,o,r[o])})}return e}function TK(e){return mK(e)||wI(e)||PI(e)||EK()}function Ag(e){return bK(e)||wI(e)||PI(e)||PK()}function $K(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PI(e,t){if(!!e){if(typeof e=="string")return Bg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Bg(e,t)}}function TI(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(f){return function(s){return l([f,s])}}function l(f){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=f[0]&2?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[f[0]&2,o.value]),f[0]){case 0:case 1:o=f;break;case 4:return u.label++,{value:f[1],done:!1};case 5:u.label++,n=f[1],f=[0];continue;case 7:f=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(f[0]===6||f[0]===2)){u=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){u.label=f[1];break}if(f[0]===6&&u.label<o[1]){u.label=o[1],o=f;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(f);break}o[2]&&u.ops.pop(),u.trys.pop();continue}f=t.call(e,u)}catch(s){f=[6,s],n=0}finally{r=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var re=function(){function t(r){var n=this;OK(this,t),ne(this,"id",void 0),ne(this,"name",void 0),ne(this,"icon",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"setting",[]),ne(this,"fieldType",void 0),ne(this,"eventKeys",[]),ne(this,"customEvents",[]),ne(this,"parent",null),ne(this,"slots",void 0),ne(this,"slotPosition",void 0),ne(this,"updateSetting",RI),ne(this,"removeSetting",$I),this._callControlHooks("preInstance",r);var o=OI(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,l=o.controlFieldType,f=o.controlEventKeys,s=o.controlCustomEvents,_=o.name,d=o.setting,p=o.slots,m=o.slotPosition;i&&u&&c||th("The ".concat(_," controlName,controlIcon,controlType is not define"));var h;this.id=(h=r==null?void 0:r.id)!==null&&h!==void 0?h:Gt(10),this.name=i,this.icon=u;var E;this.type=(E=r==null?void 0:r.type)!==null&&E!==void 0?E:c,this.props=new $e(r==null?void 0:r.props,(OI(this,t)?this.constructor:void 0).controlName);var v;this.controlType=(v=r==null?void 0:r.controlType)!==null&&v!==void 0?v:"base",this.setting=zt(d);var R;this.fieldType=(R=r==null?void 0:r.fieldType)!==null&&R!==void 0?R:l,this.eventKeys=zt(f),this.customEvents=zt(s),this.slots=zt(p),this.slotPosition=zt(m),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return wK(t,[{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,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u,c=TK(o),l=c[0],f=c.slice(1);return(u=hI).emit.apply(u,[l,this].concat(Ag(f)))}},{key:"preUpdate",value:function(n,o){this._callControlHooks("preUpdateProps",n,o)}},{key:"postUpdate",value:function(n,o){this._callControlHooks("postUpdateProps",n,o)}},{key:"updateProps",value:function(n,o){this.preUpdate(n,o),mN(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return mI(function(){var o,i,u;return TI(this,function(c){switch(c.label){case 0:return o=EI({},n.rules),[4,n._callControlHooks("preValidate",o)];case 1:return i=c.sent(),u=i[i.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(n,o){var i=this;return mI(function(){var u,c,l,f;return TI(this,function(s){switch(s.label){case 0:return[4,i.preValidate()];case 1:u=s.sent(),c=u!==void 0?u:EI({},i.rules),Array.isArray(o)&&o.forEach(function(_){c.hasOwnProperty(_)&&delete c[_]}),l=vI(c,n),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,l.validate(i.props)];case 3:return s.sent(),[2,!0];case 4:throw f=s.sent(),f.control||(f.control=i),f;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=this.fieldType,i=this.id,u=this.type,c=this.props,l=c.dataBind,f=c.datasourceBind,s=c.optionConfig,_=c.caption,d=c.required,p=c.maxLength,m=c.options,h=c.encrypted,E=c.encryptedMode;if(!(!o&&!l&&!f)){var v={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(l&&(v.dataBind=l),s){case"datasource":case void 0:f&&(v.datasourceBind=f);break;case"custom":v.props.options=m;break}return d!==void 0&&(v.required=d),p!==void 0&&(v.maxLength=p),h!==void 0&&(v.encrypted=h),E!==void 0&&(v.encryptedMode=E),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:zt(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(n,o){if(n==="setting"){if(o.add){var i;(i=this.setting).push.apply(i,Ag(o.add))}o.remove&&this.removeSettingItem(o.remove),o.update}}}]),t}();ne(re,"mode","Designer"),ne(re,"slots",void 0),ne(re,"slotPosition",void 0),ne(re,"controlName","\u63A7\u4EF6"),ne(re,"controlIcon","icon"),ne(re,"controlType","control"),ne(re,"controlFieldType",void 0),ne(re,"controlEventKeys",[]),ne(re,"controlCustomEvents",[]),ne(re,"setting",[]),ne(re,"__is_control__",!0),ne(re,"removeSettingItem",$I),ne(re,"updateSettingItem",RI);function $I(e){var t=this,r=Array.isArray(e)?e:[e];r.forEach(function(n){var o,i=typeof n!="string",u=(o=t.setting)===null||o===void 0?void 0:o.findIndex(function(f){return f.key===(i?n.key:n)});if(u!==-1){var c,l;i?t.setting[u].showItems=(c=t.setting[u].showItems)===null||c===void 0?void 0:c.filter(function(f){return!n.hideItems.includes(f)}):t.setting.splice(u,1),i&&!(!((l=t.setting[u].showItems)===null||l===void 0)&&l.length)&&t.setting.splice(u,1)}})}function RI(e,t){var r=this,n=typeof e=="string"?[e]:e;n.forEach(function(o){var i=r.setting.find(function(f){return f.key===o});if(i){if(typeof t=="boolean")i.visible=t;else if((typeof t=="undefined"?"undefined":$K(t))==="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var l;(l=i.showItems).push.apply(l,Ag(t.showItems))}}}})}function RK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function SK(e,t,r){return t&&SI(e.prototype,t),r&&SI(e,r),e}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function NK(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var Re=function(){function t(r){RK(this,t),Mt(this,"id",void 0),Mt(this,"type",void 0),Mt(this,"controlType",void 0),Mt(this,"props",void 0),Mt(this,"fieldType",void 0),Mt(this,"customEvents",[]),Mt(this,"pageStatus",void 0),Mt(this,"parent",null);var n=NK(this,t)?this.constructor:void 0,o=n.controlType,i=n.controlFieldType,u=n.name,c=n.controlCustomEvents;o||th("The ".concat(u," controlType is not define"));var l;this.id=(l=r==null?void 0:r.id)!==null&&l!==void 0?l:Gt(10);var f;this.type=(f=r==null?void 0:r.type)!==null&&f!==void 0?f:o,this.props=new $e(r==null?void 0:r.props),this.customEvents=c;var s;this.controlType=(s=r==null?void 0:r.controlType)!==null&&s!==void 0?s:"base";var _;this.fieldType=(_=r==null?void 0:r.fieldType)!==null&&_!==void 0?_:i;var d;this.pageStatus=(d=r==null?void 0:r.pageStatus)!==null&&d!==void 0?d:a.PAGE_STATUS.UNKNOWN}return SK(t,[{key:"rules",get:function(){var n=this.props.constructor.RuntimeRules;if(n){var o=new n(this.props);return Array.from(o)}return[]}}]),t}();Mt(Re,"mode","Runtime"),Mt(Re,"controlType","control"),Mt(Re,"controlFieldType",void 0),Mt(Re,"__is_control__",!0),Mt(Re,"controlCustomEvents",[]);function sl(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:y.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:y.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:y.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(y.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=EN(i);i.length!==u.length?o(y.getMessage("optionIdIsRepeat")):o()},message:y.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:y.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:y.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(y.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:y.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:y.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:y.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:y.getMessage("isNotBoolean")}}}}]}}])}function Xu(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:y.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:y.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:y.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:y.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:y.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:y.getMessage("isNotString")},key:{type:"string",required:!0,message:y.getMessage("isNotString")},value:[{type:"array",message:y.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(y.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:y.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:y.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:y.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:y.getMessage("isNotBoolean")}}}}]}}]}function NI(e){return(e==null?void 0:e.dataCode)!==void 0&&(e==null?void 0:e.fieldCode)!==void 0}function me(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dl(e){return dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dl(e)}function yl(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mg(e,t)}function IK(e,t){return t&&(BK(t)==="object"||typeof t=="function")?t:me(e)}function Mg(e,t){return Mg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mg(e,t)}function BK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function AK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pl(e){var t=AK();return function(){var n=dl(e),o;if(t){var i=dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IK(this,o)}}var Ye=function(e){yl(r,e);var t=pl(r);function r(n){_l(this,r);var o;o=t.call(this,n),be(me(o),"dataBind",{}),be(me(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),be(me(o),"isHideCaption",{type:"boolean"}),be(me(o),"labelPosition",{type:"enum",enum:["top","left"]}),be(me(o),"defaultState",{type:"enum",enum:["default","readonly"]}),be(me(o),"required",{type:"boolean"}),be(me(o),"captionTip",{type:"string",required:!1,message:y.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterFieldCode")}};if(NI(n.dataBind))o.dataBind={type:"object",required:!0,fields:zt(i),message:y.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:y.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:zt(i),message:y.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Fe),_e=function(e){yl(r,e);var t=pl(r);function r(n){_l(this,r);var o;o=t.call(this,n);var i=n.isHide?!1:n.required;return i&&o.push({type:"string",required:i,message:n.requiredMessage!==""?n.requiredMessage:y.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(Nr),K=function(e){yl(r,e);var t=pl(r);function r(n){_l(this,r);var o;o=t.call(this,n),be(me(o),"caption",void 0),be(me(o),"isHideCaption",void 0),be(me(o),"isShowCaptionTip",void 0),be(me(o),"captionTip",void 0),be(me(o),"labelPosition",void 0),be(me(o),"dataBind",void 0),be(me(o),"defaultValue",void 0),be(me(o),"placeholder",void 0),be(me(o),"defaultState",void 0),be(me(o),"required",void 0),be(me(o),"requiredMessage",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;o.defaultState=(f=n==null?void 0:n.defaultState)!==null&&f!==void 0?f:"default";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var d;o.required=(d=n==null?void 0:n.required)!==null&&d!==void 0?d:!1;var p;o.requiredMessage=(p=n==null?void 0:n.requiredMessage)!==null&&p!==void 0?p:"",o.dataBind=new Kt(n==null?void 0:n.dataBind);var m;return o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:"",o}return r}($e);be(K,"Rules",Ye),be(K,"RuntimeRules",_e);var so=function(e){yl(r,e);var t=pl(r);function r(n){_l(this,r);var o;return o=t.call(this,n),be(me(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:y.getMessage("PleaseSelectTheCorrectOptionSettings")}),be(me(o),"options",[{type:"array",message:y.getMessage("isNotArray")}]),be(me(o),"datasourceBind",[{type:"object",message:y.getMessage("isNotObject")}]),sl.call(me(o),n),o}return r}(Ye);function Lg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hl(e){return hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hl(e)}function LK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dg(e,t)}function DK(e,t){return t&&(FK(t)==="object"||typeof t=="function")?t:Lg(e)}function Dg(e,t){return Dg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dg(e,t)}function FK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kK(e){var t=CK();return function(){var n=hl(e),o;if(t){var i=hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DK(this,o)}}var J=function(e){LK(r,e);var t=kK(r);function r(n){MK(this,r);var o;return o=t.call(this,n),vl(Lg(o),"controlType","form"),vl(Lg(o),"props",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(re);vl(J,"controlEventKeys",["on_change","on_focus","on_blur"]),vl(J,"controlCustomAttributes",void 0);function gl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ml(e){return ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ml(e)}function VK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cg(e,t)}function xK(e,t){return t&&(UK(t)==="object"||typeof t=="function")?t:gl(e)}function Cg(e,t){return Cg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cg(e,t)}function UK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HK(e){var t=GK();return function(){var n=ml(e),o;if(t){var i=ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xK(this,o)}}var Q=function(e){VK(r,e);var t=HK(r);function r(n){jK(this,r);var o;return o=t.call(this,n),Fg(gl(o),"controlType","form"),Fg(gl(o),"props",void 0),Fg(gl(o),"value",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(Re);function YK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bl(e)}function WK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kg(e,t)}function qK(e,t){return t&&(KK(t)==="object"||typeof t=="function")?t:YK(e)}function kg(e,t){return kg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kg(e,t)}function KK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JK(e){var t=XK();return function(){var n=bl(e),o;if(t){var i=bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qK(this,o)}}var pe=function(e){WK(r,e);var t=JK(r);function r(n){return zK(this,r),t.call(this,n)}return r}($e);function jg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function QK(e){if(Array.isArray(e))return jg(e)}function _o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function II(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(f){r(f);return}c.done?t(l):Promise.resolve(l).then(n,o)}function ZK(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){II(i,n,o,u,c,"next",l)}function c(l){II(i,n,o,u,c,"throw",l)}u(void 0)})}}function eX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tX(e,t,r){return t&&BI(e.prototype,t),r&&BI(e,r),e}function Br(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ai(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ai=Reflect.get:ai=function(o,i,u){var c=fX(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},ai(e,t,r||e)}function Ar(e){return Ar=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ar(e)}function nX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vg(e,t)}function rX(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function oX(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function iX(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function uX(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Br(e,o,r[o])})}return e}function cX(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function aX(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cX(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function lX(e,t){return t&&(sX(t)==="object"||typeof t=="function")?t:_o(e)}function Vg(e,t){return Vg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vg(e,t)}function fX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ar(e),e!==null););return e}function AI(e){return QK(e)||oX(e)||_X(e)||iX()}function sX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _X(e,t){if(!!e){if(typeof e=="string")return jg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return jg(e,t)}}function dX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yX(e){var t=dX();return function(){var n=Ar(e),o;if(t){var i=Ar(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lX(this,o)}}function pX(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(f){return function(s){return l([f,s])}}function l(f){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=f[0]&2?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[f[0]&2,o.value]),f[0]){case 0:case 1:o=f;break;case 4:return u.label++,{value:f[1],done:!1};case 5:u.label++,n=f[1],f=[0];continue;case 7:f=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(f[0]===6||f[0]===2)){u=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){u.label=f[1];break}if(f[0]===6&&u.label<o[1]){u.label=o[1],o=f;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(f);break}o[2]&&u.ops.pop(),u.trys.pop();continue}f=t.call(e,u)}catch(s){f=[6,s],n=0}finally{r=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var vX=1e4,Oe=function(t){nX(n,t);var r=yX(n);function n(o){eX(this,n);var i;i=r.call(this,o),Br(_o(i),"controlType","layout"),Br(_o(i),"children",void 0),Br(_o(i),"excludes",void 0),Br(_o(i),"childrenMaxLength",void 0),Br(_o(i),"props",void 0);var u=rX(this,n)?this.constructor:void 0,c=u.excludes,l=u.childrenMaxLength;return i.props=new pe(o==null?void 0:o.props),_n(_o(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=zt(c),i.childrenMaxLength=l,i}return tX(n,[{key:"judgeExcludesChildren",value:function(i){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i)}},{key:"judgeJoinChildren",value:function(i){var u=this.judgeExcludesChildren(i);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(i,u){var c=this,l=this,f=function(){return ai(Ar(n.prototype),"validate",c)};return ZK(function(){return pX(this,function(s){switch(s.label){case 0:return[4,f().call(l,i,u)];case 1:return s.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=ai(Ar(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(l,f){var s=f.toDataBindModel(i);if(Array.isArray(s)){var _=s.filter(function(d){return!!d});return AI(l).concat(AI(_))}return s&&l.push(s),l},c)}},{key:"toSchema",value:function(){var i=ai(Ar(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var l=c.toSchema();return l});return aX(uX({},i),{children:u})}}]),n}(re);Br(Oe,"excludes",!1),Br(Oe,"childrenMaxLength",vX);function Ju(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ol(e){return Ol=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ol(e)}function gX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ug(e,t)}function mX(e,t){return t&&(bX(t)==="object"||typeof t=="function")?t:Ju(e)}function Ug(e,t){return Ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ug(e,t)}function bX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wX(e){var t=OX();return function(){var n=Ol(e),o;if(t){var i=Ol(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mX(this,o)}}var Se=function(e){gX(r,e);var t=wX(r);function r(n){hX(this,r);var o;return o=t.call(this,n),xg(Ju(o),"controlType","layout"),xg(Ju(o),"children",void 0),xg(Ju(o),"props",void 0),o.props=new pe(n==null?void 0:n.props),_n(Ju(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Re);function Wn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function li(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wl(e){return wl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wl(e)}function PX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gg(e,t)}function TX(e,t){return t&&($X(t)==="object"||typeof t=="function")?t:Wn(e)}function Gg(e,t){return Gg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gg(e,t)}function $X(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SX(e){var t=RX();return function(){var n=wl(e),o;if(t){var i=wl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TX(this,o)}}var Qu=function(e){PX(r,e);var t=SX(r);function r(n,o,i){EX(this,r);var u;u=t.call(this,o),li(Wn(u),"headers",void 0),li(Wn(u),"footers",void 0),li(Wn(u),"pageIndex",void 0),li(Wn(u),"pageSize",void 0),li(Wn(u),"pageSizeOptions",void 0),li(Wn(u),"totalCount",void 0),_n(Wn(u),"headers",o==null?void 0:o.headers,n,i),_n(Wn(u),"footers",o==null?void 0:o.footers,n);var c;u.pageIndex=(c=o==null?void 0:o.pageIndex)!==null&&c!==void 0?c:1;var l;u.pageSize=(l=o==null?void 0:o.pageSize)!==null&&l!==void 0?l:20;var f;u.pageSizeOptions=(f=o==null?void 0:o.pageSizeOptions)!==null&&f!==void 0?f:[20];var s;return u.totalCount=(s=o==null?void 0:o.totalCount)!==null&&s!==void 0?s:0,u}return r}($e);function Hg(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function NX(e){if(Array.isArray(e))return Hg(e)}function El(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MI(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(f){r(f);return}c.done?t(l):Promise.resolve(l).then(n,o)}function IX(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){MI(i,n,o,u,c,"next",l)}function c(l){MI(i,n,o,u,c,"throw",l)}u(void 0)})}}function BX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function AX(e,t,r){return t&&LI(e.prototype,t),r&&LI(e,r),e}function Pl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fi(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?fi=Reflect.get:fi=function(o,i,u){var c=kX(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},fi(e,t,r||e)}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mr(e)}function MX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Yg(e,t)}function LX(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function DX(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function DI(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Pl(e,o,r[o])})}return e}function FX(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function FI(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):FX(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function CX(e,t){return t&&(jX(t)==="object"||typeof t=="function")?t:El(e)}function Yg(e,t){return Yg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yg(e,t)}function kX(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mr(e),e!==null););return e}function CI(e){return NX(e)||LX(e)||VX(e)||DX()}function jX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VX(e,t){if(!!e){if(typeof e=="string")return Hg(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Hg(e,t)}}function xX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UX(e){var t=xX();return function(){var n=Mr(e),o;if(t){var i=Mr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CX(this,o)}}function GX(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(f){return function(s){return l([f,s])}}function l(f){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=f[0]&2?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[f[0]&2,o.value]),f[0]){case 0:case 1:o=f;break;case 4:return u.label++,{value:f[1],done:!1};case 5:u.label++,n=f[1],f=[0];continue;case 7:f=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(f[0]===6||f[0]===2)){u=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){u.label=f[1];break}if(f[0]===6&&u.label<o[1]){u.label=o[1],o=f;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(f);break}o[2]&&u.ops.pop(),u.trys.pop();continue}f=t.call(e,u)}catch(s){f=[6,s],n=0}finally{r=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var Tl=function(e){MX(r,e);var t=UX(r);function r(n){BX(this,r);var o;return o=t.call(this,n),Pl(El(o),"controlType","list"),Pl(El(o),"props",void 0),o.props=new Qu(El(o),n==null?void 0:n.props,"Designer"),o}return AX(r,[{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return fi(Mr(r.prototype),"validate",u)};return IX(function(){return GX(this,function(f){switch(f.label){case 0:return[4,l().call(c,o)];case 1:return f.sent(),[4,Promise.all(c.props.headers.map(function(s){return s.validate(o,i)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var o=fi(Mr(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,l){var f=l.toDataBindModel(u);if(Array.isArray(f)){var s=f.filter(function(_){return!!_});return CI(c).concat(CI(s))}return f&&c.push(f),c},i)}},{key:"toSchema",value:function(){var o=fi(Mr(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(u){return u.toSchema()});return FI(DI({},o),{props:FI(DI({},this.props),{headers:i})})}}]),r}(re);Pl(Tl,"controlFieldType",a.FieldTypes.LIST);function si(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function YX(e,t,r){return t&&kI(e.prototype,t),r&&kI(e,r),e}function zg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $l(e){return $l=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$l(e)}function zX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wg(e,t)}function WX(e,t){return t&&(qX(t)==="object"||typeof t=="function")?t:si(e)}function Wg(e,t){return Wg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wg(e,t)}function qX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XX(e){var t=KX();return function(){var n=$l(e),o;if(t){var i=$l(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WX(this,o)}}var qg=function(e){zX(r,e);var t=XX(r);function r(n){HX(this,r);var o;return o=t.call(this,n),zg(si(o),"controlType","list"),zg(si(o),"children",void 0),zg(si(o),"props",void 0),o.props=new Qu(si(o),n==null?void 0:n.props,"Runtime"),_n(si(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return YX(r,[{key:"length",get:function(){return this.children.length}}]),r}(Re);function ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rl(e){return Rl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rl(e)}function Xg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jg(e,t)}function JX(e,t){return t&&(QX(t)==="object"||typeof t=="function")?t:ze(e)}function Jg(e,t){return Jg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jg(e,t)}function QX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qg(e){var t=ZX();return function(){var n=Rl(e),o;if(t){var i=Rl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JX(this,o)}}var dn=function(e){Xg(r,e);var t=Qg(r);function r(n){Kg(this,r);var o;return o=t.call(this,n),Je(ze(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),Je(ze(o),"width",{type:"number",required:!1,message:y.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(Fe),Ne=function(e){Xg(r,e);var t=Qg(r);function r(n){Kg(this,r);var o;o=t.call(this,n),Je(ze(o),"widthType",void 0),Je(ze(o),"width",void 0),Je(ze(o),"caption",void 0),Je(ze(o),"dataBind",void 0),Je(ze(o),"autoWidth",void 0),Je(ze(o),"fixed",void 0),Je(ze(o),"sort",void 0),Je(ze(o),"align",void 0),Je(ze(o),"colSpan",void 0),Je(ze(o),"autoHeight",void 0),Je(ze(o),"children",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:150,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"none",o.autoWidth=new el(n==null?void 0:n.autoWidth),o.dataBind=new Kt(n==null?void 0:n.dataBind);var l;o.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,o.align=n==null?void 0:n.align,o.colSpan=n==null?void 0:n.colSpan;var f;return o.autoHeight=(f=n==null?void 0:n.autoHeight)!==null&&f!==void 0?f:!1,o}return r}($e);Je(Ne,"Rules",dn);var Zg=function(e){Xg(r,e);var t=Qg(r);function r(n){Kg(this,r);var o;return o=t.call(this,n),Je(ze(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:y.getMessage("PleaseSelectTheCorrectOptionSettings")}),Je(ze(o),"options",[{type:"array",message:y.getMessage("isNotArray")}]),Je(ze(o),"datasourceBind",[{type:"object",message:y.getMessage("isNotObject")}]),sl.call(ze(o),n),o}return r}(dn);function Zu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tJ(e,t,r){return t&&jI(e.prototype,t),r&&jI(e,r),e}function Sl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Nl=Reflect.get:Nl=function(o,i,u){var c=cJ(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Nl(e,t,r||e)}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(e)}function nJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&em(e,t)}function rJ(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Sl(e,o,r[o])})}return e}function oJ(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function iJ(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):oJ(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function uJ(e,t){return t&&(aJ(t)==="object"||typeof t=="function")?t:Zu(e)}function em(e,t){return em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},em(e,t)}function cJ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_i(e),e!==null););return e}function aJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fJ(e){var t=lJ();return function(){var n=_i(e),o;if(t){var i=_i(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uJ(this,o)}}var We=function(e){nJ(r,e);var t=fJ(r);function r(n){eJ(this,r);var o;return o=t.call(this,n),Sl(Zu(o),"controlType","column"),Sl(Zu(o),"props",void 0),Sl(Zu(o),"children",void 0),o.props=new Ne(n==null?void 0:n.props),_n(Zu(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return tJ(r,[{key:"toSchema",value:function(){var o=Nl(_i(r.prototype),"toSchema",this).call(this);return iJ(rJ({},o),{children:this.children?this.children.map(function(i){return i.toSchema()}):[]})}}]),r}(re);function ec(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Il(e){return Il=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Il(e)}function _J(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nm(e,t)}function dJ(e,t){return t&&(yJ(t)==="object"||typeof t=="function")?t:ec(e)}function nm(e,t){return nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nm(e,t)}function yJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vJ(e){var t=pJ();return function(){var n=Il(e),o;if(t){var i=Il(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dJ(this,o)}}var qe=function(e){_J(r,e);var t=vJ(r);function r(n){sJ(this,r);var o;return o=t.call(this,n),tm(ec(o),"controlType","column"),tm(ec(o),"props",void 0),tm(ec(o),"children",void 0),o.props=new Ne(n==null?void 0:n.props),_n(ec(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(Re);function VI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gJ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bl(e){return Bl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bl(e)}function mJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rm(e,t)}function bJ(e,t){return t&&(OJ(t)==="object"||typeof t=="function")?t:VI(e)}function rm(e,t){return rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rm(e,t)}function OJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EJ(e){var t=wJ();return function(){var n=Bl(e),o;if(t){var i=Bl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bJ(this,o)}}var Al=function(e){mJ(r,e);var t=EJ(r);function r(n){hJ(this,r);var o;return o=t.call(this,n),gJ(VI(o),"dataBind",void 0),o.dataBind=new Kt(n==null?void 0:n.dataBind),o}return r}(pe);function om(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ml(e){return Ml=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ml(e)}function TJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&im(e,t)}function $J(e,t){return t&&(RJ(t)==="object"||typeof t=="function")?t:om(e)}function im(e,t){return im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},im(e,t)}function RJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NJ(e){var t=SJ();return function(){var n=Ml(e),o;if(t){var i=Ml(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $J(this,o)}}var UI=function(e){TJ(r,e);var t=NJ(r);function r(n){PJ(this,r);var o;return o=t.call(this,n),xI(om(o),"controlType","search"),xI(om(o),"props",void 0),o.props=new Al(n==null?void 0:n.props),o}return r}(Oe);function um(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ll(e){return Ll=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ll(e)}function BJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cm(e,t)}function AJ(e,t){return t&&(MJ(t)==="object"||typeof t=="function")?t:um(e)}function cm(e,t){return cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cm(e,t)}function MJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DJ(e){var t=LJ();return function(){var n=Ll(e),o;if(t){var i=Ll(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AJ(this,o)}}var HI=function(e){BJ(r,e);var t=DJ(r);function r(n){IJ(this,r);var o;return o=t.call(this,n),GI(um(o),"controlType","search"),GI(um(o),"props",void 0),o.props=new Al(n==null?void 0:n.props),o}return r}(Se);function FJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dl(e){return Dl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dl(e)}function kJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&am(e,t)}function jJ(e,t){return t&&(VJ(t)==="object"||typeof t=="function")?t:FJ(e)}function am(e,t){return am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},am(e,t)}function VJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UJ(e){var t=xJ();return function(){var n=Dl(e),o;if(t){var i=Dl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jJ(this,o)}}var Fl=function(e){kJ(r,e);var t=UJ(r);function r(n){return CJ(this,r),t.call(this,n)}return r}(pe);function lm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cl(e){return Cl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cl(e)}function HJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fm(e,t)}function YJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:lm(e)}function fm(e,t){return fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fm(e,t)}function zJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qJ(e){var t=WJ();return function(){var n=Cl(e),o;if(t){var i=Cl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YJ(this,o)}}var zI=function(e){HJ(r,e);var t=qJ(r);function r(n){GJ(this,r);var o;return o=t.call(this,n),YI(lm(o),"controlType","wrap"),YI(lm(o),"props",void 0),o.props=new Fl(n==null?void 0:n.props),o}return r}(Oe);function sm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kl(e){return kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kl(e)}function XJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_m(e,t)}function JJ(e,t){return t&&(QJ(t)==="object"||typeof t=="function")?t:sm(e)}function _m(e,t){return _m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_m(e,t)}function QJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eQ(e){var t=ZJ();return function(){var n=kl(e),o;if(t){var i=kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JJ(this,o)}}var qI=function(e){XJ(r,e);var t=eQ(r);function r(n){KJ(this,r);var o;return o=t.call(this,n),WI(sm(o),"controlType","wrap"),WI(sm(o),"props",void 0),o.props=new Fl(n==null?void 0:n.props),o}return r}(Se);function qn(e){e.hasOwnProperty("linkOperationOption")&&e.hasOwnProperty("showLinkOperation")&&e.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:y.getMessage("pleaseEnterForm")}}}])}function yo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function di(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jl(e){return jl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jl(e)}function nQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dm(e,t)}function rQ(e,t){return t&&(oQ(t)==="object"||typeof t=="function")?t:yo(e)}function dm(e,t){return dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dm(e,t)}function oQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uQ(e){var t=iQ();return function(){var n=jl(e),o;if(t){var i=jl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rQ(this,o)}}var ym=function(e){nQ(r,e);var t=uQ(r);function r(n){tQ(this,r);var o;o=t.call(this,n),di(yo(o),"content",void 0),di(yo(o),"fontSize",void 0),di(yo(o),"color",void 0),di(yo(o),"icon",void 0),di(yo(o),"align",void 0),di(yo(o),"showState",void 0);var i;o.fontSize=(i=n==null?void 0:n.fontSize)!==null&&i!==void 0?i:"14px";var u;o.color=(u=n==null?void 0:n.color)!==null&&u!==void 0?u:"#646A73";var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:"page-hint";var l;o.showState=(l=n==null?void 0:n.showState)!==null&&l!==void 0?l:"text";var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:y.getMessage("text");var s;return o.align=(s=n==null?void 0:n.align)!==null&&s!==void 0?s:"",o}return r}($e);function KI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aQ(e,t,r){return t&&XI(e.prototype,t),r&&XI(e,r),e}function JI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vl(e){return Vl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vl(e)}function lQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pm(e,t)}function fQ(e,t){return t&&(sQ(t)==="object"||typeof t=="function")?t:KI(e)}function pm(e,t){return pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pm(e,t)}function sQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _Q(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function dQ(e){var t=_Q();return function(){var n=Vl(e),o;if(t){var i=Vl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return fQ(this,o)}}var QI=function(e){lQ(r,e);var t=dQ(r);function r(n){cQ(this,r);var o;return o=t.call(this,n),JI(KI(o),"props",void 0),o.props=new ym(n==null?void 0:n.props),o}return aQ(r,null,[{key:"controlName",get:function(){return y.getMessage("text")}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(re);JI(QI,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}]);function ZI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pQ(e,t,r){return t&&eB(e.prototype,t),r&&eB(e,r),e}function vQ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xl(e){return xl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xl(e)}function hQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vm(e,t)}function gQ(e,t){return t&&(mQ(t)==="object"||typeof t=="function")?t:ZI(e)}function vm(e,t){return vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vm(e,t)}function mQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OQ(e){var t=bQ();return function(){var n=xl(e),o;if(t){var i=xl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gQ(this,o)}}var wQ=function(e){hQ(r,e);var t=OQ(r);function r(n){yQ(this,r);var o;return o=t.call(this,n),vQ(ZI(o),"props",void 0),o.props=new ym(n==null?void 0:n.props),o}return pQ(r,null,[{key:"controlType",get:function(){return"text"}}]),r}(Re),tB={Designer:QI,Runtime:wQ,Property:ym};function Ul(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gl(e){return Gl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gl(e)}function PQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gm(e,t)}function TQ(e,t){return t&&($Q(t)==="object"||typeof t=="function")?t:Ul(e)}function gm(e,t){return gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gm(e,t)}function $Q(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function SQ(e){var t=RQ();return function(){var n=Gl(e),o;if(t){var i=Gl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TQ(this,o)}}var mm=function(e){PQ(r,e);var t=SQ(r);function r(n){EQ(this,r);var o;o=t.call(this,n),hm(Ul(o),"content",void 0),hm(Ul(o),"url",void 0),hm(Ul(o),"openMode",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5";var u;o.url=(u=n==null?void 0:n.url)!==null&&u!==void 0?u:"";var c;return o.openMode=(c=n==null?void 0:n.openMode)!==null&&c!==void 0?c:"new",o}return r}($e);function nB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IQ(e,t,r){return t&&rB(e.prototype,t),r&&rB(e,r),e}function bm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hl(e){return Hl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hl(e)}function BQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Om(e,t)}function AQ(e,t){return t&&(MQ(t)==="object"||typeof t=="function")?t:nB(e)}function Om(e,t){return Om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Om(e,t)}function MQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DQ(e){var t=LQ();return function(){var n=Hl(e),o;if(t){var i=Hl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AQ(this,o)}}var wm=function(e){BQ(r,e);var t=DQ(r);function r(n){NQ(this,r);var o;return o=t.call(this,n),bm(nB(o),"props",void 0),o.props=new mm(n==null?void 0:n.props),o}return IQ(r,null,[{key:"controlName",get:function(){return y.getMessage("link")}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(re);bm(wm,"controlEventKeys",["on_click"]),bm(wm,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function oB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CQ(e,t,r){return t&&iB(e.prototype,t),r&&iB(e,r),e}function kQ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yl(e){return Yl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yl(e)}function jQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Em(e,t)}function VQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:oB(e)}function Em(e,t){return Em=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Em(e,t)}function xQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GQ(e){var t=UQ();return function(){var n=Yl(e),o;if(t){var i=Yl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VQ(this,o)}}var HQ=function(e){jQ(r,e);var t=GQ(r);function r(n){FQ(this,r);var o;return o=t.call(this,n),kQ(oB(o),"props",void 0),o.props=new mm(n==null?void 0:n.props),o}return CQ(r,null,[{key:"controlType",get:function(){return"link"}}]),r}(Re),uB={Designer:wm,Runtime:HQ,Property:mm};function Bn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zl(e){return zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zl(e)}function zQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pm(e,t)}function WQ(e,t){return t&&(qQ(t)==="object"||typeof t=="function")?t:Bn(e)}function Pm(e,t){return Pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pm(e,t)}function qQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function XQ(e){var t=KQ();return function(){var n=zl(e),o;if(t){var i=zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WQ(this,o)}}var gt=function(e){zQ(r,e);var t=XQ(r);function r(n){YQ(this,r);var o;o=t.call(this,n),Kn(Bn(o),"content",void 0),Kn(Bn(o),"buttonType",void 0),Kn(Bn(o),"showType",void 0),Kn(Bn(o),"color",void 0),Kn(Bn(o),"icon",void 0),Kn(Bn(o),"defaultState",void 0),Kn(Bn(o),"command",void 0),Kn(Bn(o),"isLoading",void 0),Kn(Bn(o),"optObj",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE";var u;o.buttonType=(u=n==null?void 0:n.buttonType)!==null&&u!==void 0?u:"primary";var c;o.showType=(c=n==null?void 0:n.showType)!==null&&c!==void 0?c:"text";var l;o.color=(l=n==null?void 0:n.color)!==null&&l!==void 0?l:"primary";var f;o.icon=(f=n==null?void 0:n.icon)!==null&&f!==void 0?f:"iconfenlei2";var s;o.defaultState=(s=n==null?void 0:n.defaultState)!==null&&s!==void 0?s:"default";var _;o.command=(_=n==null?void 0:n.command)!==null&&_!==void 0?_:"custom";var d;o.isLoading=(d=n==null?void 0:n.isLoading)!==null&&d!==void 0?d:!1;var p;return o.optObj=new iI((p=n==null?void 0:n.optObj)!==null&&p!==void 0?p:{}),o}return r}($e);function cB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JQ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function QQ(e,t,r){return t&&aB(e.prototype,t),r&&aB(e,r),e}function Wl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ql(e){return ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ql(e)}function ZQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tm(e,t)}function eZ(e,t){return t&&(tZ(t)==="object"||typeof t=="function")?t:cB(e)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tm(e,t)}function tZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rZ(e){var t=nZ();return function(){var n=ql(e),o;if(t){var i=ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eZ(this,o)}}var ct=function(e){ZQ(r,e);var t=rZ(r);function r(n){JQ(this,r);var o;return o=t.call(this,n),Wl(cB(o),"props",void 0),o.props=new gt(n==null?void 0:n.props),o}return QQ(r,null,[{key:"controlName",get:function(){return y.getMessage("button")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(re);Wl(ct,"slots",["grid-table-toolbar-slot","action-bar-slot",Xv.DEFAULT]),Wl(ct,"controlEventKeys",["on_click"]),Wl(ct,"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:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function lB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iZ(e,t,r){return t&&fB(e.prototype,t),r&&fB(e,r),e}function uZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kl(e){return Kl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kl(e)}function cZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$m(e,t)}function aZ(e,t){return t&&(lZ(t)==="object"||typeof t=="function")?t:lB(e)}function $m(e,t){return $m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$m(e,t)}function lZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sZ(e){var t=fZ();return function(){var n=Kl(e),o;if(t){var i=Kl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aZ(this,o)}}var Lt=function(e){cZ(r,e);var t=sZ(r);function r(n){oZ(this,r);var o;return o=t.call(this,n),uZ(lB(o),"props",void 0),o.props=new gt(n==null?void 0:n.props),o}return iZ(r,null,[{key:"controlType",get:function(){return"button"}}]),r}(Re),sB={Designer:ct,Runtime:Lt,Property:gt};function Xt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a.TitleConfigEnum=void 0,function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"}(a.TitleConfigEnum||(a.TitleConfigEnum={})),a.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(a.DATE_CONFIG_TYPE||(a.DATE_CONFIG_TYPE={})),a.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(a.DATE_LIMIT_TYPE||(a.DATE_LIMIT_TYPE={}));var Xl=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Gt(8),value:["",""]};Xt(this,e),V(this,"dateConfigType",void 0),V(this,"dateLimitType",void 0),V(this,"id",void 0),V(this,"value",void 0),this.id=t.id,this.dateConfigType=t.dateConfigType,this.dateLimitType=t.dateLimitType,this.value=t.value};a.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(a.SCORE_TYPE||(a.SCORE_TYPE={}));var Jl=function e(t){Xt(this,e),V(this,"id",void 0),V(this,"text",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Gt();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};a.LINE_STYLE=void 0,function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"}(a.LINE_STYLE||(a.LINE_STYLE={}));var Rm=function e(t){Xt(this,e),V(this,"type",void 0),V(this,"person",void 0),V(this,"signatureType",void 0),V(this,"telephone",void 0),V(this,"company",void 0),V(this,"remark",void 0);var r;this.type=(r=t==null?void 0:t.type)!==null&&r!==void 0?r:"private";var n;this.person=new ui((n=t==null?void 0:t.person)!==null&&n!==void 0?n:{type:"form"});var o;this.signatureType=(o=t==null?void 0:t.signatureType)!==null&&o!==void 0?o:[];var i,u;this.telephone=(u=t==null?void 0:t.telephone)!==null&&u!==void 0?u:new ui((i=t==null?void 0:t.telephone)!==null&&i!==void 0?i:{type:"form"});var c,l;this.company=(l=t==null?void 0:t.company)!==null&&l!==void 0?l:new ui((c=t==null?void 0:t.company)!==null&&c!==void 0?c:{type:"form"});var f;this.remark=(f=t==null?void 0:t.remark)!==null&&f!==void 0?f:""},_B=function e(t){Xt(this,e);var r;V(this,"fileControl",void 0),V(this,"undersignedList",void 0),V(this,"statusControl",void 0),V(this,"completeControl",void 0),V(this,"completeTimeControl",void 0);var n;this.fileControl=(n=t==null?void 0:t.fileControl)!==null&&n!==void 0?n:"";var o;this.undersignedList=(o=t==null||(r=t.undersignedList)===null||r===void 0?void 0:r.map(function(l){return new Rm(l)}))!==null&&o!==void 0?o:[new Rm];var i;this.statusControl=(i=t==null?void 0:t.statusControl)!==null&&i!==void 0?i:"";var u;this.completeControl=(u=t==null?void 0:t.completeControl)!==null&&u!==void 0?u:"";var c;this.completeTimeControl=(c=t==null?void 0:t.completeTimeControl)!==null&&c!==void 0?c:""},tc=function e(t){Xt(this,e),V(this,"id",void 0),V(this,"appId",void 0),V(this,"dataCode",void 0),V(this,"svcCode",void 0),V(this,"name",void 0),V(this,"fieldList",void 0),V(this,"active",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Gt(8);var n;this.appId=(n=t==null?void 0:t.appId)!==null&&n!==void 0?n:"";var o;this.dataCode=(o=t==null?void 0:t.dataCode)!==null&&o!==void 0?o:"";var i;this.svcCode=(i=t==null?void 0:t.svcCode)!==null&&i!==void 0?i:"";var u;this.name=(u=t==null?void 0:t.name)!==null&&u!==void 0?u:"";var c;this.fieldList=(c=t==null?void 0:t.fieldList)!==null&&c!==void 0?c:[];var l;this.active=(l=t==null?void 0:t.active)!==null&&l!==void 0?l:!1},Sm=function e(t){Xt(this,e),V(this,"active",void 0),V(this,"text",void 0);var r;this.active=(r=t==null?void 0:t.active)!==null&&r!==void 0?r:!1;var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""},dB=function e(t){Xt(this,e),V(this,"types",void 0),V(this,"history",void 0),V(this,"collaborativeRecord",void 0),V(this,"logicToDelete",void 0),V(this,"watermark",void 0),V(this,"autoRename",void 0);var r;this.types=(r=t==null?void 0:t.types)!==null&&r!==void 0?r:["word","ppt","excel"];var n;this.history=(n=t==null?void 0:t.history)!==null&&n!==void 0?n:!1;var o;this.collaborativeRecord=(o=t==null?void 0:t.collaborativeRecord)!==null&&o!==void 0?o:!1;var i;this.logicToDelete=(i=t==null?void 0:t.logicToDelete)!==null&&i!==void 0?i:!0,this.watermark=new Sm(t==null?void 0:t.watermark),this.autoRename=new Sm(t==null?void 0:t.autoRename)},yB=function e(t){Xt(this,e),V(this,"dataCode",void 0),this.dataCode=t.dataCode},pB=function e(t){Xt(this,e);var r;V(this,"templateType",void 0),V(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new yB(i)}))!==null&&o!==void 0?o:[]},vB=function e(t){Xt(this,e);var r;V(this,"templateType",void 0),V(this,"templateList",void 0);var n;this.templateType=(n=t==null?void 0:t.templateType)!==null&&n!==void 0?n:"system";var o;this.templateList=(o=t==null||(r=t.templateList)===null||r===void 0?void 0:r.map(function(i){return new tc(i)}))!==null&&o!==void 0?o:[new tc({id:"default",name:y.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},hB=480;function nc(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var gB=function e(t){Xt(this,e),V(this,"fileId",void 0),V(this,"fileName",void 0),V(this,"ruleName",void 0),V(this,"isDefault",void 0),V(this,"rules",void 0);var r;this.fileId=(r=t==null?void 0:t.fileId)!==null&&r!==void 0?r:"";var n;this.fileName=(n=t==null?void 0:t.fileName)!==null&&n!==void 0?n:"";var o;this.ruleName=(o=t==null?void 0:t.ruleName)!==null&&o!==void 0?o:"";var i;this.isDefault=(i=t.isDefault)!==null&&i!==void 0?i:!1;var u;this.rules=(u=t.rules)!==null&&u!==void 0?u:[]},mB=function e(t){Xt(this,e),V(this,"direction",void 0),V(this,"justifyContent",void 0),V(this,"alignItems",void 0);var r;this.direction=(r=t==null?void 0:t.direction)!==null&&r!==void 0?r:"row";var n;this.justifyContent=(n=t==null?void 0:t.justifyContent)!==null&&n!==void 0?n:"flex-start";var o;this.alignItems=(o=t==null?void 0:t.alignItems)!==null&&o!==void 0?o:"flex-start"};a.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(a.EncryptTypeEnum||(a.EncryptTypeEnum={})),a.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(a.OrganizeType||(a.OrganizeType={})),a.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(a.DepartmentType||(a.DepartmentType={})),a.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(a.AssignType||(a.AssignType={})),a.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(a.InternalType||(a.InternalType={}));function Nm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function dZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Im(e,t)}function yZ(e,t){return t&&(pZ(t)==="object"||typeof t=="function")?t:Nm(e)}function Im(e,t){return Im=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Im(e,t)}function pZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hZ(e){var t=vZ();return function(){var n=Ql(e),o;if(t){var i=Ql(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yZ(this,o)}}var Bm=function(e){dZ(r,e);var t=hZ(r);function r(n){_Z(this,r);var o;o=t.call(this,n),bB(Nm(o),"color",void 0),bB(Nm(o),"lineStyle",void 0);var i;o.color=(i=n==null?void 0:n.color)!==null&&i!==void 0?i:"#000";var u;return o.lineStyle=(u=n==null?void 0:n.lineStyle)!==null&&u!==void 0?u:a.LINE_STYLE.SOLID,o}return r}($e);function OB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mZ(e,t,r){return t&&wB(e.prototype,t),r&&wB(e,r),e}function EB(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zl(e){return Zl=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zl(e)}function bZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Am(e,t)}function OZ(e,t){return t&&(wZ(t)==="object"||typeof t=="function")?t:OB(e)}function Am(e,t){return Am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Am(e,t)}function wZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PZ(e){var t=EZ();return function(){var n=Zl(e),o;if(t){var i=Zl(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return OZ(this,o)}}var PB=function(e){bZ(r,e);var t=PZ(r);function r(n){gZ(this,r);var o;return o=t.call(this,n),EB(OB(o),"props",void 0),o.props=new Bm(n==null?void 0:n.props),o}return mZ(r,null,[{key:"controlName",get:function(){return y.getMessage("divider")}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(re);EB(PB,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE]}]);function TB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $B(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $Z(e,t,r){return t&&$B(e.prototype,t),r&&$B(e,r),e}function RZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function SZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mm(e,t)}function NZ(e,t){return t&&(IZ(t)==="object"||typeof t=="function")?t:TB(e)}function Mm(e,t){return Mm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mm(e,t)}function IZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AZ(e){var t=BZ();return function(){var n=ef(e),o;if(t){var i=ef(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NZ(this,o)}}var MZ=function(e){SZ(r,e);var t=AZ(r);function r(n){TZ(this,r);var o;return o=t.call(this,n),RZ(TB(o),"props",void 0),o.props=new Bm(n==null?void 0:n.props),o}return $Z(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}(Re),RB={Designer:PB,Runtime:MZ,Property:Bm};function Lr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tf(e){return tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tf(e)}function NB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lm(e,t)}function LZ(e,t){return t&&(DZ(t)==="object"||typeof t=="function")?t:Lr(e)}function Lm(e,t){return Lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lm(e,t)}function DZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IB(e){var t=FZ();return function(){var n=tf(e),o;if(t){var i=tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LZ(this,o)}}var CZ=function(e){NB(r,e);var t=IB(r);function r(n){SB(this,r);var o;return o=t.call(this,n),Dr(Lr(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),Dr(Lr(o),"dataBind",{type:"any"}),Dr(Lr(o),"config",{type:"array"}),n.config.includes(a.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:y.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:y.getMessage("bizKeyNotBindFiled")}},message:y.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:y.getMessage("pleaseSelectOneField")}),o}return r}(Fe),nf=function(e){NB(r,e);var t=IB(r);function r(n){SB(this,r);var o;o=t.call(this,n),Dr(Lr(o),"dataBind",void 0),Dr(Lr(o),"caption",void 0),Dr(Lr(o),"config",void 0),Dr(Lr(o),"position",void 0),o.dataBind=new Kt(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[a.TitleConfigEnum.ShowSubmitUser,a.TitleConfigEnum.ShowSubmitDept,a.TitleConfigEnum.ShowSubmitTime,a.TitleConfigEnum.ShowCurrentApprovar,a.TitleConfigEnum.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:yi==null?void 0:yi.controlName)!==null&&c!==void 0?c:"";var l;return o.position=(l=n==null?void 0:n.position)!==null&&l!==void 0?l:"top",o}return r}($e);Dr(nf,"Rules",CZ);function BB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jZ(e,t,r){return t&&AB(e.prototype,t),r&&AB(e,r),e}function Dm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rf(e){return rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rf(e)}function VZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fm(e,t)}function xZ(e,t){return t&&(UZ(t)==="object"||typeof t=="function")?t:BB(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}function UZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HZ(e){var t=GZ();return function(){var n=rf(e),o;if(t){var i=rf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xZ(this,o)}}var yi=function(e){VZ(r,e);var t=HZ(r);function r(n){kZ(this,r);var o;return o=t.call(this,n),Dm(BB(o),"props",void 0),o.props=new nf(n==null?void 0:n.props),o}return jZ(r,null,[{key:"controlName",get:function(){return y.getMessage("title")}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(re);Dm(yi,"controlFieldType",a.FieldTypes.AUTO_NUMBER),Dm(yi,"setting",[{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function MB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zZ(e,t,r){return t&&LB(e.prototype,t),r&&LB(e,r),e}function WZ(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function of(e){return of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},of(e)}function qZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cm(e,t)}function KZ(e,t){return t&&(XZ(t)==="object"||typeof t=="function")?t:MB(e)}function Cm(e,t){return Cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cm(e,t)}function XZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QZ(e){var t=JZ();return function(){var n=of(e),o;if(t){var i=of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KZ(this,o)}}var ZZ=function(e){qZ(r,e);var t=QZ(r);function r(n){YZ(this,r);var o;return o=t.call(this,n),WZ(MB(o),"props",void 0),o.props=new nf(n==null?void 0:n.props),o}return zZ(r,null,[{key:"controlType",get:function(){return"title"}}]),r}(Re),DB={Designer:yi,Runtime:ZZ,Property:nf};function uf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function af(e){return af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},af(e)}function CB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&km(e,t)}function eee(e,t){return t&&(tee(t)==="object"||typeof t=="function")?t:uf(e)}function km(e,t){return km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},km(e,t)}function tee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kB(e){var t=nee();return function(){var n=af(e),o;if(t){var i=af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eee(this,o)}}var ree=function(e){CB(r,e);var t=kB(r);function r(n){FB(this,r);var o;return o=t.call(this,n),cf(uf(o),"formKey",{type:"string",required:!0,message:y.getMessage("pleaseEnterForm")}),o}return r}(Fe),lf=function(e){CB(r,e);var t=kB(r);function r(n){FB(this,r);var o;o=t.call(this,n),cf(uf(o),"formKey",void 0),cf(uf(o),"openType",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:pi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:pi.controlName;var c;o.formKey=(c=n==null?void 0:n.formKey)!==null&&c!==void 0?c:"";var l;return o.openType=(l=n==null?void 0:n.openType)!==null&&l!==void 0?l:"modal",o}return r}(gt);cf(lf,"Rules",ree);function jB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iee(e,t,r){return t&&VB(e.prototype,t),r&&VB(e,r),e}function ff(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sf(e){return sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sf(e)}function uee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jm(e,t)}function cee(e,t){return t&&(aee(t)==="object"||typeof t=="function")?t:jB(e)}function jm(e,t){return jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jm(e,t)}function aee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fee(e){var t=lee();return function(){var n=sf(e),o;if(t){var i=sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cee(this,o)}}var pi=function(e){uee(r,e);var t=fee(r);function r(n){oee(this,r);var o;return o=t.call(this,n),ff(jB(o),"props",void 0),o.props=new lf(n==null?void 0:n.props),o}return iee(r,null,[{key:"controlName",get:function(){return y.getMessage("createFormListButton")}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ct);ff(pi,"slots",["grid-table-toolbar-slot"]),ff(pi,"controlEventKeys",["on_click","on_click_finish"]),ff(pi,"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}]);function xB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function see(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _ee(e,t,r){return t&&UB(e.prototype,t),r&&UB(e,r),e}function dee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function yee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vm(e,t)}function pee(e,t){return t&&(vee(t)==="object"||typeof t=="function")?t:xB(e)}function Vm(e,t){return Vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vm(e,t)}function vee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gee(e){var t=hee();return function(){var n=_f(e),o;if(t){var i=_f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pee(this,o)}}var mee=function(e){yee(r,e);var t=gee(r);function r(n){see(this,r);var o;return o=t.call(this,n),dee(xB(o),"props",void 0),o.props=new lf(n==null?void 0:n.props),o}return _ee(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Lt),GB={Designer:pi,Runtime:mee,Property:lf};function vi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function df(e){return df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},df(e)}function YB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xm(e,t)}function bee(e,t){return t&&(Oee(t)==="object"||typeof t=="function")?t:vi(e)}function xm(e,t){return xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xm(e,t)}function Oee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zB(e){var t=wee();return function(){var n=df(e),o;if(t){var i=df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bee(this,o)}}var Eee=function(e){YB(r,e);var t=zB(r);function r(n){HB(this,r);var o;return o=t.call(this,n),hi(vi(o),"processKey",[{type:"string",message:y.getMessage("isNotString")},{type:"string",required:!0,message:y.getMessage("pleaseEnterProcess")}]),o}return r}(Fe),yf=function(e){YB(r,e);var t=zB(r);function r(n){HB(this,r);var o;o=t.call(this,n),hi(vi(o),"processKey",void 0),hi(vi(o),"initiatorMode",void 0),hi(vi(o),"fieldCode",void 0),hi(vi(o),"employeeId",void 0);var i;o.icon=(i=n==null?void 0:n.icon)!==null&&i!==void 0?i:gi.controlIcon;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:gi.controlName;var c;o.initiatorMode=(c=n==null?void 0:n.initiatorMode)!==null&&c!==void 0?c:"currentInitiator";var l;o.processKey=(l=n==null?void 0:n.processKey)!==null&&l!==void 0?l:"";var f;o.fieldCode=(f=n==null?void 0:n.fieldCode)!==null&&f!==void 0?f:"";var s;return o.employeeId=(s=n==null?void 0:n.employeeId)!==null&&s!==void 0?s:"",o}return r}(gt);hi(yf,"Rules",Eee);function WB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tee(e,t,r){return t&&qB(e.prototype,t),r&&qB(e,r),e}function pf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vf(e){return vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vf(e)}function $ee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Um(e,t)}function Ree(e,t){return t&&(See(t)==="object"||typeof t=="function")?t:WB(e)}function Um(e,t){return Um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Um(e,t)}function See(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iee(e){var t=Nee();return function(){var n=vf(e),o;if(t){var i=vf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ree(this,o)}}var gi=function(e){$ee(r,e);var t=Iee(r);function r(n){Pee(this,r);var o;return o=t.call(this,n),pf(WB(o),"props",void 0),o.props=new yf(n==null?void 0:n.props),o}return Tee(r,null,[{key:"controlName",get:function(){return y.getMessage("batchSubmissionListButton")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ct);pf(gi,"slots",["grid-table-toolbar-slot"]),pf(gi,"controlEventKeys",["on_click","on_click_finish"]),pf(gi,"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}]);function KB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Aee(e,t,r){return t&&XB(e.prototype,t),r&&XB(e,r),e}function Mee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function Lee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gm(e,t)}function Dee(e,t){return t&&(Fee(t)==="object"||typeof t=="function")?t:KB(e)}function Gm(e,t){return Gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gm(e,t)}function Fee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kee(e){var t=Cee();return function(){var n=hf(e),o;if(t){var i=hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dee(this,o)}}var jee=function(e){Lee(r,e);var t=kee(r);function r(n){Bee(this,r);var o;return o=t.call(this,n),Mee(KB(o),"props",void 0),o.props=new yf(n==null?void 0:n.props),o}return Aee(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Lt),JB={Designer:gi,Runtime:jee,Property:yf};function Vee(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gf(e){return gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gf(e)}function Uee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hm(e,t)}function Gee(e,t){return t&&(Hee(t)==="object"||typeof t=="function")?t:Vee(e)}function Hm(e,t){return Hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hm(e,t)}function Hee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zee(e){var t=Yee();return function(){var n=gf(e),o;if(t){var i=gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gee(this,o)}}var Ym=function(e){Uee(r,e);var t=zee(r);function r(n){xee(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:mi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:mi.controlIcon,o}return r}(gt);function QB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qee(e,t,r){return t&&ZB(e.prototype,t),r&&ZB(e,r),e}function mf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(e){return bf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bf(e)}function Kee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zm(e,t)}function Xee(e,t){return t&&(Jee(t)==="object"||typeof t=="function")?t:QB(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zm(e,t)}function Jee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zee(e){var t=Qee();return function(){var n=bf(e),o;if(t){var i=bf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xee(this,o)}}var mi=function(e){Kee(r,e);var t=Zee(r);function r(n){Wee(this,r);var o;return o=t.call(this,n),mf(QB(o),"props",void 0),o.props=new Ym(n==null?void 0:n.props),o}return qee(r,null,[{key:"controlName",get:function(){return y.getMessage("submissionRecordListButton")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ct);mf(mi,"slots",["grid-table-toolbar-slot"]),mf(mi,"controlEventKeys",["on_click"]),mf(mi,"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}]);function e1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ete(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tte(e,t,r){return t&&t1(e.prototype,t),r&&t1(e,r),e}function nte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function rte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wm(e,t)}function ote(e,t){return t&&(ite(t)==="object"||typeof t=="function")?t:e1(e)}function Wm(e,t){return Wm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wm(e,t)}function ite(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ute(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cte(e){var t=ute();return function(){var n=Of(e),o;if(t){var i=Of(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ote(this,o)}}var ate=function(e){rte(r,e);var t=cte(r);function r(n){ete(this,r);var o;return o=t.call(this,n),nte(e1(o),"props",void 0),o.props=new Ym(n==null?void 0:n.props),o}return tte(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Lt),n1={Designer:mi,Runtime:ate,Property:Ym};function qm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wf(e){return wf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wf(e)}function fte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Km(e,t)}function ste(e,t){return t&&(_te(t)==="object"||typeof t=="function")?t:qm(e)}function Km(e,t){return Km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Km(e,t)}function _te(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yte(e){var t=dte();return function(){var n=wf(e),o;if(t){var i=wf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ste(this,o)}}var Xm=function(e){fte(r,e);var t=yte(r);function r(n){lte(this,r);var o,i;o=t.call(this,n),r1(qm(o),"templateList",void 0),r1(qm(o),"templateType",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:bi.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:bi.controlName;var l;o.templateType=(l=n==null?void 0:n.templateType)!==null&&l!==void 0?l:"system";var f;return o.templateList=(f=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(s){return new tc(s)}))!==null&&f!==void 0?f:[new tc({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(gt);function o1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vte(e,t,r){return t&&i1(e.prototype,t),r&&i1(e,r),e}function Ef(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(e){return Pf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pf(e)}function hte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jm(e,t)}function gte(e,t){return t&&(mte(t)==="object"||typeof t=="function")?t:o1(e)}function Jm(e,t){return Jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jm(e,t)}function mte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ote(e){var t=bte();return function(){var n=Pf(e),o;if(t){var i=Pf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gte(this,o)}}var bi=function(e){hte(r,e);var t=Ote(r);function r(n){pte(this,r);var o;return o=t.call(this,n),Ef(o1(o),"props",void 0),o.props=new Xm(n==null?void 0:n.props),o}return vte(r,null,[{key:"controlName",get:function(){return y.getMessage("exportListButton")}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ct);Ef(bi,"slots",["grid-table-toolbar-slot"]),Ef(bi,"controlEventKeys",["on_click","on_click_finish"]),Ef(bi,"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}]);function u1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ete(e,t,r){return t&&c1(e.prototype,t),r&&c1(e,r),e}function Pte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tf(e){return Tf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tf(e)}function Tte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Qm(e,t)}function $te(e,t){return t&&(Rte(t)==="object"||typeof t=="function")?t:u1(e)}function Qm(e,t){return Qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qm(e,t)}function Rte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ste(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nte(e){var t=Ste();return function(){var n=Tf(e),o;if(t){var i=Tf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $te(this,o)}}var Ite=function(e){Tte(r,e);var t=Nte(r);function r(n){wte(this,r);var o;return o=t.call(this,n),Pte(u1(o),"props",void 0),o.props=new Xm(n==null?void 0:n.props),o}return Ete(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Lt),a1={Designer:bi,Runtime:Ite,Property:Xm};function Bte(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ate(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function Mte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zm(e,t)}function Lte(e,t){return t&&(Dte(t)==="object"||typeof t=="function")?t:Bte(e)}function Zm(e,t){return Zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zm(e,t)}function Dte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cte(e){var t=Fte();return function(){var n=$f(e),o;if(t){var i=$f(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lte(this,o)}}var eb=function(e){Mte(r,e);var t=Cte(r);function r(n){Ate(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Oi.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Oi.controlIcon,o}return r}(gt);function l1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jte(e,t,r){return t&&f1(e.prototype,t),r&&f1(e,r),e}function Rf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sf(e){return Sf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sf(e)}function Vte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tb(e,t)}function xte(e,t){return t&&(Ute(t)==="object"||typeof t=="function")?t:l1(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function Ute(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hte(e){var t=Gte();return function(){var n=Sf(e),o;if(t){var i=Sf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xte(this,o)}}var Oi=function(e){Vte(r,e);var t=Hte(r);function r(n){kte(this,r);var o;return o=t.call(this,n),Rf(l1(o),"props",void 0),o.props=new eb(n==null?void 0:n.props),o}return jte(r,null,[{key:"controlName",get:function(){return y.getMessage("exportRecordListButton")}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ct);Rf(Oi,"slots",["grid-table-toolbar-slot"]),Rf(Oi,"controlEventKeys",["on_click"]),Rf(Oi,"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}]);function s1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zte(e,t,r){return t&&_1(e.prototype,t),r&&_1(e,r),e}function Wte(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nf(e){return Nf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nf(e)}function qte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nb(e,t)}function Kte(e,t){return t&&(Xte(t)==="object"||typeof t=="function")?t:s1(e)}function nb(e,t){return nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nb(e,t)}function Xte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qte(e){var t=Jte();return function(){var n=Nf(e),o;if(t){var i=Nf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kte(this,o)}}var Zte=function(e){qte(r,e);var t=Qte(r);function r(n){Yte(this,r);var o;return o=t.call(this,n),Wte(s1(o),"props",void 0),o.props=new eb(n==null?void 0:n.props),o}return zte(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Lt),d1={Designer:Oi,Runtime:Zte,Property:eb};function rb(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ob(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},If(e)}function ene(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ib(e,t)}function tne(e,t){return t&&(nne(t)==="object"||typeof t=="function")?t:rb(e)}function ib(e,t){return ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ib(e,t)}function nne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function one(e){var t=rne();return function(){var n=If(e),o;if(t){var i=If(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tne(this,o)}}var ine=function e(t){y1(this,e),ob(this,"dataCode",void 0),this.dataCode=t.dataCode},ub=function(e){ene(r,e);var t=one(r);function r(n){y1(this,r);var o,i;o=t.call(this,n),ob(rb(o),"canImportList",void 0),ob(rb(o),"templateType",void 0);var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:wi.controlName;var c;o.icon=(c=n==null?void 0:n.icon)!==null&&c!==void 0?c:wi.controlIcon;var l;o.canImportList=(l=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(s){return new ine(s)}))!==null&&l!==void 0?l:[];var f;return o.templateType=(f=n==null?void 0:n.templateType)!==null&&f!==void 0?f:"system",o}return r}(gt);function p1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function une(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cne(e,t,r){return t&&v1(e.prototype,t),r&&v1(e,r),e}function Bf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function ane(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cb(e,t)}function lne(e,t){return t&&(fne(t)==="object"||typeof t=="function")?t:p1(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function fne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ne(e){var t=sne();return function(){var n=Af(e),o;if(t){var i=Af(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lne(this,o)}}var wi=function(e){ane(r,e);var t=_ne(r);function r(n){une(this,r);var o;return o=t.call(this,n),Bf(p1(o),"props",void 0),o.props=new ub(n==null?void 0:n.props),o}return cne(r,null,[{key:"controlName",get:function(){return y.getMessage("importRecordListButton")}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ct);Bf(wi,"slots",["grid-table-toolbar-slot"]),Bf(wi,"controlEventKeys",["on_click","on_click_finish"]),Bf(wi,"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}]);function h1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yne(e,t,r){return t&&g1(e.prototype,t),r&&g1(e,r),e}function pne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function vne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ab(e,t)}function hne(e,t){return t&&(gne(t)==="object"||typeof t=="function")?t:h1(e)}function ab(e,t){return ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ab(e,t)}function gne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bne(e){var t=mne();return function(){var n=Mf(e),o;if(t){var i=Mf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hne(this,o)}}var One=function(e){vne(r,e);var t=bne(r);function r(n){dne(this,r);var o;return o=t.call(this,n),pne(h1(o),"props",void 0),o.props=new ub(n==null?void 0:n.props),o}return yne(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Lt),m1={Designer:wi,Runtime:One,Property:ub};function Lf(){return{dataCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:y.getMessage("pleaseSelectControl")}}}}}}function Fr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Df(e){return Df=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Df(e)}function O1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lb(e,t)}function w1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Xn(e,o,r[o])})}return e}function wne(e,t){return t&&(Ene(t)==="object"||typeof t=="function")?t:Fr(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function Ene(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E1(e){var t=Pne();return function(){var n=Df(e),o;if(t){var i=Df(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wne(this,o)}}var Tne=function(e){O1(r,e);var t=E1(r);function r(n){b1(this,r);var o;return o=t.call(this,n),Xn(Fr(o),"fillPayload",{type:"object",fields:w1({},Lf())}),Xn(Fr(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:y.getMessage("pleaseEnterList")}}}),Xn(Fr(o),"fillBack",{type:"object",fields:w1({mode:{type:"string",required:!0,message:y.getMessage("pleaseSelectFillBackMode")}},Lf())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:y.getMessage("pleaseSelectControl")}),o}return r}(Fe),Ff=function(e){O1(r,e);var t=E1(r);function r(n){b1(this,r);var o;o=t.call(this,n),Xn(Fr(o),"fillPayload",void 0),Xn(Fr(o),"formBind",void 0),Xn(Fr(o),"fillBack",void 0),Xn(Fr(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:rc.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:rc.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new mg(n==null?void 0:n.fillPayload),o.formBind=new jN(n==null?void 0:n.formBind),o.fillBack=new bg(n==null?void 0:n.fillBack),o}return r}(gt);Xn(Ff,"Rules",Tne);function P1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rne(e,t,r){return t&&T1(e.prototype,t),r&&T1(e,r),e}function fb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function Sne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sb(e,t)}function Nne(e,t){return t&&(Ine(t)==="object"||typeof t=="function")?t:P1(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function Ine(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Bne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ane(e){var t=Bne();return function(){var n=Cf(e),o;if(t){var i=Cf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nne(this,o)}}var rc=function(e){Sne(r,e);var t=Ane(r);function r(n){$ne(this,r);var o;return o=t.call(this,n),fb(P1(o),"props",void 0),o.props=new Ff(n==null?void 0:n.props),o}return Rne(r,null,[{key:"controlName",get:function(){return y.getMessage("formSelectButton")}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(ct);fb(rc,"controlEventKeys",["on_click","on_click_finish"]),fb(rc,"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:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function $1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Lne(e,t,r){return t&&R1(e.prototype,t),r&&R1(e,r),e}function Dne(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kf(e){return kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kf(e)}function Fne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_b(e,t)}function Cne(e,t){return t&&(kne(t)==="object"||typeof t=="function")?t:$1(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(e,t)}function kne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vne(e){var t=jne();return function(){var n=kf(e),o;if(t){var i=kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cne(this,o)}}var xne=function(e){Fne(r,e);var t=Vne(r);function r(n){Mne(this,r);var o;return o=t.call(this,n),Dne($1(o),"props",void 0),o.props=new Ff(n==null?void 0:n.props),o}return Lne(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(Lt),S1={Designer:rc,Runtime:xne,Property:Ff};function yn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jf(e){return jf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jf(e)}function I1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&db(e,t)}function B1(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Jt(e,o,r[o])})}return e}function Une(e,t){return t&&(Gne(t)==="object"||typeof t=="function")?t:yn(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function Gne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function A1(e){var t=Hne();return function(){var n=jf(e),o;if(t){var i=jf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Une(this,o)}}var Yne=function(e){I1(r,e);var t=A1(r);function r(n){N1(this,r);var o;return o=t.call(this,n),Jt(yn(o),"fillPayload",{type:"object",fields:B1({},Lf())}),Jt(yn(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:y.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:y.getMessage("pleaseSelectAtLeastOneColumn")}}}),Jt(yn(o),"fillBack",{type:"object",fields:B1({mode:{type:"string",required:!0,message:y.getMessage("pleaseSelectFillBackMode")}},Lf())}),o}return r}(Fe),Vf=function(e){I1(r,e);var t=A1(r);function r(n){N1(this,r);var o;o=t.call(this,n),Jt(yn(o),"fillPayload",void 0),Jt(yn(o),"listPageBind",void 0),Jt(yn(o),"disableFilling",void 0),Jt(yn(o),"fillBack",void 0),Jt(yn(o),"showSelectedDetail",void 0),Jt(yn(o),"isSelectedRowFill",void 0),Jt(yn(o),"selectedContentConfig",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:oc.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:oc.controlIcon,o.fillPayload=new mg(n==null?void 0:n.fillPayload),o.listPageBind=new nl(n==null?void 0:n.listPageBind),o.fillBack=new bg(n==null?void 0:n.fillBack);var c;o.showSelectedDetail=(c=n==null?void 0:n.showSelectedDetail)!==null&&c!==void 0?c:!1,o.selectedContentConfig=new il(n==null?void 0:n.selectedContentConfig);var l;o.isSelectedRowFill=(l=n==null?void 0:n.isSelectedRowFill)!==null&&l!==void 0?l:!1;var f;return o.disableFilling=(f=n==null?void 0:n.disableFilling)!==null&&f!==void 0?f:!0,o}return r}(gt);Jt(Vf,"Rules",Yne);function M1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function L1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wne(e,t,r){return t&&L1(e.prototype,t),r&&L1(e,r),e}function yb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xf(e){return xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xf(e)}function qne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pb(e,t)}function Kne(e,t){return t&&(Xne(t)==="object"||typeof t=="function")?t:M1(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function Xne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qne(e){var t=Jne();return function(){var n=xf(e),o;if(t){var i=xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kne(this,o)}}var oc=function(e){qne(r,e);var t=Qne(r);function r(n){zne(this,r);var o;return o=t.call(this,n),yb(M1(o),"props",void 0),o.props=new Vf(n==null?void 0:n.props),o}return Wne(r,null,[{key:"controlName",get:function(){return y.getMessage("listSelectButton")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(ct);yb(oc,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),yb(oc,"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:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function D1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ere(e,t,r){return t&&F1(e.prototype,t),r&&F1(e,r),e}function tre(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uf(e){return Uf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uf(e)}function nre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vb(e,t)}function rre(e,t){return t&&(ore(t)==="object"||typeof t=="function")?t:D1(e)}function vb(e,t){return vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vb(e,t)}function ore(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ire(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ure(e){var t=ire();return function(){var n=Uf(e),o;if(t){var i=Uf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rre(this,o)}}var cre=function(e){nre(r,e);var t=ure(r);function r(n){Zne(this,r);var o;return o=t.call(this,n),tre(D1(o),"props",void 0),o.props=new Vf(n==null?void 0:n.props),o}return ere(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(Lt),C1={Designer:oc,Runtime:cre,Property:Vf};function are(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function gb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mb(e,t)}function lre(e,t){return t&&(fre(t)==="object"||typeof t=="function")?t:are(e)}function mb(e,t){return mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mb(e,t)}function fre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bb(e){var t=sre();return function(){var n=Gf(e),o;if(t){var i=Gf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lre(this,o)}}var _re=function(e){gb(r,e);var t=bb(r);function r(n){return hb(this,r),t.call(this,n)}return r}(Fe),dre=function(e){gb(r,e);var t=bb(r);function r(n){return hb(this,r),t.call(this,n)}return r}(Nr),ic=function(e){gb(r,e);var t=bb(r);function r(n){return hb(this,r),t.call(this,n)}return r}($e);k1(ic,"Rules",_re),k1(ic,"RuntimeRules",dre);function j1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function V1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pre(e,t,r){return t&&V1(e.prototype,t),r&&V1(e,r),e}function x1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function vre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ob(e,t)}function hre(e,t){return t&&(gre(t)==="object"||typeof t=="function")?t:j1(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function gre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bre(e){var t=mre();return function(){var n=Hf(e),o;if(t){var i=Hf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hre(this,o)}}var U1=function(e){vre(r,e);var t=bre(r);function r(n){yre(this,r);var o;return o=t.call(this,n),x1(j1(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return pre(r,null,[{key:"controlName",get:function(){return y.getMessage("pagination")}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(re);x1(U1,"setting",[]);function G1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ore(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function H1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wre(e,t,r){return t&&H1(e.prototype,t),r&&H1(e,r),e}function Ere(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yf(e){return Yf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yf(e)}function Pre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wb(e,t)}function Tre(e,t){return t&&($re(t)==="object"||typeof t=="function")?t:G1(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function $re(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sre(e){var t=Rre();return function(){var n=Yf(e),o;if(t){var i=Yf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tre(this,o)}}var Nre=function(e){Pre(r,e);var t=Sre(r);function r(n){Ore(this,r);var o;return o=t.call(this,n),Ere(G1(o),"props",void 0),o.props=new ic(n==null?void 0:n.props),o}return wre(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}(Re),Y1={Designer:U1,Runtime:Nre,Property:ic};function Qt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function z1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zf(e){return zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zf(e)}function W1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Eb(e,t)}function Ire(e,t){return t&&(Bre(t)==="object"||typeof t=="function")?t:Qt(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function Bre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Are(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function q1(e){var t=Are();return function(){var n=zf(e),o;if(t){var i=zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ire(this,o)}}var Mre=function(e){W1(r,e);var t=q1(r);function r(n){z1(this,r);var o;return o=t.call(this,n),Zt(Qt(o),"dashboardKey",{type:"string",required:!0,message:y.getMessage("pleaseSelectDashboard")}),Zt(Qt(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),Zt(Qt(o),"isHideCaption",{type:"boolean"}),Zt(Qt(o),"labelPosition",{type:"enum",enum:["top","left"]}),Zt(Qt(o),"captionTip",{type:"string",required:!1,message:y.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Fe),Wf=function(e){W1(r,e);var t=q1(r);function r(n){z1(this,r);var o;o=t.call(this,n),Zt(Qt(o),"dashboardKey",void 0),Zt(Qt(o),"caption",void 0),Zt(Qt(o),"isHideCaption",void 0),Zt(Qt(o),"isShowCaptionTip",void 0),Zt(Qt(o),"captionTip",void 0),Zt(Qt(o),"labelPosition",void 0);var i;o.dashboardKey=(i=n==null?void 0:n.dashboardKey)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var s;return o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top",o}return r}($e);Zt(Wf,"Rules",Mre);function K1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dre(e,t,r){return t&&X1(e.prototype,t),r&&X1(e,r),e}function J1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qf(e){return qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qf(e)}function Fre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pb(e,t)}function Cre(e,t){return t&&(kre(t)==="object"||typeof t=="function")?t:K1(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function kre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vre(e){var t=jre();return function(){var n=qf(e),o;if(t){var i=qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cre(this,o)}}var Q1=function(e){Fre(r,e);var t=Vre(r);function r(n){Lre(this,r);var o;return o=t.call(this,n),J1(K1(o),"props",void 0),o.props=new Wf(n==null?void 0:n.props),o}return Dre(r,null,[{key:"controlName",get:function(){return y.getMessage("dashboard")}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(re);J1(Q1,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Z1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ure(e,t,r){return t&&eA(e.prototype,t),r&&eA(e,r),e}function Gre(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function Hre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Tb(e,t)}function Yre(e,t){return t&&(zre(t)==="object"||typeof t=="function")?t:Z1(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}function zre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qre(e){var t=Wre();return function(){var n=Kf(e),o;if(t){var i=Kf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yre(this,o)}}var Kre=function(e){Hre(r,e);var t=qre(r);function r(n){xre(this,r);var o;return o=t.call(this,n),Gre(Z1(o),"props",void 0),o.props=new Wf(n==null?void 0:n.props),o}return Ure(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}(Re),tA={Designer:Q1,Runtime:Kre,Property:Wf};function uc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xf(e){return Xf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xf(e)}function rA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$b(e,t)}function Xre(e,t){return t&&(Jre(t)==="object"||typeof t=="function")?t:uc(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function Jre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oA(e){var t=Qre();return function(){var n=Xf(e),o;if(t){var i=Xf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xre(this,o)}}var Zre=function(e){rA(r,e);var t=oA(r);function r(n){nA(this,r);var o;return o=t.call(this,n),cc(uc(o),"showType",{type:"enum",enum:["select","tabs"]}),cc(uc(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:y.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:y.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(Fe),Jf=function(e){rA(r,e);var t=oA(r);function r(n){nA(this,r);var o,i;o=t.call(this,n),cc(uc(o),"showType",void 0),cc(uc(o),"viewList",void 0);var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"select";var c;return o.viewList=(c=n==null||(i=n.viewList)===null||i===void 0?void 0:i.map(function(l){return new rI(l)}))!==null&&c!==void 0?c:[],o}return r}($e);cc(Jf,"Rules",Zre);function iA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function toe(e,t,r){return t&&uA(e.prototype,t),r&&uA(e,r),e}function cA(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qf(e){return Qf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qf(e)}function noe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rb(e,t)}function roe(e,t){return t&&(ooe(t)==="object"||typeof t=="function")?t:iA(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}function ooe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ioe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uoe(e){var t=ioe();return function(){var n=Qf(e),o;if(t){var i=Qf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return roe(this,o)}}var aA=function(e){noe(r,e);var t=uoe(r);function r(n){eoe(this,r);var o;return o=t.call(this,n),cA(iA(o),"props",void 0),o.props=new Jf(n==null?void 0:n.props),o}return toe(r,null,[{key:"controlName",get:function(){return y.getMessage("listViewSelect")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(re);cA(aA,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function lA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function coe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function aoe(e,t,r){return t&&fA(e.prototype,t),r&&fA(e,r),e}function loe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zf(e){return Zf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zf(e)}function foe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Sb(e,t)}function soe(e,t){return t&&(_oe(t)==="object"||typeof t=="function")?t:lA(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function _oe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function doe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yoe(e){var t=doe();return function(){var n=Zf(e),o;if(t){var i=Zf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return soe(this,o)}}var poe=function(e){foe(r,e);var t=yoe(r);function r(n){coe(this,r);var o;return o=t.call(this,n),loe(lA(o),"props",void 0),o.props=new Jf(n==null?void 0:n.props),o}return aoe(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}(Re),sA={Designer:aA,Runtime:poe,Property:Jf};function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _A(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function es(e){return es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},es(e)}function dA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nb(e,t)}function voe(e,t){return t&&(hoe(t)==="object"||typeof t=="function")?t:$t(e)}function Nb(e,t){return Nb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nb(e,t)}function hoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function goe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yA(e){var t=goe();return function(){var n=es(e),o;if(t){var i=es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return voe(this,o)}}var moe=function(e){dA(r,e);var t=yA(r);function r(n){_A(this,r);var o;return o=t.call(this,n),Rt($t(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),Rt($t(o),"isHideCaption",{type:"boolean"}),Rt($t(o),"labelPosition",{type:"enum",enum:["top","left"]}),Rt($t(o),"ocrType",{type:"string",required:!0,message:y.getMessage("pleaseSelectOcrType")}),Rt($t(o),"fillList",{type:"array",validator:function(u,c,l){var f=c.every(function(s){return!s.controlId});if(f){l(y.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Rt($t(o),"captionTip",{type:"string",required:!1,message:y.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Fe),ts=function(e){dA(r,e);var t=yA(r);function r(n){_A(this,r);var o,i;o=t.call(this,n),Rt($t(o),"caption",void 0),Rt($t(o),"isHideCaption",void 0),Rt($t(o),"isShowCaptionTip",void 0),Rt($t(o),"captionTip",void 0),Rt($t(o),"labelPosition",void 0),Rt($t(o),"ocrType",void 0),Rt($t(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ei.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:Ei.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:Ei.controlIcon;var p;o.ocrType=(p=n==null?void 0:n.ocrType)!==null&&p!==void 0?p:"";var m;return o.fillList=(m=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new ht(h)}))!==null&&m!==void 0?m:[],o}return r}(gt);Rt(ts,"Rules",moe);function pA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function boe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ooe(e,t,r){return t&&vA(e.prototype,t),r&&vA(e,r),e}function Ib(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ns(e){return ns=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ns(e)}function woe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bb(e,t)}function Eoe(e,t){return t&&(Poe(t)==="object"||typeof t=="function")?t:pA(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}function Poe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Toe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $oe(e){var t=Toe();return function(){var n=ns(e),o;if(t){var i=ns(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eoe(this,o)}}var Ei=function(e){woe(r,e);var t=$oe(r);function r(n){boe(this,r);var o;return o=t.call(this,n),Ib(pA(o),"props",void 0),o.props=new ts(n==null?void 0:n.props),o}return Ooe(r,null,[{key:"controlName",get:function(){return y.getMessage("textOcrButton")}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ct);Ib(Ei,"controlEventKeys",["on_click","on_click_finish"]),Ib(Ei,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function hA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Roe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Soe(e,t,r){return t&&gA(e.prototype,t),r&&gA(e,r),e}function Noe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(e)}function Ioe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ab(e,t)}function Boe(e,t){return t&&(Aoe(t)==="object"||typeof t=="function")?t:hA(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function Aoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Moe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Loe(e){var t=Moe();return function(){var n=rs(e),o;if(t){var i=rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Boe(this,o)}}var Doe=function(e){Ioe(r,e);var t=Loe(r);function r(n){Roe(this,r);var o;return o=t.call(this,n),Noe(hA(o),"props",void 0),o.props=new ts(n==null?void 0:n.props),o}return Soe(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Lt),mA={Designer:Ei,Runtime:Doe,Property:ts};function St(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function os(e){return os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},os(e)}function OA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mb(e,t)}function Foe(e,t){return t&&(Coe(t)==="object"||typeof t=="function")?t:St(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}function Coe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function koe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wA(e){var t=koe();return function(){var n=os(e),o;if(t){var i=os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Foe(this,o)}}var joe=function(e){OA(r,e);var t=wA(r);function r(n){bA(this,r);var o;return o=t.call(this,n),Nt(St(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),Nt(St(o),"isHideCaption",{type:"boolean"}),Nt(St(o),"labelPosition",{type:"enum",enum:["top","left"]}),Nt(St(o),"invoiceCheck",{type:"boolean"}),Nt(St(o),"fillList",{type:"array",validator:function(u,c,l){var f=c.every(function(s){return!s.controlId});if(f){l(y.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}l()}}),Nt(St(o),"captionTip",{type:"string",required:!1,message:y.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Fe),is=function(e){OA(r,e);var t=wA(r);function r(n){bA(this,r);var o,i;o=t.call(this,n),Nt(St(o),"caption",void 0),Nt(St(o),"isHideCaption",void 0),Nt(St(o),"isShowCaptionTip",void 0),Nt(St(o),"captionTip",void 0),Nt(St(o),"labelPosition",void 0),Nt(St(o),"invoiceCheck",void 0),Nt(St(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Pi.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var l;o.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var f;o.captionTip=(f=n==null?void 0:n.captionTip)!==null&&f!==void 0?f:"";var s;o.labelPosition=(s=n==null?void 0:n.labelPosition)!==null&&s!==void 0?s:"top";var _;o.content=(_=n==null?void 0:n.content)!==null&&_!==void 0?_:Pi.controlName;var d;o.icon=(d=n==null?void 0:n.icon)!==null&&d!==void 0?d:Pi.controlIcon;var p;o.invoiceCheck=(p=n==null?void 0:n.invoiceCheck)!==null&&p!==void 0?p:!0;var m;return o.fillList=(m=n==null||(i=n.fillList)===null||i===void 0?void 0:i.map(function(h){return new ht(h)}))!==null&&m!==void 0?m:[],o}return r}(gt);Nt(is,"Rules",joe);function EA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Voe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xoe(e,t,r){return t&&PA(e.prototype,t),r&&PA(e,r),e}function Lb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function us(e){return us=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},us(e)}function Uoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Db(e,t)}function Goe(e,t){return t&&(Hoe(t)==="object"||typeof t=="function")?t:EA(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function Hoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zoe(e){var t=Yoe();return function(){var n=us(e),o;if(t){var i=us(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Goe(this,o)}}var Pi=function(e){Uoe(r,e);var t=zoe(r);function r(n){Voe(this,r);var o;return o=t.call(this,n),Lb(EA(o),"props",void 0),o.props=new is(n==null?void 0:n.props),o}return xoe(r,null,[{key:"controlName",get:function(){return y.getMessage("invoiceCheckButton")}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(ct);Lb(Pi,"controlEventKeys",["on_click","on_click_finish"]),Lb(Pi,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function TA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Woe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $A(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qoe(e,t,r){return t&&$A(e.prototype,t),r&&$A(e,r),e}function Koe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cs(e){return cs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cs(e)}function Xoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fb(e,t)}function Joe(e,t){return t&&(Qoe(t)==="object"||typeof t=="function")?t:TA(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function Qoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eie(e){var t=Zoe();return function(){var n=cs(e),o;if(t){var i=cs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Joe(this,o)}}var tie=function(e){Xoe(r,e);var t=eie(r);function r(n){Woe(this,r);var o;return o=t.call(this,n),Koe(TA(o),"props",void 0),o.props=new is(n==null?void 0:n.props),o}return qoe(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Lt),RA={Designer:Pi,Runtime:tie,Property:is};function as(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ls(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fs(e){return fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fs(e)}function NA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Cb(e,t)}function nie(e,t){return t&&(rie(t)==="object"||typeof t=="function")?t:as(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}function rie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IA(e){var t=oie();return function(){var n=fs(e),o;if(t){var i=fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nie(this,o)}}var iie=function(e){NA(r,e);var t=IA(r);function r(){SA(this,r);var n;return n=t.apply(this,arguments),ls(as(n),"printTemplates",{type:"array",min:1,required:!0,message:y.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(Fe),ss=function(e){NA(r,e);var t=IA(r);function r(n){SA(this,r);var o,i;o=t.call(this,n),ls(as(o),"printTemplates",void 0),ls(as(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ti.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Ti.controlName;var l;o.printTemplates=(l=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new gB(s)}))!==null&&l!==void 0?l:[];var f;return o.autoSelectTemplate=(f=n==null?void 0:n.autoSelectTemplate)!==null&&f!==void 0?f:!1,o}return r}(gt);ls(ss,"Rules",iie);function BA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cie(e,t,r){return t&&AA(e.prototype,t),r&&AA(e,r),e}function _s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function aie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kb(e,t)}function lie(e,t){return t&&(fie(t)==="object"||typeof t=="function")?t:BA(e)}function kb(e,t){return kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kb(e,t)}function fie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ie(e){var t=sie();return function(){var n=ds(e),o;if(t){var i=ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lie(this,o)}}var Ti=function(e){aie(r,e);var t=_ie(r);function r(n){uie(this,r);var o;return o=t.call(this,n),_s(BA(o),"props",void 0),o.props=new ss(n==null?void 0:n.props),o}return cie(r,null,[{key:"controlName",get:function(){return y.getMessage("batchPrintListButton")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ct);_s(Ti,"slots",["grid-table-toolbar-slot"]),_s(Ti,"controlEventKeys",["on_click","on_click_finish"]),_s(Ti,"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}]);function MA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function die(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yie(e,t,r){return t&&LA(e.prototype,t),r&&LA(e,r),e}function pie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ys(e){return ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ys(e)}function vie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jb(e,t)}function hie(e,t){return t&&(gie(t)==="object"||typeof t=="function")?t:MA(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function gie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bie(e){var t=mie();return function(){var n=ys(e),o;if(t){var i=ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hie(this,o)}}var Oie=function(e){vie(r,e);var t=bie(r);function r(n){die(this,r);var o;return o=t.call(this,n),pie(MA(o),"props",void 0),o.props=new ss(n==null?void 0:n.props),o}return yie(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Lt),DA={Designer:Ti,Runtime:Oie,Property:ss};function wie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Eie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ps(e){return ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ps(e)}function Pie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vb(e,t)}function Tie(e,t){return t&&($ie(t)==="object"||typeof t=="function")?t:wie(e)}function Vb(e,t){return Vb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vb(e,t)}function $ie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sie(e){var t=Rie();return function(){var n=ps(e),o;if(t){var i=ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tie(this,o)}}var xb=function(e){Pie(r,e);var t=Sie(r);function r(n){Eie(this,r);var o;o=t.call(this,n);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:$i.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:$i.controlIcon,o}return r}(gt);function FA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Iie(e,t,r){return t&&CA(e.prototype,t),r&&CA(e,r),e}function vs(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hs(e){return hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hs(e)}function Bie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ub(e,t)}function Aie(e,t){return t&&(Mie(t)==="object"||typeof t=="function")?t:FA(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}function Mie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Die(e){var t=Lie();return function(){var n=hs(e),o;if(t){var i=hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Aie(this,o)}}var $i=function(e){Bie(r,e);var t=Die(r);function r(n){Nie(this,r);var o;return o=t.call(this,n),vs(FA(o),"props",void 0),o.props=new xb(n==null?void 0:n.props),o}return Iie(r,null,[{key:"controlName",get:function(){return y.getMessage("batchPrintRecordList")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ct);vs($i,"slots",["grid-table-toolbar-slot"]),vs($i,"controlEventKeys",["on_click"]),vs($i,"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}]);function kA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cie(e,t,r){return t&&jA(e.prototype,t),r&&jA(e,r),e}function kie(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(e)}function jie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gb(e,t)}function Vie(e,t){return t&&(xie(t)==="object"||typeof t=="function")?t:kA(e)}function Gb(e,t){return Gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gb(e,t)}function xie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gie(e){var t=Uie();return function(){var n=gs(e),o;if(t){var i=gs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vie(this,o)}}var Hie=function(e){jie(r,e);var t=Gie(r);function r(n){Fie(this,r);var o;return o=t.call(this,n),kie(kA(o),"props",void 0),o.props=new xb(n==null?void 0:n.props),o}return Cie(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Lt),VA={Designer:$i,Runtime:Hie,Property:xb};function mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xA(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ms(e){return ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ms(e)}function UA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Hb(e,t)}function Yie(e,t){return t&&(zie(t)==="object"||typeof t=="function")?t:mt(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}function zie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GA(e){var t=Wie();return function(){var n=ms(e),o;if(t){var i=ms(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yie(this,o)}}var qie=function(e){UA(r,e);var t=GA(r);function r(n){xA(this,r);var o;return o=t.call(this,n),bt(mt(o),"formKey",{type:"string",required:!1}),(n.command==="edit"||n.command==="view")&&(o.formKey={type:"string",required:!0,message:y.getMessage("pleaseEnterForm")}),o}return r}(Fe),bs=function(e){UA(r,e);var t=GA(r);function r(n){xA(this,r);var o;o=t.call(this,n),bt(mt(o),"content",void 0),bt(mt(o),"code",void 0),bt(mt(o),"command",void 0),bt(mt(o),"color",void 0),bt(mt(o),"icon",void 0),bt(mt(o),"formKey",void 0),bt(mt(o),"openType",void 0),bt(mt(o),"needConfirm",void 0),bt(mt(o),"confirmMessage",void 0),bt(mt(o),"options",void 0),bt(mt(o),"defaultState",void 0),bt(mt(o),"priorityProcess",void 0),bt(mt(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:"\u6309\u94AE",o.code=n==null?void 0:n.code;var u;o.command=(u=n==null?void 0:n.command)!==null&&u!==void 0?u:"custom";var c;o.color=(c=n==null?void 0:n.color)!==null&&c!==void 0?c:"primary",o.icon=n==null?void 0:n.icon,o.formKey=n==null?void 0:n.formKey,o.openType=n==null?void 0:n.openType,o.needConfirm=n==null?void 0:n.needConfirm,o.confirmMessage=n==null?void 0:n.confirmMessage,o.options=n==null?void 0:n.options;var l;o.defaultState=(l=n==null?void 0:n.defaultState)!==null&&l!==void 0?l:"default",o.priorityProcess=n==null?void 0:n.priorityProcess;var f;return o.isLoading=(f=n==null?void 0:n.isLoading)!==null&&f!==void 0?f:!1,o}return r}($e);bt(bs,"Rules",qie);function HA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xie(e,t,r){return t&&YA(e.prototype,t),r&&YA(e,r),e}function Yb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Os(e){return Os=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Os(e)}function Jie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zb(e,t)}function Qie(e,t){return t&&(Zie(t)==="object"||typeof t=="function")?t:HA(e)}function zb(e,t){return zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zb(e,t)}function Zie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tue(e){var t=eue();return function(){var n=Os(e),o;if(t){var i=Os(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qie(this,o)}}var ws=function(e){Jie(r,e);var t=tue(r);function r(n){Kie(this,r);var o;return o=t.call(this,n),Yb(HA(o),"props",void 0),o.props=new bs(n==null?void 0:n.props),o}return Xie(r,null,[{key:"controlName",get:function(){return y.getMessage("operationButton")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(re);Yb(ws,"controlEventKeys",["on_click"]),Yb(ws,"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:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function zA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rue(e,t,r){return t&&WA(e.prototype,t),r&&WA(e,r),e}function oue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Es(e){return Es=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Es(e)}function iue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Wb(e,t)}function uue(e,t){return t&&(cue(t)==="object"||typeof t=="function")?t:zA(e)}function Wb(e,t){return Wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wb(e,t)}function cue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lue(e){var t=aue();return function(){var n=Es(e),o;if(t){var i=Es(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uue(this,o)}}var fue=function(e){iue(r,e);var t=lue(r);function r(n){nue(this,r);var o;return o=t.call(this,n),oue(zA(o),"props",void 0),o.props=new bs(n==null?void 0:n.props),o}return rue(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}(Re),ac={Designer:ws,Runtime:fue,Property:bs};function Jn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ps(e){return Ps=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ps(e)}function _ue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qb(e,t)}function due(e,t){return t&&(yue(t)==="object"||typeof t=="function")?t:Jn(e)}function qb(e,t){return qb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qb(e,t)}function yue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vue(e){var t=pue();return function(){var n=Ps(e),o;if(t){var i=Ps(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return due(this,o)}}var Kb=function(e){_ue(r,e);var t=vue(r);function r(n){sue(this,r);var o;o=t.call(this,n),Cr(Jn(o),"content",void 0),Cr(Jn(o),"buttonType",void 0),Cr(Jn(o),"showType",void 0),Cr(Jn(o),"color",void 0),Cr(Jn(o),"icon",void 0),Cr(Jn(o),"defaultState",void 0),Cr(Jn(o),"command",void 0),Cr(Jn(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:Ri.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ri.controlIcon;var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"iconText";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"danger";var s;o.isHide=(s=n==null?void 0:n.isHide)!==null&&s!==void 0?s:!1;var _;o.defaultState=(_=n==null?void 0:n.defaultState)!==null&&_!==void 0?_:"default";var d;o.command=(d=n==null?void 0:n.command)!==null&&d!==void 0?d:"custom";var p;return o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1,o}return r}($e);function qA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gue(e,t,r){return t&&KA(e.prototype,t),r&&KA(e,r),e}function Ts(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $s(e){return $s=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$s(e)}function mue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xb(e,t)}function bue(e,t){return t&&(Oue(t)==="object"||typeof t=="function")?t:qA(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}function Oue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Eue(e){var t=wue();return function(){var n=$s(e),o;if(t){var i=$s(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bue(this,o)}}var Ri=function(e){mue(r,e);var t=Eue(r);function r(n){hue(this,r);var o;return o=t.call(this,n),Ts(qA(o),"props",void 0),o.props=new Kb(n==null?void 0:n.props),o}return gue(r,null,[{key:"controlName",get:function(){return y.getMessage("batchDeleteButton")}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(re);Ts(Ri,"slots",["grid-table-toolbar-slot"]),Ts(Ri,"controlEventKeys",["on_click"]),Ts(Ri,"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:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function XA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Tue(e,t,r){return t&&JA(e.prototype,t),r&&JA(e,r),e}function $ue(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rs(e)}function Rue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jb(e,t)}function Sue(e,t){return t&&(Nue(t)==="object"||typeof t=="function")?t:XA(e)}function Jb(e,t){return Jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jb(e,t)}function Nue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bue(e){var t=Iue();return function(){var n=Rs(e),o;if(t){var i=Rs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sue(this,o)}}var Aue=function(e){Rue(r,e);var t=Bue(r);function r(n){Pue(this,r);var o;return o=t.call(this,n),$ue(XA(o),"props",void 0),o.props=new Kb(n==null?void 0:n.props),o}return Tue(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(Re),QA={Designer:Ri,Runtime:Aue,Property:Kb},Mue=Object.freeze({__proto__:null,Text:tB,Link:uB,Button:sB,Divider:RB,Title:DB,CreateFormListButton:GB,BatchSubmissionListButton:JB,SubmissionRecordListButton:n1,ExportListButton:a1,ExportRecordListButton:d1,ImportRecordListButton:m1,FormSelectButton:S1,ListSelectButton:C1,Pagination:Y1,Dashboard:tA,ListViewSelect:sA,TextOcrButton:mA,InvoiceCheckButton:RA,BatchPrintListButton:DA,BatchPrintRecordListButton:VA,OperationButton:ac,BatchDeleteButton:QA});function An(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ss(e){return Ss=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ss(e)}function Zb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&e0(e,t)}function Lue(e,t){return t&&(Due(t)==="object"||typeof t=="function")?t:An(e)}function e0(e,t){return e0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},e0(e,t)}function Due(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t0(e){var t=Fue();return function(){var n=Ss(e),o;if(t){var i=Ss(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lue(this,o)}}var Cue=function(e){Zb(r,e);var t=t0(r);function r(n){Qb(this,r);var o;return o=t.call(this,n),pn(An(o),"maxLength",{type:"number",min:0,message:y.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),pn(An(o),"minLength",{type:"number",max:200,message:y.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),pn(An(o),"defaultValue",[{type:"string",max:200,min:0,message:y.getMessage("stringRangeError")},{pattern:"",message:""}]),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue[0].max=n.maxLength,o.defaultValue[0].min=n.minLength,o.defaultValue[0].message=y.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=nc(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(Ye),kue=function(e){Zb(r,e);var t=t0(r);function r(n){Qb(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:y.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:y.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:nc(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(_e),Si=function(e){Zb(r,e);var t=t0(r);function r(n){Qb(this,r);var o;o=t.call(this,n),pn(An(o),"maxLength",void 0),pn(An(o),"minLength",void 0),pn(An(o),"regularRules",void 0),pn(An(o),"defaultValue",void 0),pn(An(o),"encrypted",void 0),pn(An(o),"encryptedMode",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:200;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0,o.regularRules=new ul(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Ni.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:y.getMessage("pleaseEnter");var s;o.encrypted=(s=n==null?void 0:n.encrypted)!==null&&s!==void 0?s:!1;var _;return o.encryptedMode=(_=n==null?void 0:n.encryptedMode)!==null&&_!==void 0?_:"",o}return r}(K);pn(Si,"Rules",Cue),pn(Si,"RuntimeRules",kue);function ZA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vue(e,t,r){return t&&e3(e.prototype,t),r&&e3(e,r),e}function Ns(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Is(e){return Is=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Is(e)}function xue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n0(e,t)}function Uue(e,t){return t&&(Gue(t)==="object"||typeof t=="function")?t:ZA(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}function Gue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yue(e){var t=Hue();return function(){var n=Is(e),o;if(t){var i=Is(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uue(this,o)}}var Ni=function(e){xue(r,e);var t=Yue(r);function r(n){jue(this,r);var o;return o=t.call(this,n),Ns(ZA(o),"props",void 0),o.props=new Si(n==null?void 0:n.props),o}return Vue(r,null,[{key:"controlName",get:function(){return y.getMessage("input")}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(J);Ns(Ni,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ns(Ni,"controlFieldType",a.FieldTypes.VARCHAR),Ns(Ni,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,a.COMMON_SETTING_TYPE.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function t3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wue(e,t,r){return t&&n3(e.prototype,t),r&&n3(e,r),e}function r3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bs(e){return Bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bs(e)}function que(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&r0(e,t)}function Kue(e,t){return t&&(Xue(t)==="object"||typeof t=="function")?t:t3(e)}function r0(e,t){return r0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},r0(e,t)}function Xue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Que(e){var t=Jue();return function(){var n=Bs(e),o;if(t){var i=Bs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kue(this,o)}}var o3=function(e){que(r,e);var t=Que(r);function r(n){zue(this,r);var o;return o=t.call(this,n),r3(t3(o),"props",void 0),o.props=new Si(n==null?void 0:n.props),o}return Wue(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(Q);r3(o3,"controlFieldType",a.FieldTypes.VARCHAR);var i3={Designer:Ni,Runtime:o3,Property:Si};function at(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function As(e){return As=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},As(e)}function i0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u0(e,t)}function Zue(e,t){return t&&(ece(t)==="object"||typeof t=="function")?t:at(e)}function u0(e,t){return u0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},u0(e,t)}function ece(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c0(e){var t=tce();return function(){var n=As(e),o;if(t){var i=As(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zue(this,o)}}var nce=function(e){i0(r,e);var t=c0(r);function r(n){o0(this,r);var o;o=t.call(this,n),Qe(at(o),"limitMax",{type:"number",min:void 0,message:y.getMessage("PleaseReselectTheOptionalQuantity")});var i=n.limitMax==="unlimited";i&&(o.limitMax.type="string");var u=function(c){return c==="unlimited"?void 0:c};return o.limitMax.min=u(n.limitMin),o}return r}(so),rce=function(e){i0(r,e);var t=c0(r);function r(n){o0(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:typeof n.limitMax=="number"?n.limitMax:void 0,min:typeof n.limitMin=="number"?n.limitMin:void 0}),o}return r}(_e),lc=function(e){i0(r,e);var t=c0(r);function r(n){o0(this,r);var o;o=t.call(this,n),Qe(at(o),"checkboxMode",void 0),Qe(at(o),"options",void 0),Qe(at(o),"optionsOrder",void 0),Qe(at(o),"limitMax",void 0),Qe(at(o),"limitMin",void 0),Qe(at(o),"otherOption",void 0),Qe(at(o),"optionConfig",void 0),Qe(at(o),"optionsFormat",void 0),Qe(at(o),"defaultShowOptions",void 0),Qe(at(o),"datasourceBind",void 0),Qe(at(o),"multistageFilling",void 0),Qe(at(o),"interreaction",void 0),Qe(at(o),"defaultValue",void 0),Qe(at(o),"openMultistageFilling",void 0);var i;o.options=Nn((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.checkboxMode=(u=n==null?void 0:n.checkboxMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var l;o.optionsOrder=(l=n==null?void 0:n.optionsOrder)!==null&&l!==void 0?l:!1;var f;o.otherOption=(f=n==null?void 0:n.otherOption)!==null&&f!==void 0?f:!1;var s;o.limitMin=(s=n==null?void 0:n.limitMin)!==null&&s!==void 0?s:"unlimited";var _;o.limitMax=(_=n==null?void 0:n.limitMax)!==null&&_!==void 0?_:"unlimited",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var d;o.interreaction=(d=n==null?void 0:n.interreaction)!==null&&d!==void 0?d:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:fc.controlName;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:[];var h;o.optionsFormat=(h=n==null?void 0:n.optionsFormat)!==null&&h!==void 0?h:"horizontal";var E;o.defaultShowOptions=(E=n==null?void 0:n.defaultShowOptions)!==null&&E!==void 0?E:!0;var v;return o.openMultistageFilling=(v=n==null?void 0:n.openMultistageFilling)!==null&&v!==void 0?v:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(R){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new ht(R))})),o}return r}(K);Qe(lc,"Rules",nce),Qe(lc,"RuntimeRules",rce);function u3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ice(e,t,r){return t&&c3(e.prototype,t),r&&c3(e,r),e}function Ms(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ls(e){return Ls=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ls(e)}function uce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a0(e,t)}function cce(e,t){return t&&(ace(t)==="object"||typeof t=="function")?t:u3(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}function ace(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fce(e){var t=lce();return function(){var n=Ls(e),o;if(t){var i=Ls(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cce(this,o)}}var fc=function(e){uce(r,e);var t=fce(r);function r(n){oce(this,r);var o;return o=t.call(this,n),Ms(u3(o),"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return ice(r,null,[{key:"controlName",get:function(){return y.getMessage("checkBox")}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(J);Ms(fc,"controlEventKeys",["on_change","on_click"]),Ms(fc,"controlFieldType",a.FieldTypes.ARRAY),Ms(fc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{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}]);function a3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _ce(e,t,r){return t&&l3(e.prototype,t),r&&l3(e,r),e}function f3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ds(e)}function dce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l0(e,t)}function yce(e,t){return t&&(pce(t)==="object"||typeof t=="function")?t:a3(e)}function l0(e,t){return l0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l0(e,t)}function pce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hce(e){var t=vce();return function(){var n=Ds(e),o;if(t){var i=Ds(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yce(this,o)}}var s3=function(e){dce(r,e);var t=hce(r);function r(n){sce(this,r);var o;return o=t.call(this,n),f3(a3(o),"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return _ce(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(Q);f3(s3,"controlFieldType",a.FieldTypes.ARRAY);var _3={Designer:fc,Runtime:s3,Property:lc};function Dt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fs(e){return Fs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fs(e)}function y3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f0(e,t)}function gce(e,t){return t&&(mce(t)==="object"||typeof t=="function")?t:Dt(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function mce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p3(e){var t=bce();return function(){var n=Fs(e),o;if(t){var i=Fs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gce(this,o)}}var Oce=function(e){y3(r,e);var t=p3(r);function r(n){return d3(this,r),t.call(this,n)}return r}(so),Cs=function(e){y3(r,e);var t=p3(r);function r(n){d3(this,r);var o;o=t.call(this,n),Ft(Dt(o),"radioMode",void 0),Ft(Dt(o),"options",void 0),Ft(Dt(o),"optionConfig",void 0),Ft(Dt(o),"optionsFormat",void 0),Ft(Dt(o),"defaultShowOptions",void 0),Ft(Dt(o),"otherOption",void 0),Ft(Dt(o),"optionsOrder",void 0),Ft(Dt(o),"datasourceBind",void 0),Ft(Dt(o),"multistageFilling",void 0),Ft(Dt(o),"interreaction",void 0),Ft(Dt(o),"defaultValue",void 0),Ft(Dt(o),"openMultistageFilling",void 0);var i;o.options=Nn((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.radioMode=(u=n==null?void 0:n.radioMode)!==null&&u!==void 0?u:"horizontal";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom";var l;o.otherOption=(l=n==null?void 0:n.otherOption)!==null&&l!==void 0?l:!1;var f;o.optionsOrder=(f=n==null?void 0:n.optionsOrder)!==null&&f!==void 0?f:!1;var s;o.defaultShowOptions=(s=n==null?void 0:n.defaultShowOptions)!==null&&s!==void 0?s:!0;var _;o.optionsFormat=(_=n==null?void 0:n.optionsFormat)!==null&&_!==void 0?_:"horizontal",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var d;o.interreaction=(d=n==null?void 0:n.interreaction)!==null&&d!==void 0?d:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:sc.controlName;var m;o.defaultValue=(m=n==null?void 0:n.defaultValue)!==null&&m!==void 0?m:"";var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(E){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new ht(E))})),o}return r}(K);Ft(Cs,"Rules",Oce);function v3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ece(e,t,r){return t&&h3(e.prototype,t),r&&h3(e,r),e}function ks(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function js(e){return js=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},js(e)}function Pce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s0(e,t)}function Tce(e,t){return t&&($ce(t)==="object"||typeof t=="function")?t:v3(e)}function s0(e,t){return s0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},s0(e,t)}function $ce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sce(e){var t=Rce();return function(){var n=js(e),o;if(t){var i=js(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tce(this,o)}}var sc=function(e){Pce(r,e);var t=Sce(r);function r(n){wce(this,r);var o;return o=t.call(this,n),ks(v3(o),"props",void 0),o.props=new Cs(n==null?void 0:n.props),o}return Ece(r,null,[{key:"controlName",get:function(){return y.getMessage("radio")}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(J);ks(sc,"controlEventKeys",["on_change","on_click"]),ks(sc,"controlFieldType",a.FieldTypes.VARCHAR),ks(sc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function g3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ice(e,t,r){return t&&m3(e.prototype,t),r&&m3(e,r),e}function b3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vs(e){return Vs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vs(e)}function Bce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_0(e,t)}function Ace(e,t){return t&&(Mce(t)==="object"||typeof t=="function")?t:g3(e)}function _0(e,t){return _0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_0(e,t)}function Mce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dce(e){var t=Lce();return function(){var n=Vs(e),o;if(t){var i=Vs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ace(this,o)}}var O3=function(e){Bce(r,e);var t=Dce(r);function r(n){Nce(this,r);var o;return o=t.call(this,n),b3(g3(o),"props",void 0),o.props=new Cs(n==null?void 0:n.props),o}return Ice(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(Q);b3(O3,"controlFieldType",a.FieldTypes.VARCHAR);var w3={Designer:sc,Runtime:O3,Property:Cs};function Ot(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xs(e){return xs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xs(e)}function y0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p0(e,t)}function Fce(e,t){return t&&(Cce(t)==="object"||typeof t=="function")?t:Ot(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p0(e,t)}function Cce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v0(e){var t=kce();return function(){var n=xs(e),o;if(t){var i=xs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Fce(this,o)}}var jce=function(e){y0(r,e);var t=v0(r);function r(n){d0(this,r);var o;o=t.call(this,n),lt(Ot(o),"defaultValue",[{type:"number",min:0,max:200,message:y.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),lt(Ot(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue[0].max=i,o.defaultValue[0].min=u,o.defaultValue[0].message=y.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:y.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=nc(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(Ye),Vce=function(e){y0(r,e);var t=v0(r);function r(n){d0(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.rangeMax!==""?n.rangeMax:void 0,u=n.rangeMin!==""?n.rangeMin:void 0;return o.push({type:"number",max:i,min:u,message:y.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:nc(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(_e),_c=function(e){y0(r,e);var t=v0(r);function r(n){d0(this,r);var o;o=t.call(this,n),lt(Ot(o),"rangeMin",void 0),lt(Ot(o),"rangeMax",void 0),lt(Ot(o),"numberType",void 0),lt(Ot(o),"percentageFormat",void 0),lt(Ot(o),"micrometer",void 0),lt(Ot(o),"precision",void 0),lt(Ot(o),"showUpperCase",void 0),lt(Ot(o),"isShowUnit",void 0),lt(Ot(o),"unitPosition",void 0),lt(Ot(o),"unit",void 0),lt(Ot(o),"defaultValue",void 0),lt(Ot(o),"regularRules",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.numberType=(c=n==null?void 0:n.numberType)!==null&&c!==void 0?c:"number";var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var f;o.micrometer=(f=n==null?void 0:n.micrometer)!==null&&f!==void 0?f:!1;var s;o.precision=(s=n==null?void 0:n.precision)!==null&&s!==void 0?s:0;var _;o.showUpperCase=(_=n==null?void 0:n.showUpperCase)!==null&&_!==void 0?_:!1;var d;o.isShowUnit=(d=n==null?void 0:n.isShowUnit)!==null&&d!==void 0?d:!1;var p;o.unitPosition=(p=n==null?void 0:n.unitPosition)!==null&&p!==void 0?p:"right";var m;o.unit=(m=n==null?void 0:n.unit)!==null&&m!==void 0?m:"";var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:dc.controlName;var E;o.placeholder=(E=n==null?void 0:n.placeholder)!==null&&E!==void 0?E:y.getMessage("pleaseEnter");var v;return o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",o.regularRules=new ul(n==null?void 0:n.regularRules),o}return r}(K);lt(_c,"Rules",jce),lt(_c,"RuntimeRules",Vce);function E3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uce(e,t,r){return t&&P3(e.prototype,t),r&&P3(e,r),e}function Us(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gs(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Gs=Reflect.get:Gs=function(o,i,u){var c=Yce(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Gs(e,t,r||e)}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function Gce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h0(e,t)}function Hce(e,t){return t&&(zce(t)==="object"||typeof t=="function")?t:E3(e)}function h0(e,t){return h0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h0(e,t)}function Yce(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ii(e),e!==null););return e}function zce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qce(e){var t=Wce();return function(){var n=Ii(e),o;if(t){var i=Ii(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hce(this,o)}}var dc=function(e){Gce(r,e);var t=qce(r);function r(n){xce(this,r);var o;return o=t.call(this,n),Us(E3(o),"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return Uce(r,[{key:"toDataBindModel",value:function(o){var i=Gs(Ii(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return y.getMessage("number")}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(J);Us(dc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Us(dc,"controlFieldType",a.FieldTypes.DECIMAL),Us(dc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_UNIT,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[a.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,a.COMMON_SETTING_TYPE.MICROMETER,a.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function T3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xce(e,t,r){return t&&$3(e.prototype,t),r&&$3(e,r),e}function R3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hs(e)}function Jce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g0(e,t)}function Qce(e,t){return t&&(Zce(t)==="object"||typeof t=="function")?t:T3(e)}function g0(e,t){return g0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},g0(e,t)}function Zce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tae(e){var t=eae();return function(){var n=Hs(e),o;if(t){var i=Hs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qce(this,o)}}var S3=function(e){Jce(r,e);var t=tae(r);function r(n){Kce(this,r);var o;return o=t.call(this,n),R3(T3(o),"props",void 0),o.props=new _c(n==null?void 0:n.props),o}return Xce(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(Q);R3(S3,"controlFieldType",a.FieldTypes.DECIMAL);var N3={Designer:dc,Runtime:S3,Property:_c};function Qn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ys(e){return Ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ys(e)}function rae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m0(e,t)}function oae(e,t){return t&&(iae(t)==="object"||typeof t=="function")?t:Qn(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}function iae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cae(e){var t=uae();return function(){var n=Ys(e),o;if(t){var i=Ys(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oae(this,o)}}var b0=function(e){rae(r,e);var t=cae(r);function r(n){nae(this,r);var o,i;o=t.call(this,n),kr(Qn(o),"dateType",void 0),kr(Qn(o),"dateFormat",void 0),kr(Qn(o),"commonTimeSetting",void 0),kr(Qn(o),"setValueType",void 0),kr(Qn(o),"defaultValue",void 0),kr(Qn(o),"limitDateList",void 0),kr(Qn(o),"allowDateRange",void 0),kr(Qn(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:a.DateType.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var s;o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:Ws.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:y.getMessage("pleaseEnterDate");var d;o.defaultValue=(d=n==null?void 0:n.defaultValue)!==null&&d!==void 0?d:"";var p;o.limitDateList=(p=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(E){return new Xl(E)}))!==null&&p!==void 0?p:[];var m;o.allowDateRange=(m=n==null?void 0:n.allowDateRange)!==null&&m!==void 0?m:["",""];var h;return o.filterWeekend=(h=n==null?void 0:n.filterWeekend)!==null&&h!==void 0?h:!1,o}return r}(K);function I3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function B3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lae(e,t,r){return t&&B3(e.prototype,t),r&&B3(e,r),e}function O0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zs(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?zs=Reflect.get:zs=function(o,i,u){var c=_ae(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},zs(e,t,r||e)}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function fae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w0(e,t)}function sae(e,t){return t&&(dae(t)==="object"||typeof t=="function")?t:I3(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function _ae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Bi(e),e!==null););return e}function dae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pae(e){var t=yae();return function(){var n=Bi(e),o;if(t){var i=Bi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sae(this,o)}}var Ws=function(e){fae(r,e);var t=pae(r);function r(n){aae(this,r);var o;return o=t.call(this,n),O0(I3(o),"props",void 0),o.props=new b0(n==null?void 0:n.props),o}return lae(r,[{key:"toDataBindModel",value:function(o){var i=zs(Bi(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return y.getMessage("timestamp")}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(J);O0(Ws,"controlFieldType",a.FieldTypes.TIMESTAMP),O0(Ws,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function A3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function M3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hae(e,t,r){return t&&M3(e.prototype,t),r&&M3(e,r),e}function L3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qs(e){return qs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qs(e)}function gae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E0(e,t)}function mae(e,t){return t&&(bae(t)==="object"||typeof t=="function")?t:A3(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function bae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Oae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wae(e){var t=Oae();return function(){var n=qs(e),o;if(t){var i=qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mae(this,o)}}var D3=function(e){gae(r,e);var t=wae(r);function r(n){vae(this,r);var o;return o=t.call(this,n),L3(A3(o),"props",void 0),o.props=new b0(n==null?void 0:n.props),o}return hae(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(Q);L3(D3,"controlFieldType",a.FieldTypes.TIMESTAMP);var F3={Designer:Ws,Runtime:D3,Property:b0};function en(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ks(e){return Ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ks(e)}function k3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&P0(e,t)}function Eae(e,t){return t&&(Pae(t)==="object"||typeof t=="function")?t:en(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function Pae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j3(e){var t=Tae();return function(){var n=Ks(e),o;if(t){var i=Ks(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eae(this,o)}}var $ae=function(e){k3(r,e);var t=j3(r);function r(n){C3(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide&&o.push({type:"object",fields:{max:{type:"string",required:n.required,message:o[0].message},min:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(_e),Xs=function(e){k3(r,e);var t=j3(r);function r(n){C3(this,r);var o,i;o=t.call(this,n),tn(en(o),"dataBind",void 0),tn(en(o),"rangeMin",void 0),tn(en(o),"rangeMax",void 0),tn(en(o),"placeholderStart",void 0),tn(en(o),"placeholderEnd",void 0),tn(en(o),"dateFormat",void 0),tn(en(o),"commonTimeSetting",void 0),tn(en(o),"dateType",void 0),tn(en(o),"setValueType",void 0),tn(en(o),"defaultValue",void 0),tn(en(o),"limitDateList",void 0),o.dataBind=new QN(n==null?void 0:n.dataBind),o.defaultValue=new ZN(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:a.DateType.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var l;o.commonTimeSetting=(l=n==null?void 0:n.commonTimeSetting)!==null&&l!==void 0?l:[];var f;o.setValueType=(f=n==null?void 0:n.setValueType)!==null&&f!==void 0?f:"custom";var s;o.rangeMin=(s=n==null?void 0:n.rangeMin)!==null&&s!==void 0?s:"";var _;o.rangeMax=(_=n==null?void 0:n.rangeMax)!==null&&_!==void 0?_:"";var d;o.placeholderStart=(d=n==null?void 0:n.placeholderStart)!==null&&d!==void 0?d:y.getMessage("pleaseSelectStartDate");var p;o.placeholderEnd=(p=n==null?void 0:n.placeholderEnd)!==null&&p!==void 0?p:y.getMessage("pleaseSelectEndDate");var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:Qs.controlName;var h;return o.limitDateList=(h=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(E){return new Xl(E)}))!==null&&h!==void 0?h:[],o}return r}(K);tn(Xs,"RuntimeRules",$ae);function V3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sae(e,t,r){return t&&x3(e.prototype,t),r&&x3(e,r),e}function T0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Js(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Js=Reflect.get:Js=function(o,i,u){var c=Bae(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Js(e,t,r||e)}function Ai(e){return Ai=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ai(e)}function Nae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$0(e,t)}function Iae(e,t){return t&&(Aae(t)==="object"||typeof t=="function")?t:V3(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function Bae(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ai(e),e!==null););return e}function Aae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lae(e){var t=Mae();return function(){var n=Ai(e),o;if(t){var i=Ai(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iae(this,o)}}var Qs=function(e){Nae(r,e);var t=Lae(r);function r(n){Rae(this,r);var o;return o=t.call(this,n),T0(V3(o),"props",void 0),o.props=new Xs(n==null?void 0:n.props),o}return Sae(r,[{key:"toDataBindModel",value:function(o){var i=Js(Ai(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.dateType;i.props.dateType=u}return i}}],[{key:"controlName",get:function(){return y.getMessage("timescope")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(J);T0(Qs,"controlFieldType",a.FieldTypes.TIMESCOPE),T0(Qs,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function U3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function G3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fae(e,t,r){return t&&G3(e.prototype,t),r&&G3(e,r),e}function H3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zs(e){return Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zs(e)}function Cae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R0(e,t)}function kae(e,t){return t&&(jae(t)==="object"||typeof t=="function")?t:U3(e)}function R0(e,t){return R0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R0(e,t)}function jae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xae(e){var t=Vae();return function(){var n=Zs(e),o;if(t){var i=Zs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kae(this,o)}}var Y3=function(e){Cae(r,e);var t=xae(r);function r(n){Dae(this,r);var o;return o=t.call(this,n),H3(U3(o),"props",void 0),o.props=new Xs(n==null?void 0:n.props),o}return Fae(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(Q);H3(Y3,"controlFieldType",a.FieldTypes.TIMESCOPE);var z3={Designer:Qs,Runtime:Y3,Property:Xs};function jr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function S0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function e_(e){return e_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},e_(e)}function N0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I0(e,t)}function Uae(e,t){return t&&(Gae(t)==="object"||typeof t=="function")?t:jr(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function Gae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B0(e){var t=Hae();return function(){var n=e_(e),o;if(t){var i=e_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uae(this,o)}}var Yae=function(e){N0(r,e);var t=B0(r);function r(n){S0(this,r);var o;return o=t.call(this,n),Zn(jr(o),"maxLength",{type:"number",min:0,message:y.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Zn(jr(o),"minLength",{type:"number",max:1e6,message:y.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Zn(jr(o),"defaultValue",{type:"string",max:200,min:0,message:y.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=y.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(Ye),zae=function(e){N0(r,e);var t=B0(r);function r(n){S0(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:y.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(_e),yc=function(e){N0(r,e);var t=B0(r);function r(n){S0(this,r);var o;o=t.call(this,n),Zn(jr(o),"maxLength",void 0),Zn(jr(o),"minLength",void 0),Zn(jr(o),"defaultValue",void 0),Zn(jr(o),"rowHeightSetting",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:pc.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:y.getMessage("pleaseEnter"),o.rowHeightSetting=new dg(n==null?void 0:n.rowHeightSetting),o}return r}(K);Zn(yc,"Rules",Yae),Zn(yc,"RuntimeRules",zae);function W3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function q3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qae(e,t,r){return t&&q3(e.prototype,t),r&&q3(e,r),e}function t_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n_(e){return n_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},n_(e)}function Kae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A0(e,t)}function Xae(e,t){return t&&(Jae(t)==="object"||typeof t=="function")?t:W3(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function Jae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zae(e){var t=Qae();return function(){var n=n_(e),o;if(t){var i=n_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Xae(this,o)}}var pc=function(e){Kae(r,e);var t=Zae(r);function r(n){Wae(this,r);var o;return o=t.call(this,n),t_(W3(o),"props",void 0),o.props=new yc(n==null?void 0:n.props),o}return qae(r,null,[{key:"controlName",get:function(){return y.getMessage("textarea")}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(J);t_(pc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),t_(pc,"controlFieldType",a.FieldTypes.TEXT),t_(pc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{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}]);function K3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ele(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function X3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tle(e,t,r){return t&&X3(e.prototype,t),r&&X3(e,r),e}function J3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function r_(e){return r_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},r_(e)}function nle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&M0(e,t)}function rle(e,t){return t&&(ole(t)==="object"||typeof t=="function")?t:K3(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(e,t)}function ole(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ile(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ule(e){var t=ile();return function(){var n=r_(e),o;if(t){var i=r_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rle(this,o)}}var Q3=function(e){nle(r,e);var t=ule(r);function r(n){ele(this,r);var o;return o=t.call(this,n),J3(K3(o),"props",void 0),o.props=new yc(n==null?void 0:n.props),o}return tle(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(Q);J3(Q3,"controlFieldType",a.FieldTypes.TEXT);var Z3={Designer:pc,Runtime:Q3,Property:yc};function po(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o_(e){return o_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},o_(e)}function D0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&F0(e,t)}function cle(e,t){return t&&(ale(t)==="object"||typeof t=="function")?t:po(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function ale(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C0(e){var t=lle();return function(){var n=o_(e),o;if(t){var i=o_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cle(this,o)}}var fle=function(e){D0(r,e);var t=C0(r);function r(n){L0(this,r);var o;return o=t.call(this,n),Vr(po(o),"maxLength",{type:"number",min:0,message:y.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Vr(po(o),"minLength",{type:"number",max:1e6,message:y.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Vr(po(o),"defaultValue",{type:"string",max:200,min:0,message:y.getMessage("stringRangeError")}),o.maxLength.min=n.minLength,o.minLength.max=n.maxLength,o.defaultValue.max=n.maxLength,o.defaultValue.min=n.minLength,o.defaultValue.message=y.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(Ye),sle=function(e){D0(r,e);var t=C0(r);function r(n){L0(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:y.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(_e),vc=function(e){D0(r,e);var t=C0(r);function r(n){L0(this,r);var o;o=t.call(this,n),Vr(po(o),"maxLength",void 0),Vr(po(o),"minLength",void 0),Vr(po(o),"defaultValue",void 0);var i;o.maxLength=(i=n==null?void 0:n.maxLength)!==null&&i!==void 0?i:5e4;var u;o.minLength=(u=n==null?void 0:n.minLength)!==null&&u!==void 0?u:0;var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:hc.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:y.getMessage("pleaseEnter"),o}return r}(K);Vr(vc,"Rules",fle),Vr(vc,"RuntimeRules",sle);function eM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dle(e,t,r){return t&&tM(e.prototype,t),r&&tM(e,r),e}function i_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function u_(e){return u_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},u_(e)}function yle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&k0(e,t)}function ple(e,t){return t&&(vle(t)==="object"||typeof t=="function")?t:eM(e)}function k0(e,t){return k0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k0(e,t)}function vle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gle(e){var t=hle();return function(){var n=u_(e),o;if(t){var i=u_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ple(this,o)}}var hc=function(e){yle(r,e);var t=gle(r);function r(n){_le(this,r);var o;return o=t.call(this,n),i_(eM(o),"props",void 0),o.props=new vc(n==null?void 0:n.props),o}return dle(r,null,[{key:"controlName",get:function(){return y.getMessage("richText")}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(J);i_(hc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),i_(hc,"controlFieldType",a.FieldTypes.TEXT),i_(hc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}]);function nM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ble(e,t,r){return t&&rM(e.prototype,t),r&&rM(e,r),e}function oM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function c_(e){return c_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},c_(e)}function Ole(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&j0(e,t)}function wle(e,t){return t&&(Ele(t)==="object"||typeof t=="function")?t:nM(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}function Ele(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ple(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tle(e){var t=Ple();return function(){var n=c_(e),o;if(t){var i=c_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wle(this,o)}}var iM=function(e){Ole(r,e);var t=Tle(r);function r(n){mle(this,r);var o;return o=t.call(this,n),oM(nM(o),"props",void 0),o.props=new vc(n==null?void 0:n.props),o}return ble(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(Q);oM(iM,"controlFieldType",a.FieldTypes.TEXT);var uM={Designer:hc,Runtime:iM,Property:vc};function Ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a_(e){return a_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},a_(e)}function aM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V0(e,t)}function $le(e,t){return t&&(Rle(t)==="object"||typeof t=="function")?t:Ct(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function Rle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lM(e){var t=Sle();return function(){var n=a_(e),o;if(t){var i=a_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $le(this,o)}}var Nle=function(e){aM(r,e);var t=lM(r);function r(n){cM(this,r);var o;return o=t.call(this,n),kt(Ct(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:y.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(so),l_=function(e){aM(r,e);var t=lM(r);function r(n){cM(this,r);var o;o=t.call(this,n),kt(Ct(o),"options",void 0),kt(Ct(o),"defaultShowOptions",void 0),kt(Ct(o),"optionConfig",void 0),kt(Ct(o),"defaultValue",void 0),kt(Ct(o),"datasourceBind",void 0),kt(Ct(o),"multistageFilling",void 0),kt(Ct(o),"allowCopyOptions",void 0),kt(Ct(o),"openMultistageFilling",void 0),kt(Ct(o),"viewFormModelType",void 0),kt(Ct(o),"canViewForm",void 0),kt(Ct(o),"formBind",void 0);var i;o.options=Nn((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:s_.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:y.getMessage("pleaseSelect");var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:"";var _;o.allowCopyOptions=(_=n==null?void 0:n.allowCopyOptions)!==null&&_!==void 0?_:!1;var d;o.openMultistageFilling=(d=n==null?void 0:n.openMultistageFilling)!==null&&d!==void 0?d:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var E;(E=o.multistageFilling)===null||E===void 0||E.push(new ht(h))}));var p;o.canViewForm=(p=n==null?void 0:n.canViewForm)!==null&&p!==void 0?p:!1;var m;return o.viewFormModelType=(m=n==null?void 0:n.viewFormModelType)!==null&&m!==void 0?m:"window",o.formBind=new fo(n==null?void 0:n.formBind),o}return r}(K);kt(l_,"Rules",Nle);function fM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ile(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ble(e,t,r){return t&&sM(e.prototype,t),r&&sM(e,r),e}function x0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function f_(e){return f_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},f_(e)}function Ale(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&U0(e,t)}function Mle(e,t){return t&&(Lle(t)==="object"||typeof t=="function")?t:fM(e)}function U0(e,t){return U0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},U0(e,t)}function Lle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fle(e){var t=Dle();return function(){var n=f_(e),o;if(t){var i=f_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mle(this,o)}}var s_=function(e){Ale(r,e);var t=Fle(r);function r(n){Ile(this,r);var o;return o=t.call(this,n),x0(fM(o),"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return Ble(r,null,[{key:"controlName",get:function(){return y.getMessage("select")}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(J);x0(s_,"controlFieldType",a.FieldTypes.VARCHAR),x0(s_,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,a.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.CAN_VIEW_FORM,a.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function _M(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kle(e,t,r){return t&&dM(e.prototype,t),r&&dM(e,r),e}function yM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function __(e){return __=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},__(e)}function jle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&G0(e,t)}function Vle(e,t){return t&&(xle(t)==="object"||typeof t=="function")?t:_M(e)}function G0(e,t){return G0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G0(e,t)}function xle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ule(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gle(e){var t=Ule();return function(){var n=__(e),o;if(t){var i=__(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vle(this,o)}}var pM=function(e){jle(r,e);var t=Gle(r);function r(n){Cle(this,r);var o;return o=t.call(this,n),yM(_M(o),"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return kle(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(Q);yM(pM,"controlFieldType",a.FieldTypes.VARCHAR);var vM={Designer:s_,Runtime:pM,Property:l_};function nn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H0(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d_(e){return d_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},d_(e)}function Y0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&z0(e,t)}function Hle(e,t){return t&&(Yle(t)==="object"||typeof t=="function")?t:nn(e)}function z0(e,t){return z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},z0(e,t)}function Yle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W0(e){var t=zle();return function(){var n=d_(e),o;if(t){var i=d_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hle(this,o)}}var Wle=function(e){Y0(r,e);var t=W0(r);function r(n){H0(this,r);var o;return o=t.call(this,n),jt(nn(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:y.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(so),qle=function(e){Y0(r,e);var t=W0(r);function r(n){H0(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),gc=function(e){Y0(r,e);var t=W0(r);function r(n){H0(this,r);var o;o=t.call(this,n),jt(nn(o),"options",void 0),jt(nn(o),"defaultShowOptions",void 0),jt(nn(o),"optionConfig",void 0),jt(nn(o),"defaultValue",void 0),jt(nn(o),"datasourceBind",void 0),jt(nn(o),"multistageFilling",void 0),jt(nn(o),"openMultistageFilling",void 0),jt(nn(o),"viewFormModelType",void 0),jt(nn(o),"canViewForm",void 0),jt(nn(o),"formBind",void 0);var i;o.options=Nn((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]);var u;o.defaultShowOptions=(u=n==null?void 0:n.defaultShowOptions)!==null&&u!==void 0?u:!0;var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"custom",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:p_.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:y.getMessage("pleaseSelect");var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.openMultistageFilling=(_=n==null?void 0:n.openMultistageFilling)!==null&&_!==void 0?_:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new ht(m))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var p;return o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",o.formBind=new fo(n==null?void 0:n.formBind),o}return r}(K);jt(gc,"Rules",Wle),jt(gc,"RuntimeRules",qle);function hM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xle(e,t,r){return t&&gM(e.prototype,t),r&&gM(e,r),e}function q0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y_(e){return y_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},y_(e)}function Jle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&K0(e,t)}function Qle(e,t){return t&&(Zle(t)==="object"||typeof t=="function")?t:hM(e)}function K0(e,t){return K0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},K0(e,t)}function Zle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function efe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tfe(e){var t=efe();return function(){var n=y_(e),o;if(t){var i=y_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qle(this,o)}}var p_=function(e){Jle(r,e);var t=tfe(r);function r(n){Kle(this,r);var o;return o=t.call(this,n),q0(hM(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return Xle(r,null,[{key:"controlName",get:function(){return y.getMessage("selectMultiple")}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(J);q0(p_,"controlFieldType",a.FieldTypes.ARRAY),q0(p_,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.CAN_VIEW_FORM,a.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function mM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rfe(e,t,r){return t&&bM(e.prototype,t),r&&bM(e,r),e}function OM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function v_(e){return v_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},v_(e)}function ofe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&X0(e,t)}function ife(e,t){return t&&(ufe(t)==="object"||typeof t=="function")?t:mM(e)}function X0(e,t){return X0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},X0(e,t)}function ufe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function afe(e){var t=cfe();return function(){var n=v_(e),o;if(t){var i=v_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ife(this,o)}}var wM=function(e){ofe(r,e);var t=afe(r);function r(n){nfe(this,r);var o;return o=t.call(this,n),OM(mM(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return rfe(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(Q);OM(wM,"controlFieldType",a.FieldTypes.ARRAY);var EM={Designer:p_,Runtime:wM,Property:gc};function er(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function h_(e){return h_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},h_(e)}function TM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&J0(e,t)}function lfe(e,t){return t&&(ffe(t)==="object"||typeof t=="function")?t:er(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}function ffe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $M(e){var t=sfe();return function(){var n=h_(e),o;if(t){var i=h_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lfe(this,o)}}var _fe=function(e){TM(r,e);var t=$M(r);function r(n){PM(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),g_=function(e){TM(r,e);var t=$M(r);function r(n){PM(this,r);var o;o=t.call(this,n),tr(er(o),"showType",void 0),tr(er(o),"range",void 0),tr(er(o),"rangeOptions",void 0),tr(er(o),"multiple",void 0),tr(er(o),"defaultValueType",void 0),tr(er(o),"defaultValue",void 0),tr(er(o),"multistageFilling",void 0),tr(er(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:b_.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:y.getMessage("pleaseEnterNameorEmail");var p;return o.openMultistageFilling=(p=n==null?void 0:n.openMultistageFilling)!==null&&p!==void 0?p:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(m){var h;(h=o.multistageFilling)===null||h===void 0||h.push(new ht(m))})),o}return r}(K);tr(g_,"RuntimeRules",_fe);function RM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yfe(e,t,r){return t&&SM(e.prototype,t),r&&SM(e,r),e}function Q0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m_(e){return m_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},m_(e)}function pfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Z0(e,t)}function vfe(e,t){return t&&(hfe(t)==="object"||typeof t=="function")?t:RM(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(e,t)}function hfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mfe(e){var t=gfe();return function(){var n=m_(e),o;if(t){var i=m_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vfe(this,o)}}var b_=function(e){pfe(r,e);var t=mfe(r);function r(n){dfe(this,r);var o;return o=t.call(this,n),Q0(RM(o),"props",void 0),o.props=new g_(n==null?void 0:n.props),o}return yfe(r,null,[{key:"controlName",get:function(){return y.getMessage("people")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(J);Q0(b_,"controlFieldType",a.FieldTypes.EMPLOYEES),Q0(b_,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.MULTIPLE,a.COMMON_SETTING_TYPE.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}]);function NM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ofe(e,t,r){return t&&IM(e.prototype,t),r&&IM(e,r),e}function BM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function O_(e){return O_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},O_(e)}function wfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eO(e,t)}function Efe(e,t){return t&&(Pfe(t)==="object"||typeof t=="function")?t:NM(e)}function eO(e,t){return eO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eO(e,t)}function Pfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $fe(e){var t=Tfe();return function(){var n=O_(e),o;if(t){var i=O_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Efe(this,o)}}var AM=function(e){wfe(r,e);var t=$fe(r);function r(n){bfe(this,r);var o;return o=t.call(this,n),BM(NM(o),"props",void 0),o.props=new g_(n==null?void 0:n.props),o}return Ofe(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(Q);BM(AM,"controlFieldType",a.FieldTypes.EMPLOYEES);var MM={Designer:b_,Runtime:AM,Property:g_};function vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function w_(e){return w_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},w_(e)}function nO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rO(e,t)}function Rfe(e,t){return t&&(Sfe(t)==="object"||typeof t=="function")?t:vn(e)}function rO(e,t){return rO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rO(e,t)}function Sfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oO(e){var t=Nfe();return function(){var n=w_(e),o;if(t){var i=w_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rfe(this,o)}}var Ife=10485760,Bfe=104857600,Afe=1048576e3,Mfe=function(e){nO(r,e);var t=oO(r);function r(n){tO(this,r);var o;return o=t.call(this,n),rn(vn(o),"maxSize",{type:"number",min:0,max:Afe,message:y.getMessage("attachmentMaxSize")}),o}return r}(Ye),Lfe=function(e){nO(r,e);var t=oO(r);function r(n){tO(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({type:"array",max:n.maxLimit,min:n.minLimit,message:y.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(_e),Mi=function(e){nO(r,e);var t=oO(r);function r(n){tO(this,r);var o;o=t.call(this,n),rn(vn(o),"defaultValue",void 0),rn(vn(o),"showType",void 0),rn(vn(o),"resultShowType",void 0),rn(vn(o),"attachmentAccept",void 0),rn(vn(o),"maxLimit",void 0),rn(vn(o),"minLimit",void 0),rn(vn(o),"isShowWatermark",void 0),rn(vn(o),"watermarkFx",void 0),rn(vn(o),"maxSize",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:[];var u;o.showType=(u=n==null?void 0:n.showType)!==null&&u!==void 0?u:"default";var c;o.resultShowType=(c=n==null?void 0:n.resultShowType)!==null&&c!==void 0?c:"simple";var l;o.attachmentAccept=(l=n==null?void 0:n.attachmentAccept)!==null&&l!==void 0?l:[];var f;o.maxLimit=(f=n==null?void 0:n.maxLimit)!==null&&f!==void 0?f:10;var s;o.minLimit=(s=n==null?void 0:n.minLimit)!==null&&s!==void 0?s:0;var _;o.maxSize=(_=n==null?void 0:n.maxSize)!==null&&_!==void 0?_:Bfe;var d;o.caption=(d=n==null?void 0:n.caption)!==null&&d!==void 0?d:Li.controlName;var p;o.placeholder=(p=n==null?void 0:n.placeholder)!==null&&p!==void 0?p:"\u4E0A\u4F20\u9644\u4EF6";var m;o.isShowWatermark=(m=n==null?void 0:n.isShowWatermark)!==null&&m!==void 0?m:!1;var h;return o.watermarkFx=(h=n==null?void 0:n.watermarkFx)!==null&&h!==void 0?h:{},o}return r}(K);rn(Mi,"Rules",Mfe),rn(Mi,"RuntimeRules",Lfe);function LM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ffe(e,t,r){return t&&DM(e.prototype,t),r&&DM(e,r),e}function E_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P_(e){return P_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},P_(e)}function Cfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iO(e,t)}function kfe(e,t){return t&&(jfe(t)==="object"||typeof t=="function")?t:LM(e)}function iO(e,t){return iO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iO(e,t)}function jfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xfe(e){var t=Vfe();return function(){var n=P_(e),o;if(t){var i=P_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kfe(this,o)}}var Li=function(e){Cfe(r,e);var t=xfe(r);function r(n){Dfe(this,r);var o;return o=t.call(this,n),E_(LM(o),"props",void 0),o.props=new Mi(n==null?void 0:n.props),o}return Ffe(r,null,[{key:"controlName",get:function(){return y.getMessage("file")}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(J);E_(Li,"controlEventKeys",["on_change"]),E_(Li,"controlFieldType",a.FieldTypes.FILE),E_(Li,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function FM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ufe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gfe(e,t,r){return t&&CM(e.prototype,t),r&&CM(e,r),e}function kM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function T_(e){return T_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},T_(e)}function Hfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uO(e,t)}function Yfe(e,t){return t&&(zfe(t)==="object"||typeof t=="function")?t:FM(e)}function uO(e,t){return uO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uO(e,t)}function zfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qfe(e){var t=Wfe();return function(){var n=T_(e),o;if(t){var i=T_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yfe(this,o)}}var cO=function(e){Hfe(r,e);var t=qfe(r);function r(n){Ufe(this,r);var o;return o=t.call(this,n),kM(FM(o),"props",void 0),o.props=new Mi(n==null?void 0:n.props),o}return Gfe(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(Q);kM(cO,"controlFieldType",a.FieldTypes.FILE);var jM={Designer:Li,Runtime:cO,Property:Mi};function Kfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Jfe(e,t,r){return t&&VM(e.prototype,t),r&&VM(e,r),e}function xM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $_(e){return $_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$_(e)}function Qfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aO(e,t)}function Zfe(e,t){return t&&(ese(t)==="object"||typeof t=="function")?t:Kfe(e)}function aO(e,t){return aO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aO(e,t)}function ese(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nse(e){var t=tse();return function(){var n=$_(e),o;if(t){var i=$_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Zfe(this,o)}}var lO=function(e){Qfe(r,e);var t=nse(r);function r(n){Xfe(this,r);var o,i,u;o=t.call(this,n),o.props.showType="image";var c;o.props.caption=(c=n==null||(i=n.props)===null||i===void 0?void 0:i.caption)!==null&&c!==void 0?c:r.controlName;var l;return o.props.placeholder=(l=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&l!==void 0?l:"\u4E0A\u4F20\u56FE\u7247",o}return Jfe(r,null,[{key:"controlName",get:function(){return y.getMessage("image")}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Li);xM(lO,"controlFieldType",a.FieldTypes.IMAGE),xM(lO,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,a.COMMON_SETTING_TYPE.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function rse(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ose(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ise(e,t,r){return t&&UM(e.prototype,t),r&&UM(e,r),e}function R_(e){return R_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},R_(e)}function use(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fO(e,t)}function cse(e,t){return t&&(ase(t)==="object"||typeof t=="function")?t:rse(e)}function fO(e,t){return fO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fO(e,t)}function ase(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fse(e){var t=lse();return function(){var n=R_(e),o;if(t){var i=R_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cse(this,o)}}var sse=function(e){use(r,e);var t=fse(r);function r(n){ose(this,r);var o,i,u,c;o=t.call(this,n),o.props.showType="image";var l;o.props.maxLimit=(l=n==null||(i=n.props)===null||i===void 0?void 0:i.maxLimit)!==null&&l!==void 0?l:9;var f;o.props.caption=(f=n==null||(u=n.props)===null||u===void 0?void 0:u.caption)!==null&&f!==void 0?f:"\u56FE\u7247";var s;return o.props.placeholder=(s=n==null||(c=n.props)===null||c===void 0?void 0:c.placeholder)!==null&&s!==void 0?s:"\u4E0A\u4F20\u56FE\u7247",o}return ise(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(cO);function _se(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function S_(e){return S_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},S_(e)}function yse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sO(e,t)}function pse(e,t){return t&&(vse(t)==="object"||typeof t=="function")?t:_se(e)}function sO(e,t){return sO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sO(e,t)}function vse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gse(e){var t=hse();return function(){var n=S_(e),o;if(t){var i=S_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pse(this,o)}}var mse=function(e){yse(r,e);var t=gse(r);function r(n){return dse(this,r),t.call(this,n)}return r}(Mi),GM={Designer:lO,Runtime:sse,Property:mse};function wt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function N_(e){return N_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},N_(e)}function dO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yO(e,t)}function bse(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){Ze(e,o,r[o])})}return e}function Ose(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function wse(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ose(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Ese(e,t){return t&&(Pse(t)==="object"||typeof t=="function")?t:wt(e)}function yO(e,t){return yO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yO(e,t)}function Pse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pO(e){var t=Tse();return function(){var n=N_(e),o;if(t){var i=N_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ese(this,o)}}var $se=function(e){dO(r,e);var t=pO(r);function r(n){_O(this,r);var o;o=t.call(this,n),Ze(wt(o),"defaultValue",{type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:y.getMessage("pleaseEnterNumberRange")}]}}),Ze(wt(o),"rangeMax",{type:"any"});var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.defaultValue.fields.amount[0].max=i,o.defaultValue.fields.amount[0].min=u,o.defaultValue.fields.amount[0].message=y.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:y.getMessage("numberRangeSetError")}),o}return r}(so),Rse=function(e){dO(r,e);var t=pO(r);function r(n){_O(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="object");var i=n.rangeMax===""?void 0:n.rangeMax,u=n.rangeMin===""?void 0:n.rangeMin;return o.push({type:"object",fields:{amount:[wse(bse({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:y.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(_e),mc=function(e){dO(r,e);var t=pO(r);function r(n){_O(this,r);var o;o=t.call(this,n),Ze(wt(o),"rangeMin",void 0),Ze(wt(o),"rangeMax",void 0),Ze(wt(o),"showUpperCase",void 0),Ze(wt(o),"submitSelectCurrency",void 0),Ze(wt(o),"micrometer",void 0),Ze(wt(o),"precision",void 0),Ze(wt(o),"unitPosition",void 0),Ze(wt(o),"optionConfig",void 0),Ze(wt(o),"dataBind",void 0),Ze(wt(o),"datasourceBind",void 0),Ze(wt(o),"defaultValue",void 0),Ze(wt(o),"options",void 0);var i;o.rangeMin=(i=n==null?void 0:n.rangeMin)!==null&&i!==void 0?i:"";var u;o.rangeMax=(u=n==null?void 0:n.rangeMax)!==null&&u!==void 0?u:"";var c;o.optionConfig=(c=n==null?void 0:n.optionConfig)!==null&&c!==void 0?c:"datasource";var l;o.micrometer=(l=n==null?void 0:n.micrometer)!==null&&l!==void 0?l:!1;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:2,o.dataBind=new XN(n==null?void 0:n.dataBind);var s;o.datasourceBind=new Ue((s=n==null?void 0:n.datasourceBind)!==null&&s!==void 0?s:{displayBoList:[new ol({value:"name"})]});var _;o.defaultValue=new JN((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:a.AMOUNT_TYPE.CNY});var d;o.unitPosition=(d=n==null?void 0:n.unitPosition)!==null&&d!==void 0?d:"right",o.options=Nn(n==null?void 0:n.options);var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:bc.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:y.getMessage("pleaseEnter");var h;o.submitSelectCurrency=(h=n==null?void 0:n.submitSelectCurrency)!==null&&h!==void 0?h:!1;var E;return o.showUpperCase=(E=n==null?void 0:n.showUpperCase)!==null&&E!==void 0?E:!1,o}return r}(K);Ze(mc,"Rules",$se),Ze(mc,"RuntimeRules",Rse);function HM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Nse(e,t,r){return t&&YM(e.prototype,t),r&&YM(e,r),e}function I_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?B_=Reflect.get:B_=function(o,i,u){var c=Ase(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},B_(e,t,r||e)}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(e)}function Ise(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vO(e,t)}function Bse(e,t){return t&&(Mse(t)==="object"||typeof t=="function")?t:HM(e)}function vO(e,t){return vO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vO(e,t)}function Ase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Di(e),e!==null););return e}function Mse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dse(e){var t=Lse();return function(){var n=Di(e),o;if(t){var i=Di(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bse(this,o)}}var bc=function(e){Ise(r,e);var t=Dse(r);function r(n){Sse(this,r);var o;return o=t.call(this,n),I_(HM(o),"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return Nse(r,[{key:"toDataBindModel",value:function(o){var i=B_(Di(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return y.getMessage("amount")}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(J);I_(bc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),I_(bc,"controlFieldType",a.FieldTypes.MONEY),I_(bc,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,a.COMMON_SETTING_TYPE.MICROMETER,a.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function zM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Cse(e,t,r){return t&&WM(e.prototype,t),r&&WM(e,r),e}function qM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function A_(e){return A_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},A_(e)}function kse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hO(e,t)}function jse(e,t){return t&&(Vse(t)==="object"||typeof t=="function")?t:zM(e)}function hO(e,t){return hO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hO(e,t)}function Vse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Use(e){var t=xse();return function(){var n=A_(e),o;if(t){var i=A_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jse(this,o)}}var KM=function(e){kse(r,e);var t=Use(r);function r(n){Fse(this,r);var o;return o=t.call(this,n),qM(zM(o),"props",void 0),o.props=new mc(n==null?void 0:n.props),o}return Cse(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(Q);qM(KM,"controlFieldType",a.FieldTypes.MONEY);var XM={Designer:bc,Runtime:KM,Property:mc};function xr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M_(e){return M_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},M_(e)}function mO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bO(e,t)}function Gse(e,t){return t&&(Hse(t)==="object"||typeof t=="function")?t:xr(e)}function bO(e,t){return bO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bO(e,t)}function Hse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OO(e){var t=Yse();return function(){var n=M_(e),o;if(t){var i=M_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gse(this,o)}}var zse=function(e){mO(r,e);var t=OO(r);function r(n){gO(this,r);var o;return o=t.call(this,n),nr(xr(o),"totalScore",[{type:"number",required:!0,message:y.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:y.getMessage("theTotalScoreMustNotBeLessThan1")}]),nr(xr(o),"defaultValue",{type:"number",min:0,max:5,message:y.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=y.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(Ye),Wse=function(e){mO(r,e);var t=OO(r);function r(n){gO(this,r);var o;o=t.call(this,n),o[0]!==void 0&&(o[0].type="number");var i=n.required?1:0;return o.push({type:"number",min:i,max:n.totalScore,message:y.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(_e),Oc=function(e){mO(r,e);var t=OO(r);function r(n){gO(this,r);var o,i;o=t.call(this,n),nr(xr(o),"totalScore",void 0),nr(xr(o),"scoreType",void 0),nr(xr(o),"isShowExplain",void 0),nr(xr(o),"explain",void 0),nr(xr(o),"defaultValue",void 0);var u;o.totalScore=(u=n==null?void 0:n.totalScore)!==null&&u!==void 0?u:5;var c;o.scoreType=(c=n==null?void 0:n.scoreType)!==null&&c!==void 0?c:a.SCORE_TYPE.STAR;var l;o.isShowExplain=(l=n==null?void 0:n.isShowExplain)!==null&&l!==void 0?l:!0;var f;o.explain=(f=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(d){return new Jl(d)}))!==null&&f!==void 0?f:Array(o.totalScore).fill(void 0).map(function(){return new Jl});var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:0;var _;return o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:wc.controlName,o}return r}(K);nr(Oc,"Rules",zse),nr(Oc,"RuntimeRules",Wse);function wO(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function qse(e){if(Array.isArray(e))return wO(e)}function JM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xse(e,t,r){return t&&QM(e.prototype,t),r&&QM(e,r),e}function L_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function D_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?D_=Reflect.get:D_=function(o,i,u){var c=t_e(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},D_(e,t,r||e)}function Fi(e){return Fi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fi(e)}function Jse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&EO(e,t)}function Qse(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Zse(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function e_e(e,t){return t&&(r_e(t)==="object"||typeof t=="function")?t:JM(e)}function EO(e,t){return EO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EO(e,t)}function t_e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Fi(e),e!==null););return e}function n_e(e){return qse(e)||Qse(e)||o_e(e)||Zse()}function r_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function o_e(e,t){if(!!e){if(typeof e=="string")return wO(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return wO(e,t)}}function i_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function u_e(e){var t=i_e();return function(){var n=Fi(e),o;if(t){var i=Fi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return e_e(this,o)}}var wc=function(e){Jse(r,e);var t=u_e(r);function r(n){Kse(this,r);var o;return o=t.call(this,n),L_(JM(o),"props",void 0),o.props=new Oc(n==null?void 0:n.props),o}return Xse(r,[{key:"postUpdate",value:function(o,i){if(o==="totalScore"){if(i===this.props.explain.length)return;if(this.props.explain.length>i)this.props.explain=this.props.explain.slice(0,i);else{var u,c=i-this.props.explain.length,l=Array(c).fill(void 0).map(function(){return new Jl});(u=this.props.explain).push.apply(u,n_e(l))}}D_(Fi(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return y.getMessage("score")}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(J);L_(wc,"controlEventKeys",["on_change","on_click"]),L_(wc,"controlFieldType",a.FieldTypes.DECIMAL),L_(wc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function ZM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function eL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function a_e(e,t,r){return t&&eL(e.prototype,t),r&&eL(e,r),e}function tL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function F_(e){return F_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},F_(e)}function l_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PO(e,t)}function f_e(e,t){return t&&(s_e(t)==="object"||typeof t=="function")?t:ZM(e)}function PO(e,t){return PO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PO(e,t)}function s_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function __e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d_e(e){var t=__e();return function(){var n=F_(e),o;if(t){var i=F_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return f_e(this,o)}}var nL=function(e){l_e(r,e);var t=d_e(r);function r(n){c_e(this,r);var o;return o=t.call(this,n),tL(ZM(o),"props",void 0),o.props=new Oc(n==null?void 0:n.props),o}return a_e(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(Q);tL(nL,"controlFieldType",a.FieldTypes.DECIMAL);var rL={Designer:wc,Runtime:nL,Property:Oc};function C_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function k_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j_(e){return j_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},j_(e)}function iL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&TO(e,t)}function y_e(e,t){return t&&(p_e(t)==="object"||typeof t=="function")?t:C_(e)}function TO(e,t){return TO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TO(e,t)}function p_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uL(e){var t=v_e();return function(){var n=j_(e),o;if(t){var i=j_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y_e(this,o)}}var h_e=function(e){iL(r,e);var t=uL(r);function r(n){oL(this,r);var o;if(o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),n.required&&!n.isHide){var i={type:"object",fields:{province:{type:"string",required:n.required,message:y.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:y.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:y.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(_e),V_=function(e){iL(r,e);var t=uL(r);function r(n){oL(this,r);var o;o=t.call(this,n),k_(C_(o),"defaultValueType",void 0),k_(C_(o),"defaultValue",void 0),k_(C_(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:U_.controlName;var u;o.defaultValueType=(u=n==null?void 0:n.defaultValueType)!==null&&u!==void 0?u:"default";var c;o.addressType=(c=n==null?void 0:n.addressType)!==null&&c!==void 0?c:["province","city","district"];var l;o.defaultValue=new eI((l=n==null?void 0:n.defaultValue)!==null&&l!==void 0?l:{});var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:y.getMessage("pleaseChooseAddress"),o}return r}(K);k_(V_,"RuntimeRules",h_e);function cL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function m_e(e,t,r){return t&&aL(e.prototype,t),r&&aL(e,r),e}function $O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function x_(e){return x_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},x_(e)}function b_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RO(e,t)}function O_e(e,t){return t&&(w_e(t)==="object"||typeof t=="function")?t:cL(e)}function RO(e,t){return RO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RO(e,t)}function w_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function E_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P_e(e){var t=E_e();return function(){var n=x_(e),o;if(t){var i=x_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return O_e(this,o)}}var U_=function(e){b_e(r,e);var t=P_e(r);function r(n){g_e(this,r);var o;return o=t.call(this,n),$O(cL(o),"props",void 0),o.props=new V_(n==null?void 0:n.props),o}return m_e(r,null,[{key:"controlName",get:function(){return y.getMessage("address")}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(J);$O(U_,"controlFieldType",a.FieldTypes.ADDRESS),$O(U_,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function lL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $_e(e,t,r){return t&&fL(e.prototype,t),r&&fL(e,r),e}function sL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function G_(e){return G_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},G_(e)}function R_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&SO(e,t)}function S_e(e,t){return t&&(N_e(t)==="object"||typeof t=="function")?t:lL(e)}function SO(e,t){return SO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},SO(e,t)}function N_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function B_e(e){var t=I_e();return function(){var n=G_(e),o;if(t){var i=G_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S_e(this,o)}}var _L=function(e){R_e(r,e);var t=B_e(r);function r(n){T_e(this,r);var o;return o=t.call(this,n),sL(lL(o),"props",void 0),o.props=new V_(n==null?void 0:n.props),o}return $_e(r,null,[{key:"controlName",get:function(){return"\u7701\u5E02\u533A"}},{key:"controlIcon",get:function(){return"iconicon_site_management11"}},{key:"controlType",get:function(){return"address"}}]),r}(Q);sL(_L,"controlFieldType",a.FieldTypes.ADDRESS);var dL={Designer:U_,Runtime:_L,Property:V_};function hn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function H_(e){return H_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},H_(e)}function pL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NO(e,t)}function A_e(e,t){return t&&(M_e(t)==="object"||typeof t=="function")?t:hn(e)}function NO(e,t){return NO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NO(e,t)}function M_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vL(e){var t=L_e();return function(){var n=H_(e),o;if(t){var i=H_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A_e(this,o)}}var D_e=function(e){pL(r,e);var t=vL(r);function r(n){yL(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Y_=function(e){pL(r,e);var t=vL(r);function r(n){yL(this,r);var o;o=t.call(this,n),gn(hn(o),"showType",void 0),gn(hn(o),"range",void 0),gn(hn(o),"defaultValueType",void 0),gn(hn(o),"multiple",void 0),gn(hn(o),"rangeOptions",void 0),gn(hn(o),"defaultValue",void 0),gn(hn(o),"displayLevel",void 0),gn(hn(o),"showSubDept",void 0),gn(hn(o),"multistageFilling",void 0),gn(hn(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Ec.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:y.getMessage("pleaseSelectDept");var h;return o.openMultistageFilling=(h=n==null?void 0:n.openMultistageFilling)!==null&&h!==void 0?h:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(E){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new ht(E))})),o}return r}(K);gn(Y_,"RuntimeRules",D_e);function hL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function F_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function C_e(e,t,r){return t&&gL(e.prototype,t),r&&gL(e,r),e}function z_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function W_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?W_=Reflect.get:W_=function(o,i,u){var c=V_e(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},W_(e,t,r||e)}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function k_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&IO(e,t)}function j_e(e,t){return t&&(x_e(t)==="object"||typeof t=="function")?t:hL(e)}function IO(e,t){return IO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IO(e,t)}function V_e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ci(e),e!==null););return e}function x_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G_e(e){var t=U_e();return function(){var n=Ci(e),o;if(t){var i=Ci(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return j_e(this,o)}}var Ec=function(e){k_e(r,e);var t=G_e(r);function r(n){F_e(this,r);var o;return o=t.call(this,n),z_(hL(o),"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return C_e(r,[{key:"toDataBindModel",value:function(o){var i=W_(Ci(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(J);z_(Ec,"controlName",y.getMessage("department")),z_(Ec,"controlFieldType",a.FieldTypes.DEPARTMENTS),z_(Ec,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.MULTIPLE,a.COMMON_SETTING_TYPE.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}]);function mL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y_e(e,t,r){return t&&bL(e.prototype,t),r&&bL(e,r),e}function OL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function q_(e){return q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},q_(e)}function z_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&BO(e,t)}function W_e(e,t){return t&&(q_e(t)==="object"||typeof t=="function")?t:mL(e)}function BO(e,t){return BO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},BO(e,t)}function q_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function K_e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function X_e(e){var t=K_e();return function(){var n=q_(e),o;if(t){var i=q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return W_e(this,o)}}var wL=function(e){z_e(r,e);var t=X_e(r);function r(n){H_e(this,r);var o;return o=t.call(this,n),OL(mL(o),"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return Y_e(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(Q);OL(wL,"controlFieldType",a.FieldTypes.DEPARTMENTS);var EL={Designer:Ec,Runtime:wL,Property:Y_};function PL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function J_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q_e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function K_(e){return K_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},K_(e)}function Z_e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AO(e,t)}function ede(e,t){return t&&(tde(t)==="object"||typeof t=="function")?t:PL(e)}function AO(e,t){return AO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},AO(e,t)}function tde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rde(e){var t=nde();return function(){var n=K_(e),o;if(t){var i=K_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ede(this,o)}}var MO=function(e){Z_e(r,e);var t=rde(r);function r(n){J_e(this,r);var o;o=t.call(this,n),Q_e(PL(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:"";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Pc.controlName;var c;return o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:y.getMessage("pleaseEnterAutonumber"),o}return r}(K);function TL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ode(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $L(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ide(e,t,r){return t&&$L(e.prototype,t),r&&$L(e,r),e}function X_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function J_(e){return J_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},J_(e)}function ude(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LO(e,t)}function cde(e,t){return t&&(ade(t)==="object"||typeof t=="function")?t:TL(e)}function LO(e,t){return LO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LO(e,t)}function ade(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fde(e){var t=lde();return function(){var n=J_(e),o;if(t){var i=J_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cde(this,o)}}var Pc=function(e){ude(r,e);var t=fde(r);function r(n){ode(this,r);var o;return o=t.call(this,n),X_(TL(o),"props",void 0),o.props=new MO(n==null?void 0:n.props),o}return ide(r,null,[{key:"controlName",get:function(){return y.getMessage("autoNumber")}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(J);X_(Pc,"controlEventKeys",["on_change"]),X_(Pc,"controlFieldType",a.FieldTypes.AUTO_NUMBER),X_(Pc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function RL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _de(e,t,r){return t&&SL(e.prototype,t),r&&SL(e,r),e}function NL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Q_(e){return Q_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Q_(e)}function dde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&DO(e,t)}function yde(e,t){return t&&(pde(t)==="object"||typeof t=="function")?t:RL(e)}function DO(e,t){return DO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DO(e,t)}function pde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hde(e){var t=vde();return function(){var n=Q_(e),o;if(t){var i=Q_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yde(this,o)}}var IL=function(e){dde(r,e);var t=hde(r);function r(n){sde(this,r);var o;return o=t.call(this,n),NL(RL(o),"props",void 0),o.props=new MO(n==null?void 0:n.props),o}return _de(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(Q);NL(IL,"controlFieldType",a.FieldTypes.AUTO_NUMBER);var BL={Designer:Pc,Runtime:IL,Property:MO};function Mn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Z_(e){return Z_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Z_(e)}function CO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kO(e,t)}function gde(e,t){return t&&(mde(t)==="object"||typeof t=="function")?t:Mn(e)}function kO(e,t){return kO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kO(e,t)}function mde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jO(e){var t=bde();return function(){var n=Z_(e),o;if(t){var i=Z_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gde(this,o)}}var Ode=function(e){CO(r,e);var t=jO(r);function r(n){FO(this,r);var o;return o=t.call(this,n),o.dataBind.fields.result.required=!1,o.dataBind.fields.result.fields.fieldCode.required=!1,o.dataBind.fields.result.fields.dataCode.required=!1,o.dataBind.fields.unit.required=!1,o.dataBind.fields.unit.fields.fieldCode.required=!1,o.dataBind.fields.unit.fields.dataCode.required=!1,o}return r}(Ye),wde=function(e){CO(r,e);var t=jO(r);function r(n){FO(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:y.getMessage("isNotObject"),fields:{result:[{type:"number",message:y.getMessage("isNotNumber")}],unit:{type:"string",message:y.getMessage("isNotString")}}}),o}return r}(_e),Tc=function(e){CO(r,e);var t=jO(r);function r(n){FO(this,r);var o;o=t.call(this,n),mn(Mn(o),"precision",void 0),mn(Mn(o),"micrometer",void 0),mn(Mn(o),"showUpperCase",void 0),mn(Mn(o),"scriptSrc",void 0),mn(Mn(o),"scriptEcho",void 0),mn(Mn(o),"dataBind",void 0),mn(Mn(o),"defaultValue",void 0),mn(Mn(o),"unitPosition",void 0),mn(Mn(o),"calcOnMounted",void 0);var i;o.precision=(i=n==null?void 0:n.precision)!==null&&i!==void 0?i:0;var u;o.micrometer=(u=n==null?void 0:n.micrometer)!==null&&u!==void 0?u:!1;var c;o.showUpperCase=(c=n==null?void 0:n.showUpperCase)!==null&&c!==void 0?c:!1,o.dataBind=new tI(n==null?void 0:n.dataBind),o.defaultValue=new nI(n==null?void 0:n.defaultValue);var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:$c.controlName;var f;o.unitPosition=(f=n==null?void 0:n.unitPosition)!==null&&f!==void 0?f:"right";var s;o.placeholder=(s=n==null?void 0:n.placeholder)!==null&&s!==void 0?s:y.getMessage("pleaseEnter");var _;o.scriptEcho=(_=n==null?void 0:n.scriptEcho)!==null&&_!==void 0?_:[];var d;o.scriptSrc=(d=n==null?void 0:n.scriptSrc)!==null&&d!==void 0?d:"";var p;return o.calcOnMounted=(p=n==null?void 0:n.calcOnMounted)!==null&&p!==void 0?p:!1,o}return r}(K);mn(Tc,"Rules",Ode),mn(Tc,"RuntimeRules",wde);function AL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ede(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ML(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pde(e,t,r){return t&&ML(e.prototype,t),r&&ML(e,r),e}function ed(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function td(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?td=Reflect.get:td=function(o,i,u){var c=Rde(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},td(e,t,r||e)}function ki(e){return ki=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ki(e)}function Tde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&VO(e,t)}function $de(e,t){return t&&(Sde(t)==="object"||typeof t=="function")?t:AL(e)}function VO(e,t){return VO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},VO(e,t)}function Rde(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ki(e),e!==null););return e}function Sde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ide(e){var t=Nde();return function(){var n=ki(e),o;if(t){var i=ki(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $de(this,o)}}var $c=function(e){Tde(r,e);var t=Ide(r);function r(n){Ede(this,r);var o;return o=t.call(this,n),ed(AL(o),"props",void 0),o.props=new Tc(n==null?void 0:n.props),o}return Pde(r,[{key:"toDataBindModel",value:function(o){var i=td(ki(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}],[{key:"controlName",get:function(){return y.getMessage("calc")}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(J);ed($c,"controlEventKeys",["on_change"]),ed($c,"controlFieldType",a.FieldTypes.CALC),ed($c,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"calc-on-mounted",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[a.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,a.COMMON_SETTING_TYPE.MICROMETER,a.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function LL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ade(e,t,r){return t&&DL(e.prototype,t),r&&DL(e,r),e}function FL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nd(e){return nd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nd(e)}function Mde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xO(e,t)}function Lde(e,t){return t&&(Dde(t)==="object"||typeof t=="function")?t:LL(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xO(e,t)}function Dde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cde(e){var t=Fde();return function(){var n=nd(e),o;if(t){var i=nd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lde(this,o)}}var CL=function(e){Mde(r,e);var t=Cde(r);function r(n){Bde(this,r);var o;return o=t.call(this,n),FL(LL(o),"props",void 0),o.props=new Tc(n==null?void 0:n.props),o}return Ade(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(Q);FL(CL,"controlFieldType",a.FieldTypes.CALC);var kL={Designer:$c,Runtime:CL,Property:Tc};function ji(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rd(e){return rd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rd(e)}function VL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UO(e,t)}function kde(e,t){return t&&(jde(t)==="object"||typeof t=="function")?t:ji(e)}function UO(e,t){return UO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UO(e,t)}function jde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xL(e){var t=Vde();return function(){var n=rd(e),o;if(t){var i=rd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kde(this,o)}}var xde=function(e){VL(r,e);var t=xL(r);function r(n){jL(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o.push({validator:function(u,c){if(n.required){var l=c.every(function(f){return!f});return l?Promise.reject(y.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(_e),od=function(e){VL(r,e);var t=xL(r);function r(n){jL(this,r);var o;o=t.call(this,n),Vi(ji(o),"rangeMin",void 0),Vi(ji(o),"rangeMax",void 0),Vi(ji(o),"placeholderStart",void 0),Vi(ji(o),"placeholderEnd",void 0),Vi(ji(o),"defaultValue",void 0);var i;o.defaultValue=(i=n==null?void 0:n.defaultValue)!==null&&i!==void 0?i:["",""];var u;o.rangeMin=(u=n==null?void 0:n.rangeMin)!==null&&u!==void 0?u:"";var c;o.rangeMax=(c=n==null?void 0:n.rangeMax)!==null&&c!==void 0?c:"";var l;o.placeholderStart=(l=n==null?void 0:n.placeholderStart)!==null&&l!==void 0?l:y.getMessage("min");var f;o.placeholderEnd=(f=n==null?void 0:n.placeholderEnd)!==null&&f!==void 0?f:y.getMessage("max");var s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:ud.controlName,o}return r}(K);Vi(od,"RuntimeRules",xde);function UL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ude(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gde(e,t,r){return t&&GL(e.prototype,t),r&&GL(e,r),e}function GO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function id(e){return id=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},id(e)}function Hde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&HO(e,t)}function Yde(e,t){return t&&(zde(t)==="object"||typeof t=="function")?t:UL(e)}function HO(e,t){return HO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HO(e,t)}function zde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qde(e){var t=Wde();return function(){var n=id(e),o;if(t){var i=id(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Yde(this,o)}}var ud=function(e){Hde(r,e);var t=qde(r);function r(n){Ude(this,r);var o;return o=t.call(this,n),GO(UL(o),"props",void 0),o.props=new od(n==null?void 0:n.props),o}return Gde(r,null,[{key:"controlName",get:function(){return y.getMessage("searchNumberRange")}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(J);GO(ud,"controlFieldType",a.FieldTypes.DECIMAL_RANGE),GO(ud,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function HL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xde(e,t,r){return t&&YL(e.prototype,t),r&&YL(e,r),e}function zL(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cd(e){return cd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cd(e)}function Jde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&YO(e,t)}function Qde(e,t){return t&&(Zde(t)==="object"||typeof t=="function")?t:HL(e)}function YO(e,t){return YO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YO(e,t)}function Zde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tye(e){var t=eye();return function(){var n=cd(e),o;if(t){var i=cd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qde(this,o)}}var WL=function(e){Jde(r,e);var t=tye(r);function r(n){Kde(this,r);var o;return o=t.call(this,n),zL(HL(o),"props",void 0),o.props=new od(n==null?void 0:n.props),o}return Xde(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(Q);zL(WL,"controlFieldType",a.FieldTypes.DECIMAL_RANGE);var qL={Designer:ud,Runtime:WL,Property:od};function bn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function On(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ad(e){return ad=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ad(e)}function XL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zO(e,t)}function nye(e,t){return t&&(rye(t)==="object"||typeof t=="function")?t:bn(e)}function zO(e,t){return zO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zO(e,t)}function rye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JL(e){var t=oye();return function(){var n=ad(e),o;if(t){var i=ad(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nye(this,o)}}var iye=function(e){XL(r,e);var t=JL(r);function r(n){KL(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),n.required&&!n.isHide&&o.push({type:"array",fields:{0:{type:"string",required:n.required,message:o[0].message},1:{type:"string",required:n.required,message:o[0].message}}}),o}return r}(_e),ld=function(e){XL(r,e);var t=JL(r);function r(n){KL(this,r);var o,i;o=t.call(this,n),On(bn(o),"rangeMin",void 0),On(bn(o),"rangeMax",void 0),On(bn(o),"placeholderStart",void 0),On(bn(o),"placeholderEnd",void 0),On(bn(o),"dateType",void 0),On(bn(o),"dateFormat",void 0),On(bn(o),"commonTimeSetting",void 0),On(bn(o),"setValueType",void 0),On(bn(o),"defaultValue",void 0),On(bn(o),"limitDateList",void 0);var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:["",""];var c;o.dateType=(c=n==null?void 0:n.dateType)!==null&&c!==void 0?c:a.DateType.DATE;var l;o.dateFormat=(l=n==null?void 0:n.dateFormat)!==null&&l!==void 0?l:"";var f;o.commonTimeSetting=(f=n==null?void 0:n.commonTimeSetting)!==null&&f!==void 0?f:[];var s;o.setValueType=(s=n==null?void 0:n.setValueType)!==null&&s!==void 0?s:"custom";var _;o.rangeMin=(_=n==null?void 0:n.rangeMin)!==null&&_!==void 0?_:"";var d;o.rangeMax=(d=n==null?void 0:n.rangeMax)!==null&&d!==void 0?d:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:y.getMessage("startDate");var m;o.placeholderEnd=(m=n==null?void 0:n.placeholderEnd)!==null&&m!==void 0?m:y.getMessage("endDate");var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:sd.controlName;var E;return o.limitDateList=(E=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(v){return new Xl(v)}))!==null&&E!==void 0?E:[],o}return r}(K);On(ld,"RuntimeRules",iye);function QL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cye(e,t,r){return t&&ZL(e.prototype,t),r&&ZL(e,r),e}function WO(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function fd(e){return fd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fd(e)}function aye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qO(e,t)}function lye(e,t){return t&&(fye(t)==="object"||typeof t=="function")?t:QL(e)}function qO(e,t){return qO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qO(e,t)}function fye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _ye(e){var t=sye();return function(){var n=fd(e),o;if(t){var i=fd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lye(this,o)}}var sd=function(e){aye(r,e);var t=_ye(r);function r(n){uye(this,r);var o;return o=t.call(this,n),WO(QL(o),"props",void 0),o.props=new ld(n==null?void 0:n.props),o}return cye(r,null,[{key:"controlName",get:function(){return y.getMessage("timescope")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(J);WO(sd,"controlFieldType",a.FieldTypes.ARRAY),WO(sd,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function eD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yye(e,t,r){return t&&tD(e.prototype,t),r&&tD(e,r),e}function nD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _d(e){return _d=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_d(e)}function pye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&KO(e,t)}function vye(e,t){return t&&(hye(t)==="object"||typeof t=="function")?t:eD(e)}function KO(e,t){return KO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KO(e,t)}function hye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mye(e){var t=gye();return function(){var n=_d(e),o;if(t){var i=_d(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vye(this,o)}}var rD=function(e){pye(r,e);var t=mye(r);function r(n){dye(this,r);var o;return o=t.call(this,n),nD(eD(o),"props",void 0),o.props=new ld(n==null?void 0:n.props),o}return yye(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(Q);nD(rD,"controlFieldType",a.FieldTypes.ARRAY);var oD={Designer:sd,Runtime:rD,Property:ld};function Rc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dd(e){return dd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dd(e)}function JO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&QO(e,t)}function bye(e,t){return t&&(Oye(t)==="object"||typeof t=="function")?t:Rc(e)}function QO(e,t){return QO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},QO(e,t)}function Oye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZO(e){var t=wye();return function(){var n=dd(e),o;if(t){var i=dd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bye(this,o)}}var Eye=function(e){JO(r,e);var t=ZO(r);function r(n){XO(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(Ye),Pye=function(e){JO(r,e);var t=ZO(r);function r(n){XO(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(_e),Sc=function(e){JO(r,e);var t=ZO(r);function r(n){XO(this,r);var o;o=t.call(this,n),xi(Rc(o),"controlExportName",void 0),xi(Rc(o),"permissions",void 0),xi(Rc(o),"defaultValue",void 0),xi(Rc(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Ui.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var f;return o.isInlineEdit=(f=n==null?void 0:n.isInlineEdit)!==null&&f!==void 0?f:!1,o}return r}(K);xi(Sc,"Rules",Eye),xi(Sc,"RuntimeRules",Pye);function iD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $ye(e,t,r){return t&&uD(e.prototype,t),r&&uD(e,r),e}function Nc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yd(e){return yd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yd(e)}function Rye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ew(e,t)}function Sye(e,t){return t&&(Nye(t)==="object"||typeof t=="function")?t:iD(e)}function ew(e,t){return ew=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ew(e,t)}function Nye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Iye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bye(e){var t=Iye();return function(){var n=yd(e),o;if(t){var i=yd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Sye(this,o)}}var Ui=function(e){Rye(r,e);var t=Bye(r);function r(n){Tye(this,r);var o;return o=t.call(this,n),Nc(iD(o),"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return $ye(r,null,[{key:"controlName",get:function(){return y.getMessage("vueFormItem")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(J);Nc(Ui,"controlFieldType",a.FieldTypes.ANY),Nc(Ui,"controlEventKeys",[]),Nc(Ui,"slots",["grid-table-toolbar-slot",Xv.DEFAULT]),Nc(Ui,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,a.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function cD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mye(e,t,r){return t&&aD(e.prototype,t),r&&aD(e,r),e}function lD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pd(e){return pd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pd(e)}function Lye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tw(e,t)}function Dye(e,t){return t&&(Fye(t)==="object"||typeof t=="function")?t:cD(e)}function tw(e,t){return tw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tw(e,t)}function Fye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kye(e){var t=Cye();return function(){var n=pd(e),o;if(t){var i=pd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dye(this,o)}}var fD=function(e){Lye(r,e);var t=kye(r);function r(n){Aye(this,r);var o;return o=t.call(this,n),lD(cD(o),"props",void 0),o.props=new Sc(n==null?void 0:n.props),o}return Mye(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(Q);lD(fD,"controlFieldType",a.FieldTypes.ANY);var sD={Designer:Ui,Runtime:fD,Property:Sc};function et(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _D(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vd(e){return vd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vd(e)}function dD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nw(e,t)}function jye(e,t){return t&&(Vye(t)==="object"||typeof t=="function")?t:et(e)}function nw(e,t){return nw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nw(e,t)}function Vye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yD(e){var t=xye();return function(){var n=vd(e),o;if(t){var i=vd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return jye(this,o)}}var Uye=function(e){dD(r,e);var t=yD(r);function r(n){_D(this,r);var o;return o=t.call(this,n),tt(et(o),"listPageBind",[{type:"object",message:y.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:y.getMessage("isNotString")},{type:"string",required:!0,message:y.getMessage("pleaseEnterList")}]}}]),tt(et(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:y.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(so),hd=function(e){dD(r,e);var t=yD(r);function r(n){_D(this,r);var o;o=t.call(this,n),tt(et(o),"options",void 0),tt(et(o),"optionConfig",void 0),tt(et(o),"defaultValue",void 0),tt(et(o),"listPageBind",void 0),tt(et(o),"datasourceBind",void 0),tt(et(o),"multistageFilling",void 0),tt(et(o),"viewFormModelType",void 0),tt(et(o),"canViewForm",void 0),tt(et(o),"formBind",void 0),tt(et(o),"openMultistageFilling",void 0),tt(et(o),"showSelectedDetail",void 0),tt(et(o),"selectedContentConfig",void 0),tt(et(o),"optionDisplayConfig",void 0),tt(et(o),"canSearch",void 0);var i;o.options=Nn((i=n==null?void 0:n.options)!==null&&i!==void 0?i:[]);var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"datasource",o.listPageBind=new nl(n==null?void 0:n.listPageBind),o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var c;o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Ic.controlName;var l;o.placeholder=(l=n==null?void 0:n.placeholder)!==null&&l!==void 0?l:y.getMessage("pleaseSelect");var f;o.defaultValue=(f=n==null?void 0:n.defaultValue)!==null&&f!==void 0?f:"";var s;o.openMultistageFilling=(s=n==null?void 0:n.openMultistageFilling)!==null&&s!==void 0?s:!1;var _;o.showSelectedDetail=(_=n==null?void 0:n.showSelectedDetail)!==null&&_!==void 0?_:!1,o.selectedContentConfig=new il(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(E){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new ht(E))}));var d;o.canViewForm=(d=n==null?void 0:n.canViewForm)!==null&&d!==void 0?d:!1;var p;o.viewFormModelType=(p=n==null?void 0:n.viewFormModelType)!==null&&p!==void 0?p:"window",o.formBind=new fo(n==null?void 0:n.formBind);var m;o.optionDisplayConfig=(m=n==null?void 0:n.optionDisplayConfig)!==null&&m!==void 0?m:[];var h;return o.canSearch=(h=n==null?void 0:n.canSearch)!==null&&h!==void 0?h:!1,o}return r}(K);tt(hd,"Rules",Uye);function pD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Hye(e,t,r){return t&&vD(e.prototype,t),r&&vD(e,r),e}function gd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function md(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?md=Reflect.get:md=function(o,i,u){var c=Wye(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},md(e,t,r||e)}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function Yye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rw(e,t)}function zye(e,t){return t&&(qye(t)==="object"||typeof t=="function")?t:pD(e)}function rw(e,t){return rw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rw(e,t)}function Wye(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gi(e),e!==null););return e}function qye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xye(e){var t=Kye();return function(){var n=Gi(e),o;if(t){var i=Gi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zye(this,o)}}var Ic=function(e){Yye(r,e);var t=Xye(r);function r(n){Gye(this,r);var o;return o=t.call(this,n),gd(pD(o),"props",void 0),o.props=new hd(n==null?void 0:n.props),o}return Hye(r,[{key:"toDataBindModel",value:function(o){var i=md(Gi(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props.optionDisplayConfig;i.props.optionDisplayConfig=u}return i}}],[{key:"controlName",get:function(){return y.getMessage("selectRelation")}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(J);gd(Ic,"controlFieldType",a.FieldTypes.VARCHAR),gd(Ic,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,a.COMMON_SETTING_TYPE.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.CAN_VIEW_FORM,a.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}]),gd(Ic,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function hD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qye(e,t,r){return t&&gD(e.prototype,t),r&&gD(e,r),e}function mD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bd(e){return bd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bd(e)}function Zye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ow(e,t)}function epe(e,t){return t&&(tpe(t)==="object"||typeof t=="function")?t:hD(e)}function ow(e,t){return ow=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ow(e,t)}function tpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function npe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rpe(e){var t=npe();return function(){var n=bd(e),o;if(t){var i=bd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return epe(this,o)}}var bD=function(e){Zye(r,e);var t=rpe(r);function r(n){Jye(this,r);var o;return o=t.call(this,n),mD(hD(o),"props",void 0),o.props=new hd(n==null?void 0:n.props),o}return Qye(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(Q);mD(bD,"controlFieldType",a.FieldTypes.VARCHAR);var OD={Designer:Ic,Runtime:bD,Property:hd};function ope(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ipe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Od(e){return Od=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Od(e)}function upe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iw(e,t)}function cpe(e,t){return t&&(ape(t)==="object"||typeof t=="function")?t:ope(e)}function iw(e,t){return iw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iw(e,t)}function ape(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fpe(e){var t=lpe();return function(){var n=Od(e),o;if(t){var i=Od(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cpe(this,o)}}var uw=function(e){upe(r,e);var t=fpe(r);function r(n){return ipe(this,r),t.call(this,n)}return r}(Si);function wD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function spe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ED(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _pe(e,t,r){return t&&ED(e.prototype,t),r&&ED(e,r),e}function PD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wd(e){return wd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wd(e)}function dpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cw(e,t)}function ype(e,t){return t&&(ppe(t)==="object"||typeof t=="function")?t:wD(e)}function cw(e,t){return cw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cw(e,t)}function ppe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hpe(e){var t=vpe();return function(){var n=wd(e),o;if(t){var i=wd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ype(this,o)}}var TD=function(e){dpe(r,e);var t=hpe(r);function r(n){spe(this,r);var o;return o=t.call(this,n),PD(wD(o),"props",void 0),o.props=new uw(n==null?void 0:n.props),o}return _pe(r,null,[{key:"controlName",get:function(){return y.getMessage("input")}},{key:"controlType",get:function(){return"search-input"}}]),r}(Ni);PD(TD,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}]);function $D(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function mpe(e,t,r){return t&&RD(e.prototype,t),r&&RD(e,r),e}function SD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ed(e){return Ed=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ed(e)}function bpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aw(e,t)}function Ope(e,t){return t&&(wpe(t)==="object"||typeof t=="function")?t:$D(e)}function aw(e,t){return aw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aw(e,t)}function wpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Epe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ppe(e){var t=Epe();return function(){var n=Ed(e),o;if(t){var i=Ed(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ope(this,o)}}var ND=function(e){bpe(r,e);var t=Ppe(r);function r(n){gpe(this,r);var o;return o=t.call(this,n),SD($D(o),"props",void 0),o.props=new uw(n==null?void 0:n.props),o}return mpe(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(Q);SD(ND,"controlFieldType",a.FieldTypes.VARCHAR);var ID={Designer:TD,Runtime:ND,Property:uw};function Ie(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pd(e){return Pd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pd(e)}function fw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sw(e,t)}function Tpe(e,t){return t&&($pe(t)==="object"||typeof t=="function")?t:Ie(e)}function sw(e,t){return sw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sw(e,t)}function $pe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _w(e){var t=Rpe();return function(){var n=Pd(e),o;if(t){var i=Pd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Tpe(this,o)}}var Spe=function(e){fw(r,e);var t=_w(r);function r(n){lw(this,r);var o;return o=t.call(this,n),Be(Ie(o),"datasourceBind",[{type:"object",message:y.getMessage("isNotObject")}]),Xu.call(Ie(o),n,Ur.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:y.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:y.getMessage("rootNodeIsRequired")}}}]),o}return r}(Ye),Npe=function(e){fw(r,e);var t=_w(r);function r(n){lw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Bc=function(e){fw(r,e);var t=_w(r);function r(n){lw(this,r);var o,i;o=t.call(this,n),Be(Ie(o),"placeholder",void 0),Be(Ie(o),"multiple",void 0),Be(Ie(o),"canSearch",void 0),Be(Ie(o),"levelType",void 0),Be(Ie(o),"optionalLevel",void 0),Be(Ie(o),"containsSubNode",void 0),Be(Ie(o),"defaultDisplay",void 0),Be(Ie(o),"isShowIncludeSub",void 0),Be(Ie(o),"isDefaultCheckSub",void 0),Be(Ie(o),"isShowFilterItem",void 0),Be(Ie(o),"defaultCollapse",void 0),Be(Ie(o),"defaultCollapseLevel",void 0),Be(Ie(o),"optionConfig","datasource"),Be(Ie(o),"datasourceBind",void 0),Be(Ie(o),"filterItemDatasourceBind",void 0),Be(Ie(o),"multistageFilling",void 0),Be(Ie(o),"defaultValue",void 0),Be(Ie(o),"openMultistageFilling",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ur.controlName;var c;o.placeholder=(c=n==null?void 0:n.placeholder)!==null&&c!==void 0?c:y.getMessage("pleaseSelect");var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var f;o.canSearch=(f=n==null?void 0:n.canSearch)!==null&&f!==void 0?f:!0;var s;o.levelType=(s=n==null?void 0:n.levelType)!==null&&s!==void 0?s:"all";var _;o.optionalLevel=(_=n==null?void 0:n.optionalLevel)!==null&&_!==void 0?_:1;var d;o.containsSubNode=(d=n==null?void 0:n.containsSubNode)!==null&&d!==void 0?d:!1;var p;o.isShowFilterItem=(p=n==null?void 0:n.isShowFilterItem)!==null&&p!==void 0?p:!1;var m;o.isShowIncludeSub=(m=n==null?void 0:n.isShowIncludeSub)!==null&&m!==void 0?m:!1;var h;o.isDefaultCheckSub=(h=n==null?void 0:n.isDefaultCheckSub)!==null&&h!==void 0?h:!1;var E;o.defaultCollapse=(E=n==null?void 0:n.defaultCollapse)!==null&&E!==void 0?E:"all";var v;o.defaultCollapseLevel=(v=n==null?void 0:n.defaultCollapseLevel)!==null&&v!==void 0?v:1;var R;o.datasourceBind=new gg((R=n==null?void 0:n.datasourceBind)!==null&&R!==void 0?R:{attributes:Ur.controlCustomAttributes});var b;o.filterItemDatasourceBind=new gg((b=n==null?void 0:n.filterItemDatasourceBind)!==null&&b!==void 0?b:{attributes:Ur.controlCustomAttributes});var O;o.openMultistageFilling=(O=n==null?void 0:n.openMultistageFilling)!==null&&O!==void 0?O:!1;var S;o.defaultDisplay=(S=n==null?void 0:n.defaultDisplay)!==null&&S!==void 0?S:!1;var T;o.multistageFilling=(T=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(I){return new ht(I)}))!==null&&T!==void 0?T:[];var $;return o.defaultValue=($=n==null?void 0:n.defaultValue)!==null&&$!==void 0?$:[],o}return r}(K);Be(Bc,"Rules",Spe),Be(Bc,"RuntimeRules",Npe);function BD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ipe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bpe(e,t,r){return t&&AD(e.prototype,t),r&&AD(e,r),e}function Td(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $d(e){return $d=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$d(e)}function Ape(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dw(e,t)}function Mpe(e,t){return t&&(Lpe(t)==="object"||typeof t=="function")?t:BD(e)}function dw(e,t){return dw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dw(e,t)}function Lpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fpe(e){var t=Dpe();return function(){var n=$d(e),o;if(t){var i=$d(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mpe(this,o)}}var Ur=function(e){Ape(r,e);var t=Fpe(r);function r(n){Ipe(this,r);var o;return o=t.call(this,n),Td(BD(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return Bpe(r,null,[{key:"controlName",get:function(){return y.getMessage("tree")}},{key:"controlIcon",get:function(){return"icontree"}},{key:"controlType",get:function(){return"tree"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}]),r}(J);Td(Ur,"controlEventKeys",["on_change","on_click"]),Td(Ur,"controlFieldType",a.FieldTypes.ARRAY),Td(Ur,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.MULTIPLE,a.COMMON_SETTING_TYPE.CAN_SEARCH,a.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,a.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,a.COMMON_SETTING_TYPE.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}]);function MD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function kpe(e,t,r){return t&&LD(e.prototype,t),r&&LD(e,r),e}function DD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rd(e){return Rd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rd(e)}function jpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yw(e,t)}function Vpe(e,t){return t&&(xpe(t)==="object"||typeof t=="function")?t:MD(e)}function yw(e,t){return yw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yw(e,t)}function xpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Upe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gpe(e){var t=Upe();return function(){var n=Rd(e),o;if(t){var i=Rd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vpe(this,o)}}var FD=function(e){jpe(r,e);var t=Gpe(r);function r(n){Cpe(this,r);var o;return o=t.call(this,n),DD(MD(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return kpe(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(Q);DD(FD,"controlFieldType",a.FieldTypes.ARRAY);var CD={Designer:Ur,Runtime:FD,Property:Bc};function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sd(e){return Sd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sd(e)}function vw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hw(e,t)}function Hpe(e,t){return t&&(Ype(t)==="object"||typeof t=="function")?t:nt(e)}function hw(e,t){return hw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hw(e,t)}function Ype(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gw(e){var t=zpe();return function(){var n=Sd(e),o;if(t){var i=Sd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Hpe(this,o)}}var Wpe=function(e){vw(r,e);var t=gw(r);function r(n){pw(this,r);var o;return o=t.call(this,n),rt(nt(o),"datasourceBind",[{type:"object",message:y.getMessage("isNotObject")}]),rt(nt(o),"externalScope",{type:"any"}),Xu.call(nt(o),n,Hi.controlCustomAttributes),n.externalType===a.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:y.getMessage("pleaseAssignExternal")}),o}return r}(Ye),qpe=function(e){vw(r,e);var t=gw(r);function r(n){pw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Ac=function(e){vw(r,e);var t=gw(r);function r(n){pw(this,r);var o;o=t.call(this,n),rt(nt(o),"showType",void 0),rt(nt(o),"range",void 0),rt(nt(o),"rangeOptions",void 0),rt(nt(o),"multiple",void 0),rt(nt(o),"defaultValueType",void 0),rt(nt(o),"defaultValue",void 0),rt(nt(o),"multistageFilling",void 0),rt(nt(o),"datasourceBind",void 0),rt(nt(o),"datasourceType",void 0),rt(nt(o),"insideType",void 0),rt(nt(o),"externalType",void 0),rt(nt(o),"externalScope",void 0),rt(nt(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.range=(u=n==null?void 0:n.range)!==null&&u!==void 0?u:"all";var c;o.rangeOptions=(c=n==null?void 0:n.rangeOptions)!==null&&c!==void 0?c:[];var l;o.multiple=(l=n==null?void 0:n.multiple)!==null&&l!==void 0?l:!1;var f;o.defaultValueType=(f=n==null?void 0:n.defaultValueType)!==null&&f!==void 0?f:"none";var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.caption=(_=n==null?void 0:n.caption)!==null&&_!==void 0?_:Hi.controlName;var d;o.placeholder=(d=n==null?void 0:n.placeholder)!==null&&d!==void 0?d:y.getMessage("pleaseEnterNameorEmail");var p;o.datasourceBind=new Yu((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:Hi.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:a.OrganizeType.INTERNAL;var h;o.insideType=(h=n==null?void 0:n.insideType)!==null&&h!==void 0?h:a.InternalType.ADMIN;var E;o.externalType=(E=n==null?void 0:n.externalType)!==null&&E!==void 0?E:a.AssignType.ALL;var v;o.externalScope=(v=n==null?void 0:n.externalScope)!==null&&v!==void 0?v:[];var R;return o.openMultistageFilling=(R=n==null?void 0:n.openMultistageFilling)!==null&&R!==void 0?R:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new ht(b))})),o}return r}(K);rt(Ac,"Rules",Wpe),rt(Ac,"RuntimeRules",qpe);function kD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kpe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xpe(e,t,r){return t&&jD(e.prototype,t),r&&jD(e,r),e}function mw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nd(e){return Nd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nd(e)}function Jpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bw(e,t)}function Qpe(e,t){return t&&(Zpe(t)==="object"||typeof t=="function")?t:kD(e)}function bw(e,t){return bw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bw(e,t)}function Zpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tve(e){var t=eve();return function(){var n=Nd(e),o;if(t){var i=Nd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qpe(this,o)}}var Hi=function(e){Jpe(r,e);var t=tve(r);function r(n){Kpe(this,r);var o;return o=t.call(this,n),mw(kD(o),"props",void 0),o.props=new Ac(n==null?void 0:n.props),o}return Xpe(r,null,[{key:"controlName",get:function(){return y.getMessage("people")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(J);mw(Hi,"controlFieldType",a.FieldTypes.EMPLOYEES),mw(Hi,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.MULTIPLE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}]);function VD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rve(e,t,r){return t&&xD(e.prototype,t),r&&xD(e,r),e}function UD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Id(e){return Id=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Id(e)}function ove(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ow(e,t)}function ive(e,t){return t&&(uve(t)==="object"||typeof t=="function")?t:VD(e)}function Ow(e,t){return Ow=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ow(e,t)}function uve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ave(e){var t=cve();return function(){var n=Id(e),o;if(t){var i=Id(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ive(this,o)}}var GD=function(e){ove(r,e);var t=ave(r);function r(n){nve(this,r);var o;return o=t.call(this,n),UD(VD(o),"props",void 0),o.props=new Ac(n==null?void 0:n.props),o}return rve(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(Q);UD(GD,"controlFieldType",a.FieldTypes.EMPLOYEES);var HD={Designer:Hi,Runtime:GD,Property:Ac};function Ln(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bd(e){return Bd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bd(e)}function zD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ww(e,t)}function lve(e,t){return t&&(fve(t)==="object"||typeof t=="function")?t:Ln(e)}function ww(e,t){return ww=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ww(e,t)}function fve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WD(e){var t=sve();return function(){var n=Bd(e),o;if(t){var i=Bd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lve(this,o)}}var _ve=function(e){zD(r,e);var t=WD(r);function r(n){YD(this,r);var o;return o=t.call(this,n),Dn(Ln(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:y.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:y.getMessage("pleaseSelectOnlyOne"),fields:n.signatureConfig.undersignedList.reduce(function(i,u,c){return i[c]={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:y.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:y.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator:function(f,s,_){if(u.type==="public"&&ao(s.value)&&s.value.length===0){_(y.getMessage("pleaseSelectPhoneOrEmail"));return}_()}},company:{type:"object",required:!0,validator:function(f,s,_){if(u.type==="public"&&u.signatureType.includes("company")&&ao(s.value)&&s.value.length===0){_(y.getMessage("pleaseSelectCompanyName"));return}_()}}}},i},{})}}},o}return r}(Ye),Ad=function(e){zD(r,e);var t=WD(r);function r(n){YD(this,r);var o;o=t.call(this,n),Dn(Ln(o),"buttonType",void 0),Dn(Ln(o),"content",void 0),Dn(Ln(o),"showType",void 0),Dn(Ln(o),"color",void 0),Dn(Ln(o),"icon",void 0),Dn(Ln(o),"command",""),Dn(Ln(o),"isLoading",!1),Dn(Ln(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Mc.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u53D1\u8D77\u7B7E\u7F72";var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var l;o.showType=(l=n==null?void 0:n.showType)!==null&&l!==void 0?l:"text";var f;o.color=(f=n==null?void 0:n.color)!==null&&f!==void 0?f:"primary";var s;return o.icon=(s=n==null?void 0:n.icon)!==null&&s!==void 0?s:"iconfenlei2",o.signatureConfig=new _B(n==null?void 0:n.signatureConfig),o}return r}(K);Dn(Ad,"Rules",_ve);function qD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function yve(e,t,r){return t&&KD(e.prototype,t),r&&KD(e,r),e}function Md(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ld(e){return Ld=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ld(e)}function pve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ew(e,t)}function vve(e,t){return t&&(hve(t)==="object"||typeof t=="function")?t:qD(e)}function Ew(e,t){return Ew=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ew(e,t)}function hve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mve(e){var t=gve();return function(){var n=Ld(e),o;if(t){var i=Ld(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vve(this,o)}}var Mc=function(e){pve(r,e);var t=mve(r);function r(n){dve(this,r);var o;return o=t.call(this,n),Md(qD(o),"props",void 0),o.props=new Ad(n==null?void 0:n.props),o}return yve(r,null,[{key:"controlName",get:function(){return y.getMessage("electronicSignature")}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(J);Md(Mc,"controlEventKeys",["on_click","on_click_finish"]),Md(Mc,"controlFieldType",a.FieldTypes.VARCHAR),Md(Mc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.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}]);function XD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ove(e,t,r){return t&&JD(e.prototype,t),r&&JD(e,r),e}function QD(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dd(e){return Dd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dd(e)}function wve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Pw(e,t)}function Eve(e,t){return t&&(Pve(t)==="object"||typeof t=="function")?t:XD(e)}function Pw(e,t){return Pw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pw(e,t)}function Pve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $ve(e){var t=Tve();return function(){var n=Dd(e),o;if(t){var i=Dd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Eve(this,o)}}var ZD=function(e){wve(r,e);var t=$ve(r);function r(n){bve(this,r);var o;return o=t.call(this,n),QD(XD(o),"props",void 0),o.props=new Ad(n==null?void 0:n.props),o}return Ove(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(Q);QD(ZD,"controlFieldType",a.FieldTypes.VARCHAR);var eF={Designer:Mc,Runtime:ZD,Property:Ad};function ft(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ot(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fd(e){return Fd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fd(e)}function $w(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Rw(e,t)}function Rve(e,t){return t&&(Sve(t)==="object"||typeof t=="function")?t:ft(e)}function Rw(e,t){return Rw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rw(e,t)}function Sve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sw(e){var t=Nve();return function(){var n=Fd(e),o;if(t){var i=Fd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Rve(this,o)}}var Ive=function(e){$w(r,e);var t=Sw(r);function r(n){Tw(this,r);var o;return o=t.call(this,n),ot(ft(o),"content",{type:"string",required:!0,message:y.getMessage("pleaseEnterButtonContent")}),ot(ft(o),"canAdd",void 0),ot(ft(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l(y.getMessage("pleaseEnterWatermark"));return}l()}},autoRename:{type:"object",validator:function(u,c,l){if(c.active&&!c.text){l(y.getMessage("pleaseEnterFileName"));return}l()}}}}),o.canAdd={type:"boolean",validator:function(u,c,l){if(n.canAdd&&!n.addLocal&&!n.addOnline){l(y.getMessage("pleaseChooseAtLeastOne"));return}l()}},o}return r}(Ye),Bve=function(e){$w(r,e);var t=Sw(r);function r(n){Tw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Lc=function(e){$w(r,e);var t=Sw(r);function r(n){Tw(this,r);var o;o=t.call(this,n),ot(ft(o),"content",void 0),ot(ft(o),"canAdd",void 0),ot(ft(o),"addLocal",void 0),ot(ft(o),"addOnline",void 0),ot(ft(o),"canDownload",void 0),ot(ft(o),"canEdit",void 0),ot(ft(o),"canExport",void 0),ot(ft(o),"canDelete",void 0),ot(ft(o),"wpsSetting",void 0),ot(ft(o),"maxSize",void 0),ot(ft(o),"defaultValue",void 0),ot(ft(o),"revisionsMode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Dc.controlName;var u;o.content=(u=n==null?void 0:n.content)!==null&&u!==void 0?u:"\u65B0\u5EFA\u6587\u6863";var c;o.canAdd=(c=n==null?void 0:n.canAdd)!==null&&c!==void 0?c:!0;var l;o.addLocal=(l=n==null?void 0:n.addLocal)!==null&&l!==void 0?l:!0;var f;o.addOnline=(f=n==null?void 0:n.addOnline)!==null&&f!==void 0?f:!0;var s;o.canEdit=(s=n==null?void 0:n.canEdit)!==null&&s!==void 0?s:!0;var _;o.canDownload=(_=n==null?void 0:n.canDownload)!==null&&_!==void 0?_:!0;var d;o.canExport=(d=n==null?void 0:n.canExport)!==null&&d!==void 0?d:!0;var p;o.canDelete=(p=n==null?void 0:n.canDelete)!==null&&p!==void 0?p:!1;var m;o.maxSize=(m=n==null?void 0:n.maxSize)!==null&&m!==void 0?m:Ife;var h;o.defaultValue=(h=n==null?void 0:n.defaultValue)!==null&&h!==void 0?h:[],o.wpsSetting=new dB(n==null?void 0:n.wpsSetting);var E;return o.revisionsMode=(E=n==null?void 0:n.revisionsMode)!==null&&E!==void 0?E:!1,o}return r}(K);ot(Lc,"Rules",Ive),ot(Lc,"RuntimeRules",Bve);function tF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ave(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mve(e,t,r){return t&&nF(e.prototype,t),r&&nF(e,r),e}function Cd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kd(e){return kd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kd(e)}function Lve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Nw(e,t)}function Dve(e,t){return t&&(Fve(t)==="object"||typeof t=="function")?t:tF(e)}function Nw(e,t){return Nw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nw(e,t)}function Fve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kve(e){var t=Cve();return function(){var n=kd(e),o;if(t){var i=kd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dve(this,o)}}var Dc=function(e){Lve(r,e);var t=kve(r);function r(n){Ave(this,r);var o;return o=t.call(this,n),Cd(tF(o),"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return Mve(r,null,[{key:"controlName",get:function(){return y.getMessage("WPS")}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(J);Cd(Dc,"controlEventKeys",["on_change","on_wps_open"]),Cd(Dc,"controlFieldType",a.FieldTypes.FILE),Cd(Dc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,a.COMMON_SETTING_TYPE.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}]);function rF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vve(e,t,r){return t&&oF(e.prototype,t),r&&oF(e,r),e}function iF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jd(e){return jd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jd(e)}function xve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Iw(e,t)}function Uve(e,t){return t&&(Gve(t)==="object"||typeof t=="function")?t:rF(e)}function Iw(e,t){return Iw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Iw(e,t)}function Gve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yve(e){var t=Hve();return function(){var n=jd(e),o;if(t){var i=jd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Uve(this,o)}}var uF=function(e){xve(r,e);var t=Yve(r);function r(n){jve(this,r);var o;return o=t.call(this,n),iF(rF(o),"props",void 0),o.props=new Lc(n==null?void 0:n.props),o}return Vve(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(Q);iF(uF,"controlFieldType",a.FieldTypes.FILE);var cF={Designer:Dc,Runtime:uF,Property:Lc};function Ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vd(e){return Vd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vd(e)}function Aw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Mw(e,t)}function zve(e,t){return t&&(Wve(t)==="object"||typeof t=="function")?t:Ke(e)}function Mw(e,t){return Mw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mw(e,t)}function Wve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lw(e){var t=qve();return function(){var n=Vd(e),o;if(t){var i=Vd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zve(this,o)}}var Kve=function(e){Aw(r,e);var t=Lw(r);function r(n){Bw(this,r);var o;return o=t.call(this,n),Xe(Ke(o),"datasourceBind",[{type:"object",message:y.getMessage("isNotObject")}]),Xe(Ke(o),"businessScope",{type:"any"}),Xu.call(Ke(o),n,vo.controlCustomAttributes),n.businessType===a.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:y.getMessage("pleaseAssignBusiness")}),o}return r}(Ye),Xve=function(e){Aw(r,e);var t=Lw(r);function r(n){Bw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Fc=function(e){Aw(r,e);var t=Lw(r);function r(n){Bw(this,r);var o;o=t.call(this,n),Xe(Ke(o),"showType",void 0),Xe(Ke(o),"range",void 0),Xe(Ke(o),"defaultValueType",void 0),Xe(Ke(o),"multiple",void 0),Xe(Ke(o),"rangeOptions",void 0),Xe(Ke(o),"defaultValue",void 0),Xe(Ke(o),"displayLevel",void 0),Xe(Ke(o),"showSubDept",void 0),Xe(Ke(o),"multistageFilling",void 0),Xe(Ke(o),"datasourceBind",void 0),Xe(Ke(o),"datasourceType",void 0),Xe(Ke(o),"businessType",void 0),Xe(Ke(o),"businessScope",void 0),Xe(Ke(o),"openMultistageFilling",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all";var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:vo.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:y.getMessage("pleaseSelectDept");var h;o.datasourceBind=new Yu((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:vo.controlCustomAttributes});var E;o.datasourceType=(E=n==null?void 0:n.datasourceType)!==null&&E!==void 0?E:a.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var R;o.businessType=(R=n==null?void 0:n.businessType)!==null&&R!==void 0?R:a.AssignType.ALL;var b;return o.openMultistageFilling=(b=n==null?void 0:n.openMultistageFilling)!==null&&b!==void 0?b:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(O){var S;(S=o.multistageFilling)===null||S===void 0||S.push(new ht(O))})),o}return r}(K);Xe(Fc,"Rules",Kve),Xe(Fc,"RuntimeRules",Xve);function aF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qve(e,t,r){return t&&lF(e.prototype,t),r&&lF(e,r),e}function xd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ud(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ud=Reflect.get:Ud=function(o,i,u){var c=the(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Ud(e,t,r||e)}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yi(e)}function Zve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Dw(e,t)}function ehe(e,t){return t&&(nhe(t)==="object"||typeof t=="function")?t:aF(e)}function Dw(e,t){return Dw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dw(e,t)}function the(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Yi(e),e!==null););return e}function nhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ohe(e){var t=rhe();return function(){var n=Yi(e),o;if(t){var i=Yi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ehe(this,o)}}var vo=function(e){Zve(r,e);var t=ohe(r);function r(n){Jve(this,r);var o;return o=t.call(this,n),xd(aF(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return Qve(r,[{key:"toDataBindModel",value:function(o){var i=Ud(Yi(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department2"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(J);xd(vo,"controlName",y.getMessage("department")),xd(vo,"controlFieldType",a.FieldTypes.DEPARTMENTS),xd(vo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.MULTIPLE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}]);function fF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ihe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function uhe(e,t,r){return t&&sF(e.prototype,t),r&&sF(e,r),e}function _F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gd(e){return Gd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gd(e)}function che(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fw(e,t)}function ahe(e,t){return t&&(lhe(t)==="object"||typeof t=="function")?t:fF(e)}function Fw(e,t){return Fw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fw(e,t)}function lhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function she(e){var t=fhe();return function(){var n=Gd(e),o;if(t){var i=Gd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ahe(this,o)}}var dF=function(e){che(r,e);var t=she(r);function r(n){ihe(this,r);var o;return o=t.call(this,n),_F(fF(o),"props",void 0),o.props=new Fc(n==null?void 0:n.props),o}return uhe(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(Q);_F(dF,"controlFieldType",a.FieldTypes.DEPARTMENTS);var yF={Designer:vo,Runtime:dF,Property:Fc};function we(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Cw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hd(e){return Hd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hd(e)}function kw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jw(e,t)}function _he(e,t){return t&&(dhe(t)==="object"||typeof t=="function")?t:we(e)}function jw(e,t){return jw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jw(e,t)}function dhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vw(e){var t=yhe();return function(){var n=Hd(e),o;if(t){var i=Hd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _he(this,o)}}var phe=function(e){kw(r,e);var t=Vw(r);function r(n){Cw(this,r);var o;return o=t.call(this,n),Ee(we(o),"datasourceBind",[{type:"object",message:y.getMessage("isNotObject")}]),Ee(we(o),"businessScope",{type:"any"}),Xu.call(we(o),n,Wi.controlCustomAttributes),n.businessType===a.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:y.getMessage("pleaseAssignBusiness")}),o}return r}(Ye),vhe=function(e){kw(r,e);var t=Vw(r);function r(n){Cw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Cc=function(e){kw(r,e);var t=Vw(r);function r(n){Cw(this,r);var o;o=t.call(this,n),Ee(we(o),"showType",void 0),Ee(we(o),"range",void 0),Ee(we(o),"defaultValueType",void 0),Ee(we(o),"multiple",void 0),Ee(we(o),"rangeOptions",void 0),Ee(we(o),"defaultValue",void 0),Ee(we(o),"displayLevel",void 0),Ee(we(o),"showSubDept",void 0),Ee(we(o),"multistageFilling",void 0),Ee(we(o),"datasourceBind",void 0),Ee(we(o),"listPageBind",void 0),Ee(we(o),"datasourceType",void 0),Ee(we(o),"businessType",void 0),Ee(we(o),"businessScope",void 0),Ee(we(o),"organizingFunction",void 0),Ee(we(o),"organizationView",void 0),Ee(we(o),"openMultistageFilling",void 0),Ee(we(o),"showSelectedDetail",void 0),Ee(we(o),"selectedContentConfig",void 0);var i;o.showType=(i=n==null?void 0:n.showType)!==null&&i!==void 0?i:"default";var u;o.multiple=(u=n==null?void 0:n.multiple)!==null&&u!==void 0?u:!1;var c;o.range=(c=n==null?void 0:n.range)!==null&&c!==void 0?c:"all",o.listPageBind=new nl(n==null?void 0:n.listPageBind);var l;o.defaultValueType=(l=n==null?void 0:n.defaultValueType)!==null&&l!==void 0?l:"none";var f;o.rangeOptions=(f=n==null?void 0:n.rangeOptions)!==null&&f!==void 0?f:[];var s;o.defaultValue=(s=n==null?void 0:n.defaultValue)!==null&&s!==void 0?s:[];var _;o.displayLevel=(_=n==null?void 0:n.displayLevel)!==null&&_!==void 0?_:1;var d;o.showSubDept=(d=n==null?void 0:n.showSubDept)!==null&&d!==void 0?d:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:Wi.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:y.getMessage("pleaseSelectOrg");var h;o.datasourceBind=new WN((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:Wi.controlCustomAttributes});var E;o.datasourceType=(E=n==null?void 0:n.datasourceType)!==null&&E!==void 0?E:a.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var R;o.businessType=(R=n==null?void 0:n.businessType)!==null&&R!==void 0?R:a.AssignType.ALL;var b;o.organizingFunction=(b=n==null?void 0:n.organizingFunction)!==null&&b!==void 0?b:void 0;var O;o.organizationView=(O=n==null?void 0:n.organizationView)!==null&&O!==void 0?O:void 0;var S;o.showSelectedDetail=(S=n==null?void 0:n.showSelectedDetail)!==null&&S!==void 0?S:!1,o.selectedContentConfig=new il(n==null?void 0:n.selectedContentConfig);var T;return o.openMultistageFilling=(T=n==null?void 0:n.openMultistageFilling)!==null&&T!==void 0?T:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function($){var I;(I=o.multistageFilling)===null||I===void 0||I.push(new ht($))})),o}return r}(K);Ee(Cc,"Rules",phe),Ee(Cc,"RuntimeRules",vhe);function pF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hhe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ghe(e,t,r){return t&&vF(e.prototype,t),r&&vF(e,r),e}function xw(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yd(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Yd=Reflect.get:Yd=function(o,i,u){var c=Ohe(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Yd(e,t,r||e)}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function mhe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Uw(e,t)}function bhe(e,t){return t&&(whe(t)==="object"||typeof t=="function")?t:pF(e)}function Uw(e,t){return Uw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Uw(e,t)}function Ohe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zi(e),e!==null););return e}function whe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ehe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Phe(e){var t=Ehe();return function(){var n=zi(e),o;if(t){var i=zi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bhe(this,o)}}var Wi=function(e){mhe(r,e);var t=Phe(r);function r(n){hhe(this,r);var o;return o=t.call(this,n),xw(pF(o),"props",void 0),o.props=new Cc(n==null?void 0:n.props),o}return ghe(r,[{key:"toDataBindModel",value:function(o){var i=Yd(zi(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,l=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=l}return i}}],[{key:"controlName",get:function(){return y.getMessage("organizationSelection")}},{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"organization-selection"}},{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(J);xw(Wi,"controlFieldType",a.FieldTypes.DEPARTMENTS),xw(Wi,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.REQUIRED,a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,a.COMMON_SETTING_TYPE.MULTIPLE,a.COMMON_SETTING_TYPE.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}]);function hF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function The(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $he(e,t,r){return t&&gF(e.prototype,t),r&&gF(e,r),e}function mF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zd(e){return zd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zd(e)}function Rhe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Gw(e,t)}function She(e,t){return t&&(Nhe(t)==="object"||typeof t=="function")?t:hF(e)}function Gw(e,t){return Gw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gw(e,t)}function Nhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ihe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Bhe(e){var t=Ihe();return function(){var n=zd(e),o;if(t){var i=zd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return She(this,o)}}var bF=function(e){Rhe(r,e);var t=Bhe(r);function r(n){The(this,r);var o;return o=t.call(this,n),mF(hF(o),"props",void 0),o.props=new Cc(n==null?void 0:n.props),o}return $he(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(Q);mF(bF,"controlFieldType",a.FieldTypes.DEPARTMENTS);var OF={Designer:Wi,Runtime:bF,Property:Cc};function kc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wd(e){return Wd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wd(e)}function Yw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zw(e,t)}function Ahe(e,t){return t&&(Mhe(t)==="object"||typeof t=="function")?t:kc(e)}function zw(e,t){return zw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zw(e,t)}function Mhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ww(e){var t=Lhe();return function(){var n=Wd(e),o;if(t){var i=Wd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ahe(this,o)}}var Dhe=function(e){Yw(r,e);var t=Ww(r);function r(n){Hw(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(Ye),Fhe=function(e){Yw(r,e);var t=Ww(r);function r(n){Hw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(_e),jc=function(e){Yw(r,e);var t=Ww(r);function r(n){Hw(this,r);var o;o=t.call(this,n),qi(kc(o),"controlExportName",void 0),qi(kc(o),"permissions",void 0),qi(kc(o),"defaultValue",void 0),qi(kc(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Vc.controlName;var u;o.defaultValue=(u=n==null?void 0:n.defaultValue)!==null&&u!==void 0?u:void 0;var c;o.controlExportName=(c=n==null?void 0:n.controlExportName)!==null&&c!==void 0?c:"";var l;o.permissions=(l=n==null?void 0:n.permissions)!==null&&l!==void 0?l:[];var f;return o.isInlineEdit=(f=n==null?void 0:n.isInlineEdit)!==null&&f!==void 0?f:!1,o}return r}(K);qi(jc,"Rules",Dhe),qi(jc,"RuntimeRules",Fhe);function wF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Che(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function EF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function khe(e,t,r){return t&&EF(e.prototype,t),r&&EF(e,r),e}function qd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kd(e){return Kd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kd(e)}function jhe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qw(e,t)}function Vhe(e,t){return t&&(xhe(t)==="object"||typeof t=="function")?t:wF(e)}function qw(e,t){return qw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qw(e,t)}function xhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ghe(e){var t=Uhe();return function(){var n=Kd(e),o;if(t){var i=Kd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vhe(this,o)}}var Vc=function(e){jhe(r,e);var t=Ghe(r);function r(n){Che(this,r);var o;return o=t.call(this,n),qd(wF(o),"props",void 0),o.props=new jc(n==null?void 0:n.props),o}return khe(r,null,[{key:"controlName",get:function(){return y.getMessage("vuePage")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return a.CONTROL_TYPE.VUE_PAGE}}]),r}(J);qd(Vc,"controlFieldType",a.FieldTypes.ANY),qd(Vc,"controlEventKeys",[]),qd(Vc,"setting",[]);function PF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hhe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yhe(e,t,r){return t&&TF(e.prototype,t),r&&TF(e,r),e}function $F(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xd(e){return Xd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xd(e)}function zhe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Kw(e,t)}function Whe(e,t){return t&&(qhe(t)==="object"||typeof t=="function")?t:PF(e)}function Kw(e,t){return Kw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kw(e,t)}function qhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Khe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xhe(e){var t=Khe();return function(){var n=Xd(e),o;if(t){var i=Xd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Whe(this,o)}}var RF=function(e){zhe(r,e);var t=Xhe(r);function r(n){Hhe(this,r);var o;return o=t.call(this,n),$F(PF(o),"props",void 0),o.props=new jc(n==null?void 0:n.props),o}return Yhe(r,null,[{key:"controlType",get:function(){return a.CONTROL_TYPE.VUE_PAGE}}]),r}(Q);$F(RF,"controlFieldType",a.FieldTypes.ANY);var SF={Designer:Vc,Runtime:RF,Property:jc},Jhe=Object.freeze({__proto__:null,Input:i3,Checkbox:_3,Radio:w3,Number:N3,DatePicker:F3,DateRange:z3,Textarea:Z3,RichText:uM,Select:vM,SelectMultiple:EM,Employee:MM,Image:GM,Attachment:jM,Amount:XM,Score:rL,Address:dL,Department:EL,AutoNumber:BL,Calc:kL,SearchNumberRange:qL,SearchDateRange:oD,VueFormItem:sD,SelectRelation:OD,SearchInput:ID,Tree:CD,Employee2:HD,ElectronicSignature:eF,WPS:cF,Department2:yF,OrganizationSelection:OF,VuePage:SF});function Qhe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zhe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ege(e,t,r){return t&&NF(e.prototype,t),r&&NF(e,r),e}function tge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jd(e){return Jd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jd(e)}function nge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xw(e,t)}function rge(e,t){return t&&(oge(t)==="object"||typeof t=="function")?t:Qhe(e)}function Xw(e,t){return Xw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xw(e,t)}function oge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ige(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uge(e){var t=ige();return function(){var n=Jd(e),o;if(t){var i=Jd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rge(this,o)}}var IF=function(e){nge(r,e);var t=uge(r);function r(n){return Zhe(this,r),t.call(this,n)}return ege(r,null,[{key:"controlName",get:function(){return y.getMessage("grid")}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(Oe);tge(IF,"excludes",[a.CONTROL_TYPE.GRID]);function cge(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function age(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function lge(e,t,r){return t&&BF(e.prototype,t),r&&BF(e,r),e}function Qd(e){return Qd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qd(e)}function fge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Jw(e,t)}function sge(e,t){return t&&(_ge(t)==="object"||typeof t=="function")?t:cge(e)}function Jw(e,t){return Jw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jw(e,t)}function _ge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yge(e){var t=dge();return function(){var n=Qd(e),o;if(t){var i=Qd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sge(this,o)}}var pge=function(e){fge(r,e);var t=yge(r);function r(n){return age(this,r),t.call(this,n)}return lge(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(Se),AF={Designer:IF,Runtime:pge,Property:pe};function Qw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Zd(e){return Zd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zd(e)}function hge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zw(e,t)}function gge(e,t){return t&&(mge(t)==="object"||typeof t=="function")?t:Qw(e)}function Zw(e,t){return Zw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zw(e,t)}function mge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oge(e){var t=bge();return function(){var n=Zd(e),o;if(t){var i=Zd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gge(this,o)}}var wge=24,ho=function(e){hge(r,e);var t=Oge(r);function r(n){vge(this,r);var o;o=t.call(this,n),MF(Qw(o),"span",void 0),MF(Qw(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:wge;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(pe);function LF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ege(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Pge(e,t,r){return t&&DF(e.prototype,t),r&&DF(e,r),e}function eE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ey(e){return ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ey(e)}function Tge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tE(e,t)}function $ge(e,t){return t&&(Rge(t)==="object"||typeof t=="function")?t:LF(e)}function tE(e,t){return tE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tE(e,t)}function Rge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nge(e){var t=Sge();return function(){var n=ey(e),o;if(t){var i=ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $ge(this,o)}}var xc=function(e){Tge(r,e);var t=Nge(r);function r(n){Ege(this,r);var o;return o=t.call(this,n),eE(LF(o),"props",void 0),o.props=new ho(n==null?void 0:n.props),o}return Pge(r,null,[{key:"controlName",get:function(){return y.getMessage("col")}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(Oe);eE(xc,"excludes",[a.CONTROL_TYPE.COL,a.CONTROL_TYPE.SUBTABLE,a.CONTROL_TYPE.SUBTABLE_COLUMN,a.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,a.CONTROL_TYPE.DIVIDER]),eE(xc,"childrenMaxLength",1);function FF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ige(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bge(e,t,r){return t&&CF(e.prototype,t),r&&CF(e,r),e}function Age(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ty(e)}function Mge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nE(e,t)}function Lge(e,t){return t&&(Dge(t)==="object"||typeof t=="function")?t:FF(e)}function nE(e,t){return nE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nE(e,t)}function Dge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cge(e){var t=Fge();return function(){var n=ty(e),o;if(t){var i=ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lge(this,o)}}var rE=function(e){Mge(r,e);var t=Cge(r);function r(n){Ige(this,r);var o;return o=t.call(this,n),Age(FF(o),"props",void 0),o.props=new ho(n==null?void 0:n.props),o}return Bge(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Se),ny={Designer:xc,Runtime:rE,Property:ho};function oE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ry(e){return ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ry(e)}function jge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iE(e,t)}function Vge(e,t){return t&&(xge(t)==="object"||typeof t=="function")?t:oE(e)}function iE(e,t){return iE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iE(e,t)}function xge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gge(e){var t=Uge();return function(){var n=ry(e),o;if(t){var i=ry(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vge(this,o)}}var oy=function(e){jge(r,e);var t=Gge(r);function r(n){kge(this,r);var o;o=t.call(this,n),kF(oE(o),"layoutMode",void 0),kF(oE(o),"gutter",void 0);var i;o.layoutMode=(i=n==null?void 0:n.layoutMode)!==null&&i!==void 0?i:"select";var u;return o.gutter=(u=n==null?void 0:n.gutter)!==null&&u!==void 0?u:0,o}return r}(pe);function jF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function VF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Yge(e,t,r){return t&&VF(e.prototype,t),r&&VF(e,r),e}function uE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iy(e){return iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iy(e)}function zge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cE(e,t)}function Wge(e,t){return t&&(qge(t)==="object"||typeof t=="function")?t:jF(e)}function cE(e,t){return cE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cE(e,t)}function qge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xge(e){var t=Kge();return function(){var n=iy(e),o;if(t){var i=iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Wge(this,o)}}var uy=function(e){zge(r,e);var t=Xge(r);function r(n){Hge(this,r);var o;return o=t.call(this,n),uE(jF(o),"props",void 0),o.props=new oy(n==null?void 0:n.props),o}return Yge(r,null,[{key:"controlName",get:function(){return y.getMessage("row")}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Oe);uE(uy,"excludes",[a.CONTROL_TYPE.ROW]),uE(uy,"setting",[{key:"col-setting",visible:!0}]);function xF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Qge(e,t,r){return t&&UF(e.prototype,t),r&&UF(e,r),e}function Zge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cy(e){return cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cy(e)}function eme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aE(e,t)}function tme(e,t){return t&&(nme(t)==="object"||typeof t=="function")?t:xF(e)}function aE(e,t){return aE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aE(e,t)}function nme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ome(e){var t=rme();return function(){var n=cy(e),o;if(t){var i=cy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tme(this,o)}}var GF=function(e){eme(r,e);var t=ome(r);function r(n){Jge(this,r);var o;return o=t.call(this,n),Zge(xF(o),"props",void 0),o.props=new oy(n==null?void 0:n.props),o}return Qge(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Se),HF={Designer:uy,Runtime:GF,Property:oy};function ime(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ume(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cme(e,t,r){return t&&YF(e.prototype,t),r&&YF(e,r),e}function lE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ay(e){return ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ay(e)}function ame(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fE(e,t)}function lme(e,t){return t&&(fme(t)==="object"||typeof t=="function")?t:ime(e)}function fE(e,t){return fE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fE(e,t)}function fme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _me(e){var t=sme();return function(){var n=ay(e),o;if(t){var i=ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lme(this,o)}}var dme=4,ly=function(e){ame(r,e);var t=_me(r);function r(n){return ume(this,r),t.call(this,n)}return cme(r,null,[{key:"controlName",get:function(){return y.getMessage("gridRow")}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(uy);lE(ly,"excludes",[a.CONTROL_TYPE.GRID_ROW]),lE(ly,"setting",[]),lE(ly,"childrenMaxLength",dme);function yme(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vme(e,t,r){return t&&zF(e.prototype,t),r&&zF(e,r),e}function fy(e){return fy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fy(e)}function hme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sE(e,t)}function gme(e,t){return t&&(mme(t)==="object"||typeof t=="function")?t:yme(e)}function sE(e,t){return sE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sE(e,t)}function mme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ome(e){var t=bme();return function(){var n=fy(e),o;if(t){var i=fy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gme(this,o)}}var wme=function(e){hme(r,e);var t=Ome(r);function r(n){return pme(this,r),t.call(this,n)}return vme(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(GF);function Eme(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sy(e){return sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sy(e)}function Tme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_E(e,t)}function $me(e,t){return t&&(Rme(t)==="object"||typeof t=="function")?t:Eme(e)}function _E(e,t){return _E=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_E(e,t)}function Rme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Sme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nme(e){var t=Sme();return function(){var n=sy(e),o;if(t){var i=sy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $me(this,o)}}var Ime=function(e){Tme(r,e);var t=Nme(r);function r(n){return Pme(this,r),t.call(this,n)}return r}(oy),dE={Designer:ly,Runtime:wme,Property:Ime};function Uc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _y(e){return _y=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_y(e)}function qF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yE(e,t)}function Bme(e,t){return t&&(Ame(t)==="object"||typeof t=="function")?t:Uc(e)}function yE(e,t){return yE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yE(e,t)}function Ame(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KF(e){var t=Mme();return function(){var n=_y(e),o;if(t){var i=_y(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Bme(this,o)}}var Lme=function(e){qF(r,e);var t=KF(r);function r(){WF(this,r);var n;return n=t.apply(this,arguments),Gc(Uc(n),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),n}return r}(pe.Rules),dy=function(e){qF(r,e);var t=KF(r);function r(n){WF(this,r);var o;o=t.call(this,n),Gc(Uc(o),"caption",void 0),Gc(Uc(o),"isHideCaption",void 0),Gc(Uc(o),"collapse",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"\u5206\u7EC4";var u;o.isHideCaption=(u=n==null?void 0:n.isHideCaption)!==null&&u!==void 0?u:!1;var c;return o.collapse=(c=n==null?void 0:n.collapse)!==null&&c!==void 0?c:"none",o}return r}(pe);Gc(dy,"Rules",Lme);function XF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function JF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Fme(e,t,r){return t&&JF(e.prototype,t),r&&JF(e,r),e}function pE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yy(e){return yy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yy(e)}function Cme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vE(e,t)}function kme(e,t){return t&&(jme(t)==="object"||typeof t=="function")?t:XF(e)}function vE(e,t){return vE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vE(e,t)}function jme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xme(e){var t=Vme();return function(){var n=yy(e),o;if(t){var i=yy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return kme(this,o)}}var hE=function(e){Cme(r,e);var t=xme(r);function r(n){Dme(this,r);var o;return o=t.call(this,n),pE(XF(o),"props",void 0),o.props=new dy(n==null?void 0:n.props),o}return Fme(r,null,[{key:"controlName",get:function(){return y.getMessage("cardGroup")}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(Oe);pE(hE,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),pE(hE,"excludes",[a.CONTROL_TYPE.CARD_GROUP]);function QF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ume(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Gme(e,t,r){return t&&ZF(e.prototype,t),r&&ZF(e,r),e}function Hme(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function py(e){return py=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},py(e)}function Yme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gE(e,t)}function zme(e,t){return t&&(Wme(t)==="object"||typeof t=="function")?t:QF(e)}function gE(e,t){return gE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gE(e,t)}function Wme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kme(e){var t=qme();return function(){var n=py(e),o;if(t){var i=py(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zme(this,o)}}var Xme=function(e){Yme(r,e);var t=Kme(r);function r(n){Ume(this,r);var o;return o=t.call(this,n),Hme(QF(o),"props",void 0),o.props=new dy(n==null?void 0:n.props),o}return Gme(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(Se),eC={Designer:hE,Runtime:Xme,Property:dy};function Fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vy(e){return vy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vy(e)}function nC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mE(e,t)}function Jme(e,t){return t&&(Qme(t)==="object"||typeof t=="function")?t:Fn(e)}function mE(e,t){return mE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mE(e,t)}function Qme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rC(e){var t=Zme();return function(){var n=vy(e),o;if(t){var i=vy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Jme(this,o)}}var ebe=function(e){nC(r,e);var t=rC(r);function r(n){tC(this,r);var o;return o=t.call(this,n),Cn(Fn(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),Cn(Fn(o),"width",{type:"number",required:!1,message:y.getMessage("pleaseEnterColumnWidth")}),Cn(Fn(o),"captionTip",{type:"string",required:!1,message:y.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Fe),hy=function(e){nC(r,e);var t=rC(r);function r(n){tC(this,r);var o;o=t.call(this,n),Cn(Fn(o),"metaAutoWidth",void 0),Cn(Fn(o),"caption",void 0),Cn(Fn(o),"fixed",void 0),Cn(Fn(o),"isShowCaptionTip",void 0),Cn(Fn(o),"captionTip",void 0),Cn(Fn(o),"isHideCaption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:"";var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:!1;var c;o.isShowCaptionTip=(c=n==null?void 0:n.isShowCaptionTip)!==null&&c!==void 0?c:!1;var l;o.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var f;return o.isHideCaption=(f=n==null?void 0:n.isHideCaption)!==null&&f!==void 0?f:!1,o.metaAutoWidth=new yg(n==null?void 0:n.metaAutoWidth),o}return r}(pe);Cn(hy,"Rules",ebe);function oC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function go(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function gy(e){return gy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gy(e)}function nbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bE(e,t)}function rbe(e,t){return t&&(obe(t)==="object"||typeof t=="function")?t:oC(e)}function bE(e,t){return bE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bE(e,t)}function obe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ibe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ube(e){var t=ibe();return function(){var n=gy(e),o;if(t){var i=gy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rbe(this,o)}}var wn=function(e){nbe(r,e);var t=ube(r);function r(n){tbe(this,r);var o;return o=t.call(this,n),go(oC(o),"props",void 0),o.props=new hy(n==null?void 0:n.props),o}return r}(Oe);go(wn,"controlName",y.getMessage("subtableColumn")),go(wn,"controlType","subtable-column"),go(wn,"controlIcon","subtable-column"),go(wn,"childrenMaxLength",1),go(wn,"excludes",[a.CONTROL_TYPE.SUBTABLE,a.CONTROL_TYPE.SUBTABLE_COLUMN,a.CONTROL_TYPE.ROW,a.CONTROL_TYPE.COL,a.CONTROL_TYPE.CARD_GROUP,a.CONTROL_TYPE.DIVIDER,a.CONTROL_TYPE.TEXT]),go(wn,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function iC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function cbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function my(e){return my=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},my(e)}function abe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OE(e,t)}function lbe(e,t){return t&&(fbe(t)==="object"||typeof t=="function")?t:iC(e)}function OE(e,t){return OE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OE(e,t)}function fbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _be(e){var t=sbe();return function(){var n=my(e),o;if(t){var i=my(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return lbe(this,o)}}var cC=function(e){abe(r,e);var t=_be(r);function r(n){cbe(this,r);var o;return o=t.call(this,n),uC(iC(o),"props",void 0),o.props=new hy(n==null?void 0:n.props),o}return r}(Se);uC(cC,"controlType","subtable-column");var wE={Designer:wn,Runtime:cC,Property:hy};function dbe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ybe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function by(e){return by=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},by(e)}function pbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&EE(e,t)}function vbe(e,t){return t&&(hbe(t)==="object"||typeof t=="function")?t:dbe(e)}function EE(e,t){return EE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EE(e,t)}function hbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mbe(e){var t=gbe();return function(){var n=by(e),o;if(t){var i=by(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vbe(this,o)}}var PE=function(e){pbe(r,e);var t=mbe(r);function r(n){return ybe(this,r),t.call(this,n)}return r}(pe);function aC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oy(e){return Oy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oy(e)}function Obe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&TE(e,t)}function wbe(e,t){return t&&(Ebe(t)==="object"||typeof t=="function")?t:aC(e)}function TE(e,t){return TE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TE(e,t)}function Ebe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tbe(e){var t=Pbe();return function(){var n=Oy(e),o;if(t){var i=Oy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wbe(this,o)}}var bo=function(e){Obe(r,e);var t=Tbe(r);function r(n){bbe(this,r);var o;return o=t.call(this,n),mo(aC(o),"props",void 0),o.props=new PE(n==null?void 0:n.props),o}return r}(Oe);mo(bo,"controlName",y.getMessage("subtableRow")),mo(bo,"controlType","subtable-row"),mo(bo,"controlIcon","subtable-row"),mo(bo,"childrenMaxLength",1),mo(bo,"excludes",[a.CONTROL_TYPE.SUBTABLE,a.CONTROL_TYPE.SUBTABLE_COLUMN,a.CONTROL_TYPE.SUBTABLE_ROW,a.CONTROL_TYPE.ROW,a.CONTROL_TYPE.COL,a.CONTROL_TYPE.CARD_GROUP,a.CONTROL_TYPE.DIVIDER,a.CONTROL_TYPE.TEXT]),mo(bo,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0}]);function lC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $be(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rbe(e,t,r){return t&&fC(e.prototype,t),r&&fC(e,r),e}function Sbe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wy(e){return wy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wy(e)}function Nbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$E(e,t)}function Ibe(e,t){return t&&(Bbe(t)==="object"||typeof t=="function")?t:lC(e)}function $E(e,t){return $E=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$E(e,t)}function Bbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Abe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mbe(e){var t=Abe();return function(){var n=wy(e),o;if(t){var i=wy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Ibe(this,o)}}var Lbe=function(e){Nbe(r,e);var t=Mbe(r);function r(n){$be(this,r);var o;return o=t.call(this,n),Sbe(lC(o),"props",void 0),o.props=new PE(n==null?void 0:n.props),o}return Rbe(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(Se),sC={Designer:bo,Runtime:Lbe,Property:PE};function Vt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ey(e){return Ey=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ey(e)}function Fbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RE(e,t)}function Cbe(e,t){return t&&(kbe(t)==="object"||typeof t=="function")?t:Vt(e)}function RE(e,t){return RE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RE(e,t)}function kbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vbe(e){var t=jbe();return function(){var n=Ey(e),o;if(t){var i=Ey(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Cbe(this,o)}}var SE=function(e){Fbe(r,e);var t=Vbe(r);function r(n){Dbe(this,r);var o;o=t.call(this,n),on(Vt(o),"widthType",void 0),on(Vt(o),"width",void 0),on(Vt(o),"caption",void 0),on(Vt(o),"fieldCode",void 0),on(Vt(o),"fieldType",void 0),on(Vt(o),"fieldName",void 0),on(Vt(o),"datasourceBind",void 0),on(Vt(o),"fixed",void 0),on(Vt(o),"textCleanFormart",void 0),on(Vt(o),"decimalKeepPrecision",void 0),on(Vt(o),"timestampDateType",void 0),on(Vt(o),"departmentDisplayLevel",void 0);var i;o.width=(i=n==null?void 0:n.width)!==null&&i!==void 0?i:200,o.widthType=(n==null?void 0:n.widthType)||"auto";var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:!1;var l;o.fieldCode=(l=n==null?void 0:n.fieldCode)!==null&&l!==void 0?l:"";var f;o.fieldType=(f=n==null?void 0:n.fieldType)!==null&&f!==void 0?f:a.FieldTypes.VARCHAR;var s;o.fieldName=(s=n==null?void 0:n.fieldName)!==null&&s!==void 0?s:"",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var _;o.textCleanFormart=(_=n==null?void 0:n.textCleanFormart)!==null&&_!==void 0?_:!1;var d;o.decimalKeepPrecision=(d=n==null?void 0:n.decimalKeepPrecision)!==null&&d!==void 0?d:0;var p;o.timestampDateType=(p=n==null?void 0:n.timestampDateType)!==null&&p!==void 0?p:a.DateType.DATE;var m;return o.departmentDisplayLevel=(m=n==null?void 0:n.departmentDisplayLevel)!==null&&m!==void 0?m:1,o}return r}(pe);function _C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Py(e){return Py=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Py(e)}function Ube(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NE(e,t)}function Gbe(e,t){return t&&(Hbe(t)==="object"||typeof t=="function")?t:_C(e)}function NE(e,t){return NE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NE(e,t)}function Hbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ybe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zbe(e){var t=Ybe();return function(){var n=Py(e),o;if(t){var i=Py(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gbe(this,o)}}var wo=function(e){Ube(r,e);var t=zbe(r);function r(n){xbe(this,r);var o;return o=t.call(this,n),Oo(_C(o),"props",void 0),o.props=new SE(n==null?void 0:n.props),o}return r}(Oe);Oo(wo,"controlName","\u5217\u8868\u5355\u5143\u683C"),Oo(wo,"controlType","gridtable-column"),Oo(wo,"controlIcon","gridtable-column"),Oo(wo,"childrenMaxLength",1),Oo(wo,"excludes",[a.CONTROL_TYPE.GRID_TABLE,a.CONTROL_TYPE.GRID_TABLE_COLUMN,a.CONTROL_TYPE.ROW,a.CONTROL_TYPE.COL,a.CONTROL_TYPE.CARD_GROUP,a.CONTROL_TYPE.DIVIDER,a.CONTROL_TYPE.TEXT]),Oo(wo,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function dC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ty(e){return Ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ty(e)}function qbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&IE(e,t)}function Kbe(e,t){return t&&(Xbe(t)==="object"||typeof t=="function")?t:dC(e)}function IE(e,t){return IE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IE(e,t)}function Xbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qbe(e){var t=Jbe();return function(){var n=Ty(e),o;if(t){var i=Ty(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kbe(this,o)}}var pC=function(e){qbe(r,e);var t=Qbe(r);function r(n){Wbe(this,r);var o;return o=t.call(this,n),yC(dC(o),"props",void 0),o.props=new SE(n==null?void 0:n.props),o}return r}(Se);yC(pC,"controlType","gridtable-column");var vC={Designer:wo,Runtime:pC,Property:SE};function BE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $y(e){return $y=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$y(e)}function e0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&AE(e,t)}function t0e(e,t){return t&&(n0e(t)==="object"||typeof t=="function")?t:BE(e)}function AE(e,t){return AE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},AE(e,t)}function n0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function r0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function o0e(e){var t=r0e();return function(){var n=$y(e),o;if(t){var i=$y(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return t0e(this,o)}}var ME=function(e){e0e(r,e);var t=o0e(r);function r(n){Zbe(this,r);var o;o=t.call(this,n),hC(BE(o),"childMinWidth",void 0),hC(BE(o),"colGap",void 0);var i;o.childMinWidth=(i=n==null?void 0:n.childMinWidth)!==null&&i!==void 0?i:230;var u;return o.colGap=(u=n==null?void 0:n.colGap)!==null&&u!==void 0?u:24,o}return r}(pe);function gC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function i0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u0e(e,t,r){return t&&mC(e.prototype,t),r&&mC(e,r),e}function LE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ry(e){return Ry=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ry(e)}function c0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&DE(e,t)}function a0e(e,t){return t&&(l0e(t)==="object"||typeof t=="function")?t:gC(e)}function DE(e,t){return DE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DE(e,t)}function l0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function f0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function s0e(e){var t=f0e();return function(){var n=Ry(e),o;if(t){var i=Ry(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return a0e(this,o)}}var FE=function(e){c0e(r,e);var t=s0e(r);function r(n){i0e(this,r);var o;return o=t.call(this,n),LE(gC(o),"props",void 0),o.props=new ME(n==null?void 0:n.props),o}return u0e(r,null,[{key:"controlName",get:function(){return y.getMessage("gridLayoutContainer")}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(Oe);LE(FE,"excludes",[a.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,a.CONTROL_TYPE.CARD_GROUP,a.CONTROL_TYPE.TAB]),LE(FE,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function bC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d0e(e,t,r){return t&&OC(e.prototype,t),r&&OC(e,r),e}function y0e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sy(e){return Sy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sy(e)}function p0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&CE(e,t)}function v0e(e,t){return t&&(h0e(t)==="object"||typeof t=="function")?t:bC(e)}function CE(e,t){return CE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CE(e,t)}function h0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function g0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function m0e(e){var t=g0e();return function(){var n=Sy(e),o;if(t){var i=Sy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return v0e(this,o)}}var b0e=function(e){p0e(r,e);var t=m0e(r);function r(n){_0e(this,r);var o;return o=t.call(this,n),y0e(bC(o),"props",void 0),o.props=new ME(n==null?void 0:n.props),o}return d0e(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(Se),wC={Designer:FE,Runtime:b0e,Property:ME};function EC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w0e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ny(e){return Ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ny(e)}function E0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kE(e,t)}function P0e(e,t){return t&&(T0e(t)==="object"||typeof t=="function")?t:EC(e)}function kE(e,t){return kE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kE(e,t)}function T0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R0e(e){var t=$0e();return function(){var n=Ny(e),o;if(t){var i=Ny(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return P0e(this,o)}}var jE=function(e){E0e(r,e);var t=R0e(r);function r(n){O0e(this,r);var o;o=t.call(this,n),w0e(EC(o),"mobileShowType",void 0);var i;return o.mobileShowType=(i=n==null?void 0:n.mobileShowType)!==null&&i!==void 0?i:"vertical",o}return r}(pe);function VE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iy(e){return Iy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iy(e)}function TC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UE(e,t)}function S0e(e,t){return t&&(N0e(t)==="object"||typeof t=="function")?t:VE(e)}function UE(e,t){return UE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UE(e,t)}function N0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $C(e){var t=I0e();return function(){var n=Iy(e),o;if(t){var i=Iy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return S0e(this,o)}}var B0e=function(e){TC(r,e);var t=$C(r);function r(n){PC(this,r);var o;return o=t.call(this,n),xE(VE(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),o}return r}(Fe),By=function(e){TC(r,e);var t=$C(r);function r(n){PC(this,r);var o;o=t.call(this,n),xE(VE(o),"caption",void 0);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Yc.controlName,o}return r}(pe);xE(By,"Rules",B0e);function RC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function M0e(e,t,r){return t&&SC(e.prototype,t),r&&SC(e,r),e}function GE(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ay(e){return Ay=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ay(e)}function L0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&HE(e,t)}function D0e(e,t){return t&&(F0e(t)==="object"||typeof t=="function")?t:RC(e)}function HE(e,t){return HE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HE(e,t)}function F0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function C0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function k0e(e){var t=C0e();return function(){var n=Ay(e),o;if(t){var i=Ay(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return D0e(this,o)}}var Hc=function(e){L0e(r,e);var t=k0e(r);function r(n){A0e(this,r);var o;return o=t.call(this,n),GE(RC(o),"props",void 0),o.props=new By(n==null?void 0:n.props),o}return M0e(r,null,[{key:"controlName",get:function(){return y.getMessage("tabPane")}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(Oe);GE(Hc,"excludes",[a.CONTROL_TYPE.TAB]),GE(Hc,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function NC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function j0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function V0e(e,t,r){return t&&IC(e.prototype,t),r&&IC(e,r),e}function x0e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function My(e){return My=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},My(e)}function U0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&YE(e,t)}function G0e(e,t){return t&&(H0e(t)==="object"||typeof t=="function")?t:NC(e)}function YE(e,t){return YE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YE(e,t)}function H0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z0e(e){var t=Y0e();return function(){var n=My(e),o;if(t){var i=My(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G0e(this,o)}}var W0e=function(e){U0e(r,e);var t=z0e(r);function r(n){j0e(this,r);var o;return o=t.call(this,n),x0e(NC(o),"props",void 0),o.props=new By(n==null?void 0:n.props),o}return V0e(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(Se),BC={Designer:Hc,Runtime:W0e,Property:By};function AC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K0e(e,t,r){return t&&MC(e.prototype,t),r&&MC(e,r),e}function Ly(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dy(e){return Dy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dy(e)}function X0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zE(e,t)}function J0e(e,t){return t&&(Q0e(t)==="object"||typeof t=="function")?t:AC(e)}function zE(e,t){return zE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zE(e,t)}function Q0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eOe(e){var t=Z0e();return function(){var n=Dy(e),o;if(t){var i=Dy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return J0e(this,o)}}var Yc=function(e){X0e(r,e);var t=eOe(r);function r(n){q0e(this,r);var o;o=t.call(this,n),Ly(AC(o),"props",void 0),o.props=new jE(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Hc,new Hc],o}return K0e(r,null,[{key:"controlName",get:function(){return y.getMessage("tab")}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(Oe);Ly(Yc,"excludes",[a.CONTROL_TYPE.TAB]),Ly(Yc,"controlEventKeys",["on_change_tab"]),Ly(Yc,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function LC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nOe(e,t,r){return t&&DC(e.prototype,t),r&&DC(e,r),e}function rOe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fy(e){return Fy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fy(e)}function oOe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&WE(e,t)}function iOe(e,t){return t&&(uOe(t)==="object"||typeof t=="function")?t:LC(e)}function WE(e,t){return WE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},WE(e,t)}function uOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aOe(e){var t=cOe();return function(){var n=Fy(e),o;if(t){var i=Fy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iOe(this,o)}}var lOe=function(e){oOe(r,e);var t=aOe(r);function r(n){tOe(this,r);var o;return o=t.call(this,n),rOe(LC(o),"props",void 0),o.props=new jE(n==null?void 0:n.props),o}return nOe(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(Se),FC={Designer:Yc,Runtime:lOe,Property:jE};function fOe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Cy(e){return Cy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cy(e)}function _Oe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qE(e,t)}function dOe(e,t){return t&&(yOe(t)==="object"||typeof t=="function")?t:fOe(e)}function qE(e,t){return qE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qE(e,t)}function yOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vOe(e){var t=pOe();return function(){var n=Cy(e),o;if(t){var i=Cy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return dOe(this,o)}}var CC=function(e){_Oe(r,e);var t=vOe(r);function r(n){return sOe(this,r),t.call(this,n)}return r}(pe);function kC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gOe(e,t,r){return t&&jC(e.prototype,t),r&&jC(e,r),e}function VC(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ky(e){return ky=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ky(e)}function mOe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&KE(e,t)}function bOe(e,t){return t&&(OOe(t)==="object"||typeof t=="function")?t:kC(e)}function KE(e,t){return KE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KE(e,t)}function OOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EOe(e){var t=wOe();return function(){var n=ky(e),o;if(t){var i=ky(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bOe(this,o)}}var xC=function(e){mOe(r,e);var t=EOe(r);function r(n){hOe(this,r);var o;return o=t.call(this,n),VC(kC(o),"props",void 0),o.props=new CC({}),o.children=(n==null?void 0:n.children)||[new xc({props:new ho({span:12})}),new xc({props:new ho({span:12})})],o}return gOe(r,null,[{key:"controlName",get:function(){return y.getMessage("toolbox")}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(Oe);VC(xC,"excludes",[a.CONTROL_TYPE.GRID_ROW,a.CONTROL_TYPE.ROW,a.CONTROL_TYPE.GRID,a.CONTROL_TYPE.SUBTABLE,a.CONTROL_TYPE.TAB,a.CONTROL_TYPE.TOOLBOX]);function POe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $Oe(e,t,r){return t&&UC(e.prototype,t),r&&UC(e,r),e}function jy(e){return jy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jy(e)}function ROe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&XE(e,t)}function SOe(e,t){return t&&(NOe(t)==="object"||typeof t=="function")?t:POe(e)}function XE(e,t){return XE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},XE(e,t)}function NOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function BOe(e){var t=IOe();return function(){var n=jy(e),o;if(t){var i=jy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SOe(this,o)}}var AOe=function(e){ROe(r,e);var t=BOe(r);function r(n){TOe(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new rE({props:new ho({span:12})}),new rE({props:new ho({span:12})})],o}return $Oe(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(Se),GC={Designer:xC,Runtime:AOe,Property:CC};function Pe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function JE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Te(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vy(e){return Vy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vy(e)}function QE(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZE(e,t)}function MOe(e,t){return t&&(LOe(t)==="object"||typeof t=="function")?t:Pe(e)}function ZE(e,t){return ZE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZE(e,t)}function LOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eP(e){var t=DOe();return function(){var n=Vy(e),o;if(t){var i=Vy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MOe(this,o)}}var HC;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(HC||(HC={}));var FOe=function(e){QE(r,e);var t=eP(r);function r(n){JE(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Nr),COe=function(e){QE(r,e);var t=eP(r);function r(n){JE(this,r);var o;if(o=t.call(this,n),Te(Pe(o),"triggerFieldCode",{type:"any"}),Te(Pe(o),"datasourceBind",{type:"any"}),Te(Pe(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:y.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:y.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:y.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:y.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:y.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:y.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:y.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:y.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:y.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),sl.call(Pe(o),{optionConfig:"datasource",datasourceBind:n.datasourceBind,options:[]}),Array.isArray(o.datasourceBind)&&o.datasourceBind.length>1){var i=o.datasourceBind.find(function(u){return u.type==="object"&&u.fields});i&&(delete i.fields.valueFieldCode,delete i.fields.displayBoList)}return o}return r}(Fe),zc=function(e){QE(r,e);var t=eP(r);function r(n){JE(this,r);var o;o=t.call(this,n),Te(Pe(o),"datasourceBind",void 0),Te(Pe(o),"isLoading",void 0),Te(Pe(o),"isShowSubList",void 0),Te(Pe(o),"triggerType",void 0),Te(Pe(o),"triggerFieldCode",void 0),Te(Pe(o),"sublistPage",void 0),Te(Pe(o),"isShowJoinRelation",void 0),Te(Pe(o),"joinRelation",void 0),Te(Pe(o),"showType",void 0),Te(Pe(o),"showFullScreen",void 0),Te(Pe(o),"isFixedHeader",void 0),Te(Pe(o),"selectionType",void 0),Te(Pe(o),"isShowSelection",void 0),Te(Pe(o),"isAllLoaded",void 0),Te(Pe(o),"countType",void 0),Te(Pe(o),"countLimit",void 0),Te(Pe(o),"rowStyle",void 0),o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var i;o.isLoading=(i=n==null?void 0:n.isLoading)!==null&&i!==void 0?i:!1;var u;o.isShowSubList=(u=n==null?void 0:n.isShowSubList)!==null&&u!==void 0?u:!1;var c;o.triggerType=(c=n==null?void 0:n.triggerType)!==null&&c!==void 0?c:1;var l;o.triggerFieldCode=(l=n==null?void 0:n.triggerFieldCode)!==null&&l!==void 0?l:"",o.sublistPage=new GN(n==null?void 0:n.sublistPage);var f;o.isShowJoinRelation=(f=n==null?void 0:n.isShowJoinRelation)!==null&&f!==void 0?f:!1,o.joinRelation=new YN(n==null?void 0:n.joinRelation);var s;o.showType=(s=n==null?void 0:n.showType)!==null&&s!==void 0?s:"stretch";var _;o.showFullScreen=(_=n==null?void 0:n.showFullScreen)!==null&&_!==void 0?_:!1;var d;o.selectionType=(d=n==null?void 0:n.selectionType)!==null&&d!==void 0?d:"multiple";var p;o.isFixedHeader=(p=n==null?void 0:n.isFixedHeader)!==null&&p!==void 0?p:!1;var m;o.isShowSelection=(m=n==null?void 0:n.isShowSelection)!==null&&m!==void 0?m:!1;var h;o.isAllLoaded=(h=n==null?void 0:n.isAllLoaded)!==null&&h!==void 0?h:!0,o.countType=n==null?void 0:n.countType;var E;return o.countLimit=(E=n==null?void 0:n.countLimit)!==null&&E!==void 0?E:1e5,o.rowStyle=new aI(n==null?void 0:n.rowStyle),o}return r}(pe);Te(zc,"Rules",COe),Te(zc,"RuntimeRules",FOe);function YC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jOe(e,t,r){return t&&zC(e.prototype,t),r&&zC(e,r),e}function Wc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xy(e){return xy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xy(e)}function VOe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&tP(e,t)}function xOe(e,t){return t&&(UOe(t)==="object"||typeof t=="function")?t:YC(e)}function tP(e,t){return tP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tP(e,t)}function UOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HOe(e){var t=GOe();return function(){var n=xy(e),o;if(t){var i=xy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xOe(this,o)}}var qc=function(e){VOe(r,e);var t=HOe(r);function r(n){kOe(this,r);var o;return o=t.call(this,n),Wc(YC(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return jOe(r,null,[{key:"controlName",get:function(){return y.getMessage("listView")}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Oe);Wc(qc,"slotPosition",{left:"list-view-left-slot"}),Wc(qc,"excludes",[a.CONTROL_TYPE.ROW]),Wc(qc,"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"]),Wc(qc,"setting",[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"list-row-style",visible:!0},{key:"super-setting",visible:!0}]);function WC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zOe(e,t,r){return t&&qC(e.prototype,t),r&&qC(e,r),e}function WOe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Uy(e){return Uy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Uy(e)}function qOe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nP(e,t)}function KOe(e,t){return t&&(XOe(t)==="object"||typeof t=="function")?t:WC(e)}function nP(e,t){return nP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nP(e,t)}function XOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QOe(e){var t=JOe();return function(){var n=Uy(e),o;if(t){var i=Uy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KOe(this,o)}}var ZOe=function(e){qOe(r,e);var t=QOe(r);function r(n){YOe(this,r);var o;return o=t.call(this,n),WOe(WC(o),"props",void 0),o.props=new zc(n==null?void 0:n.props),o}return zOe(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Se),rP={Designer:qc,Runtime:ZOe,Property:zc};function Gr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KC(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gy(e){return Gy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gy(e)}function XC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&oP(e,t)}function ewe(e,t){return t&&(twe(t)==="object"||typeof t=="function")?t:Gr(e)}function oP(e,t){return oP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oP(e,t)}function twe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nwe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JC(e){var t=nwe();return function(){var n=Gy(e),o;if(t){var i=Gy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ewe(this,o)}}var rwe=function(e){XC(r,e);var t=JC(r);function r(n){KC(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Nr),Hy=function(e){XC(r,e);var t=JC(r);function r(n){KC(this,r);var o;o=t.call(this,n),Hr(Gr(o),"save",void 0),Hr(Gr(o),"cancel",void 0),Hr(Gr(o),"saveAs",void 0),Hr(Gr(o),"print",void 0),Hr(Gr(o),"custom",void 0),Hr(Gr(o),"isLoading",void 0),Hr(Gr(o),"datasourceBind",void 0);var i;o.save=new Yn((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Yn((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new Yn((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var l;o.print=new Yn((l=n==null?void 0:n.print)!==null&&l!==void 0?l:{content:"\u6253\u5370",type:"print",isShow:!1});var f;o.custom=((f=n==null?void 0:n.custom)!==null&&f!==void 0?f:[]).map(function(_){return new Yn(_)});var s;return o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1,o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind),o}return r}(pe);Hr(Hy,"RuntimeRules",rwe);function QC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function owe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iwe(e,t,r){return t&&ZC(e.prototype,t),r&&ZC(e,r),e}function ek(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yy(e){return Yy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yy(e)}function uwe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iP(e,t)}function cwe(e,t){return t&&(awe(t)==="object"||typeof t=="function")?t:QC(e)}function iP(e,t){return iP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iP(e,t)}function awe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lwe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fwe(e){var t=lwe();return function(){var n=Yy(e),o;if(t){var i=Yy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cwe(this,o)}}var tk=function(e){uwe(r,e);var t=fwe(r);function r(n){owe(this,r);var o;return o=t.call(this,n),ek(QC(o),"props",void 0),o.props=new Hy(n==null?void 0:n.props),o}return iwe(r,null,[{key:"controlName",get:function(){return y.getMessage("dataView")}},{key:"controlType",get:function(){return"data-view"}}]),r}(Oe);ek(tk,"excludes",[]);function nk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function swe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _we(e,t,r){return t&&rk(e.prototype,t),r&&rk(e,r),e}function dwe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zy(e){return zy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zy(e)}function ywe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uP(e,t)}function pwe(e,t){return t&&(vwe(t)==="object"||typeof t=="function")?t:nk(e)}function uP(e,t){return uP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uP(e,t)}function vwe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hwe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gwe(e){var t=hwe();return function(){var n=zy(e),o;if(t){var i=zy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pwe(this,o)}}var mwe=function(e){ywe(r,e);var t=gwe(r);function r(n){swe(this,r);var o;return o=t.call(this,n),dwe(nk(o),"props",void 0),o.props=new Hy(n==null?void 0:n.props),o}return _we(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Se),cP={Designer:tk,Runtime:mwe,Property:Hy};function bwe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Owe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ok(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wwe(e,t,r){return t&&ok(e.prototype,t),r&&ok(e,r),e}function Wy(e){return Wy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wy(e)}function Ewe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aP(e,t)}function Pwe(e,t){return t&&(Twe(t)==="object"||typeof t=="function")?t:bwe(e)}function aP(e,t){return aP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aP(e,t)}function Twe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $we(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rwe(e){var t=$we();return function(){var n=Wy(e),o;if(t){var i=Wy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pwe(this,o)}}var Swe=function(e){Ewe(r,e);var t=Rwe(r);function r(n){return Owe(this,r),t.call(this,n)}return wwe(r,null,[{key:"controlName",get:function(){return y.getMessage("page")}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(Oe);function Nwe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ik(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bwe(e,t,r){return t&&ik(e.prototype,t),r&&ik(e,r),e}function qy(e){return qy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qy(e)}function Awe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lP(e,t)}function Mwe(e,t){return t&&(Lwe(t)==="object"||typeof t=="function")?t:Nwe(e)}function lP(e,t){return lP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lP(e,t)}function Lwe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dwe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fwe(e){var t=Dwe();return function(){var n=qy(e),o;if(t){var i=qy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Mwe(this,o)}}var Cwe=function(e){Awe(r,e);var t=Fwe(r);function r(n){return Iwe(this,r),t.call(this,n)}return Bwe(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(Se);function Ki(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ky(e){return Ky=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ky(e)}function jwe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fP(e,t)}function Vwe(e,t){return t&&(xwe(t)==="object"||typeof t=="function")?t:Ki(e)}function fP(e,t){return fP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fP(e,t)}function xwe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Uwe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gwe(e){var t=Uwe();return function(){var n=Ky(e),o;if(t){var i=Ky(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Vwe(this,o)}}var Hwe=function(e){jwe(r,e);var t=Gwe(r);function r(n){kwe(this,r);var o;o=t.call(this,n),Kc(Ki(o),"hideHeader",void 0),Kc(Ki(o),"background","#fff"),Kc(Ki(o),"minWidth",""),Kc(Ki(o),"maxWidth",""),Kc(Ki(o),"heightConfig","auto");var i;return o.hideHeader=(i=n==null?void 0:n.hideHeader)!==null&&i!==void 0?i:!1,o}return r}(pe),uk={Designer:Swe,Runtime:Cwe,Property:Hwe};function Ywe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ck(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wwe(e,t,r){return t&&ck(e.prototype,t),r&&ck(e,r),e}function Xy(e){return Xy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xy(e)}function qwe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sP(e,t)}function Kwe(e,t){return t&&(Xwe(t)==="object"||typeof t=="function")?t:Ywe(e)}function sP(e,t){return sP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sP(e,t)}function Xwe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jwe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qwe(e){var t=Jwe();return function(){var n=Xy(e),o;if(t){var i=Xy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kwe(this,o)}}var Zwe=function(e){qwe(r,e);var t=Qwe(r);function r(n){return zwe(this,r),t.call(this,n)}return Wwe(r,null,[{key:"controlName",get:function(){return y.getMessage("advancedContainer")}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Oe);function eEe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ak(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function nEe(e,t,r){return t&&ak(e.prototype,t),r&&ak(e,r),e}function Jy(e){return Jy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jy(e)}function rEe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_P(e,t)}function oEe(e,t){return t&&(iEe(t)==="object"||typeof t=="function")?t:eEe(e)}function _P(e,t){return _P=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_P(e,t)}function iEe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uEe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cEe(e){var t=uEe();return function(){var n=Jy(e),o;if(t){var i=Jy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oEe(this,o)}}var aEe=function(e){rEe(r,e);var t=cEe(r);function r(n){return tEe(this,r),t.call(this,n)}return nEe(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Se);function dP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lk(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qy(e){return Qy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qy(e)}function fEe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yP(e,t)}function sEe(e,t){return t&&(_Ee(t)==="object"||typeof t=="function")?t:dP(e)}function yP(e,t){return yP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yP(e,t)}function _Ee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dEe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yEe(e){var t=dEe();return function(){var n=Qy(e),o;if(t){var i=Qy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sEe(this,o)}}var pEe=function(e){fEe(r,e);var t=yEe(r);function r(n){lEe(this,r);var o;return o=t.call(this,n),lk(dP(o),"display",void 0),lk(dP(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new mB(n==null?void 0:n.flexConfig),o}return r}(pe),fk={Designer:Zwe,Runtime:aEe,Property:pEe};function vEe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gEe(e,t,r){return t&&sk(e.prototype,t),r&&sk(e,r),e}function Zy(e){return Zy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zy(e)}function mEe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pP(e,t)}function bEe(e,t){return t&&(OEe(t)==="object"||typeof t=="function")?t:vEe(e)}function pP(e,t){return pP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pP(e,t)}function OEe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wEe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EEe(e){var t=wEe();return function(){var n=Zy(e),o;if(t){var i=Zy(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bEe(this,o)}}var PEe=function(e){mEe(r,e);var t=EEe(r);function r(n){return hEe(this,r),t.call(this,n)}return gEe(r,null,[{key:"controlName",get:function(){return y.getMessage("positioningContainer")}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Oe);function TEe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _k(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function REe(e,t,r){return t&&_k(e.prototype,t),r&&_k(e,r),e}function ep(e){return ep=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ep(e)}function SEe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vP(e,t)}function NEe(e,t){return t&&(IEe(t)==="object"||typeof t=="function")?t:TEe(e)}function vP(e,t){return vP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vP(e,t)}function IEe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BEe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function AEe(e){var t=BEe();return function(){var n=ep(e),o;if(t){var i=ep(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NEe(this,o)}}var MEe=function(e){SEe(r,e);var t=AEe(r);function r(n){return $Ee(this,r),t.call(this,n)}return REe(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Se);function LEe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tp(e){return tp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tp(e)}function FEe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hP(e,t)}function CEe(e,t){return t&&(kEe(t)==="object"||typeof t=="function")?t:LEe(e)}function hP(e,t){return hP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hP(e,t)}function kEe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jEe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function VEe(e){var t=jEe();return function(){var n=tp(e),o;if(t){var i=tp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CEe(this,o)}}var xEe=function(e){FEe(r,e);var t=VEe(r);function r(n){return DEe(this,r),t.call(this,n)}return r}(pe),dk={Designer:PEe,Runtime:MEe,Property:xEe};function UEe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HEe(e,t,r){return t&&yk(e.prototype,t),r&&yk(e,r),e}function np(e){return np=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},np(e)}function YEe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gP(e,t)}function zEe(e,t){return t&&(WEe(t)==="object"||typeof t=="function")?t:UEe(e)}function gP(e,t){return gP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gP(e,t)}function WEe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qEe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KEe(e){var t=qEe();return function(){var n=np(e),o;if(t){var i=np(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zEe(this,o)}}var XEe=function(e){YEe(r,e);var t=KEe(r);function r(n){return GEe(this,r),t.call(this,n)}return HEe(r,null,[{key:"controlName",get:function(){return y.getMessage("position")}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(Oe);function JEe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QEe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ZEe(e,t,r){return t&&pk(e.prototype,t),r&&pk(e,r),e}function rp(e){return rp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rp(e)}function ePe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&mP(e,t)}function tPe(e,t){return t&&(nPe(t)==="object"||typeof t=="function")?t:JEe(e)}function mP(e,t){return mP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mP(e,t)}function nPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rPe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oPe(e){var t=rPe();return function(){var n=rp(e),o;if(t){var i=rp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return tPe(this,o)}}var iPe=function(e){ePe(r,e);var t=oPe(r);function r(n){return QEe(this,r),t.call(this,n)}return ZEe(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(Se);function Xc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uPe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function op(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ip(e){return ip=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ip(e)}function cPe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bP(e,t)}function aPe(e,t){return t&&(lPe(t)==="object"||typeof t=="function")?t:Xc(e)}function bP(e,t){return bP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bP(e,t)}function lPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fPe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sPe(e){var t=fPe();return function(){var n=ip(e),o;if(t){var i=ip(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aPe(this,o)}}var _Pe=function(e){cPe(r,e);var t=sPe(r);function r(n){uPe(this,r);var o;o=t.call(this,n),op(Xc(o),"widthSpan",void 0),op(Xc(o),"heightSpan",void 0),op(Xc(o),"left",void 0),op(Xc(o),"top",void 0);var i;o.widthSpan=(i=n==null?void 0:n.widthSpan)!==null&&i!==void 0?i:12;var u;o.heightSpan=(u=n==null?void 0:n.heightSpan)!==null&&u!==void 0?u:12;var c;o.left=(c=n==null?void 0:n.left)!==null&&c!==void 0?c:0;var l;return o.top=(l=n==null?void 0:n.top)!==null&&l!==void 0?l:0,o}return r}(pe),vk={Designer:XEe,Runtime:iPe,Property:_Pe};function up(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dPe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function cp(e){return cp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cp(e)}function yPe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wP(e,t)}function pPe(e,t){return t&&(vPe(t)==="object"||typeof t=="function")?t:up(e)}function wP(e,t){return wP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wP(e,t)}function vPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hPe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gPe(e){var t=hPe();return function(){var n=cp(e),o;if(t){var i=cp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pPe(this,o)}}var EP=function(e){yPe(r,e);var t=gPe(r);function r(n){dPe(this,r);var o;o=t.call(this,n),OP(up(o),"position",void 0),OP(up(o),"opacity",void 0),OP(up(o),"align",void 0);var i;o.position=(i=n==null?void 0:n.position)!==null&&i!==void 0?i:"bottom";var u;o.opacity=(u=n==null?void 0:n.opacity)!==null&&u!==void 0?u:!0;var c;return o.align=(c=n==null?void 0:n.align)!==null&&c!==void 0?c:"right",o}return r}(pe);function hk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mPe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function bPe(e,t,r){return t&&gk(e.prototype,t),r&&gk(e,r),e}function ap(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lp(e){return lp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lp(e)}function OPe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PP(e,t)}function wPe(e,t){return t&&(EPe(t)==="object"||typeof t=="function")?t:hk(e)}function PP(e,t){return PP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PP(e,t)}function EPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PPe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TPe(e){var t=PPe();return function(){var n=lp(e),o;if(t){var i=lp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wPe(this,o)}}var fp=function(e){OPe(r,e);var t=TPe(r);function r(n){mPe(this,r);var o;o=t.call(this,n),ap(hk(o),"props",void 0);var i;return o.props=new EP((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return bPe(r,null,[{key:"controlName",get:function(){return y.getMessage("actionBar")}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(Oe);ap(fp,"slotPosition",{default:"action-bar-slot"}),ap(fp,"excludes",[]),ap(fp,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function mk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $Pe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function RPe(e,t,r){return t&&bk(e.prototype,t),r&&bk(e,r),e}function SPe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sp(e){return sp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sp(e)}function NPe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&TP(e,t)}function IPe(e,t){return t&&(BPe(t)==="object"||typeof t=="function")?t:mk(e)}function TP(e,t){return TP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TP(e,t)}function BPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function APe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MPe(e){var t=APe();return function(){var n=sp(e),o;if(t){var i=sp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return IPe(this,o)}}var LPe=function(e){NPe(r,e);var t=MPe(r);function r(n){$Pe(this,r);var o;o=t.call(this,n),SPe(mk(o),"props",void 0);var i;return o.props=new EP((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return RPe(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(Se),Ok={Designer:fp,Runtime:LPe,Property:EP},DPe=Object.freeze({__proto__:null,Grid:AF,Col:ny,Row:HF,GridRow:dE,CardGroup:eC,SubTableColumn:wE,SubTableRow:sC,GridTableColumn:vC,GridLayoutContainer:wC,Tab:FC,TabPane:BC,Toolbox:GC,ListView:rP,DataView:cP,Page:uk,AdvancedContainer:fk,PositioningContainer:dk,Position:vk,ActionBar:Ok});function G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _p(e){return _p=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_p(e)}function RP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&SP(e,t)}function FPe(e,t){return t&&(CPe(t)==="object"||typeof t=="function")?t:G(e)}function SP(e,t){return SP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},SP(e,t)}function CPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kPe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NP(e){var t=kPe();return function(){var n=_p(e),o;if(t){var i=_p(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FPe(this,o)}}var jPe=function(e){RP(r,e);var t=NP(r);function r(n){$P(this,r);var o;return o=t.call(this,n),U(G(o),"caption",{type:"string",required:!0,message:y.getMessage("pleaseEnterCaption")}),U(G(o),"limitRows",[{type:"number",required:!0,message:y.getMessage("isNotNumber")},{type:"number",min:0,message:y.getMessage("limitRowsCannotBeLessThan0")}]),U(G(o),"formKey",{type:"string",required:!1,message:y.getMessage("pleaseEnterForm")}),U(G(o),"maxHeight",{type:"number",required:!0,message:y.getMessage("pleaseEnterMaxHeight")}),U(G(o),"captionTip",{type:"string",required:!1,message:y.getMessage("pleaseEnterCaptionTip")}),U(G(o),"mobileRowCaption",{type:"string",required:!1,message:y.getMessage("pleaseEnterRowCaption")}),n.openType==="modal"&&(o.formKey.required=!0),n.isShowCaptionTip&&(o.captionTip.required=!0),n.mobileShowType==="tile"&&(o.mobileRowCaption.required=!0),o}return r}(Fe),VPe=function(e){RP(r,e);var t=NP(r);function r(n){$P(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:y.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,l){c.length<n.limitRows&&l(y.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),l()},message:y.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Nr),Jc=function(e){RP(r,e);var t=NP(r);function r(n,o){$P(this,r);var i;i=t.call(this,n,o,r.mode),U(G(i),"caption",void 0),U(G(i),"labelPosition",void 0),U(G(i),"isHideCaption",void 0),U(G(i),"isShowCaptionTip",void 0),U(G(i),"captionTip",void 0),U(G(i),"defaultState",void 0),U(G(i),"limitRows",void 0),U(G(i),"maxRows",void 0),U(G(i),"defaultRows",void 0),U(G(i),"datasourceBind",void 0),U(G(i),"printMode",void 0),U(G(i),"openType",void 0),U(G(i),"formKey",void 0),U(G(i),"useCustomHeight",void 0),U(G(i),"maxHeight",void 0),U(G(i),"canAdd",void 0),U(G(i),"canDelete",void 0),U(G(i),"canCheck",void 0),U(G(i),"canEdit",void 0),U(G(i),"canImport",void 0),U(G(i),"importConfig",void 0),U(G(i),"canExport",void 0),U(G(i),"exportConfig",void 0),U(G(i),"canClear",void 0),U(G(i),"isPaste",void 0),U(G(i),"mobileShowType",void 0),U(G(i),"mobileDefaultNum",void 0),U(G(i),"dataStorageDoc",void 0),U(G(i),"serverPagination",void 0),U(G(i),"fixedColumn",void 0),U(G(i),"mobileRowCaption",void 0),U(G(i),"mobileIsTile",void 0),U(G(i),"sortable",void 0),U(G(i),"sortKey",void 0);var u;i.caption=(u=o==null?void 0:o.caption)!==null&&u!==void 0?u:Qc.controlName;var c;i.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!1;var l;i.defaultState=(l=o==null?void 0:o.defaultState)!==null&&l!==void 0?l:"default";var f;i.labelPosition=(f=o==null?void 0:o.labelPosition)!==null&&f!==void 0?f:"top";var s;i.openType=(s=o==null?void 0:o.openType)!==null&&s!==void 0?s:"default";var _;i.formKey=(_=o==null?void 0:o.formKey)!==null&&_!==void 0?_:"";var d;i.useCustomHeight=(d=o==null?void 0:o.useCustomHeight)!==null&&d!==void 0?d:!1;var p;i.maxHeight=(p=o==null?void 0:o.maxHeight)!==null&&p!==void 0?p:hB;var m;i.printMode=(m=o==null?void 0:o.printMode)!==null&&m!==void 0?m:"row";var h;i.limitRows=(h=o==null?void 0:o.limitRows)!==null&&h!==void 0?h:1;var E;i.maxRows=(E=o==null?void 0:o.maxRows)!==null&&E!==void 0?E:null;var v;i.defaultRows=(v=o==null?void 0:o.defaultRows)!==null&&v!==void 0?v:1,i.datasourceBind=new Ue(o==null?void 0:o.datasourceBind);var R;i.canAdd=(R=o==null?void 0:o.canAdd)!==null&&R!==void 0?R:!0;var b;i.canDelete=(b=o==null?void 0:o.canDelete)!==null&&b!==void 0?b:!0;var O;i.canCheck=(O=o==null?void 0:o.canCheck)!==null&&O!==void 0?O:!1;var S;i.canEdit=(S=o==null?void 0:o.canEdit)!==null&&S!==void 0?S:!1;var T;i.canImport=(T=o==null?void 0:o.canImport)!==null&&T!==void 0?T:!1;var $;i.canExport=($=o==null?void 0:o.canExport)!==null&&$!==void 0?$:!1;var I;i.canClear=(I=o==null?void 0:o.canClear)!==null&&I!==void 0?I:!0;var A;i.serverPagination=(A=o==null?void 0:o.serverPagination)!==null&&A!==void 0?A:!1;var x;i.isShowCaptionTip=(x=o==null?void 0:o.isShowCaptionTip)!==null&&x!==void 0?x:!1;var Z;i.captionTip=(Z=o==null?void 0:o.captionTip)!==null&&Z!==void 0?Z:"";var H;i.mobileShowType=(H=o==null?void 0:o.mobileShowType)!==null&&H!==void 0?H:"list";var he;i.mobileDefaultNum=(he=o==null?void 0:o.mobileDefaultNum)!==null&&he!==void 0?he:10;var st;i.dataStorageDoc=(st=o==null?void 0:o.dataStorageDoc)!==null&&st!==void 0?st:new kN;var cr;i.fixedColumn=(cr=o==null?void 0:o.fixedColumn)!==null&&cr!==void 0?cr:[];var It;i.mobileRowCaption=(It=o==null?void 0:o.mobileRowCaption)!==null&&It!==void 0?It:"\u660E\u7EC6";var ar;i.mobileIsTile=(ar=o==null?void 0:o.mobileIsTile)!==null&&ar!==void 0?ar:!1;var lr;i.isPaste=(lr=o==null?void 0:o.isPaste)!==null&&lr!==void 0?lr:!1;var fr;i.pageSize=(fr=o==null?void 0:o.pageSize)!==null&&fr!==void 0?fr:10;var sr;i.pageSizeOptions=(sr=o==null?void 0:o.pageSizeOptions)!==null&&sr!==void 0?sr:[10,20,50,100],i.importConfig=new pB(o==null?void 0:o.importConfig),i.exportConfig=new vB(o==null?void 0:o.exportConfig);var _r;i.sortable=(_r=o==null?void 0:o.sortable)!==null&&_r!==void 0?_r:!1;var _t;return i.sortKey=(_t=o==null?void 0:o.sortKey)!==null&&_t!==void 0?_t:{},i}return r}(Qu);U(Jc,"Rules",jPe),U(Jc,"RuntimeRules",VPe);function IP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xPe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function UPe(e,t,r){return t&&wk(e.prototype,t),r&&wk(e,r),e}function dp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yp(e){return yp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yp(e)}function GPe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&BP(e,t)}function HPe(e,t){return t&&(YPe(t)==="object"||typeof t=="function")?t:IP(e)}function BP(e,t){return BP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},BP(e,t)}function YPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zPe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WPe(e){var t=zPe();return function(){var n=yp(e),o;if(t){var i=yp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return HPe(this,o)}}var Qc=function(e){GPe(r,e);var t=WPe(r);function r(n){xPe(this,r);var o,i;return o=t.call(this,n),dp(IP(o),"props",void 0),o.props=new Jc(IP(o),n==null?void 0:n.props),(n==null||(i=n.props)===null||i===void 0?void 0:i.headers)===void 0&&(o.props.headers=[new wn,new wn,new wn]),o}return UPe(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new wn,c=typeof o=="number"?o:i;return c===void 0?this.props.headers.push(u):this.props.headers.splice(c,0,u),u}}],[{key:"controlName",get:function(){return y.getMessage("subTable")}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Tl);dp(Qc,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),dp(Qc,"slotPosition",{toolbar:"subtable-toolbar-slot"}),dp(Qc,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION,a.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[a.COMMON_SETTING_TYPE.IS_HIDE,a.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,a.COMMON_SETTING_TYPE.IS_PASTE,a.COMMON_SETTING_TYPE.SERVER_PAGINATION,a.COMMON_SETTING_TYPE.SORTABLE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"max-rows",visible:!0},{key:"list-pager",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}]);function AP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qPe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ek(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function KPe(e,t,r){return t&&Ek(e.prototype,t),r&&Ek(e,r),e}function XPe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pp(e){return pp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},pp(e)}function JPe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MP(e,t)}function QPe(e,t){return t&&(ZPe(t)==="object"||typeof t=="function")?t:AP(e)}function MP(e,t){return MP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},MP(e,t)}function ZPe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tTe(e){var t=eTe();return function(){var n=pp(e),o;if(t){var i=pp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QPe(this,o)}}var nTe=function(e){JPe(r,e);var t=tTe(r);function r(n){qPe(this,r);var o;return o=t.call(this,n),XPe(AP(o),"props",void 0),o.props=new Jc(AP(o),n==null?void 0:n.props),o}return KPe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){yr("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(qg),Pk={Designer:Qc,Runtime:nTe,Property:Jc};function Xi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zc(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vp(e){return vp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vp(e)}function oTe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LP(e,t)}function iTe(e,t){return t&&(uTe(t)==="object"||typeof t=="function")?t:Xi(e)}function LP(e,t){return LP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LP(e,t)}function uTe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aTe(e){var t=cTe();return function(){var n=vp(e),o;if(t){var i=vp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return iTe(this,o)}}var DP=function(e){oTe(r,e);var t=aTe(r);function r(n,o){rTe(this,r);var i;i=t.call(this,n,o),Zc(Xi(i),"isFixedHeader",void 0),Zc(Xi(i),"selectionType",void 0),Zc(Xi(i),"isShowToolbar",void 0),Zc(Xi(i),"isShowSelection",void 0),Zc(Xi(i),"isShowCustomColumns",void 0);var u;i.isFixedHeader=(u=o==null?void 0:o.isFixedHeader)!==null&&u!==void 0?u:!1,i.selectionType=o==null?void 0:o.selectionType;var c;i.isShowToolbar=(c=o==null?void 0:o.isShowToolbar)!==null&&c!==void 0?c:!0;var l;i.isShowSelection=(l=o==null?void 0:o.isShowSelection)!==null&&l!==void 0?l:!1;var f;i.isShowCustomColumns=(f=o==null?void 0:o.isShowCustomColumns)!==null&&f!==void 0?f:!0;var s;return i.pageSizeOptions=(s=o==null?void 0:o.pageSizeOptions)!==null&&s!==void 0?s:[10,20,50,100,500],i}return r}(Qu);function lTe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fTe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hp(e){return hp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hp(e)}function $k(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&FP(e,t)}function sTe(e,t){return t&&(_Te(t)==="object"||typeof t=="function")?t:lTe(e)}function FP(e,t){return FP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},FP(e,t)}function _Te(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Rk(e){var t=dTe();return function(){var n=hp(e),o;if(t){var i=hp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return sTe(this,o)}}var yTe=function(e){$k(r,e);var t=Rk(r);function r(n){Tk(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(dn),gp=function(e){$k(r,e);var t=Rk(r);function r(n){Tk(this,r);var o,i,u;o=t.call(this,n);var c;o.fixed=(c=n==null?void 0:n.fixed)!==null&&c!==void 0?c:"left";var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:Eo.controlName;var f;o.width=(f=n==null?void 0:n.width)!==null&&f!==void 0?f:60;var s;o.autoWidth.minWidth=(s=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&s!==void 0?s:60;var _;o.autoWidth.flex=(_=n==null||(u=n.autoWidth)===null||u===void 0?void 0:u.flex)!==null&&_!==void 0?_:.4;var d;return o.widthType=(d=n==null?void 0:n.widthType)!==null&&d!==void 0?d:"px",o}return r}(Ne);fTe(gp,"Rules",yTe);function Sk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ea(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mp(e){return mp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mp(e)}function vTe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&CP(e,t)}function hTe(e,t){return t&&(gTe(t)==="object"||typeof t=="function")?t:Sk(e)}function CP(e,t){return CP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CP(e,t)}function gTe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bTe(e){var t=mTe();return function(){var n=mp(e),o;if(t){var i=mp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hTe(this,o)}}var Eo=function(e){vTe(r,e);var t=bTe(r);function r(n){pTe(this,r);var o;return o=t.call(this,n),ea(Sk(o),"props",void 0),o.props=new gp(n==null?void 0:n.props),o}return r}(We);ea(Eo,"controlType","order-column"),ea(Eo,"controlName",y.getMessage("order")),ea(Eo,"controlIcon","order-column"),ea(Eo,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function Nk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bp(e){return bp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bp(e)}function wTe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jP(e,t)}function ETe(e,t){return t&&(PTe(t)==="object"||typeof t=="function")?t:Nk(e)}function jP(e,t){return jP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jP(e,t)}function PTe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $Te(e){var t=TTe();return function(){var n=bp(e),o;if(t){var i=bp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ETe(this,o)}}var VP=function(e){wTe(r,e);var t=$Te(r);function r(n){OTe(this,r);var o;return o=t.call(this,n),kP(Nk(o),"props",void 0),o.props=new gp(n==null?void 0:n.props),o}return r}(qe);kP(VP,"controlType","order-column"),kP(VP,"controlFieldType",a.FieldTypes.DECIMAL);var Ik={Designer:Eo,Runtime:VP,Property:gp};function xP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bk(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Op(e){return Op=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Op(e)}function STe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UP(e,t)}function NTe(e,t){return t&&(ITe(t)==="object"||typeof t=="function")?t:xP(e)}function UP(e,t){return UP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UP(e,t)}function ITe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ATe(e){var t=BTe();return function(){var n=Op(e),o;if(t){var i=Op(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NTe(this,o)}}var GP=function(e){STe(r,e);var t=ATe(r);function r(n){RTe(this,r);var o,i;o=t.call(this,n),Bk(xP(o),"showType",void 0),Bk(xP(o),"limit",void 0);var u;o.fixed=(u=n==null?void 0:n.fixed)!==null&&u!==void 0?u:"right",o.widthType="auto";var c;o.autoWidth.minWidth=(c=n==null||(i=n.autoWidth)===null||i===void 0?void 0:i.minWidth)!==null&&c!==void 0?c:84;var l;o.caption=(l=n==null?void 0:n.caption)!==null&&l!==void 0?l:To.controlName;var f;o.showType=(f=n==null?void 0:n.showType)!==null&&f!==void 0?f:"icon";var s;return o.limit=(s=n==null?void 0:n.limit)!==null&&s!==void 0?s:3,o}return r}(Ne);function Ak(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mk(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(f){r(f);return}c.done?t(l):Promise.resolve(l).then(n,o)}function MTe(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Mk(i,n,o,u,c,"next",l)}function c(l){Mk(i,n,o,u,c,"throw",l)}u(void 0)})}}function LTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function DTe(e,t,r){return t&&Lk(e.prototype,t),r&&Lk(e,r),e}function ta(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function na(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?na=Reflect.get:na=function(o,i,u){var c=kTe(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},na(e,t,r||e)}function Po(e){return Po=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Po(e)}function FTe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&HP(e,t)}function CTe(e,t){return t&&(jTe(t)==="object"||typeof t=="function")?t:Ak(e)}function HP(e,t){return HP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HP(e,t)}function kTe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Po(e),e!==null););return e}function jTe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xTe(e){var t=VTe();return function(){var n=Po(e),o;if(t){var i=Po(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CTe(this,o)}}function UTe(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(f){return function(s){return l([f,s])}}function l(f){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=f[0]&2?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[f[0]&2,o.value]),f[0]){case 0:case 1:o=f;break;case 4:return u.label++,{value:f[1],done:!1};case 5:u.label++,n=f[1],f=[0];continue;case 7:f=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(f[0]===6||f[0]===2)){u=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){u.label=f[1];break}if(f[0]===6&&u.label<o[1]){u.label=o[1],o=f;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(f);break}o[2]&&u.ops.pop(),u.trys.pop();continue}f=t.call(e,u)}catch(s){f=[6,s],n=0}finally{r=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var To=function(e){FTe(r,e);var t=xTe(r);function r(n){LTe(this,r);var o;return o=t.call(this,n),ta(Ak(o),"props",void 0),o.props=new GP(n==null?void 0:n.props),o}return DTe(r,[{key:"toDataBindModel",value:function(){var o=na(Po(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===ws.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"validate",value:function(o,i){var u=this,c=this,l=function(){return na(Po(r.prototype),"validate",u)};return MTe(function(){return UTe(this,function(f){switch(f.label){case 0:return[4,l().call(c,o,i)];case 1:return f.sent(),[4,Promise.all(c.children.map(function(s){return s.validate(o,i)}))];case 2:return f.sent(),[2,!0]}})})()}}]),r}(We);ta(To,"controlType","operation-column"),ta(To,"controlName",y.getMessage("operation")),ta(To,"controlIcon","operation-column"),ta(To,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function Dk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function GTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wp(e){return wp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},wp(e)}function HTe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zP(e,t)}function YTe(e,t){return t&&(zTe(t)==="object"||typeof t=="function")?t:Dk(e)}function zP(e,t){return zP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zP(e,t)}function zTe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function WTe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qTe(e){var t=WTe();return function(){var n=wp(e),o;if(t){var i=wp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YTe(this,o)}}var WP=function(e){HTe(r,e);var t=qTe(r);function r(n){GTe(this,r);var o;return o=t.call(this,n),YP(Dk(o),"props",void 0),o.props=new GP(n==null?void 0:n.props),o}return r}(qe);YP(WP,"controlType","operation-column"),YP(WP,"controlFieldType",a.FieldTypes.FILE);var Fk={Designer:To,Runtime:WP,Property:GP};function $o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ck(e,t,r,n,o,i,u){try{var c=e[i](u),l=c.value}catch(f){r(f);return}c.done?t(l):Promise.resolve(l).then(n,o)}function KTe(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(l){Ck(i,n,o,u,c,"next",l)}function c(l){Ck(i,n,o,u,c,"throw",l)}u(void 0)})}}function XTe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JTe(e,t,r){return t&&kk(e.prototype,t),r&&kk(e,r),e}function rr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ra(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ra=Reflect.get:ra=function(o,i,u){var c=o$e(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},ra(e,t,r||e)}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(e)}function QTe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qP(e,t)}function ZTe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function e$e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{},n=Object.keys(r);typeof Object.getOwnPropertySymbols=="function"&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(o){return Object.getOwnPropertyDescriptor(r,o).enumerable}))),n.forEach(function(o){rr(e,o,r[o])})}return e}function t$e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function n$e(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):t$e(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function r$e(e,t){return t&&(i$e(t)==="object"||typeof t=="function")?t:$o(e)}function qP(e,t){return qP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qP(e,t)}function o$e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ro(e),e!==null););return e}function i$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c$e(e){var t=u$e();return function(){var n=Ro(e),o;if(t){var i=Ro(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return r$e(this,o)}}function a$e(e,t){var r,n,o,i,u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(f){return function(s){return l([f,s])}}function l(f){if(r)throw new TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=f[0]&2?n.return:f[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,f[1])).done)return o;switch(n=0,o&&(f=[f[0]&2,o.value]),f[0]){case 0:case 1:o=f;break;case 4:return u.label++,{value:f[1],done:!1};case 5:u.label++,n=f[1],f=[0];continue;case 7:f=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(f[0]===6||f[0]===2)){u=0;continue}if(f[0]===3&&(!o||f[1]>o[0]&&f[1]<o[3])){u.label=f[1];break}if(f[0]===6&&u.label<o[1]){u.label=o[1],o=f;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(f);break}o[2]&&u.ops.pop(),u.trys.pop();continue}f=t.call(e,u)}catch(s){f=[6,s],n=0}finally{r=o=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}var l$e=1e4,oa=function(t){QTe(n,t);var r=c$e(n);function n(o){XTe(this,n);var i;i=r.call(this,o),rr($o(i),"props",void 0),rr($o(i),"children",void 0),rr($o(i),"excludes",void 0),rr($o(i),"childrenMaxLength",void 0);var u=ZTe(this,n)?this.constructor:void 0,c=u.excludes,l=u.childrenMaxLength;return i.props=new DP($o(i),o==null?void 0:o.props),_n($o(i),"children",o==null?void 0:o.children,void 0,"Designer"),(o==null?void 0:o.props.headers)===void 0&&(i.props.headers=[new Eo,new To]),i.excludes=zt(c),i.childrenMaxLength=l,i}return JTe(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toSchema",value:function(){var i=ra(Ro(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){return c.toSchema()});return n$e(e$e({},i),{children:u})}},{key:"validate",value:function(i,u){var c=this,l=this,f=function(){return ra(Ro(n.prototype),"validate",c)};return KTe(function(){return a$e(this,function(s){switch(s.label){case 0:return[4,f().call(l,i,u)];case 1:return s.sent(),[4,Promise.all(l.children.map(function(_){return _.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return y.getMessage("gridTable")}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(Tl);rr(oa,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),rr(oa,"setting",[{key:"list-fixed-header",visible:!0}]),rr(oa,"excludes",[]),rr(oa,"childrenMaxLength",l$e);function KP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function f$e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s$e(e,t,r){return t&&jk(e.prototype,t),r&&jk(e,r),e}function _$e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ep(e){return Ep=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ep(e)}function d$e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&XP(e,t)}function y$e(e,t){return t&&(p$e(t)==="object"||typeof t=="function")?t:KP(e)}function XP(e,t){return XP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},XP(e,t)}function p$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function v$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function h$e(e){var t=v$e();return function(){var n=Ep(e),o;if(t){var i=Ep(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return y$e(this,o)}}var g$e=function(e){d$e(r,e);var t=h$e(r);function r(n){f$e(this,r);var o;return o=t.call(this,n),_$e(KP(o),"props",void 0),o.props=new DP(KP(o),n==null?void 0:n.props),o}return s$e(r,[{key:"getChildrenDataSourceBindLayout",value:function(){yr("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}},{key:"getCheckboxProps",value:function(o){return{}}}],[{key:"controlType",get:function(){return"grid-table"}}]),r}(qg),Vk={Designer:oa,Runtime:g$e,Property:DP},m$e=Object.freeze({__proto__:null,SubTable:Pk,GridTable:Vk});function or(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pp(e){return Pp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pp(e)}function Uk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JP(e,t)}function b$e(e,t){return t&&(O$e(t)==="object"||typeof t=="function")?t:or(e)}function JP(e,t){return JP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},JP(e,t)}function O$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gk(e){var t=w$e();return function(){var n=Pp(e),o;if(t){var i=Pp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return b$e(this,o)}}var E$e=function(e){Uk(r,e);var t=Gk(r);function r(n){xk(this,r);var o;return o=t.call(this,n),qn.call(or(o),n),o}return r}(Zg),Tp=function(e){Uk(r,e);var t=Gk(r);function r(n){xk(this,r);var o;o=t.call(this,n),Yr(or(o),"optionConfig",void 0),Yr(or(o),"datasourceBind",void 0),Yr(or(o),"showLinkOperation",void 0),Yr(or(o),"linkOperationOption",void 0),Yr(or(o),"options",void 0),Yr(or(o),"lineEllipsis",void 0),Yr(or(o),"dictionaryTagConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:So.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var c;o.options=Nn((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var l;o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption);var f;o.lineEllipsis=(f=n==null?void 0:n.lineEllipsis)!==null&&f!==void 0?f:1;var s;return o.dictionaryTagConfig=(s=n==null?void 0:n.dictionaryTagConfig)!==null&&s!==void 0?s:{isTag:!1},o}return r}(Ne);Yr(Tp,"Rules",E$e);function Hk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P$e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ji(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $p(e){return $p=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$p(e)}function T$e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&QP(e,t)}function $$e(e,t){return t&&(R$e(t)==="object"||typeof t=="function")?t:Hk(e)}function QP(e,t){return QP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},QP(e,t)}function R$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N$e(e){var t=S$e();return function(){var n=$p(e),o;if(t){var i=$p(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $$e(this,o)}}var So=function(e){T$e(r,e);var t=N$e(r);function r(n){P$e(this,r);var o;return o=t.call(this,n),Ji(Hk(o),"props",void 0),o.props=new Tp(n==null?void 0:n.props),o}return r}(We);Ji(So,"controlType","varchar-column"),Ji(So,"controlName",y.getMessage("varchar")),Ji(So,"controlIcon","varchar-column"),Ji(So,"controlFieldType",a.FieldTypes.VARCHAR),Ji(So,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function Yk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I$e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rp(e){return Rp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rp(e)}function B$e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eT(e,t)}function A$e(e,t){return t&&(M$e(t)==="object"||typeof t=="function")?t:Yk(e)}function eT(e,t){return eT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eT(e,t)}function M$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function L$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D$e(e){var t=L$e();return function(){var n=Rp(e),o;if(t){var i=Rp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return A$e(this,o)}}var tT=function(e){B$e(r,e);var t=D$e(r);function r(n){I$e(this,r);var o;return o=t.call(this,n),ZP(Yk(o),"props",void 0),o.props=new Tp(n==null?void 0:n.props),o}return r}(qe);ZP(tT,"controlType","varchar-column"),ZP(tT,"controlFieldType",a.FieldTypes.VARCHAR);var zk={Designer:So,Runtime:tT,Property:Tp};function Qi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ia(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sp(e){return Sp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sp(e)}function qk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&nT(e,t)}function F$e(e,t){return t&&(C$e(t)==="object"||typeof t=="function")?t:Qi(e)}function nT(e,t){return nT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nT(e,t)}function C$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function k$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kk(e){var t=k$e();return function(){var n=Sp(e),o;if(t){var i=Sp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return F$e(this,o)}}var j$e=function(e){qk(r,e);var t=Kk(r);function r(n){Wk(this,r);var o;return o=t.call(this,n),qn.call(Qi(o),n),o}return r}(dn),Np=function(e){qk(r,e);var t=Kk(r);function r(n){Wk(this,r);var o;o=t.call(this,n),ia(Qi(o),"escapeHTML",void 0),ia(Qi(o),"showLinkOperation",void 0),ia(Qi(o),"linkOperationOption",void 0),ia(Qi(o),"lineEllipsis",void 0);var i;o.escapeHTML=(i=n==null?void 0:n.escapeHTML)!==null&&i!==void 0?i:!1;var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:No.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var l;return o.showLinkOperation=(l=n==null?void 0:n.showLinkOperation)!==null&&l!==void 0?l:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);ia(Np,"Rules",j$e);function Xk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function V$e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Jk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function x$e(e,t,r){return t&&Jk(e.prototype,t),r&&Jk(e,r),e}function Zi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ip(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ip=Reflect.get:Ip=function(o,i,u){var c=H$e(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Ip(e,t,r||e)}function eu(e){return eu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},eu(e)}function U$e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rT(e,t)}function G$e(e,t){return t&&(Y$e(t)==="object"||typeof t=="function")?t:Xk(e)}function rT(e,t){return rT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rT(e,t)}function H$e(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=eu(e),e!==null););return e}function Y$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function z$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function W$e(e){var t=z$e();return function(){var n=eu(e),o;if(t){var i=eu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return G$e(this,o)}}var No=function(e){U$e(r,e);var t=W$e(r);function r(n){V$e(this,r);var o;return o=t.call(this,n),Zi(Xk(o),"props",void 0),o.props=new Np(n==null?void 0:n.props),o}return x$e(r,[{key:"toDataBindModel",value:function(o){var i=Ip(eu(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(We);Zi(No,"controlType","text-column"),Zi(No,"controlName",y.getMessage("long")),Zi(No,"controlIcon","text-column"),Zi(No,"controlFieldType",a.FieldTypes.TEXT),Zi(No,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function Qk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q$e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bp(e){return Bp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bp(e)}function K$e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iT(e,t)}function X$e(e,t){return t&&(J$e(t)==="object"||typeof t=="function")?t:Qk(e)}function iT(e,t){return iT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iT(e,t)}function J$e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q$e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z$e(e){var t=Q$e();return function(){var n=Bp(e),o;if(t){var i=Bp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X$e(this,o)}}var uT=function(e){K$e(r,e);var t=Z$e(r);function r(n){q$e(this,r);var o;return o=t.call(this,n),oT(Qk(o),"props",void 0),o.props=new Np(n==null?void 0:n.props),o}return r}(qe);oT(uT,"controlType","text-column"),oT(uT,"controlFieldType",a.FieldTypes.TEXT);var Zk={Designer:No,Runtime:uT,Property:Np};function kn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ir(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ap(e){return Ap=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ap(e)}function t2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cT(e,t)}function eRe(e,t){return t&&(tRe(t)==="object"||typeof t=="function")?t:kn(e)}function cT(e,t){return cT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cT(e,t)}function tRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function n2(e){var t=nRe();return function(){var n=Ap(e),o;if(t){var i=Ap(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eRe(this,o)}}var rRe=function(e){t2(r,e);var t=n2(r);function r(n){e2(this,r);var o;return o=t.call(this,n),qn.call(kn(o),n),o}return r}(dn),Mp=function(e){t2(r,e);var t=n2(r);function r(n){e2(this,r);var o;o=t.call(this,n),ir(kn(o),"optionConfig",void 0),ir(kn(o),"datasourceBind",void 0),ir(kn(o),"showLinkOperation",void 0),ir(kn(o),"linkOperationOption",void 0),ir(kn(o),"options",void 0),ir(kn(o),"precision",void 0),ir(kn(o),"micrometer",void 0),ir(kn(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Io.controlName;var u;o.precision=(u=n==null?void 0:n.precision)!==null&&u!==void 0?u:0;var c;o.micrometer=(c=n==null?void 0:n.micrometer)!==null&&c!==void 0?c:!1;var l;o.percentageFormat=(l=n==null?void 0:n.percentageFormat)!==null&&l!==void 0?l:!1;var f;o.optionConfig=(f=n==null?void 0:n.optionConfig)!==null&&f!==void 0?f:"none",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var s;o.options=Nn((s=n==null?void 0:n.options)!==null&&s!==void 0?s:[{}]);var _;return o.showLinkOperation=(_=n==null?void 0:n.showLinkOperation)!==null&&_!==void 0?_:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);ir(Mp,"Rules",rRe);function r2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oRe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o2(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iRe(e,t,r){return t&&o2(e.prototype,t),r&&o2(e,r),e}function tu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lp(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Lp=Reflect.get:Lp=function(o,i,u){var c=aRe(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Lp(e,t,r||e)}function nu(e){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nu(e)}function uRe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&aT(e,t)}function cRe(e,t){return t&&(lRe(t)==="object"||typeof t=="function")?t:r2(e)}function aT(e,t){return aT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aT(e,t)}function aRe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=nu(e),e!==null););return e}function lRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sRe(e){var t=fRe();return function(){var n=nu(e),o;if(t){var i=nu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return cRe(this,o)}}var Io=function(e){uRe(r,e);var t=sRe(r);function r(n){oRe(this,r);var o;return o=t.call(this,n),tu(r2(o),"props",void 0),o.props=new Mp(n==null?void 0:n.props),o}return iRe(r,[{key:"toDataBindModel",value:function(o){var i=Lp(nu(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,l=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=l}return i}}]),r}(We);tu(Io,"controlType","decimal-column"),tu(Io,"controlName",y.getMessage("decimal")),tu(Io,"controlIcon","decimal-column"),tu(Io,"controlFieldType",a.FieldTypes.DECIMAL),tu(Io,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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:[a.COMMON_SETTING_TYPE.MICROMETER,a.COMMON_SETTING_TYPE.PRECISION,a.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function i2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Re(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dp(e){return Dp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dp(e)}function dRe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fT(e,t)}function yRe(e,t){return t&&(pRe(t)==="object"||typeof t=="function")?t:i2(e)}function fT(e,t){return fT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fT(e,t)}function pRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hRe(e){var t=vRe();return function(){var n=Dp(e),o;if(t){var i=Dp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yRe(this,o)}}var sT=function(e){dRe(r,e);var t=hRe(r);function r(n){_Re(this,r);var o;return o=t.call(this,n),lT(i2(o),"props",void 0),o.props=new Mp(n==null?void 0:n.props),o}return r}(qe);lT(sT,"controlType","decimal-column"),lT(sT,"controlFieldType",a.FieldTypes.DECIMAL);var u2={Designer:Io,Runtime:sT,Property:Mp};function ua(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cp(e){return Cp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cp(e)}function a2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_T(e,t)}function gRe(e,t){return t&&(mRe(t)==="object"||typeof t=="function")?t:ua(e)}function _T(e,t){return _T=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_T(e,t)}function mRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l2(e){var t=bRe();return function(){var n=Cp(e),o;if(t){var i=Cp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gRe(this,o)}}var ORe=function(e){a2(r,e);var t=l2(r);function r(n){c2(this,r);var o;return o=t.call(this,n),qn.call(ua(o),n),o}return r}(dn),kp=function(e){a2(r,e);var t=l2(r);function r(n){c2(this,r);var o;o=t.call(this,n),Fp(ua(o),"dateType",void 0),Fp(ua(o),"showLinkOperation",void 0),Fp(ua(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:a.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Bo.controlName,o}return r}(Ne);Fp(kp,"Rules",ORe);function f2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wRe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s2(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ERe(e,t,r){return t&&s2(e.prototype,t),r&&s2(e,r),e}function ru(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jp(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?jp=Reflect.get:jp=function(o,i,u){var c=$Re(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},jp(e,t,r||e)}function ou(e){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ou(e)}function PRe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dT(e,t)}function TRe(e,t){return t&&(RRe(t)==="object"||typeof t=="function")?t:f2(e)}function dT(e,t){return dT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dT(e,t)}function $Re(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ou(e),e!==null););return e}function RRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NRe(e){var t=SRe();return function(){var n=ou(e),o;if(t){var i=ou(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return TRe(this,o)}}var Bo=function(e){PRe(r,e);var t=NRe(r);function r(n){wRe(this,r);var o;return o=t.call(this,n),ru(f2(o),"props",void 0),o.props=new kp(n==null?void 0:n.props),o}return ERe(r,[{key:"toDataBindModel",value:function(o){var i=jp(ou(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(We);ru(Bo,"controlType","timescope-column"),ru(Bo,"controlName",y.getMessage("timescope")),ru(Bo,"controlIcon","timescope-column"),ru(Bo,"controlFieldType",a.FieldTypes.TIMESCOPE),ru(Bo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function _2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function IRe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vp(e){return Vp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vp(e)}function BRe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pT(e,t)}function ARe(e,t){return t&&(MRe(t)==="object"||typeof t=="function")?t:_2(e)}function pT(e,t){return pT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pT(e,t)}function MRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function LRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function DRe(e){var t=LRe();return function(){var n=Vp(e),o;if(t){var i=Vp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ARe(this,o)}}var vT=function(e){BRe(r,e);var t=DRe(r);function r(n){IRe(this,r);var o;return o=t.call(this,n),yT(_2(o),"props",void 0),o.props=new kp(n==null?void 0:n.props),o}return r}(qe);yT(vT,"controlType","timescope-column"),yT(vT,"controlFieldType",a.FieldTypes.TIMESCOPE);var d2={Designer:Bo,Runtime:vT,Property:kp};function ca(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Up(e){return Up=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Up(e)}function p2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&hT(e,t)}function FRe(e,t){return t&&(CRe(t)==="object"||typeof t=="function")?t:ca(e)}function hT(e,t){return hT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hT(e,t)}function CRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v2(e){var t=kRe();return function(){var n=Up(e),o;if(t){var i=Up(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FRe(this,o)}}var jRe=function(e){p2(r,e);var t=v2(r);function r(n){y2(this,r);var o;return o=t.call(this,n),qn.call(ca(o),n),o}return r}(dn),Gp=function(e){p2(r,e);var t=v2(r);function r(n){y2(this,r);var o;o=t.call(this,n),xp(ca(o),"dateType",void 0),xp(ca(o),"showLinkOperation",void 0),xp(ca(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:a.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Ao.controlName,o}return r}(Ne);xp(Gp,"Rules",jRe);function h2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VRe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g2(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xRe(e,t,r){return t&&g2(e.prototype,t),r&&g2(e,r),e}function iu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hp(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hp=Reflect.get:Hp=function(o,i,u){var c=HRe(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Hp(e,t,r||e)}function uu(e){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uu(e)}function URe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gT(e,t)}function GRe(e,t){return t&&(YRe(t)==="object"||typeof t=="function")?t:h2(e)}function gT(e,t){return gT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gT(e,t)}function HRe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=uu(e),e!==null););return e}function YRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WRe(e){var t=zRe();return function(){var n=uu(e),o;if(t){var i=uu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GRe(this,o)}}var Ao=function(e){URe(r,e);var t=WRe(r);function r(n){VRe(this,r);var o;return o=t.call(this,n),iu(h2(o),"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return xRe(r,[{key:"toDataBindModel",value:function(o){var i=Hp(uu(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(We);iu(Ao,"controlType","timestamp-column"),iu(Ao,"controlName",y.getMessage("timestamp")),iu(Ao,"controlIcon","timestamp-column"),iu(Ao,"controlFieldType",a.FieldTypes.TIMESTAMP),iu(Ao,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function m2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qRe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Yp(e){return Yp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Yp(e)}function KRe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bT(e,t)}function XRe(e,t){return t&&(JRe(t)==="object"||typeof t=="function")?t:m2(e)}function bT(e,t){return bT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bT(e,t)}function JRe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QRe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZRe(e){var t=QRe();return function(){var n=Yp(e),o;if(t){var i=Yp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XRe(this,o)}}var OT=function(e){KRe(r,e);var t=ZRe(r);function r(n){qRe(this,r);var o;return o=t.call(this,n),mT(m2(o),"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return r}(qe);mT(OT,"controlType","timestamp-column"),mT(OT,"controlFieldType",a.FieldTypes.TIMESTAMP);var b2={Designer:Ao,Runtime:OT,Property:Gp};function Mo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function O2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function zp(e){return zp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zp(e)}function w2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wT(e,t)}function eSe(e,t){return t&&(tSe(t)==="object"||typeof t=="function")?t:Mo(e)}function wT(e,t){return wT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wT(e,t)}function tSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function E2(e){var t=nSe();return function(){var n=zp(e),o;if(t){var i=zp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eSe(this,o)}}var rSe=function(e){w2(r,e);var t=E2(r);function r(n){O2(this,r);var o;return o=t.call(this,n),qn.call(Mo(o),n),o}return r}(Zg),Wp=function(e){w2(r,e);var t=E2(r);function r(n){O2(this,r);var o;o=t.call(this,n),cu(Mo(o),"optionConfig",void 0),cu(Mo(o),"datasourceBind",void 0),cu(Mo(o),"showLinkOperation",void 0),cu(Mo(o),"linkOperationOption",void 0),cu(Mo(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Lo.controlName;var u;o.optionConfig=(u=n==null?void 0:n.optionConfig)!==null&&u!==void 0?u:"none",o.datasourceBind=new Ue(n==null?void 0:n.datasourceBind);var c;o.showLinkOperation=(c=n==null?void 0:n.showLinkOperation)!==null&&c!==void 0?c:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption);var l;return o.options=Nn((l=n==null?void 0:n.options)!==null&&l!==void 0?l:[{}]),o}return r}(Ne);cu(Wp,"Rules",rSe);function P2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oSe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function au(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qp(e){return qp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qp(e)}function iSe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ET(e,t)}function uSe(e,t){return t&&(cSe(t)==="object"||typeof t=="function")?t:P2(e)}function ET(e,t){return ET=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ET(e,t)}function cSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lSe(e){var t=aSe();return function(){var n=qp(e),o;if(t){var i=qp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uSe(this,o)}}var Lo=function(e){iSe(r,e);var t=lSe(r);function r(n){oSe(this,r);var o;return o=t.call(this,n),au(P2(o),"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return r}(We);au(Lo,"controlType","array-column"),au(Lo,"controlName",y.getMessage("array")),au(Lo,"controlIcon","array-column"),au(Lo,"controlFieldType",a.FieldTypes.ARRAY),au(Lo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function T2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fSe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function PT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kp(e){return Kp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kp(e)}function sSe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&TT(e,t)}function _Se(e,t){return t&&(dSe(t)==="object"||typeof t=="function")?t:T2(e)}function TT(e,t){return TT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TT(e,t)}function dSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ySe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pSe(e){var t=ySe();return function(){var n=Kp(e),o;if(t){var i=Kp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _Se(this,o)}}var $T=function(e){sSe(r,e);var t=pSe(r);function r(n){fSe(this,r);var o;return o=t.call(this,n),PT(T2(o),"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return r}(qe);PT($T,"controlType","array-column"),PT($T,"controlFieldType",a.FieldTypes.ARRAY);var $2={Designer:Lo,Runtime:$T,Property:Wp};function R2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vSe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hSe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xp(e){return Xp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xp(e)}function gSe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RT(e,t)}function mSe(e,t){return t&&(bSe(t)==="object"||typeof t=="function")?t:R2(e)}function RT(e,t){return RT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RT(e,t)}function bSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function wSe(e){var t=OSe();return function(){var n=Xp(e),o;if(t){var i=Xp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mSe(this,o)}}var ST=function(e){gSe(r,e);var t=wSe(r);function r(n){vSe(this,r);var o;o=t.call(this,n),hSe(R2(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Do.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(Ne);function S2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ESe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function N2(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PSe(e,t,r){return t&&N2(e.prototype,t),r&&N2(e,r),e}function lu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jp(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Jp=Reflect.get:Jp=function(o,i,u){var c=RSe(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},Jp(e,t,r||e)}function fu(e){return fu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fu(e)}function TSe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NT(e,t)}function $Se(e,t){return t&&(SSe(t)==="object"||typeof t=="function")?t:S2(e)}function NT(e,t){return NT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NT(e,t)}function RSe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=fu(e),e!==null););return e}function SSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ISe(e){var t=NSe();return function(){var n=fu(e),o;if(t){var i=fu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Se(this,o)}}var Do=function(e){TSe(r,e);var t=ISe(r);function r(n){ESe(this,r);var o;return o=t.call(this,n),lu(S2(o),"props",void 0),o.props=new ST(n==null?void 0:n.props),o}return PSe(r,[{key:"toDataBindModel",value:function(o){var i=Jp(fu(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(We);lu(Do,"controlType","department-column"),lu(Do,"controlName",y.getMessage("department")),lu(Do,"controlIcon","department-column"),lu(Do,"controlFieldType",a.FieldTypes.DEPARTMENTS),lu(Do,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function I2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BSe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function IT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qp(e){return Qp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qp(e)}function ASe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&BT(e,t)}function MSe(e,t){return t&&(LSe(t)==="object"||typeof t=="function")?t:I2(e)}function BT(e,t){return BT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},BT(e,t)}function LSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FSe(e){var t=DSe();return function(){var n=Qp(e),o;if(t){var i=Qp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MSe(this,o)}}var AT=function(e){ASe(r,e);var t=FSe(r);function r(n){BSe(this,r);var o;return o=t.call(this,n),IT(I2(o),"props",void 0),o.props=new ST(n==null?void 0:n.props),o}return r}(qe);IT(AT,"controlType","department-column"),IT(AT,"controlFieldType",a.FieldTypes.DEPARTMENTS);var B2={Designer:Do,Runtime:AT,Property:ST};function Zp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ev(e){return ev=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ev(e)}function M2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LT(e,t)}function CSe(e,t){return t&&(kSe(t)==="object"||typeof t=="function")?t:Zp(e)}function LT(e,t){return LT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LT(e,t)}function kSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L2(e){var t=jSe();return function(){var n=ev(e),o;if(t){var i=ev(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return CSe(this,o)}}var VSe=function(e){M2(r,e);var t=L2(r);function r(n){A2(this,r);var o;return o=t.call(this,n),qn.call(Zp(o),n),o}return r}(dn),tv=function(e){M2(r,e);var t=L2(r);function r(n){A2(this,r);var o;o=t.call(this,n),MT(Zp(o),"showLinkOperation",void 0),MT(Zp(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Fo.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);MT(tv,"Rules",VSe);function D2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xSe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function su(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nv(e){return nv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},nv(e)}function USe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&DT(e,t)}function GSe(e,t){return t&&(HSe(t)==="object"||typeof t=="function")?t:D2(e)}function DT(e,t){return DT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DT(e,t)}function HSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zSe(e){var t=YSe();return function(){var n=nv(e),o;if(t){var i=nv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GSe(this,o)}}var Fo=function(e){USe(r,e);var t=zSe(r);function r(n){xSe(this,r);var o;return o=t.call(this,n),su(D2(o),"props",void 0),o.props=new tv(n==null?void 0:n.props),o}return r}(We);su(Fo,"controlType","auto-number-column"),su(Fo,"controlName",y.getMessage("autoNumber")),su(Fo,"controlIcon","auto-number-column"),su(Fo,"controlFieldType",a.FieldTypes.AUTO_NUMBER),su(Fo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function F2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WSe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rv(e){return rv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rv(e)}function qSe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&CT(e,t)}function KSe(e,t){return t&&(XSe(t)==="object"||typeof t=="function")?t:F2(e)}function CT(e,t){return CT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CT(e,t)}function XSe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JSe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QSe(e){var t=JSe();return function(){var n=rv(e),o;if(t){var i=rv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KSe(this,o)}}var kT=function(e){qSe(r,e);var t=QSe(r);function r(n){WSe(this,r);var o;return o=t.call(this,n),FT(F2(o),"props",void 0),o.props=new tv(n==null?void 0:n.props),o}return r}(qe);FT(kT,"controlType","auto-number-column"),FT(kT,"controlFieldType",a.FieldTypes.AUTO_NUMBER);var C2={Designer:Fo,Runtime:kT,Property:tv};function ZSe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ov(e){return ov=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ov(e)}function tNe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jT(e,t)}function nNe(e,t){return t&&(rNe(t)==="object"||typeof t=="function")?t:ZSe(e)}function jT(e,t){return jT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jT(e,t)}function rNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oNe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iNe(e){var t=oNe();return function(){var n=ov(e),o;if(t){var i=ov(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nNe(this,o)}}var VT=function(e){tNe(r,e);var t=iNe(r);function r(n){eNe(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Co.controlName,o}return r}(Ne);function k2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function iv(e){return iv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iv(e)}function cNe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xT(e,t)}function aNe(e,t){return t&&(lNe(t)==="object"||typeof t=="function")?t:k2(e)}function xT(e,t){return xT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xT(e,t)}function lNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fNe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sNe(e){var t=fNe();return function(){var n=iv(e),o;if(t){var i=iv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aNe(this,o)}}var Co=function(e){cNe(r,e);var t=sNe(r);function r(n){uNe(this,r);var o;return o=t.call(this,n),_u(k2(o),"props",void 0),o.props=new VT(n==null?void 0:n.props),o}return r}(We);_u(Co,"controlType","file-column"),_u(Co,"controlName",y.getMessage("file")),_u(Co,"controlIcon","file-column"),_u(Co,"controlFieldType",a.FieldTypes.FILE),_u(Co,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function j2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function uv(e){return uv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uv(e)}function dNe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&GT(e,t)}function yNe(e,t){return t&&(pNe(t)==="object"||typeof t=="function")?t:j2(e)}function GT(e,t){return GT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},GT(e,t)}function pNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vNe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hNe(e){var t=vNe();return function(){var n=uv(e),o;if(t){var i=uv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yNe(this,o)}}var HT=function(e){dNe(r,e);var t=hNe(r);function r(n){_Ne(this,r);var o;return o=t.call(this,n),UT(j2(o),"props",void 0),o.props=new VT(n==null?void 0:n.props),o}return r}(qe);UT(HT,"controlType","file-column"),UT(HT,"controlFieldType",a.FieldTypes.FILE);var V2={Designer:Co,Runtime:HT,Property:VT};function gNe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cv(e){return cv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cv(e)}function bNe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&YT(e,t)}function ONe(e,t){return t&&(wNe(t)==="object"||typeof t=="function")?t:gNe(e)}function YT(e,t){return YT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YT(e,t)}function wNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ENe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PNe(e){var t=ENe();return function(){var n=cv(e),o;if(t){var i=cv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ONe(this,o)}}var zT=function(e){bNe(r,e);var t=PNe(r);function r(n){mNe(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ko.controlName,o}return r}(Ne);function x2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function du(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function av(e){return av=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},av(e)}function $Ne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&WT(e,t)}function RNe(e,t){return t&&(SNe(t)==="object"||typeof t=="function")?t:x2(e)}function WT(e,t){return WT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},WT(e,t)}function SNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NNe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function INe(e){var t=NNe();return function(){var n=av(e),o;if(t){var i=av(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return RNe(this,o)}}var ko=function(e){$Ne(r,e);var t=INe(r);function r(n){TNe(this,r);var o;return o=t.call(this,n),du(x2(o),"props",void 0),o.props=new zT(n==null?void 0:n.props),o}return r}(We);du(ko,"controlType","image-column"),du(ko,"controlName",y.getMessage("image")),du(ko,"controlIcon","image-column"),du(ko,"controlFieldType",a.FieldTypes.IMAGE),du(ko,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function U2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lv(e){return lv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lv(e)}function ANe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&KT(e,t)}function MNe(e,t){return t&&(LNe(t)==="object"||typeof t=="function")?t:U2(e)}function KT(e,t){return KT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KT(e,t)}function LNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function DNe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function FNe(e){var t=DNe();return function(){var n=lv(e),o;if(t){var i=lv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return MNe(this,o)}}var XT=function(e){ANe(r,e);var t=FNe(r);function r(n){BNe(this,r);var o;return o=t.call(this,n),qT(U2(o),"props",void 0),o.props=new zT(n==null?void 0:n.props),o}return r}(qe);qT(XT,"controlType","image-column"),qT(XT,"controlFieldType",a.FieldTypes.IMAGE);var G2={Designer:ko,Runtime:XT,Property:zT};function CNe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fv(e){return fv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fv(e)}function jNe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JT(e,t)}function VNe(e,t){return t&&(xNe(t)==="object"||typeof t=="function")?t:CNe(e)}function JT(e,t){return JT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},JT(e,t)}function xNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function UNe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function GNe(e){var t=UNe();return function(){var n=fv(e),o;if(t){var i=fv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return VNe(this,o)}}var QT=function(e){jNe(r,e);var t=GNe(r);function r(n){kNe(this,r);var o;o=t.call(this,n);var i;return o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:jo.controlName,o}return r}(Ne);function H2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sv(e){return sv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sv(e)}function YNe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ZT(e,t)}function zNe(e,t){return t&&(WNe(t)==="object"||typeof t=="function")?t:H2(e)}function ZT(e,t){return ZT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZT(e,t)}function WNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qNe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KNe(e){var t=qNe();return function(){var n=sv(e),o;if(t){var i=sv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zNe(this,o)}}var jo=function(e){YNe(r,e);var t=KNe(r);function r(n){HNe(this,r);var o;return o=t.call(this,n),yu(H2(o),"props",void 0),o.props=new QT(n==null?void 0:n.props),o}return r}(We);yu(jo,"controlType","people-column"),yu(jo,"controlName",y.getMessage("people")),yu(jo,"controlIcon","people-column"),yu(jo,"controlFieldType",a.FieldTypes.EMPLOYEES),yu(jo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function Y2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XNe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function e$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _v(e){return _v=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_v(e)}function JNe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&t$(e,t)}function QNe(e,t){return t&&(ZNe(t)==="object"||typeof t=="function")?t:Y2(e)}function t$(e,t){return t$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},t$(e,t)}function ZNe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function eIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tIe(e){var t=eIe();return function(){var n=_v(e),o;if(t){var i=_v(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return QNe(this,o)}}var n$=function(e){JNe(r,e);var t=tIe(r);function r(n){XNe(this,r);var o;return o=t.call(this,n),e$(Y2(o),"props",void 0),o.props=new QT(n==null?void 0:n.props),o}return r}(qe);e$(n$,"controlType","people-column"),e$(n$,"controlFieldType",a.FieldTypes.EMPLOYEES);var z2={Designer:jo,Runtime:n$,Property:QT};function dv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yv(e){return yv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},yv(e)}function q2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o$(e,t)}function nIe(e,t){return t&&(rIe(t)==="object"||typeof t=="function")?t:dv(e)}function o$(e,t){return o$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o$(e,t)}function rIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K2(e){var t=oIe();return function(){var n=yv(e),o;if(t){var i=yv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nIe(this,o)}}var iIe=function(e){q2(r,e);var t=K2(r);function r(n){W2(this,r);var o;return o=t.call(this,n),qn.call(dv(o),n),o}return r}(dn),pv=function(e){q2(r,e);var t=K2(r);function r(n){W2(this,r);var o;o=t.call(this,n),r$(dv(o),"showLinkOperation",void 0),r$(dv(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Vo.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);r$(pv,"Rules",iIe);function X2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vv(e){return vv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vv(e)}function cIe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i$(e,t)}function aIe(e,t){return t&&(lIe(t)==="object"||typeof t=="function")?t:X2(e)}function i$(e,t){return i$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i$(e,t)}function lIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function sIe(e){var t=fIe();return function(){var n=vv(e),o;if(t){var i=vv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aIe(this,o)}}var Vo=function(e){cIe(r,e);var t=sIe(r);function r(n){uIe(this,r);var o;return o=t.call(this,n),pu(X2(o),"props",void 0),o.props=new pv(n==null?void 0:n.props),o}return r}(We);pu(Vo,"controlType","location-column"),pu(Vo,"controlName",y.getMessage("location")),pu(Vo,"controlIcon","location-column"),pu(Vo,"controlFieldType",a.FieldTypes.ADDRESS),pu(Vo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function J2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Ie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function hv(e){return hv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hv(e)}function dIe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c$(e,t)}function yIe(e,t){return t&&(pIe(t)==="object"||typeof t=="function")?t:J2(e)}function c$(e,t){return c$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c$(e,t)}function pIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hIe(e){var t=vIe();return function(){var n=hv(e),o;if(t){var i=hv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return yIe(this,o)}}var a$=function(e){dIe(r,e);var t=hIe(r);function r(n){_Ie(this,r);var o;return o=t.call(this,n),u$(J2(o),"props",void 0),o.props=new pv(n==null?void 0:n.props),o}return r}(qe);u$(a$,"controlType","location-column"),u$(a$,"controlFieldType",a.FieldTypes.ADDRESS);var Q2={Designer:Vo,Runtime:a$,Property:pv};function gv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Z2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bv(e){return bv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bv(e)}function e5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l$(e,t)}function gIe(e,t){return t&&(mIe(t)==="object"||typeof t=="function")?t:gv(e)}function l$(e,t){return l$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},l$(e,t)}function mIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t5(e){var t=bIe();return function(){var n=bv(e),o;if(t){var i=bv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gIe(this,o)}}var OIe=function(e){e5(r,e);var t=t5(r);function r(n){Z2(this,r);var o;return o=t.call(this,n),mv(gv(o),"sortFieldCode",{type:"string",message:y.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(dn),Ov=function(e){e5(r,e);var t=t5(r);function r(n){Z2(this,r);var o;o=t.call(this,n),mv(gv(o),"fieldCodeList",void 0),mv(gv(o),"sortFieldCode",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:ur.controlName;var u;o.fieldCodeList=(u=n==null?void 0:n.fieldCodeList)!==null&&u!==void 0?u:[];var c;return o.sortFieldCode=(c=n==null?void 0:n.sortFieldCode)!==null&&c!==void 0?c:"",o}return r}(Ne);mv(Ov,"Rules",OIe);function vu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n5(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function EIe(e,t,r){return t&&n5(e.prototype,t),r&&n5(e,r),e}function En(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wv(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?wv=Reflect.get:wv=function(o,i,u){var c=RIe(o,i);if(!!c){var l=Object.getOwnPropertyDescriptor(c,i);return l.get?l.get.call(u||o):l.value}},wv(e,t,r||e)}function hu(e){return hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hu(e)}function PIe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f$(e,t)}function TIe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function $Ie(e,t){return t&&(SIe(t)==="object"||typeof t=="function")?t:vu(e)}function f$(e,t){return f$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f$(e,t)}function RIe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=hu(e),e!==null););return e}function SIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IIe(e){var t=NIe();return function(){var n=hu(e),o;if(t){var i=hu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $Ie(this,o)}}var BIe=1,ur=function(t){PIe(n,t);var r=IIe(n);function n(o){wIe(this,n);var i;i=r.call(this,o),En(vu(i),"excludes",void 0),En(vu(i),"childrenMaxLength",void 0),En(vu(i),"props",void 0),En(vu(i),"children",void 0);var u=TIe(this,n)?this.constructor:void 0,c=u.excludes,l=u.childrenMaxLength;return i.props=new Ov(o==null?void 0:o.props),_n(vu(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=zt(c),i.childrenMaxLength=l,i}return EIe(n,[{key:"judgeJoinChildren",value:function(i){var u=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(i);return u&&this.childrenMaxLength>this.children.length}},{key:"toDataBindModel",value:function(i){var u=wv(hu(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}}]),n}(We);En(ur,"controlType","custom-column"),En(ur,"controlName",y.getMessage("custom")),En(ur,"controlIcon","custom-column"),En(ur,"slots",["column-column-slot"]),En(ur,"excludes",[]),En(ur,"childrenMaxLength",BIe),En(ur,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function Ev(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function AIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pv(e){return Pv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Pv(e)}function MIe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_$(e,t)}function LIe(e,t){return t&&(DIe(t)==="object"||typeof t=="function")?t:Ev(e)}function _$(e,t){return _$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_$(e,t)}function DIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function FIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function CIe(e){var t=FIe();return function(){var n=Pv(e),o;if(t){var i=Pv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return LIe(this,o)}}var r5=function(e){MIe(r,e);var t=CIe(r);function r(n){AIe(this,r);var o;return o=t.call(this,n),s$(Ev(o),"props",void 0),s$(Ev(o),"children",void 0),o.props=new Ov(n==null?void 0:n.props),_n(Ev(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(qe);s$(r5,"controlType","custom-column");var o5={Designer:ur,Runtime:r5,Property:Ov};function i5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jIe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tv(e){return Tv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tv(e)}function VIe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d$(e,t)}function xIe(e,t){return t&&(UIe(t)==="object"||typeof t=="function")?t:i5(e)}function d$(e,t){return d$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},d$(e,t)}function UIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HIe(e){var t=GIe();return function(){var n=Tv(e),o;if(t){var i=Tv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xIe(this,o)}}var y$=function(e){VIe(r,e);var t=HIe(r);function r(n){kIe(this,r);var o;o=t.call(this,n),jIe(i5(o),"datasourceBind",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:zr.controlName;var u;return o.datasourceBind=new Yu((u=n==null?void 0:n.datasourceBind)!==null&&u!==void 0?u:{attributes:zr.controlCustomAttributes}),o}return r}(Ne);function u5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c5(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zIe(e,t,r){return t&&c5(e.prototype,t),r&&c5(e,r),e}function gu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $v(e){return $v=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$v(e)}function WIe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p$(e,t)}function qIe(e,t){return t&&(KIe(t)==="object"||typeof t=="function")?t:u5(e)}function p$(e,t){return p$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p$(e,t)}function KIe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function XIe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JIe(e){var t=XIe();return function(){var n=$v(e),o;if(t){var i=$v(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qIe(this,o)}}var zr=function(e){WIe(r,e);var t=JIe(r);function r(n){YIe(this,r);var o;return o=t.call(this,n),gu(u5(o),"props",void 0),o.props=new y$(n==null?void 0:n.props),o}return zIe(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(We);gu(zr,"controlType","employee-column"),gu(zr,"controlName",y.getMessage("employee")),gu(zr,"controlIcon","employee-column"),gu(zr,"controlFieldType",a.FieldTypes.EMPLOYEES),gu(zr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[a.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}]);function a5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function QIe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Rv(e){return Rv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rv(e)}function ZIe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h$(e,t)}function eBe(e,t){return t&&(tBe(t)==="object"||typeof t=="function")?t:a5(e)}function h$(e,t){return h$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},h$(e,t)}function tBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rBe(e){var t=nBe();return function(){var n=Rv(e),o;if(t){var i=Rv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eBe(this,o)}}var g$=function(e){ZIe(r,e);var t=rBe(r);function r(n){QIe(this,r);var o;return o=t.call(this,n),v$(a5(o),"props",void 0),o.props=new y$(n==null?void 0:n.props),o}return r}(qe);v$(g$,"controlType","employee-column"),v$(g$,"controlFieldType",a.FieldTypes.EMPLOYEES);var l5={Designer:zr,Runtime:g$,Property:y$};function Sv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Nv(e){return Nv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nv(e)}function iBe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b$(e,t)}function uBe(e,t){return t&&(cBe(t)==="object"||typeof t=="function")?t:Sv(e)}function b$(e,t){return b$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},b$(e,t)}function cBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lBe(e){var t=aBe();return function(){var n=Nv(e),o;if(t){var i=Nv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uBe(this,o)}}var O$=function(e){iBe(r,e);var t=lBe(r);function r(n){oBe(this,r);var o;o=t.call(this,n),m$(Sv(o),"lineEllipsis",void 0),m$(Sv(o),"showLinkOperation",void 0),m$(Sv(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Uo.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Sn(n==null?void 0:n.linkOperationOption);var c;return o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1,o}return r}(Ne);function w$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Iv(e){return Iv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Iv(e)}function sBe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&E$(e,t)}function _Be(e,t){return t&&(dBe(t)==="object"||typeof t=="function")?t:w$(e)}function E$(e,t){return E$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E$(e,t)}function dBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pBe(e){var t=yBe();return function(){var n=Iv(e),o;if(t){var i=Iv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _Be(this,o)}}var Uo=function(e){sBe(r,e);var t=pBe(r);function r(n){fBe(this,r);var o;return o=t.call(this,n),xo(w$(o),"props",void 0),xo(w$(o),"children",void 0),o.props=new O$(n==null?void 0:n.props),o}return r}(We);xo(Uo,"controlType","approval-status-column"),xo(Uo,"controlName",y.getMessage("approvalStatusColumn")),xo(Uo,"controlIcon","approval-status-column"),xo(Uo,"excludes",[]),xo(Uo,"setting",[{key:"caption",showItems:[a.COMMON_SETTING_TYPE.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}]);function P$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bv(e){return Bv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bv(e)}function hBe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$$(e,t)}function gBe(e,t){return t&&(mBe(t)==="object"||typeof t=="function")?t:P$(e)}function $$(e,t){return $$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$$(e,t)}function mBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OBe(e){var t=bBe();return function(){var n=Bv(e),o;if(t){var i=Bv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gBe(this,o)}}var f5=function(e){hBe(r,e);var t=OBe(r);function r(n){vBe(this,r);var o;return o=t.call(this,n),T$(P$(o),"props",void 0),T$(P$(o),"children",void 0),o.props=new O$(n==null?void 0:n.props),o}return r}(qe);T$(f5,"controlType","approval-status-column");var s5={Designer:Uo,Runtime:f5,Property:O$},wBe=Object.freeze({__proto__:null,VarcharColumn:zk,TextColumn:Zk,DecimalColumn:u2,TimescopeColumn:d2,TimestampColumn:b2,ArrayColumn:$2,DepartmentColumn:B2,AutoNumberColumn:C2,FileColumn:V2,ImageColumn:G2,PeopleColumn:z2,LocationColumn:Q2,CustomColumn:o5,OrderColumn:Ik,OperationColumn:Fk,EmployeeColumn:l5,ApprovalStatusColumn:s5});function xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Av(e){return Av=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Av(e)}function d5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&R$(e,t)}function EBe(e,t){return t&&(PBe(t)==="object"||typeof t=="function")?t:xt(e)}function R$(e,t){return R$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},R$(e,t)}function PBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function TBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y5(e){var t=TBe();return function(){var n=Av(e),o;if(t){var i=Av(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EBe(this,o)}}var $Be=function(e){d5(r,e);var t=y5(r);function r(n){_5(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Nr),Mv=function(e){d5(r,e);var t=y5(r);function r(n){_5(this,r);var o;o=t.call(this,n),Ut(xt(o),"search",void 0),Ut(xt(o),"cancel",void 0),Ut(xt(o),"searchType",void 0),Ut(xt(o),"labelPosition",void 0),Ut(xt(o),"viewType",void 0),Ut(xt(o),"isLoading",void 0),Ut(xt(o),"custom",void 0),Ut(xt(o),"queryTypeMap",void 0),Ut(xt(o),"childMinWidth",void 0),Ut(xt(o),"colGap",void 0),Ut(xt(o),"viewConfig",void 0),Ut(xt(o),"simpleConfig",void 0);var i;o.searchType=(i=n==null?void 0:n.searchType)!==null&&i!==void 0?i:"model";var u;o.labelPosition=(u=n==null?void 0:n.labelPosition)!==null&&u!==void 0?u:"top";var c;o.viewType=(c=n==null?void 0:n.viewType)!==null&&c!==void 0?c:"mini";var l;o.search=new Yn((l=n==null?void 0:n.search)!==null&&l!==void 0?l:{content:"\u67E5\u8BE2",isShow:!0});var f;o.cancel=new Yn((f=n==null?void 0:n.cancel)!==null&&f!==void 0?f:{content:"\u91CD\u7F6E",isShow:!0});var s;o.isLoading=(s=n==null?void 0:n.isLoading)!==null&&s!==void 0?s:!1;var _;o.custom=((_=n==null?void 0:n.custom)!==null&&_!==void 0?_:[]).map(function(v){return new Yn(v)});var d;o.queryTypeMap=(d=n==null?void 0:n.queryTypeMap)!==null&&d!==void 0?d:[];var p;o.childMinWidth=(p=n==null?void 0:n.childMinWidth)!==null&&p!==void 0?p:230;var m;o.colGap=(m=n==null?void 0:n.colGap)!==null&&m!==void 0?m:24;var h;o.viewConfig=(h=n==null?void 0:n.viewConfig)!==null&&h!==void 0?h:[];var E;return o.simpleConfig=(E=n==null?void 0:n.simpleConfig)!==null&&E!==void 0?E:[],o}return r}(Al);Ut(Mv,"RuntimeRules",$Be);function p5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lv(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Dv(e){return Dv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dv(e)}function SBe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S$(e,t)}function NBe(e,t){return t&&(IBe(t)==="object"||typeof t=="function")?t:p5(e)}function S$(e,t){return S$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S$(e,t)}function IBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ABe(e){var t=BBe();return function(){var n=Dv(e),o;if(t){var i=Dv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return NBe(this,o)}}var Fv=function(e){SBe(r,e);var t=ABe(r);function r(n){RBe(this,r);var o;return o=t.call(this,n),Lv(p5(o),"props",void 0),o.props=new Mv(n==null?void 0:n.props),o}return r}(UI);Lv(Fv,"controlType","simple-search"),Lv(Fv,"slotPosition",{default:"search"}),Lv(Fv,"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:[a.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}]);function N$(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I$(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Cv(e){return Cv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cv(e)}function LBe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B$(e,t)}function DBe(e,t){return t&&(FBe(t)==="object"||typeof t=="function")?t:N$(e)}function B$(e,t){return B$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},B$(e,t)}function FBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function CBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function kBe(e){var t=CBe();return function(){var n=Cv(e),o;if(t){var i=Cv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DBe(this,o)}}var v5=function(e){LBe(r,e);var t=kBe(r);function r(n){MBe(this,r);var o;o=t.call(this,n),I$(N$(o),"props",void 0),I$(N$(o),"children",void 0),o.props=new Mv(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[],o}return r}(HI);I$(v5,"controlType","simple-search");var h5={Designer:Fv,Runtime:v5,Property:Mv},jBe=Object.freeze({__proto__:null,SimpleSearch:h5});function g5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xBe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function kv(e){return kv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kv(e)}function UBe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A$(e,t)}function GBe(e,t){return t&&(HBe(t)==="object"||typeof t=="function")?t:g5(e)}function A$(e,t){return A$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A$(e,t)}function HBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function zBe(e){var t=YBe();return function(){var n=kv(e),o;if(t){var i=kv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return GBe(this,o)}}var M$=function(e){UBe(r,e);var t=zBe(r);function r(n){VBe(this,r);var o;o=t.call(this,n),xBe(g5(o),"wholeRow",void 0);var i;return o.wholeRow=(i=n==null?void 0:n.wholeRow)!==null&&i!==void 0?i:!1,o}return r}(Fl);function m5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function WBe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b5(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function qBe(e,t,r){return t&&b5(e.prototype,t),r&&b5(e,r),e}function KBe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jv(e){return jv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jv(e)}function XBe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L$(e,t)}function JBe(e,t){return t&&(QBe(t)==="object"||typeof t=="function")?t:m5(e)}function L$(e,t){return L$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},L$(e,t)}function QBe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZBe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e1e(e){var t=ZBe();return function(){var n=jv(e),o;if(t){var i=jv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return JBe(this,o)}}var t1e=function(e){XBe(r,e);var t=e1e(r);function r(n){WBe(this,r);var o;return o=t.call(this,n),KBe(m5(o),"props",void 0),o.props=new M$(n==null?void 0:n.props),o}return qBe(r,null,[{key:"controlName",get:function(){return y.getMessage("gridLayoutWrap")}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(zI);function O5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n1e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w5(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r1e(e,t,r){return t&&w5(e.prototype,t),r&&w5(e,r),e}function o1e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vv(e){return Vv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vv(e)}function i1e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&D$(e,t)}function u1e(e,t){return t&&(c1e(t)==="object"||typeof t=="function")?t:O5(e)}function D$(e,t){return D$=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},D$(e,t)}function c1e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a1e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l1e(e){var t=a1e();return function(){var n=Vv(e),o;if(t){var i=Vv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return u1e(this,o)}}var f1e=function(e){i1e(r,e);var t=l1e(r);function r(n){n1e(this,r);var o;return o=t.call(this,n),o1e(O5(o),"props",void 0),o.props=new M$(n==null?void 0:n.props),o}return r1e(r,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(qI);function a3e(e){return e}var s1e={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:y.getMessage("fullLine"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},E5={Designer:t1e,Runtime:f1e,Property:M$,Setting:s1e},_1e=Object.freeze({__proto__:null,GridLayoutWrap:E5});function F$(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function d1e(e){if(Array.isArray(e))return e}function y1e(e){if(Array.isArray(e))return F$(e)}function p1e(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function v1e(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,u,c;try{for(r=r.call(e);!(o=(u=r.next()).done)&&(n.push(u.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,c=l}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw c}}return n}}function h1e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g1e(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function m1e(e,t){return d1e(e)||v1e(e,t)||T5(e,t)||h1e()}function P5(e){return y1e(e)||p1e(e)||T5(e)||g1e()}function T5(e,t){if(!!e){if(typeof e=="string")return F$(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return F$(e,t)}}var b1e=function(e,t){var r=Array.isArray(e),n=r?e:[e];A1e(t==null?void 0:t.events),$1e(n),R1e(n);var o=T1e(n),i=S1e(o,t),u=Rr(ye(i,function(c){return P1e(c,t)}));return r?u:u[0]},O1e=[a.CONTROL_TYPE.DIVIDER,a.CONTROL_TYPE.TEXT,a.CONTROL_TYPE.TITLE,a.CONTROL_TYPE.LINK,a.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],w1e=["subtable","grid-table"],E1e=["simple-search"];function P1e(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":O1e.includes(i.type)?i.controlType="base":i.controlType="form",w1e.includes(i.type)&&(i.controlType="list"),E1e.includes(i.type)&&(i.controlType="search-view")),delete i.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),ut(e==null||(r=e.props)===null||r===void 0?void 0:r.caption)&&(i.props.caption=e.props.caption.zh),ut(e==null||(n=e.props)===null||n===void 0?void 0:n.placeholder)&&(i.props.placeholder=e.props.placeholder.zh),ut(e==null||(o=e.props)===null||o===void 0?void 0:o.placeholder_end)&&(i.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(i.type="department",e.props.value.length&&(i.props.default_value=e.props.value),i.props.showType=e.props.show_tree?"tree":"default",i.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(i.type="auto-number",i.props.defaultValue=e.props.value),e.type==="file"){var u;i.type="attachment",i.props.attachmentAccept=(u=e.attachment_format)===null||u===void 0?void 0:u.split(","),i.props.showType=e.props.show_type==="title"?"default":"table"}if(e.type==="image"){var c;i.props.attachmentAccept=(c=e.attachment_format)===null||c===void 0?void 0:c.split(",")}if(e.type==="date-pick"&&(i.type="date-picker"),e.type==="rich-text"&&(ut(e.props.value)?i.props.defaultValue=e.props.value.zh:i.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(ut(e.props.value)?i.props.content=e.props.value.zh:i.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(i.props.showState="image"),e.type==="user-search"&&(i.type="employee",i.props.defaultValue=e.props.value),e.type==="address"&&(i.props.addressType=e.props.address_type_value),i.type==="subtable"){var l,f=i.props.entry_type||i.props.entryType;i.props.openType=f==="subpage"?"modal":"default",((l=i.children[0])===null||l===void 0?void 0:l.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(T,$){var I=new wE.Designer;I.props.caption=ut(T.field_name)?T.field_name.zh:T.field_name;var A=I.toSchema();A.id=T.header_id;var x=i.children[0].children[$].children[0];return x&&(A.children=[x]),A}),i.children=[])}i.type==="subtable-cell"&&(i.type="subtable-column");var s=["radio","checkbox","select","select-multiple"];if(s.includes(e.type)&&(e.props.options.map(function(T){T.label=ut(T.text)?T.text.zh:T.text,T.id=T.id||T.opt_id||T.optId||T.data_id}),i=e),e.type==="grid-row"){var _=24/i.children.length;i.children=i.children.map(function(T){var $=new ny.Designer;$.props.span=_;var I=$.toSchema();return I.children.push(T),I})}if(e.type==="grid-layout-row"&&(i.type="row"),e.type==="grid-layout-col"&&(i.type="col"),e.type==="group-panel"&&(i.type="card-group",i.props.collapse=i.props.flod==="no"?"none":i.props.flod),e.type==="tabs-pane"&&(i.type="tab-pane"),e.type==="calc"){var d=i==null?void 0:i.children[0],p=i==null?void 0:i.children[1],m={};d&&($5(i,t),m.result=d.props.data_bind,i.id=d.id,i.props=d.props,i.props.script_src=d.props.script_src,i.props.script_echo=d.props.script_echo,i.props.precision=d.props.precision,i.props.micrometer=d.props.is_show_money,i.props.showUpperCase=d.props.is_show_chn),p&&(m.unit=p.props.data_bind,i.props.default_value={unit:p.props.value}),i.props.dataBind=m,delete i.children}if(e.type==="amount-currency"){i.type="amount",i.controlType="form";var h=i==null?void 0:i.children[0],E=i==null?void 0:i.children[1],v={},R={};h&&($5(i,t),i.id=h.id,v.amount=h.props.data_bind,i.props.range_min=lo(h.props.range_min),i.props.range_max=lo(h.props.range_max),R.amount=lo(h.props.value),i.props.required=h.props.required,i.props.is_hide=h.props.is_hide,i.props.default_state=h.props.default_state,i.props.caption=ut(h.props.caption)?h.props.caption.zh:h.props.caption,i.props.is_hide_caption=h.props.is_hide_caption,i.props.showUpperCase=h.props.is_show_chn),E&&(v.currency=E.props.data_bind,R.currency=E.props.value,i.props.datasourceBind=E.props.datasource_bind,i.props.options=E.props.options.map(function(T){return{label:T.text,value:T.value}})),i.props.dataBind=v,i.props.defaultValue=R,delete i.children}if(e.type==="date-range"){i.controlType="form";var b=i==null?void 0:i.children[0],O=i==null?void 0:i.children[1];i.props.placeholderStart=ut(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,i.props.caption=ut(e.props.caption)?e.props.caption.zh:e.props.caption;var S={};b&&(S.min=b.props.data_bind),O&&(S.max=O.props.data_bind),i.props.dataBind=S,delete i.children}return e.type==="score"&&(i.props.defaultValue=i.props.value*1),["input","textarea"].includes(e.type)&&(i.props.defaultValue=ut(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(i.props.range_min=lo(e.props.range_min),i.props.range_max=lo(e.props.range_max),i.props.defaultValue=lo(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(i.props.buttonType="default"),M1e(i,t==null?void 0:t.control_events),i}function $5(e,t){if(!!t){var r=t.displayBoList,n=r===void 0?[]:r,o=t.behaviors,i=o===void 0?[]:o,u=e.id,c=e.children[0].id;n.forEach(function(l){l.id===u&&(l.id=c);var f=l.show_controls.findIndex(function(_){return _===u}),s=l.hide_controls.findIndex(function(_){return _===u});f>-1&&l.show_controls.splice(f,1,c),s>-1&&l.hide_controls.splice(s,1,c)}),i.forEach(function(l){l.ctrl_id===u&&(l.id=c)})}}function T1e(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new cP.Designer,n=r.toSchema();return n.children=e,[n]}function $1e(e){e.forEach(function(t){t.children&&B1e(t.children)})}function R1e(e){e.forEach(function(t){if(!!(t&&t.children))for(var r=t.children,n=0;n<r.length;n++){var o,i,u=r[n],c=(i=r[n])===null||i===void 0||(o=i.children)===null||o===void 0?void 0:o[0];u.type==="grid-row"&&c&&["group-panel","subtable","tab"].includes(c.type)&&r.splice(n,1,c)}})}function S1e(e,t){var r,n,o,i,u;if(!(Array.isArray(e)&&e.length===1))return e;var c=e[0];if(c.type!=="list-page")return e;var l=c.props,f=c.children,s=m1e(f,3),_=s[0],d=s[1],p=s[2];N1e(_),p.props.is_fixed_header=l==null||(r=l.source_config)===null||r===void 0?void 0:r.is_fixed_header,I1e(p,d);var m,h=(m=l==null||(n=l.source_config)===null||n===void 0?void 0:n.data_code)!==null&&m!==void 0?m:t==null?void 0:t.dataCode,E,v=((E=l==null||(o=l.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&E!==void 0?E:h)?"".concat(h,"_selectMore"):void 0,R,b=(R=l==null||(i=l.source_config)===null||i===void 0?void 0:i.orders)!==null&&R!==void 0?R:[],O=new rP.Designer;O.props.datasourceBind=new Ue({dataCode:h,svcCode:v,orders:PN(b)}),O.props.isShowSubList=l.is_show_sublist,O.props.triggerType=l.timing_type,O.props.triggerFieldCode=l.ctrl_field_code,l==null||(u=l.sublist_page)===null||u===void 0||u.sublists.forEach(function(T){T.title=ut(T.title)?T.title.zh:T.title}),O.props.sublistPage=l.sublist_page;var S=O.toSchema();return S.children.push(_,p),[S]}function N1e(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(function(t){var r=ut(t.placeholder)?t.placeholder.zh:t.placeholder;if(t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=r,t.placeholderEnd=r),t.type==="date-pick"){var n,o;t.type="search-date-range",t.placeholderStart=r,t.placeholderEnd=r,t.dateType=(o=t.dateType)===null||o===void 0||(n=o.replace)===null||n===void 0?void 0:n.call(o,/range$/)}(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function I1e(e,t){e.children=t.children.filter(function(r){return r.type!=="list-page-btn-custom-head"}),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(function(r){var n={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:r.field_code,field_name:ut(r.field_name)?r.field_name.zh:r.field_name}};if(n.props.caption=ut(r.field_name)?r.field_name.zh:r.field_name,n.props.filter_tags=r.is_filter_tags,n.props.fixed=r.fixed,n.props.display_bo_list=r.display_bo_list,n.props.date_type=r.date_type,n.props.optionConfig="none",r.header_width_config&&(n.props.widthType=r.header_width_config==="1"?"auto":"px"),n.props.widthType==="px"&&r.header_width&&(n.props.width=Number(r.header_width)),r.table_header_type==="order")n.type="order-column",n.props.fixed=!0;else if(r.table_header_type==="operation"){n.type="operation-column";var o;n.props.check=(o=r.check)!==null&&o!==void 0?o:{},n.props.check.openType="window";var i;n.props.delete=(i=r.delete)!==null&&i!==void 0?i:{},n.props.delete.openType="window";var u;n.props.edit=(u=r.edit)!==null&&u!==void 0?u:{},n.props.edit.openType="window",n.props.fixed=!0}else n.type=r.field_type+"-column",r.field_type==="auto_number"&&(n.type="auto-number-column"),r.field_type==="relation"&&(n.type="varchar-column");return r.convert_switch&&(n.props.optionConfig=r.convert_type===1?"datasource":"custom"),n.props.optionConfig==="datasource"?n.props.datasource_bind=new Ue({svcCode:r.svc_code,displayBoList:r.display_bo_list,valueFieldCode:r.field_match,dataCode:r.field_source}):n.props.optionConfig==="custom"&&(n.props.options=r.custom_match_bo_list),n}))}function B1e(e){for(var t=null,r=0;r<e.length;r++){var n,o=e[r];if(!!o){if(o.children&&((n=o.children[0])===null||n===void 0?void 0:n.type)==="group-panel"){t=o.children[0];continue}t&&(t.children.push(o),e.splice(r,1),r--)}}}function A1e(e){!e||(e.did_mount=e.did_mount.map(function(t){return t.name}),e.will_submit=e.will_submit.map(function(t){return t.name}),e.did_submit=e.did_submit.map(function(t){return t.name}))}function M1e(e,t){var r;if(!(!t||!e.props.events)){var n=Object.keys(e.props.events);if(!!n.length&&(n.forEach(function(i){var u;!e.props.events[i].length||(t[e.id]||(t[e.id]={}),t[e.id][i]||(t[e.id][i]=[]),(u=t[e.id][i]).push.apply(u,P5(e.props.events[i].map(function(c){return c.name}))))}),!((r=t[e.id])===null||r===void 0)&&r.on_blur)){var o;t[e.id].on_change||(t[e.id].on_change=[]),(o=t[e.id].on_change).push.apply(o,P5(t[e.id].on_blur))}}}var L1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Rr(ye(n,function(i){return D1e(i)}));return r?o:o[0]};function D1e(e,t){if(e.type===a.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===a.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Kt({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var F1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Rr(ye(n,function(i){return C1e(i)}));return r?o:o[0]};function C1e(e,t){return[a.CONTROL_TYPE.BUTTON,a.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,a.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,a.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,a.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,a.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,a.CONTROL_TYPE.EXPORT_LIST_BUTTON,a.CONTROL_TYPE.FORM_SELECT_BUTTON,a.CONTROL_TYPE.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===a.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===a.CONTROL_TYPE.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}var k1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Rr(ye(n,function(i){return j1e(i)}));return r?o:o[0]};function j1e(e,t){if(e.props.icon){var r=e.props.icon;switch(r){case"icongeren":r="iconyyzy-renyuan";break;case"iconjine1":r="iconcaiwu";break;case"iconhuibao":r="iconyyzy-tianxie";break;case"iconwenjian":r="iconyyzy-wenjianjia1";break;case"iconyingpin":r="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":r="iconyyzy-renwu";break}e.props.icon=r}return e}var V1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Rr(ye(n,function(i){return U1e(i)}));return r?o:o[0]},x1e=[a.CONTROL_TYPE.ROW,a.CONTROL_TYPE.TAB,a.CONTROL_TYPE.SUBTABLE,a.CONTROL_TYPE.GRID_ROW,a.CONTROL_TYPE.CARD_GROUP];function U1e(e,t){return e.type===a.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(x1e.includes(r.type))return r;var n=new dE.Designer,o=new ny.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var G1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=Rr(ye(n,function(i){return H1e(i)}));return r?o:o[0]};function H1e(e,t){return e.type===a.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type===a.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}var Y1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return z1e(i)});return r?o:o[0]};function z1e(e,t){return e.type===a.CONTROL_TYPE.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}function ve(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var W1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return q1e(i)});return r?o:o[0]};function Wr(e,t){e.field_code&&(e.field_type=t)}function q1e(e,t){var r,n=(r={},ve(r,a.CONTROL_TYPE.TITLE,a.FieldTypes.AUTO_NUMBER),ve(r,a.CONTROL_TYPE.ADDRESS,a.FieldTypes.ADDRESS),ve(r,a.CONTROL_TYPE.ATTACHMENT,a.FieldTypes.FILE),ve(r,a.CONTROL_TYPE.AUTO_NUMBER,a.FieldTypes.AUTO_NUMBER),ve(r,a.CONTROL_TYPE.CHECKBOX,a.FieldTypes.ARRAY),ve(r,a.CONTROL_TYPE.DATE_PICKER,a.FieldTypes.TIMESTAMP),ve(r,a.CONTROL_TYPE.DEPARTMENT,a.FieldTypes.DEPARTMENTS),ve(r,a.CONTROL_TYPE.DEPARTMENT2,a.FieldTypes.DEPARTMENTS),ve(r,a.CONTROL_TYPE.EMPLOYEE,a.FieldTypes.EMPLOYEES),ve(r,a.CONTROL_TYPE.EMPLOYEE2,a.FieldTypes.EMPLOYEES),ve(r,a.CONTROL_TYPE.IMAGE,a.FieldTypes.IMAGE),ve(r,a.CONTROL_TYPE.INPUT,a.FieldTypes.VARCHAR),ve(r,a.CONTROL_TYPE.NUMBER,a.FieldTypes.DECIMAL),ve(r,a.CONTROL_TYPE.RADIO,a.FieldTypes.VARCHAR),ve(r,a.CONTROL_TYPE.RICH_TEXT,a.FieldTypes.TEXT),ve(r,a.CONTROL_TYPE.SCORE,a.FieldTypes.DECIMAL),ve(r,a.CONTROL_TYPE.SELECT,a.FieldTypes.VARCHAR),ve(r,a.CONTROL_TYPE.SELECT_MULTIPLE,a.FieldTypes.ARRAY),ve(r,a.CONTROL_TYPE.SELECT_RELATION,a.FieldTypes.VARCHAR),ve(r,a.CONTROL_TYPE.TEXTAREA,a.FieldTypes.TEXT),ve(r,a.CONTROL_TYPE.TREE,a.FieldTypes.ARRAY),ve(r,a.CONTROL_TYPE.SEARCH_DATE_RANGE,a.FieldTypes.ARRAY),ve(r,a.CONTROL_TYPE.SEARCH_INPUT,a.FieldTypes.VARCHAR),ve(r,a.CONTROL_TYPE.SEARCH_NUMBER_RANGE,a.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&Wr(e.props.data_bind,n[e.type]),e.type===a.CONTROL_TYPE.AMOUNT&&(Wr(e.props.data_bind.amount,a.FieldTypes.DECIMAL),Wr(e.props.data_bind.currency,a.FieldTypes.VARCHAR)),e.type===a.CONTROL_TYPE.CALC&&(Wr(e.props.data_bind.result,a.FieldTypes.DECIMAL),Wr(e.props.data_bind.unit,a.FieldTypes.VARCHAR)),e.type===a.CONTROL_TYPE.DATE_RANGE&&(Wr(e.props.data_bind.min,a.FieldTypes.TIMESTAMP),Wr(e.props.data_bind.max,a.FieldTypes.TIMESTAMP)),e.type===a.CONTROL_TYPE.VUE_FORM_ITEM){var o;Wr(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:a.FieldTypes.ANY)}return e}var K1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return X1e(i)});return r?o:o[0]};function X1e(e,t){return e.type===a.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===a.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}var J1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return Q1e(i)});return r?o:o[0]};function Q1e(e,t){return e.type===a.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(function(r){var n,o;[a.FieldTypes.VARCHAR,a.FieldTypes.TEXT,a.FieldTypes.AUTO_NUMBER].includes((o=r.props)===null||o===void 0||(n=o.data_bind)===null||n===void 0?void 0:n.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:r.props.data_bind.field_code})})),e}var Z1e=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return eAe(i)});return r?o:o[0]};function eAe(e,t){return[a.CONTROL_TYPE.SELECT,a.CONTROL_TYPE.SELECT_RELATION,a.CONTROL_TYPE.SELECT_MULTIPLE,a.CONTROL_TYPE.RADIO,a.CONTROL_TYPE.CHECKBOX,a.CONTROL_TYPE.TREE,a.CONTROL_TYPE.DEPARTMENT2,a.CONTROL_TYPE.EMPLOYEE2,a.CONTROL_TYPE.DEPARTMENT,a.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===a.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[a.CONTROL_TYPE.SELECT,a.CONTROL_TYPE.SELECT_RELATION,a.CONTROL_TYPE.SELECT_MULTIPLE,a.CONTROL_TYPE.RADIO,a.CONTROL_TYPE.CHECKBOX,a.CONTROL_TYPE.TREE,a.CONTROL_TYPE.DEPARTMENT2,a.CONTROL_TYPE.EMPLOYEE2,a.CONTROL_TYPE.DEPARTMENT,a.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var tAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return nAe(i)});return r?o:o[0]};function nAe(e,t){return[a.CONTROL_TYPE.SELECT,a.CONTROL_TYPE.SELECT_RELATION,a.CONTROL_TYPE.SELECT_MULTIPLE,a.CONTROL_TYPE.RADIO,a.CONTROL_TYPE.CHECKBOX,a.CONTROL_TYPE.TREE,a.CONTROL_TYPE.DEPARTMENT2,a.CONTROL_TYPE.EMPLOYEE2,a.CONTROL_TYPE.DEPARTMENT,a.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===a.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[a.CONTROL_TYPE.SELECT,a.CONTROL_TYPE.SELECT_RELATION,a.CONTROL_TYPE.SELECT_MULTIPLE,a.CONTROL_TYPE.RADIO,a.CONTROL_TYPE.CHECKBOX,a.CONTROL_TYPE.TREE,a.CONTROL_TYPE.DEPARTMENT2,a.CONTROL_TYPE.EMPLOYEE2,a.CONTROL_TYPE.DEPARTMENT,a.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}var rAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return oAe(i)});return r?o:o[0]};function oAe(e,t){return e.type===a.CONTROL_TYPE.TITLE&&e.props.config.push(a.TitleConfigEnum.ShowTitle),e.type===a.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===a.CONTROL_TYPE.OPERATION_COLUMN){var n,o,i;r.props.width_type==="auto"?r.props.auto_width={min_width:120,max_width:120,flex:1}:r.props.width_type==="px"&&(r.props.auto_width={min_width:r.props.width,max_width:r.props.width,flex:1}),r.props.width_type="auto";var u;if(r.children=(u=r==null?void 0:r.children)!==null&&u!==void 0?u:[],delete r.props.custom,((n=r.props)===null||n===void 0?void 0:n.check)!==void 0){var c,l,f,s,_,d,p=new ac.Designer;Object.defineProperty(p,"id",{value:"listPageCheckBtnId"}),p.props.code="view",p.props.icon="iconliulan1",p.props.command="view",p.props.content=(c=r.props)===null||c===void 0?void 0:c.check.content,p.props.priorityProcess=(l=r.props)===null||l===void 0?void 0:l.check.priority_process,p.props.openType=(f=r.props)===null||f===void 0?void 0:f.check.open_type,p.props.formKey=(s=r.props)===null||s===void 0?void 0:s.check.form_key,!((_=r.props)===null||_===void 0)&&_.check.is_show&&r.children.push(p.toSchema()),(d=r.props)===null||d===void 0||delete d.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var m,h,E,v,R,b,O=new ac.Designer;Object.defineProperty(O,"id",{value:"listPageEditBtnId"}),O.props.code="edit",O.props.icon="iconbianji1",O.props.command="edit",O.props.content=(m=r.props)===null||m===void 0?void 0:m.edit.content,O.props.priorityProcess=(h=r.props)===null||h===void 0?void 0:h.edit.priority_process,O.props.openType=(E=r.props)===null||E===void 0?void 0:E.edit.open_type,O.props.formKey=(v=r.props)===null||v===void 0?void 0:v.edit.form_key,!((R=r.props)===null||R===void 0)&&R.edit.is_show&&r.children.push(O.toSchema()),(b=r.props)===null||b===void 0||delete b.edit}if(((i=r.props)===null||i===void 0?void 0:i.delete)!==void 0){var S,T,$,I,A,x,Z=new ac.Designer;Object.defineProperty(Z,"id",{value:"listPageDeleteBtnId"}),Z.props.code="delete",Z.props.icon="iconlajitong",Z.props.command="delete",Z.props.content=(S=r.props)===null||S===void 0?void 0:S.delete.content,Z.props.priorityProcess=(T=r.props)===null||T===void 0?void 0:T.delete.priority_process,Z.props.openType=($=r.props)===null||$===void 0?void 0:$.delete.open_type,Z.props.formKey=(I=r.props)===null||I===void 0?void 0:I.delete.form_key,Z.props.needConfirm=!0,Z.props.confirmMessage=y.getMessage("deleteConfirm"),!((A=r.props)===null||A===void 0)&&A.delete.is_show&&r.children.push(Z.toSchema()),(x=r.props)===null||x===void 0||delete x.delete}}}),[a.CONTROL_TYPE.SELECT,a.CONTROL_TYPE.SELECT_RELATION,a.CONTROL_TYPE.SELECT_MULTIPLE,a.CONTROL_TYPE.RADIO,a.CONTROL_TYPE.CHECKBOX,a.CONTROL_TYPE.TREE,a.CONTROL_TYPE.DEPARTMENT2,a.CONTROL_TYPE.EMPLOYEE2,a.CONTROL_TYPE.DEPARTMENT,a.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===a.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[a.CONTROL_TYPE.SELECT,a.CONTROL_TYPE.SELECT_RELATION,a.CONTROL_TYPE.SELECT_MULTIPLE,a.CONTROL_TYPE.RADIO,a.CONTROL_TYPE.CHECKBOX,a.CONTROL_TYPE.TREE,a.CONTROL_TYPE.DEPARTMENT2,a.CONTROL_TYPE.EMPLOYEE2,a.CONTROL_TYPE.DEPARTMENT,a.CONTROL_TYPE.EMPLOYEE].includes(r.children[0].type)&&r.children[0].props.open_multistage_filling===void 0&&(r.children[0].props.open_multistage_filling=!0)}),e}function aa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var iAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return uAe(i,t)});return r?o:o[0]};function uAe(e,t){e.type===a.CONTROL_TYPE.SUBTABLE&&e.props.headers.map(function(o){var i;o.props.meta_auto_width=new yg,o.props.width_type==="px"&&(o.props.meta_auto_width.pc.width=o.props.width,o.props.meta_auto_width.pc.width_type="px"),delete o.props.width,delete o.props.width_type;var u=(i=o.children)===null||i===void 0?void 0:i[0];u&&u.type===a.CONTROL_TYPE.CALC&&u.props.calc_on_mounted===void 0&&(u.props.calc_on_mounted=!0)});var r,n=(r={},aa(r,a.CONTROL_TYPE.SUBTABLE,[{key:"page_index",value:1},{key:"page_size",value:10},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0}]),aa(r,a.CONTROL_TYPE.GRID_TABLE,[{key:"page_index",value:1},{key:"page_size",value:20},{key:"page_size_options",value:[10,20,50,100]},{key:"total_count",value:0},{key:"is_show_selection",value:!1}]),aa(r,a.CONTROL_TYPE.LIST_VIEW,[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}]),aa(r,a.CONTROL_TYPE.SIMPLE_SEARCH,[{key:"col-gap",value:24},{key:"child-min-width",value:230}]),aa(r,a.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,[{key:"template-type",value:"system"}]),r);return e.type in n&&n[e.type].forEach(function(o){e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type===a.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(o){o.type===a.CONTROL_TYPE.OPERATION_COLUMN&&(o.props.limit===void 0&&(o.props.limit=3),o.props.show_type===void 0&&(o.props.show_type="icon")),o.props.flex===void 0&&(o.props.flex=1),o.props.auto_width===void 0&&(o.props.auto_width=new el)}),e.type===a.CONTROL_TYPE.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),cAe(t),e}function cAe(e){if(!(!e||!e.listeners)){if(Object.keys(e.listeners).forEach(function(r){var n,o,i;e.listeners[r].forEach(function(u,c){var l=u.event_key||u.eventKey;switch(l){case"on_click_finish":o=u,i=c;break;case"on_click":n=u;break}}),o&&(o.cases[0].handlers.unshift(C$()),n?(o.cases.forEach(function(u){n.cases[0].handlers.push(u)}),e.listeners[r].splice(i,1)):o.event_key="on_click")}),!e.listeners.form_submit)e.listeners.form_submit=[{event_key:"on_click",event_param:[],cases:[aAe()]}];else if(e.listeners.form_submit&&e.listeners.form_submit&&e.listeners.form_submit[0]&&e.listeners.form_submit[0].cases&&e.listeners.form_submit[0].cases[0]&&e.listeners.form_submit[0].cases[0].handlers){var t=!1;e.listeners.form_submit[0].cases[0].handlers.forEach(function(r){r.method==="actionOperate"&&(t=!0)}),t||e.listeners.form_submit[0].cases[0].handlers.push(C$())}}}function aAe(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[C$()]}}function C$(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}var lAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return fAe(i,t)});return r?o:o[0]};function fAe(e,t){if(e.type===a.CONTROL_TYPE.LIST_VIEW){if(e.props.is_show_selection===!1){var r=[a.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,a.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT,a.CONTROL_TYPE.BATCH_DELETE_LIST_BUTTON];e.children.forEach(function(n){if(n.type===a.CONTROL_TYPE.GRID_TABLE){var o=n.children.map(function(u){return u.type}),i=o.some(function(u){return r.includes(u)});i===!0&&(e.props.is_show_selection=!0,n.props.is_show_selection=!0)}})}e.props.caption===""&&(e.props.caption=t==null?void 0:t.formName),e.props.is_all_loaded===void 0&&(e.props.is_all_loaded=!0)}return e.type===a.CONTROL_TYPE.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===a.CONTROL_TYPE.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e.type===a.CONTROL_TYPE.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===a.CONTROL_TYPE.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===a.CONTROL_TYPE.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new ul),e}function sAe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _Ae=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return dAe(i)});return r?o:o[0]};function dAe(e,t){var r=sAe({},a.CONTROL_TYPE.SUBTABLE,[{key:"import_config",value:{template_type:"system",template_list:[]}},{key:"export_config",value:{template_type:"system",template_list:[]}}]);e.type in r&&r[e.type].forEach(function(o){e.props[o.key]===void 0&&(e.props[o.key]=o.value)}),e.type==="card-group"&&e.props.isHideCaption===void 0&&(e.props.isHideCaption=!1);var n=[a.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT_RECORD,a.CONTROL_TYPE.EXPORT_LIST_BUTTON,a.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,a.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,a.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,a.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,a.CONTROL_TYPE.BATCH_DELETE_LIST_BUTTON,a.CONTROL_TYPE.BUTTON,a.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,a.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT];return n.includes(e.type)&&(e.control_type="base"),e.type===a.CONTROL_TYPE.SUBTABLE&&e.props.mobile_default_num===void 0&&(e.props.mobile_default_num=e.props.mobile_show_type==="tile"?5:10),e}function yAe(e,t){if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){var r,n,o=(n=t==null||(r=t.events)===null||r===void 0?void 0:r.did_mount)!==null&&n!==void 0?n:[];o.length>0&&(t.events.did_init=o,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}var pAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=ye(n,function(u){var c=vAe(u);return o[u.id]=u,c});return yAe(o,t),r?i:i[0]};function vAe(e,t){if(e.type===a.CONTROL_TYPE.TEXTAREA){var r,n,o,i={rowHeightType:e.props.auto_size===!0?"auto":"fixed",minRows:(r=e.props.line_ellipsis)!==null&&r!==void 0?r:4,maxRows:(n=e.props.max_rows)!==null&&n!==void 0?n:20,fiexdRow:(o=e.props.line_ellipsis)!==null&&o!==void 0?o:4};if(e.props.row_height_setting=Rr(new dg({pc:i,mobile:i})),e.type===a.CONTROL_TYPE.ORGANIZATION_SELECTION){var u=e.props.selected_content_config,c=u==null?void 0:u.display_bo_list;c&&c.forEach(function(l){l.value==="org_type_code"&&(l.label=y.getMessage("businessType")),l.value==="org_pattern_code"&&(l.label=y.getMessage("organizationalForm"))})}e.type===a.CONTROL_TYPE.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1)}return e}var hAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=ye(n,function(u){var c=gAe(u);return o[u.id]=u,c});return mAe(o,t),r?i:i[0]};function gAe(e,t){return e}function mAe(e,t){(t==null?void 0:t.formType)===0&&(t==null?void 0:t.listeners)!==void 0&&Object.keys(t==null?void 0:t.listeners).map(function(r){var n=t==null?void 0:t.listeners[r],o=e[r];if((o==null?void 0:o.type)===a.CONTROL_TYPE.BUTTON){var i,u,c,l,f;["draft","form_submit","save"].includes((u=o.props)===null||u===void 0||(i=u.opt_obj)===null||i===void 0?void 0:i.opt_type)&&(n==null||n.map(function(s){var _,d,p,m;s==null||(_=s.cases)===null||_===void 0||_.map(function(h){var E;h==null||(E=h.handlers)===null||E===void 0||E.map(function(v){if((v==null?void 0:v.method)==="optPage"&&v.params.operation==="refresh"&&(v.params.operation="close"),(v==null?void 0:v.method)==="openPage"){var R,b,O,S;((S=v.params)===null||S===void 0||(O=S.options)===null||O===void 0||(b=O.link)===null||b===void 0||(R=b.fx)===null||R===void 0?void 0:R.expression)==="GET_FORM_URL(GET_PAYLOAD_VAL('value').data_uid,{type:'edit'})"&&(v.id="optPage",v.method="optPage",v.params={operation:"close"})}})}),(s==null||(m=s.cases)===null||m===void 0||(p=m[0])===null||p===void 0||(d=p.handlers)===null||d===void 0?void 0:d.length)===1&&s.cases[0].handlers.push({id:"optPage",method:"optPage",params:{operation:"close"}})})),["form_submit"].includes((l=o.props)===null||l===void 0||(c=l.opt_obj)===null||c===void 0?void 0:c.opt_type)&&((f=t.dataModelExtend)===null||f===void 0?void 0:f.process_status_enum_type)==="business"&&(n==null||n.map(function(s){s.cases[0].handlers.map(function(_){(_==null?void 0:_.method)==="optPage"&&_.params.operation==="close"&&(_.params.operation="edit")})}))}})}var bAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=ye(n,function(u){var c=OAe(u);return o[u.id]=u,c});return wAe(o,t),r?i:i[0]};function OAe(e,t){if(e.type===a.CONTROL_TYPE.ORGANIZATION_SELECTION){var r=e.props.selected_content_config,n=r==null?void 0:r.display_bo_list;n&&n.forEach(function(o){o.value==="org_type_code"&&(o.label=y.getMessage("businessType")),o.value==="org_pattern_code"&&(o.label=y.getMessage("organizationalForm"))})}return e}function wAe(e,t){if((t==null?void 0:t.formType)===1&&(t==null?void 0:t.events)!==void 0){var r,n,o=(n=t==null||(r=t.events)===null||r===void 0?void 0:r.did_mount)!==null&&n!==void 0?n:[];o.length>0&&(t.events.did_init=o,t.events.did_mount=[]),t.events.did_init===void 0&&(t.events.did_init=[])}}var EAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return PAe(i)});return r?o:o[0]};function PAe(e,t){if(e.type===a.CONTROL_TYPE.SIMPLE_SEARCH){if(e.props.view_config===void 0){var r;e.props.view_config=(r=e.children)===null||r===void 0?void 0:r.map(function(u){var c;return(c=u.props)===null||c===void 0?void 0:c.data_bind})}if(e.props.simple_config===void 0){var n;e.props.simple_config=(n=e.children)===null||n===void 0?void 0:n.map(function(u){var c;return(c=u.props)===null||c===void 0?void 0:c.data_bind})}}if(e.type===a.CONTROL_TYPE.ORGANIZATION_SELECTION){var o=e.props.selected_content_config,i=o==null?void 0:o.display_bo_list;i&&i.forEach(function(u){u.value==="org_type_code"&&(u.label=y.getMessage("businessType")),u.value==="org_pattern_code"&&(u.label=y.getMessage("organizationalForm"))})}return e}var TAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=ye(n,function(i){return $Ae(i)});return BAe(o),RAe(o),r?o:o[0]};function $Ae(e,t){return e.type===a.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.forEach(function(r){if(r.type===a.CONTROL_TYPE.SELECT||r.type===a.CONTROL_TYPE.SELECT_MULTIPLE){var n=r;n.props.option_config==="datasource"&&(n.props.default_show_options=!1)}}),e}function RAe(e){if(e[0].type===a.CONTROL_TYPE.LIST_VIEW){var t=e[0].props,r,n,o={type:(r=t.row_style_type)!==null&&r!==void 0?r:"none",interval:{color:(n=t.row_style_bg_color)!==null&&n!==void 0?n:""},rules:[]};t.row_style_rules&&(t.row_style_rules.forEach(function(i){var u=i.id,c={color:i.color,type:"background",scope:"row",fieldCodes:["_row_"]},l;if(t.row_style_rules_script){var f=t.row_style_rules_script.find(function(s){return s.id===u});f&&(l=IAe(i.filters,f.script))}i.settings=[c],i.script=l,delete i.color}),o.rules=t.row_style_rules),t.row_style=o,delete t.row_style_type,delete t.row_style_bg_color,delete t.row_style_rules,delete t.row_style_rules_script}}function R5(e,t){return t||(t={}),e.forEach(function(r){if(r.children)R5(r.children,t);else{var n=r.left_variable_bo;switch(n.type){case"people":case"department":case"array":case"timestamp":var o=n.value;t[o]=n;break}}}),t}function SAe(e){e=e.replace(/\(|\)/g,"").replace(/(\|\|)|(&&)/g,"__split__");var t=e.split("__split__").map(function(r){return r.replace(/^\s+|\s+$/gm,"")});return t}function NAe(e){var t="",r="";if(e[0]==="!")t="is_empty";else{var n=e.match(/(===|!=|>|>=|<|<=)/);if(n){var o=n[0];switch(o){case"===":t="op_equal";break;case"!=":t="op_no_equal";break;case">":t="op_greater";break;case">=":t="op_greater_equal";break;case"<":t="op_less";break;case"<=":t="op_less_equal";break;default:t="is_not_empty";break}r=e.split(o)[1]||""}else t="is_not_empty"}return{operate:t,value:r}}function IAe(e,t){var r=R5(e),n=SAe(t);return n.forEach(function(o){Object.keys(r).forEach(function(i){var u=o.indexOf("params.data.data_value_map['".concat(i,"']"));if(u>-1){var c=r[i],l=c.type,f=NAe(o),s=f.operate,_=f.value,d="SpecialMatch(data, sys, '".concat(i,"', '").concat(l,"', '").concat(s,"', ").concat(_||"''",")");t=t.replace(o,d)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function BAe(e){if(e[0].type===a.CONTROL_TYPE.LIST_VIEW){var t=e[0].children.find(function(i){return i.type===a.CONTROL_TYPE.GRID_TABLE});if(t){var r=t.props.headers,n=t.props.footers,o={};n&&n.length>0&&n.forEach(function(i){var u=i.id.replace("foot_",""),c=i.children;c&&c.length>0&&i.children[0].type!==a.CONTROL_TYPE.BUTTON&&(i.children[0].field_type=i.field_type||"varchar"),o[u]=i}),r.forEach(function(i){var u=o[i.id];if(u){var c=u.children;if(!c||c.length===0)return;var l=i.children||[];i.children=[].concat(l,c)}}),t.props.footers=[]}}return e}var AAe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=MAe(n,t);return r?o:o[0]};function MAe(e,t){var r=DAe(t);return r.length>0&&(LAe(r,t),S5(r,e)),e}function S5(e,t){if(t)for(var r=t.length,n=r-1;n>=0;n--){var o=t[n],i=o.id;e.indexOf(i)>-1?t.splice(n,1):S5(e,o.children)}}function LAe(e,t){for(var r=(t==null?void 0:t.permission_controls)||[],n=r.length-1;n>=0;n--){var o=r[n].control_id;e.indexOf(o)>-1&&r.splice(n,1)}}function DAe(e){var t=[],r=e==null?void 0:e.listeners;return r&&Object.keys(r).forEach(function(n){r[n].forEach(function(o){!o.cases||o.cases.forEach(function(i){!i.handlers||i.handlers.forEach(function(u){if(!!u&&u.method==="openPage"){var c,l=(c=u.params)===null||c===void 0?void 0:c.relation_control_id;l&&t.push(l)}})})})}),t}var N5={"v1.0":b1e,"v2.0":L1e,"v2.1":F1e,"v2.2":k1e,"v2.3":V1e,"v2.4":G1e,"v2.5":Y1e,"v2.6":W1e,"v2.7":K1e,"v2.8":J1e,"v2.9":Z1e,"v2.10":tAe,"v3.0":rAe,"v3.1":iAe,"v3.2":lAe,"v3.3":_Ae,"v3.4":pAe,"v3.5":hAe,"v3.6":bAe,"v3.7":EAe,"v3.8":TAe,"v3.10":AAe,"v3.11":function(){}};const I5=(e,t)=>{const r=B5(e),n=B5(t),o=r.pop(),i=n.pop(),u=L5(r,n);return u!==0?u:o&&i?L5(o.split("."),i.split(".")):o||i?o?-1:1:0},xv=(e,t,r)=>{jAe(r);const n=I5(e,t);return D5[r].includes(n)},FAe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,B5=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(FAe);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},A5=e=>e==="*"||e==="x"||e==="X",M5=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},CAe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],kAe=(e,t)=>{if(A5(e)||A5(t))return 0;const[r,n]=CAe(M5(e),M5(t));return r>n?1:r<n?-1:0},L5=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=kAe(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},D5={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},F5=Object.keys(D5),jAe=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(F5.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${F5.join("|")}`)};function VAe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C5(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xAe(e,t,r){return t&&C5(e.prototype,t),r&&C5(e,r),e}function k5(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k$(e){return e.replace(/^v/,"")}var mu=Object.keys(N5).map(function(e){return k$(e)}).sort(I5),la=mu[mu.length-1],UAe=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:la;VAe(this,e),k5(this,"toVersion",void 0),k5(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,xv(r,la,">")?yr("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(la)):(!mu.includes(k$(r))||!mu.includes(k$(t)))&&yr("Version Builder: Please give me a valid version number, The valid version is: ".concat(mu.join(","),", But give me a ").concat(t))}return xAe(e,[{key:"dataCleaner",value:function(r,n){var o=this;if(xv(this.toVersion,this.schemaVersion,"="))return r;var i=this.callDataCleanerKeys.reduce(function(u,c,l,f){var s,_=(s=f[l+1])!==null&&s!==void 0?s:o.toVersion;Su("Version Builder: current version: ".concat(c,", nextVersion: ").concat(_));var d=N5[c],p=u;if(typeof d=="function"){var m=d(u,n);m&&(p=m)}return p},r);return Su("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return mu.filter(function(n){return xv(n,r.schemaVersion,">=")&&xv(n,r.toVersion,"<")})}},{key:"callDataCleanerKeys",get:function(){return this.runDataCleanerKeys.map(function(r){return"v"+r})}},{key:"version",get:function(){return la}}],[{key:"version",get:function(){return la}}]),e}();const Uv=[],j$={exports:{}};let V$=!1;const GAe=window.module,HAe=window.exports,YAe=window.require;function zAe(e){return V$||(window.module=j$,window.exports=j$.exports,window.require=function(t){return e[t]},V$=!0),function(){window.module=GAe,window.exports=HAe,window.require=YAe,V$=!1}}function WAe(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=zAe(t);i.src=e,i.type="text/javascript";const c=()=>{document.head.removeChild(i);const l=Uv.findIndex(f=>f===r);Uv.splice(l,1),Uv.length===0&&u()};i.onerror=function(l){c(),o(l)},i.onload=function(){n(j$.exports),c()},document.head.appendChild(i)});return Uv.push(r),r}function x$(e){return fetch(e,{mode:"cors",cache:"no-cache",credentials:"same-origin"}).then(t=>{if(t.ok===!1)throw"not found resource:"+e;return t.text()})}function j5(e,t,r={fetch:x$}){return new Promise((n,o)=>{r.fetch(e).then(i=>{const u={exports:{}};new Function("module","exports","require",i)(u,u.exports,function(c){return t[c]}),n(u.exports)}).catch(i=>{o(i)})})}function Gv(e,t){return j5(e,t)}function qAe(e,t){return dr(this,null,function*(){return yield Promise.all(e.map(r=>Gv(r,t)))})}function Hv(e,t,r){let n;t==="runtime"?n=class extends Re{constructor(l){super(l),this.props={}}static get controlType(){return e}}:n=class extends re{constructor(l){super(l),this.props={}}static get controlType(){return e}};class o extends $e{}const i=`<div style="background:#fff0ef;color:#ff6459;padding:8px 16px;border-radius:4px;"><i class="low-code iconshibaimian" style="margin-right:4px"></i>${r}</div>`;return{Runtime:n,Designer:n,Property:o,Setting:[],Views:{Desktop:{template:i},Mobile:{template:i},Designer:{template:i},Settings:{error:{template:i}}},upgrade:c=>c}}function KAe(e,t,r,n){return dr(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>dr(this,null,function*(){let u=!0,c;try{u=!0;let l="";n.type==="runtime"?l=i.runtime:l=i.designer,l+="?v="+i.version,c=yield Gv(l,r),n.type==="runtime"?c.Runtime.__is_control__:c.Designer.__is_control__}catch(l){u=!1,Kr("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,l),c=Hv(i.id,n.type,n.tipMessage)}if(u){let l="";if(n.type==="runtime"&&i.runtimecss!==void 0){const f=new RegExp(i.id+"-runtime-.*?$");l=i.runtime.replace(f,i.runtimecss)}else if(n.type==="designer"&&i.designercss!==void 0){const f=new RegExp(i.id+"-designer-.*?$");l=i.designer.replace(f,i.designercss)}if(l!==""){const f=document.createElement("link");f.href=l,f.rel="stylesheet",document.head.appendChild(f)}}V5(n.type,c,o,u,i)}))),e==null||e.map(i=>{const[u,c]=i.split(":");if(o.has(u)===!1){const f=Hv(u,n.type,n.tipMessage);V5(n.type,f,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:c})}})),o})}function V5(e,t,r,n,o){e==="runtime"?(r.has(t.Runtime.controlType)&&Kr(`repeat register ${t.Runtime.controlType}`),r.set(t.Runtime.controlType,{props:o,version:o.version,isLoaded:n,control:t})):(r.has(t.Designer.controlType)&&Kr(`repeat register ${t.Designer.controlType}`),r.set(t.Designer.controlType,{props:o,version:o.version,isLoaded:n,control:t}))}function XAe(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(u=>{const[c,l]=u.split(":");o.props.id===c&&(i=l!=null?l:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function JAe(e,t){return dr(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield x$(`${e}/component.json?v=${r}`);let i=[];if(o!==void 0){i=JSON.parse(o);const u=yield Gv(`${e}/${t.type}.js?v=${r}`,t.globalModules);i.map(c=>{let l=u.find(f=>t.type==="runtime"?f.Runtime.controlType===c.id:f.Designer.controlType===c.id);l===void 0&&(l=Hv(c.id,t.type,y.getMessage("loadCtrlError"))),n.set(c.id,{props:c,version:c.version,isLoaded:!0,control:l})})}return n})}a.ActionBar=Ok,a.Address=dL,a.AddressValue=eI,a.AdvancedContainer=fk,a.Amount=XM,a.AmountDataBind=XN,a.AmountValue=JN,a.ApprovalStatusColumn=s5,a.ArrayColumn=$2,a.Attachment=jM,a.AutoNumber=BL,a.AutoNumberColumn=C2,a.AutoWidth=el,a.BaseControlProperty=K,a.BaseControlPropertyRules=Ye,a.BaseControlPropertyRuntimeRules=_e,a.BaseStyle=oI,a.BatchDeleteButton=QA,a.BatchPrintListButton=DA,a.BatchPrintRecordListButton=VA,a.BatchSubmissionListButton=JB,a.Button=sB,a.Calc=kL,a.CalcDataBind=tI,a.CalcScriptEchoItem=AG,a.CalcValue=nI,a.CardGroup=eC,a.Checkbox=_3,a.Col=ny,a.ColumnControlProperty=Ne,a.ColumnControlPropertyRules=dn,a.ColumnOptionAndDataSourcePropertyRules=Zg,a.CreateFormListButton=GB,a.CustomAttributeItem=hg,a.CustomColumn=o5,a.CustomPermissionItem=Cq,a.DEFAULT_LOCALE=Y$,a.DESIGNER_SLOT=Xv,a.Dashboard=tA,a.DataBind=Kt,a.DataSourceBind=Ue,a.DataSourceDataSetValue=zN,a.DataSourceOrderItem=pg,a.DataSourceParamItem=Lq,a.DataStorageDoc=kN,a.DataView=cP,a.DatePicker=F3,a.DateRange=z3,a.DecimalColumn=u2,a.Department=EL,a.Department2=yF,a.DepartmentColumn=B2,a.DepartmentEntity=Wv,a.DesignerColumnControl=We,a.DesignerControl=re,a.DesignerFormControl=J,a.DesignerLayoutControl=Oe,a.DesignerListControl=Tl,a.DesignerSearchControl=UI,a.DesignerWrapControl=zI,a.DisplayBoListItem=ol,a.Divider=RB,a.ElectronicSignature=eF,a.ElectronicSignatureConfig=_B,a.Employee=MM,a.Employee2=HD,a.EmployeeColumn=l5,a.EventLogic=IN,a.Explain=Jl,a.ExportConfig=vB,a.ExportListButton=a1,a.ExportRecordListButton=d1,a.ExportTemplate=tc,a.FieldBindItem=xN,a.FieldFilterCondition=Hu,a.FieldFilterConditions=rl,a.FileColumn=V2,a.FillBackBind=bg,a.FillPayloadBind=mg,a.FlexStyleConfig=mB,a.FormBind=fo,a.FormSelectBind=jN,a.FormSelectButton=S1,a.Grid=AF,a.GridLayoutContainer=wC,a.GridLayoutWrap=E5,a.GridRow=dE,a.GridTable=Vk,a.GridTableColumn=vC,a.Image=GM,a.ImageColumn=G2,a.ImageOptionSetting=KN,a.ImportConfig=pB,a.ImportListBind=yB,a.ImportRecordListButton=m1,a.Input=i3,a.InvoiceCheckButton=RA,a.JSONCopy=zt,a.JoinRelation=YN,a.Language=Dq,a.LayoutControlProperty=pe,a.LeftVariable=HN,a.LimitDate=Xl,a.Link=uB,a.LinkOperationOption=Sn,a.ListBind=nl,a.ListControlProperty=Qu,a.ListSelectButton=C1,a.ListView=rP,a.ListViewSelect=sA,a.LocationColumn=Q2,a.MetaAutoWidth=yg,a.MetaRowHeight=dg,a.MetaWidth=tl,a.MultistageFillingItem=ht,a.Number=N3,a.ObjectDataBind=cl,a.OperationButton=ac,a.OperationColumn=Fk,a.OperationItem=Yn,a.OptObject=iI,a.OptionAndDataSourcePropertyRules=so,a.OptionDisplayConfigItem=Mq,a.OptionSetting=Og,a.OrderColumn=Ik,a.OrganizationDataSourceBind=WN,a.OrganizationSelection=OF,a.Page=uk,a.Pagination=Y1,a.PeopleColumn=z2,a.Position=vk,a.PositioningContainer=dk,a.PrintTemplate=gB,a.Property=$e,a.PropertyRules=Fe,a.PropertyRuntimeRules=Nr,a.Radio=w3,a.RangeDataBind=QN,a.RangeDateValue=ZN,a.RegisterControls=Gu,a.RegularRules=ul,a.RichText=uM,a.RightVariable=ui,a.Row=HF,a.RowHeight=_g,a.RowStyle=aI,a.RowStyleRule=uI,a.RowStyleSettings=cI,a.RulesMessage=y,a.RuntimeColumnControl=qe,a.RuntimeControl=Re,a.RuntimeFormControl=Q,a.RuntimeLayoutControl=Se,a.RuntimeListControl=qg,a.RuntimeSearchControl=HI,a.RuntimeWrapControl=qI,a.SUBTABLE_DEFAULT_MAX_HEIGHT=hB,a.Score=rL,a.SearchControlProperty=Al,a.SearchDateRange=oD,a.SearchInput=ID,a.SearchNumberRange=qL,a.Select=vM,a.SelectMultiple=EM,a.SelectRelation=OD,a.SelectedContentConfig=il,a.SimpleSearch=h5,a.SubListItem=UN,a.SubListPageConfig=GN,a.SubTable=Pk,a.SubTableColumn=wE,a.SubTableRow=sC,a.SubmissionRecordListButton=n1,a.SuperDataSourceBind=Yu,a.Tab=FC,a.TabPane=BC,a.Text=tB,a.TextColumn=Zk,a.TextOcrButton=mA,a.Textarea=Z3,a.TimescopeColumn=d2,a.TimestampColumn=b2,a.Title=DB,a.Toolbox=GC,a.Tree=CD,a.TreeDataSourceBind=gg,a.UndersignedPerson=Rm,a.UserEntity=qv,a.VarcharColumn=zk,a.VersionBuilder=UAe,a.ViewOperationItem=rI,a.VueFormItem=sD,a.VuePage=SF,a.WPS=cF,a.WPSSetting=dB,a.Watcher=SN,a.WpsOperationItem=Sm,a.WrapControlProperty=Fl,a.baseControls=Mue,a.camelizeKeys=PN,a.columnControls=wBe,a.controlHooksEmitter=hI,a.createValidator=vI,a.debounce=lq,a.decamelizeKeys=Rr,a.defineArrayParent=AN,a.defineControlArrayToProperty=_n,a.defineParent=fg,a.error=yr,a.formControls=Jhe,a.genNonDuplicateId=Gt,a.getHackerControl=Hv,a.getNotRepeatItems=EN,a.initExpression=nc,a.initImageOptions=Fq,a.initLinkOperationRules=qn,a.initOptionAndDataSourceRules=sl,a.initOptions=Nn,a.initSuperDataSourceRules=Xu,a.isArray=ao,a.isBuiltInControls=sq,a.isDataBind=NI,a.isFunction=rq,a.isJSONArray=cq,a.isJSONObject=aq,a.isLanguageObject=ut,a.isNumber=ug,a.isNumberAndEmptyStringArray=uq,a.isNumberArray=iq,a.isObject=nq,a.isPlainObject=ig,a.isString=wN,a.isStringArray=oq,a.layoutControls=DPe,a.listControls=m$e,a.loadRemoteControl=Gv,a.loadRemoteControls=qAe,a.loadScriptFromFetch=j5,a.loadScriptFromTag=WAe,a.log=Su,a.logerror=Q$,a.loop=ye,a.loopFormSchema=Oa,a.nativeFetch=x$,a.noop=MG,a.referenceError=th,a.registerByteluckControls=JAe,a.registerCustomControls=KAe,a.searchControls=jBe,a.setPropertyDontEnum=Qa,a.toNumberOrEmpty=lo,a.updateValueFromKeys=mN,a.upgradeCustomControlSchema=XAe,a.wait=fq,a.warn=Kr,a.wrapControls=_1e,Object.defineProperty(a,"__esModule",{value:!0})});