@byteluck-fe/model-driven-core-all 2.22.2-beta.4 → 2.22.2-beta.6
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/README.md +11 -11
- package/dist/index.umd.js +1 -1
- package/dist/types/getHackerControl.d.ts +23 -23
- package/dist/types/index.d.ts +9 -9
- package/dist/types/loadRemoteScripts.d.ts +7 -7
- package/dist/types/registerByteluckControls.d.ts +6 -6
- package/dist/types/registerCustomControls.d.ts +22 -22
- package/dist/types/upgradeCustomControlSchema.d.ts +2 -2
- package/package.json +6 -6
package/dist/index.umd.js
CHANGED
|
@@ -42,4 +42,4 @@ Component that was made reactive: `,e)),oU(e,t,r,n,o,u,i,!0)}function iU(e){retu
|
|
|
42
42
|
* vue-i18n v9.13.1
|
|
43
43
|
* (c) 2024 kazuya kawaguchi
|
|
44
44
|
* Released under the MIT License.
|
|
45
|
-
*/const wU="9.13.1";function PU(){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 qS=dt.__EXTEND_POINT__,Yn=Pl(qS),ye={FALLBACK_TO_ROOT:qS,NOT_SUPPORTED_PRESERVE:Yn(),NOT_SUPPORTED_FORMATTER:Yn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Yn(),NOT_SUPPORTED_GET_CHOICE_INDEX:Yn(),COMPONENT_NAME_LEGACY_COMPATIBLE:Yn(),NOT_FOUND_PARENT_SCOPE:Yn(),IGNORE_OBJ_FLATTEN:Yn(),NOTICE_DROP_ALLOW_COMPOSITION:Yn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Yn()},TU={[ye.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ye.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ye.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ye.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ye.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ye.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ye.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ye.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ye.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",[ye.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Rt(e,...t){return Su(TU[e],...t)}const KS=Ye.__EXTEND_POINT__,Et=Pl(KS),q={UNEXPECTED_RETURN_TYPE:KS,INVALID_ARGUMENT:Et(),MUST_BE_CALL_SETUP_TOP:Et(),NOT_INSTALLED:Et(),NOT_AVAILABLE_IN_LEGACY_MODE:Et(),REQUIRED_VALUE:Et(),INVALID_VALUE:Et(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Et(),NOT_INSTALLED_WITH_PROVIDE:Et(),UNEXPECTED_ERROR:Et(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Et(),BRIDGE_SUPPORT_VUE_2_ONLY:Et(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Et(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Et(),__EXTEND_POINT__:Et()};function xe(e,...t){return zo(e,null,process.env.NODE_ENV!=="production"?{messages:RU,args:t}:void 0)}const RU={[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=ln("__translateVNode"),Hh=ln("__datetimeParts"),zh=ln("__numberParts"),co=ln("__enableEmitter"),Fu=ln("__disableEmitter"),XS=ln("__setPluralRules");ln("__intlifyMeta");const JS=ln("__injectWithOption"),Wh=ln("__dispose");function Vu(e){if(!X(e))return e;for(const t in e)if(!!wl(e,t))if(!t.includes("."))X(e[t])&&Vu(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(Rt(ye.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]])&&Vu(o[r[n]])}return e}function Xl(e,t){const{messages:r,__i18n:n,messageResolver:o,flatJson:i}=t,u=F(r)?r:ae(n)?{}:{[e]:{}};if(ae(n)&&n.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:a,resource:f}=c;a?(u[a]=u[a]||{},Rl(f,u[a])):Rl(f,u)}else D(c)&&Rl(JSON.parse(c),u)}),o==null&&i)for(const c in u)wl(u,c)&&Vu(u[c]);return u}function QS(e){return e.type}function ZS(e,t,r){let n=X(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=Xl(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 eN(e){return ri(CS,null,e,0)}const tN="__INTLIFY_META__",nN=()=>[],EU=()=>!1;let rN=0;function oN(e){return(t,r,n,o)=>e(r,n,oi()||void 0,o)}const $U=()=>{const e=oi();let t=null;return e&&(t=QS(e)[tN])?{[tN]:t}:null};function qh(e={},t){const{__root:r,__injectWithOption:n}=e,o=r===void 0,i=e.flatJson,u=cn?Zo:gS,c=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&c&&r$(Rt(ye.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let a=H(e.inheritLocale)?e.inheritLocale:!0;const f=u(r&&a?r.locale.value:D(e.locale)?e.locale:Ko),s=u(r&&a?r.fallbackLocale.value:D(e.fallbackLocale)||ae(e.fallbackLocale)||F(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:f.value),_=u(Xl(f.value,e)),y=u(F(e.datetimeFormats)?e.datetimeFormats:{[f.value]:{}}),p=u(F(e.numberFormats)?e.numberFormats:{[f.value]:{}});let m=r?r.missingWarn:H(e.missingWarn)||pr(e.missingWarn)?e.missingWarn:!0,h=r?r.fallbackWarn:H(e.fallbackWarn)||pr(e.fallbackWarn)?e.fallbackWarn:!0,P=r?r.fallbackRoot:H(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,$=ie(e.missing)?e.missing:null,b=ie(e.missing)?oN(e.missing):null,O=ie(e.postTranslation)?e.postTranslation:null,S=r?r.warnHtmlMessage:H(e.warnHtmlMessage)?e.warnHtmlMessage:!0,R=!!e.escapeParameter;const E=r?r.modifiers:F(e.modifiers)?e.modifiers:{};let I=e.pluralRules||r&&r.pluralRules,L;L=(()=>{o&&w$(null);const N={version:wU,locale:f.value,fallbackLocale:s.value,messages:_.value,modifiers:E,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:R,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};N.datetimeFormats=y.value,N.numberFormats=p.value,N.__datetimeFormatters=F(L)?L.__datetimeFormatters:void 0,N.__numberFormatters=F(L)?L.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(N.__v_emitter=F(L)?L.__v_emitter:void 0);const k=hx(N);return o&&w$(k),k})(),Iu(L,f.value,s.value);function Z(){return[f.value,s.value,_.value,y.value,p.value]}const Y=Sn({get:()=>f.value,set:N=>{f.value=N,L.locale=f.value}}),he=Sn({get:()=>s.value,set:N=>{s.value=N,L.fallbackLocale=s.value,Iu(L,f.value,N)}}),st=Sn(()=>_.value),cr=Sn(()=>y.value),Mt=Sn(()=>p.value);function lr(){return ie(O)?O:null}function ar(N){O=N,L.postTranslation=N}function fr(){return $}function sr(N){N!==null&&(b=oN(N)),$=N,L.missing=b}function _r(N,k){return N!=="translate"||!k.resolvedMessage}const _t=(N,k,te,Le,qr,zv)=>{Z();let wu;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&b$($U()),o||(L.fallbackContext=r?vx():void 0),wu=N(L)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&b$(null),o||(L.fallbackContext=void 0)}if(te!=="translate exists"&&Ce(wu)&&wu===Sl||te==="translate exists"&&!wu){const[Ho,cTe]=k();if(process.env.NODE_ENV!=="production"&&r&&D(Ho)&&_r(te,cTe)&&(P&&(Il(h,Ho)||T$(m,Ho))&&Ve(Rt(ye.FALLBACK_TO_ROOT,{key:Ho,type:te})),process.env.NODE_ENV!=="production")){const{__v_emitter:V3}=L;V3&&P&&V3.emit("fallback",{type:te,key:Ho,to:"global",groupId:`${te}:${Ho}`})}return r&&P?Le(r):qr(Ho)}else{if(zv(wu))return wu;throw xe(q.UNEXPECTED_RETURN_TYPE)}};function mu(...N){return _t(k=>Reflect.apply(L$,null,[k,...N]),()=>fh(...N),"translate",k=>Reflect.apply(k.t,k,[...N]),k=>k,k=>D(k))}function bu(...N){const[k,te,Le]=N;if(Le&&!X(Le))throw xe(q.INVALID_ARGUMENT);return mu(k,te,Fe({resolvedMessage:!0},Le||{}))}function al(...N){return _t(k=>Reflect.apply(j$,null,[k,...N]),()=>sh(...N),"datetime format",k=>Reflect.apply(k.d,k,[...N]),()=>Nl,k=>D(k))}function fl(...N){return _t(k=>Reflect.apply(V$,null,[k,...N]),()=>_h(...N),"number format",k=>Reflect.apply(k.n,k,[...N]),()=>Nl,k=>D(k))}function sl(N){return N.map(k=>D(k)||Ce(k)||H(k)?eN(String(k)):k)}const _l={normalize:sl,interpolate:N=>N,type:"vnode"};function Ou(...N){return _t(k=>{let te;const Le=k;try{Le.processor=_l,te=Reflect.apply(L$,null,[Le,...N])}finally{Le.processor=null}return te},()=>fh(...N),"translate",k=>k[Yh](...N),k=>[eN(k)],k=>ae(k))}function yl(...N){return _t(k=>Reflect.apply(V$,null,[k,...N]),()=>_h(...N),"number format",k=>k[zh](...N),nN,k=>D(k)||ae(k))}function dl(...N){return _t(k=>Reflect.apply(j$,null,[k,...N]),()=>sh(...N),"datetime format",k=>k[Hh](...N),nN,k=>D(k)||ae(k))}function pl(N){I=N,L.pluralRules=I}function A(N,k){return _t(()=>{if(!N)return!1;const te=D(k)?k:f.value,Le=Yo(te),qr=L.messageResolver(Le,N);return c?qr!=null:gr(qr)||Ht(qr)||D(qr)},()=>[N],"translate exists",te=>Reflect.apply(te.te,te,[N,k]),EU,te=>H(te))}function ee(N){let k=null;const te=_$(L,s.value,f.value);for(let Le=0;Le<te.length;Le++){const qr=_.value[te[Le]]||{},zv=L.messageResolver(qr,N);if(zv!=null){k=zv;break}}return k}function vl(N){const k=ee(N);return k!=null?k:r?r.tm(N)||{}:{}}function Yo(N){return _.value[N]||{}}function hl(N,k){if(i){const te={[N]:k};for(const Le in te)wl(te,Le)&&Vu(te[Le]);k=te[N]}_.value[N]=k,L.messages=_.value}function VE(N,k){_.value[N]=_.value[N]||{};const te={[N]:k};if(i)for(const Le in te)wl(te,Le)&&Vu(te[Le]);k=te[N],Rl(k,_.value[N]),L.messages=_.value}function g(N){return y.value[N]||{}}function w(N,k){y.value[N]=k,L.datetimeFormats=y.value,F$(L,N,k)}function M(N,k){y.value[N]=Fe(y.value[N]||{},k),L.datetimeFormats=y.value,F$(L,N,k)}function j(N){return p.value[N]||{}}function ge(N,k){p.value[N]=k,L.numberFormats=p.value,U$(L,N,k)}function le(N,k){p.value[N]=Fe(p.value[N]||{},k),L.numberFormats=p.value,U$(L,N,k)}rN++,r&&cn&&(Fh(r.locale,N=>{a&&(f.value=N,L.locale=N,Iu(L,f.value,s.value))}),Fh(r.fallbackLocale,N=>{a&&(s.value=N,L.fallbackLocale=N,Iu(L,f.value,s.value))}));const oe={id:rN,locale:Y,fallbackLocale:he,get inheritLocale(){return a},set inheritLocale(N){a=N,N&&r&&(f.value=r.locale.value,s.value=r.fallbackLocale.value,Iu(L,f.value,s.value))},get availableLocales(){return Object.keys(_.value).sort()},messages:st,get modifiers(){return E},get pluralRules(){return I||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(N){m=N,L.missingWarn=m},get fallbackWarn(){return h},set fallbackWarn(N){h=N,L.fallbackWarn=h},get fallbackRoot(){return P},set fallbackRoot(N){P=N},get fallbackFormat(){return v},set fallbackFormat(N){v=N,L.fallbackFormat=v},get warnHtmlMessage(){return S},set warnHtmlMessage(N){S=N,L.warnHtmlMessage=N},get escapeParameter(){return R},set escapeParameter(N){R=N,L.escapeParameter=N},t:mu,getLocaleMessage:Yo,setLocaleMessage:hl,mergeLocaleMessage:VE,getPostTranslationHandler:lr,setPostTranslationHandler:ar,getMissingHandler:fr,setMissingHandler:sr,[XS]:pl};return oe.datetimeFormats=cr,oe.numberFormats=Mt,oe.rt=bu,oe.te=A,oe.tm=vl,oe.d=al,oe.n=fl,oe.getDateTimeFormat=g,oe.setDateTimeFormat=w,oe.mergeDateTimeFormat=M,oe.getNumberFormat=j,oe.setNumberFormat=ge,oe.mergeNumberFormat=le,oe[JS]=n,oe[Yh]=Ou,oe[Hh]=dl,oe[zh]=yl,process.env.NODE_ENV!=="production"&&(oe[co]=N=>{L.__v_emitter=N},oe[Fu]=()=>{L.__v_emitter=void 0}),oe}function SU(e){const t=D(e.locale)?e.locale:Ko,r=D(e.fallbackLocale)||ae(e.fallbackLocale)||F(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=ie(e.missing)?e.missing:void 0,o=H(e.silentTranslationWarn)||pr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=H(e.silentFallbackWarn)||pr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=H(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,a=F(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,s=ie(e.postTranslation)?e.postTranslation:void 0,_=D(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,y=!!e.escapeParameterHtml,p=H(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ve(Rt(ye.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ve(Rt(ye.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let m=e.messages;if(F(e.sharedMessages)){const R=e.sharedMessages;m=Object.keys(R).reduce((I,L)=>{const x=I[L]||(I[L]={});return Fe(x,R[L]),I},m||{})}const{__i18n:h,__root:P,__injectWithOption:v}=e,$=e.datetimeFormats,b=e.numberFormats,O=e.flatJson,S=e.translateExistCompatible;return{locale:t,fallbackLocale:r,messages:m,flatJson:O,datetimeFormats:$,numberFormats:b,missing:n,missingWarn:o,fallbackWarn:i,fallbackRoot:u,fallbackFormat:c,modifiers:a,pluralRules:f,postTranslation:s,warnHtmlMessage:_,escapeParameter:y,messageResolver:e.messageResolver,inheritLocale:p,translateExistCompatible:S,__i18n:h,__root:P,__injectWithOption:v}}function Kh(e={},t){{const r=qh(SU(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(Rt(ye.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(i){process.env.NODE_ENV!=="production"&&Ve(Rt(ye.NOT_SUPPORTED_FORMATTER))},get missing(){return r.getMissingHandler()},set missing(i){r.setMissingHandler(i)},get silentTranslationWarn(){return H(r.missingWarn)?!r.missingWarn:r.missingWarn},set silentTranslationWarn(i){r.missingWarn=H(i)?!i:i},get silentFallbackWarn(){return H(r.fallbackWarn)?!r.fallbackWarn:r.fallbackWarn},set silentFallbackWarn(i){r.fallbackWarn=H(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(Rt(ye.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(i){process.env.NODE_ENV!=="production"&&Ve(Rt(ye.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return r.pluralRules||{}},__composer:r,t(...i){const[u,c,a]=i,f={};let s=null,_=null;if(!D(u))throw xe(q.INVALID_ARGUMENT);const y=u;return D(c)?f.locale=c:ae(c)?s=c:F(c)&&(_=c),ae(a)?s=a:F(a)&&(_=a),Reflect.apply(r.t,r,[y,s||_||{},f])},rt(...i){return Reflect.apply(r.rt,r,[...i])},tc(...i){const[u,c,a]=i,f={plural:1};let s=null,_=null;if(!D(u))throw xe(q.INVALID_ARGUMENT);const y=u;return D(c)?f.locale=c:Ce(c)?f.plural=c:ae(c)?s=c:F(c)&&(_=c),D(a)?f.locale=a:ae(a)?s=a:F(a)&&(_=a),Reflect.apply(r.t,r,[y,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(Rt(ye.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[Fu]&&i[Fu]()}),o}}const Xh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function NU({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,o)=>[...n,...o.type===zl?o.children:[o]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},{})}function iN(e){return zl}const Jh=Dh({name:"i18n-t",props:Fe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ce(e)||!isNaN(e)}},Xh),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||tg({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=NU(t,i),a=o[Yh](e.keypath,c,u),f=Fe({},n),s=D(e.tag)||X(e.tag)?e.tag:iN();return zS(s,f,a)}}});function IU(e){return ae(e)&&!D(e[0])}function uN(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((y,p)=>r.includes(p)?Fe({},y,{[p]:e.format[p]}):y,{}));const a=n(e.value,u,c);let f=[u.key];ae(a)?f=a.map((y,p)=>{const m=o[y.type],h=m?m({[y.type]:y.value,index:p,parts:a}):[y.value];return IU(h)&&(h[0].key=`${y.type}-${p}`),h}):D(a)&&(f=[a]);const s=Fe({},i),_=D(e.tag)||X(e.tag)?e.tag:iN();return zS(_,s,f)}}const cN=Dh({name:"i18n-n",props:Fe({value:{type:Number,required:!0},format:{type:[String,Object]}},Xh),setup(e,t){const r=e.i18n||tg({useScope:e.scope,__useComponent:!0});return uN(e,t,x$,(...n)=>r[zh](...n))}}),lN=Dh({name:"i18n-d",props:Fe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Xh),setup(e,t){const r=e.i18n||tg({useScope:e.scope,__useComponent:!0});return uN(e,t,C$,(...n)=>r[Hh](...n))}});function MU(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 LU(e){const t=u=>{const{instance:c,modifiers:a,value:f}=u;if(!c||!c.$)throw xe(q.UNEXPECTED_ERROR);const s=MU(e,c.$);process.env.NODE_ENV!=="production"&&a.preserve&&Ve(Rt(ye.NOT_SUPPORTED_PRESERVE));const _=aN(f);return[Reflect.apply(s.t,s,[...fN(_)]),s]};return{created:(u,c)=>{const[a,f]=t(c);cn&&e.global===f&&(u.__i18nWatcher=Fh(f.locale,()=>{c.instance&&c.instance.$forceUpdate()})),u.__composer=f,u.textContent=a},unmounted:u=>{cn&&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 a=u.__composer,f=aN(c);u.textContent=Reflect.apply(a.t,a,[...fN(f)])}},getSSRProps:u=>{const[c]=t(u);return{textContent:c}}}}function aN(e){if(D(e))return{path:e};if(F(e)){if(!("path"in e))throw xe(q.REQUIRED_VALUE,"path");return e}else throw xe(q.INVALID_VALUE)}function fN(e){const{path:t,locale:r,args:n,choice:o,plural:i}=e,u={},c=n||{};return D(r)&&(u.locale=r),Ce(o)&&(u.plural=o),Ce(i)&&(u.plural=i),[t,c,u]}function kU(e,t,...r){const n=F(r[0])?r[0]:{},o=!!n.useI18nComponentName,i=H(n.globalInstall)?n.globalInstall:!0;process.env.NODE_ENV!=="production"&&i&&o&&Ve(Rt(ye.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Jh.name})),i&&([o?"i18n":Jh.name,"I18nT"].forEach(u=>e.component(u,Jh)),[cN.name,"I18nN"].forEach(u=>e.component(u,cN)),[lN.name,"I18nD"].forEach(u=>e.component(u,lN))),e.directive("t",LU(t))}const Qh={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},AU={["vue-i18n-resource-inspector"]:"Search for scopes ..."},DU={["vue-i18n-timeline"]:16764185},sN="vue-i18n: composer properties";let Zh;function BU(e,t){return yr(this,null,function*(){return new Promise((r,n)=>{try{OU({id:"vue-devtools-plugin-vue-i18n",label:Qh["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:[sN],app:e},o=>{Zh=o,o.on.visitComponentTree(({componentInstance:u,treeNode:c})=>{jU(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:Qh["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:AU["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&UU(u,t)});const i=new Map;o.on.getInspectorState(u=>yr(this,null,function*(){if(u.app===e&&u.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),YU(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=GU(u.nodeId,t);c&&o.highlightElement(c)}})),o.on.editInspectorState(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&zU(u,t)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:Qh["vue-i18n-timeline"],color:DU["vue-i18n-timeline"]}),r(!0)})}catch(o){console.error(o),n(!1)}})})}function _N(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function jU(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 (${_N(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(o)}}function yN(e,t){const r=sN;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:eg(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 eg(e){const t={};return Object.keys(e).forEach(r=>{const n=e[r];ie(n)&&"source"in n?t[r]=xU(n):gr(n)&&n.loc&&n.loc.source?t[r]=n.loc.source:X(n)?t[r]=eg(n):t[r]=n}),t}const CU={"<":"<",">":">",'"':""","&":"&"};function FU(e){return e.replace(/[<>"&]/g,VU)}function VU(e){return CU[e]||e}function xU(e){const t=e.source?`("${FU(e.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${t}`}}}function UU(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:`${_N(n)} Scope`})}}function GU(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 dN(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 YU(e,t){const r=dN(e.nodeId,t);return r&&(e.state=HU(r)),null}function HU(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:eg(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 a="Datetime formats info",f=[{type:a,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[a]=f}return t}function xu(e,t){if(Zh){let r;t&&"groupId"in t&&(r=t.groupId,delete t.groupId),Zh.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 zU(e,t){const r=dN(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)||ae(e.state.value)||X(e.state.value))?r.fallbackLocale.value=e.state.value:n==="inheritLocale"&&H(e.state.value)&&(r.inheritLocale=e.state.value)}}function WU(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=pN(e,i);else{i.__injectWithOption=!0,i.__extender=r.__vueI18nExtend,this.$i18n=Kh(i);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=pN(e,o);else{this.$i18n=Kh({__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&&ZS(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("*",xu)}},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("*",xu),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 pN(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[XS](t.pluralizationRules||e.pluralizationRules);const r=Xl(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 qU=ln("global-vue-i18n");function KU(e={},t){const r=__VUE_I18N_LEGACY_API__&&H(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=H(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&r?!!e.allowComposition:!0,i=new Map,[u,c]=XU(e,r),a=ln(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&r&&o&&Ve(Rt(ye.NOTICE_DROP_ALLOW_COMPOSITION));function f(y){return i.get(y)||null}function s(y,p){i.set(y,p)}function _(y){i.delete(y)}{let p;const y={get mode(){return __VUE_I18N_LEGACY_API__&&r?"legacy":"composition"},get allowComposition(){return o},install(m,...h){return yr(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(m.__VUE_I18N__=y),m.__VUE_I18N_SYMBOL__=a,m.provide(m.__VUE_I18N_SYMBOL__,y),F(h[0])){const $=h[0];y.__composerExtend=$.__composerExtend,y.__vueI18nExtend=$.__vueI18nExtend}let P=null;!r&&n&&(P=iG(m,y.global)),__VUE_I18N_FULL_INSTALL__&&kU(m,y,...h),__VUE_I18N_LEGACY_API__&&r&&m.mixin(WU(c,c.__composer,y));const v=m.unmount;if(m.unmount=()=>{P&&P(),y.dispose(),v()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield BU(m,y)))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("*",xu)}})},get global(){return c},dispose(){u.stop()},__instances:i,__getInstance:f,__setInstance:s,__deleteInstance:_};return y}}function tg(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=JU(t),n=ZU(r),o=QS(t),i=QU(e,o);if(__VUE_I18N_LEGACY_API__&&r.mode==="legacy"&&!e.__useComponent){if(!r.allowComposition)throw xe(q.NOT_AVAILABLE_IN_LEGACY_MODE);return rG(t,i,n,e)}if(i==="global")return ZS(n,e,o),n;if(i==="parent"){let a=eG(r,t,e.__useComponent);return a==null&&(process.env.NODE_ENV!=="production"&&Ve(Rt(ye.NOT_FOUND_PARENT_SCOPE)),a=n),a}const u=r;let c=u.__getInstance(t);if(c==null){const a=Fe({},e);"__i18n"in o&&(a.__i18n=o.__i18n),n&&(a.__root=n),c=qh(a),u.__composerExtend&&(c[Wh]=u.__composerExtend(c)),nG(u,t,c),u.__setInstance(t,c)}return c}function XU(e,t,r){const n=Yx();{const o=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Kh(e)):n.run(()=>qh(e));if(o==null)throw xe(q.UNEXPECTED_ERROR);return[n,o]}}function JU(e){{const t=AS(e.isCE?qU:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw xe(e.isCE?q.NOT_INSTALLED_WITH_PROVIDE:q.UNEXPECTED_ERROR);return t}}function QU(e,t){return Ol(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function ZU(e){return e.mode==="composition"?e.global:e.global.__composer}function eG(e,t,r=!1){let n=null;const o=t.root;let i=tG(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[JS]&&(n=null))}if(n!=null||o===i)break;i=i.parent}return n}function tG(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function nG(e,t,r){let n=null;j4(()=>{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("*",xu)}},t),C4(()=>{const o=r;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(n&&n.off("*",xu),o[Fu]&&o[Fu](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const i=o[Wh];i&&(i(),delete o[Wh])},t)}function rG(e,t,r,n={}){const o=t==="local",i=gS(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=H(n.inheritLocale)?n.inheritLocale:!D(n.locale),c=Zo(!o||u?r.locale.value:D(n.locale)?n.locale:Ko),a=Zo(!o||u?r.fallbackLocale.value:D(n.fallbackLocale)||ae(n.fallbackLocale)||F(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:c.value),f=Zo(Xl(c.value,n)),s=Zo(F(n.datetimeFormats)?n.datetimeFormats:{[c.value]:{}}),_=Zo(F(n.numberFormats)?n.numberFormats:{[c.value]:{}}),y=o?r.missingWarn:H(n.missingWarn)||pr(n.missingWarn)?n.missingWarn:!0,p=o?r.fallbackWarn:H(n.fallbackWarn)||pr(n.fallbackWarn)?n.fallbackWarn:!0,m=o?r.fallbackRoot:H(n.fallbackRoot)?n.fallbackRoot:!0,h=!!n.fallbackFormat,P=ie(n.missing)?n.missing:null,v=ie(n.postTranslation)?n.postTranslation:null,$=o?r.warnHtmlMessage:H(n.warnHtmlMessage)?n.warnHtmlMessage:!0,b=!!n.escapeParameter,O=o?r.modifiers:F(n.modifiers)?n.modifiers:{},S=n.pluralRules||o&&r.pluralRules;function R(){return[c.value,a.value,f.value,s.value,_.value]}const E=Sn({get:()=>i.value?i.value.locale.value:c.value,set:A=>{i.value&&(i.value.locale.value=A),c.value=A}}),I=Sn({get:()=>i.value?i.value.fallbackLocale.value:a.value,set:A=>{i.value&&(i.value.fallbackLocale.value=A),a.value=A}}),L=Sn(()=>i.value?i.value.messages.value:f.value),x=Sn(()=>s.value),Z=Sn(()=>_.value);function Y(){return i.value?i.value.getPostTranslationHandler():v}function he(A){i.value&&i.value.setPostTranslationHandler(A)}function st(){return i.value?i.value.getMissingHandler():P}function cr(A){i.value&&i.value.setMissingHandler(A)}function Mt(A){return R(),A()}function lr(...A){return i.value?Mt(()=>Reflect.apply(i.value.t,null,[...A])):Mt(()=>"")}function ar(...A){return i.value?Reflect.apply(i.value.rt,null,[...A]):""}function fr(...A){return i.value?Mt(()=>Reflect.apply(i.value.d,null,[...A])):Mt(()=>"")}function sr(...A){return i.value?Mt(()=>Reflect.apply(i.value.n,null,[...A])):Mt(()=>"")}function _r(A){return i.value?i.value.tm(A):{}}function _t(A,ee){return i.value?i.value.te(A,ee):!1}function mu(A){return i.value?i.value.getLocaleMessage(A):{}}function bu(A,ee){i.value&&(i.value.setLocaleMessage(A,ee),f.value[A]=ee)}function al(A,ee){i.value&&i.value.mergeLocaleMessage(A,ee)}function fl(A){return i.value?i.value.getDateTimeFormat(A):{}}function sl(A,ee){i.value&&(i.value.setDateTimeFormat(A,ee),s.value[A]=ee)}function Hv(A,ee){i.value&&i.value.mergeDateTimeFormat(A,ee)}function _l(A){return i.value?i.value.getNumberFormat(A):{}}function Ou(A,ee){i.value&&(i.value.setNumberFormat(A,ee),_.value[A]=ee)}function yl(A,ee){i.value&&i.value.mergeNumberFormat(A,ee)}const dl={get id(){return i.value?i.value.id:-1},locale:E,fallbackLocale:I,messages:L,datetimeFormats:x,numberFormats:Z,get inheritLocale(){return i.value?i.value.inheritLocale:u},set inheritLocale(A){i.value&&(i.value.inheritLocale=A)},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:y},set missingWarn(A){i.value&&(i.value.missingWarn=A)},get fallbackWarn(){return i.value?i.value.fallbackWarn:p},set fallbackWarn(A){i.value&&(i.value.missingWarn=A)},get fallbackRoot(){return i.value?i.value.fallbackRoot:m},set fallbackRoot(A){i.value&&(i.value.fallbackRoot=A)},get fallbackFormat(){return i.value?i.value.fallbackFormat:h},set fallbackFormat(A){i.value&&(i.value.fallbackFormat=A)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:$},set warnHtmlMessage(A){i.value&&(i.value.warnHtmlMessage=A)},get escapeParameter(){return i.value?i.value.escapeParameter:b},set escapeParameter(A){i.value&&(i.value.escapeParameter=A)},t:lr,getPostTranslationHandler:Y,setPostTranslationHandler:he,getMissingHandler:st,setMissingHandler:cr,rt:ar,d:fr,n:sr,tm:_r,te:_t,getLocaleMessage:mu,setLocaleMessage:bu,mergeLocaleMessage:al,getDateTimeFormat:fl,setDateTimeFormat:sl,mergeDateTimeFormat:Hv,getNumberFormat:_l,setNumberFormat:Ou,mergeNumberFormat:yl};function pl(A){A.locale.value=c.value,A.fallbackLocale.value=a.value,Object.keys(f.value).forEach(ee=>{A.mergeLocaleMessage(ee,f.value[ee])}),Object.keys(s.value).forEach(ee=>{A.mergeDateTimeFormat(ee,s.value[ee])}),Object.keys(_.value).forEach(ee=>{A.mergeNumberFormat(ee,_.value[ee])}),A.escapeParameter=b,A.fallbackFormat=h,A.fallbackRoot=m,A.fallbackWarn=p,A.missingWarn=y,A.warnHtmlMessage=$}return B4(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw xe(q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const A=i.value=e.proxy.$i18n.__composer;t==="global"?(c.value=A.locale.value,a.value=A.fallbackLocale.value,f.value=A.messages.value,s.value=A.datetimeFormats.value,_.value=A.numberFormats.value):o&&pl(A)}),dl}const oG=["locale","fallbackLocale","availableLocales"],vN=["t","rt","d","n","tm","te"];function iG(e,t){const r=Object.create(null);return oG.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw xe(q.UNEXPECTED_ERROR);const u=Tt(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,vN.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,vN.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}if(PU(),__INTLIFY_JIT_COMPILATION__?v$(wx):v$(Ox),yx(WV),dx(_$),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Vn();e.__INTLIFY__=!0,nx(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;function uG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cG(e,t,r){return t&&hN(e.prototype,t),r&&hN(e,r),e}function lG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=function(){function e(){uG(this,e)}return cG(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.global.t(r,n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:GE;return KU({locale:r,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(r,n){this.$i18n.global.setLocaleMessage(r,n)}}]),e}();lG(d,"$i18n",d.resetI18n());function gN(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,a){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===a.length-1&&!Object.is(f[u],r)&&(f[u]=r,o=!0),f[u]}},e),o}var aG=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ng={exports:{}};(function(e){(function(t){var r=function(v,$,b){if(!f($)||_($)||y($)||p($)||a($))return $;var O,S=0,R=0;if(s($))for(O=[],R=$.length;S<R;S++)O.push(r(v,$[S],b));else{O={};for(var E in $)Object.prototype.hasOwnProperty.call($,E)&&(O[v(E,b)]=r(v,$[E],b))}return O},n=function(v,$){$=$||{};var b=$.separator||"_",O=$.split||/(?=[A-Z])/;return v.split(O).join(b)},o=function(v){return m(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function($,b){return b?b.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var $=o(v);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(v,$){return n(v,$).toLowerCase()},c=Object.prototype.toString,a=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]"},y=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,$){var b=$&&"process"in $?$.process:$;return typeof b!="function"?v:function(O,S){return b(O,v,S)}},P={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,$){return r(h(o,$),v)},decamelizeKeys:function(v,$){return r(h(u,$),v,$)},pascalizeKeys:function(v,$){return r(h(i,$),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=P:t.humps=P})(aG)})(ng);var mN={};Object.defineProperty(mN,"__esModule",{value:!0});function rg(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:rg(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:rg(n)}return t}}var fG=mN.default=rg;function bN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wt(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":bN(e))==="object"?fG(e):e}function ut(e){return og(e)&&"zh"in e}function og(e){return Object.prototype.toString.call(e)==="[object Object]"}function sG(e){return e!=null&&(typeof e=="undefined"?"undefined":bN(e))==="object"&&Array.isArray(e)===!1}function lo(e){return Array.isArray(e)}function ON(e){return typeof e=="string"}function ig(e){return typeof e=="number"}function _G(e){return typeof e=="function"}function yG(e){return lo(e)&&e.every(function(t){return ON(t)})}function dG(e){return lo(e)&&e.every(function(t){return ig(t)})}function pG(e){return lo(e)&&e.every(function(t){return ig(t)||t===""})}function vG(e){return/^\[.*?]$/.test(e)}function hG(e){return/^{.*?}$/.test(e)}function ao(e){return isNaN(parseFloat(e))?"":Number(e)}function wN(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function gG(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 mG(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function de(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=de(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=de(n.footers,t)),t(o)})),r}function PN(e){return ng.exports.camelizeKeys(e)}function $r(e){return ng.exports.decamelizeKeys(e)}function bG(e){return Object.values(l.CONTROL_TYPE).includes(e)}function ug(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 OG(e){if(Array.isArray(e))return ug(e)}function TN(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(f){r(f);return}c.done?t(a):Promise.resolve(a).then(n,o)}function wG(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){TN(i,n,o,u,c,"next",a)}function c(a){TN(i,n,o,u,c,"throw",a)}u(void 0)})}}function PG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TG(e,t,r){return t&&RN(e.prototype,t),r&&RN(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 RG(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function EG(){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 cg(e){return OG(e)||RG(e)||$G(e)||EG()}function $G(e,t){if(!!e){if(typeof e=="string")return ug(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 ug(e,t)}}function SG(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 a([f,s])}}function a(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 $N=function(){function e(){PG(this,e),EN(this,"_events",new Map),EN(this,"debug",!1)}return TG(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 wG(function(){var c,a,f,s,_,y,p,m,h,P,v,$;return SG(this,function(b){switch(b.label){case 0:if(c=u._events.get(r),a=[],!c)return[3,10];f=c.slice(),s=!0,_=!1,y=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&&$u.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(cg(o))),[4,h.apply(null,cg(o))];case 4:return P=b.sent(),u.debug&&$u.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(cg(o),[P])),a.push(P),P===!1?[3,7]:[3,6];case 5:return v=b.sent(),XE(String(v)+":"+String(v.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return $=b.sent(),_=!0,y=$,[3,10];case 9:try{!s&&p.return!=null&&p.return()}finally{if(_)throw y}return[7];case 10:return[2,a]}})})()}},{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 NG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IG(e,t,r){return t&&SN(e.prototype,t),r&&SN(e,r),e}function MG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var LG=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],NN=function(){function e(){NG(this,e)}return IG(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}();MG(NN,"events",LG);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 kG(e){if(Array.isArray(e))return lg(e)}function AG(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function DG(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function IN(e){return kG(e)||AG(e)||BG(e)||DG()}function BG(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 Jl(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function ag(e,t,r){r!=="Runtime"&&(e.parent=t,Jl(e,"parent"))}function MN(e,t,r){e.forEach(function(n){ag(n,t,r)})}var LN=Symbol("targetKey");function kN(e){var t;return(t=e[LN])!==null&&t!==void 0?t:e}function AN(e,t,r){return MN(e,t,r),new Proxy(e,{get:function(o,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),a=2;a<u;a++)c[a-2]=arguments[a];var f;return i===LN?o:(f=Reflect).get.apply(f,[o,i].concat(IN(c)))},set:function(o,i,u){for(var c=arguments.length,a=new Array(c>3?c-3:0),f=3;f<c;f++)a[f-3]=arguments[f];var s;if(lo(e)&&i==="length"&&u===e.length)return!0;var _=(s=Reflect).set.apply(s,[o,i,u].concat(IN(a)));return og(u)&&ag(u,t,r),_}})}function yn(e,t,r,n,o){var i=n!=null?n:e,u=AN(kN(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=AN(kN(a),i,o)},enumerable:!0})}function jG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CG(e,t,r){return t&&DN(e.prototype,t),r&&DN(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 BN=[],Uu=function(){function e(t){jG(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 CG(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__||dr("".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===l.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===l.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===l.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===l.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 a=n(c);a&&(c=a)}var f;return u.mode==="Runtime"?(f=c,f.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(f,this)):f=new u(c),f}else dr("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}}),Jl(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 a=u[i],f=c[i];if(!(!a&&!f)){var s=f.findIndex(function(p){return p==r}),_=c[a]||[],y;return _.length!==f.length?y=_[0]:y=_[s],y}}}}),Jl(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__)&&dr("".concat(r," is can't register as a Control"));var c=this.staticControls.findIndex(function(a){return a.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(Uu,"staticControlsRuntimeRules",new Map),Sr(Uu,"staticControls",BN),Sr(Uu,"staticRegisteredTypes",new Set(BN.map(function(e){return e.Designer.controlType}))),Sr(Uu,"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 B(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 Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function qt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fg(e,t)}function FG(e,t){return t&&(VG(t)==="object"||typeof t=="function")?t:ce(e)}function fg(e,t){return fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fg(e,t)}function VG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kt(e){var t=xG();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 FG(this,o)}}var Xt=function e(t){B(this,e),T(this,"dataCode",void 0),T(this,"fieldCode",void 0),T(this,"fieldType",void 0),T(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},Zl=function e(t){B(this,e),T(this,"minWidth",void 0),T(this,"maxWidth",void 0),T(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},sg=function e(t){B(this,e),T(this,"rowHeightType",void 0),T(this,"minRows",void 0),T(this,"maxRows",void 0),T(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},_g=function e(t){B(this,e),T(this,"pc",void 0),T(this,"mobile",void 0),this.pc=new sg(t==null?void 0:t.pc),this.mobile=new sg(t==null?void 0:t.mobile)},ea=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;o=t.call(this,n),T(ce(o),"width",void 0),T(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}(Zl),yg=function e(t){B(this,e),T(this,"pc",void 0),T(this,"mobile",void 0),this.pc=new ea(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new ea(t==null?void 0:t.mobile):new ea({width:130,minWidth:180})},jN=function e(t){B(this,e),T(this,"type",void 0),T(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){B(this,e),T(this,"dataCode",void 0),T(this,"formKey",void 0),T(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:""},CN=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;o=t.call(this,n),T(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),FN=function e(t){B(this,e),T(this,"fieldCode",void 0),T(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:""},ta=function e(t){B(this,e);var r;T(this,"appId",void 0),T(this,"formKey",void 0),T(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 FN(u)}))!==null&&i!==void 0?i:[]},VN=function e(t){B(this,e),T(this,"fieldName",void 0),T(this,"fieldCode",void 0),T(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:l.FieldTypes.VARCHAR},xN=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;o=t.call(this,n),T(ce(o),"title",void 0),T(ce(o),"svcCode",void 0),T(ce(o),"isOpenFilter",void 0),T(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 a;return o.filters=(a=n==null?void 0:n.filters)!==null&&a!==void 0?a:[],o}return r}(fo),UN=function e(t){B(this,e);var r,n;T(this,"type","sublist-page"),T(this,"formBind",void 0),T(this,"displayFields",void 0),T(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 VN(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 xN(u)}))!==null&&i!==void 0?i:[]},GN=function e(t){B(this,e),T(this,"type",void 0),T(this,"value",void 0),T(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){B(this,e),T(this,"type",void 0),T(this,"value",void 0),T(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:[]},na=function e(t){var r=this;B(this,e),T(this,"id",void 0),T(this,"ruleId",void 0),T(this,"type","conditions"),T(this,"level",void 0),T(this,"value",void 0),T(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Yt();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 a,f=new e(c);(a=r.children)===null||a===void 0||a.push(f)}else{var s,_=new Gu(c);(s=r.children)===null||s===void 0||s.push(_)}}))},Gu=function e(t){B(this,e),T(this,"id",void 0),T(this,"ruleId",void 0),T(this,"type","condition"),T(this,"symbol",void 0),T(this,"checked",void 0),T(this,"describe",void 0),T(this,"leftVariableBo",void 0),T(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Yt();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 GN(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ui(t==null?void 0:t.rightVariableBo)},YN=function e(t){B(this,e),T(this,"aliasCode",void 0),T(this,"datasourceBind",void 0),T(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){B(this,e),T(this,"controlId",void 0),T(this,"fieldCode",void 0),T(this,"fieldType",void 0),T(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:""},ra=function e(t){B(this,e),T(this,"type",void 0),T(this,"value",void 0),T(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},UG=function e(t){B(this,e),T(this,"title",void 0),T(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:[]},dg=function e(t){B(this,e),T(this,"columnName",void 0),T(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},HN=function e(t){B(this,e),T(this,"code",void 0),T(this,"value",void 0),T(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:l.FieldTypes.ANY},GG=function e(t){B(this,e);var r,n;T(this,"id",void 0),T(this,"limit",void 0),T(this,"orders",void 0),T(this,"formKey",void 0),T(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 dg(f)}))!==null&&c!==void 0?c:[];var a;this.dataSet=(a=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(f){return new HN(f)}))!==null&&a!==void 0?a:[]};function pg(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 na(c):new Gu(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 na(c):new Gu(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 dg(c)}))!==null&&u!==void 0?u:[]}var Ue=function e(t){var r=this;B(this,e),T(this,"dataCode",void 0),T(this,"valueFieldCode",void 0),T(this,"displayBoList",void 0),T(this,"keywordMapping",void 0),T(this,"svcCode",void 0),T(this,"appId",void 0),T(this,"filters",void 0),T(this,"viewFilters",void 0),T(this,"isOpenViewFilters",void 0),T(this,"orders",void 0),T(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 ra(s))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var f;this.svcCode=(f=t==null?void 0:t.svcCode)!==null&&f!==void 0?f:"",pg.call(this,t)},oa=function e(t){B(this,e),T(this,"dataCode",void 0),T(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:[]},Nn=function e(t){B(this,e),T(this,"code",void 0),T(this,"color",void 0),T(this,"command",void 0),T(this,"confirmMessage",void 0),T(this,"defaultState",void 0),T(this,"formKey",void 0),T(this,"formType",void 0),T(this,"icon",void 0),T(this,"needConfirm",void 0),T(this,"openType",void 0),T(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 a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"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},vg=function e(t){B(this,e);var r;T(this,"name",void 0),T(this,"key",void 0),T(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 ra(u)}))!==null&&i!==void 0?i:[]},Yu=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o,i;o=t.call(this,n),T(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 vg(c)}))!==null&&u!==void 0?u:[],o}return r}(Ue),zN=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o,i;o=t.call(this,n),T(ce(o),"attributes",void 0),T(ce(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(a){return new vg(a)}))!==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),hg=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;o=t.call(this,n),T(ce(o),"rootNode",void 0),T(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),WN=function e(t){B(this,e);var r;T(this,"dataCode",void 0),T(this,"appId",void 0),T(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:[]},gg=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;return o=t.call(this,n),T(ce(o),"filters",void 0),T(ce(o),"viewFilters",void 0),T(ce(o),"orders",void 0),pg.call(ce(o),n),o}return r}(WN),mg=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;o=t.call(this,n),T(ce(o),"mode",void 0),T(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}(WN),YG=function e(t){B(this,e),T(this,"zh",void 0),T(this,"en",void 0),T(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:""},ia=function e(t){B(this,e),T(this,"stencilName",void 0),T(this,"expression",void 0),T(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:""},bg=function e(t){B(this,e),T(this,"id",void 0),T(this,"label",void 0),T(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Yt(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},qN=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;o=t.call(this,n),T(ce(o),"image",void 0),T(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}(bg);function In(e){var t;return(t=e==null?void 0:e.map(function(r){return new bg(r)}))!==null&&t!==void 0?t:[]}function HG(e){var t;return(t=e==null?void 0:e.map(function(r){return new qN(r)}))!==null&&t!==void 0?t:[]}var ua=function e(){B(this,e)},KN=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;return o=t.call(this),T(ce(o),"amount",void 0),T(ce(o),"currency",void 0),o.amount=new Xt(n==null?void 0:n.amount),o.currency=new Xt(n==null?void 0:n.currency),o}return r}(ua),XN=function e(t){B(this,e),T(this,"amount",void 0),T(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"},JN=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;return o=t.call(this),T(ce(o),"min",void 0),T(ce(o),"max",void 0),o.min=new Xt(n==null?void 0:n.min),o.max=new Xt(n==null?void 0:n.max),o}return r}(ua),QN=function e(t){B(this,e),T(this,"min",void 0),T(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:""},ZN=function e(t){B(this,e),T(this,"city",void 0),T(this,"cityDisplay",void 0),T(this,"district",void 0),T(this,"districtDisplay",void 0),T(this,"province",void 0),T(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:""},eI=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;return o=t.call(this),T(ce(o),"result",void 0),T(ce(o),"unit",void 0),o.result=new Xt(n==null?void 0:n.result),o.unit=new Xt(n==null?void 0:n.unit),o}return r}(ua),tI=function e(t){B(this,e),T(this,"result",void 0),T(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:""};l.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"}(l.AMOUNT_TYPE||(l.AMOUNT_TYPE={})),l.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"}(l.COMMON_SETTING_TYPE||(l.COMMON_SETTING_TYPE={})),l.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"}(l.PAGE_STATUS||(l.PAGE_STATUS={}));var Hn=function e(t){B(this,e),T(this,"isShow",void 0),T(this,"priorityProcess",void 0),T(this,"formKey",void 0),T(this,"content",void 0),T(this,"openType",void 0),T(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},nI=function e(t){B(this,e);var r;T(this,"id",void 0),T(this,"title",void 0),T(this,"filters",void 0),T(this,"viewFilters",void 0),T(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Yt(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 FN(u)}))!==null&&i!==void 0?i:[],pg.call(this,t)},zG=function e(t){B(this,e),T(this,"key",void 0),T(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:Yt(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},rI=function e(t){B(this,e),T(this,"width",void 0),T(this,"height",void 0),T(this,"widthConfig",void 0),T(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"},oI=function e(t){B(this,e),T(this,"optCode",void 0),T(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:""},iI=function e(t){B(this,e);var r,n;T(this,"id",void 0),T(this,"name",void 0),T(this,"settings",void 0),T(this,"filters",void 0),T(this,"script",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Yt();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(a){return a.children!==void 0?new na(a):new Gu(a)}))!==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(a){return new uI(a)}))!==null&&c!==void 0?c:[]:[],this.script=t==null?void 0:t.script},uI=function e(t){B(this,e),T(this,"color",void 0),T(this,"fieldCodes",void 0),T(this,"type",void 0),T(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"},cI=function e(t){B(this,e);var r;T(this,"type",void 0),T(this,"interval",void 0),T(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 iI(u)}))!==null&&i!==void 0?i:[]:[]};function WG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Og(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ca(e,t,r){return lI()?ca=Reflect.construct:ca=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),f=new a;return u&&zu(f,u.prototype),f},ca.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 Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function qG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zu(e,t)}function KG(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function XG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:WG(e)}function zu(e,t){return zu=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zu(e,t)}function JG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wg(e){var t=typeof Map=="function"?new Map:void 0;return wg=function(n){if(n===null||!KG(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 ca(n,arguments,Hu(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),zu(o,n)},wg(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 QG(e){var t=lI();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 XG(this,o)}}var Be=function e(t){Og(this,e),zn(this,"isHide",{type:"boolean"})},Nr=function(e){qG(r,e);var t=QG(r);function r(n){return Og(this,r),t.call(this)}return r}(wg(Array)),Ee=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Og(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 rI(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};zn(Ee,"mode",void 0),zn(Ee,"Rules",Be),zn(Ee,"RuntimeRules",Nr);function Mn(){return Mn=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},Mn.apply(this,arguments)}function ZG(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 la(e,t){return la=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},la(e,t)}function eY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function aa(e,t,r){return eY()?aa=Reflect.construct:aa=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),f=new a;return u&&la(f,u.prototype),f},aa.apply(null,arguments)}function tY(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||!tY(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 aa(n,arguments,Pg(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),la(o,n)},Tg(e)}var nY=/%[sdj%]/g,aI=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(aI=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Rg(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 kt(){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(nY,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(a){return"[Circular]"}break;default:return c}});return u}return o}function rY(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||rY(t)&&typeof e=="string"&&!e)}function oY(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 fI(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 iY(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var sI=function(e){ZG(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 uY(e,t,r,n){if(t.first){var o=new Promise(function(_,y){var p=function(P){return n(P),P.length?y(new sI(P,Rg(P))):_()},m=iY(e);fI(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,a=0,f=[],s=new Promise(function(_,y){var p=function(h){if(f.push.apply(f,h),a++,a===c)return n(f),f.length?y(new sI(f,Rg(f))):_()};u.length||(n(f),_()),u.forEach(function(m){var h=e[m];i.indexOf(m)!==-1?fI(h,r,p):oY(h,r,p)})});return s.catch(function(_){return _}),s}function _I(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]=Mn(Mn({},e[r]),n):e[r]=n}}return e}function dI(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||Ge(t,i||e.type))&&n.push(kt(o.messages.required,e.fullField))}function cY(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(kt(o.messages.whitespace,e.fullField))}var Eg={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},Wu={integer:function(t){return Wu.number(t)&&parseInt(t,10)===t},float:function(t){return Wu.number(t)&&!Wu.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"&&!Wu.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Eg.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Eg.url)},hex:function(t){return typeof t=="string"&&!!t.match(Eg.hex)}};function lY(e,t,r,n,o){if(e.required&&t===void 0){dI(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?Wu[u](t)||n.push(kt(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(kt(o.messages.types[u],e.fullField,e.type))}function aY(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=t,s=null,_=typeof t=="number",y=typeof t=="string",p=Array.isArray(t);if(_?s="number":y?s="string":p&&(s="array"),!s)return!1;p&&(f=t.length),y&&(f=t.replace(a,"_").length),i?f!==e.len&&n.push(kt(o.messages[s].len,e.fullField,e.len)):u&&!c&&f<e.min?n.push(kt(o.messages[s].min,e.fullField,e.min)):c&&!u&&f>e.max?n.push(kt(o.messages[s].max,e.fullField,e.max)):u&&c&&(f<e.min||f>e.max)&&n.push(kt(o.messages[s].range,e.fullField,e.min,e.max))}var ci="enum";function fY(e,t,r,n,o){e[ci]=Array.isArray(e[ci])?e[ci]:[],e[ci].indexOf(t)===-1&&n.push(kt(o.messages[ci],e.fullField,e[ci].join(", ")))}function sY(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(kt(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(kt(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var W={required:dI,whitespace:cY,type:lY,range:aY,enum:fY,pattern:sY};function _Y(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 yY(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 dY(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 pY(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 vY(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 hY(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 gY(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 mY(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 bY(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 OY="enum";function wY(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[OY](e,t,n,i,o)}r(i)}function PY(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 TY(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 RY(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 $g(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 EY(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 qu={string:_Y,method:yY,number:dY,boolean:pY,regexp:vY,integer:hY,float:gY,array:mY,object:bY,enum:wY,pattern:PY,date:TY,url:$g,hex:$g,email:$g,required:RY,any:EY};function Sg(){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 Ng=Sg();function Ir(e){this.rules=null,this._messages=Ng,this.define(e)}Ir.prototype={messages:function(t){return t&&(this._messages=yI(Sg(),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 a(h){var P,v=[],$={};function b(O){if(Array.isArray(O)){var S;v=(S=v).concat.apply(S,O)}else v.push(O)}for(P=0;P<h.length;P++)b(h[P]);v.length?$=Rg(v):(v=null,$=null),c(v,$)}if(u.messages){var f=this.messages();f===Ng&&(f=Sg()),yI(f,u.messages),u.messages=f}else u.messages=this.messages();var s,_,y={},p=u.keys||Object.keys(this.rules);p.forEach(function(h){s=o.rules[h],_=i[h],s.forEach(function(P){var v=P;typeof v.transform=="function"&&(i===t&&(i=Mn({},i)),_=i[h]=v.transform(_)),typeof v=="function"?v={validator:v}:v=Mn({},v),v.validator=o.getValidationMethod(v),v.field=h,v.fullField=v.fullField||h,v.type=o.getType(v),v.validator&&(y[h]=y[h]||[],y[h].push({rule:v,value:_,source:i,field:h}))})});var m={};return uY(y,u,function(h,P){var v=h.rule,$=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");$=$&&(v.required||!v.required&&h.value),v.field=h.field;function b(R,E){return Mn(Mn({},E),{},{fullField:v.fullField+"."+R})}function O(R){R===void 0&&(R=[]);var E=R;if(Array.isArray(E)||(E=[E]),!u.suppressWarning&&E.length&&Ir.warning("async-validator:",E),E.length&&v.message!==void 0&&(E=[].concat(v.message)),E=E.map(_I(v)),u.first&&E.length)return m[v.field]=1,P(E);if(!$)P(E);else{if(v.required&&!h.value)return v.message!==void 0?E=[].concat(v.message).map(_I(v)):u.error&&(E=[u.error(v,kt(u.messages.required,v.field))]),P(E);var I={};if(v.defaultField)for(var L in h.value)h.value.hasOwnProperty(L)&&(I[L]=v.defaultField);I=Mn(Mn({},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 Y=new Ir(I);Y.messages(u.messages),h.rule.options&&(h.rule.options.messages=u.messages,h.rule.options.error=u.error),Y.validate(h.value,h.rule.options||u,function(he){var st=[];E&&E.length&&st.push.apply(st,E),he&&he.length&&st.push.apply(st,he),P(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(R){return O(R)})},function(h){a(h)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!qu.hasOwnProperty(t.type))throw new Error(kt("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"?qu.required:qu[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");qu[t]=r},Ir.warning=aI,Ir.messages=Ng,Ir.validators=qu;var $Y={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 pI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Ir(e);return r.messages(Object.assign($Y,t)),r}var vI=new $N;function Ig(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 SY(e){if(Array.isArray(e))return e}function NY(e){if(Array.isArray(e))return Ig(e)}function hI(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(f){r(f);return}c.done?t(a):Promise.resolve(a).then(n,o)}function gI(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){hI(i,n,o,u,c,"next",a)}function c(a){hI(i,n,o,u,c,"throw",a)}u(void 0)})}}function IY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MY(e,t,r){return t&&mI(e.prototype,t),r&&mI(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 bI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function OI(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function LY(){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 kY(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wI(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 AY(e){return SY(e)||OI(e)||PI(e)||LY()}function Mg(e){return NY(e)||OI(e)||PI(e)||kY()}function DY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PI(e,t){if(!!e){if(typeof e=="string")return Ig(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 Ig(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 a([f,s])}}function a(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;IY(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",EI),ne(this,"removeSetting",RI),this._callControlHooks("preInstance",r);var o=bI(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,a=o.controlFieldType,f=o.controlEventKeys,s=o.controlCustomEvents,_=o.name,y=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:Yt(10),this.name=i,this.icon=u;var P;this.type=(P=r==null?void 0:r.type)!==null&&P!==void 0?P:c,this.props=new Ee(r==null?void 0:r.props,(bI(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=Wt(y);var $;this.fieldType=($=r==null?void 0:r.fieldType)!==null&&$!==void 0?$:a,this.eventKeys=Wt(f),this.customEvents=Wt(s),this.slots=Wt(p),this.slotPosition=Wt(m),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return MY(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=AY(o),a=c[0],f=c.slice(1);return(u=vI).emit.apply(u,[a,this].concat(Mg(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),gN(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return gI(function(){var o,i,u;return TI(this,function(c){switch(c.label){case 0:return o=wI({},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 gI(function(){var u,c,a,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:wI({},i.rules),Array.isArray(o)&&o.forEach(function(_){c.hasOwnProperty(_)&&delete c[_]}),a=pI(c,n),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,a.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,a=c.dataBind,f=c.datasourceBind,s=c.optionConfig,_=c.caption,y=c.required,p=c.maxLength,m=c.options,h=c.encrypted,P=c.encryptedMode;if(!(!o&&!a&&!f)){var v={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(a&&(v.dataBind=a),s){case"datasource":case void 0:f&&(v.datasourceBind=f);break;case"custom":v.props.options=m;break}return y!==void 0&&(v.required=y),p!==void 0&&(v.maxLength=p),h!==void 0&&(v.encrypted=h),P!==void 0&&(v.encryptedMode=P),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Wt(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,Mg(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",RI),ne(re,"updateSettingItem",EI);function RI(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,a;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&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function EI(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":DY(t))==="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,Mg(t.showItems))}}}})}function BY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $I(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jY(e,t,r){return t&&$I(e.prototype,t),r&&$I(e,r),e}function At(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,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var $e=function(){function t(r){BY(this,t),At(this,"id",void 0),At(this,"type",void 0),At(this,"controlType",void 0),At(this,"props",void 0),At(this,"fieldType",void 0),At(this,"customEvents",[]),At(this,"pageStatus",void 0),At(this,"parent",null);var n=CY(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 a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:Yt(10);var f;this.type=(f=r==null?void 0:r.type)!==null&&f!==void 0?f:o,this.props=new Ee(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 y;this.pageStatus=(y=r==null?void 0:r.pageStatus)!==null&&y!==void 0?y:l.PAGE_STATUS.UNKNOWN}return jY(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}();At($e,"mode","Runtime"),At($e,"controlType","control"),At($e,"controlFieldType",void 0),At($e,"__is_control__",!0),At($e,"controlCustomEvents",[]);function fa(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:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(d.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=wN(i);i.length!==u.length?o(d.getMessage("optionIdIsRepeat")):o()},message:d.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(d.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Ku(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(d.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function SI(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 sa(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 _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function ya(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lg(e,t)}function FY(e,t){return t&&(VY(t)==="object"||typeof t=="function")?t:me(e)}function Lg(e,t){return Lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lg(e,t)}function VY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function da(e){var t=xY();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 FY(this,o)}}var He=function(e){ya(r,e);var t=da(r);function r(n){sa(this,r);var o;o=t.call(this,n),be(me(o),"dataBind",{}),be(me(o),"caption",{type:"string",required:!0,message:d.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:d.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(SI(n.dataBind))o.dataBind={type:"object",required:!0,fields:Wt(i),message:d.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:Wt(i),message:d.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Be),_e=function(e){ya(r,e);var t=da(r);function r(n){sa(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:d.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(Nr),K=function(e){ya(r,e);var t=da(r);function r(n){sa(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 a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";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 y;o.required=(y=n==null?void 0:n.required)!==null&&y!==void 0?y:!1;var p;o.requiredMessage=(p=n==null?void 0:n.requiredMessage)!==null&&p!==void 0?p:"",o.dataBind=new Xt(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}(Ee);be(K,"Rules",He),be(K,"RuntimeRules",_e);var so=function(e){ya(r,e);var t=da(r);function r(n){sa(this,r);var o;return o=t.call(this,n),be(me(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),be(me(o),"options",[{type:"array",message:d.getMessage("isNotArray")}]),be(me(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),fa.call(me(o),n),o}return r}(He);function kg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function GY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ag(e,t)}function YY(e,t){return t&&(HY(t)==="object"||typeof t=="function")?t:kg(e)}function Ag(e,t){return Ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ag(e,t)}function HY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WY(e){var t=zY();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YY(this,o)}}var J=function(e){GY(r,e);var t=WY(r);function r(n){UY(this,r);var o;return o=t.call(this,n),pa(kg(o),"controlType","form"),pa(kg(o),"props",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(re);pa(J,"controlEventKeys",["on_change","on_focus","on_blur"]),pa(J,"controlCustomAttributes",void 0);function ha(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function KY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bg(e,t)}function XY(e,t){return t&&(JY(t)==="object"||typeof t=="function")?t:ha(e)}function Bg(e,t){return Bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bg(e,t)}function JY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZY(e){var t=QY();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XY(this,o)}}var Q=function(e){KY(r,e);var t=ZY(r);function r(n){qY(this,r);var o;return o=t.call(this,n),Dg(ha(o),"controlType","form"),Dg(ha(o),"props",void 0),Dg(ha(o),"value",void 0),o.props=new K(n==null?void 0:n.props),o}return r}($e);function eH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function nH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rH(e,t){return t&&(oH(t)==="object"||typeof t=="function")?t:eH(e)}function jg(e,t){return jg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jg(e,t)}function oH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uH(e){var t=iH();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rH(this,o)}}var pe=function(e){nH(r,e);var t=uH(r);function r(n){return tH(this,r),t.call(this,n)}return r}(Ee);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 cH(e){if(Array.isArray(e))return Cg(e)}function _o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NI(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(f){r(f);return}c.done?t(a):Promise.resolve(a).then(n,o)}function lH(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){NI(i,n,o,u,c,"next",a)}function c(a){NI(i,n,o,u,c,"throw",a)}u(void 0)})}}function aH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function II(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fH(e,t,r){return t&&II(e.prototype,t),r&&II(e,r),e}function Mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function li(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?li=Reflect.get:li=function(o,i,u){var c=mH(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},li(e,t,r||e)}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lr(e)}function sH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fg(e,t)}function _H(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function yH(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dH(){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 pH(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){Mr(e,o,r[o])})}return e}function vH(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 hH(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vH(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function gH(e,t){return t&&(bH(t)==="object"||typeof t=="function")?t:_o(e)}function Fg(e,t){return Fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fg(e,t)}function mH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Lr(e),e!==null););return e}function MI(e){return cH(e)||yH(e)||OH(e)||dH()}function bH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OH(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 wH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PH(e){var t=wH();return function(){var n=Lr(e),o;if(t){var i=Lr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gH(this,o)}}function TH(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 a([f,s])}}function a(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 RH=1e4,Oe=function(t){sH(n,t);var r=PH(n);function n(o){aH(this,n);var i;i=r.call(this,o),Mr(_o(i),"controlType","layout"),Mr(_o(i),"children",void 0),Mr(_o(i),"excludes",void 0),Mr(_o(i),"childrenMaxLength",void 0),Mr(_o(i),"props",void 0);var u=_H(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new pe(o==null?void 0:o.props),yn(_o(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Wt(c),i.childrenMaxLength=a,i}return fH(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,a=this,f=function(){return li(Lr(n.prototype),"validate",c)};return lH(function(){return TH(this,function(s){switch(s.label){case 0:return[4,f().call(a,i,u)];case 1:return s.sent(),[4,Promise.all(a.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=li(Lr(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(a,f){var s=f.toDataBindModel(i);if(Array.isArray(s)){var _=s.filter(function(y){return!!y});return MI(a).concat(MI(_))}return s&&a.push(s),a},c)}},{key:"toSchema",value:function(){var i=li(Lr(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var a=c.toSchema();return a});return hH(pH({},i),{children:u})}}]),n}(re);Mr(Oe,"excludes",!1),Mr(Oe,"childrenMaxLength",RH);function Xu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function $H(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xg(e,t)}function SH(e,t){return t&&(NH(t)==="object"||typeof t=="function")?t:Xu(e)}function xg(e,t){return xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xg(e,t)}function NH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MH(e){var t=IH();return function(){var n=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SH(this,o)}}var Se=function(e){$H(r,e);var t=MH(r);function r(n){EH(this,r);var o;return o=t.call(this,n),Vg(Xu(o),"controlType","layout"),Vg(Xu(o),"children",void 0),Vg(Xu(o),"props",void 0),o.props=new pe(n==null?void 0:n.props),yn(Xu(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}($e);function Wn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ai(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(e)}function kH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AH(e,t){return t&&(DH(t)==="object"||typeof t=="function")?t:Wn(e)}function Ug(e,t){return Ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ug(e,t)}function DH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jH(e){var t=BH();return function(){var n=Oa(e),o;if(t){var i=Oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AH(this,o)}}var Ju=function(e){kH(r,e);var t=jH(r);function r(n,o,i){LH(this,r);var u;u=t.call(this,o),ai(Wn(u),"headers",void 0),ai(Wn(u),"footers",void 0),ai(Wn(u),"pageIndex",void 0),ai(Wn(u),"pageSize",void 0),ai(Wn(u),"pageSizeOptions",void 0),ai(Wn(u),"totalCount",void 0),yn(Wn(u),"headers",o==null?void 0:o.headers,n,i),yn(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 a;u.pageSize=(a=o==null?void 0:o.pageSize)!==null&&a!==void 0?a: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}(Ee);function Gg(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 CH(e){if(Array.isArray(e))return Gg(e)}function wa(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LI(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(f){r(f);return}c.done?t(a):Promise.resolve(a).then(n,o)}function FH(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){LI(i,n,o,u,c,"next",a)}function c(a){LI(i,n,o,u,c,"throw",a)}u(void 0)})}}function VH(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 xH(e,t,r){return t&&kI(e.prototype,t),r&&kI(e,r),e}function Pa(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=WH(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},fi(e,t,r||e)}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function UH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GH(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function YH(){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 AI(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){Pa(e,o,r[o])})}return e}function HH(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 DI(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):HH(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function zH(e,t){return t&&(qH(t)==="object"||typeof t=="function")?t:wa(e)}function Yg(e,t){return Yg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yg(e,t)}function WH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kr(e),e!==null););return e}function BI(e){return CH(e)||GH(e)||KH(e)||YH()}function qH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KH(e,t){if(!!e){if(typeof e=="string")return Gg(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 Gg(e,t)}}function XH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JH(e){var t=XH();return function(){var n=kr(e),o;if(t){var i=kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zH(this,o)}}function QH(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 a([f,s])}}function a(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 Ta=function(e){UH(r,e);var t=JH(r);function r(n){VH(this,r);var o;return o=t.call(this,n),Pa(wa(o),"controlType","list"),Pa(wa(o),"props",void 0),o.props=new Ju(wa(o),n==null?void 0:n.props,"Designer"),o}return xH(r,[{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return fi(kr(r.prototype),"validate",u)};return FH(function(){return QH(this,function(f){switch(f.label){case 0:return[4,a().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(kr(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,a){var f=a.toDataBindModel(u);if(Array.isArray(f)){var s=f.filter(function(_){return!!_});return BI(c).concat(BI(s))}return f&&c.push(f),c},i)}},{key:"toSchema",value:function(){var o=fi(kr(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(u){return u.toSchema()});return DI(AI({},o),{props:DI(AI({},this.props),{headers:i})})}}]),r}(re);Pa(Ta,"controlFieldType",l.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 ZH(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 ez(e,t,r){return t&&jI(e.prototype,t),r&&jI(e,r),e}function Hg(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){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function tz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zg(e,t)}function nz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:si(e)}function zg(e,t){return zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zg(e,t)}function rz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iz(e){var t=oz();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nz(this,o)}}var Wg=function(e){tz(r,e);var t=iz(r);function r(n){ZH(this,r);var o;return o=t.call(this,n),Hg(si(o),"controlType","list"),Hg(si(o),"children",void 0),Hg(si(o),"props",void 0),o.props=new Ju(si(o),n==null?void 0:n.props,"Runtime"),yn(si(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return ez(r,[{key:"length",get:function(){return this.children.length}}]),r}($e);function ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qg(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 Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function Kg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xg(e,t)}function uz(e,t){return t&&(cz(t)==="object"||typeof t=="function")?t:ze(e)}function Xg(e,t){return Xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xg(e,t)}function cz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jg(e){var t=lz();return function(){var n=Ea(e),o;if(t){var i=Ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uz(this,o)}}var dn=function(e){Kg(r,e);var t=Jg(r);function r(n){qg(this,r);var o;return o=t.call(this,n),Je(ze(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Je(ze(o),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(Be),Ne=function(e){Kg(r,e);var t=Jg(r);function r(n){qg(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 Zl(n==null?void 0:n.autoWidth),o.dataBind=new Xt(n==null?void 0:n.dataBind);var a;o.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!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}(Ee);Je(Ne,"Rules",dn);var Qg=function(e){Kg(r,e);var t=Jg(r);function r(n){qg(this,r);var o;return o=t.call(this,n),Je(ze(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),Je(ze(o),"options",[{type:"array",message:d.getMessage("isNotArray")}]),Je(ze(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),fa.call(ze(o),n),o}return r}(dn);function Qu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function az(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fz(e,t,r){return t&&CI(e.prototype,t),r&&CI(e,r),e}function $a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Sa=Reflect.get:Sa=function(o,i,u){var c=vz(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Sa(e,t,r||e)}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(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&&Zg(e,t)}function _z(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){$a(e,o,r[o])})}return e}function yz(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 dz(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yz(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function pz(e,t){return t&&(hz(t)==="object"||typeof t=="function")?t:Qu(e)}function Zg(e,t){return Zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zg(e,t)}function vz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_i(e),e!==null););return e}function hz(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 mz(e){var t=gz();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 pz(this,o)}}var We=function(e){sz(r,e);var t=mz(r);function r(n){az(this,r);var o;return o=t.call(this,n),$a(Qu(o),"controlType","column"),$a(Qu(o),"props",void 0),$a(Qu(o),"children",void 0),o.props=new Ne(n==null?void 0:n.props),yn(Qu(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return fz(r,[{key:"toSchema",value:function(){var o=Sa(_i(r.prototype),"toSchema",this).call(this);return dz(_z({},o),{children:this.children?this.children.map(function(i){return i.toSchema()}):[]})}}]),r}(re);function Zu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function em(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){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function Oz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wz(e,t){return t&&(Pz(t)==="object"||typeof t=="function")?t:Zu(e)}function tm(e,t){return tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tm(e,t)}function Pz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Tz();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wz(this,o)}}var qe=function(e){Oz(r,e);var t=Rz(r);function r(n){bz(this,r);var o;return o=t.call(this,n),em(Zu(o),"controlType","column"),em(Zu(o),"props",void 0),em(Zu(o),"children",void 0),o.props=new Ne(n==null?void 0:n.props),yn(Zu(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}($e);function FI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ez(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(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&&nm(e,t)}function Nz(e,t){return t&&(Iz(t)==="object"||typeof t=="function")?t:FI(e)}function nm(e,t){return nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nm(e,t)}function Iz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lz(e){var t=Mz();return function(){var n=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nz(this,o)}}var Ma=function(e){Sz(r,e);var t=Lz(r);function r(n){Ez(this,r);var o;return o=t.call(this,n),$z(FI(o),"dataBind",void 0),o.dataBind=new Xt(n==null?void 0:n.dataBind),o}return r}(pe);function rm(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 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 La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function Az(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dz(e,t){return t&&(Bz(t)==="object"||typeof t=="function")?t:rm(e)}function om(e,t){return om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},om(e,t)}function Bz(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 Cz(e){var t=jz();return function(){var n=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dz(this,o)}}var xI=function(e){Az(r,e);var t=Cz(r);function r(n){kz(this,r);var o;return o=t.call(this,n),VI(rm(o),"controlType","search"),VI(rm(o),"props",void 0),o.props=new Ma(n==null?void 0:n.props),o}return r}(Oe);function im(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(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&&um(e,t)}function xz(e,t){return t&&(Uz(t)==="object"||typeof t=="function")?t:im(e)}function um(e,t){return um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},um(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 Yz(e){var t=Gz();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xz(this,o)}}var GI=function(e){Vz(r,e);var t=Yz(r);function r(n){Fz(this,r);var o;return o=t.call(this,n),UI(im(o),"controlType","search"),UI(im(o),"props",void 0),o.props=new Ma(n==null?void 0:n.props),o}return r}(Se);function Hz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function Wz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qz(e,t){return t&&(Kz(t)==="object"||typeof t=="function")?t:Hz(e)}function cm(e,t){return cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cm(e,t)}function Kz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jz(e){var t=Xz();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qz(this,o)}}var Da=function(e){Wz(r,e);var t=Jz(r);function r(n){return zz(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 Qz(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 Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(e)}function Zz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eW(e,t){return t&&(tW(t)==="object"||typeof t=="function")?t:lm(e)}function am(e,t){return am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},am(e,t)}function tW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rW(e){var t=nW();return function(){var n=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eW(this,o)}}var HI=function(e){Zz(r,e);var t=rW(r);function r(n){Qz(this,r);var o;return o=t.call(this,n),YI(lm(o),"controlType","wrap"),YI(lm(o),"props",void 0),o.props=new Da(n==null?void 0:n.props),o}return r}(Oe);function fm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function iW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sm(e,t)}function uW(e,t){return t&&(cW(t)==="object"||typeof t=="function")?t:fm(e)}function sm(e,t){return sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sm(e,t)}function cW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aW(e){var t=lW();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uW(this,o)}}var WI=function(e){iW(r,e);var t=aW(r);function r(n){oW(this,r);var o;return o=t.call(this,n),zI(fm(o),"controlType","wrap"),zI(fm(o),"props",void 0),o.props=new Da(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:d.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 fW(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 Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function sW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _W(e,t){return t&&(yW(t)==="object"||typeof t=="function")?t:yo(e)}function _m(e,t){return _m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_m(e,t)}function yW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pW(e){var t=dW();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _W(this,o)}}var ym=function(e){sW(r,e);var t=pW(r);function r(n){fW(this,r);var o;o=t.call(this,n),yi(yo(o),"content",void 0),yi(yo(o),"fontSize",void 0),yi(yo(o),"color",void 0),yi(yo(o),"icon",void 0),yi(yo(o),"align",void 0),yi(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 a;o.showState=(a=n==null?void 0:n.showState)!==null&&a!==void 0?a:"text";var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:"\u8BF4\u660E\u6587\u5B57";var s;return o.align=(s=n==null?void 0:n.align)!==null&&s!==void 0?s:"",o}return r}(Ee);function qI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vW(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 hW(e,t,r){return t&&KI(e.prototype,t),r&&KI(e,r),e}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 Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function gW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mW(e,t){return t&&(bW(t)==="object"||typeof t=="function")?t:qI(e)}function dm(e,t){return dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dm(e,t)}function bW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=OW();return function(){var n=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mW(this,o)}}var JI=function(e){gW(r,e);var t=wW(r);function r(n){vW(this,r);var o;return o=t.call(this,n),XI(qI(o),"props",void 0),o.props=new ym(n==null?void 0:n.props),o}return hW(r,null,[{key:"controlName",get:function(){return d.getMessage("text")}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(re);XI(JI,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[l.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 QI(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 ZI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TW(e,t,r){return t&&ZI(e.prototype,t),r&&ZI(e,r),e}function RW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function EW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $W(e,t){return t&&(SW(t)==="object"||typeof t=="function")?t:QI(e)}function pm(e,t){return pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pm(e,t)}function SW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IW(e){var t=NW();return function(){var n=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $W(this,o)}}var MW=function(e){EW(r,e);var t=IW(r);function r(n){PW(this,r);var o;return o=t.call(this,n),RW(QI(o),"props",void 0),o.props=new ym(n==null?void 0:n.props),o}return TW(r,null,[{key:"controlType",get:function(){return"text"}}]),r}($e),eM={Designer:JI,Runtime:MW,Property:ym};function xa(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 vm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(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&&hm(e,t)}function AW(e,t){return t&&(DW(t)==="object"||typeof t=="function")?t:xa(e)}function hm(e,t){return hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hm(e,t)}function DW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jW(e){var t=BW();return function(){var n=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AW(this,o)}}var gm=function(e){kW(r,e);var t=jW(r);function r(n){LW(this,r);var o;o=t.call(this,n),vm(xa(o),"content",void 0),vm(xa(o),"url",void 0),vm(xa(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}(Ee);function tM(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 nM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FW(e,t,r){return t&&nM(e.prototype,t),r&&nM(e,r),e}function mm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(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&&bm(e,t)}function xW(e,t){return t&&(UW(t)==="object"||typeof t=="function")?t:tM(e)}function bm(e,t){return bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bm(e,t)}function UW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YW(e){var t=GW();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xW(this,o)}}var Om=function(e){VW(r,e);var t=YW(r);function r(n){CW(this,r);var o;return o=t.call(this,n),mm(tM(o),"props",void 0),o.props=new gm(n==null?void 0:n.props),o}return FW(r,null,[{key:"controlName",get:function(){return d.getMessage("link")}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(re);mm(Om,"controlEventKeys",["on_click"]),mm(Om,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function rM(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 oM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zW(e,t,r){return t&&oM(e.prototype,t),r&&oM(e,r),e}function WW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function qW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KW(e,t){return t&&(XW(t)==="object"||typeof t=="function")?t:rM(e)}function wm(e,t){return wm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wm(e,t)}function XW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QW(e){var t=JW();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KW(this,o)}}var ZW=function(e){qW(r,e);var t=QW(r);function r(n){HW(this,r);var o;return o=t.call(this,n),WW(rM(o),"props",void 0),o.props=new gm(n==null?void 0:n.props),o}return zW(r,null,[{key:"controlType",get:function(){return"link"}}]),r}($e),iM={Designer:Om,Runtime:ZW,Property:gm};function Ln(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 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 Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function tq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nq(e,t){return t&&(rq(t)==="object"||typeof t=="function")?t:Ln(e)}function Pm(e,t){return Pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pm(e,t)}function rq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iq(e){var t=oq();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nq(this,o)}}var gt=function(e){tq(r,e);var t=iq(r);function r(n){eq(this,r);var o;o=t.call(this,n),Kn(Ln(o),"content",void 0),Kn(Ln(o),"buttonType",void 0),Kn(Ln(o),"showType",void 0),Kn(Ln(o),"color",void 0),Kn(Ln(o),"icon",void 0),Kn(Ln(o),"defaultState",void 0),Kn(Ln(o),"command",void 0),Kn(Ln(o),"isLoading",void 0),Kn(Ln(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 a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"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 y;o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1;var p;return o.optObj=new oI((p=n==null?void 0:n.optObj)!==null&&p!==void 0?p:{}),o}return r}(Ee);function uM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uq(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 cq(e,t,r){return t&&cM(e.prototype,t),r&&cM(e,r),e}function za(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(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&&Tm(e,t)}function aq(e,t){return t&&(fq(t)==="object"||typeof t=="function")?t:uM(e)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tm(e,t)}function fq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _q(e){var t=sq();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aq(this,o)}}var ct=function(e){lq(r,e);var t=_q(r);function r(n){uq(this,r);var o;return o=t.call(this,n),za(uM(o),"props",void 0),o.props=new gt(n==null?void 0:n.props),o}return cq(r,null,[{key:"controlName",get:function(){return d.getMessage("button")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(re);za(ct,"slots",["grid-table-toolbar-slot","action-bar-slot",Xv.DEFAULT]),za(ct,"controlEventKeys",["on_click"]),za(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:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function lM(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 aM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dq(e,t,r){return t&&aM(e.prototype,t),r&&aM(e,r),e}function pq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(e)}function vq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hq(e,t){return t&&(gq(t)==="object"||typeof t=="function")?t:lM(e)}function Rm(e,t){return Rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rm(e,t)}function gq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bq(e){var t=mq();return function(){var n=qa(e),o;if(t){var i=qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hq(this,o)}}var Dt=function(e){vq(r,e);var t=bq(r);function r(n){yq(this,r);var o;return o=t.call(this,n),pq(lM(o),"props",void 0),o.props=new gt(n==null?void 0:n.props),o}return dq(r,null,[{key:"controlType",get:function(){return"button"}}]),r}($e),fM={Designer:ct,Runtime:Dt,Property:gt};function Jt(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}l.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"}(l.TitleConfigEnum||(l.TitleConfigEnum={})),l.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(l.DATE_CONFIG_TYPE||(l.DATE_CONFIG_TYPE={})),l.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(l.DATE_LIMIT_TYPE||(l.DATE_LIMIT_TYPE={}));var Ka=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Yt(8),value:["",""]};Jt(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};l.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(l.SCORE_TYPE||(l.SCORE_TYPE={}));var Xa=function e(t){Jt(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:Yt();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};l.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"}(l.LINE_STYLE||(l.LINE_STYLE={}));var Em=function e(t){Jt(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,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a: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:""},sM=function e(t){Jt(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(a){return new Em(a)}))!==null&&o!==void 0?o:[new Em];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:""},ec=function e(t){Jt(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:Yt(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 a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},$m=function e(t){Jt(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:""},_M=function e(t){Jt(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 $m(t==null?void 0:t.watermark),this.autoRename=new $m(t==null?void 0:t.autoRename)},yM=function e(t){Jt(this,e),V(this,"dataCode",void 0),this.dataCode=t.dataCode},dM=function e(t){Jt(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 yM(i)}))!==null&&o!==void 0?o:[]},pM=function e(t){Jt(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 ec(i)}))!==null&&o!==void 0?o:[new ec({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},vM=480;function tc(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var hM=function e(t){Jt(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:[]},gM=function e(t){Jt(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"};l.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(l.EncryptTypeEnum||(l.EncryptTypeEnum={})),l.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(l.OrganizeType||(l.OrganizeType={})),l.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(l.DepartmentType||(l.DepartmentType={})),l.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(l.AssignType||(l.AssignType={})),l.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(l.InternalType||(l.InternalType={}));function Sm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function wq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Pq(e,t){return t&&(Tq(t)==="object"||typeof t=="function")?t:Sm(e)}function Nm(e,t){return Nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nm(e,t)}function Tq(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 Eq(e){var t=Rq();return function(){var n=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pq(this,o)}}var Im=function(e){wq(r,e);var t=Eq(r);function r(n){Oq(this,r);var o;o=t.call(this,n),mM(Sm(o),"color",void 0),mM(Sm(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:l.LINE_STYLE.SOLID,o}return r}(Ee);function bM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sq(e,t,r){return t&&OM(e.prototype,t),r&&OM(e,r),e}function wM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(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&&Mm(e,t)}function Iq(e,t){return t&&(Mq(t)==="object"||typeof t=="function")?t:bM(e)}function Mm(e,t){return Mm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mm(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 kq(e){var t=Lq();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iq(this,o)}}var PM=function(e){Nq(r,e);var t=kq(r);function r(n){$q(this,r);var o;return o=t.call(this,n),wM(bM(o),"props",void 0),o.props=new Im(n==null?void 0:n.props),o}return Sq(r,null,[{key:"controlName",get:function(){return d.getMessage("divider")}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(re);wM(PM,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE]}]);function TM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aq(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 Dq(e,t,r){return t&&RM(e.prototype,t),r&&RM(e,r),e}function Bq(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 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&&Lm(e,t)}function Cq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:TM(e)}function Lm(e,t){return Lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lm(e,t)}function Fq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Vq();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 Cq(this,o)}}var Uq=function(e){jq(r,e);var t=xq(r);function r(n){Aq(this,r);var o;return o=t.call(this,n),Bq(TM(o),"props",void 0),o.props=new Im(n==null?void 0:n.props),o}return Dq(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}($e),EM={Designer:PM,Runtime:Uq,Property:Im};function Ar(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $M(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 ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function SM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gq(e,t){return t&&(Yq(t)==="object"||typeof t=="function")?t:Ar(e)}function km(e,t){return km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},km(e,t)}function Yq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NM(e){var t=Hq();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 Gq(this,o)}}var zq=function(e){SM(r,e);var t=NM(r);function r(n){$M(this,r);var o;return o=t.call(this,n),Dr(Ar(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Dr(Ar(o),"dataBind",{type:"any"}),Dr(Ar(o),"config",{type:"array"}),n.config.includes(l.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")}),o}return r}(Be),tf=function(e){SM(r,e);var t=NM(r);function r(n){$M(this,r);var o;o=t.call(this,n),Dr(Ar(o),"dataBind",void 0),Dr(Ar(o),"caption",void 0),Dr(Ar(o),"config",void 0),Dr(Ar(o),"position",void 0),o.dataBind=new Xt(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[l.TitleConfigEnum.ShowSubmitUser,l.TitleConfigEnum.ShowSubmitDept,l.TitleConfigEnum.ShowSubmitTime,l.TitleConfigEnum.ShowCurrentApprovar,l.TitleConfigEnum.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:di==null?void 0:di.controlName)!==null&&c!==void 0?c:"";var a;return o.position=(a=n==null?void 0:n.position)!==null&&a!==void 0?a:"top",o}return r}(Ee);Dr(tf,"Rules",zq);function IM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MM(e,t){for(var r=0;r<t.length;r++){var 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&&MM(e.prototype,t),r&&MM(e,r),e}function Am(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 Kq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xq(e,t){return t&&(Jq(t)==="object"||typeof t=="function")?t:IM(e)}function Dm(e,t){return Dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dm(e,t)}function Jq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zq(e){var t=Qq();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 Xq(this,o)}}var di=function(e){Kq(r,e);var t=Zq(r);function r(n){Wq(this,r);var o;return o=t.call(this,n),Am(IM(o),"props",void 0),o.props=new tf(n==null?void 0:n.props),o}return qq(r,null,[{key:"controlName",get:function(){return d.getMessage("title")}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(re);Am(di,"controlFieldType",l.FieldTypes.AUTO_NUMBER),Am(di,"setting",[{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function LM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tK(e,t,r){return t&&kM(e.prototype,t),r&&kM(e,r),e}function nK(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 rK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bm(e,t)}function oK(e,t){return t&&(iK(t)==="object"||typeof t=="function")?t:LM(e)}function Bm(e,t){return Bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bm(e,t)}function iK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cK(e){var t=uK();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 oK(this,o)}}var lK=function(e){rK(r,e);var t=cK(r);function r(n){eK(this,r);var o;return o=t.call(this,n),nK(LM(o),"props",void 0),o.props=new tf(n==null?void 0:n.props),o}return tK(r,null,[{key:"controlType",get:function(){return"title"}}]),r}($e),AM={Designer:di,Runtime:lK,Property:tf};function of(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uf(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 BM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aK(e,t){return t&&(fK(t)==="object"||typeof t=="function")?t:of(e)}function jm(e,t){return jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jm(e,t)}function fK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jM(e){var t=sK();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 aK(this,o)}}var _K=function(e){BM(r,e);var t=jM(r);function r(n){DM(this,r);var o;return o=t.call(this,n),uf(of(o),"formKey",{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return r}(Be),lf=function(e){BM(r,e);var t=jM(r);function r(n){DM(this,r);var o;o=t.call(this,n),uf(of(o),"formKey",void 0),uf(of(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 a;return o.openType=(a=n==null?void 0:n.openType)!==null&&a!==void 0?a:"modal",o}return r}(gt);uf(lf,"Rules",_K);function CM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dK(e,t,r){return t&&FM(e.prototype,t),r&&FM(e,r),e}function af(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function pK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vK(e,t){return t&&(hK(t)==="object"||typeof t=="function")?t:CM(e)}function Cm(e,t){return Cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cm(e,t)}function hK(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 mK(e){var t=gK();return function(){var n=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vK(this,o)}}var pi=function(e){pK(r,e);var t=mK(r);function r(n){yK(this,r);var o;return o=t.call(this,n),af(CM(o),"props",void 0),o.props=new lf(n==null?void 0:n.props),o}return dK(r,null,[{key:"controlName",get:function(){return d.getMessage("createFormListButton")}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ct);af(pi,"slots",["grid-table-toolbar-slot"]),af(pi,"controlEventKeys",["on_click","on_click_finish"]),af(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 VM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OK(e,t,r){return t&&xM(e.prototype,t),r&&xM(e,r),e}function wK(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 PK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TK(e,t){return t&&(RK(t)==="object"||typeof t=="function")?t:VM(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}function RK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $K(e){var t=EK();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 TK(this,o)}}var SK=function(e){PK(r,e);var t=$K(r);function r(n){bK(this,r);var o;return o=t.call(this,n),wK(VM(o),"props",void 0),o.props=new lf(n==null?void 0:n.props),o}return OK(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Dt),UM={Designer:pi,Runtime:SK,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 GM(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 _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function YM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 NK(e,t){return t&&(IK(t)==="object"||typeof t=="function")?t:vi(e)}function Vm(e,t){return Vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vm(e,t)}function IK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HM(e){var t=MK();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 NK(this,o)}}var LK=function(e){YM(r,e);var t=HM(r);function r(n){GM(this,r);var o;return o=t.call(this,n),hi(vi(o),"processKey",[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]),o}return r}(Be),yf=function(e){YM(r,e);var t=HM(r);function r(n){GM(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 a;o.processKey=(a=n==null?void 0:n.processKey)!==null&&a!==void 0?a:"";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",LK);function zM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kK(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 AK(e,t,r){return t&&WM(e.prototype,t),r&&WM(e,r),e}function df(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 DK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BK(e,t){return t&&(jK(t)==="object"||typeof t=="function")?t:zM(e)}function xm(e,t){return xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xm(e,t)}function jK(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 FK(e){var t=CK();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 BK(this,o)}}var gi=function(e){DK(r,e);var t=FK(r);function r(n){kK(this,r);var o;return o=t.call(this,n),df(zM(o),"props",void 0),o.props=new yf(n==null?void 0:n.props),o}return AK(r,null,[{key:"controlName",get:function(){return d.getMessage("batchSubmissionListButton")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ct);df(gi,"slots",["grid-table-toolbar-slot"]),df(gi,"controlEventKeys",["on_click","on_click_finish"]),df(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 qM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xK(e,t,r){return t&&KM(e.prototype,t),r&&KM(e,r),e}function UK(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 GK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:qM(e)}function Um(e,t){return Um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Um(e,t)}function HK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WK(e){var t=zK();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 YK(this,o)}}var qK=function(e){GK(r,e);var t=WK(r);function r(n){VK(this,r);var o;return o=t.call(this,n),UK(qM(o),"props",void 0),o.props=new yf(n==null?void 0:n.props),o}return xK(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Dt),XM={Designer:gi,Runtime:qK,Property:yf};function KK(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 hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function JK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 QK(e,t){return t&&(ZK(t)==="object"||typeof t=="function")?t:KK(e)}function Gm(e,t){return Gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gm(e,t)}function ZK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t8(e){var t=e8();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 QK(this,o)}}var Ym=function(e){JK(r,e);var t=t8(r);function r(n){XK(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 JM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n8(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 r8(e,t,r){return t&&QM(e.prototype,t),r&&QM(e,r),e}function gf(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 o8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i8(e,t){return t&&(u8(t)==="object"||typeof t=="function")?t:JM(e)}function Hm(e,t){return Hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hm(e,t)}function u8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l8(e){var t=c8();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 i8(this,o)}}var mi=function(e){o8(r,e);var t=l8(r);function r(n){n8(this,r);var o;return o=t.call(this,n),gf(JM(o),"props",void 0),o.props=new Ym(n==null?void 0:n.props),o}return r8(r,null,[{key:"controlName",get:function(){return d.getMessage("submissionRecordListButton")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ct);gf(mi,"slots",["grid-table-toolbar-slot"]),gf(mi,"controlEventKeys",["on_click"]),gf(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 ZM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a8(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 f8(e,t,r){return t&&eL(e.prototype,t),r&&eL(e,r),e}function s8(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 _8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 y8(e,t){return t&&(d8(t)==="object"||typeof t=="function")?t:ZM(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zm(e,t)}function d8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v8(e){var t=p8();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 y8(this,o)}}var h8=function(e){_8(r,e);var t=v8(r);function r(n){a8(this,r);var o;return o=t.call(this,n),s8(ZM(o),"props",void 0),o.props=new Ym(n==null?void 0:n.props),o}return f8(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Dt),tL={Designer:mi,Runtime:h8,Property:Ym};function Wm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function m8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 b8(e,t){return t&&(O8(t)==="object"||typeof t=="function")?t:Wm(e)}function qm(e,t){return qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qm(e,t)}function O8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P8(e){var t=w8();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 b8(this,o)}}var Km=function(e){m8(r,e);var t=P8(r);function r(n){g8(this,r);var o,i;o=t.call(this,n),nL(Wm(o),"templateList",void 0),nL(Wm(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 a;o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system";var f;return o.templateList=(f=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(s){return new ec(s)}))!==null&&f!==void 0?f:[new ec({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(gt);function rL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R8(e,t,r){return t&&oL(e.prototype,t),r&&oL(e,r),e}function wf(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 E8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $8(e,t){return t&&(S8(t)==="object"||typeof t=="function")?t:rL(e)}function Xm(e,t){return Xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xm(e,t)}function S8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I8(e){var t=N8();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 $8(this,o)}}var bi=function(e){E8(r,e);var t=I8(r);function r(n){T8(this,r);var o;return o=t.call(this,n),wf(rL(o),"props",void 0),o.props=new Km(n==null?void 0:n.props),o}return R8(r,null,[{key:"controlName",get:function(){return d.getMessage("exportListButton")}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ct);wf(bi,"slots",["grid-table-toolbar-slot"]),wf(bi,"controlEventKeys",["on_click","on_click_finish"]),wf(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 iL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L8(e,t,r){return t&&uL(e.prototype,t),r&&uL(e,r),e}function k8(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 A8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D8(e,t){return t&&(B8(t)==="object"||typeof t=="function")?t:iL(e)}function Jm(e,t){return Jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jm(e,t)}function B8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C8(e){var t=j8();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 D8(this,o)}}var F8=function(e){A8(r,e);var t=C8(r);function r(n){M8(this,r);var o;return o=t.call(this,n),k8(iL(o),"props",void 0),o.props=new Km(n==null?void 0:n.props),o}return L8(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Dt),cL={Designer:bi,Runtime:F8,Property:Km};function V8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function U8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G8(e,t){return t&&(Y8(t)==="object"||typeof t=="function")?t:V8(e)}function Qm(e,t){return Qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qm(e,t)}function Y8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z8(e){var t=H8();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 G8(this,o)}}var Zm=function(e){U8(r,e);var t=z8(r);function r(n){x8(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 lL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W8(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 q8(e,t,r){return t&&aL(e.prototype,t),r&&aL(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 $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function K8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 X8(e,t){return t&&(J8(t)==="object"||typeof t=="function")?t:lL(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function J8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z8(e){var t=Q8();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 X8(this,o)}}var Oi=function(e){K8(r,e);var t=Z8(r);function r(n){W8(this,r);var o;return o=t.call(this,n),Ef(lL(o),"props",void 0),o.props=new Zm(n==null?void 0:n.props),o}return q8(r,null,[{key:"controlName",get:function(){return d.getMessage("exportRecordListButton")}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ct);Ef(Oi,"slots",["grid-table-toolbar-slot"]),Ef(Oi,"controlEventKeys",["on_click"]),Ef(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 fL(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 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 tX(e,t,r){return t&&sL(e.prototype,t),r&&sL(e,r),e}function nX(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 rX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oX(e,t){return t&&(iX(t)==="object"||typeof t=="function")?t:fL(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function iX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cX(e){var t=uX();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 oX(this,o)}}var lX=function(e){rX(r,e);var t=cX(r);function r(n){eX(this,r);var o;return o=t.call(this,n),nX(fL(o),"props",void 0),o.props=new Zm(n==null?void 0:n.props),o}return tX(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Dt),_L={Designer:Oi,Runtime:lX,Property:Zm};function nb(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 rb(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 aX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fX(e,t){return t&&(sX(t)==="object"||typeof t=="function")?t:nb(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function sX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=_X();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 fX(this,o)}}var dX=function e(t){yL(this,e),rb(this,"dataCode",void 0),this.dataCode=t.dataCode},ib=function(e){aX(r,e);var t=yX(r);function r(n){yL(this,r);var o,i;o=t.call(this,n),rb(nb(o),"canImportList",void 0),rb(nb(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 a;o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(s){return new dX(s)}))!==null&&a!==void 0?a:[];var f;return o.templateType=(f=n==null?void 0:n.templateType)!==null&&f!==void 0?f:"system",o}return r}(gt);function dL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vX(e,t,r){return t&&pL(e.prototype,t),r&&pL(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 Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function hX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gX(e,t){return t&&(mX(t)==="object"||typeof t=="function")?t:dL(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function mX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OX(e){var t=bX();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 gX(this,o)}}var wi=function(e){hX(r,e);var t=OX(r);function r(n){pX(this,r);var o;return o=t.call(this,n),If(dL(o),"props",void 0),o.props=new ib(n==null?void 0:n.props),o}return vX(r,null,[{key:"controlName",get:function(){return d.getMessage("importRecordListButton")}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ct);If(wi,"slots",["grid-table-toolbar-slot"]),If(wi,"controlEventKeys",["on_click","on_click_finish"]),If(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 vL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PX(e,t,r){return t&&hL(e.prototype,t),r&&hL(e,r),e}function TX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function RX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EX(e,t){return t&&($X(t)==="object"||typeof t=="function")?t:vL(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function $X(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NX(e){var t=SX();return function(){var n=Lf(e),o;if(t){var i=Lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EX(this,o)}}var IX=function(e){RX(r,e);var t=NX(r);function r(n){wX(this,r);var o;return o=t.call(this,n),TX(vL(o),"props",void 0),o.props=new ib(n==null?void 0:n.props),o}return PX(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Dt),gL={Designer:wi,Runtime:IX,Property:ib};function kf(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}function Br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mL(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 Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function bL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OL(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 MX(e,t){return t&&(LX(t)==="object"||typeof t=="function")?t:Br(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function LX(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 wL(e){var t=kX();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 MX(this,o)}}var AX=function(e){bL(r,e);var t=wL(r);function r(n){mL(this,r);var o;return o=t.call(this,n),Xn(Br(o),"fillPayload",{type:"object",fields:OL({},kf())}),Xn(Br(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}}),Xn(Br(o),"fillBack",{type:"object",fields:OL({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},kf())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}),o}return r}(Be),Df=function(e){bL(r,e);var t=wL(r);function r(n){mL(this,r);var o;o=t.call(this,n),Xn(Br(o),"fillPayload",void 0),Xn(Br(o),"formBind",void 0),Xn(Br(o),"fillBack",void 0),Xn(Br(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:nc.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:nc.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new gg(n==null?void 0:n.fillPayload),o.formBind=new CN(n==null?void 0:n.formBind),o.fillBack=new mg(n==null?void 0:n.fillBack),o}return r}(gt);Xn(Df,"Rules",AX);function PL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BX(e,t,r){return t&&TL(e.prototype,t),r&&TL(e,r),e}function ab(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 jX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 CX(e,t){return t&&(FX(t)==="object"||typeof t=="function")?t:PL(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function FX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=VX();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 CX(this,o)}}var nc=function(e){jX(r,e);var t=xX(r);function r(n){DX(this,r);var o;return o=t.call(this,n),ab(PL(o),"props",void 0),o.props=new Df(n==null?void 0:n.props),o}return BX(r,null,[{key:"controlName",get:function(){return d.getMessage("formSelectButton")}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(ct);ab(nc,"controlEventKeys",["on_click","on_click_finish"]),ab(nc,"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:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{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 UX(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 GX(e,t,r){return t&&EL(e.prototype,t),r&&EL(e,r),e}function YX(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 HX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zX(e,t){return t&&(WX(t)==="object"||typeof t=="function")?t:RL(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function WX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KX(e){var t=qX();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 zX(this,o)}}var XX=function(e){HX(r,e);var t=KX(r);function r(n){UX(this,r);var o;return o=t.call(this,n),YX(RL(o),"props",void 0),o.props=new Df(n==null?void 0:n.props),o}return GX(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(Dt),$L={Designer:nc,Runtime:XX,Property:Df};function pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SL(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 Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function NL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IL(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){Qt(e,o,r[o])})}return e}function JX(e,t){return t&&(QX(t)==="object"||typeof t=="function")?t:pn(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(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 ML(e){var t=ZX();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 JX(this,o)}}var e5=function(e){NL(r,e);var t=ML(r);function r(n){SL(this,r);var o;return o=t.call(this,n),Qt(pn(o),"fillPayload",{type:"object",fields:IL({},kf())}),Qt(pn(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}),Qt(pn(o),"fillBack",{type:"object",fields:IL({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},kf())}),o}return r}(Be),Ff=function(e){NL(r,e);var t=ML(r);function r(n){SL(this,r);var o;o=t.call(this,n),Qt(pn(o),"fillPayload",void 0),Qt(pn(o),"listPageBind",void 0),Qt(pn(o),"disableFilling",void 0),Qt(pn(o),"fillBack",void 0),Qt(pn(o),"showSelectedDetail",void 0),Qt(pn(o),"isSelectedRowFill",void 0),Qt(pn(o),"selectedContentConfig",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,o.fillPayload=new gg(n==null?void 0:n.fillPayload),o.listPageBind=new ta(n==null?void 0:n.listPageBind),o.fillBack=new mg(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 oa(n==null?void 0:n.selectedContentConfig);var a;o.isSelectedRowFill=(a=n==null?void 0:n.isSelectedRowFill)!==null&&a!==void 0?a:!1;var f;return o.disableFilling=(f=n==null?void 0:n.disableFilling)!==null&&f!==void 0?f:!0,o}return r}(gt);Qt(Ff,"Rules",e5);function LL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n5(e,t,r){return t&&kL(e.prototype,t),r&&kL(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 Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function r5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 o5(e,t){return t&&(i5(t)==="object"||typeof t=="function")?t:LL(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function i5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c5(e){var t=u5();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 o5(this,o)}}var rc=function(e){r5(r,e);var t=c5(r);function r(n){t5(this,r);var o;return o=t.call(this,n),yb(LL(o),"props",void 0),o.props=new Ff(n==null?void 0:n.props),o}return n5(r,null,[{key:"controlName",get:function(){return d.getMessage("listSelectButton")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(ct);yb(rc,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),yb(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:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function AL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l5(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 a5(e,t,r){return t&&DL(e.prototype,t),r&&DL(e,r),e}function f5(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 s5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _5(e,t){return t&&(y5(t)==="object"||typeof t=="function")?t:AL(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function y5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p5(e){var t=d5();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 _5(this,o)}}var v5=function(e){s5(r,e);var t=p5(r);function r(n){l5(this,r);var o;return o=t.call(this,n),f5(AL(o),"props",void 0),o.props=new Ff(n==null?void 0:n.props),o}return a5(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(Dt),BL={Designer:rc,Runtime:v5,Property:Ff};function h5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jL(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 hb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g5(e,t){return t&&(m5(t)==="object"||typeof t=="function")?t:h5(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}function m5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mb(e){var t=b5();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 g5(this,o)}}var O5=function(e){hb(r,e);var t=mb(r);function r(n){return vb(this,r),t.call(this,n)}return r}(Be),w5=function(e){hb(r,e);var t=mb(r);function r(n){return vb(this,r),t.call(this,n)}return r}(Nr),oc=function(e){hb(r,e);var t=mb(r);function r(n){return vb(this,r),t.call(this,n)}return r}(Ee);jL(oc,"Rules",O5),jL(oc,"RuntimeRules",w5);function CL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P5(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 T5(e,t,r){return t&&FL(e.prototype,t),r&&FL(e,r),e}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 Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function R5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 E5(e,t){return t&&($5(t)==="object"||typeof t=="function")?t:CL(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function $5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N5(e){var t=S5();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 E5(this,o)}}var xL=function(e){R5(r,e);var t=N5(r);function r(n){P5(this,r);var o;return o=t.call(this,n),VL(CL(o),"props",void 0),o.props=new oc(n==null?void 0:n.props),o}return T5(r,null,[{key:"controlName",get:function(){return d.getMessage("pagination")}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(re);VL(xL,"setting",[]);function UL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I5(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 M5(e,t,r){return t&&GL(e.prototype,t),r&&GL(e,r),e}function L5(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 k5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A5(e,t){return t&&(D5(t)==="object"||typeof t=="function")?t:UL(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function D5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j5(e){var t=B5();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 A5(this,o)}}var C5=function(e){k5(r,e);var t=j5(r);function r(n){I5(this,r);var o;return o=t.call(this,n),L5(UL(o),"props",void 0),o.props=new oc(n==null?void 0:n.props),o}return M5(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}($e),YL={Designer:xL,Runtime:C5,Property:oc};function Zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function zL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 F5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:Zt(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function V5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WL(e){var t=x5();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 F5(this,o)}}var U5=function(e){zL(r,e);var t=WL(r);function r(n){HL(this,r);var o;return o=t.call(this,n),en(Zt(o),"dashboardKey",{type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")}),en(Zt(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),en(Zt(o),"isHideCaption",{type:"boolean"}),en(Zt(o),"labelPosition",{type:"enum",enum:["top","left"]}),en(Zt(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Be),zf=function(e){zL(r,e);var t=WL(r);function r(n){HL(this,r);var o;o=t.call(this,n),en(Zt(o),"dashboardKey",void 0),en(Zt(o),"caption",void 0),en(Zt(o),"isHideCaption",void 0),en(Zt(o),"isShowCaptionTip",void 0),en(Zt(o),"captionTip",void 0),en(Zt(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 a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!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}(Ee);en(zf,"Rules",U5);function qL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y5(e,t,r){return t&&KL(e.prototype,t),r&&KL(e,r),e}function XL(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 H5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 z5(e,t){return t&&(W5(t)==="object"||typeof t=="function")?t:qL(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function W5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K5(e){var t=q5();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 z5(this,o)}}var JL=function(e){H5(r,e);var t=K5(r);function r(n){G5(this,r);var o;return o=t.call(this,n),XL(qL(o),"props",void 0),o.props=new zf(n==null?void 0:n.props),o}return Y5(r,null,[{key:"controlName",get:function(){return d.getMessage("dashboard")}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(re);XL(JL,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function QL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X5(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 J5(e,t,r){return t&&ZL(e.prototype,t),r&&ZL(e,r),e}function Q5(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 Z5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e6(e,t){return t&&(t6(t)==="object"||typeof t=="function")?t:QL(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}function t6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r6(e){var t=n6();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 e6(this,o)}}var o6=function(e){Z5(r,e);var t=r6(r);function r(n){X5(this,r);var o;return o=t.call(this,n),Q5(QL(o),"props",void 0),o.props=new zf(n==null?void 0:n.props),o}return J5(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}($e),ek={Designer:JL,Runtime:o6,Property:zf};function ic(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 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 Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function nk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i6(e,t){return t&&(u6(t)==="object"||typeof t=="function")?t:ic(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}function u6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=c6();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 i6(this,o)}}var l6=function(e){nk(r,e);var t=rk(r);function r(n){tk(this,r);var o;return o=t.call(this,n),uc(ic(o),"showType",{type:"enum",enum:["select","tabs"]}),uc(ic(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(Be),Xf=function(e){nk(r,e);var t=rk(r);function r(n){tk(this,r);var o,i;o=t.call(this,n),uc(ic(o),"showType",void 0),uc(ic(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(a){return new nI(a)}))!==null&&c!==void 0?c:[],o}return r}(Ee);uc(Xf,"Rules",l6);function ok(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a6(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 f6(e,t,r){return t&&ik(e.prototype,t),r&&ik(e,r),e}function uk(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 s6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _6(e,t){return t&&(y6(t)==="object"||typeof t=="function")?t:ok(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function y6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p6(e){var t=d6();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 _6(this,o)}}var ck=function(e){s6(r,e);var t=p6(r);function r(n){a6(this,r);var o;return o=t.call(this,n),uk(ok(o),"props",void 0),o.props=new Xf(n==null?void 0:n.props),o}return f6(r,null,[{key:"controlName",get:function(){return d.getMessage("listViewSelect")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(re);uk(ck,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function lk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v6(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 h6(e,t,r){return t&&ak(e.prototype,t),r&&ak(e,r),e}function g6(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 m6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 b6(e,t){return t&&(O6(t)==="object"||typeof t=="function")?t:lk(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function O6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P6(e){var t=w6();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 b6(this,o)}}var T6=function(e){m6(r,e);var t=P6(r);function r(n){v6(this,r);var o;return o=t.call(this,n),g6(lk(o),"props",void 0),o.props=new Xf(n==null?void 0:n.props),o}return h6(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}($e),fk={Designer:ck,Runtime:T6,Property:Xf};function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function St(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 _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&&Sb(e,t)}function R6(e,t){return t&&(E6(t)==="object"||typeof t=="function")?t:$t(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function E6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yk(e){var t=$6();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 R6(this,o)}}var S6=function(e){_k(r,e);var t=yk(r);function r(n){sk(this,r);var o;return o=t.call(this,n),St($t(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),St($t(o),"isHideCaption",{type:"boolean"}),St($t(o),"labelPosition",{type:"enum",enum:["top","left"]}),St($t(o),"ocrType",{type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")}),St($t(o),"fillList",{type:"array",validator:function(u,c,a){var f=c.every(function(s){return!s.controlId});if(f){a(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),St($t(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Be),es=function(e){_k(r,e);var t=yk(r);function r(n){sk(this,r);var o,i;o=t.call(this,n),St($t(o),"caption",void 0),St($t(o),"isHideCaption",void 0),St($t(o),"isShowCaptionTip",void 0),St($t(o),"captionTip",void 0),St($t(o),"labelPosition",void 0),St($t(o),"ocrType",void 0),St($t(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 a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!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 y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:Pi.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);St(es,"Rules",S6);function dk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N6(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 I6(e,t,r){return t&&pk(e.prototype,t),r&&pk(e,r),e}function Nb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ts(e)}function M6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 L6(e,t){return t&&(k6(t)==="object"||typeof t=="function")?t:dk(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}function k6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D6(e){var t=A6();return function(){var n=ts(e),o;if(t){var i=ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L6(this,o)}}var Pi=function(e){M6(r,e);var t=D6(r);function r(n){N6(this,r);var o;return o=t.call(this,n),Nb(dk(o),"props",void 0),o.props=new es(n==null?void 0:n.props),o}return I6(r,null,[{key:"controlName",get:function(){return d.getMessage("textOcrButton")}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ct);Nb(Pi,"controlEventKeys",["on_click","on_click_finish"]),Nb(Pi,"setting",[{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function vk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j6(e,t,r){return t&&hk(e.prototype,t),r&&hk(e,r),e}function C6(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 F6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 V6(e,t){return t&&(x6(t)==="object"||typeof t=="function")?t:vk(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}function x6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G6(e){var t=U6();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 V6(this,o)}}var Y6=function(e){F6(r,e);var t=G6(r);function r(n){B6(this,r);var o;return o=t.call(this,n),C6(vk(o),"props",void 0),o.props=new es(n==null?void 0:n.props),o}return j6(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Dt),gk={Designer:Pi,Runtime:Y6,Property:es};function Nt(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 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 rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(e)}function bk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 H6(e,t){return t&&(z6(t)==="object"||typeof t=="function")?t:Nt(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}function z6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ok(e){var t=W6();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 H6(this,o)}}var q6=function(e){bk(r,e);var t=Ok(r);function r(n){mk(this,r);var o;return o=t.call(this,n),It(Nt(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),It(Nt(o),"isHideCaption",{type:"boolean"}),It(Nt(o),"labelPosition",{type:"enum",enum:["top","left"]}),It(Nt(o),"invoiceCheck",{type:"boolean"}),It(Nt(o),"fillList",{type:"array",validator:function(u,c,a){var f=c.every(function(s){return!s.controlId});if(f){a(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),It(Nt(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Be),os=function(e){bk(r,e);var t=Ok(r);function r(n){mk(this,r);var o,i;o=t.call(this,n),It(Nt(o),"caption",void 0),It(Nt(o),"isHideCaption",void 0),It(Nt(o),"isShowCaptionTip",void 0),It(Nt(o),"captionTip",void 0),It(Nt(o),"labelPosition",void 0),It(Nt(o),"invoiceCheck",void 0),It(Nt(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ti.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!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?_:Ti.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:Ti.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);It(os,"Rules",q6);function wk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K6(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 X6(e,t,r){return t&&Pk(e.prototype,t),r&&Pk(e,r),e}function kb(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 J6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Q6(e,t){return t&&(Z6(t)==="object"||typeof t=="function")?t:wk(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function Z6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t7(e){var t=e7();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 Q6(this,o)}}var Ti=function(e){J6(r,e);var t=t7(r);function r(n){K6(this,r);var o;return o=t.call(this,n),kb(wk(o),"props",void 0),o.props=new os(n==null?void 0:n.props),o}return X6(r,null,[{key:"controlName",get:function(){return d.getMessage("invoiceCheckButton")}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(ct);kb(Ti,"controlEventKeys",["on_click","on_click_finish"]),kb(Ti,"setting",[{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Tk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n7(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 r7(e,t,r){return t&&Rk(e.prototype,t),r&&Rk(e,r),e}function o7(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 i7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 u7(e,t){return t&&(c7(t)==="object"||typeof t=="function")?t:Tk(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function c7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a7(e){var t=l7();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 u7(this,o)}}var f7=function(e){i7(r,e);var t=a7(r);function r(n){n7(this,r);var o;return o=t.call(this,n),o7(Tk(o),"props",void 0),o.props=new os(n==null?void 0:n.props),o}return r7(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Dt),Ek={Designer:Ti,Runtime:f7,Property:os};function cs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $k(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 as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(e)}function Sk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 s7(e,t){return t&&(_7(t)==="object"||typeof t=="function")?t:cs(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}function _7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nk(e){var t=y7();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 s7(this,o)}}var d7=function(e){Sk(r,e);var t=Nk(r);function r(){$k(this,r);var n;return n=t.apply(this,arguments),ls(cs(n),"printTemplates",{type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(Be),fs=function(e){Sk(r,e);var t=Nk(r);function r(n){$k(this,r);var o,i;o=t.call(this,n),ls(cs(o),"printTemplates",void 0),ls(cs(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ri.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Ri.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new hM(s)}))!==null&&a!==void 0?a:[];var f;return o.autoSelectTemplate=(f=n==null?void 0:n.autoSelectTemplate)!==null&&f!==void 0?f:!1,o}return r}(gt);ls(fs,"Rules",d7);function Ik(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v7(e,t,r){return t&&Mk(e.prototype,t),r&&Mk(e,r),e}function ss(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 h7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g7(e,t){return t&&(m7(t)==="object"||typeof t=="function")?t:Ik(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function m7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O7(e){var t=b7();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 g7(this,o)}}var Ri=function(e){h7(r,e);var t=O7(r);function r(n){p7(this,r);var o;return o=t.call(this,n),ss(Ik(o),"props",void 0),o.props=new fs(n==null?void 0:n.props),o}return v7(r,null,[{key:"controlName",get:function(){return d.getMessage("batchPrintListButton")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ct);ss(Ri,"slots",["grid-table-toolbar-slot"]),ss(Ri,"controlEventKeys",["on_click","on_click_finish"]),ss(Ri,"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 Lk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w7(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 P7(e,t,r){return t&&kk(e.prototype,t),r&&kk(e,r),e}function T7(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 R7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 E7(e,t){return t&&($7(t)==="object"||typeof t=="function")?t:Lk(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}function $7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N7(e){var t=S7();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 E7(this,o)}}var I7=function(e){R7(r,e);var t=N7(r);function r(n){w7(this,r);var o;return o=t.call(this,n),T7(Lk(o),"props",void 0),o.props=new fs(n==null?void 0:n.props),o}return P7(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Dt),Ak={Designer:Ri,Runtime:I7,Property:fs};function M7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function k7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A7(e,t){return t&&(D7(t)==="object"||typeof t=="function")?t:M7(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function D7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j7(e){var t=B7();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 A7(this,o)}}var Vb=function(e){k7(r,e);var t=j7(r);function r(n){L7(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:Ei.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ei.controlIcon,o}return r}(gt);function Dk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C7(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 F7(e,t,r){return t&&Bk(e.prototype,t),r&&Bk(e,r),e}function ps(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 V7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 x7(e,t){return t&&(U7(t)==="object"||typeof t=="function")?t:Dk(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}function U7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y7(e){var t=G7();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 x7(this,o)}}var Ei=function(e){V7(r,e);var t=Y7(r);function r(n){C7(this,r);var o;return o=t.call(this,n),ps(Dk(o),"props",void 0),o.props=new Vb(n==null?void 0:n.props),o}return F7(r,null,[{key:"controlName",get:function(){return d.getMessage("batchPrintRecordList")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ct);ps(Ei,"slots",["grid-table-toolbar-slot"]),ps(Ei,"controlEventKeys",["on_click"]),ps(Ei,"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 jk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H7(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 z7(e,t,r){return t&&Ck(e.prototype,t),r&&Ck(e,r),e}function W7(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 q7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 K7(e,t){return t&&(X7(t)==="object"||typeof t=="function")?t:jk(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}function X7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q7(e){var t=J7();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 K7(this,o)}}var Z7=function(e){q7(r,e);var t=Q7(r);function r(n){H7(this,r);var o;return o=t.call(this,n),W7(jk(o),"props",void 0),o.props=new Vb(n==null?void 0:n.props),o}return z7(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Dt),Fk={Designer:Ei,Runtime:Z7,Property:Vb};function mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vk(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 gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(e)}function xk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e9(e,t){return t&&(t9(t)==="object"||typeof t=="function")?t:mt(e)}function Gb(e,t){return Gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gb(e,t)}function t9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uk(e){var t=n9();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 e9(this,o)}}var r9=function(e){xk(r,e);var t=Uk(r);function r(n){Vk(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:d.getMessage("pleaseEnterForm")}),o}return r}(Be),ms=function(e){xk(r,e);var t=Uk(r);function r(n){Vk(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 a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"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}(Ee);bt(ms,"Rules",r9);function Gk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o9(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 i9(e,t,r){return t&&Yk(e.prototype,t),r&&Yk(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 bs(e){return bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bs(e)}function u9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 c9(e,t){return t&&(l9(t)==="object"||typeof t=="function")?t:Gk(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}function l9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f9(e){var t=a9();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 c9(this,o)}}var Os=function(e){u9(r,e);var t=f9(r);function r(n){o9(this,r);var o;return o=t.call(this,n),Yb(Gk(o),"props",void 0),o.props=new ms(n==null?void 0:n.props),o}return i9(r,null,[{key:"controlName",get:function(){return d.getMessage("operationButton")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(re);Yb(Os,"controlEventKeys",["on_click"]),Yb(Os,"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:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function Hk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _9(e,t,r){return t&&zk(e.prototype,t),r&&zk(e,r),e}function y9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ws(e){return ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ws(e)}function d9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 p9(e,t){return t&&(v9(t)==="object"||typeof t=="function")?t:Hk(e)}function zb(e,t){return zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zb(e,t)}function v9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g9(e){var t=h9();return function(){var n=ws(e),o;if(t){var i=ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p9(this,o)}}var m9=function(e){d9(r,e);var t=g9(r);function r(n){s9(this,r);var o;return o=t.call(this,n),y9(Hk(o),"props",void 0),o.props=new ms(n==null?void 0:n.props),o}return _9(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}($e),cc={Designer:Os,Runtime:m9,Property:ms};function Jn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(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 O9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 w9(e,t){return t&&(P9(t)==="object"||typeof t=="function")?t:Jn(e)}function Wb(e,t){return Wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wb(e,t)}function P9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R9(e){var t=T9();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 w9(this,o)}}var qb=function(e){O9(r,e);var t=R9(r);function r(n){b9(this,r);var o;o=t.call(this,n),jr(Jn(o),"content",void 0),jr(Jn(o),"buttonType",void 0),jr(Jn(o),"showType",void 0),jr(Jn(o),"color",void 0),jr(Jn(o),"icon",void 0),jr(Jn(o),"defaultState",void 0),jr(Jn(o),"command",void 0),jr(Jn(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:$i.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:$i.controlIcon;var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"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 y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var p;return o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1,o}return r}(Ee);function Wk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $9(e,t,r){return t&&qk(e.prototype,t),r&&qk(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 Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rs(e)}function S9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 N9(e,t){return t&&(I9(t)==="object"||typeof t=="function")?t:Wk(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}function I9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L9(e){var t=M9();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 N9(this,o)}}var $i=function(e){S9(r,e);var t=L9(r);function r(n){E9(this,r);var o;return o=t.call(this,n),Ts(Wk(o),"props",void 0),o.props=new qb(n==null?void 0:n.props),o}return $9(r,null,[{key:"controlName",get:function(){return d.getMessage("batchDeleteButton")}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(re);Ts($i,"slots",["grid-table-toolbar-slot"]),Ts($i,"controlEventKeys",["on_click"]),Ts($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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function Kk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A9(e,t,r){return t&&Xk(e.prototype,t),r&&Xk(e,r),e}function D9(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 B9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 j9(e,t){return t&&(C9(t)==="object"||typeof t=="function")?t:Kk(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}function C9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V9(e){var t=F9();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 j9(this,o)}}var x9=function(e){B9(r,e);var t=V9(r);function r(n){k9(this,r);var o;return o=t.call(this,n),D9(Kk(o),"props",void 0),o.props=new qb(n==null?void 0:n.props),o}return A9(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}($e),Jk={Designer:$i,Runtime:x9,Property:qb},U9=Object.freeze({__proto__:null,Text:eM,Link:iM,Button:fM,Divider:EM,Title:AM,CreateFormListButton:UM,BatchSubmissionListButton:XM,SubmissionRecordListButton:tL,ExportListButton:cL,ExportRecordListButton:_L,ImportRecordListButton:gL,FormSelectButton:$L,ListSelectButton:BL,Pagination:YL,Dashboard:ek,ListViewSelect:fk,TextOcrButton:gk,InvoiceCheckButton:Ek,BatchPrintListButton:Ak,BatchPrintRecordListButton:Fk,OperationButton:cc,BatchDeleteButton:Jk});function kn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vn(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 Qb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G9(e,t){return t&&(Y9(t)==="object"||typeof t=="function")?t:kn(e)}function Zb(e,t){return Zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zb(e,t)}function Y9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eO(e){var t=H9();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 G9(this,o)}}var z9=function(e){Qb(r,e);var t=eO(r);function r(n){Jb(this,r);var o;return o=t.call(this,n),vn(kn(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),vn(kn(o),"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),vn(kn(o),"defaultValue",[{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=tc(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(He),W9=function(e){Qb(r,e);var t=eO(r);function r(n){Jb(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:d.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:tc(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(_e),Si=function(e){Qb(r,e);var t=eO(r);function r(n){Jb(this,r);var o;o=t.call(this,n),vn(kn(o),"maxLength",void 0),vn(kn(o),"minLength",void 0),vn(kn(o),"regularRules",void 0),vn(kn(o),"defaultValue",void 0),vn(kn(o),"encrypted",void 0),vn(kn(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 ia(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Ni.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165";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);vn(Si,"Rules",z9),vn(Si,"RuntimeRules",W9);function Qk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K9(e,t,r){return t&&Zk(e.prototype,t),r&&Zk(e,r),e}function Ss(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 X9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 J9(e,t){return t&&(Q9(t)==="object"||typeof t=="function")?t:Qk(e)}function tO(e,t){return tO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tO(e,t)}function Q9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Z9();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 J9(this,o)}}var Ni=function(e){X9(r,e);var t=eJ(r);function r(n){q9(this,r);var o;return o=t.call(this,n),Ss(Qk(o),"props",void 0),o.props=new Si(n==null?void 0:n.props),o}return K9(r,null,[{key:"controlName",get:function(){return d.getMessage("input")}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(J);Ss(Ni,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ss(Ni,"controlFieldType",l.FieldTypes.VARCHAR),Ss(Ni,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,l.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 e1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tJ(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 nJ(e,t,r){return t&&t1(e.prototype,t),r&&t1(e,r),e}function n1(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 rJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oJ(e,t){return t&&(iJ(t)==="object"||typeof t=="function")?t:e1(e)}function nO(e,t){return nO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nO(e,t)}function iJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cJ(e){var t=uJ();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 oJ(this,o)}}var r1=function(e){rJ(r,e);var t=cJ(r);function r(n){tJ(this,r);var o;return o=t.call(this,n),n1(e1(o),"props",void 0),o.props=new Si(n==null?void 0:n.props),o}return nJ(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(Q);n1(r1,"controlFieldType",l.FieldTypes.VARCHAR);var o1={Designer:Ni,Runtime:r1,Property:Si};function lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rO(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 Ms(e){return Ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ms(e)}function oO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lJ(e,t){return t&&(aJ(t)==="object"||typeof t=="function")?t:lt(e)}function iO(e,t){return iO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iO(e,t)}function aJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uO(e){var t=fJ();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 lJ(this,o)}}var sJ=function(e){oO(r,e);var t=uO(r);function r(n){rO(this,r);var o;o=t.call(this,n),Qe(lt(o),"limitMax",{type:"number",min:void 0,message:d.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),_J=function(e){oO(r,e);var t=uO(r);function r(n){rO(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){oO(r,e);var t=uO(r);function r(n){rO(this,r);var o;o=t.call(this,n),Qe(lt(o),"checkboxMode",void 0),Qe(lt(o),"options",void 0),Qe(lt(o),"optionsOrder",void 0),Qe(lt(o),"limitMax",void 0),Qe(lt(o),"limitMin",void 0),Qe(lt(o),"otherOption",void 0),Qe(lt(o),"optionConfig",void 0),Qe(lt(o),"optionsFormat",void 0),Qe(lt(o),"defaultShowOptions",void 0),Qe(lt(o),"datasourceBind",void 0),Qe(lt(o),"multistageFilling",void 0),Qe(lt(o),"interreaction",void 0),Qe(lt(o),"defaultValue",void 0),Qe(lt(o),"openMultistageFilling",void 0);var i;o.options=In((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 a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!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 y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:ac.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 P;o.defaultShowOptions=(P=n==null?void 0:n.defaultShowOptions)!==null&&P!==void 0?P:!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($){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new ht($))})),o}return r}(K);Qe(lc,"Rules",sJ),Qe(lc,"RuntimeRules",_J);function i1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dJ(e,t,r){return t&&u1(e.prototype,t),r&&u1(e,r),e}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 ks(e){return ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ks(e)}function pJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cO(e,t)}function vJ(e,t){return t&&(hJ(t)==="object"||typeof t=="function")?t:i1(e)}function cO(e,t){return cO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cO(e,t)}function hJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mJ(e){var t=gJ();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 vJ(this,o)}}var ac=function(e){pJ(r,e);var t=mJ(r);function r(n){yJ(this,r);var o;return o=t.call(this,n),Ls(i1(o),"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return dJ(r,null,[{key:"controlName",get:function(){return d.getMessage("checkBox")}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(J);Ls(ac,"controlEventKeys",["on_change","on_click"]),Ls(ac,"controlFieldType",l.FieldTypes.ARRAY),Ls(ac,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.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 c1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bJ(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 OJ(e,t,r){return t&&l1(e.prototype,t),r&&l1(e,r),e}function a1(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 wJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PJ(e,t){return t&&(TJ(t)==="object"||typeof t=="function")?t:c1(e)}function lO(e,t){return lO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lO(e,t)}function TJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=RJ();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 PJ(this,o)}}var f1=function(e){wJ(r,e);var t=EJ(r);function r(n){bJ(this,r);var o;return o=t.call(this,n),a1(c1(o),"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return OJ(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(Q);a1(f1,"controlFieldType",l.FieldTypes.ARRAY);var s1={Designer:ac,Runtime:f1,Property:lc};function Bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _1(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 Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ds(e)}function y1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $J(e,t){return t&&(SJ(t)==="object"||typeof t=="function")?t:Bt(e)}function aO(e,t){return aO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aO(e,t)}function SJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d1(e){var t=NJ();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 $J(this,o)}}var IJ=function(e){y1(r,e);var t=d1(r);function r(n){return _1(this,r),t.call(this,n)}return r}(so),Bs=function(e){y1(r,e);var t=d1(r);function r(n){_1(this,r);var o;o=t.call(this,n),jt(Bt(o),"radioMode",void 0),jt(Bt(o),"options",void 0),jt(Bt(o),"optionConfig",void 0),jt(Bt(o),"optionsFormat",void 0),jt(Bt(o),"defaultShowOptions",void 0),jt(Bt(o),"otherOption",void 0),jt(Bt(o),"optionsOrder",void 0),jt(Bt(o),"datasourceBind",void 0),jt(Bt(o),"multistageFilling",void 0),jt(Bt(o),"interreaction",void 0),jt(Bt(o),"defaultValue",void 0),jt(Bt(o),"openMultistageFilling",void 0);var i;o.options=In((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 a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!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 y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];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;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(P){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new ht(P))})),o}return r}(K);jt(Bs,"Rules",IJ);function p1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MJ(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 LJ(e,t,r){return t&&v1(e.prototype,t),r&&v1(e,r),e}function js(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 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&&fO(e,t)}function AJ(e,t){return t&&(DJ(t)==="object"||typeof t=="function")?t:p1(e)}function fO(e,t){return fO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fO(e,t)}function DJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jJ(e){var t=BJ();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 AJ(this,o)}}var fc=function(e){kJ(r,e);var t=jJ(r);function r(n){MJ(this,r);var o;return o=t.call(this,n),js(p1(o),"props",void 0),o.props=new Bs(n==null?void 0:n.props),o}return LJ(r,null,[{key:"controlName",get:function(){return d.getMessage("radio")}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(J);js(fc,"controlEventKeys",["on_change","on_click"]),js(fc,"controlFieldType",l.FieldTypes.VARCHAR),js(fc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.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 h1(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 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 FJ(e,t,r){return t&&g1(e.prototype,t),r&&g1(e,r),e}function m1(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 VJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xJ(e,t){return t&&(UJ(t)==="object"||typeof t=="function")?t:h1(e)}function sO(e,t){return sO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sO(e,t)}function UJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YJ(e){var t=GJ();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 xJ(this,o)}}var b1=function(e){VJ(r,e);var t=YJ(r);function r(n){CJ(this,r);var o;return o=t.call(this,n),m1(h1(o),"props",void 0),o.props=new Bs(n==null?void 0:n.props),o}return FJ(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(Q);m1(b1,"controlFieldType",l.FieldTypes.VARCHAR);var O1={Designer:fc,Runtime:b1,Property:Bs};function Ot(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 at(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 yO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 HJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:Ot(e)}function dO(e,t){return dO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dO(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 pO(e){var t=WJ();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 HJ(this,o)}}var qJ=function(e){yO(r,e);var t=pO(r);function r(n){_O(this,r);var o;o=t.call(this,n),at(Ot(o),"defaultValue",[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),at(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=d.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:d.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=tc(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(He),KJ=function(e){yO(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="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:d.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:tc(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(_e),sc=function(e){yO(r,e);var t=pO(r);function r(n){_O(this,r);var o;o=t.call(this,n),at(Ot(o),"rangeMin",void 0),at(Ot(o),"rangeMax",void 0),at(Ot(o),"numberType",void 0),at(Ot(o),"percentageFormat",void 0),at(Ot(o),"micrometer",void 0),at(Ot(o),"precision",void 0),at(Ot(o),"showUpperCase",void 0),at(Ot(o),"isShowUnit",void 0),at(Ot(o),"unitPosition",void 0),at(Ot(o),"unit",void 0),at(Ot(o),"defaultValue",void 0),at(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 a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!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 y;o.isShowUnit=(y=n==null?void 0:n.isShowUnit)!==null&&y!==void 0?y:!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:_c.controlName;var P;o.placeholder=(P=n==null?void 0:n.placeholder)!==null&&P!==void 0?P:"\u8BF7\u8F93\u5165";var v;return o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",o.regularRules=new ia(n==null?void 0:n.regularRules),o}return r}(K);at(sc,"Rules",qJ),at(sc,"RuntimeRules",KJ);function w1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JJ(e,t,r){return t&&P1(e.prototype,t),r&&P1(e,r),e}function xs(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Us=Reflect.get:Us=function(o,i,u){var c=eQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Us(e,t,r||e)}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function QJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZJ(e,t){return t&&(tQ(t)==="object"||typeof t=="function")?t:w1(e)}function vO(e,t){return vO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vO(e,t)}function eQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ii(e),e!==null););return e}function tQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rQ(e){var t=nQ();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 ZJ(this,o)}}var _c=function(e){QJ(r,e);var t=rQ(r);function r(n){XJ(this,r);var o;return o=t.call(this,n),xs(w1(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return JJ(r,[{key:"toDataBindModel",value:function(o){var i=Us(Ii(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return d.getMessage("number")}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(J);xs(_c,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),xs(_c,"controlFieldType",l.FieldTypes.DECIMAL),xs(_c,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_UNIT,l.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:[l.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,l.COMMON_SETTING_TYPE.MICROMETER,l.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function T1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oQ(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 iQ(e,t,r){return t&&R1(e.prototype,t),r&&R1(e,r),e}function E1(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 uQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cQ(e,t){return t&&(lQ(t)==="object"||typeof t=="function")?t:T1(e)}function hO(e,t){return hO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hO(e,t)}function lQ(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 fQ(e){var t=aQ();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 cQ(this,o)}}var $1=function(e){uQ(r,e);var t=fQ(r);function r(n){oQ(this,r);var o;return o=t.call(this,n),E1(T1(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return iQ(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(Q);E1($1,"controlFieldType",l.FieldTypes.DECIMAL);var S1={Designer:_c,Runtime:$1,Property:sc};function Qn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sQ(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 Ys(e){return Ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ys(e)}function _Q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gO(e,t)}function yQ(e,t){return t&&(dQ(t)==="object"||typeof t=="function")?t:Qn(e)}function gO(e,t){return gO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gO(e,t)}function dQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vQ(e){var t=pQ();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 yQ(this,o)}}var mO=function(e){_Q(r,e);var t=vQ(r);function r(n){sQ(this,r);var o,i;o=t.call(this,n),Cr(Qn(o),"dateType",void 0),Cr(Qn(o),"dateFormat",void 0),Cr(Qn(o),"commonTimeSetting",void 0),Cr(Qn(o),"setValueType",void 0),Cr(Qn(o),"defaultValue",void 0),Cr(Qn(o),"limitDateList",void 0),Cr(Qn(o),"allowDateRange",void 0),Cr(Qn(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:l.DateType.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];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:zs.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"\u8BF7\u8F93\u5165\u65E5\u671F";var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"";var p;o.limitDateList=(p=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(P){return new Ka(P)}))!==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 N1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hQ(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 gQ(e,t,r){return t&&I1(e.prototype,t),r&&I1(e,r),e}function bO(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hs=Reflect.get:Hs=function(o,i,u){var c=OQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Hs(e,t,r||e)}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function mQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OO(e,t)}function bQ(e,t){return t&&(wQ(t)==="object"||typeof t=="function")?t:N1(e)}function OO(e,t){return OO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OO(e,t)}function OQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mi(e),e!==null););return e}function wQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TQ(e){var t=PQ();return function(){var n=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bQ(this,o)}}var zs=function(e){mQ(r,e);var t=TQ(r);function r(n){hQ(this,r);var o;return o=t.call(this,n),bO(N1(o),"props",void 0),o.props=new mO(n==null?void 0:n.props),o}return gQ(r,[{key:"toDataBindModel",value:function(o){var i=Hs(Mi(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 d.getMessage("timestamp")}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(J);bO(zs,"controlFieldType",l.FieldTypes.TIMESTAMP),bO(zs,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function M1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RQ(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 EQ(e,t,r){return t&&L1(e.prototype,t),r&&L1(e,r),e}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 Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ws(e)}function $Q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wO(e,t)}function SQ(e,t){return t&&(NQ(t)==="object"||typeof t=="function")?t:M1(e)}function wO(e,t){return wO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wO(e,t)}function NQ(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 MQ(e){var t=IQ();return function(){var n=Ws(e),o;if(t){var i=Ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SQ(this,o)}}var A1=function(e){$Q(r,e);var t=MQ(r);function r(n){RQ(this,r);var o;return o=t.call(this,n),k1(M1(o),"props",void 0),o.props=new mO(n==null?void 0:n.props),o}return EQ(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(Q);k1(A1,"controlFieldType",l.FieldTypes.TIMESTAMP);var D1={Designer:zs,Runtime:A1,Property:mO};function tn(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 nn(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 j1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 LQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:tn(e)}function PO(e,t){return PO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PO(e,t)}function kQ(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 C1(e){var t=AQ();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 LQ(this,o)}}var DQ=function(e){j1(r,e);var t=C1(r);function r(n){B1(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),Ks=function(e){j1(r,e);var t=C1(r);function r(n){B1(this,r);var o,i;o=t.call(this,n),nn(tn(o),"dataBind",void 0),nn(tn(o),"rangeMin",void 0),nn(tn(o),"rangeMax",void 0),nn(tn(o),"placeholderStart",void 0),nn(tn(o),"placeholderEnd",void 0),nn(tn(o),"dateFormat",void 0),nn(tn(o),"commonTimeSetting",void 0),nn(tn(o),"dateType",void 0),nn(tn(o),"setValueType",void 0),nn(tn(o),"defaultValue",void 0),nn(tn(o),"limitDateList",void 0),o.dataBind=new JN(n==null?void 0:n.dataBind),o.defaultValue=new QN(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:l.DateType.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];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 y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F";var p;o.placeholderEnd=(p=n==null?void 0:n.placeholderEnd)!==null&&p!==void 0?p:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F";var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:Js.controlName;var h;return o.limitDateList=(h=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(P){return new Ka(P)}))!==null&&h!==void 0?h:[],o}return r}(K);nn(Ks,"RuntimeRules",DQ);function F1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BQ(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 jQ(e,t,r){return t&&V1(e.prototype,t),r&&V1(e,r),e}function TO(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xs=Reflect.get:Xs=function(o,i,u){var c=VQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Xs(e,t,r||e)}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function CQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:F1(e)}function RO(e,t){return RO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RO(e,t)}function VQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Li(e),e!==null););return e}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=Li(e),o;if(t){var i=Li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FQ(this,o)}}var Js=function(e){CQ(r,e);var t=GQ(r);function r(n){BQ(this,r);var o;return o=t.call(this,n),TO(F1(o),"props",void 0),o.props=new Ks(n==null?void 0:n.props),o}return jQ(r,[{key:"toDataBindModel",value:function(o){var i=Xs(Li(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 d.getMessage("timescope")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(J);TO(Js,"controlFieldType",l.FieldTypes.TIMESCOPE),TO(Js,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function x1(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 U1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HQ(e,t,r){return t&&U1(e.prototype,t),r&&U1(e,r),e}function G1(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 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&&EO(e,t)}function WQ(e,t){return t&&(qQ(t)==="object"||typeof t=="function")?t:x1(e)}function EO(e,t){return EO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EO(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=Qs(e),o;if(t){var i=Qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WQ(this,o)}}var Y1=function(e){zQ(r,e);var t=XQ(r);function r(n){YQ(this,r);var o;return o=t.call(this,n),G1(x1(o),"props",void 0),o.props=new Ks(n==null?void 0:n.props),o}return HQ(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(Q);G1(Y1,"controlFieldType",l.FieldTypes.TIMESCOPE);var H1={Designer:Js,Runtime:Y1,Property:Ks};function Fr(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 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 Zs(e){return Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zs(e)}function SO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 JQ(e,t){return t&&(QQ(t)==="object"||typeof t=="function")?t:Fr(e)}function NO(e,t){return NO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NO(e,t)}function QQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IO(e){var t=ZQ();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 JQ(this,o)}}var eZ=function(e){SO(r,e);var t=IO(r);function r(n){$O(this,r);var o;return o=t.call(this,n),Zn(Fr(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Zn(Fr(o),"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Zn(Fr(o),"defaultValue",{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(He),tZ=function(e){SO(r,e);var t=IO(r);function r(n){$O(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(_e),yc=function(e){SO(r,e);var t=IO(r);function r(n){$O(this,r);var o;o=t.call(this,n),Zn(Fr(o),"maxLength",void 0),Zn(Fr(o),"minLength",void 0),Zn(Fr(o),"defaultValue",void 0),Zn(Fr(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 a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:dc.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165",o.rowHeightSetting=new _g(n==null?void 0:n.rowHeightSetting),o}return r}(K);Zn(yc,"Rules",eZ),Zn(yc,"RuntimeRules",tZ);function z1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rZ(e,t,r){return t&&W1(e.prototype,t),r&&W1(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 t_(e){return t_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},t_(e)}function oZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MO(e,t)}function iZ(e,t){return t&&(uZ(t)==="object"||typeof t=="function")?t:z1(e)}function MO(e,t){return MO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},MO(e,t)}function uZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lZ(e){var t=cZ();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 iZ(this,o)}}var dc=function(e){oZ(r,e);var t=lZ(r);function r(n){nZ(this,r);var o;return o=t.call(this,n),e_(z1(o),"props",void 0),o.props=new yc(n==null?void 0:n.props),o}return rZ(r,null,[{key:"controlName",get:function(){return d.getMessage("textarea")}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(J);e_(dc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),e_(dc,"controlFieldType",l.FieldTypes.TEXT),e_(dc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.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 q1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fZ(e,t,r){return t&&K1(e.prototype,t),r&&K1(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 n_(e){return n_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},n_(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&&LO(e,t)}function _Z(e,t){return t&&(yZ(t)==="object"||typeof t=="function")?t:q1(e)}function LO(e,t){return LO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LO(e,t)}function yZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dZ();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 _Z(this,o)}}var J1=function(e){sZ(r,e);var t=pZ(r);function r(n){aZ(this,r);var o;return o=t.call(this,n),X1(q1(o),"props",void 0),o.props=new yc(n==null?void 0:n.props),o}return fZ(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(Q);X1(J1,"controlFieldType",l.FieldTypes.TEXT);var Q1={Designer:dc,Runtime:J1,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 kO(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 r_(e){return r_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},r_(e)}function AO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vZ(e,t){return t&&(hZ(t)==="object"||typeof t=="function")?t:po(e)}function DO(e,t){return DO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DO(e,t)}function hZ(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 BO(e){var t=gZ();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 vZ(this,o)}}var mZ=function(e){AO(r,e);var t=BO(r);function r(n){kO(this,r);var o;return o=t.call(this,n),Vr(po(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Vr(po(o),"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Vr(po(o),"defaultValue",{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(He),bZ=function(e){AO(r,e);var t=BO(r);function r(n){kO(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(_e),pc=function(e){AO(r,e);var t=BO(r);function r(n){kO(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 a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:vc.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u8F93\u5165",o}return r}(K);Vr(pc,"Rules",mZ),Vr(pc,"RuntimeRules",bZ);function Z1(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 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 wZ(e,t,r){return t&&eA(e.prototype,t),r&&eA(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 i_(e){return i_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},i_(e)}function PZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jO(e,t)}function TZ(e,t){return t&&(RZ(t)==="object"||typeof t=="function")?t:Z1(e)}function jO(e,t){return jO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jO(e,t)}function RZ(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 $Z(e){var t=EZ();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 TZ(this,o)}}var vc=function(e){PZ(r,e);var t=$Z(r);function r(n){OZ(this,r);var o;return o=t.call(this,n),o_(Z1(o),"props",void 0),o.props=new pc(n==null?void 0:n.props),o}return wZ(r,null,[{key:"controlName",get:function(){return d.getMessage("richText")}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(J);o_(vc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),o_(vc,"controlFieldType",l.FieldTypes.TEXT),o_(vc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.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 tA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NZ(e,t,r){return t&&nA(e.prototype,t),r&&nA(e,r),e}function rA(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 IZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&CO(e,t)}function MZ(e,t){return t&&(LZ(t)==="object"||typeof t=="function")?t:tA(e)}function CO(e,t){return CO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CO(e,t)}function LZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kZ();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 MZ(this,o)}}var oA=function(e){IZ(r,e);var t=AZ(r);function r(n){SZ(this,r);var o;return o=t.call(this,n),rA(tA(o),"props",void 0),o.props=new pc(n==null?void 0:n.props),o}return NZ(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(Q);rA(oA,"controlFieldType",l.FieldTypes.TEXT);var iA={Designer:vc,Runtime:oA,Property:pc};function Ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uA(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 c_(e){return c_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},c_(e)}function cA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DZ(e,t){return t&&(BZ(t)==="object"||typeof t=="function")?t:Ct(e)}function FO(e,t){return FO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},FO(e,t)}function BZ(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 lA(e){var t=jZ();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 DZ(this,o)}}var CZ=function(e){cA(r,e);var t=lA(r);function r(n){uA(this,r);var o;return o=t.call(this,n),Ft(Ct(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(so),l_=function(e){cA(r,e);var t=lA(r);function r(n){uA(this,r);var o;o=t.call(this,n),Ft(Ct(o),"options",void 0),Ft(Ct(o),"defaultShowOptions",void 0),Ft(Ct(o),"optionConfig",void 0),Ft(Ct(o),"defaultValue",void 0),Ft(Ct(o),"datasourceBind",void 0),Ft(Ct(o),"multistageFilling",void 0),Ft(Ct(o),"allowCopyOptions",void 0),Ft(Ct(o),"openMultistageFilling",void 0),Ft(Ct(o),"viewFormModelType",void 0),Ft(Ct(o),"canViewForm",void 0),Ft(Ct(o),"formBind",void 0);var i;o.options=In((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 a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:f_.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u9009\u62E9";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 y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var P;(P=o.multistageFilling)===null||P===void 0||P.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);Ft(l_,"Rules",CZ);function aA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FZ(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 VZ(e,t,r){return t&&fA(e.prototype,t),r&&fA(e,r),e}function VO(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 xZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:aA(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xO(e,t)}function GZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=YZ();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 UZ(this,o)}}var f_=function(e){xZ(r,e);var t=HZ(r);function r(n){FZ(this,r);var o;return o=t.call(this,n),VO(aA(o),"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return VZ(r,null,[{key:"controlName",get:function(){return d.getMessage("select")}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(J);VO(f_,"controlFieldType",l.FieldTypes.VARCHAR),VO(f_,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,l.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.CAN_VIEW_FORM,l.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function sA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zZ(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 WZ(e,t,r){return t&&_A(e.prototype,t),r&&_A(e,r),e}function yA(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 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&&UO(e,t)}function KZ(e,t){return t&&(XZ(t)==="object"||typeof t=="function")?t:sA(e)}function UO(e,t){return UO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UO(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=s_(e),o;if(t){var i=s_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KZ(this,o)}}var dA=function(e){qZ(r,e);var t=QZ(r);function r(n){zZ(this,r);var o;return o=t.call(this,n),yA(sA(o),"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return WZ(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(Q);yA(dA,"controlFieldType",l.FieldTypes.VARCHAR);var pA={Designer:f_,Runtime:dA,Property:l_};function rn(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 Vt(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 YO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZZ(e,t){return t&&(eee(t)==="object"||typeof t=="function")?t:rn(e)}function HO(e,t){return HO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HO(e,t)}function eee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tee();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 ZZ(this,o)}}var nee=function(e){YO(r,e);var t=zO(r);function r(n){GO(this,r);var o;return o=t.call(this,n),Vt(rn(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(so),ree=function(e){YO(r,e);var t=zO(r);function r(n){GO(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),hc=function(e){YO(r,e);var t=zO(r);function r(n){GO(this,r);var o;o=t.call(this,n),Vt(rn(o),"options",void 0),Vt(rn(o),"defaultShowOptions",void 0),Vt(rn(o),"optionConfig",void 0),Vt(rn(o),"defaultValue",void 0),Vt(rn(o),"datasourceBind",void 0),Vt(rn(o),"multistageFilling",void 0),Vt(rn(o),"openMultistageFilling",void 0),Vt(rn(o),"viewFormModelType",void 0),Vt(rn(o),"canViewForm",void 0),Vt(rn(o),"formBind",void 0);var i;o.options=In((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 a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:d_.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u9009\u62E9";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 y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!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);Vt(hc,"Rules",nee),Vt(hc,"RuntimeRules",ree);function vA(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 hA(e,t){for(var r=0;r<t.length;r++){var 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&&hA(e.prototype,t),r&&hA(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 y_(e){return y_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},y_(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&&qO(e,t)}function cee(e,t){return t&&(lee(t)==="object"||typeof t=="function")?t:vA(e)}function qO(e,t){return qO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qO(e,t)}function lee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=aee();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 cee(this,o)}}var d_=function(e){uee(r,e);var t=fee(r);function r(n){oee(this,r);var o;return o=t.call(this,n),WO(vA(o),"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return iee(r,null,[{key:"controlName",get:function(){return d.getMessage("selectMultiple")}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(J);WO(d_,"controlFieldType",l.FieldTypes.ARRAY),WO(d_,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.CAN_VIEW_FORM,l.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function gA(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 mA(e,t){for(var r=0;r<t.length;r++){var 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&&mA(e.prototype,t),r&&mA(e,r),e}function bA(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 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&&KO(e,t)}function dee(e,t){return t&&(pee(t)==="object"||typeof t=="function")?t:gA(e)}function KO(e,t){return KO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KO(e,t)}function pee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hee(e){var t=vee();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 dee(this,o)}}var OA=function(e){yee(r,e);var t=hee(r);function r(n){see(this,r);var o;return o=t.call(this,n),bA(gA(o),"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return _ee(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(Q);bA(OA,"controlFieldType",l.FieldTypes.ARRAY);var wA={Designer:d_,Runtime:OA,Property:hc};function er(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PA(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 v_(e){return v_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},v_(e)}function TA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gee(e,t){return t&&(mee(t)==="object"||typeof t=="function")?t:er(e)}function XO(e,t){return XO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},XO(e,t)}function mee(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 RA(e){var t=bee();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 gee(this,o)}}var Oee=function(e){TA(r,e);var t=RA(r);function r(n){PA(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),h_=function(e){TA(r,e);var t=RA(r);function r(n){PA(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 a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!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?_:m_.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";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(h_,"RuntimeRules",Oee);function EA(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 $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 Pee(e,t,r){return t&&$A(e.prototype,t),r&&$A(e,r),e}function JO(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 Tee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ree(e,t){return t&&(Eee(t)==="object"||typeof t=="function")?t:EA(e)}function QO(e,t){return QO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},QO(e,t)}function Eee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $ee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function See(e){var t=$ee();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 Ree(this,o)}}var m_=function(e){Tee(r,e);var t=See(r);function r(n){wee(this,r);var o;return o=t.call(this,n),JO(EA(o),"props",void 0),o.props=new h_(n==null?void 0:n.props),o}return Pee(r,null,[{key:"controlName",get:function(){return d.getMessage("people")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(J);JO(m_,"controlFieldType",l.FieldTypes.EMPLOYEES),JO(m_,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.MULTIPLE,l.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 SA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NA(e,t){for(var r=0;r<t.length;r++){var 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&&NA(e.prototype,t),r&&NA(e,r),e}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 b_(e){return b_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},b_(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&&ZO(e,t)}function Lee(e,t){return t&&(kee(t)==="object"||typeof t=="function")?t:SA(e)}function ZO(e,t){return ZO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZO(e,t)}function kee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dee(e){var t=Aee();return function(){var n=b_(e),o;if(t){var i=b_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lee(this,o)}}var MA=function(e){Mee(r,e);var t=Dee(r);function r(n){Nee(this,r);var o;return o=t.call(this,n),IA(SA(o),"props",void 0),o.props=new h_(n==null?void 0:n.props),o}return Iee(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(Q);IA(MA,"controlFieldType",l.FieldTypes.EMPLOYEES);var LA={Designer:m_,Runtime:MA,Property:h_};function hn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e0(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 O_(e){return O_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},O_(e)}function t0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bee(e,t){return t&&(jee(t)==="object"||typeof t=="function")?t:hn(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}function jee(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 r0(e){var t=Cee();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 Bee(this,o)}}var Fee=10485760,Vee=104857600,xee=1048576e3,Uee=function(e){t0(r,e);var t=r0(r);function r(n){e0(this,r);var o;return o=t.call(this,n),on(hn(o),"maxSize",{type:"number",min:0,max:xee,message:d.getMessage("attachmentMaxSize")}),o}return r}(He),Gee=function(e){t0(r,e);var t=r0(r);function r(n){e0(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:d.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(_e),ki=function(e){t0(r,e);var t=r0(r);function r(n){e0(this,r);var o;o=t.call(this,n),on(hn(o),"defaultValue",void 0),on(hn(o),"showType",void 0),on(hn(o),"resultShowType",void 0),on(hn(o),"attachmentAccept",void 0),on(hn(o),"maxLimit",void 0),on(hn(o),"minLimit",void 0),on(hn(o),"isShowWatermark",void 0),on(hn(o),"watermarkFx",void 0),on(hn(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 a;o.attachmentAccept=(a=n==null?void 0:n.attachmentAccept)!==null&&a!==void 0?a:[];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?_:Vee;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Ai.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);on(ki,"Rules",Uee),on(ki,"RuntimeRules",Gee);function kA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yee(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 Hee(e,t,r){return t&&AA(e.prototype,t),r&&AA(e,r),e}function w_(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 zee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o0(e,t)}function Wee(e,t){return t&&(qee(t)==="object"||typeof t=="function")?t:kA(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(e,t)}function qee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xee(e){var t=Kee();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 Wee(this,o)}}var Ai=function(e){zee(r,e);var t=Xee(r);function r(n){Yee(this,r);var o;return o=t.call(this,n),w_(kA(o),"props",void 0),o.props=new ki(n==null?void 0:n.props),o}return Hee(r,null,[{key:"controlName",get:function(){return d.getMessage("file")}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(J);w_(Ai,"controlEventKeys",["on_change"]),w_(Ai,"controlFieldType",l.FieldTypes.FILE),w_(Ai,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.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 DA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BA(e,t){for(var r=0;r<t.length;r++){var 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&&BA(e.prototype,t),r&&BA(e,r),e}function jA(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 Zee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ete(e,t){return t&&(tte(t)==="object"||typeof t=="function")?t:DA(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function tte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rte(e){var t=nte();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 ete(this,o)}}var u0=function(e){Zee(r,e);var t=rte(r);function r(n){Jee(this,r);var o;return o=t.call(this,n),jA(DA(o),"props",void 0),o.props=new ki(n==null?void 0:n.props),o}return Qee(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(Q);jA(u0,"controlFieldType",l.FieldTypes.FILE);var CA={Designer:Ai,Runtime:u0,Property:ki};function ote(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ite(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 ute(e,t,r){return t&&FA(e.prototype,t),r&&FA(e,r),e}function VA(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 cte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c0(e,t)}function lte(e,t){return t&&(ate(t)==="object"||typeof t=="function")?t:ote(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}function ate(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 ste(e){var t=fte();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 lte(this,o)}}var l0=function(e){cte(r,e);var t=ste(r);function r(n){ite(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 a;return o.props.placeholder=(a=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&a!==void 0?a:"\u4E0A\u4F20\u56FE\u7247",o}return ute(r,null,[{key:"controlName",get:function(){return d.getMessage("image")}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Ai);VA(l0,"controlFieldType",l.FieldTypes.IMAGE),VA(l0,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,l.COMMON_SETTING_TYPE.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function _te(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 xA(e,t){for(var r=0;r<t.length;r++){var 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&&xA(e.prototype,t),r&&xA(e,r),e}function E_(e){return E_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},E_(e)}function pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vte(e,t){return t&&(hte(t)==="object"||typeof t=="function")?t:_te(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}function hte(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 mte(e){var t=gte();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 vte(this,o)}}var bte=function(e){pte(r,e);var t=mte(r);function r(n){yte(this,r);var o,i,u,c;o=t.call(this,n),o.props.showType="image";var a;o.props.maxLimit=(a=n==null||(i=n.props)===null||i===void 0?void 0:i.maxLimit)!==null&&a!==void 0?a: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 dte(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(u0);function Ote(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 $_(e){return $_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$_(e)}function Pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tte(e,t){return t&&(Rte(t)==="object"||typeof t=="function")?t:Ote(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function Rte(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 $te(e){var t=Ete();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 Tte(this,o)}}var Ste=function(e){Pte(r,e);var t=$te(r);function r(n){return wte(this,r),t.call(this,n)}return r}(ki),UA={Designer:l0,Runtime:bte,Property:Ste};function wt(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 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 S_(e){return S_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},S_(e)}function _0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y0(e,t)}function Nte(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 Ite(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 Mte(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ite(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Lte(e,t){return t&&(kte(t)==="object"||typeof t=="function")?t:wt(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}function kte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ate(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d0(e){var t=Ate();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 Lte(this,o)}}var Dte=function(e){_0(r,e);var t=d0(r);function r(n){s0(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:d.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=d.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:d.getMessage("numberRangeSetError")}),o}return r}(so),Bte=function(e){_0(r,e);var t=d0(r);function r(n){s0(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:[Mte(Nte({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:d.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(_e),gc=function(e){_0(r,e);var t=d0(r);function r(n){s0(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 a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:2,o.dataBind=new KN(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 ra({value:"name"})]});var _;o.defaultValue=new XN((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:l.AMOUNT_TYPE.CNY});var y;o.unitPosition=(y=n==null?void 0:n.unitPosition)!==null&&y!==void 0?y:"right",o.options=In(n==null?void 0:n.options);var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:mc.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u8F93\u5165";var h;o.submitSelectCurrency=(h=n==null?void 0:n.submitSelectCurrency)!==null&&h!==void 0?h:!1;var P;return o.showUpperCase=(P=n==null?void 0:n.showUpperCase)!==null&&P!==void 0?P:!1,o}return r}(K);Ze(gc,"Rules",Dte),Ze(gc,"RuntimeRules",Bte);function GA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jte(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 Cte(e,t,r){return t&&YA(e.prototype,t),r&&YA(e,r),e}function N_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?I_=Reflect.get:I_=function(o,i,u){var c=xte(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},I_(e,t,r||e)}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(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&&p0(e,t)}function Vte(e,t){return t&&(Ute(t)==="object"||typeof t=="function")?t:GA(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p0(e,t)}function xte(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Di(e),e!==null););return e}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 Yte(e){var t=Gte();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 Vte(this,o)}}var mc=function(e){Fte(r,e);var t=Yte(r);function r(n){jte(this,r);var o;return o=t.call(this,n),N_(GA(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return Cte(r,[{key:"toDataBindModel",value:function(o){var i=I_(Di(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return d.getMessage("amount")}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(J);N_(mc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),N_(mc,"controlFieldType",l.FieldTypes.MONEY),N_(mc,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,l.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:[l.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,l.COMMON_SETTING_TYPE.MICROMETER,l.COMMON_SETTING_TYPE.PRECISION],visible:!0},{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 Hte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zA(e,t){for(var r=0;r<t.length;r++){var 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&&zA(e.prototype,t),r&&zA(e,r),e}function WA(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 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&&v0(e,t)}function qte(e,t){return t&&(Kte(t)==="object"||typeof t=="function")?t:HA(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}function Kte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jte(e){var t=Xte();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 qte(this,o)}}var qA=function(e){Wte(r,e);var t=Jte(r);function r(n){Hte(this,r);var o;return o=t.call(this,n),WA(HA(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return zte(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(Q);WA(qA,"controlFieldType",l.FieldTypes.MONEY);var KA={Designer:mc,Runtime:qA,Property:gc};function xr(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 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 L_(e){return L_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},L_(e)}function g0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qte(e,t){return t&&(Zte(t)==="object"||typeof t=="function")?t:xr(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}function Zte(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 b0(e){var t=ene();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 Qte(this,o)}}var tne=function(e){g0(r,e);var t=b0(r);function r(n){h0(this,r);var o;return o=t.call(this,n),nr(xr(o),"totalScore",[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}]),nr(xr(o),"defaultValue",{type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(He),nne=function(e){g0(r,e);var t=b0(r);function r(n){h0(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:d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(_e),bc=function(e){g0(r,e);var t=b0(r);function r(n){h0(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:l.SCORE_TYPE.STAR;var a;o.isShowExplain=(a=n==null?void 0:n.isShowExplain)!==null&&a!==void 0?a:!0;var f;o.explain=(f=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(y){return new Xa(y)}))!==null&&f!==void 0?f:Array(o.totalScore).fill(void 0).map(function(){return new Xa});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?_:Oc.controlName,o}return r}(K);nr(bc,"Rules",tne),nr(bc,"RuntimeRules",nne);function O0(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 rne(e){if(Array.isArray(e))return O0(e)}function XA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function one(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 ine(e,t,r){return t&&JA(e.prototype,t),r&&JA(e,r),e}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 A_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?A_=Reflect.get:A_=function(o,i,u){var c=fne(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},A_(e,t,r||e)}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function une(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cne(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function lne(){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 ane(e,t){return t&&(_ne(t)==="object"||typeof t=="function")?t:XA(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function fne(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Bi(e),e!==null););return e}function sne(e){return rne(e)||cne(e)||yne(e)||lne()}function _ne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yne(e,t){if(!!e){if(typeof e=="string")return O0(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 O0(e,t)}}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 pne(e){var t=dne();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 ane(this,o)}}var Oc=function(e){une(r,e);var t=pne(r);function r(n){one(this,r);var o;return o=t.call(this,n),k_(XA(o),"props",void 0),o.props=new bc(n==null?void 0:n.props),o}return ine(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,a=Array(c).fill(void 0).map(function(){return new Xa});(u=this.props.explain).push.apply(u,sne(a))}}A_(Bi(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return d.getMessage("score")}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(J);k_(Oc,"controlEventKeys",["on_change","on_click"]),k_(Oc,"controlFieldType",l.FieldTypes.DECIMAL),k_(Oc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.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 QA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hne(e,t,r){return t&&ZA(e.prototype,t),r&&ZA(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 D_(e){return D_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},D_(e)}function gne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mne(e,t){return t&&(bne(t)==="object"||typeof t=="function")?t:QA(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function bne(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 wne(e){var t=One();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 mne(this,o)}}var tD=function(e){gne(r,e);var t=wne(r);function r(n){vne(this,r);var o;return o=t.call(this,n),eD(QA(o),"props",void 0),o.props=new bc(n==null?void 0:n.props),o}return hne(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(Q);eD(tD,"controlFieldType",l.FieldTypes.DECIMAL);var nD={Designer:Oc,Runtime:tD,Property:bc};function B_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j_(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 oD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T0(e,t)}function Pne(e,t){return t&&(Tne(t)==="object"||typeof t=="function")?t:B_(e)}function T0(e,t){return T0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T0(e,t)}function Tne(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 iD(e){var t=Rne();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 Pne(this,o)}}var Ene=function(e){oD(r,e);var t=iD(r);function r(n){rD(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:d.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:d.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:d.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(_e),F_=function(e){oD(r,e);var t=iD(r);function r(n){rD(this,r);var o;o=t.call(this,n),j_(B_(o),"defaultValueType",void 0),j_(B_(o),"defaultValue",void 0),j_(B_(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:x_.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 a;o.defaultValue=new ZN((a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:{});var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"\u8BF7\u9009\u62E9\u5730\u5740",o}return r}(K);j_(F_,"RuntimeRules",Ene);function uD(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 cD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sne(e,t,r){return t&&cD(e.prototype,t),r&&cD(e,r),e}function R0(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 Nne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ine(e,t){return t&&(Mne(t)==="object"||typeof t=="function")?t:uD(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function Mne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Lne();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 Ine(this,o)}}var x_=function(e){Nne(r,e);var t=kne(r);function r(n){$ne(this,r);var o;return o=t.call(this,n),R0(uD(o),"props",void 0),o.props=new F_(n==null?void 0:n.props),o}return Sne(r,null,[{key:"controlName",get:function(){return d.getMessage("address")}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(J);R0(x_,"controlFieldType",l.FieldTypes.ADDRESS),R0(x_,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function lD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ane(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 Dne(e,t,r){return t&&aD(e.prototype,t),r&&aD(e,r),e}function fD(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 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&&$0(e,t)}function jne(e,t){return t&&(Cne(t)==="object"||typeof t=="function")?t:lD(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function Cne(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 Vne(e){var t=Fne();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 jne(this,o)}}var sD=function(e){Bne(r,e);var t=Vne(r);function r(n){Ane(this,r);var o;return o=t.call(this,n),fD(lD(o),"props",void 0),o.props=new F_(n==null?void 0:n.props),o}return Dne(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);fD(sD,"controlFieldType",l.FieldTypes.ADDRESS);var _D={Designer:x_,Runtime:sD,Property:F_};function gn(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 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 G_(e){return G_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},G_(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&&S0(e,t)}function xne(e,t){return t&&(Une(t)==="object"||typeof t=="function")?t:gn(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S0(e,t)}function Une(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pD(e){var t=Gne();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 xne(this,o)}}var Yne=function(e){dD(r,e);var t=pD(r);function r(n){yD(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){dD(r,e);var t=pD(r);function r(n){yD(this,r);var o;o=t.call(this,n),mn(gn(o),"showType",void 0),mn(gn(o),"range",void 0),mn(gn(o),"defaultValueType",void 0),mn(gn(o),"multiple",void 0),mn(gn(o),"rangeOptions",void 0),mn(gn(o),"defaultValue",void 0),mn(gn(o),"displayLevel",void 0),mn(gn(o),"showSubDept",void 0),mn(gn(o),"multistageFilling",void 0),mn(gn(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 a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"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 y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:wc.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u9009\u62E9\u90E8\u95E8";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(P){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new ht(P))})),o}return r}(K);mn(Y_,"RuntimeRules",Yne);function vD(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 hD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zne(e,t,r){return t&&hD(e.prototype,t),r&&hD(e,r),e}function H_(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?z_=Reflect.get:z_=function(o,i,u){var c=Kne(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},z_(e,t,r||e)}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function Wne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qne(e,t){return t&&(Xne(t)==="object"||typeof t=="function")?t:vD(e)}function N0(e,t){return N0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N0(e,t)}function Kne(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ji(e),e!==null););return e}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=ji(e),o;if(t){var i=ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qne(this,o)}}var wc=function(e){Wne(r,e);var t=Qne(r);function r(n){Hne(this,r);var o;return o=t.call(this,n),H_(vD(o),"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return zne(r,[{key:"toDataBindModel",value:function(o){var i=z_(ji(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(J);H_(wc,"controlName",d.getMessage("department")),H_(wc,"controlFieldType",l.FieldTypes.DEPARTMENTS),H_(wc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.MULTIPLE,l.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 gD(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 mD(e,t){for(var r=0;r<t.length;r++){var 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&&mD(e.prototype,t),r&&mD(e,r),e}function bD(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 tre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nre(e,t){return t&&(rre(t)==="object"||typeof t=="function")?t:gD(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function rre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ore(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ire(e){var t=ore();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 nre(this,o)}}var OD=function(e){tre(r,e);var t=ire(r);function r(n){Zne(this,r);var o;return o=t.call(this,n),bD(gD(o),"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return ere(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(Q);bD(OD,"controlFieldType",l.FieldTypes.DEPARTMENTS);var wD={Designer:wc,Runtime:OD,Property:Y_};function PD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ure(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cre(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 lre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 are(e,t){return t&&(fre(t)==="object"||typeof t=="function")?t:PD(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(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 _re(e){var t=sre();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 are(this,o)}}var L0=function(e){lre(r,e);var t=_re(r);function r(n){ure(this,r);var o;o=t.call(this,n),cre(PD(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:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",o}return r}(K);function TD(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 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 dre(e,t,r){return t&&RD(e.prototype,t),r&&RD(e,r),e}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 X_(e){return X_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},X_(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&&k0(e,t)}function vre(e,t){return t&&(hre(t)==="object"||typeof t=="function")?t:TD(e)}function k0(e,t){return k0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k0(e,t)}function hre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mre(e){var t=gre();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 vre(this,o)}}var Pc=function(e){pre(r,e);var t=mre(r);function r(n){yre(this,r);var o;return o=t.call(this,n),K_(TD(o),"props",void 0),o.props=new L0(n==null?void 0:n.props),o}return dre(r,null,[{key:"controlName",get:function(){return d.getMessage("autoNumber")}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(J);K_(Pc,"controlEventKeys",["on_change"]),K_(Pc,"controlFieldType",l.FieldTypes.AUTO_NUMBER),K_(Pc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{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 bre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $D(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ore(e,t,r){return t&&$D(e.prototype,t),r&&$D(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 J_(e){return J_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},J_(e)}function wre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Pre(e,t){return t&&(Tre(t)==="object"||typeof t=="function")?t:ED(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function Tre(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 Ere(e){var t=Rre();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 Pre(this,o)}}var ND=function(e){wre(r,e);var t=Ere(r);function r(n){bre(this,r);var o;return o=t.call(this,n),SD(ED(o),"props",void 0),o.props=new L0(n==null?void 0:n.props),o}return Ore(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(Q);SD(ND,"controlFieldType",l.FieldTypes.AUTO_NUMBER);var ID={Designer:Pc,Runtime:ND,Property:L0};function An(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 bn(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 B0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $re(e,t){return t&&(Sre(t)==="object"||typeof t=="function")?t:An(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}function Sre(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 C0(e){var t=Nre();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 $re(this,o)}}var Ire=function(e){B0(r,e);var t=C0(r);function r(n){D0(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}(He),Mre=function(e){B0(r,e);var t=C0(r);function r(n){D0(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}}),o}return r}(_e),Tc=function(e){B0(r,e);var t=C0(r);function r(n){D0(this,r);var o;o=t.call(this,n),bn(An(o),"precision",void 0),bn(An(o),"micrometer",void 0),bn(An(o),"showUpperCase",void 0),bn(An(o),"scriptSrc",void 0),bn(An(o),"scriptEcho",void 0),bn(An(o),"dataBind",void 0),bn(An(o),"defaultValue",void 0),bn(An(o),"unitPosition",void 0),bn(An(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 eI(n==null?void 0:n.dataBind),o.defaultValue=new tI(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Rc.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:"\u8BF7\u8F93\u5165";var _;o.scriptEcho=(_=n==null?void 0:n.scriptEcho)!==null&&_!==void 0?_:[];var y;o.scriptSrc=(y=n==null?void 0:n.scriptSrc)!==null&&y!==void 0?y:"";var p;return o.calcOnMounted=(p=n==null?void 0:n.calcOnMounted)!==null&&p!==void 0?p:!1,o}return r}(K);bn(Tc,"Rules",Ire),bn(Tc,"RuntimeRules",Mre);function MD(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 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 kre(e,t,r){return t&&LD(e.prototype,t),r&&LD(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 ey(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ey=Reflect.get:ey=function(o,i,u){var c=Bre(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},ey(e,t,r||e)}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function Are(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dre(e,t){return t&&(jre(t)==="object"||typeof t=="function")?t:MD(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function Bre(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ci(e),e!==null););return e}function jre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fre(e){var t=Cre();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 Dre(this,o)}}var Rc=function(e){Are(r,e);var t=Fre(r);function r(n){Lre(this,r);var o;return o=t.call(this,n),Z_(MD(o),"props",void 0),o.props=new Tc(n==null?void 0:n.props),o}return kre(r,[{key:"toDataBindModel",value:function(o){var i=ey(Ci(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return d.getMessage("calc")}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(J);Z_(Rc,"controlEventKeys",["on_change"]),Z_(Rc,"controlFieldType",l.FieldTypes.CALC),Z_(Rc,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.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:[l.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,l.COMMON_SETTING_TYPE.MICROMETER,l.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function kD(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 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 xre(e,t,r){return t&&AD(e.prototype,t),r&&AD(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 ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ty(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&&V0(e,t)}function Gre(e,t){return t&&(Yre(t)==="object"||typeof t=="function")?t:kD(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function Yre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Hre();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 Gre(this,o)}}var BD=function(e){Ure(r,e);var t=zre(r);function r(n){Vre(this,r);var o;return o=t.call(this,n),DD(kD(o),"props",void 0),o.props=new Tc(n==null?void 0:n.props),o}return xre(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(Q);DD(BD,"controlFieldType",l.FieldTypes.CALC);var jD={Designer:Rc,Runtime:BD,Property:Tc};function Fi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CD(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 ny(e){return ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ny(e)}function FD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wre(e,t){return t&&(qre(t)==="object"||typeof t=="function")?t:Fi(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function qre(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 VD(e){var t=Kre();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 Wre(this,o)}}var Xre=function(e){FD(r,e);var t=VD(r);function r(n){CD(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 a=c.every(function(f){return!f});return a?Promise.reject(d.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(_e),ry=function(e){FD(r,e);var t=VD(r);function r(n){CD(this,r);var o;o=t.call(this,n),Vi(Fi(o),"rangeMin",void 0),Vi(Fi(o),"rangeMax",void 0),Vi(Fi(o),"placeholderStart",void 0),Vi(Fi(o),"placeholderEnd",void 0),Vi(Fi(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 a;o.placeholderStart=(a=n==null?void 0:n.placeholderStart)!==null&&a!==void 0?a:"\u6700\u5C0F\u503C";var f;o.placeholderEnd=(f=n==null?void 0:n.placeholderEnd)!==null&&f!==void 0?f:"\u6700\u5927\u503C";var s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:iy.controlName,o}return r}(K);Vi(ry,"RuntimeRules",Xre);function xD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jre(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 Qre(e,t,r){return t&&UD(e.prototype,t),r&&UD(e,r),e}function U0(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 Zre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eoe(e,t){return t&&(toe(t)==="object"||typeof t=="function")?t:xD(e)}function G0(e,t){return G0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G0(e,t)}function toe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function noe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function roe(e){var t=noe();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 eoe(this,o)}}var iy=function(e){Zre(r,e);var t=roe(r);function r(n){Jre(this,r);var o;return o=t.call(this,n),U0(xD(o),"props",void 0),o.props=new ry(n==null?void 0:n.props),o}return Qre(r,null,[{key:"controlName",get:function(){return d.getMessage("searchNumberRange")}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(J);U0(iy,"controlFieldType",l.FieldTypes.DECIMAL_RANGE),U0(iy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function GD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ooe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ioe(e,t,r){return t&&YD(e.prototype,t),r&&YD(e,r),e}function HD(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 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&&Y0(e,t)}function coe(e,t){return t&&(loe(t)==="object"||typeof t=="function")?t:GD(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y0(e,t)}function loe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function foe(e){var t=aoe();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 coe(this,o)}}var zD=function(e){uoe(r,e);var t=foe(r);function r(n){ooe(this,r);var o;return o=t.call(this,n),HD(GD(o),"props",void 0),o.props=new ry(n==null?void 0:n.props),o}return ioe(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(Q);HD(zD,"controlFieldType",l.FieldTypes.DECIMAL_RANGE);var WD={Designer:iy,Runtime:zD,Property:ry};function On(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wn(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 KD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 soe(e,t){return t&&(_oe(t)==="object"||typeof t=="function")?t:On(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H0(e,t)}function _oe(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 XD(e){var t=yoe();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 soe(this,o)}}var doe=function(e){KD(r,e);var t=XD(r);function r(n){qD(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),ly=function(e){KD(r,e);var t=XD(r);function r(n){qD(this,r);var o,i;o=t.call(this,n),wn(On(o),"rangeMin",void 0),wn(On(o),"rangeMax",void 0),wn(On(o),"placeholderStart",void 0),wn(On(o),"placeholderEnd",void 0),wn(On(o),"dateType",void 0),wn(On(o),"dateFormat",void 0),wn(On(o),"commonTimeSetting",void 0),wn(On(o),"setValueType",void 0),wn(On(o),"defaultValue",void 0),wn(On(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:l.DateType.DATE;var a;o.dateFormat=(a=n==null?void 0:n.dateFormat)!==null&&a!==void 0?a:"";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 y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:"\u5F00\u59CB\u65E5\u671F";var m;o.placeholderEnd=(m=n==null?void 0:n.placeholderEnd)!==null&&m!==void 0?m:"\u7ED3\u675F\u65E5\u671F";var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:fy.controlName;var P;return o.limitDateList=(P=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(v){return new Ka(v)}))!==null&&P!==void 0?P:[],o}return r}(K);wn(ly,"RuntimeRules",doe);function JD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function poe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function voe(e,t,r){return t&&QD(e.prototype,t),r&&QD(e,r),e}function z0(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 hoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 goe(e,t){return t&&(moe(t)==="object"||typeof t=="function")?t:JD(e)}function W0(e,t){return W0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W0(e,t)}function moe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function boe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ooe(e){var t=boe();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 goe(this,o)}}var fy=function(e){hoe(r,e);var t=Ooe(r);function r(n){poe(this,r);var o;return o=t.call(this,n),z0(JD(o),"props",void 0),o.props=new ly(n==null?void 0:n.props),o}return voe(r,null,[{key:"controlName",get:function(){return d.getMessage("timescope")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(J);z0(fy,"controlFieldType",l.FieldTypes.ARRAY),z0(fy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function ZD(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 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 Poe(e,t,r){return t&&eB(e.prototype,t),r&&eB(e,r),e}function tB(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 Toe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q0(e,t)}function Roe(e,t){return t&&(Eoe(t)==="object"||typeof t=="function")?t:ZD(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q0(e,t)}function Eoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $oe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Soe(e){var t=$oe();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 Roe(this,o)}}var nB=function(e){Toe(r,e);var t=Soe(r);function r(n){woe(this,r);var o;return o=t.call(this,n),tB(ZD(o),"props",void 0),o.props=new ly(n==null?void 0:n.props),o}return Poe(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(Q);tB(nB,"controlFieldType",l.FieldTypes.ARRAY);var rB={Designer:fy,Runtime:nB,Property:ly};function Ec(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K0(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 _y(e){return _y=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_y(e)}function X0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Noe(e,t){return t&&(Ioe(t)==="object"||typeof t=="function")?t:Ec(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}function Ioe(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 Q0(e){var t=Moe();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 Noe(this,o)}}var Loe=function(e){X0(r,e);var t=Q0(r);function r(n){K0(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(He),koe=function(e){X0(r,e);var t=Q0(r);function r(n){K0(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(_e),$c=function(e){X0(r,e);var t=Q0(r);function r(n){K0(this,r);var o;o=t.call(this,n),xi(Ec(o),"controlExportName",void 0),xi(Ec(o),"permissions",void 0),xi(Ec(o),"defaultValue",void 0),xi(Ec(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 a;o.permissions=(a=n==null?void 0:n.permissions)!==null&&a!==void 0?a:[];var f;return o.isInlineEdit=(f=n==null?void 0:n.isInlineEdit)!==null&&f!==void 0?f:!1,o}return r}(K);xi($c,"Rules",Loe),xi($c,"RuntimeRules",koe);function oB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aoe(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 Doe(e,t,r){return t&&iB(e.prototype,t),r&&iB(e,r),e}function Sc(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 Boe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 joe(e,t){return t&&(Coe(t)==="object"||typeof t=="function")?t:oB(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(e,t)}function Coe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Foe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Foe();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 joe(this,o)}}var Ui=function(e){Boe(r,e);var t=Voe(r);function r(n){Aoe(this,r);var o;return o=t.call(this,n),Sc(oB(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return Doe(r,null,[{key:"controlName",get:function(){return d.getMessage("vueFormItem")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(J);Sc(Ui,"controlFieldType",l.FieldTypes.ANY),Sc(Ui,"controlEventKeys",[]),Sc(Ui,"slots",["grid-table-toolbar-slot",Xv.DEFAULT]),Sc(Ui,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,l.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function uB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uoe(e,t,r){return t&&cB(e.prototype,t),r&&cB(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 dy(e){return dy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dy(e)}function Goe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yoe(e,t){return t&&(Hoe(t)==="object"||typeof t=="function")?t:uB(e)}function ew(e,t){return ew=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ew(e,t)}function Hoe(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 Woe(e){var t=zoe();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 Yoe(this,o)}}var aB=function(e){Goe(r,e);var t=Woe(r);function r(n){xoe(this,r);var o;return o=t.call(this,n),lB(uB(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return Uoe(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(Q);lB(aB,"controlFieldType",l.FieldTypes.ANY);var fB={Designer:Ui,Runtime:aB,Property:$c};function et(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 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 py(e){return py=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},py(e)}function _B(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qoe(e,t){return t&&(Koe(t)==="object"||typeof t=="function")?t:et(e)}function tw(e,t){return tw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tw(e,t)}function Koe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yB(e){var t=Xoe();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 qoe(this,o)}}var Joe=function(e){_B(r,e);var t=yB(r);function r(n){sB(this,r);var o;return o=t.call(this,n),tt(et(o),"listPageBind",[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]),tt(et(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(so),vy=function(e){_B(r,e);var t=yB(r);function r(n){sB(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=In((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 ta(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:Nc.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:"\u8BF7\u9009\u62E9";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 oa(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new ht(P))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!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(vy,"Rules",Joe);function dB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pB(e,t){for(var r=0;r<t.length;r++){var 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&&pB(e.prototype,t),r&&pB(e,r),e}function hy(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?gy=Reflect.get:gy=function(o,i,u){var c=nie(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},gy(e,t,r||e)}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function eie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tie(e,t){return t&&(rie(t)==="object"||typeof t=="function")?t:dB(e)}function nw(e,t){return nw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nw(e,t)}function nie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gi(e),e!==null););return e}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 iie(e){var t=oie();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 tie(this,o)}}var Nc=function(e){eie(r,e);var t=iie(r);function r(n){Qoe(this,r);var o;return o=t.call(this,n),hy(dB(o),"props",void 0),o.props=new vy(n==null?void 0:n.props),o}return Zoe(r,[{key:"toDataBindModel",value:function(o){var i=gy(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 d.getMessage("selectRelation")}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(J);hy(Nc,"controlFieldType",l.FieldTypes.VARCHAR),hy(Nc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,l.COMMON_SETTING_TYPE.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.CAN_VIEW_FORM,l.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}]),hy(Nc,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function vB(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 hB(e,t){for(var r=0;r<t.length;r++){var 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&&hB(e.prototype,t),r&&hB(e,r),e}function gB(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 lie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aie(e,t){return t&&(fie(t)==="object"||typeof t=="function")?t:vB(e)}function rw(e,t){return rw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rw(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=my(e),o;if(t){var i=my(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aie(this,o)}}var mB=function(e){lie(r,e);var t=_ie(r);function r(n){uie(this,r);var o;return o=t.call(this,n),gB(vB(o),"props",void 0),o.props=new vy(n==null?void 0:n.props),o}return cie(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(Q);gB(mB,"controlFieldType",l.FieldTypes.VARCHAR);var bB={Designer:Nc,Runtime:mB,Property:vy};function yie(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 by(e){return by=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},by(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&&ow(e,t)}function vie(e,t){return t&&(hie(t)==="object"||typeof t=="function")?t:yie(e)}function ow(e,t){return ow=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ow(e,t)}function hie(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 mie(e){var t=gie();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 vie(this,o)}}var iw=function(e){pie(r,e);var t=mie(r);function r(n){return die(this,r),t.call(this,n)}return r}(Si);function OB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bie(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 Oie(e,t,r){return t&&wB(e.prototype,t),r&&wB(e,r),e}function PB(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 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&&uw(e,t)}function Pie(e,t){return t&&(Tie(t)==="object"||typeof t=="function")?t:OB(e)}function uw(e,t){return uw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uw(e,t)}function Tie(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 Eie(e){var t=Rie();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 Pie(this,o)}}var TB=function(e){wie(r,e);var t=Eie(r);function r(n){bie(this,r);var o;return o=t.call(this,n),PB(OB(o),"props",void 0),o.props=new iw(n==null?void 0:n.props),o}return Oie(r,null,[{key:"controlName",get:function(){return d.getMessage("input")}},{key:"controlType",get:function(){return"search-input"}}]),r}(Ni);PB(TB,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}]);function RB(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 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 Sie(e,t,r){return t&&EB(e.prototype,t),r&&EB(e,r),e}function $B(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 Nie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Iie(e,t){return t&&(Mie(t)==="object"||typeof t=="function")?t:RB(e)}function cw(e,t){return cw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cw(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 kie(e){var t=Lie();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 Iie(this,o)}}var SB=function(e){Nie(r,e);var t=kie(r);function r(n){$ie(this,r);var o;return o=t.call(this,n),$B(RB(o),"props",void 0),o.props=new iw(n==null?void 0:n.props),o}return Sie(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(Q);$B(SB,"controlFieldType",l.FieldTypes.VARCHAR);var NB={Designer:TB,Runtime:SB,Property:iw};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 Me(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 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&&fw(e,t)}function Aie(e,t){return t&&(Die(t)==="object"||typeof t=="function")?t:Ie(e)}function fw(e,t){return fw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fw(e,t)}function Die(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 sw(e){var t=Bie();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 Aie(this,o)}}var jie=function(e){aw(r,e);var t=sw(r);function r(n){lw(this,r);var o;return o=t.call(this,n),Me(Ie(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Ku.call(Ie(o),n,Ur.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}]),o}return r}(He),Cie=function(e){aw(r,e);var t=sw(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),Ic=function(e){aw(r,e);var t=sw(r);function r(n){lw(this,r);var o,i;o=t.call(this,n),Me(Ie(o),"placeholder",void 0),Me(Ie(o),"multiple",void 0),Me(Ie(o),"canSearch",void 0),Me(Ie(o),"levelType",void 0),Me(Ie(o),"optionalLevel",void 0),Me(Ie(o),"containsSubNode",void 0),Me(Ie(o),"defaultDisplay",void 0),Me(Ie(o),"isShowIncludeSub",void 0),Me(Ie(o),"isDefaultCheckSub",void 0),Me(Ie(o),"isShowFilterItem",void 0),Me(Ie(o),"defaultCollapse",void 0),Me(Ie(o),"defaultCollapseLevel",void 0),Me(Ie(o),"optionConfig","datasource"),Me(Ie(o),"datasourceBind",void 0),Me(Ie(o),"filterItemDatasourceBind",void 0),Me(Ie(o),"multistageFilling",void 0),Me(Ie(o),"defaultValue",void 0),Me(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:"\u8BF7\u9009\u62E9";var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!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 y;o.containsSubNode=(y=n==null?void 0:n.containsSubNode)!==null&&y!==void 0?y:!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 P;o.defaultCollapse=(P=n==null?void 0:n.defaultCollapse)!==null&&P!==void 0?P:"all";var v;o.defaultCollapseLevel=(v=n==null?void 0:n.defaultCollapseLevel)!==null&&v!==void 0?v:1;var $;o.datasourceBind=new hg(($=n==null?void 0:n.datasourceBind)!==null&&$!==void 0?$:{attributes:Ur.controlCustomAttributes});var b;o.filterItemDatasourceBind=new hg((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 R;o.multistageFilling=(R=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(I){return new ht(I)}))!==null&&R!==void 0?R:[];var E;return o.defaultValue=(E=n==null?void 0:n.defaultValue)!==null&&E!==void 0?E:[],o}return r}(K);Me(Ic,"Rules",jie),Me(Ic,"RuntimeRules",Cie);function IB(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 MB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vie(e,t,r){return t&&MB(e.prototype,t),r&&MB(e,r),e}function Ty(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 xie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_w(e,t)}function Uie(e,t){return t&&(Gie(t)==="object"||typeof t=="function")?t:IB(e)}function _w(e,t){return _w=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_w(e,t)}function Gie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Yie();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 Uie(this,o)}}var Ur=function(e){xie(r,e);var t=Hie(r);function r(n){Fie(this,r);var o;return o=t.call(this,n),Ty(IB(o),"props",void 0),o.props=new Ic(n==null?void 0:n.props),o}return Vie(r,null,[{key:"controlName",get:function(){return d.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);Ty(Ur,"controlEventKeys",["on_change","on_click"]),Ty(Ur,"controlFieldType",l.FieldTypes.ARRAY),Ty(Ur,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.MULTIPLE,l.COMMON_SETTING_TYPE.CAN_SEARCH,l.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,l.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,l.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 LB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wie(e,t,r){return t&&kB(e.prototype,t),r&&kB(e,r),e}function AB(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 qie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kie(e,t){return t&&(Xie(t)==="object"||typeof t=="function")?t:LB(e)}function yw(e,t){return yw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yw(e,t)}function Xie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qie(e){var t=Jie();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 Kie(this,o)}}var DB=function(e){qie(r,e);var t=Qie(r);function r(n){zie(this,r);var o;return o=t.call(this,n),AB(LB(o),"props",void 0),o.props=new Ic(n==null?void 0:n.props),o}return Wie(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(Q);AB(DB,"controlFieldType",l.FieldTypes.ARRAY);var BB={Designer:Ur,Runtime:DB,Property:Ic};function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dw(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 $y(e){return $y=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$y(e)}function pw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vw(e,t)}function Zie(e,t){return t&&(eue(t)==="object"||typeof t=="function")?t:nt(e)}function vw(e,t){return vw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vw(e,t)}function eue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hw(e){var t=tue();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 Zie(this,o)}}var nue=function(e){pw(r,e);var t=hw(r);function r(n){dw(this,r);var o;return o=t.call(this,n),rt(nt(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),rt(nt(o),"externalScope",{type:"any"}),Ku.call(nt(o),n,Yi.controlCustomAttributes),n.externalType===l.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")}),o}return r}(He),rue=function(e){pw(r,e);var t=hw(r);function r(n){dw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Mc=function(e){pw(r,e);var t=hw(r);function r(n){dw(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 a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!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?_:Yi.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1";var p;o.datasourceBind=new Yu((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:Yi.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:l.OrganizeType.INTERNAL;var h;o.insideType=(h=n==null?void 0:n.insideType)!==null&&h!==void 0?h:l.InternalType.ADMIN;var P;o.externalType=(P=n==null?void 0:n.externalType)!==null&&P!==void 0?P:l.AssignType.ALL;var v;o.externalScope=(v=n==null?void 0:n.externalScope)!==null&&v!==void 0?v:[];var $;return 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(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new ht(b))})),o}return r}(K);rt(Mc,"Rules",nue),rt(Mc,"RuntimeRules",rue);function jB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iue(e,t,r){return t&&CB(e.prototype,t),r&&CB(e,r),e}function gw(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 uue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cue(e,t){return t&&(lue(t)==="object"||typeof t=="function")?t:jB(e)}function mw(e,t){return mw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mw(e,t)}function lue(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 fue(e){var t=aue();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 cue(this,o)}}var Yi=function(e){uue(r,e);var t=fue(r);function r(n){oue(this,r);var o;return o=t.call(this,n),gw(jB(o),"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return iue(r,null,[{key:"controlName",get:function(){return d.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);gw(Yi,"controlFieldType",l.FieldTypes.EMPLOYEES),gw(Yi,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.MULTIPLE,l.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 FB(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 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 _ue(e,t,r){return t&&VB(e.prototype,t),r&&VB(e,r),e}function xB(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 yue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 due(e,t){return t&&(pue(t)==="object"||typeof t=="function")?t:FB(e)}function bw(e,t){return bw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bw(e,t)}function pue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hue(e){var t=vue();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 due(this,o)}}var UB=function(e){yue(r,e);var t=hue(r);function r(n){sue(this,r);var o;return o=t.call(this,n),xB(FB(o),"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return _ue(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(Q);xB(UB,"controlFieldType",l.FieldTypes.EMPLOYEES);var GB={Designer:Yi,Runtime:UB,Property:Mc};function Dn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bn(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 HB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gue(e,t){return t&&(mue(t)==="object"||typeof t=="function")?t:Dn(e)}function Ow(e,t){return Ow=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ow(e,t)}function mue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=bue();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 gue(this,o)}}var Oue=function(e){HB(r,e);var t=zB(r);function r(n){YB(this,r);var o;return o=t.call(this,n),Bn(Dn(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields: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:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator:function(f,s,_){if(u.type==="public"&&lo(s.value)&&s.value.length===0){_("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}_()}},company:{type:"object",required:!0,validator:function(f,s,_){if(u.type==="public"&&u.signatureType.includes("company")&&lo(s.value)&&s.value.length===0){_("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}_()}}}},i},{})}}},o}return r}(He),My=function(e){HB(r,e);var t=zB(r);function r(n){YB(this,r);var o;o=t.call(this,n),Bn(Dn(o),"buttonType",void 0),Bn(Dn(o),"content",void 0),Bn(Dn(o),"showType",void 0),Bn(Dn(o),"color",void 0),Bn(Dn(o),"icon",void 0),Bn(Dn(o),"command",""),Bn(Dn(o),"isLoading",!1),Bn(Dn(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Lc.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 a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"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 sM(n==null?void 0:n.signatureConfig),o}return r}(K);Bn(My,"Rules",Oue);function WB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wue(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 Pue(e,t,r){return t&&qB(e.prototype,t),r&&qB(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 ky(e){return ky=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ky(e)}function Tue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rue(e,t){return t&&(Eue(t)==="object"||typeof t=="function")?t:WB(e)}function ww(e,t){return ww=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ww(e,t)}function Eue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $ue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sue(e){var t=$ue();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 Rue(this,o)}}var Lc=function(e){Tue(r,e);var t=Sue(r);function r(n){wue(this,r);var o;return o=t.call(this,n),Ly(WB(o),"props",void 0),o.props=new My(n==null?void 0:n.props),o}return Pue(r,null,[{key:"controlName",get:function(){return d.getMessage("electronicSignature")}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(J);Ly(Lc,"controlEventKeys",["on_click","on_click_finish"]),Ly(Lc,"controlFieldType",l.FieldTypes.VARCHAR),Ly(Lc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[l.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 KB(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 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 Iue(e,t,r){return t&&XB(e.prototype,t),r&&XB(e,r),e}function JB(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 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&&Pw(e,t)}function Lue(e,t){return t&&(kue(t)==="object"||typeof t=="function")?t:KB(e)}function Pw(e,t){return Pw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pw(e,t)}function kue(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 Due(e){var t=Aue();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 Lue(this,o)}}var QB=function(e){Mue(r,e);var t=Due(r);function r(n){Nue(this,r);var o;return o=t.call(this,n),JB(KB(o),"props",void 0),o.props=new My(n==null?void 0:n.props),o}return Iue(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(Q);JB(QB,"controlFieldType",l.FieldTypes.VARCHAR);var ZB={Designer:Lc,Runtime:QB,Property:My};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 Dy(e){return Dy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dy(e)}function Rw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bue(e,t){return t&&(jue(t)==="object"||typeof t=="function")?t:ft(e)}function Ew(e,t){return Ew=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ew(e,t)}function jue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Cue();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 Bue(this,o)}}var Fue=function(e){Rw(r,e);var t=$w(r);function r(n){Tw(this,r);var o;return o=t.call(this,n),ot(ft(o),"content",{type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")}),ot(ft(o),"canAdd",void 0),ot(ft(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(d.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(d.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(u,c,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(d.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(He),Vue=function(e){Rw(r,e);var t=$w(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),kc=function(e){Rw(r,e);var t=$w(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:Ac.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 a;o.addLocal=(a=n==null?void 0:n.addLocal)!==null&&a!==void 0?a:!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 y;o.canExport=(y=n==null?void 0:n.canExport)!==null&&y!==void 0?y:!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:Fee;var h;o.defaultValue=(h=n==null?void 0:n.defaultValue)!==null&&h!==void 0?h:[],o.wpsSetting=new _M(n==null?void 0:n.wpsSetting);var P;return o.revisionsMode=(P=n==null?void 0:n.revisionsMode)!==null&&P!==void 0?P:!1,o}return r}(K);ot(kc,"Rules",Fue),ot(kc,"RuntimeRules",Vue);function ej(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uue(e,t,r){return t&&tj(e.prototype,t),r&&tj(e,r),e}function By(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jy(e){return jy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jy(e)}function Gue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yue(e,t){return t&&(Hue(t)==="object"||typeof t=="function")?t:ej(e)}function Sw(e,t){return Sw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sw(e,t)}function Hue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wue(e){var t=zue();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 Yue(this,o)}}var Ac=function(e){Gue(r,e);var t=Wue(r);function r(n){xue(this,r);var o;return o=t.call(this,n),By(ej(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return Uue(r,null,[{key:"controlName",get:function(){return d.getMessage("WPS")}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(J);By(Ac,"controlEventKeys",["on_change","on_wps_open"]),By(Ac,"controlFieldType",l.FieldTypes.FILE),By(Ac,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,l.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 nj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function que(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kue(e,t,r){return t&&rj(e.prototype,t),r&&rj(e,r),e}function oj(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 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&&Nw(e,t)}function Jue(e,t){return t&&(Que(t)==="object"||typeof t=="function")?t:nj(e)}function Nw(e,t){return Nw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nw(e,t)}function Que(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ece(e){var t=Zue();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 Jue(this,o)}}var ij=function(e){Xue(r,e);var t=ece(r);function r(n){que(this,r);var o;return o=t.call(this,n),oj(nj(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return Kue(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(Q);oj(ij,"controlFieldType",l.FieldTypes.FILE);var uj={Designer:Ac,Runtime:ij,Property:kc};function Ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iw(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 Fy(e){return Fy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fy(e)}function Mw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lw(e,t)}function tce(e,t){return t&&(nce(t)==="object"||typeof t=="function")?t:Ke(e)}function Lw(e,t){return Lw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lw(e,t)}function nce(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 kw(e){var t=rce();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 tce(this,o)}}var oce=function(e){Mw(r,e);var t=kw(r);function r(n){Iw(this,r);var o;return o=t.call(this,n),Xe(Ke(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Xe(Ke(o),"businessScope",{type:"any"}),Ku.call(Ke(o),n,vo.controlCustomAttributes),n.businessType===l.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return r}(He),ice=function(e){Mw(r,e);var t=kw(r);function r(n){Iw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Dc=function(e){Mw(r,e);var t=kw(r);function r(n){Iw(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 a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"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 y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!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:"\u8BF7\u9009\u62E9\u90E8\u95E8";var h;o.datasourceBind=new Yu((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:vo.controlCustomAttributes});var P;o.datasourceType=(P=n==null?void 0:n.datasourceType)!==null&&P!==void 0?P:l.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:l.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(Dc,"Rules",oce),Xe(Dc,"RuntimeRules",ice);function cj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cce(e,t,r){return t&&lj(e.prototype,t),r&&lj(e,r),e}function Vy(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?xy=Reflect.get:xy=function(o,i,u){var c=fce(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},xy(e,t,r||e)}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function lce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ace(e,t){return t&&(sce(t)==="object"||typeof t=="function")?t:cj(e)}function Aw(e,t){return Aw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Aw(e,t)}function fce(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hi(e),e!==null););return e}function sce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yce(e){var t=_ce();return function(){var n=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ace(this,o)}}var vo=function(e){lce(r,e);var t=yce(r);function r(n){uce(this,r);var o;return o=t.call(this,n),Vy(cj(o),"props",void 0),o.props=new Dc(n==null?void 0:n.props),o}return cce(r,[{key:"toDataBindModel",value:function(o){var i=xy(Hi(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}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);Vy(vo,"controlName",d.getMessage("department")),Vy(vo,"controlFieldType",l.FieldTypes.DEPARTMENTS),Vy(vo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.MULTIPLE,l.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 aj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pce(e,t,r){return t&&fj(e.prototype,t),r&&fj(e,r),e}function sj(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 vce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hce(e,t){return t&&(gce(t)==="object"||typeof t=="function")?t:aj(e)}function Dw(e,t){return Dw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dw(e,t)}function gce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bce(e){var t=mce();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 hce(this,o)}}var _j=function(e){vce(r,e);var t=bce(r);function r(n){dce(this,r);var o;return o=t.call(this,n),sj(aj(o),"props",void 0),o.props=new Dc(n==null?void 0:n.props),o}return pce(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(Q);sj(_j,"controlFieldType",l.FieldTypes.DEPARTMENTS);var yj={Designer:vo,Runtime:_j,Property:Dc};function we(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 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 Gy(e){return Gy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gy(e)}function jw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Oce(e,t){return t&&(wce(t)==="object"||typeof t=="function")?t:we(e)}function Cw(e,t){return Cw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cw(e,t)}function wce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fw(e){var t=Pce();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 Oce(this,o)}}var Tce=function(e){jw(r,e);var t=Fw(r);function r(n){Bw(this,r);var o;return o=t.call(this,n),Pe(we(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Pe(we(o),"businessScope",{type:"any"}),Ku.call(we(o),n,ho.controlCustomAttributes),n.businessType===l.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return r}(He),Rce=function(e){jw(r,e);var t=Fw(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),Bc=function(e){jw(r,e);var t=Fw(r);function r(n){Bw(this,r);var o;o=t.call(this,n),Pe(we(o),"showType",void 0),Pe(we(o),"range",void 0),Pe(we(o),"defaultValueType",void 0),Pe(we(o),"multiple",void 0),Pe(we(o),"rangeOptions",void 0),Pe(we(o),"defaultValue",void 0),Pe(we(o),"displayLevel",void 0),Pe(we(o),"showSubDept",void 0),Pe(we(o),"multistageFilling",void 0),Pe(we(o),"datasourceBind",void 0),Pe(we(o),"listPageBind",void 0),Pe(we(o),"datasourceType",void 0),Pe(we(o),"businessType",void 0),Pe(we(o),"businessScope",void 0),Pe(we(o),"organizingFunction",void 0),Pe(we(o),"organizationView",void 0),Pe(we(o),"openMultistageFilling",void 0),Pe(we(o),"showSelectedDetail",void 0),Pe(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 ta(n==null?void 0:n.listPageBind);var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"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 y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:ho.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:"\u8BF7\u9009\u62E9\u7EC4\u7EC7";var h;o.datasourceBind=new zN((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:ho.controlCustomAttributes});var P;o.datasourceType=(P=n==null?void 0:n.datasourceType)!==null&&P!==void 0?P:l.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:l.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 oa(n==null?void 0:n.selectedContentConfig);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(E){var I;(I=o.multistageFilling)===null||I===void 0||I.push(new ht(E))})),o}return r}(K);Pe(Bc,"Rules",Tce),Pe(Bc,"RuntimeRules",Rce);function dj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ece(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pj(e,t){for(var r=0;r<t.length;r++){var 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&&pj(e.prototype,t),r&&pj(e,r),e}function Yy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hy(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hy=Reflect.get:Hy=function(o,i,u){var c=Ice(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Hy(e,t,r||e)}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function Sce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vw(e,t)}function Nce(e,t){return t&&(Mce(t)==="object"||typeof t=="function")?t:dj(e)}function Vw(e,t){return Vw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vw(e,t)}function Ice(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zi(e),e!==null););return e}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 kce(e){var t=Lce();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 Nce(this,o)}}var ho=function(e){Sce(r,e);var t=kce(r);function r(n){Ece(this,r);var o;return o=t.call(this,n),Yy(dj(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return $ce(r,[{key:"toDataBindModel",value:function(o){var i=Hy(zi(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{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);Yy(ho,"controlName",d.getMessage("organizationSelection")),Yy(ho,"controlFieldType",l.FieldTypes.DEPARTMENTS),Yy(ho,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.MULTIPLE,l.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 vj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ace(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dce(e,t,r){return t&&hj(e.prototype,t),r&&hj(e,r),e}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 zy(e){return zy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zy(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&&xw(e,t)}function jce(e,t){return t&&(Cce(t)==="object"||typeof t=="function")?t:vj(e)}function xw(e,t){return xw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xw(e,t)}function Cce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vce(e){var t=Fce();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 jce(this,o)}}var mj=function(e){Bce(r,e);var t=Vce(r);function r(n){Ace(this,r);var o;return o=t.call(this,n),gj(vj(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return Dce(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(Q);gj(mj,"controlFieldType",l.FieldTypes.DEPARTMENTS);var bj={Designer:ho,Runtime:mj,Property:Bc};function jc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uw(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 Wy(e){return Wy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wy(e)}function Gw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xce(e,t){return t&&(Uce(t)==="object"||typeof t=="function")?t:jc(e)}function Yw(e,t){return Yw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yw(e,t)}function Uce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hw(e){var t=Gce();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 xce(this,o)}}var Yce=function(e){Gw(r,e);var t=Hw(r);function r(n){Uw(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(He),Hce=function(e){Gw(r,e);var t=Hw(r);function r(n){Uw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(_e),Cc=function(e){Gw(r,e);var t=Hw(r);function r(n){Uw(this,r);var o;o=t.call(this,n),Wi(jc(o),"controlExportName",void 0),Wi(jc(o),"permissions",void 0),Wi(jc(o),"defaultValue",void 0),Wi(jc(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Fc.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 a;o.permissions=(a=n==null?void 0:n.permissions)!==null&&a!==void 0?a:[];var f;return o.isInlineEdit=(f=n==null?void 0:n.isInlineEdit)!==null&&f!==void 0?f:!1,o}return r}(K);Wi(Cc,"Rules",Yce),Wi(Cc,"RuntimeRules",Hce);function Oj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wce(e,t,r){return t&&wj(e.prototype,t),r&&wj(e,r),e}function qy(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 qce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kce(e,t){return t&&(Xce(t)==="object"||typeof t=="function")?t:Oj(e)}function zw(e,t){return zw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zw(e,t)}function Xce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Jce();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 Kce(this,o)}}var Fc=function(e){qce(r,e);var t=Qce(r);function r(n){zce(this,r);var o;return o=t.call(this,n),qy(Oj(o),"props",void 0),o.props=new Cc(n==null?void 0:n.props),o}return Wce(r,null,[{key:"controlName",get:function(){return d.getMessage("vuePage")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return l.CONTROL_TYPE.VUE_PAGE}}]),r}(J);qy(Fc,"controlFieldType",l.FieldTypes.ANY),qy(Fc,"controlEventKeys",[]),qy(Fc,"setting",[]);function Pj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ele(e,t,r){return t&&Tj(e.prototype,t),r&&Tj(e,r),e}function Rj(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 tle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nle(e,t){return t&&(rle(t)==="object"||typeof t=="function")?t:Pj(e)}function Ww(e,t){return Ww=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ww(e,t)}function rle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ole(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ile(e){var t=ole();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 nle(this,o)}}var Ej=function(e){tle(r,e);var t=ile(r);function r(n){Zce(this,r);var o;return o=t.call(this,n),Rj(Pj(o),"props",void 0),o.props=new Cc(n==null?void 0:n.props),o}return ele(r,null,[{key:"controlType",get:function(){return l.CONTROL_TYPE.VUE_PAGE}}]),r}(Q);Rj(Ej,"controlFieldType",l.FieldTypes.ANY);var $j={Designer:Fc,Runtime:Ej,Property:Cc},ule=Object.freeze({__proto__:null,Input:o1,Checkbox:s1,Radio:O1,Number:S1,DatePicker:D1,DateRange:H1,Textarea:Q1,RichText:iA,Select:pA,SelectMultiple:wA,Employee:LA,Image:UA,Attachment:CA,Amount:KA,Score:nD,Address:_D,Department:wD,AutoNumber:ID,Calc:jD,SearchNumberRange:WD,SearchDateRange:rB,VueFormItem:fB,SelectRelation:bB,SearchInput:NB,Tree:BB,Employee2:GB,ElectronicSignature:ZB,WPS:uj,Department2:yj,OrganizationSelection:bj,VuePage:$j});function cle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ale(e,t,r){return t&&Sj(e.prototype,t),r&&Sj(e,r),e}function fle(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jy(e){return Jy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jy(e)}function sle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _le(e,t){return t&&(yle(t)==="object"||typeof t=="function")?t:cle(e)}function qw(e,t){return qw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qw(e,t)}function yle(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 ple(e){var t=dle();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 _le(this,o)}}var Nj=function(e){sle(r,e);var t=ple(r);function r(n){return lle(this,r),t.call(this,n)}return ale(r,null,[{key:"controlName",get:function(){return d.getMessage("grid")}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(Oe);fle(Nj,"excludes",[l.CONTROL_TYPE.GRID]);function vle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ij(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gle(e,t,r){return t&&Ij(e.prototype,t),r&&Ij(e,r),e}function Qy(e){return Qy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qy(e)}function mle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ble(e,t){return t&&(Ole(t)==="object"||typeof t=="function")?t:vle(e)}function Kw(e,t){return Kw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kw(e,t)}function Ole(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ple(e){var t=wle();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 ble(this,o)}}var Tle=function(e){mle(r,e);var t=Ple(r);function r(n){return hle(this,r),t.call(this,n)}return gle(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(Se),Mj={Designer:Nj,Runtime:Tle,Property:pe};function Xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lj(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 Ele(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $le(e,t){return t&&(Sle(t)==="object"||typeof t=="function")?t:Xw(e)}function Jw(e,t){return Jw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jw(e,t)}function Sle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ile(e){var t=Nle();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 $le(this,o)}}var Mle=24,go=function(e){Ele(r,e);var t=Ile(r);function r(n){Rle(this,r);var o;o=t.call(this,n),Lj(Xw(o),"span",void 0),Lj(Xw(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:Mle;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(pe);function kj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aj(e,t){for(var r=0;r<t.length;r++){var 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&&Aj(e.prototype,t),r&&Aj(e,r),e}function Qw(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 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&&Zw(e,t)}function Dle(e,t){return t&&(Ble(t)==="object"||typeof t=="function")?t:kj(e)}function Zw(e,t){return Zw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zw(e,t)}function Ble(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cle(e){var t=jle();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 Dle(this,o)}}var Vc=function(e){Ale(r,e);var t=Cle(r);function r(n){Lle(this,r);var o;return o=t.call(this,n),Qw(kj(o),"props",void 0),o.props=new go(n==null?void 0:n.props),o}return kle(r,null,[{key:"controlName",get:function(){return d.getMessage("col")}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(Oe);Qw(Vc,"excludes",[l.CONTROL_TYPE.COL,l.CONTROL_TYPE.SUBTABLE,l.CONTROL_TYPE.SUBTABLE_COLUMN,l.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,l.CONTROL_TYPE.DIVIDER]),Qw(Vc,"childrenMaxLength",1);function Dj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vle(e,t,r){return t&&Bj(e.prototype,t),r&&Bj(e,r),e}function xle(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){return td=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},td(e)}function Ule(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eP(e,t)}function Gle(e,t){return t&&(Yle(t)==="object"||typeof t=="function")?t:Dj(e)}function eP(e,t){return eP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eP(e,t)}function Yle(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 zle(e){var t=Hle();return function(){var n=td(e),o;if(t){var i=td(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gle(this,o)}}var tP=function(e){Ule(r,e);var t=zle(r);function r(n){Fle(this,r);var o;return o=t.call(this,n),xle(Dj(o),"props",void 0),o.props=new go(n==null?void 0:n.props),o}return Vle(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Se),nd={Designer:Vc,Runtime:tP,Property:go};function nP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jj(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 qle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rP(e,t)}function Kle(e,t){return t&&(Xle(t)==="object"||typeof t=="function")?t:nP(e)}function rP(e,t){return rP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rP(e,t)}function Xle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qle(e){var t=Jle();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 Kle(this,o)}}var od=function(e){qle(r,e);var t=Qle(r);function r(n){Wle(this,r);var o;o=t.call(this,n),jj(nP(o),"layoutMode",void 0),jj(nP(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 Cj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eae(e,t,r){return t&&Fj(e.prototype,t),r&&Fj(e,r),e}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 id(e){return id=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},id(e)}function tae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nae(e,t){return t&&(rae(t)==="object"||typeof t=="function")?t:Cj(e)}function iP(e,t){return iP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iP(e,t)}function rae(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 iae(e){var t=oae();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 nae(this,o)}}var ud=function(e){tae(r,e);var t=iae(r);function r(n){Zle(this,r);var o;return o=t.call(this,n),oP(Cj(o),"props",void 0),o.props=new od(n==null?void 0:n.props),o}return eae(r,null,[{key:"controlName",get:function(){return d.getMessage("row")}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Oe);oP(ud,"excludes",[l.CONTROL_TYPE.ROW]),oP(ud,"setting",[{key:"col-setting",visible:!0}]);function Vj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cae(e,t,r){return t&&xj(e.prototype,t),r&&xj(e,r),e}function lae(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 aae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fae(e,t){return t&&(sae(t)==="object"||typeof t=="function")?t:Vj(e)}function uP(e,t){return uP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uP(e,t)}function sae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yae(e){var t=_ae();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 fae(this,o)}}var Uj=function(e){aae(r,e);var t=yae(r);function r(n){uae(this,r);var o;return o=t.call(this,n),lae(Vj(o),"props",void 0),o.props=new od(n==null?void 0:n.props),o}return cae(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Se),Gj={Designer:ud,Runtime:Uj,Property:od};function dae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vae(e,t,r){return t&&Yj(e.prototype,t),r&&Yj(e,r),e}function cP(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 hae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gae(e,t){return t&&(mae(t)==="object"||typeof t=="function")?t:dae(e)}function lP(e,t){return lP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lP(e,t)}function mae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oae(e){var t=bae();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 gae(this,o)}}var wae=4,ad=function(e){hae(r,e);var t=Oae(r);function r(n){return pae(this,r),t.call(this,n)}return vae(r,null,[{key:"controlName",get:function(){return d.getMessage("gridRow")}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(ud);cP(ad,"excludes",[l.CONTROL_TYPE.GRID_ROW]),cP(ad,"setting",[]),cP(ad,"childrenMaxLength",wae);function Pae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rae(e,t,r){return t&&Hj(e.prototype,t),r&&Hj(e,r),e}function fd(e){return fd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fd(e)}function Eae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $ae(e,t){return t&&(Sae(t)==="object"||typeof t=="function")?t:Pae(e)}function aP(e,t){return aP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aP(e,t)}function Sae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iae(e){var t=Nae();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 $ae(this,o)}}var Mae=function(e){Eae(r,e);var t=Iae(r);function r(n){return Tae(this,r),t.call(this,n)}return Rae(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(Uj);function Lae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sd(e){return sd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sd(e)}function Aae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dae(e,t){return t&&(Bae(t)==="object"||typeof t=="function")?t:Lae(e)}function fP(e,t){return fP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fP(e,t)}function Bae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jae();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 Dae(this,o)}}var Fae=function(e){Aae(r,e);var t=Cae(r);function r(n){return kae(this,r),t.call(this,n)}return r}(od),sP={Designer:ad,Runtime:Mae,Property:Fae};function xc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zj(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 _d(e){return _d=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_d(e)}function Wj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Vae(e,t){return t&&(xae(t)==="object"||typeof t=="function")?t:xc(e)}function _P(e,t){return _P=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_P(e,t)}function xae(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 qj(e){var t=Uae();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 Vae(this,o)}}var Gae=function(e){Wj(r,e);var t=qj(r);function r(){zj(this,r);var n;return n=t.apply(this,arguments),Uc(xc(n),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),n}return r}(pe.Rules),yd=function(e){Wj(r,e);var t=qj(r);function r(n){zj(this,r);var o;o=t.call(this,n),Uc(xc(o),"caption",void 0),Uc(xc(o),"isHideCaption",void 0),Uc(xc(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);Uc(yd,"Rules",Gae);function Kj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xj(e,t){for(var r=0;r<t.length;r++){var 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&&Xj(e.prototype,t),r&&Xj(e,r),e}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 dd(e){return dd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dd(e)}function zae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dP(e,t)}function Wae(e,t){return t&&(qae(t)==="object"||typeof t=="function")?t:Kj(e)}function dP(e,t){return dP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dP(e,t)}function qae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Kae();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 Wae(this,o)}}var pP=function(e){zae(r,e);var t=Xae(r);function r(n){Yae(this,r);var o;return o=t.call(this,n),yP(Kj(o),"props",void 0),o.props=new yd(n==null?void 0:n.props),o}return Hae(r,null,[{key:"controlName",get:function(){return d.getMessage("cardGroup")}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(Oe);yP(pP,"setting",[{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),yP(pP,"excludes",[l.CONTROL_TYPE.CARD_GROUP]);function Jj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qj(e,t){for(var r=0;r<t.length;r++){var 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&&Qj(e.prototype,t),r&&Qj(e,r),e}function Zae(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 efe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tfe(e,t){return t&&(nfe(t)==="object"||typeof t=="function")?t:Jj(e)}function vP(e,t){return vP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vP(e,t)}function nfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ofe(e){var t=rfe();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 tfe(this,o)}}var ife=function(e){efe(r,e);var t=ofe(r);function r(n){Jae(this,r);var o;return o=t.call(this,n),Zae(Jj(o),"props",void 0),o.props=new yd(n==null?void 0:n.props),o}return Qae(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(Se),Zj={Designer:pP,Runtime:ife,Property:yd};function jn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eC(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 vd(e){return vd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vd(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&&hP(e,t)}function ufe(e,t){return t&&(cfe(t)==="object"||typeof t=="function")?t:jn(e)}function hP(e,t){return hP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hP(e,t)}function cfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nC(e){var t=lfe();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 ufe(this,o)}}var afe=function(e){tC(r,e);var t=nC(r);function r(n){eC(this,r);var o;return o=t.call(this,n),Cn(jn(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Cn(jn(o),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),Cn(jn(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Be),hd=function(e){tC(r,e);var t=nC(r);function r(n){eC(this,r);var o;o=t.call(this,n),Cn(jn(o),"metaAutoWidth",void 0),Cn(jn(o),"caption",void 0),Cn(jn(o),"fixed",void 0),Cn(jn(o),"isShowCaptionTip",void 0),Cn(jn(o),"captionTip",void 0),Cn(jn(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 a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";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(hd,"Rules",afe);function rC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ffe(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 gd(e){return gd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gd(e)}function sfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _fe(e,t){return t&&(yfe(t)==="object"||typeof t=="function")?t:rC(e)}function gP(e,t){return gP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gP(e,t)}function yfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pfe(e){var t=dfe();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 _fe(this,o)}}var Pn=function(e){sfe(r,e);var t=pfe(r);function r(n){ffe(this,r);var o;return o=t.call(this,n),mo(rC(o),"props",void 0),o.props=new hd(n==null?void 0:n.props),o}return r}(Oe);mo(Pn,"controlName",d.getMessage("subtableColumn")),mo(Pn,"controlType","subtable-column"),mo(Pn,"controlIcon","subtable-column"),mo(Pn,"childrenMaxLength",1),mo(Pn,"excludes",[l.CONTROL_TYPE.SUBTABLE,l.CONTROL_TYPE.SUBTABLE_COLUMN,l.CONTROL_TYPE.ROW,l.CONTROL_TYPE.COL,l.CONTROL_TYPE.CARD_GROUP,l.CONTROL_TYPE.DIVIDER,l.CONTROL_TYPE.TEXT]),mo(Pn,"setting",[{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function oC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iC(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){return md=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},md(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&&mP(e,t)}function gfe(e,t){return t&&(mfe(t)==="object"||typeof t=="function")?t:oC(e)}function mP(e,t){return mP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mP(e,t)}function mfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ofe(e){var t=bfe();return function(){var n=md(e),o;if(t){var i=md(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gfe(this,o)}}var uC=function(e){hfe(r,e);var t=Ofe(r);function r(n){vfe(this,r);var o;return o=t.call(this,n),iC(oC(o),"props",void 0),o.props=new hd(n==null?void 0:n.props),o}return r}(Se);iC(uC,"controlType","subtable-column");var bP={Designer:Pn,Runtime:uC,Property:hd};function wfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bd(e){return bd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bd(e)}function Tfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rfe(e,t){return t&&(Efe(t)==="object"||typeof t=="function")?t:wfe(e)}function OP(e,t){return OP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OP(e,t)}function Efe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $fe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sfe(e){var t=$fe();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 Rfe(this,o)}}var wP=function(e){Tfe(r,e);var t=Sfe(r);function r(n){return Pfe(this,r),t.call(this,n)}return r}(pe);function cC(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 bo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Od(e){return Od=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Od(e)}function Ife(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mfe(e,t){return t&&(Lfe(t)==="object"||typeof t=="function")?t:cC(e)}function PP(e,t){return PP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PP(e,t)}function Lfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kfe();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 Mfe(this,o)}}var Oo=function(e){Ife(r,e);var t=Afe(r);function r(n){Nfe(this,r);var o;return o=t.call(this,n),bo(cC(o),"props",void 0),o.props=new wP(n==null?void 0:n.props),o}return r}(Oe);bo(Oo,"controlName",d.getMessage("subtableRow")),bo(Oo,"controlType","subtable-row"),bo(Oo,"controlIcon","subtable-row"),bo(Oo,"childrenMaxLength",1),bo(Oo,"excludes",[l.CONTROL_TYPE.SUBTABLE,l.CONTROL_TYPE.SUBTABLE_COLUMN,l.CONTROL_TYPE.SUBTABLE_ROW,l.CONTROL_TYPE.ROW,l.CONTROL_TYPE.COL,l.CONTROL_TYPE.CARD_GROUP,l.CONTROL_TYPE.DIVIDER,l.CONTROL_TYPE.TEXT]),bo(Oo,"setting",[{key:"caption",showItems:[l.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 Dfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bfe(e,t,r){return t&&aC(e.prototype,t),r&&aC(e,r),e}function jfe(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 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&&TP(e,t)}function Ffe(e,t){return t&&(Vfe(t)==="object"||typeof t=="function")?t:lC(e)}function TP(e,t){return TP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TP(e,t)}function Vfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ufe(e){var t=xfe();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 Ffe(this,o)}}var Gfe=function(e){Cfe(r,e);var t=Ufe(r);function r(n){Dfe(this,r);var o;return o=t.call(this,n),jfe(lC(o),"props",void 0),o.props=new wP(n==null?void 0:n.props),o}return Bfe(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(Se),fC={Designer:Oo,Runtime:Gfe,Property:wP};function xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function un(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 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&&RP(e,t)}function zfe(e,t){return t&&(Wfe(t)==="object"||typeof t=="function")?t:xt(e)}function RP(e,t){return RP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RP(e,t)}function Wfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kfe(e){var t=qfe();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 zfe(this,o)}}var EP=function(e){Hfe(r,e);var t=Kfe(r);function r(n){Yfe(this,r);var o;o=t.call(this,n),un(xt(o),"widthType",void 0),un(xt(o),"width",void 0),un(xt(o),"caption",void 0),un(xt(o),"fieldCode",void 0),un(xt(o),"fieldType",void 0),un(xt(o),"fieldName",void 0),un(xt(o),"datasourceBind",void 0),un(xt(o),"fixed",void 0),un(xt(o),"textCleanFormart",void 0),un(xt(o),"decimalKeepPrecision",void 0),un(xt(o),"timestampDateType",void 0),un(xt(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 a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var f;o.fieldType=(f=n==null?void 0:n.fieldType)!==null&&f!==void 0?f:l.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 y;o.decimalKeepPrecision=(y=n==null?void 0:n.decimalKeepPrecision)!==null&&y!==void 0?y:0;var p;o.timestampDateType=(p=n==null?void 0:n.timestampDateType)!==null&&p!==void 0?p:l.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 sC(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 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 Td(e){return Td=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Td(e)}function Jfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qfe(e,t){return t&&(Zfe(t)==="object"||typeof t=="function")?t:sC(e)}function $P(e,t){return $P=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$P(e,t)}function Zfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ese(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tse(e){var t=ese();return function(){var n=Td(e),o;if(t){var i=Td(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qfe(this,o)}}var Po=function(e){Jfe(r,e);var t=tse(r);function r(n){Xfe(this,r);var o;return o=t.call(this,n),wo(sC(o),"props",void 0),o.props=new EP(n==null?void 0:n.props),o}return r}(Oe);wo(Po,"controlName","\u5217\u8868\u5355\u5143\u683C"),wo(Po,"controlType","gridtable-column"),wo(Po,"controlIcon","gridtable-column"),wo(Po,"childrenMaxLength",1),wo(Po,"excludes",[l.CONTROL_TYPE.GRID_TABLE,l.CONTROL_TYPE.GRID_TABLE_COLUMN,l.CONTROL_TYPE.ROW,l.CONTROL_TYPE.COL,l.CONTROL_TYPE.CARD_GROUP,l.CONTROL_TYPE.DIVIDER,l.CONTROL_TYPE.TEXT]),wo(Po,"setting",[{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function _C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nse(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 Rd(e){return Rd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rd(e)}function rse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ose(e,t){return t&&(ise(t)==="object"||typeof t=="function")?t:_C(e)}function SP(e,t){return SP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},SP(e,t)}function ise(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function use(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cse(e){var t=use();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 ose(this,o)}}var dC=function(e){rse(r,e);var t=cse(r);function r(n){nse(this,r);var o;return o=t.call(this,n),yC(_C(o),"props",void 0),o.props=new EP(n==null?void 0:n.props),o}return r}(Se);yC(dC,"controlType","gridtable-column");var pC={Designer:Po,Runtime:dC,Property:EP};function NP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Ed(e){return Ed=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ed(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&&IP(e,t)}function fse(e,t){return t&&(sse(t)==="object"||typeof t=="function")?t:NP(e)}function IP(e,t){return IP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IP(e,t)}function sse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _se(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yse(e){var t=_se();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 fse(this,o)}}var MP=function(e){ase(r,e);var t=yse(r);function r(n){lse(this,r);var o;o=t.call(this,n),vC(NP(o),"childMinWidth",void 0),vC(NP(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 hC(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 gC(e,t){for(var r=0;r<t.length;r++){var 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&&gC(e.prototype,t),r&&gC(e,r),e}function LP(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 vse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kP(e,t)}function hse(e,t){return t&&(gse(t)==="object"||typeof t=="function")?t:hC(e)}function kP(e,t){return kP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kP(e,t)}function gse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bse(e){var t=mse();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 hse(this,o)}}var AP=function(e){vse(r,e);var t=bse(r);function r(n){dse(this,r);var o;return o=t.call(this,n),LP(hC(o),"props",void 0),o.props=new MP(n==null?void 0:n.props),o}return pse(r,null,[{key:"controlName",get:function(){return d.getMessage("gridLayoutContainer")}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(Oe);LP(AP,"excludes",[l.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,l.CONTROL_TYPE.CARD_GROUP,l.CONTROL_TYPE.TAB]),LP(AP,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function mC(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 bC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wse(e,t,r){return t&&bC(e.prototype,t),r&&bC(e,r),e}function Pse(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 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&&DP(e,t)}function Rse(e,t){return t&&(Ese(t)==="object"||typeof t=="function")?t:mC(e)}function DP(e,t){return DP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DP(e,t)}function Ese(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $se(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sse(e){var t=$se();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 Rse(this,o)}}var Nse=function(e){Tse(r,e);var t=Sse(r);function r(n){Ose(this,r);var o;return o=t.call(this,n),Pse(mC(o),"props",void 0),o.props=new MP(n==null?void 0:n.props),o}return wse(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(Se),OC={Designer:AP,Runtime:Nse,Property:MP};function wC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ise(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mse(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 Lse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kse(e,t){return t&&(Ase(t)==="object"||typeof t=="function")?t:wC(e)}function BP(e,t){return BP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},BP(e,t)}function Ase(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 Bse(e){var t=Dse();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 kse(this,o)}}var jP=function(e){Lse(r,e);var t=Bse(r);function r(n){Ise(this,r);var o;o=t.call(this,n),Mse(wC(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 CP(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 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 Id(e){return Id=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Id(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&&VP(e,t)}function jse(e,t){return t&&(Cse(t)==="object"||typeof t=="function")?t:CP(e)}function VP(e,t){return VP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},VP(e,t)}function Cse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Fse();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 jse(this,o)}}var Vse=function(e){TC(r,e);var t=RC(r);function r(n){PC(this,r);var o;return o=t.call(this,n),FP(CP(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),o}return r}(Be),Md=function(e){TC(r,e);var t=RC(r);function r(n){PC(this,r);var o;o=t.call(this,n),FP(CP(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);FP(Md,"Rules",Vse);function EC(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 $C(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Use(e,t,r){return t&&$C(e.prototype,t),r&&$C(e,r),e}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 Ld(e){return Ld=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ld(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&&UP(e,t)}function Yse(e,t){return t&&(Hse(t)==="object"||typeof t=="function")?t:EC(e)}function UP(e,t){return UP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UP(e,t)}function Hse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=zse();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 Yse(this,o)}}var Gc=function(e){Gse(r,e);var t=Wse(r);function r(n){xse(this,r);var o;return o=t.call(this,n),xP(EC(o),"props",void 0),o.props=new Md(n==null?void 0:n.props),o}return Use(r,null,[{key:"controlName",get:function(){return d.getMessage("tabPane")}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(Oe);xP(Gc,"excludes",[l.CONTROL_TYPE.TAB]),xP(Gc,"setting",[{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function SC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kse(e,t,r){return t&&NC(e.prototype,t),r&&NC(e,r),e}function Xse(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 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&&GP(e,t)}function Qse(e,t){return t&&(Zse(t)==="object"||typeof t=="function")?t:SC(e)}function GP(e,t){return GP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},GP(e,t)}function Zse(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 t_e(e){var t=e_e();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 Qse(this,o)}}var n_e=function(e){Jse(r,e);var t=t_e(r);function r(n){qse(this,r);var o;return o=t.call(this,n),Xse(SC(o),"props",void 0),o.props=new Md(n==null?void 0:n.props),o}return Kse(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(Se),IC={Designer:Gc,Runtime:n_e,Property:Md};function MC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o_e(e,t,r){return t&&LC(e.prototype,t),r&&LC(e,r),e}function Ad(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 i_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&&YP(e,t)}function u_e(e,t){return t&&(c_e(t)==="object"||typeof t=="function")?t:MC(e)}function YP(e,t){return YP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YP(e,t)}function c_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 a_e(e){var t=l_e();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 u_e(this,o)}}var Yc=function(e){i_e(r,e);var t=a_e(r);function r(n){r_e(this,r);var o;o=t.call(this,n),Ad(MC(o),"props",void 0),o.props=new jP(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Gc,new Gc],o}return o_e(r,null,[{key:"controlName",get:function(){return d.getMessage("tab")}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(Oe);Ad(Yc,"excludes",[l.CONTROL_TYPE.TAB]),Ad(Yc,"controlEventKeys",["on_change_tab"]),Ad(Yc,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function kC(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 AC(e,t){for(var r=0;r<t.length;r++){var 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&&AC(e.prototype,t),r&&AC(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 Bd(e){return Bd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bd(e)}function y_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&&HP(e,t)}function d_e(e,t){return t&&(p_e(t)==="object"||typeof t=="function")?t:kC(e)}function HP(e,t){return HP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HP(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=Bd(e),o;if(t){var i=Bd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d_e(this,o)}}var g_e=function(e){y_e(r,e);var t=h_e(r);function r(n){f_e(this,r);var o;return o=t.call(this,n),__e(kC(o),"props",void 0),o.props=new jP(n==null?void 0:n.props),o}return s_e(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(Se),DC={Designer:Yc,Runtime:g_e,Property:jP};function m_e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jd(e){return jd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jd(e)}function O_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&&zP(e,t)}function w_e(e,t){return t&&(P_e(t)==="object"||typeof t=="function")?t:m_e(e)}function zP(e,t){return zP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zP(e,t)}function P_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T_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 R_e(e){var t=T_e();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 w_e(this,o)}}var BC=function(e){O_e(r,e);var t=R_e(r);function r(n){return b_e(this,r),t.call(this,n)}return r}(pe);function jC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CC(e,t){for(var r=0;r<t.length;r++){var 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&&CC(e.prototype,t),r&&CC(e,r),e}function FC(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 S_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&&WP(e,t)}function N_e(e,t){return t&&(I_e(t)==="object"||typeof t=="function")?t:jC(e)}function WP(e,t){return WP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},WP(e,t)}function I_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M_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 L_e(e){var t=M_e();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 N_e(this,o)}}var VC=function(e){S_e(r,e);var t=L_e(r);function r(n){E_e(this,r);var o;return o=t.call(this,n),FC(jC(o),"props",void 0),o.props=new BC({}),o.children=(n==null?void 0:n.children)||[new Vc({props:new go({span:12})}),new Vc({props:new go({span:12})})],o}return $_e(r,null,[{key:"controlName",get:function(){return d.getMessage("toolbox")}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(Oe);FC(VC,"excludes",[l.CONTROL_TYPE.GRID_ROW,l.CONTROL_TYPE.ROW,l.CONTROL_TYPE.GRID,l.CONTROL_TYPE.SUBTABLE,l.CONTROL_TYPE.TAB,l.CONTROL_TYPE.TOOLBOX]);function k_e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D_e(e,t,r){return t&&xC(e.prototype,t),r&&xC(e,r),e}function Fd(e){return Fd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fd(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&&qP(e,t)}function j_e(e,t){return t&&(C_e(t)==="object"||typeof t=="function")?t:k_e(e)}function qP(e,t){return qP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qP(e,t)}function C_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F_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 V_e(e){var t=F_e();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 j_e(this,o)}}var x_e=function(e){B_e(r,e);var t=V_e(r);function r(n){A_e(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new tP({props:new go({span:12})}),new tP({props:new go({span:12})})],o}return D_e(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(Se),UC={Designer:VC,Runtime:x_e,Property:BC};function Te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(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 XP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U_e(e,t){return t&&(G_e(t)==="object"||typeof t=="function")?t:Te(e)}function JP(e,t){return JP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},JP(e,t)}function G_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y_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 QP(e){var t=Y_e();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 U_e(this,o)}}var GC;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(GC||(GC={}));var H_e=function(e){XP(r,e);var t=QP(r);function r(n){KP(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Nr),z_e=function(e){XP(r,e);var t=QP(r);function r(n){KP(this,r);var o;if(o=t.call(this,n),Re(Te(o),"triggerFieldCode",{type:"any"}),Re(Te(o),"datasourceBind",{type:"any"}),Re(Te(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),fa.call(Te(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}(Be),Hc=function(e){XP(r,e);var t=QP(r);function r(n){KP(this,r);var o;o=t.call(this,n),Re(Te(o),"datasourceBind",void 0),Re(Te(o),"isLoading",void 0),Re(Te(o),"isShowSubList",void 0),Re(Te(o),"triggerType",void 0),Re(Te(o),"triggerFieldCode",void 0),Re(Te(o),"sublistPage",void 0),Re(Te(o),"isShowJoinRelation",void 0),Re(Te(o),"joinRelation",void 0),Re(Te(o),"showType",void 0),Re(Te(o),"showFullScreen",void 0),Re(Te(o),"isFixedHeader",void 0),Re(Te(o),"selectionType",void 0),Re(Te(o),"isShowSelection",void 0),Re(Te(o),"isAllLoaded",void 0),Re(Te(o),"countType",void 0),Re(Te(o),"countLimit",void 0),Re(Te(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 a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new UN(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 y;o.selectionType=(y=n==null?void 0:n.selectionType)!==null&&y!==void 0?y:"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 P;return o.countLimit=(P=n==null?void 0:n.countLimit)!==null&&P!==void 0?P:1e5,o.rowStyle=new cI(n==null?void 0:n.rowStyle),o}return r}(pe);Re(Hc,"Rules",z_e),Re(Hc,"RuntimeRules",H_e);function YC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q_e(e,t,r){return t&&HC(e.prototype,t),r&&HC(e,r),e}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 xd(e){return xd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xd(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&&ZP(e,t)}function X_e(e,t){return t&&(J_e(t)==="object"||typeof t=="function")?t:YC(e)}function ZP(e,t){return ZP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZP(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=xd(e),o;if(t){var i=xd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X_e(this,o)}}var Wc=function(e){K_e(r,e);var t=Z_e(r);function r(n){W_e(this,r);var o;return o=t.call(this,n),zc(YC(o),"props",void 0),o.props=new Hc(n==null?void 0:n.props),o}return q_e(r,null,[{key:"controlName",get:function(){return d.getMessage("listView")}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Oe);zc(Wc,"slotPosition",{left:"list-view-left-slot"}),zc(Wc,"excludes",[l.CONTROL_TYPE.ROW]),zc(Wc,"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"]),zc(Wc,"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 zC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tye(e,t,r){return t&&WC(e.prototype,t),r&&WC(e,r),e}function nye(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){return Ud=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ud(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&&eT(e,t)}function oye(e,t){return t&&(iye(t)==="object"||typeof t=="function")?t:zC(e)}function eT(e,t){return eT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eT(e,t)}function iye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cye(e){var t=uye();return function(){var n=Ud(e),o;if(t){var i=Ud(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oye(this,o)}}var lye=function(e){rye(r,e);var t=cye(r);function r(n){eye(this,r);var o;return o=t.call(this,n),nye(zC(o),"props",void 0),o.props=new Hc(n==null?void 0:n.props),o}return tye(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Se),tT={Designer:Wc,Runtime:lye,Property:Hc};function Gr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qC(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 Gd(e){return Gd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gd(e)}function KC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aye(e,t){return t&&(fye(t)==="object"||typeof t=="function")?t:Gr(e)}function nT(e,t){return nT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nT(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 XC(e){var t=sye();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 aye(this,o)}}var _ye=function(e){KC(r,e);var t=XC(r);function r(n){qC(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Nr),Yd=function(e){KC(r,e);var t=XC(r);function r(n){qC(this,r);var o;o=t.call(this,n),Yr(Gr(o),"save",void 0),Yr(Gr(o),"cancel",void 0),Yr(Gr(o),"saveAs",void 0),Yr(Gr(o),"print",void 0),Yr(Gr(o),"custom",void 0),Yr(Gr(o),"isLoading",void 0),Yr(Gr(o),"datasourceBind",void 0);var i;o.save=new Hn((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Hn((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new Hn((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var a;o.print=new Hn((a=n==null?void 0:n.print)!==null&&a!==void 0?a:{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 Hn(_)});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);Yr(Yd,"RuntimeRules",_ye);function JC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yye(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 dye(e,t,r){return t&&QC(e.prototype,t),r&&QC(e,r),e}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 Hd(e){return Hd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hd(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&&rT(e,t)}function vye(e,t){return t&&(hye(t)==="object"||typeof t=="function")?t:JC(e)}function rT(e,t){return rT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rT(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=Hd(e),o;if(t){var i=Hd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vye(this,o)}}var eF=function(e){pye(r,e);var t=mye(r);function r(n){yye(this,r);var o;return o=t.call(this,n),ZC(JC(o),"props",void 0),o.props=new Yd(n==null?void 0:n.props),o}return dye(r,null,[{key:"controlName",get:function(){return d.getMessage("dataView")}},{key:"controlType",get:function(){return"data-view"}}]),r}(Oe);ZC(eF,"excludes",[]);function tF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bye(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 Oye(e,t,r){return t&&nF(e.prototype,t),r&&nF(e,r),e}function wye(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 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&&oT(e,t)}function Tye(e,t){return t&&(Rye(t)==="object"||typeof t=="function")?t:tF(e)}function oT(e,t){return oT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oT(e,t)}function Rye(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 $ye(e){var t=Eye();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 Tye(this,o)}}var Sye=function(e){Pye(r,e);var t=$ye(r);function r(n){bye(this,r);var o;return o=t.call(this,n),wye(tF(o),"props",void 0),o.props=new Yd(n==null?void 0:n.props),o}return Oye(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Se),iT={Designer:eF,Runtime:Sye,Property:Yd};function Nye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rF(e,t){for(var r=0;r<t.length;r++){var 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&&rF(e.prototype,t),r&&rF(e,r),e}function Wd(e){return Wd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wd(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&&uT(e,t)}function kye(e,t){return t&&(Aye(t)==="object"||typeof t=="function")?t:Nye(e)}function uT(e,t){return uT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uT(e,t)}function Aye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Dye();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 kye(this,o)}}var jye=function(e){Lye(r,e);var t=Bye(r);function r(n){return Iye(this,r),t.call(this,n)}return Mye(r,null,[{key:"controlName",get:function(){return d.getMessage("page")}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(Oe);function Cye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fye(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 Vye(e,t,r){return t&&oF(e.prototype,t),r&&oF(e,r),e}function qd(e){return qd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qd(e)}function xye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Uye(e,t){return t&&(Gye(t)==="object"||typeof t=="function")?t:Cye(e)}function cT(e,t){return cT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cT(e,t)}function Gye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hye(e){var t=Yye();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 Uye(this,o)}}var zye=function(e){xye(r,e);var t=Hye(r);function r(n){return Fye(this,r),t.call(this,n)}return Vye(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(Se);function qi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qc(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 qye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kye(e,t){return t&&(Xye(t)==="object"||typeof t=="function")?t:qi(e)}function lT(e,t){return lT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lT(e,t)}function Xye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qye(e){var t=Jye();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 Kye(this,o)}}var Zye=function(e){qye(r,e);var t=Qye(r);function r(n){Wye(this,r);var o;o=t.call(this,n),qc(qi(o),"hideHeader",void 0),qc(qi(o),"background","#fff"),qc(qi(o),"minWidth",""),qc(qi(o),"maxWidth",""),qc(qi(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),iF={Designer:jye,Runtime:zye,Property:Zye};function ede(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tde(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 nde(e,t,r){return t&&uF(e.prototype,t),r&&uF(e,r),e}function Xd(e){return Xd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xd(e)}function rde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ode(e,t){return t&&(ide(t)==="object"||typeof t=="function")?t:ede(e)}function aT(e,t){return aT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aT(e,t)}function ide(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ude(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ude();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 ode(this,o)}}var lde=function(e){rde(r,e);var t=cde(r);function r(n){return tde(this,r),t.call(this,n)}return nde(r,null,[{key:"controlName",get:function(){return d.getMessage("advancedContainer")}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Oe);function ade(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fde(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 sde(e,t,r){return t&&cF(e.prototype,t),r&&cF(e,r),e}function Jd(e){return Jd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jd(e)}function _de(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yde(e,t){return t&&(dde(t)==="object"||typeof t=="function")?t:ade(e)}function fT(e,t){return fT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fT(e,t)}function dde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vde(e){var t=pde();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 yde(this,o)}}var hde=function(e){_de(r,e);var t=vde(r);function r(n){return fde(this,r),t.call(this,n)}return sde(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Se);function sT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qd(e){return Qd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qd(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&&_T(e,t)}function bde(e,t){return t&&(Ode(t)==="object"||typeof t=="function")?t:sT(e)}function _T(e,t){return _T=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_T(e,t)}function Ode(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 Pde(e){var t=wde();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 bde(this,o)}}var Tde=function(e){mde(r,e);var t=Pde(r);function r(n){gde(this,r);var o;return o=t.call(this,n),lF(sT(o),"display",void 0),lF(sT(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new gM(n==null?void 0:n.flexConfig),o}return r}(pe),aF={Designer:lde,Runtime:hde,Property:Tde};function Rde(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 fF(e,t){for(var r=0;r<t.length;r++){var 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&&fF(e.prototype,t),r&&fF(e,r),e}function Zd(e){return Zd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zd(e)}function Sde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nde(e,t){return t&&(Ide(t)==="object"||typeof t=="function")?t:Rde(e)}function yT(e,t){return yT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yT(e,t)}function Ide(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lde(e){var t=Mde();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 Nde(this,o)}}var kde=function(e){Sde(r,e);var t=Lde(r);function r(n){return Ede(this,r),t.call(this,n)}return $de(r,null,[{key:"controlName",get:function(){return d.getMessage("positioningContainer")}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Oe);function Ade(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dde(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 Bde(e,t,r){return t&&sF(e.prototype,t),r&&sF(e,r),e}function ep(e){return ep=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ep(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&&dT(e,t)}function Cde(e,t){return t&&(Fde(t)==="object"||typeof t=="function")?t:Ade(e)}function dT(e,t){return dT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dT(e,t)}function Fde(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 xde(e){var t=Vde();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 Cde(this,o)}}var Ude=function(e){jde(r,e);var t=xde(r);function r(n){return Dde(this,r),t.call(this,n)}return Bde(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Se);function Gde(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yde(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 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&&pT(e,t)}function zde(e,t){return t&&(Wde(t)==="object"||typeof t=="function")?t:Gde(e)}function pT(e,t){return pT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pT(e,t)}function Wde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kde(e){var t=qde();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 zde(this,o)}}var Xde=function(e){Hde(r,e);var t=Kde(r);function r(n){return Yde(this,r),t.call(this,n)}return r}(pe),_F={Designer:kde,Runtime:Ude,Property:Xde};function Jde(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qde(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 Zde(e,t,r){return t&&yF(e.prototype,t),r&&yF(e,r),e}function np(e){return np=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},np(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&&vT(e,t)}function tpe(e,t){return t&&(npe(t)==="object"||typeof t=="function")?t:Jde(e)}function vT(e,t){return vT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vT(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=np(e),o;if(t){var i=np(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 Qde(this,r),t.call(this,n)}return Zde(r,null,[{key:"controlName",get:function(){return d.getMessage("position")}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(Oe);function upe(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 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 lpe(e,t,r){return t&&dF(e.prototype,t),r&&dF(e,r),e}function rp(e){return rp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rp(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&&hT(e,t)}function fpe(e,t){return t&&(spe(t)==="object"||typeof t=="function")?t:upe(e)}function hT(e,t){return hT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hT(e,t)}function spe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _pe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ype(e){var t=_pe();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 fpe(this,o)}}var dpe=function(e){ape(r,e);var t=ype(r);function r(n){return cpe(this,r),t.call(this,n)}return lpe(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(Se);function Kc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ppe(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 vpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hpe(e,t){return t&&(gpe(t)==="object"||typeof t=="function")?t:Kc(e)}function gT(e,t){return gT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gT(e,t)}function gpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bpe(e){var t=mpe();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 hpe(this,o)}}var Ope=function(e){vpe(r,e);var t=bpe(r);function r(n){ppe(this,r);var o;o=t.call(this,n),op(Kc(o),"widthSpan",void 0),op(Kc(o),"heightSpan",void 0),op(Kc(o),"left",void 0),op(Kc(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 a;return o.top=(a=n==null?void 0:n.top)!==null&&a!==void 0?a:0,o}return r}(pe),pF={Designer:ipe,Runtime:dpe,Property:Ope};function up(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wpe(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 cp(e){return cp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cp(e)}function Ppe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tpe(e,t){return t&&(Rpe(t)==="object"||typeof t=="function")?t:up(e)}function bT(e,t){return bT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bT(e,t)}function Rpe(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 $pe(e){var t=Epe();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 Tpe(this,o)}}var OT=function(e){Ppe(r,e);var t=$pe(r);function r(n){wpe(this,r);var o;o=t.call(this,n),mT(up(o),"position",void 0),mT(up(o),"opacity",void 0),mT(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 vF(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 hF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Npe(e,t,r){return t&&hF(e.prototype,t),r&&hF(e,r),e}function lp(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 Ipe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mpe(e,t){return t&&(Lpe(t)==="object"||typeof t=="function")?t:vF(e)}function wT(e,t){return wT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wT(e,t)}function Lpe(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 Ape(e){var t=kpe();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 Mpe(this,o)}}var fp=function(e){Ipe(r,e);var t=Ape(r);function r(n){Spe(this,r);var o;o=t.call(this,n),lp(vF(o),"props",void 0);var i;return o.props=new OT((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return Npe(r,null,[{key:"controlName",get:function(){return d.getMessage("actionBar")}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(Oe);lp(fp,"slotPosition",{default:"action-bar-slot"}),lp(fp,"excludes",[]),lp(fp,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function gF(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 mF(e,t){for(var r=0;r<t.length;r++){var 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&&mF(e.prototype,t),r&&mF(e,r),e}function jpe(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 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&&PT(e,t)}function Fpe(e,t){return t&&(Vpe(t)==="object"||typeof t=="function")?t:gF(e)}function PT(e,t){return PT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PT(e,t)}function Vpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Upe(e){var t=xpe();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 Fpe(this,o)}}var Gpe=function(e){Cpe(r,e);var t=Upe(r);function r(n){Dpe(this,r);var o;o=t.call(this,n),jpe(gF(o),"props",void 0);var i;return o.props=new OT((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return Bpe(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(Se),bF={Designer:fp,Runtime:Gpe,Property:OT},Ype=Object.freeze({__proto__:null,Grid:Mj,Col:nd,Row:Gj,GridRow:sP,CardGroup:Zj,SubTableColumn:bP,SubTableRow:fC,GridTableColumn:pC,GridLayoutContainer:OC,Tab:DC,TabPane:IC,Toolbox:UC,ListView:tT,DataView:iT,Page:iF,AdvancedContainer:aF,PositioningContainer:_F,Position:pF,ActionBar:bF});function G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TT(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 RT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hpe(e,t){return t&&(zpe(t)==="object"||typeof t=="function")?t:G(e)}function ET(e,t){return ET=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ET(e,t)}function zpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $T(e){var t=Wpe();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 Hpe(this,o)}}var qpe=function(e){RT(r,e);var t=$T(r);function r(n){TT(this,r);var o;return o=t.call(this,n),U(G(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),U(G(o),"limitRows",[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}]),U(G(o),"formKey",{type:"string",required:!1,message:d.getMessage("pleaseEnterForm")}),U(G(o),"maxHeight",{type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")}),U(G(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),U(G(o),"mobileRowCaption",{type:"string",required:!1,message:d.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}(Be),Kpe=function(e){RT(r,e);var t=$T(r);function r(n){TT(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:d.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,a){c.length<n.limitRows&&a(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Nr),Xc=function(e){RT(r,e);var t=$T(r);function r(n,o){TT(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:Jc.controlName;var c;i.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!1;var a;i.defaultState=(a=o==null?void 0:o.defaultState)!==null&&a!==void 0?a:"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 y;i.useCustomHeight=(y=o==null?void 0:o.useCustomHeight)!==null&&y!==void 0?y:!1;var p;i.maxHeight=(p=o==null?void 0:o.maxHeight)!==null&&p!==void 0?p:vM;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 P;i.maxRows=(P=o==null?void 0:o.maxRows)!==null&&P!==void 0?P: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 $;i.canAdd=($=o==null?void 0:o.canAdd)!==null&&$!==void 0?$:!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 R;i.canImport=(R=o==null?void 0:o.canImport)!==null&&R!==void 0?R:!1;var E;i.canExport=(E=o==null?void 0:o.canExport)!==null&&E!==void 0?E:!1;var I;i.canClear=(I=o==null?void 0:o.canClear)!==null&&I!==void 0?I:!0;var L;i.serverPagination=(L=o==null?void 0:o.serverPagination)!==null&&L!==void 0?L:!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 Y;i.mobileShowType=(Y=o==null?void 0:o.mobileShowType)!==null&&Y!==void 0?Y:"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 jN;var cr;i.fixedColumn=(cr=o==null?void 0:o.fixedColumn)!==null&&cr!==void 0?cr:[];var Mt;i.mobileRowCaption=(Mt=o==null?void 0:o.mobileRowCaption)!==null&&Mt!==void 0?Mt:"\u660E\u7EC6";var lr;i.mobileIsTile=(lr=o==null?void 0:o.mobileIsTile)!==null&&lr!==void 0?lr:!1;var ar;i.isPaste=(ar=o==null?void 0:o.isPaste)!==null&&ar!==void 0?ar:!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 dM(o==null?void 0:o.importConfig),i.exportConfig=new pM(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}(Ju);U(Xc,"Rules",qpe),U(Xc,"RuntimeRules",Kpe);function ST(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 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 Jpe(e,t,r){return t&&OF(e.prototype,t),r&&OF(e,r),e}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 dp(e){return dp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dp(e)}function Qpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zpe(e,t){return t&&(eve(t)==="object"||typeof t=="function")?t:ST(e)}function NT(e,t){return NT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NT(e,t)}function eve(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 nve(e){var t=tve();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 Zpe(this,o)}}var Jc=function(e){Qpe(r,e);var t=nve(r);function r(n){Xpe(this,r);var o,i;return o=t.call(this,n),yp(ST(o),"props",void 0),o.props=new Xc(ST(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 Pn,new Pn,new Pn]),o}return Jpe(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new Pn,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 d.getMessage("subTable")}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Ta);yp(Jc,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),yp(Jc,"slotPosition",{toolbar:"subtable-toolbar-slot"}),yp(Jc,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,l.COMMON_SETTING_TYPE.IS_PASTE,l.COMMON_SETTING_TYPE.SERVER_PAGINATION,l.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 IT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wF(e,t){for(var r=0;r<t.length;r++){var 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&&wF(e.prototype,t),r&&wF(e,r),e}function ive(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 uve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MT(e,t)}function cve(e,t){return t&&(lve(t)==="object"||typeof t=="function")?t:IT(e)}function MT(e,t){return MT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},MT(e,t)}function lve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ave(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fve(e){var t=ave();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 cve(this,o)}}var sve=function(e){uve(r,e);var t=fve(r);function r(n){rve(this,r);var o;return o=t.call(this,n),ive(IT(o),"props",void 0),o.props=new Xc(IT(o),n==null?void 0:n.props),o}return ove(r,[{key:"getChildrenDataSourceBindLayout",value:function(){dr("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(Wg),PF={Designer:Jc,Runtime:sve,Property:Xc};function Ki(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qc(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 yve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dve(e,t){return t&&(pve(t)==="object"||typeof t=="function")?t:Ki(e)}function LT(e,t){return LT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LT(e,t)}function pve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hve(e){var t=vve();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 dve(this,o)}}var kT=function(e){yve(r,e);var t=hve(r);function r(n,o){_ve(this,r);var i;i=t.call(this,n,o),Qc(Ki(i),"isFixedHeader",void 0),Qc(Ki(i),"selectionType",void 0),Qc(Ki(i),"isShowToolbar",void 0),Qc(Ki(i),"isShowSelection",void 0),Qc(Ki(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 a;i.isShowSelection=(a=o==null?void 0:o.isShowSelection)!==null&&a!==void 0?a:!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}(Ju);function gve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mve(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 RF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bve(e,t){return t&&(Ove(t)==="object"||typeof t=="function")?t:gve(e)}function AT(e,t){return AT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},AT(e,t)}function Ove(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EF(e){var t=wve();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 bve(this,o)}}var Pve=function(e){RF(r,e);var t=EF(r);function r(n){TF(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(dn),gp=function(e){RF(r,e);var t=EF(r);function r(n){TF(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 a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:To.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 y;return o.widthType=(y=n==null?void 0:n.widthType)!==null&&y!==void 0?y:"px",o}return r}(Ne);mve(gp,"Rules",Pve);function $F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tve(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 mp(e){return mp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mp(e)}function Rve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Eve(e,t){return t&&($ve(t)==="object"||typeof t=="function")?t:$F(e)}function DT(e,t){return DT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DT(e,t)}function $ve(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 Nve(e){var t=Sve();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 Eve(this,o)}}var To=function(e){Rve(r,e);var t=Nve(r);function r(n){Tve(this,r);var o;return o=t.call(this,n),Zc($F(o),"props",void 0),o.props=new gp(n==null?void 0:n.props),o}return r}(We);Zc(To,"controlType","order-column"),Zc(To,"controlName",d.getMessage("order")),Zc(To,"controlIcon","order-column"),Zc(To,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function SF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ive(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 bp(e){return bp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bp(e)}function Mve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lve(e,t){return t&&(kve(t)==="object"||typeof t=="function")?t:SF(e)}function jT(e,t){return jT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jT(e,t)}function kve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ave(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dve(e){var t=Ave();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 Lve(this,o)}}var CT=function(e){Mve(r,e);var t=Dve(r);function r(n){Ive(this,r);var o;return o=t.call(this,n),BT(SF(o),"props",void 0),o.props=new gp(n==null?void 0:n.props),o}return r}(qe);BT(CT,"controlType","order-column"),BT(CT,"controlFieldType",l.FieldTypes.DECIMAL);var NF={Designer:To,Runtime:CT,Property:gp};function FT(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 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 Op(e){return Op=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Op(e)}function jve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&VT(e,t)}function Cve(e,t){return t&&(Fve(t)==="object"||typeof t=="function")?t:FT(e)}function VT(e,t){return VT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},VT(e,t)}function Fve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xve(e){var t=Vve();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 Cve(this,o)}}var xT=function(e){jve(r,e);var t=xve(r);function r(n){Bve(this,r);var o,i;o=t.call(this,n),IF(FT(o),"showType",void 0),IF(FT(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 a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Eo.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 MF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LF(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(f){r(f);return}c.done?t(a):Promise.resolve(a).then(n,o)}function Uve(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){LF(i,n,o,u,c,"next",a)}function c(a){LF(i,n,o,u,c,"throw",a)}u(void 0)})}}function Gve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kF(e,t){for(var r=0;r<t.length;r++){var 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&&kF(e.prototype,t),r&&kF(e,r),e}function el(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?tl=Reflect.get:tl=function(o,i,u){var c=Wve(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},tl(e,t,r||e)}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(e)}function Hve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UT(e,t)}function zve(e,t){return t&&(qve(t)==="object"||typeof t=="function")?t:MF(e)}function UT(e,t){return UT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UT(e,t)}function Wve(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ro(e),e!==null););return e}function qve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xve(e){var t=Kve();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 zve(this,o)}}function Jve(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 a([f,s])}}function a(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 Eo=function(e){Hve(r,e);var t=Xve(r);function r(n){Gve(this,r);var o;return o=t.call(this,n),el(MF(o),"props",void 0),o.props=new xT(n==null?void 0:n.props),o}return Yve(r,[{key:"toDataBindModel",value:function(){var o=tl(Ro(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Os.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return tl(Ro(r.prototype),"validate",u)};return Uve(function(){return Jve(this,function(f){switch(f.label){case 0:return[4,a().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);el(Eo,"controlType","operation-column"),el(Eo,"controlName",d.getMessage("operation")),el(Eo,"controlIcon","operation-column"),el(Eo,"setting",[{key:"caption",showItems:[l.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 AF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GT(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 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&&YT(e,t)}function ehe(e,t){return t&&(the(t)==="object"||typeof t=="function")?t:AF(e)}function YT(e,t){return YT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YT(e,t)}function the(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rhe(e){var t=nhe();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 ehe(this,o)}}var HT=function(e){Zve(r,e);var t=rhe(r);function r(n){Qve(this,r);var o;return o=t.call(this,n),GT(AF(o),"props",void 0),o.props=new xT(n==null?void 0:n.props),o}return r}(qe);GT(HT,"controlType","operation-column"),GT(HT,"controlFieldType",l.FieldTypes.FILE);var DF={Designer:Eo,Runtime:HT,Property:xT};function $o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BF(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(f){r(f);return}c.done?t(a):Promise.resolve(a).then(n,o)}function ohe(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){BF(i,n,o,u,c,"next",a)}function c(a){BF(i,n,o,u,c,"throw",a)}u(void 0)})}}function ihe(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 uhe(e,t,r){return t&&jF(e.prototype,t),r&&jF(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 nl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?nl=Reflect.get:nl=function(o,i,u){var c=yhe(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},nl(e,t,r||e)}function So(e){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},So(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&&zT(e,t)}function lhe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ahe(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 fhe(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 she(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fhe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function _he(e,t){return t&&(dhe(t)==="object"||typeof t=="function")?t:$o(e)}function zT(e,t){return zT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zT(e,t)}function yhe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=So(e),e!==null););return e}function dhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function phe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vhe(e){var t=phe();return function(){var n=So(e),o;if(t){var i=So(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _he(this,o)}}function hhe(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 a([f,s])}}function a(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 ghe=1e4,rl=function(t){che(n,t);var r=vhe(n);function n(o){ihe(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=lhe(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new kT($o(i),o==null?void 0:o.props),yn($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 To,new Eo]),i.excludes=Wt(c),i.childrenMaxLength=a,i}return uhe(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=nl(So(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){return c.toSchema()});return she(ahe({},i),{children:u})}},{key:"validate",value:function(i,u){var c=this,a=this,f=function(){return nl(So(n.prototype),"validate",c)};return ohe(function(){return hhe(this,function(s){switch(s.label){case 0:return[4,f().call(a,i,u)];case 1:return s.sent(),[4,Promise.all(a.children.map(function(_){return _.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return d.getMessage("gridTable")}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(Ta);rr(rl,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),rr(rl,"setting",[{key:"list-fixed-header",visible:!0}]),rr(rl,"excludes",[]),rr(rl,"childrenMaxLength",ghe);function WT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mhe(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 bhe(e,t,r){return t&&CF(e.prototype,t),r&&CF(e,r),e}function Ohe(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 whe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qT(e,t)}function Phe(e,t){return t&&(The(t)==="object"||typeof t=="function")?t:WT(e)}function qT(e,t){return qT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qT(e,t)}function The(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 Ehe(e){var t=Rhe();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 Phe(this,o)}}var $he=function(e){whe(r,e);var t=Ehe(r);function r(n){mhe(this,r);var o;return o=t.call(this,n),Ohe(WT(o),"props",void 0),o.props=new kT(WT(o),n==null?void 0:n.props),o}return bhe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){dr("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}(Wg),FF={Designer:rl,Runtime:$he,Property:kT},She=Object.freeze({__proto__:null,SubTable:PF,GridTable:FF});function or(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VF(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 Tp(e){return Tp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tp(e)}function xF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nhe(e,t){return t&&(Ihe(t)==="object"||typeof t=="function")?t:or(e)}function KT(e,t){return KT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KT(e,t)}function Ihe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UF(e){var t=Mhe();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 Nhe(this,o)}}var Lhe=function(e){xF(r,e);var t=UF(r);function r(n){VF(this,r);var o;return o=t.call(this,n),qn.call(or(o),n),o}return r}(Qg),Rp=function(e){xF(r,e);var t=UF(r);function r(n){VF(this,r);var o;o=t.call(this,n),Hr(or(o),"optionConfig",void 0),Hr(or(o),"datasourceBind",void 0),Hr(or(o),"showLinkOperation",void 0),Hr(or(o),"linkOperationOption",void 0),Hr(or(o),"options",void 0),Hr(or(o),"lineEllipsis",void 0),Hr(or(o),"dictionaryTagConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:No.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=In((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var a;o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new Nn(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);Hr(Rp,"Rules",Lhe);function GF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function khe(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 Ep(e){return Ep=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ep(e)}function Ahe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dhe(e,t){return t&&(Bhe(t)==="object"||typeof t=="function")?t:GF(e)}function XT(e,t){return XT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},XT(e,t)}function Bhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Che(e){var t=jhe();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 Dhe(this,o)}}var No=function(e){Ahe(r,e);var t=Che(r);function r(n){khe(this,r);var o;return o=t.call(this,n),Xi(GF(o),"props",void 0),o.props=new Rp(n==null?void 0:n.props),o}return r}(We);Xi(No,"controlType","varchar-column"),Xi(No,"controlName",d.getMessage("varchar")),Xi(No,"controlIcon","varchar-column"),Xi(No,"controlFieldType",l.FieldTypes.VARCHAR),Xi(No,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 YF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fhe(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 $p(e){return $p=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$p(e)}function Vhe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&QT(e,t)}function xhe(e,t){return t&&(Uhe(t)==="object"||typeof t=="function")?t:YF(e)}function QT(e,t){return QT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},QT(e,t)}function Uhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ghe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yhe(e){var t=Ghe();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 xhe(this,o)}}var ZT=function(e){Vhe(r,e);var t=Yhe(r);function r(n){Fhe(this,r);var o;return o=t.call(this,n),JT(YF(o),"props",void 0),o.props=new Rp(n==null?void 0:n.props),o}return r}(qe);JT(ZT,"controlType","varchar-column"),JT(ZT,"controlFieldType",l.FieldTypes.VARCHAR);var HF={Designer:No,Runtime:ZT,Property:Rp};function Ji(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Sp(e){return Sp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sp(e)}function WF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eR(e,t)}function Hhe(e,t){return t&&(zhe(t)==="object"||typeof t=="function")?t:Ji(e)}function eR(e,t){return eR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eR(e,t)}function zhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Whe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qF(e){var t=Whe();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 Hhe(this,o)}}var qhe=function(e){WF(r,e);var t=qF(r);function r(n){zF(this,r);var o;return o=t.call(this,n),qn.call(Ji(o),n),o}return r}(dn),Np=function(e){WF(r,e);var t=qF(r);function r(n){zF(this,r);var o;o=t.call(this,n),ol(Ji(o),"escapeHTML",void 0),ol(Ji(o),"showLinkOperation",void 0),ol(Ji(o),"linkOperationOption",void 0),ol(Ji(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:Io.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var a;return o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new Nn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);ol(Np,"Rules",qhe);function KF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Khe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xhe(e,t,r){return t&&XF(e.prototype,t),r&&XF(e,r),e}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 Ip(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ip=Reflect.get:Ip=function(o,i,u){var c=Zhe(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Ip(e,t,r||e)}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(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&&tR(e,t)}function Qhe(e,t){return t&&(ege(t)==="object"||typeof t=="function")?t:KF(e)}function tR(e,t){return tR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tR(e,t)}function Zhe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zi(e),e!==null););return e}function ege(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tge();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 Qhe(this,o)}}var Io=function(e){Jhe(r,e);var t=nge(r);function r(n){Khe(this,r);var o;return o=t.call(this,n),Qi(KF(o),"props",void 0),o.props=new Np(n==null?void 0:n.props),o}return Xhe(r,[{key:"toDataBindModel",value:function(o){var i=Ip(Zi(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(We);Qi(Io,"controlType","text-column"),Qi(Io,"controlName",d.getMessage("long")),Qi(Io,"controlIcon","text-column"),Qi(Io,"controlFieldType",l.FieldTypes.TEXT),Qi(Io,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 JF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rge(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 Mp(e){return Mp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mp(e)}function oge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rR(e,t)}function ige(e,t){return t&&(uge(t)==="object"||typeof t=="function")?t:JF(e)}function rR(e,t){return rR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rR(e,t)}function uge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lge(e){var t=cge();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 ige(this,o)}}var oR=function(e){oge(r,e);var t=lge(r);function r(n){rge(this,r);var o;return o=t.call(this,n),nR(JF(o),"props",void 0),o.props=new Np(n==null?void 0:n.props),o}return r}(qe);nR(oR,"controlType","text-column"),nR(oR,"controlFieldType",l.FieldTypes.TEXT);var QF={Designer:Io,Runtime:oR,Property:Np};function Fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZF(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 Lp(e){return Lp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lp(e)}function e2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iR(e,t)}function age(e,t){return t&&(fge(t)==="object"||typeof t=="function")?t:Fn(e)}function iR(e,t){return iR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iR(e,t)}function fge(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 t2(e){var t=sge();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 age(this,o)}}var _ge=function(e){e2(r,e);var t=t2(r);function r(n){ZF(this,r);var o;return o=t.call(this,n),qn.call(Fn(o),n),o}return r}(dn),kp=function(e){e2(r,e);var t=t2(r);function r(n){ZF(this,r);var o;o=t.call(this,n),ir(Fn(o),"optionConfig",void 0),ir(Fn(o),"datasourceBind",void 0),ir(Fn(o),"showLinkOperation",void 0),ir(Fn(o),"linkOperationOption",void 0),ir(Fn(o),"options",void 0),ir(Fn(o),"precision",void 0),ir(Fn(o),"micrometer",void 0),ir(Fn(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Mo.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 a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!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=In((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 Nn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);ir(kp,"Rules",_ge);function n2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r2(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dge(e,t,r){return t&&r2(e.prototype,t),r&&r2(e,r),e}function eu(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ap=Reflect.get:Ap=function(o,i,u){var c=hge(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Ap(e,t,r||e)}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function pge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uR(e,t)}function vge(e,t){return t&&(gge(t)==="object"||typeof t=="function")?t:n2(e)}function uR(e,t){return uR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uR(e,t)}function hge(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tu(e),e!==null););return e}function gge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bge(e){var t=mge();return function(){var n=tu(e),o;if(t){var i=tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vge(this,o)}}var Mo=function(e){pge(r,e);var t=bge(r);function r(n){yge(this,r);var o;return o=t.call(this,n),eu(n2(o),"props",void 0),o.props=new kp(n==null?void 0:n.props),o}return dge(r,[{key:"toDataBindModel",value:function(o){var i=Ap(tu(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}]),r}(We);eu(Mo,"controlType","decimal-column"),eu(Mo,"controlName",d.getMessage("decimal")),eu(Mo,"controlIcon","decimal-column"),eu(Mo,"controlFieldType",l.FieldTypes.DECIMAL),eu(Mo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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:[l.COMMON_SETTING_TYPE.MICROMETER,l.COMMON_SETTING_TYPE.PRECISION,l.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function o2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oge(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 Dp(e){return Dp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dp(e)}function wge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lR(e,t)}function Pge(e,t){return t&&(Tge(t)==="object"||typeof t=="function")?t:o2(e)}function lR(e,t){return lR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lR(e,t)}function Tge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ege(e){var t=Rge();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 Pge(this,o)}}var aR=function(e){wge(r,e);var t=Ege(r);function r(n){Oge(this,r);var o;return o=t.call(this,n),cR(o2(o),"props",void 0),o.props=new kp(n==null?void 0:n.props),o}return r}(qe);cR(aR,"controlType","decimal-column"),cR(aR,"controlFieldType",l.FieldTypes.DECIMAL);var i2={Designer:Mo,Runtime:aR,Property:kp};function il(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bp(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){return jp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jp(e)}function c2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fR(e,t)}function $ge(e,t){return t&&(Sge(t)==="object"||typeof t=="function")?t:il(e)}function fR(e,t){return fR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fR(e,t)}function Sge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Nge();return function(){var n=jp(e),o;if(t){var i=jp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $ge(this,o)}}var Ige=function(e){c2(r,e);var t=l2(r);function r(n){u2(this,r);var o;return o=t.call(this,n),qn.call(il(o),n),o}return r}(dn),Cp=function(e){c2(r,e);var t=l2(r);function r(n){u2(this,r);var o;o=t.call(this,n),Bp(il(o),"dateType",void 0),Bp(il(o),"showLinkOperation",void 0),Bp(il(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:l.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Nn(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Lo.controlName,o}return r}(Ne);Bp(Cp,"Rules",Ige);function a2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f2(e,t){for(var r=0;r<t.length;r++){var 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&&f2(e.prototype,t),r&&f2(e,r),e}function nu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fp(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Fp=Reflect.get:Fp=function(o,i,u){var c=Dge(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Fp(e,t,r||e)}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function kge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sR(e,t)}function Age(e,t){return t&&(Bge(t)==="object"||typeof t=="function")?t:a2(e)}function sR(e,t){return sR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sR(e,t)}function Dge(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ru(e),e!==null););return e}function Bge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jge();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Age(this,o)}}var Lo=function(e){kge(r,e);var t=Cge(r);function r(n){Mge(this,r);var o;return o=t.call(this,n),nu(a2(o),"props",void 0),o.props=new Cp(n==null?void 0:n.props),o}return Lge(r,[{key:"toDataBindModel",value:function(o){var i=Fp(ru(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(We);nu(Lo,"controlType","timescope-column"),nu(Lo,"controlName",d.getMessage("timescope")),nu(Lo,"controlIcon","timescope-column"),nu(Lo,"controlFieldType",l.FieldTypes.TIMESCOPE),nu(Lo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 s2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fge(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 Vp(e){return Vp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vp(e)}function Vge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yR(e,t)}function xge(e,t){return t&&(Uge(t)==="object"||typeof t=="function")?t:s2(e)}function yR(e,t){return yR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yR(e,t)}function Uge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Gge();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 xge(this,o)}}var dR=function(e){Vge(r,e);var t=Yge(r);function r(n){Fge(this,r);var o;return o=t.call(this,n),_R(s2(o),"props",void 0),o.props=new Cp(n==null?void 0:n.props),o}return r}(qe);_R(dR,"controlType","timescope-column"),_R(dR,"controlFieldType",l.FieldTypes.TIMESCOPE);var _2={Designer:Lo,Runtime:dR,Property:Cp};function ul(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 d2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pR(e,t)}function Hge(e,t){return t&&(zge(t)==="object"||typeof t=="function")?t:ul(e)}function pR(e,t){return pR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pR(e,t)}function zge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p2(e){var t=Wge();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 Hge(this,o)}}var qge=function(e){d2(r,e);var t=p2(r);function r(n){y2(this,r);var o;return o=t.call(this,n),qn.call(ul(o),n),o}return r}(dn),Gp=function(e){d2(r,e);var t=p2(r);function r(n){y2(this,r);var o;o=t.call(this,n),xp(ul(o),"dateType",void 0),xp(ul(o),"showLinkOperation",void 0),xp(ul(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:l.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Nn(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ko.controlName,o}return r}(Ne);xp(Gp,"Rules",qge);function v2(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 h2(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xge(e,t,r){return t&&h2(e.prototype,t),r&&h2(e,r),e}function ou(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Yp=Reflect.get:Yp=function(o,i,u){var c=Zge(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Yp(e,t,r||e)}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(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&&vR(e,t)}function Qge(e,t){return t&&(eme(t)==="object"||typeof t=="function")?t:v2(e)}function vR(e,t){return vR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vR(e,t)}function Zge(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=iu(e),e!==null););return e}function eme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tme();return function(){var n=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qge(this,o)}}var ko=function(e){Jge(r,e);var t=nme(r);function r(n){Kge(this,r);var o;return o=t.call(this,n),ou(v2(o),"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return Xge(r,[{key:"toDataBindModel",value:function(o){var i=Yp(iu(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(We);ou(ko,"controlType","timestamp-column"),ou(ko,"controlName",d.getMessage("timestamp")),ou(ko,"controlIcon","timestamp-column"),ou(ko,"controlFieldType",l.FieldTypes.TIMESTAMP),ou(ko,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 g2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rme(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 Hp(e){return Hp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hp(e)}function ome(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gR(e,t)}function ime(e,t){return t&&(ume(t)==="object"||typeof t=="function")?t:g2(e)}function gR(e,t){return gR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gR(e,t)}function ume(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lme(e){var t=cme();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 ime(this,o)}}var mR=function(e){ome(r,e);var t=lme(r);function r(n){rme(this,r);var o;return o=t.call(this,n),hR(g2(o),"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return r}(qe);hR(mR,"controlType","timestamp-column"),hR(mR,"controlFieldType",l.FieldTypes.TIMESTAMP);var m2={Designer:ko,Runtime:mR,Property:Gp};function Ao(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uu(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 O2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bR(e,t)}function ame(e,t){return t&&(fme(t)==="object"||typeof t=="function")?t:Ao(e)}function bR(e,t){return bR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bR(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 w2(e){var t=sme();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 ame(this,o)}}var _me=function(e){O2(r,e);var t=w2(r);function r(n){b2(this,r);var o;return o=t.call(this,n),qn.call(Ao(o),n),o}return r}(Qg),Wp=function(e){O2(r,e);var t=w2(r);function r(n){b2(this,r);var o;o=t.call(this,n),uu(Ao(o),"optionConfig",void 0),uu(Ao(o),"datasourceBind",void 0),uu(Ao(o),"showLinkOperation",void 0),uu(Ao(o),"linkOperationOption",void 0),uu(Ao(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Do.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 Nn(n==null?void 0:n.linkOperationOption);var a;return o.options=In((a=n==null?void 0:n.options)!==null&&a!==void 0?a:[{}]),o}return r}(Ne);uu(Wp,"Rules",_me);function P2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yme(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 qp(e){return qp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qp(e)}function dme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OR(e,t)}function pme(e,t){return t&&(vme(t)==="object"||typeof t=="function")?t:P2(e)}function OR(e,t){return OR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OR(e,t)}function vme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gme(e){var t=hme();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 pme(this,o)}}var Do=function(e){dme(r,e);var t=gme(r);function r(n){yme(this,r);var o;return o=t.call(this,n),cu(P2(o),"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return r}(We);cu(Do,"controlType","array-column"),cu(Do,"controlName",d.getMessage("array")),cu(Do,"controlIcon","array-column"),cu(Do,"controlFieldType",l.FieldTypes.ARRAY),cu(Do,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 mme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wR(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 bme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PR(e,t)}function Ome(e,t){return t&&(wme(t)==="object"||typeof t=="function")?t:T2(e)}function PR(e,t){return PR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PR(e,t)}function wme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tme(e){var t=Pme();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 Ome(this,o)}}var TR=function(e){bme(r,e);var t=Tme(r);function r(n){mme(this,r);var o;return o=t.call(this,n),wR(T2(o),"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return r}(qe);wR(TR,"controlType","array-column"),wR(TR,"controlFieldType",l.FieldTypes.ARRAY);var R2={Designer:Do,Runtime:TR,Property:Wp};function E2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eme(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 $me(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RR(e,t)}function Sme(e,t){return t&&(Nme(t)==="object"||typeof t=="function")?t:E2(e)}function RR(e,t){return RR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RR(e,t)}function Nme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ime(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mme(e){var t=Ime();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 Sme(this,o)}}var ER=function(e){$me(r,e);var t=Mme(r);function r(n){Rme(this,r);var o;o=t.call(this,n),Eme(E2(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Bo.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(Ne);function $2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lme(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 kme(e,t,r){return t&&S2(e.prototype,t),r&&S2(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=Bme(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Jp(e,t,r||e)}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(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&&$R(e,t)}function Dme(e,t){return t&&(jme(t)==="object"||typeof t=="function")?t:$2(e)}function $R(e,t){return $R=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$R(e,t)}function Bme(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=au(e),e!==null););return e}function jme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fme(e){var t=Cme();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dme(this,o)}}var Bo=function(e){Ame(r,e);var t=Fme(r);function r(n){Lme(this,r);var o;return o=t.call(this,n),lu($2(o),"props",void 0),o.props=new ER(n==null?void 0:n.props),o}return kme(r,[{key:"toDataBindModel",value:function(o){var i=Jp(au(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(We);lu(Bo,"controlType","department-column"),lu(Bo,"controlName",d.getMessage("department")),lu(Bo,"controlIcon","department-column"),lu(Bo,"controlFieldType",l.FieldTypes.DEPARTMENTS),lu(Bo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 N2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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}function Qp(e){return Qp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qp(e)}function xme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NR(e,t)}function Ume(e,t){return t&&(Gme(t)==="object"||typeof t=="function")?t:N2(e)}function NR(e,t){return NR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NR(e,t)}function Gme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hme(e){var t=Yme();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 Ume(this,o)}}var IR=function(e){xme(r,e);var t=Hme(r);function r(n){Vme(this,r);var o;return o=t.call(this,n),SR(N2(o),"props",void 0),o.props=new ER(n==null?void 0:n.props),o}return r}(qe);SR(IR,"controlType","department-column"),SR(IR,"controlFieldType",l.FieldTypes.DEPARTMENTS);var I2={Designer:Bo,Runtime:IR,Property:ER};function Zp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MR(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 L2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LR(e,t)}function zme(e,t){return t&&(Wme(t)==="object"||typeof t=="function")?t:Zp(e)}function LR(e,t){return LR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LR(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 k2(e){var t=qme();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 zme(this,o)}}var Kme=function(e){L2(r,e);var t=k2(r);function r(n){M2(this,r);var o;return o=t.call(this,n),qn.call(Zp(o),n),o}return r}(dn),tv=function(e){L2(r,e);var t=k2(r);function r(n){M2(this,r);var o;o=t.call(this,n),MR(Zp(o),"showLinkOperation",void 0),MR(Zp(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:jo.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Nn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);MR(tv,"Rules",Kme);function A2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fu(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 Jme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kR(e,t)}function Qme(e,t){return t&&(Zme(t)==="object"||typeof t=="function")?t:A2(e)}function kR(e,t){return kR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kR(e,t)}function Zme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ebe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ebe();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 Qme(this,o)}}var jo=function(e){Jme(r,e);var t=tbe(r);function r(n){Xme(this,r);var o;return o=t.call(this,n),fu(A2(o),"props",void 0),o.props=new tv(n==null?void 0:n.props),o}return r}(We);fu(jo,"controlType","auto-number-column"),fu(jo,"controlName",d.getMessage("autoNumber")),fu(jo,"controlIcon","auto-number-column"),fu(jo,"controlFieldType",l.FieldTypes.AUTO_NUMBER),fu(jo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 D2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AR(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 rbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&DR(e,t)}function obe(e,t){return t&&(ibe(t)==="object"||typeof t=="function")?t:D2(e)}function DR(e,t){return DR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DR(e,t)}function ibe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ube(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cbe(e){var t=ube();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 obe(this,o)}}var BR=function(e){rbe(r,e);var t=cbe(r);function r(n){nbe(this,r);var o;return o=t.call(this,n),AR(D2(o),"props",void 0),o.props=new tv(n==null?void 0:n.props),o}return r}(qe);AR(BR,"controlType","auto-number-column"),AR(BR,"controlFieldType",l.FieldTypes.AUTO_NUMBER);var B2={Designer:jo,Runtime:BR,Property:tv};function lbe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function abe(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 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&&jR(e,t)}function sbe(e,t){return t&&(_be(t)==="object"||typeof t=="function")?t:lbe(e)}function jR(e,t){return jR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jR(e,t)}function _be(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 dbe(e){var t=ybe();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 sbe(this,o)}}var CR=function(e){fbe(r,e);var t=dbe(r);function r(n){abe(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 j2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pbe(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 iv(e){return iv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iv(e)}function vbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&FR(e,t)}function hbe(e,t){return t&&(gbe(t)==="object"||typeof t=="function")?t:j2(e)}function FR(e,t){return FR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},FR(e,t)}function gbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bbe(e){var t=mbe();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 hbe(this,o)}}var Co=function(e){vbe(r,e);var t=bbe(r);function r(n){pbe(this,r);var o;return o=t.call(this,n),su(j2(o),"props",void 0),o.props=new CR(n==null?void 0:n.props),o}return r}(We);su(Co,"controlType","file-column"),su(Co,"controlName",d.getMessage("file")),su(Co,"controlIcon","file-column"),su(Co,"controlFieldType",l.FieldTypes.FILE),su(Co,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 C2(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 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 uv(e){return uv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uv(e)}function wbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xR(e,t)}function Pbe(e,t){return t&&(Tbe(t)==="object"||typeof t=="function")?t:C2(e)}function xR(e,t){return xR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xR(e,t)}function Tbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ebe(e){var t=Rbe();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 Pbe(this,o)}}var UR=function(e){wbe(r,e);var t=Ebe(r);function r(n){Obe(this,r);var o;return o=t.call(this,n),VR(C2(o),"props",void 0),o.props=new CR(n==null?void 0:n.props),o}return r}(qe);VR(UR,"controlType","file-column"),VR(UR,"controlFieldType",l.FieldTypes.FILE);var F2={Designer:Co,Runtime:UR,Property:CR};function $be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sbe(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 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&&GR(e,t)}function Ibe(e,t){return t&&(Mbe(t)==="object"||typeof t=="function")?t:$be(e)}function GR(e,t){return GR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},GR(e,t)}function Mbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Lbe();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 Ibe(this,o)}}var YR=function(e){Nbe(r,e);var t=kbe(r);function r(n){Sbe(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:Fo.controlName,o}return r}(Ne);function V2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Abe(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 lv(e){return lv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lv(e)}function Dbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&HR(e,t)}function Bbe(e,t){return t&&(jbe(t)==="object"||typeof t=="function")?t:V2(e)}function HR(e,t){return HR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HR(e,t)}function jbe(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 Fbe(e){var t=Cbe();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 Bbe(this,o)}}var Fo=function(e){Dbe(r,e);var t=Fbe(r);function r(n){Abe(this,r);var o;return o=t.call(this,n),_u(V2(o),"props",void 0),o.props=new YR(n==null?void 0:n.props),o}return r}(We);_u(Fo,"controlType","image-column"),_u(Fo,"controlName",d.getMessage("image")),_u(Fo,"controlIcon","image-column"),_u(Fo,"controlFieldType",l.FieldTypes.IMAGE),_u(Fo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 x2(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 zR(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 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&&WR(e,t)}function Ube(e,t){return t&&(Gbe(t)==="object"||typeof t=="function")?t:x2(e)}function WR(e,t){return WR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},WR(e,t)}function Gbe(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 Hbe(e){var t=Ybe();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 Ube(this,o)}}var qR=function(e){xbe(r,e);var t=Hbe(r);function r(n){Vbe(this,r);var o;return o=t.call(this,n),zR(x2(o),"props",void 0),o.props=new YR(n==null?void 0:n.props),o}return r}(qe);zR(qR,"controlType","image-column"),zR(qR,"controlFieldType",l.FieldTypes.IMAGE);var U2={Designer:Fo,Runtime:qR,Property:YR};function zbe(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 fv(e){return fv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fv(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&&KR(e,t)}function Kbe(e,t){return t&&(Xbe(t)==="object"||typeof t=="function")?t:zbe(e)}function KR(e,t){return KR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KR(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=fv(e),o;if(t){var i=fv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kbe(this,o)}}var XR=function(e){qbe(r,e);var t=Qbe(r);function r(n){Wbe(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:Vo.controlName,o}return r}(Ne);function G2(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 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 eOe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JR(e,t)}function tOe(e,t){return t&&(nOe(t)==="object"||typeof t=="function")?t:G2(e)}function JR(e,t){return JR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},JR(e,t)}function nOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oOe(e){var t=rOe();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 tOe(this,o)}}var Vo=function(e){eOe(r,e);var t=oOe(r);function r(n){Zbe(this,r);var o;return o=t.call(this,n),yu(G2(o),"props",void 0),o.props=new XR(n==null?void 0:n.props),o}return r}(We);yu(Vo,"controlType","people-column"),yu(Vo,"controlName",d.getMessage("people")),yu(Vo,"controlIcon","people-column"),yu(Vo,"controlFieldType",l.FieldTypes.EMPLOYEES),yu(Vo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 iOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QR(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 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&&ZR(e,t)}function cOe(e,t){return t&&(lOe(t)==="object"||typeof t=="function")?t:Y2(e)}function ZR(e,t){return ZR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZR(e,t)}function lOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fOe(e){var t=aOe();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 cOe(this,o)}}var eE=function(e){uOe(r,e);var t=fOe(r);function r(n){iOe(this,r);var o;return o=t.call(this,n),QR(Y2(o),"props",void 0),o.props=new XR(n==null?void 0:n.props),o}return r}(qe);QR(eE,"controlType","people-column"),QR(eE,"controlFieldType",l.FieldTypes.EMPLOYEES);var H2={Designer:Vo,Runtime:eE,Property:XR};function yv(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 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 dv(e){return dv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dv(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&&nE(e,t)}function sOe(e,t){return t&&(_Oe(t)==="object"||typeof t=="function")?t:yv(e)}function nE(e,t){return nE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nE(e,t)}function _Oe(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 q2(e){var t=yOe();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 sOe(this,o)}}var dOe=function(e){W2(r,e);var t=q2(r);function r(n){z2(this,r);var o;return o=t.call(this,n),qn.call(yv(o),n),o}return r}(dn),pv=function(e){W2(r,e);var t=q2(r);function r(n){z2(this,r);var o;o=t.call(this,n),tE(yv(o),"showLinkOperation",void 0),tE(yv(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:xo.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Nn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);tE(pv,"Rules",dOe);function K2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pOe(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 vv(e){return vv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vv(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&&rE(e,t)}function hOe(e,t){return t&&(gOe(t)==="object"||typeof t=="function")?t:K2(e)}function rE(e,t){return rE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rE(e,t)}function gOe(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 bOe(e){var t=mOe();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 hOe(this,o)}}var xo=function(e){vOe(r,e);var t=bOe(r);function r(n){pOe(this,r);var o;return o=t.call(this,n),du(K2(o),"props",void 0),o.props=new pv(n==null?void 0:n.props),o}return r}(We);du(xo,"controlType","location-column"),du(xo,"controlName",d.getMessage("location")),du(xo,"controlIcon","location-column"),du(xo,"controlFieldType",l.FieldTypes.ADDRESS),du(xo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 X2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oE(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 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&&iE(e,t)}function POe(e,t){return t&&(TOe(t)==="object"||typeof t=="function")?t:X2(e)}function iE(e,t){return iE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iE(e,t)}function TOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ROe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ROe();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 POe(this,o)}}var uE=function(e){wOe(r,e);var t=EOe(r);function r(n){OOe(this,r);var o;return o=t.call(this,n),oE(X2(o),"props",void 0),o.props=new pv(n==null?void 0:n.props),o}return r}(qe);oE(uE,"controlType","location-column"),oE(uE,"controlFieldType",l.FieldTypes.ADDRESS);var J2={Designer:xo,Runtime:uE,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 Q2(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 Z2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $Oe(e,t){return t&&(SOe(t)==="object"||typeof t=="function")?t:gv(e)}function cE(e,t){return cE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cE(e,t)}function SOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e3(e){var t=NOe();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 $Oe(this,o)}}var IOe=function(e){Z2(r,e);var t=e3(r);function r(n){Q2(this,r);var o;return o=t.call(this,n),mv(gv(o),"sortFieldCode",{type:"string",message:d.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(dn),Ov=function(e){Z2(r,e);var t=e3(r);function r(n){Q2(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",IOe);function pu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LOe(e,t,r){return t&&t3(e.prototype,t),r&&t3(e,r),e}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 wv(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?wv=Reflect.get:wv=function(o,i,u){var c=BOe(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},wv(e,t,r||e)}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function kOe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lE(e,t)}function AOe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function DOe(e,t){return t&&(jOe(t)==="object"||typeof t=="function")?t:pu(e)}function lE(e,t){return lE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lE(e,t)}function BOe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vu(e),e!==null););return e}function jOe(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 FOe(e){var t=COe();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DOe(this,o)}}var VOe=1,ur=function(t){kOe(n,t);var r=FOe(n);function n(o){MOe(this,n);var i;i=r.call(this,o),Tn(pu(i),"excludes",void 0),Tn(pu(i),"childrenMaxLength",void 0),Tn(pu(i),"props",void 0),Tn(pu(i),"children",void 0);var u=AOe(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new Ov(o==null?void 0:o.props),yn(pu(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Wt(c),i.childrenMaxLength=a,i}return LOe(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(vu(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}}]),n}(We);Tn(ur,"controlType","custom-column"),Tn(ur,"controlName",d.getMessage("custom")),Tn(ur,"controlIcon","custom-column"),Tn(ur,"slots",["column-column-slot"]),Tn(ur,"excludes",[]),Tn(ur,"childrenMaxLength",VOe),Tn(ur,"setting",[{key:"caption",showItems:[l.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 Pv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aE(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 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&&fE(e,t)}function GOe(e,t){return t&&(YOe(t)==="object"||typeof t=="function")?t:Pv(e)}function fE(e,t){return fE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fE(e,t)}function YOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=HOe();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 GOe(this,o)}}var n3=function(e){UOe(r,e);var t=zOe(r);function r(n){xOe(this,r);var o;return o=t.call(this,n),aE(Pv(o),"props",void 0),aE(Pv(o),"children",void 0),o.props=new Ov(n==null?void 0:n.props),yn(Pv(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(qe);aE(n3,"controlType","custom-column");var r3={Designer:ur,Runtime:n3,Property:Ov};function o3(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 qOe(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 KOe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XOe(e,t){return t&&(JOe(t)==="object"||typeof t=="function")?t:o3(e)}function sE(e,t){return sE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sE(e,t)}function JOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=QOe();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 XOe(this,o)}}var _E=function(e){KOe(r,e);var t=ZOe(r);function r(n){WOe(this,r);var o;o=t.call(this,n),qOe(o3(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 i3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t0e(e,t,r){return t&&u3(e.prototype,t),r&&u3(e,r),e}function hu(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 n0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 r0e(e,t){return t&&(o0e(t)==="object"||typeof t=="function")?t:i3(e)}function yE(e,t){return yE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yE(e,t)}function o0e(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 u0e(e){var t=i0e();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 r0e(this,o)}}var zr=function(e){n0e(r,e);var t=u0e(r);function r(n){e0e(this,r);var o;return o=t.call(this,n),hu(i3(o),"props",void 0),o.props=new _E(n==null?void 0:n.props),o}return t0e(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(We);hu(zr,"controlType","employee-column"),hu(zr,"controlName",d.getMessage("employee")),hu(zr,"controlIcon","employee-column"),hu(zr,"controlFieldType",l.FieldTypes.EMPLOYEES),hu(zr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 c3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dE(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 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&&pE(e,t)}function a0e(e,t){return t&&(f0e(t)==="object"||typeof t=="function")?t:c3(e)}function pE(e,t){return pE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pE(e,t)}function f0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _0e(e){var t=s0e();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 a0e(this,o)}}var vE=function(e){l0e(r,e);var t=_0e(r);function r(n){c0e(this,r);var o;return o=t.call(this,n),dE(c3(o),"props",void 0),o.props=new _E(n==null?void 0:n.props),o}return r}(qe);dE(vE,"controlType","employee-column"),dE(vE,"controlFieldType",l.FieldTypes.EMPLOYEES);var l3={Designer:zr,Runtime:vE,Property:_E};function Sv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hE(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 d0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 p0e(e,t){return t&&(v0e(t)==="object"||typeof t=="function")?t:Sv(e)}function gE(e,t){return gE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gE(e,t)}function v0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g0e(e){var t=h0e();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 p0e(this,o)}}var mE=function(e){d0e(r,e);var t=g0e(r);function r(n){y0e(this,r);var o;o=t.call(this,n),hE(Sv(o),"lineEllipsis",void 0),hE(Sv(o),"showLinkOperation",void 0),hE(Sv(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Go.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Nn(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 bE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uo(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 b0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 O0e(e,t){return t&&(w0e(t)==="object"||typeof t=="function")?t:bE(e)}function OE(e,t){return OE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OE(e,t)}function w0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T0e(e){var t=P0e();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 O0e(this,o)}}var Go=function(e){b0e(r,e);var t=T0e(r);function r(n){m0e(this,r);var o;return o=t.call(this,n),Uo(bE(o),"props",void 0),Uo(bE(o),"children",void 0),o.props=new mE(n==null?void 0:n.props),o}return r}(We);Uo(Go,"controlType","approval-status-column"),Uo(Go,"controlName",d.getMessage("approvalStatusColumn")),Uo(Go,"controlIcon","approval-status-column"),Uo(Go,"excludes",[]),Uo(Go,"setting",[{key:"caption",showItems:[l.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 wE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Mv(e){return Mv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mv(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&&TE(e,t)}function $0e(e,t){return t&&(S0e(t)==="object"||typeof t=="function")?t:wE(e)}function TE(e,t){return TE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TE(e,t)}function S0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I0e(e){var t=N0e();return function(){var n=Mv(e),o;if(t){var i=Mv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $0e(this,o)}}var a3=function(e){E0e(r,e);var t=I0e(r);function r(n){R0e(this,r);var o;return o=t.call(this,n),PE(wE(o),"props",void 0),PE(wE(o),"children",void 0),o.props=new mE(n==null?void 0:n.props),o}return r}(qe);PE(a3,"controlType","approval-status-column");var f3={Designer:Go,Runtime:a3,Property:mE},M0e=Object.freeze({__proto__:null,VarcharColumn:HF,TextColumn:QF,DecimalColumn:i2,TimescopeColumn:_2,TimestampColumn:m2,ArrayColumn:R2,DepartmentColumn:I2,AutoNumberColumn:B2,FileColumn:F2,ImageColumn:U2,PeopleColumn:H2,LocationColumn:J2,CustomColumn:r3,OrderColumn:NF,OperationColumn:DF,EmployeeColumn:l3,ApprovalStatusColumn:f3});function Ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gt(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 _3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 L0e(e,t){return t&&(k0e(t)==="object"||typeof t=="function")?t:Ut(e)}function RE(e,t){return RE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RE(e,t)}function k0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y3(e){var t=A0e();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 L0e(this,o)}}var D0e=function(e){_3(r,e);var t=y3(r);function r(n){s3(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Nr),kv=function(e){_3(r,e);var t=y3(r);function r(n){s3(this,r);var o;o=t.call(this,n),Gt(Ut(o),"search",void 0),Gt(Ut(o),"cancel",void 0),Gt(Ut(o),"searchType",void 0),Gt(Ut(o),"labelPosition",void 0),Gt(Ut(o),"viewType",void 0),Gt(Ut(o),"isLoading",void 0),Gt(Ut(o),"custom",void 0),Gt(Ut(o),"queryTypeMap",void 0),Gt(Ut(o),"childMinWidth",void 0),Gt(Ut(o),"colGap",void 0),Gt(Ut(o),"viewConfig",void 0),Gt(Ut(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 a;o.search=new Hn((a=n==null?void 0:n.search)!==null&&a!==void 0?a:{content:"\u67E5\u8BE2",isShow:!0});var f;o.cancel=new Hn((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 Hn(v)});var y;o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[];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 P;return o.simpleConfig=(P=n==null?void 0:n.simpleConfig)!==null&&P!==void 0?P:[],o}return r}(Ma);Gt(kv,"RuntimeRules",D0e);function d3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Av(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 j0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 C0e(e,t){return t&&(F0e(t)==="object"||typeof t=="function")?t:d3(e)}function EE(e,t){return EE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EE(e,t)}function F0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x0e(e){var t=V0e();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 C0e(this,o)}}var Bv=function(e){j0e(r,e);var t=x0e(r);function r(n){B0e(this,r);var o;return o=t.call(this,n),Av(d3(o),"props",void 0),o.props=new kv(n==null?void 0:n.props),o}return r}(xI);Av(Bv,"controlType","simple-search"),Av(Bv,"slotPosition",{default:"search"}),Av(Bv,"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:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}]);function $E(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SE(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 G0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Y0e(e,t){return t&&(H0e(t)==="object"||typeof t=="function")?t:$E(e)}function NE(e,t){return NE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NE(e,t)}function H0e(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 W0e(e){var t=z0e();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 Y0e(this,o)}}var p3=function(e){G0e(r,e);var t=W0e(r);function r(n){U0e(this,r);var o;o=t.call(this,n),SE($E(o),"props",void 0),SE($E(o),"children",void 0),o.props=new kv(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}(GI);SE(p3,"controlType","simple-search");var v3={Designer:Bv,Runtime:p3,Property:kv},q0e=Object.freeze({__proto__:null,SimpleSearch:v3});function h3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Cv(e){return Cv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cv(e)}function J0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Q0e(e,t){return t&&(Z0e(t)==="object"||typeof t=="function")?t:h3(e)}function IE(e,t){return IE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IE(e,t)}function Z0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ewe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function twe(e){var t=ewe();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 Q0e(this,o)}}var ME=function(e){J0e(r,e);var t=twe(r);function r(n){K0e(this,r);var o;o=t.call(this,n),X0e(h3(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}(Da);function g3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nwe(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 rwe(e,t,r){return t&&m3(e.prototype,t),r&&m3(e,r),e}function owe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fv(e){return Fv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fv(e)}function iwe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LE(e,t)}function uwe(e,t){return t&&(cwe(t)==="object"||typeof t=="function")?t:g3(e)}function LE(e,t){return LE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LE(e,t)}function cwe(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 awe(e){var t=lwe();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 uwe(this,o)}}var fwe=function(e){iwe(r,e);var t=awe(r);function r(n){nwe(this,r);var o;return o=t.call(this,n),owe(g3(o),"props",void 0),o.props=new ME(n==null?void 0:n.props),o}return rwe(r,null,[{key:"controlName",get:function(){return d.getMessage("gridLayoutWrap")}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(HI);function b3(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 O3(e,t){for(var r=0;r<t.length;r++){var 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&&O3(e.prototype,t),r&&O3(e,r),e}function ywe(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 dwe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pwe(e,t){return t&&(vwe(t)==="object"||typeof t=="function")?t:b3(e)}function kE(e,t){return kE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kE(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=Vv(e),o;if(t){var i=Vv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pwe(this,o)}}var mwe=function(e){dwe(r,e);var t=gwe(r);function r(n){swe(this,r);var o;return o=t.call(this,n),ywe(b3(o),"props",void 0),o.props=new ME(n==null?void 0:n.props),o}return _we(r,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(WI);function hTe(e){return e}var bwe={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},w3={Designer:fwe,Runtime:mwe,Property:ME,Setting:bwe},Owe=Object.freeze({__proto__:null,GridLayoutWrap:w3});function AE(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 wwe(e){if(Array.isArray(e))return e}function Pwe(e){if(Array.isArray(e))return AE(e)}function Twe(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rwe(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(a){i=!0,c=a}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw c}}return n}}function Ewe(){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 $we(){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 Swe(e,t){return wwe(e)||Rwe(e,t)||T3(e,t)||Ewe()}function P3(e){return Pwe(e)||Twe(e)||T3(e)||$we()}function T3(e,t){if(!!e){if(typeof e=="string")return AE(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 AE(e,t)}}var Nwe=function(e,t){var r=Array.isArray(e),n=r?e:[e];xwe(t==null?void 0:t.events),Dwe(n),Bwe(n);var o=Awe(n),i=jwe(o,t),u=$r(de(i,function(c){return kwe(c,t)}));return r?u:u[0]},Iwe=[l.CONTROL_TYPE.DIVIDER,l.CONTROL_TYPE.TEXT,l.CONTROL_TYPE.TITLE,l.CONTROL_TYPE.LINK,l.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],Mwe=["subtable","grid-table"],Lwe=["simple-search"];function kwe(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":Iwe.includes(i.type)?i.controlType="base":i.controlType="form",Mwe.includes(i.type)&&(i.controlType="list"),Lwe.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 a,f=i.props.entry_type||i.props.entryType;i.props.openType=f==="subpage"?"modal":"default",((a=i.children[0])===null||a===void 0?void 0:a.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(R,E){var I=new bP.Designer;I.props.caption=ut(R.field_name)?R.field_name.zh:R.field_name;var L=I.toSchema();L.id=R.header_id;var x=i.children[0].children[E].children[0];return x&&(L.children=[x]),L}),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(R){R.label=ut(R.text)?R.text.zh:R.text,R.id=R.id||R.opt_id||R.optId||R.data_id}),i=e),e.type==="grid-row"){var _=24/i.children.length;i.children=i.children.map(function(R){var E=new nd.Designer;E.props.span=_;var I=E.toSchema();return I.children.push(R),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 y=i==null?void 0:i.children[0],p=i==null?void 0:i.children[1],m={};y&&(R3(i,t),m.result=y.props.data_bind,i.id=y.id,i.props=y.props,i.props.script_src=y.props.script_src,i.props.script_echo=y.props.script_echo,i.props.precision=y.props.precision,i.props.micrometer=y.props.is_show_money,i.props.showUpperCase=y.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],P=i==null?void 0:i.children[1],v={},$={};h&&(R3(i,t),i.id=h.id,v.amount=h.props.data_bind,i.props.range_min=ao(h.props.range_min),i.props.range_max=ao(h.props.range_max),$.amount=ao(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),P&&(v.currency=P.props.data_bind,$.currency=P.props.value,i.props.datasourceBind=P.props.datasource_bind,i.props.options=P.props.options.map(function(R){return{label:R.text,value:R.value}})),i.props.dataBind=v,i.props.defaultValue=$,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=ao(e.props.range_min),i.props.range_max=ao(e.props.range_max),i.props.defaultValue=ao(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"),Uwe(i,t==null?void 0:t.control_events),i}function R3(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(a){a.id===u&&(a.id=c);var f=a.show_controls.findIndex(function(_){return _===u}),s=a.hide_controls.findIndex(function(_){return _===u});f>-1&&a.show_controls.splice(f,1,c),s>-1&&a.hide_controls.splice(s,1,c)}),i.forEach(function(a){a.ctrl_id===u&&(a.id=c)})}}function Awe(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new iT.Designer,n=r.toSchema();return n.children=e,[n]}function Dwe(e){e.forEach(function(t){t.children&&Vwe(t.children)})}function Bwe(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 jwe(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 a=c.props,f=c.children,s=Swe(f,3),_=s[0],y=s[1],p=s[2];Cwe(_),p.props.is_fixed_header=a==null||(r=a.source_config)===null||r===void 0?void 0:r.is_fixed_header,Fwe(p,y);var m,h=(m=a==null||(n=a.source_config)===null||n===void 0?void 0:n.data_code)!==null&&m!==void 0?m:t==null?void 0:t.dataCode,P,v=((P=a==null||(o=a.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&P!==void 0?P:h)?"".concat(h,"_selectMore"):void 0,$,b=($=a==null||(i=a.source_config)===null||i===void 0?void 0:i.orders)!==null&&$!==void 0?$:[],O=new tT.Designer;O.props.datasourceBind=new Ue({dataCode:h,svcCode:v,orders:PN(b)}),O.props.isShowSubList=a.is_show_sublist,O.props.triggerType=a.timing_type,O.props.triggerFieldCode=a.ctrl_field_code,a==null||(u=a.sublist_page)===null||u===void 0||u.sublists.forEach(function(R){R.title=ut(R.title)?R.title.zh:R.title}),O.props.sublistPage=a.sublist_page;var S=O.toSchema();return S.children.push(_,p),[S]}function Cwe(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 Fwe(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 Vwe(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 xwe(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 Uwe(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,P3(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,P3(t[e.id].on_blur))}}}var Gwe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$r(de(n,function(i){return Ywe(i)}));return r?o:o[0]};function Ywe(e,t){if(e.type===l.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===l.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Xt({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var Hwe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$r(de(n,function(i){return zwe(i)}));return r?o:o[0]};function zwe(e,t){return[l.CONTROL_TYPE.BUTTON,l.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,l.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,l.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,l.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,l.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,l.CONTROL_TYPE.EXPORT_LIST_BUTTON,l.CONTROL_TYPE.FORM_SELECT_BUTTON,l.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===l.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===l.CONTROL_TYPE.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}var Wwe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$r(de(n,function(i){return qwe(i)}));return r?o:o[0]};function qwe(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 Kwe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$r(de(n,function(i){return Jwe(i)}));return r?o:o[0]},Xwe=[l.CONTROL_TYPE.ROW,l.CONTROL_TYPE.TAB,l.CONTROL_TYPE.SUBTABLE,l.CONTROL_TYPE.GRID_ROW,l.CONTROL_TYPE.CARD_GROUP];function Jwe(e,t){return e.type===l.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(Xwe.includes(r.type))return r;var n=new sP.Designer,o=new nd.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var Qwe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$r(de(n,function(i){return Zwe(i)}));return r?o:o[0]};function Zwe(e,t){return e.type===l.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type===l.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}var ePe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return tPe(i)});return r?o:o[0]};function tPe(e,t){return e.type===l.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 nPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return rPe(i)});return r?o:o[0]};function Wr(e,t){e.field_code&&(e.field_type=t)}function rPe(e,t){var r,n=(r={},ve(r,l.CONTROL_TYPE.TITLE,l.FieldTypes.AUTO_NUMBER),ve(r,l.CONTROL_TYPE.ADDRESS,l.FieldTypes.ADDRESS),ve(r,l.CONTROL_TYPE.ATTACHMENT,l.FieldTypes.FILE),ve(r,l.CONTROL_TYPE.AUTO_NUMBER,l.FieldTypes.AUTO_NUMBER),ve(r,l.CONTROL_TYPE.CHECKBOX,l.FieldTypes.ARRAY),ve(r,l.CONTROL_TYPE.DATE_PICKER,l.FieldTypes.TIMESTAMP),ve(r,l.CONTROL_TYPE.DEPARTMENT,l.FieldTypes.DEPARTMENTS),ve(r,l.CONTROL_TYPE.DEPARTMENT2,l.FieldTypes.DEPARTMENTS),ve(r,l.CONTROL_TYPE.EMPLOYEE,l.FieldTypes.EMPLOYEES),ve(r,l.CONTROL_TYPE.EMPLOYEE2,l.FieldTypes.EMPLOYEES),ve(r,l.CONTROL_TYPE.IMAGE,l.FieldTypes.IMAGE),ve(r,l.CONTROL_TYPE.INPUT,l.FieldTypes.VARCHAR),ve(r,l.CONTROL_TYPE.NUMBER,l.FieldTypes.DECIMAL),ve(r,l.CONTROL_TYPE.RADIO,l.FieldTypes.VARCHAR),ve(r,l.CONTROL_TYPE.RICH_TEXT,l.FieldTypes.TEXT),ve(r,l.CONTROL_TYPE.SCORE,l.FieldTypes.DECIMAL),ve(r,l.CONTROL_TYPE.SELECT,l.FieldTypes.VARCHAR),ve(r,l.CONTROL_TYPE.SELECT_MULTIPLE,l.FieldTypes.ARRAY),ve(r,l.CONTROL_TYPE.SELECT_RELATION,l.FieldTypes.VARCHAR),ve(r,l.CONTROL_TYPE.TEXTAREA,l.FieldTypes.TEXT),ve(r,l.CONTROL_TYPE.TREE,l.FieldTypes.ARRAY),ve(r,l.CONTROL_TYPE.SEARCH_DATE_RANGE,l.FieldTypes.ARRAY),ve(r,l.CONTROL_TYPE.SEARCH_INPUT,l.FieldTypes.VARCHAR),ve(r,l.CONTROL_TYPE.SEARCH_NUMBER_RANGE,l.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&Wr(e.props.data_bind,n[e.type]),e.type===l.CONTROL_TYPE.AMOUNT&&(Wr(e.props.data_bind.amount,l.FieldTypes.DECIMAL),Wr(e.props.data_bind.currency,l.FieldTypes.VARCHAR)),e.type===l.CONTROL_TYPE.CALC&&(Wr(e.props.data_bind.result,l.FieldTypes.DECIMAL),Wr(e.props.data_bind.unit,l.FieldTypes.VARCHAR)),e.type===l.CONTROL_TYPE.DATE_RANGE&&(Wr(e.props.data_bind.min,l.FieldTypes.TIMESTAMP),Wr(e.props.data_bind.max,l.FieldTypes.TIMESTAMP)),e.type===l.CONTROL_TYPE.VUE_FORM_ITEM){var o;Wr(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:l.FieldTypes.ANY)}return e}var oPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return iPe(i)});return r?o:o[0]};function iPe(e,t){return e.type===l.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===l.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}var uPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return cPe(i)});return r?o:o[0]};function cPe(e,t){return e.type===l.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;[l.FieldTypes.VARCHAR,l.FieldTypes.TEXT,l.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 lPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return aPe(i)});return r?o:o[0]};function aPe(e,t){return[l.CONTROL_TYPE.SELECT,l.CONTROL_TYPE.SELECT_RELATION,l.CONTROL_TYPE.SELECT_MULTIPLE,l.CONTROL_TYPE.RADIO,l.CONTROL_TYPE.CHECKBOX,l.CONTROL_TYPE.TREE,l.CONTROL_TYPE.DEPARTMENT2,l.CONTROL_TYPE.EMPLOYEE2,l.CONTROL_TYPE.DEPARTMENT,l.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===l.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[l.CONTROL_TYPE.SELECT,l.CONTROL_TYPE.SELECT_RELATION,l.CONTROL_TYPE.SELECT_MULTIPLE,l.CONTROL_TYPE.RADIO,l.CONTROL_TYPE.CHECKBOX,l.CONTROL_TYPE.TREE,l.CONTROL_TYPE.DEPARTMENT2,l.CONTROL_TYPE.EMPLOYEE2,l.CONTROL_TYPE.DEPARTMENT,l.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 fPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return sPe(i)});return r?o:o[0]};function sPe(e,t){return[l.CONTROL_TYPE.SELECT,l.CONTROL_TYPE.SELECT_RELATION,l.CONTROL_TYPE.SELECT_MULTIPLE,l.CONTROL_TYPE.RADIO,l.CONTROL_TYPE.CHECKBOX,l.CONTROL_TYPE.TREE,l.CONTROL_TYPE.DEPARTMENT2,l.CONTROL_TYPE.EMPLOYEE2,l.CONTROL_TYPE.DEPARTMENT,l.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===l.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[l.CONTROL_TYPE.SELECT,l.CONTROL_TYPE.SELECT_RELATION,l.CONTROL_TYPE.SELECT_MULTIPLE,l.CONTROL_TYPE.RADIO,l.CONTROL_TYPE.CHECKBOX,l.CONTROL_TYPE.TREE,l.CONTROL_TYPE.DEPARTMENT2,l.CONTROL_TYPE.EMPLOYEE2,l.CONTROL_TYPE.DEPARTMENT,l.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 _Pe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return yPe(i)});return r?o:o[0]};function yPe(e,t){return e.type===l.CONTROL_TYPE.TITLE&&e.props.config.push(l.TitleConfigEnum.ShowTitle),e.type===l.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===l.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,a,f,s,_,y,p=new cc.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=(a=r.props)===null||a===void 0?void 0:a.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()),(y=r.props)===null||y===void 0||delete y.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var m,h,P,v,$,b,O=new cc.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=(P=r.props)===null||P===void 0?void 0:P.edit.open_type,O.props.formKey=(v=r.props)===null||v===void 0?void 0:v.edit.form_key,!(($=r.props)===null||$===void 0)&&$.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,R,E,I,L,x,Z=new cc.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=(R=r.props)===null||R===void 0?void 0:R.delete.priority_process,Z.props.openType=(E=r.props)===null||E===void 0?void 0:E.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="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((L=r.props)===null||L===void 0)&&L.delete.is_show&&r.children.push(Z.toSchema()),(x=r.props)===null||x===void 0||delete x.delete}}}),[l.CONTROL_TYPE.SELECT,l.CONTROL_TYPE.SELECT_RELATION,l.CONTROL_TYPE.SELECT_MULTIPLE,l.CONTROL_TYPE.RADIO,l.CONTROL_TYPE.CHECKBOX,l.CONTROL_TYPE.TREE,l.CONTROL_TYPE.DEPARTMENT2,l.CONTROL_TYPE.EMPLOYEE2,l.CONTROL_TYPE.DEPARTMENT,l.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===l.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[l.CONTROL_TYPE.SELECT,l.CONTROL_TYPE.SELECT_RELATION,l.CONTROL_TYPE.SELECT_MULTIPLE,l.CONTROL_TYPE.RADIO,l.CONTROL_TYPE.CHECKBOX,l.CONTROL_TYPE.TREE,l.CONTROL_TYPE.DEPARTMENT2,l.CONTROL_TYPE.EMPLOYEE2,l.CONTROL_TYPE.DEPARTMENT,l.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 cl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var dPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return pPe(i,t)});return r?o:o[0]};function pPe(e,t){e.type===l.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===l.CONTROL_TYPE.CALC&&u.props.calc_on_mounted===void 0&&(u.props.calc_on_mounted=!0)});var r,n=(r={},cl(r,l.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}]),cl(r,l.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}]),cl(r,l.CONTROL_TYPE.LIST_VIEW,[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}]),cl(r,l.CONTROL_TYPE.SIMPLE_SEARCH,[{key:"col-gap",value:24},{key:"child-min-width",value:230}]),cl(r,l.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===l.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(o){o.type===l.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 Zl)}),e.type===l.CONTROL_TYPE.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),vPe(t),e}function vPe(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 a=u.event_key||u.eventKey;switch(a){case"on_click_finish":o=u,i=c;break;case"on_click":n=u;break}}),o&&(o.cases[0].handlers.unshift(DE()),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:[hPe()]}];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(DE())}}}function hPe(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[DE()]}}function DE(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}var gPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return mPe(i,t)});return r?o:o[0]};function mPe(e,t){if(e.type===l.CONTROL_TYPE.LIST_VIEW){if(e.props.is_show_selection===!1){var r=[l.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,l.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT,l.CONTROL_TYPE.BATCH_DELETE_LIST_BUTTON];e.children.forEach(function(n){if(n.type===l.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===l.CONTROL_TYPE.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===l.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===l.CONTROL_TYPE.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===l.CONTROL_TYPE.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===l.CONTROL_TYPE.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new ia),e}function bPe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var OPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return wPe(i)});return r?o:o[0]};function wPe(e,t){var r=bPe({},l.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=[l.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT_RECORD,l.CONTROL_TYPE.EXPORT_LIST_BUTTON,l.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,l.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,l.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,l.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,l.CONTROL_TYPE.BATCH_DELETE_LIST_BUTTON,l.CONTROL_TYPE.BUTTON,l.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,l.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT];return n.includes(e.type)&&(e.control_type="base"),e.type===l.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 PPe(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 TPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=de(n,function(u){var c=RPe(u);return o[u.id]=u,c});return PPe(o,t),r?i:i[0]};function RPe(e,t){if(e.type===l.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=$r(new _g({pc:i,mobile:i})),e.type===l.CONTROL_TYPE.ORGANIZATION_SELECTION){var u=e.props.selected_content_config,c=u==null?void 0:u.display_bo_list;c&&c.forEach(function(a){a.value==="org_type_code"&&(a.label="\u4E1A\u52A1\u7C7B\u578B"),a.value==="org_pattern_code"&&(a.label="\u7EC4\u7EC7\u5F62\u6001")})}e.type===l.CONTROL_TYPE.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1)}return e}var EPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=de(n,function(u){var c=$Pe(u);return o[u.id]=u,c});return SPe(o,t),r?i:i[0]};function $Pe(e,t){return e}function SPe(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)===l.CONTROL_TYPE.BUTTON){var i,u,c,a,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 _,y,p,m;s==null||(_=s.cases)===null||_===void 0||_.map(function(h){var P;h==null||(P=h.handlers)===null||P===void 0||P.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 $,b,O,S;((S=v.params)===null||S===void 0||(O=S.options)===null||O===void 0||(b=O.link)===null||b===void 0||($=b.fx)===null||$===void 0?void 0:$.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||(y=p.handlers)===null||y===void 0?void 0:y.length)===1&&s.cases[0].handlers.push({id:"optPage",method:"optPage",params:{operation:"close"}})})),["form_submit"].includes((a=o.props)===null||a===void 0||(c=a.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 NPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=de(n,function(u){var c=IPe(u);return o[u.id]=u,c});return MPe(o,t),r?i:i[0]};function IPe(e,t){if(e.type===l.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="\u4E1A\u52A1\u7C7B\u578B"),o.value==="org_pattern_code"&&(o.label="\u7EC4\u7EC7\u5F62\u6001")})}return e}function MPe(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 LPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return kPe(i)});return r?o:o[0]};function kPe(e,t){if(e.type===l.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===l.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="\u4E1A\u52A1\u7C7B\u578B"),u.value==="org_pattern_code"&&(u.label="\u7EC4\u7EC7\u5F62\u6001")})}return e}var APe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return DPe(i)});return VPe(o),BPe(o),r?o:o[0]};function DPe(e,t){return e.type===l.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.forEach(function(r){if(r.type===l.CONTROL_TYPE.SELECT||r.type===l.CONTROL_TYPE.SELECT_MULTIPLE){var n=r;n.props.option_config==="datasource"&&(n.props.default_show_options=!1)}}),e}function BPe(e){if(e[0].type===l.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_"]},a;if(t.row_style_rules_script){var f=t.row_style_rules_script.find(function(s){return s.id===u});f&&(a=FPe(i.filters,f.script))}i.settings=[c],i.script=a,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 E3(e,t){return t||(t={}),e.forEach(function(r){if(r.children)E3(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 jPe(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 CPe(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 FPe(e,t){var r=E3(e),n=jPe(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],a=c.type,f=CPe(o),s=f.operate,_=f.value,y="SpecialMatch(data, sys, '".concat(i,"', '").concat(a,"', '").concat(s,"', ").concat(_||"''",")");t=t.replace(o,y)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function VPe(e){if(e[0].type===l.CONTROL_TYPE.LIST_VIEW){var t=e[0].children.find(function(i){return i.type===l.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!==l.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 a=i.children||[];i.children=[].concat(a,c)}}),t.props.footers=[]}}return e}var xPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=UPe(n,t);return r?o:o[0]};function UPe(e,t){var r=YPe(t);return r.length>0&&(GPe(r,t),$3(r,e)),e}function $3(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):$3(e,o.children)}}function GPe(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 YPe(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,a=(c=u.params)===null||c===void 0?void 0:c.relation_control_id;a&&t.push(a)}})})})}),t}var S3={"v1.0":Nwe,"v2.0":Gwe,"v2.1":Hwe,"v2.2":Wwe,"v2.3":Kwe,"v2.4":Qwe,"v2.5":ePe,"v2.6":nPe,"v2.7":oPe,"v2.8":uPe,"v2.9":lPe,"v2.10":fPe,"v3.0":_Pe,"v3.1":dPe,"v3.2":gPe,"v3.3":OPe,"v3.4":TPe,"v3.5":EPe,"v3.6":NPe,"v3.7":LPe,"v3.8":APe,"v3.10":xPe,"v3.11":function(){}};const N3=(e,t)=>{const r=I3(e),n=I3(t),o=r.pop(),i=n.pop(),u=k3(r,n);return u!==0?u:o&&i?k3(o.split("."),i.split(".")):o||i?o?-1:1:0},xv=(e,t,r)=>{qPe(r);const n=N3(e,t);return A3[r].includes(n)},HPe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,I3=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(HPe);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},M3=e=>e==="*"||e==="x"||e==="X",L3=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},zPe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],WPe=(e,t)=>{if(M3(e)||M3(t))return 0;const[r,n]=zPe(L3(e),L3(t));return r>n?1:r<n?-1:0},k3=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=WPe(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},A3={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},D3=Object.keys(A3),qPe=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(D3.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${D3.join("|")}`)};function KPe(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 XPe(e,t,r){return t&&B3(e.prototype,t),r&&B3(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 BE(e){return e.replace(/^v/,"")}var gu=Object.keys(S3).map(function(e){return BE(e)}).sort(N3),ll=gu[gu.length-1],JPe=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ll;KPe(this,e),j3(this,"toVersion",void 0),j3(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,xv(r,ll,">")?dr("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(ll)):(!gu.includes(BE(r))||!gu.includes(BE(t)))&&dr("Version Builder: Please give me a valid version number, The valid version is: ".concat(gu.join(","),", But give me a ").concat(t))}return XPe(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,a,f){var s,_=(s=f[a+1])!==null&&s!==void 0?s:o.toVersion;$u("Version Builder: current version: ".concat(c,", nextVersion: ").concat(_));var y=S3[c],p=u;if(typeof y=="function"){var m=y(u,n);m&&(p=m)}return p},r);return $u("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return gu.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 ll}}],[{key:"version",get:function(){return ll}}]),e}();const Uv=[],jE={exports:{}};let CE=!1;const QPe=window.module,ZPe=window.exports,eTe=window.require;function tTe(e){return CE||(window.module=jE,window.exports=jE.exports,window.require=function(t){return e[t]},CE=!0),function(){window.module=QPe,window.exports=ZPe,window.require=eTe,CE=!1}}function nTe(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=tTe(t);i.src=e,i.type="text/javascript";const c=()=>{document.head.removeChild(i);const a=Uv.findIndex(f=>f===r);Uv.splice(a,1),Uv.length===0&&u()};i.onerror=function(a){c(),o(a)},i.onload=function(){n(jE.exports),c()},document.head.appendChild(i)});return Uv.push(r),r}function FE(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 C3(e,t,r={fetch:FE}){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 C3(e,t)}function rTe(e,t){return yr(this,null,function*(){return yield Promise.all(e.map(r=>Gv(r,t)))})}function Yv(e,t,r){let n;t==="runtime"?n=class extends $e{constructor(a){super(a),this.props={}}static get controlType(){return e}}:n=class extends re{constructor(a){super(a),this.props={}}static get controlType(){return e}};class o extends Ee{}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 oTe(e,t,r,n){return yr(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>yr(this,null,function*(){let u=!0,c;try{u=!0;let a="";n.type==="runtime"?a=i.runtime:a=i.designer,a+="?v="+i.version,c=yield Gv(a,r),n.type==="runtime"?c.Runtime.__is_control__:c.Designer.__is_control__}catch(a){u=!1,Kr("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,a),c=Yv(i.id,n.type,n.tipMessage)}if(u){let a="";if(n.type==="runtime"&&i.runtimecss!==void 0){const f=new RegExp(i.id+"-runtime-.*?$");a=i.runtime.replace(f,i.runtimecss)}else if(n.type==="designer"&&i.designercss!==void 0){const f=new RegExp(i.id+"-designer-.*?$");a=i.designer.replace(f,i.designercss)}if(a!==""){const f=document.createElement("link");f.href=a,f.rel="stylesheet",document.head.appendChild(f)}}F3(n.type,c,o,u,i)}))),e==null||e.map(i=>{const[u,c]=i.split(":");if(o.has(u)===!1){const f=Yv(u,n.type,n.tipMessage);F3(n.type,f,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:c})}})),o})}function F3(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 iTe(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(u=>{const[c,a]=u.split(":");o.props.id===c&&(i=a!=null?a:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function uTe(e,t){return yr(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield FE(`${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 a=u.find(f=>t.type==="runtime"?f.Runtime.controlType===c.id:f.Designer.controlType===c.id);a===void 0&&(a=Yv(c.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),n.set(c.id,{props:c,version:c.version,isLoaded:!0,control:a})})}return n})}l.ActionBar=bF,l.Address=_D,l.AddressValue=ZN,l.AdvancedContainer=aF,l.Amount=KA,l.AmountDataBind=KN,l.AmountValue=XN,l.ApprovalStatusColumn=f3,l.ArrayColumn=R2,l.Attachment=CA,l.AutoNumber=ID,l.AutoNumberColumn=B2,l.AutoWidth=Zl,l.BaseControlProperty=K,l.BaseControlPropertyRules=He,l.BaseControlPropertyRuntimeRules=_e,l.BaseStyle=rI,l.BatchDeleteButton=Jk,l.BatchPrintListButton=Ak,l.BatchPrintRecordListButton=Fk,l.BatchSubmissionListButton=XM,l.Button=fM,l.Calc=jD,l.CalcDataBind=eI,l.CalcScriptEchoItem=Tu,l.CalcValue=tI,l.CardGroup=Zj,l.Checkbox=s1,l.Col=nd,l.ColumnControlProperty=Ne,l.ColumnControlPropertyRules=dn,l.ColumnOptionAndDataSourcePropertyRules=Qg,l.CreateFormListButton=UM,l.CustomAttributeItem=vg,l.CustomColumn=r3,l.CustomPermissionItem=zG,l.DEFAULT_LOCALE=GE,l.DESIGNER_SLOT=Xv,l.Dashboard=ek,l.DataBind=Xt,l.DataSourceBind=Ue,l.DataSourceDataSetValue=HN,l.DataSourceOrderItem=dg,l.DataSourceParamItem=GG,l.DataStorageDoc=jN,l.DataView=iT,l.DatePicker=D1,l.DateRange=H1,l.DecimalColumn=i2,l.Department=wD,l.Department2=yj,l.DepartmentColumn=I2,l.DepartmentEntity=Wv,l.DesignerColumnControl=We,l.DesignerControl=re,l.DesignerFormControl=J,l.DesignerLayoutControl=Oe,l.DesignerListControl=Ta,l.DesignerSearchControl=xI,l.DesignerWrapControl=HI,l.DisplayBoListItem=ra,l.Divider=EM,l.ElectronicSignature=ZB,l.ElectronicSignatureConfig=sM,l.Employee=LA,l.Employee2=GB,l.EmployeeColumn=l3,l.EventLogic=NN,l.Explain=Xa,l.ExportConfig=pM,l.ExportListButton=cL,l.ExportRecordListButton=_L,l.ExportTemplate=ec,l.FieldBindItem=VN,l.FieldFilterCondition=Gu,l.FieldFilterConditions=na,l.FileColumn=F2,l.FillBackBind=mg,l.FillPayloadBind=gg,l.FlexStyleConfig=gM,l.FormBind=fo,l.FormSelectBind=CN,l.FormSelectButton=$L,l.Grid=Mj,l.GridLayoutContainer=OC,l.GridLayoutWrap=w3,l.GridRow=sP,l.GridTable=FF,l.GridTableColumn=pC,l.Image=UA,l.ImageColumn=U2,l.ImageOptionSetting=qN,l.ImportConfig=dM,l.ImportListBind=yM,l.ImportRecordListButton=gL,l.Input=o1,l.InvoiceCheckButton=Ek,l.JSONCopy=Wt,l.JoinRelation=YN,l.Language=YG,l.LayoutControlProperty=pe,l.LeftVariable=GN,l.LimitDate=Ka,l.Link=iM,l.LinkOperationOption=Nn,l.ListBind=ta,l.ListControlProperty=Ju,l.ListSelectButton=BL,l.ListView=tT,l.ListViewSelect=fk,l.LocationColumn=J2,l.MetaAutoWidth=yg,l.MetaRowHeight=_g,l.MetaWidth=ea,l.MultistageFillingItem=ht,l.Number=S1,l.ObjectDataBind=ua,l.OperationButton=cc,l.OperationColumn=DF,l.OperationItem=Hn,l.OptObject=oI,l.OptionAndDataSourcePropertyRules=so,l.OptionDisplayConfigItem=UG,l.OptionSetting=bg,l.OrderColumn=NF,l.OrganizationDataSourceBind=zN,l.OrganizationSelection=bj,l.Page=iF,l.Pagination=YL,l.PeopleColumn=H2,l.Position=pF,l.PositioningContainer=_F,l.PrintTemplate=hM,l.Property=Ee,l.PropertyRules=Be,l.PropertyRuntimeRules=Nr,l.Radio=O1,l.RangeDataBind=JN,l.RangeDateValue=QN,l.RegisterControls=Uu,l.RegularRules=ia,l.RichText=iA,l.RightVariable=ui,l.Row=Gj,l.RowHeight=sg,l.RowStyle=cI,l.RowStyleRule=iI,l.RowStyleSettings=uI,l.RulesMessage=d,l.RuntimeColumnControl=qe,l.RuntimeControl=$e,l.RuntimeFormControl=Q,l.RuntimeLayoutControl=Se,l.RuntimeListControl=Wg,l.RuntimeSearchControl=GI,l.RuntimeWrapControl=WI,l.SUBTABLE_DEFAULT_MAX_HEIGHT=vM,l.Score=nD,l.SearchControlProperty=Ma,l.SearchDateRange=rB,l.SearchInput=NB,l.SearchNumberRange=WD,l.Select=pA,l.SelectMultiple=wA,l.SelectRelation=bB,l.SelectedContentConfig=oa,l.SimpleSearch=v3,l.SubListItem=xN,l.SubListPageConfig=UN,l.SubTable=PF,l.SubTableColumn=bP,l.SubTableRow=fC,l.SubmissionRecordListButton=tL,l.SuperDataSourceBind=Yu,l.Tab=DC,l.TabPane=IC,l.Text=eM,l.TextColumn=QF,l.TextOcrButton=gk,l.Textarea=Q1,l.TimescopeColumn=_2,l.TimestampColumn=m2,l.Title=AM,l.Toolbox=UC,l.Tree=BB,l.TreeDataSourceBind=hg,l.UndersignedPerson=Em,l.UserEntity=qv,l.VarcharColumn=HF,l.VersionBuilder=JPe,l.ViewOperationItem=nI,l.VueFormItem=fB,l.VuePage=$j,l.WPS=uj,l.WPSSetting=_M,l.Watcher=$N,l.WpsOperationItem=$m,l.WrapControlProperty=Da,l.baseControls=U9,l.camelizeKeys=PN,l.columnControls=M0e,l.controlHooksEmitter=vI,l.createValidator=pI,l.debounce=gG,l.decamelizeKeys=$r,l.defineArrayParent=MN,l.defineControlArrayToProperty=yn,l.defineParent=ag,l.error=dr,l.formControls=ule,l.genNonDuplicateId=Yt,l.getHackerControl=Yv,l.getNotRepeatItems=wN,l.initExpression=tc,l.initImageOptions=HG,l.initLinkOperationRules=qn,l.initOptionAndDataSourceRules=fa,l.initOptions=In,l.initSuperDataSourceRules=Ku,l.isArray=lo,l.isBuiltInControls=bG,l.isDataBind=SI,l.isFunction=_G,l.isJSONArray=vG,l.isJSONObject=hG,l.isLanguageObject=ut,l.isNumber=ig,l.isNumberAndEmptyStringArray=pG,l.isNumberArray=dG,l.isObject=sG,l.isPlainObject=og,l.isString=ON,l.isStringArray=yG,l.layoutControls=Ype,l.listControls=She,l.loadRemoteControl=Gv,l.loadRemoteControls=rTe,l.loadScriptFromFetch=C3,l.loadScriptFromTag=nTe,l.log=$u,l.logerror=XE,l.loop=de,l.loopFormSchema=bl,l.nativeFetch=FE,l.noop=G3,l.referenceError=th,l.registerByteluckControls=uTe,l.registerCustomControls=oTe,l.searchControls=q0e,l.setPropertyDontEnum=Jl,l.toNumberOrEmpty=ao,l.updateValueFromKeys=gN,l.upgradeCustomControlSchema=iTe,l.wait=mG,l.warn=Kr,l.wrapControls=Owe,Object.defineProperty(l,"__esModule",{value:!0})});
|
|
45
|
+
*/const wU="9.13.1";function PU(){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 qS=dt.__EXTEND_POINT__,Yn=Pl(qS),ye={FALLBACK_TO_ROOT:qS,NOT_SUPPORTED_PRESERVE:Yn(),NOT_SUPPORTED_FORMATTER:Yn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Yn(),NOT_SUPPORTED_GET_CHOICE_INDEX:Yn(),COMPONENT_NAME_LEGACY_COMPATIBLE:Yn(),NOT_FOUND_PARENT_SCOPE:Yn(),IGNORE_OBJ_FLATTEN:Yn(),NOTICE_DROP_ALLOW_COMPOSITION:Yn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Yn()},TU={[ye.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ye.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ye.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ye.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ye.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ye.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ye.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ye.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ye.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",[ye.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Rt(e,...t){return Su(TU[e],...t)}const KS=Ye.__EXTEND_POINT__,Et=Pl(KS),q={UNEXPECTED_RETURN_TYPE:KS,INVALID_ARGUMENT:Et(),MUST_BE_CALL_SETUP_TOP:Et(),NOT_INSTALLED:Et(),NOT_AVAILABLE_IN_LEGACY_MODE:Et(),REQUIRED_VALUE:Et(),INVALID_VALUE:Et(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Et(),NOT_INSTALLED_WITH_PROVIDE:Et(),UNEXPECTED_ERROR:Et(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Et(),BRIDGE_SUPPORT_VUE_2_ONLY:Et(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Et(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Et(),__EXTEND_POINT__:Et()};function xe(e,...t){return zo(e,null,process.env.NODE_ENV!=="production"?{messages:RU,args:t}:void 0)}const RU={[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=ln("__translateVNode"),Hh=ln("__datetimeParts"),zh=ln("__numberParts"),co=ln("__enableEmitter"),Fu=ln("__disableEmitter"),XS=ln("__setPluralRules");ln("__intlifyMeta");const JS=ln("__injectWithOption"),Wh=ln("__dispose");function Vu(e){if(!X(e))return e;for(const t in e)if(!!wl(e,t))if(!t.includes("."))X(e[t])&&Vu(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(Rt(ye.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]])&&Vu(o[r[n]])}return e}function Xl(e,t){const{messages:r,__i18n:n,messageResolver:o,flatJson:i}=t,u=F(r)?r:ae(n)?{}:{[e]:{}};if(ae(n)&&n.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:a,resource:f}=c;a?(u[a]=u[a]||{},Rl(f,u[a])):Rl(f,u)}else D(c)&&Rl(JSON.parse(c),u)}),o==null&&i)for(const c in u)wl(u,c)&&Vu(u[c]);return u}function QS(e){return e.type}function ZS(e,t,r){let n=X(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=Xl(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 eN(e){return ri(CS,null,e,0)}const tN="__INTLIFY_META__",nN=()=>[],EU=()=>!1;let rN=0;function oN(e){return(t,r,n,o)=>e(r,n,oi()||void 0,o)}const $U=()=>{const e=oi();let t=null;return e&&(t=QS(e)[tN])?{[tN]:t}:null};function qh(e={},t){const{__root:r,__injectWithOption:n}=e,o=r===void 0,i=e.flatJson,u=cn?Zo:gS,c=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&c&&r$(Rt(ye.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let a=H(e.inheritLocale)?e.inheritLocale:!0;const f=u(r&&a?r.locale.value:D(e.locale)?e.locale:Ko),s=u(r&&a?r.fallbackLocale.value:D(e.fallbackLocale)||ae(e.fallbackLocale)||F(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:f.value),_=u(Xl(f.value,e)),y=u(F(e.datetimeFormats)?e.datetimeFormats:{[f.value]:{}}),p=u(F(e.numberFormats)?e.numberFormats:{[f.value]:{}});let m=r?r.missingWarn:H(e.missingWarn)||pr(e.missingWarn)?e.missingWarn:!0,h=r?r.fallbackWarn:H(e.fallbackWarn)||pr(e.fallbackWarn)?e.fallbackWarn:!0,P=r?r.fallbackRoot:H(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,$=ie(e.missing)?e.missing:null,b=ie(e.missing)?oN(e.missing):null,O=ie(e.postTranslation)?e.postTranslation:null,S=r?r.warnHtmlMessage:H(e.warnHtmlMessage)?e.warnHtmlMessage:!0,R=!!e.escapeParameter;const E=r?r.modifiers:F(e.modifiers)?e.modifiers:{};let I=e.pluralRules||r&&r.pluralRules,L;L=(()=>{o&&w$(null);const N={version:wU,locale:f.value,fallbackLocale:s.value,messages:_.value,modifiers:E,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:R,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};N.datetimeFormats=y.value,N.numberFormats=p.value,N.__datetimeFormatters=F(L)?L.__datetimeFormatters:void 0,N.__numberFormatters=F(L)?L.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(N.__v_emitter=F(L)?L.__v_emitter:void 0);const k=hx(N);return o&&w$(k),k})(),Iu(L,f.value,s.value);function Z(){return[f.value,s.value,_.value,y.value,p.value]}const Y=Sn({get:()=>f.value,set:N=>{f.value=N,L.locale=f.value}}),he=Sn({get:()=>s.value,set:N=>{s.value=N,L.fallbackLocale=s.value,Iu(L,f.value,N)}}),st=Sn(()=>_.value),cr=Sn(()=>y.value),Mt=Sn(()=>p.value);function lr(){return ie(O)?O:null}function ar(N){O=N,L.postTranslation=N}function fr(){return $}function sr(N){N!==null&&(b=oN(N)),$=N,L.missing=b}function _r(N,k){return N!=="translate"||!k.resolvedMessage}const _t=(N,k,te,Le,qr,zv)=>{Z();let wu;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&b$($U()),o||(L.fallbackContext=r?vx():void 0),wu=N(L)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&b$(null),o||(L.fallbackContext=void 0)}if(te!=="translate exists"&&Ce(wu)&&wu===Sl||te==="translate exists"&&!wu){const[Ho,cTe]=k();if(process.env.NODE_ENV!=="production"&&r&&D(Ho)&&_r(te,cTe)&&(P&&(Il(h,Ho)||T$(m,Ho))&&Ve(Rt(ye.FALLBACK_TO_ROOT,{key:Ho,type:te})),process.env.NODE_ENV!=="production")){const{__v_emitter:V3}=L;V3&&P&&V3.emit("fallback",{type:te,key:Ho,to:"global",groupId:`${te}:${Ho}`})}return r&&P?Le(r):qr(Ho)}else{if(zv(wu))return wu;throw xe(q.UNEXPECTED_RETURN_TYPE)}};function mu(...N){return _t(k=>Reflect.apply(L$,null,[k,...N]),()=>fh(...N),"translate",k=>Reflect.apply(k.t,k,[...N]),k=>k,k=>D(k))}function bu(...N){const[k,te,Le]=N;if(Le&&!X(Le))throw xe(q.INVALID_ARGUMENT);return mu(k,te,Fe({resolvedMessage:!0},Le||{}))}function al(...N){return _t(k=>Reflect.apply(j$,null,[k,...N]),()=>sh(...N),"datetime format",k=>Reflect.apply(k.d,k,[...N]),()=>Nl,k=>D(k))}function fl(...N){return _t(k=>Reflect.apply(V$,null,[k,...N]),()=>_h(...N),"number format",k=>Reflect.apply(k.n,k,[...N]),()=>Nl,k=>D(k))}function sl(N){return N.map(k=>D(k)||Ce(k)||H(k)?eN(String(k)):k)}const _l={normalize:sl,interpolate:N=>N,type:"vnode"};function Ou(...N){return _t(k=>{let te;const Le=k;try{Le.processor=_l,te=Reflect.apply(L$,null,[Le,...N])}finally{Le.processor=null}return te},()=>fh(...N),"translate",k=>k[Yh](...N),k=>[eN(k)],k=>ae(k))}function yl(...N){return _t(k=>Reflect.apply(V$,null,[k,...N]),()=>_h(...N),"number format",k=>k[zh](...N),nN,k=>D(k)||ae(k))}function dl(...N){return _t(k=>Reflect.apply(j$,null,[k,...N]),()=>sh(...N),"datetime format",k=>k[Hh](...N),nN,k=>D(k)||ae(k))}function pl(N){I=N,L.pluralRules=I}function A(N,k){return _t(()=>{if(!N)return!1;const te=D(k)?k:f.value,Le=Yo(te),qr=L.messageResolver(Le,N);return c?qr!=null:gr(qr)||Ht(qr)||D(qr)},()=>[N],"translate exists",te=>Reflect.apply(te.te,te,[N,k]),EU,te=>H(te))}function ee(N){let k=null;const te=_$(L,s.value,f.value);for(let Le=0;Le<te.length;Le++){const qr=_.value[te[Le]]||{},zv=L.messageResolver(qr,N);if(zv!=null){k=zv;break}}return k}function vl(N){const k=ee(N);return k!=null?k:r?r.tm(N)||{}:{}}function Yo(N){return _.value[N]||{}}function hl(N,k){if(i){const te={[N]:k};for(const Le in te)wl(te,Le)&&Vu(te[Le]);k=te[N]}_.value[N]=k,L.messages=_.value}function VE(N,k){_.value[N]=_.value[N]||{};const te={[N]:k};if(i)for(const Le in te)wl(te,Le)&&Vu(te[Le]);k=te[N],Rl(k,_.value[N]),L.messages=_.value}function g(N){return y.value[N]||{}}function w(N,k){y.value[N]=k,L.datetimeFormats=y.value,F$(L,N,k)}function M(N,k){y.value[N]=Fe(y.value[N]||{},k),L.datetimeFormats=y.value,F$(L,N,k)}function j(N){return p.value[N]||{}}function ge(N,k){p.value[N]=k,L.numberFormats=p.value,U$(L,N,k)}function le(N,k){p.value[N]=Fe(p.value[N]||{},k),L.numberFormats=p.value,U$(L,N,k)}rN++,r&&cn&&(Fh(r.locale,N=>{a&&(f.value=N,L.locale=N,Iu(L,f.value,s.value))}),Fh(r.fallbackLocale,N=>{a&&(s.value=N,L.fallbackLocale=N,Iu(L,f.value,s.value))}));const oe={id:rN,locale:Y,fallbackLocale:he,get inheritLocale(){return a},set inheritLocale(N){a=N,N&&r&&(f.value=r.locale.value,s.value=r.fallbackLocale.value,Iu(L,f.value,s.value))},get availableLocales(){return Object.keys(_.value).sort()},messages:st,get modifiers(){return E},get pluralRules(){return I||{}},get isGlobal(){return o},get missingWarn(){return m},set missingWarn(N){m=N,L.missingWarn=m},get fallbackWarn(){return h},set fallbackWarn(N){h=N,L.fallbackWarn=h},get fallbackRoot(){return P},set fallbackRoot(N){P=N},get fallbackFormat(){return v},set fallbackFormat(N){v=N,L.fallbackFormat=v},get warnHtmlMessage(){return S},set warnHtmlMessage(N){S=N,L.warnHtmlMessage=N},get escapeParameter(){return R},set escapeParameter(N){R=N,L.escapeParameter=N},t:mu,getLocaleMessage:Yo,setLocaleMessage:hl,mergeLocaleMessage:VE,getPostTranslationHandler:lr,setPostTranslationHandler:ar,getMissingHandler:fr,setMissingHandler:sr,[XS]:pl};return oe.datetimeFormats=cr,oe.numberFormats=Mt,oe.rt=bu,oe.te=A,oe.tm=vl,oe.d=al,oe.n=fl,oe.getDateTimeFormat=g,oe.setDateTimeFormat=w,oe.mergeDateTimeFormat=M,oe.getNumberFormat=j,oe.setNumberFormat=ge,oe.mergeNumberFormat=le,oe[JS]=n,oe[Yh]=Ou,oe[Hh]=dl,oe[zh]=yl,process.env.NODE_ENV!=="production"&&(oe[co]=N=>{L.__v_emitter=N},oe[Fu]=()=>{L.__v_emitter=void 0}),oe}function SU(e){const t=D(e.locale)?e.locale:Ko,r=D(e.fallbackLocale)||ae(e.fallbackLocale)||F(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=ie(e.missing)?e.missing:void 0,o=H(e.silentTranslationWarn)||pr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=H(e.silentFallbackWarn)||pr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=H(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,a=F(e.modifiers)?e.modifiers:{},f=e.pluralizationRules,s=ie(e.postTranslation)?e.postTranslation:void 0,_=D(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,y=!!e.escapeParameterHtml,p=H(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ve(Rt(ye.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ve(Rt(ye.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let m=e.messages;if(F(e.sharedMessages)){const R=e.sharedMessages;m=Object.keys(R).reduce((I,L)=>{const x=I[L]||(I[L]={});return Fe(x,R[L]),I},m||{})}const{__i18n:h,__root:P,__injectWithOption:v}=e,$=e.datetimeFormats,b=e.numberFormats,O=e.flatJson,S=e.translateExistCompatible;return{locale:t,fallbackLocale:r,messages:m,flatJson:O,datetimeFormats:$,numberFormats:b,missing:n,missingWarn:o,fallbackWarn:i,fallbackRoot:u,fallbackFormat:c,modifiers:a,pluralRules:f,postTranslation:s,warnHtmlMessage:_,escapeParameter:y,messageResolver:e.messageResolver,inheritLocale:p,translateExistCompatible:S,__i18n:h,__root:P,__injectWithOption:v}}function Kh(e={},t){{const r=qh(SU(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(Rt(ye.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(i){process.env.NODE_ENV!=="production"&&Ve(Rt(ye.NOT_SUPPORTED_FORMATTER))},get missing(){return r.getMissingHandler()},set missing(i){r.setMissingHandler(i)},get silentTranslationWarn(){return H(r.missingWarn)?!r.missingWarn:r.missingWarn},set silentTranslationWarn(i){r.missingWarn=H(i)?!i:i},get silentFallbackWarn(){return H(r.fallbackWarn)?!r.fallbackWarn:r.fallbackWarn},set silentFallbackWarn(i){r.fallbackWarn=H(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(Rt(ye.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(i){process.env.NODE_ENV!=="production"&&Ve(Rt(ye.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return r.pluralRules||{}},__composer:r,t(...i){const[u,c,a]=i,f={};let s=null,_=null;if(!D(u))throw xe(q.INVALID_ARGUMENT);const y=u;return D(c)?f.locale=c:ae(c)?s=c:F(c)&&(_=c),ae(a)?s=a:F(a)&&(_=a),Reflect.apply(r.t,r,[y,s||_||{},f])},rt(...i){return Reflect.apply(r.rt,r,[...i])},tc(...i){const[u,c,a]=i,f={plural:1};let s=null,_=null;if(!D(u))throw xe(q.INVALID_ARGUMENT);const y=u;return D(c)?f.locale=c:Ce(c)?f.plural=c:ae(c)?s=c:F(c)&&(_=c),D(a)?f.locale=a:ae(a)?s=a:F(a)&&(_=a),Reflect.apply(r.t,r,[y,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(Rt(ye.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[Fu]&&i[Fu]()}),o}}const Xh={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function NU({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,o)=>[...n,...o.type===zl?o.children:[o]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},{})}function iN(e){return zl}const Jh=Dh({name:"i18n-t",props:Fe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ce(e)||!isNaN(e)}},Xh),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||tg({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=NU(t,i),a=o[Yh](e.keypath,c,u),f=Fe({},n),s=D(e.tag)||X(e.tag)?e.tag:iN();return zS(s,f,a)}}});function IU(e){return ae(e)&&!D(e[0])}function uN(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((y,p)=>r.includes(p)?Fe({},y,{[p]:e.format[p]}):y,{}));const a=n(e.value,u,c);let f=[u.key];ae(a)?f=a.map((y,p)=>{const m=o[y.type],h=m?m({[y.type]:y.value,index:p,parts:a}):[y.value];return IU(h)&&(h[0].key=`${y.type}-${p}`),h}):D(a)&&(f=[a]);const s=Fe({},i),_=D(e.tag)||X(e.tag)?e.tag:iN();return zS(_,s,f)}}const cN=Dh({name:"i18n-n",props:Fe({value:{type:Number,required:!0},format:{type:[String,Object]}},Xh),setup(e,t){const r=e.i18n||tg({useScope:e.scope,__useComponent:!0});return uN(e,t,x$,(...n)=>r[zh](...n))}}),lN=Dh({name:"i18n-d",props:Fe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Xh),setup(e,t){const r=e.i18n||tg({useScope:e.scope,__useComponent:!0});return uN(e,t,C$,(...n)=>r[Hh](...n))}});function MU(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 LU(e){const t=u=>{const{instance:c,modifiers:a,value:f}=u;if(!c||!c.$)throw xe(q.UNEXPECTED_ERROR);const s=MU(e,c.$);process.env.NODE_ENV!=="production"&&a.preserve&&Ve(Rt(ye.NOT_SUPPORTED_PRESERVE));const _=aN(f);return[Reflect.apply(s.t,s,[...fN(_)]),s]};return{created:(u,c)=>{const[a,f]=t(c);cn&&e.global===f&&(u.__i18nWatcher=Fh(f.locale,()=>{c.instance&&c.instance.$forceUpdate()})),u.__composer=f,u.textContent=a},unmounted:u=>{cn&&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 a=u.__composer,f=aN(c);u.textContent=Reflect.apply(a.t,a,[...fN(f)])}},getSSRProps:u=>{const[c]=t(u);return{textContent:c}}}}function aN(e){if(D(e))return{path:e};if(F(e)){if(!("path"in e))throw xe(q.REQUIRED_VALUE,"path");return e}else throw xe(q.INVALID_VALUE)}function fN(e){const{path:t,locale:r,args:n,choice:o,plural:i}=e,u={},c=n||{};return D(r)&&(u.locale=r),Ce(o)&&(u.plural=o),Ce(i)&&(u.plural=i),[t,c,u]}function kU(e,t,...r){const n=F(r[0])?r[0]:{},o=!!n.useI18nComponentName,i=H(n.globalInstall)?n.globalInstall:!0;process.env.NODE_ENV!=="production"&&i&&o&&Ve(Rt(ye.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Jh.name})),i&&([o?"i18n":Jh.name,"I18nT"].forEach(u=>e.component(u,Jh)),[cN.name,"I18nN"].forEach(u=>e.component(u,cN)),[lN.name,"I18nD"].forEach(u=>e.component(u,lN))),e.directive("t",LU(t))}const Qh={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},AU={["vue-i18n-resource-inspector"]:"Search for scopes ..."},DU={["vue-i18n-timeline"]:16764185},sN="vue-i18n: composer properties";let Zh;function BU(e,t){return yr(this,null,function*(){return new Promise((r,n)=>{try{OU({id:"vue-devtools-plugin-vue-i18n",label:Qh["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:[sN],app:e},o=>{Zh=o,o.on.visitComponentTree(({componentInstance:u,treeNode:c})=>{jU(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:Qh["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:AU["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&UU(u,t)});const i=new Map;o.on.getInspectorState(u=>yr(this,null,function*(){if(u.app===e&&u.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),YU(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=GU(u.nodeId,t);c&&o.highlightElement(c)}})),o.on.editInspectorState(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&zU(u,t)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:Qh["vue-i18n-timeline"],color:DU["vue-i18n-timeline"]}),r(!0)})}catch(o){console.error(o),n(!1)}})})}function _N(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function jU(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 (${_N(e)} Scope)`,textColor:0,backgroundColor:16764185};t.tags.push(o)}}function yN(e,t){const r=sN;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:eg(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 eg(e){const t={};return Object.keys(e).forEach(r=>{const n=e[r];ie(n)&&"source"in n?t[r]=xU(n):gr(n)&&n.loc&&n.loc.source?t[r]=n.loc.source:X(n)?t[r]=eg(n):t[r]=n}),t}const CU={"<":"<",">":">",'"':""","&":"&"};function FU(e){return e.replace(/[<>"&]/g,VU)}function VU(e){return CU[e]||e}function xU(e){const t=e.source?`("${FU(e.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${t}`}}}function UU(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:`${_N(n)} Scope`})}}function GU(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 dN(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 YU(e,t){const r=dN(e.nodeId,t);return r&&(e.state=HU(r)),null}function HU(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:eg(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 a="Datetime formats info",f=[{type:a,key:"numberFormats",editable:!1,value:e.numberFormats.value}];t[a]=f}return t}function xu(e,t){if(Zh){let r;t&&"groupId"in t&&(r=t.groupId,delete t.groupId),Zh.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 zU(e,t){const r=dN(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)||ae(e.state.value)||X(e.state.value))?r.fallbackLocale.value=e.state.value:n==="inheritLocale"&&H(e.state.value)&&(r.inheritLocale=e.state.value)}}function WU(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=pN(e,i);else{i.__injectWithOption=!0,i.__extender=r.__vueI18nExtend,this.$i18n=Kh(i);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=pN(e,o);else{this.$i18n=Kh({__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&&ZS(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("*",xu)}},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("*",xu),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 pN(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[XS](t.pluralizationRules||e.pluralizationRules);const r=Xl(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 qU=ln("global-vue-i18n");function KU(e={},t){const r=__VUE_I18N_LEGACY_API__&&H(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=H(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&r?!!e.allowComposition:!0,i=new Map,[u,c]=XU(e,r),a=ln(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&r&&o&&Ve(Rt(ye.NOTICE_DROP_ALLOW_COMPOSITION));function f(y){return i.get(y)||null}function s(y,p){i.set(y,p)}function _(y){i.delete(y)}{let p;const y={get mode(){return __VUE_I18N_LEGACY_API__&&r?"legacy":"composition"},get allowComposition(){return o},install(m,...h){return yr(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(m.__VUE_I18N__=y),m.__VUE_I18N_SYMBOL__=a,m.provide(m.__VUE_I18N_SYMBOL__,y),F(h[0])){const $=h[0];y.__composerExtend=$.__composerExtend,y.__vueI18nExtend=$.__vueI18nExtend}let P=null;!r&&n&&(P=iG(m,y.global)),__VUE_I18N_FULL_INSTALL__&&kU(m,y,...h),__VUE_I18N_LEGACY_API__&&r&&m.mixin(WU(c,c.__composer,y));const v=m.unmount;if(m.unmount=()=>{P&&P(),y.dispose(),v()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield BU(m,y)))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("*",xu)}})},get global(){return c},dispose(){u.stop()},__instances:i,__getInstance:f,__setInstance:s,__deleteInstance:_};return y}}function tg(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=JU(t),n=ZU(r),o=QS(t),i=QU(e,o);if(__VUE_I18N_LEGACY_API__&&r.mode==="legacy"&&!e.__useComponent){if(!r.allowComposition)throw xe(q.NOT_AVAILABLE_IN_LEGACY_MODE);return rG(t,i,n,e)}if(i==="global")return ZS(n,e,o),n;if(i==="parent"){let a=eG(r,t,e.__useComponent);return a==null&&(process.env.NODE_ENV!=="production"&&Ve(Rt(ye.NOT_FOUND_PARENT_SCOPE)),a=n),a}const u=r;let c=u.__getInstance(t);if(c==null){const a=Fe({},e);"__i18n"in o&&(a.__i18n=o.__i18n),n&&(a.__root=n),c=qh(a),u.__composerExtend&&(c[Wh]=u.__composerExtend(c)),nG(u,t,c),u.__setInstance(t,c)}return c}function XU(e,t,r){const n=Yx();{const o=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Kh(e)):n.run(()=>qh(e));if(o==null)throw xe(q.UNEXPECTED_ERROR);return[n,o]}}function JU(e){{const t=AS(e.isCE?qU:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw xe(e.isCE?q.NOT_INSTALLED_WITH_PROVIDE:q.UNEXPECTED_ERROR);return t}}function QU(e,t){return Ol(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function ZU(e){return e.mode==="composition"?e.global:e.global.__composer}function eG(e,t,r=!1){let n=null;const o=t.root;let i=tG(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[JS]&&(n=null))}if(n!=null||o===i)break;i=i.parent}return n}function tG(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function nG(e,t,r){let n=null;j4(()=>{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("*",xu)}},t),C4(()=>{const o=r;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&(n&&n.off("*",xu),o[Fu]&&o[Fu](),delete t.vnode.el.__VUE_I18N__),e.__deleteInstance(t);const i=o[Wh];i&&(i(),delete o[Wh])},t)}function rG(e,t,r,n={}){const o=t==="local",i=gS(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=H(n.inheritLocale)?n.inheritLocale:!D(n.locale),c=Zo(!o||u?r.locale.value:D(n.locale)?n.locale:Ko),a=Zo(!o||u?r.fallbackLocale.value:D(n.fallbackLocale)||ae(n.fallbackLocale)||F(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:c.value),f=Zo(Xl(c.value,n)),s=Zo(F(n.datetimeFormats)?n.datetimeFormats:{[c.value]:{}}),_=Zo(F(n.numberFormats)?n.numberFormats:{[c.value]:{}}),y=o?r.missingWarn:H(n.missingWarn)||pr(n.missingWarn)?n.missingWarn:!0,p=o?r.fallbackWarn:H(n.fallbackWarn)||pr(n.fallbackWarn)?n.fallbackWarn:!0,m=o?r.fallbackRoot:H(n.fallbackRoot)?n.fallbackRoot:!0,h=!!n.fallbackFormat,P=ie(n.missing)?n.missing:null,v=ie(n.postTranslation)?n.postTranslation:null,$=o?r.warnHtmlMessage:H(n.warnHtmlMessage)?n.warnHtmlMessage:!0,b=!!n.escapeParameter,O=o?r.modifiers:F(n.modifiers)?n.modifiers:{},S=n.pluralRules||o&&r.pluralRules;function R(){return[c.value,a.value,f.value,s.value,_.value]}const E=Sn({get:()=>i.value?i.value.locale.value:c.value,set:A=>{i.value&&(i.value.locale.value=A),c.value=A}}),I=Sn({get:()=>i.value?i.value.fallbackLocale.value:a.value,set:A=>{i.value&&(i.value.fallbackLocale.value=A),a.value=A}}),L=Sn(()=>i.value?i.value.messages.value:f.value),x=Sn(()=>s.value),Z=Sn(()=>_.value);function Y(){return i.value?i.value.getPostTranslationHandler():v}function he(A){i.value&&i.value.setPostTranslationHandler(A)}function st(){return i.value?i.value.getMissingHandler():P}function cr(A){i.value&&i.value.setMissingHandler(A)}function Mt(A){return R(),A()}function lr(...A){return i.value?Mt(()=>Reflect.apply(i.value.t,null,[...A])):Mt(()=>"")}function ar(...A){return i.value?Reflect.apply(i.value.rt,null,[...A]):""}function fr(...A){return i.value?Mt(()=>Reflect.apply(i.value.d,null,[...A])):Mt(()=>"")}function sr(...A){return i.value?Mt(()=>Reflect.apply(i.value.n,null,[...A])):Mt(()=>"")}function _r(A){return i.value?i.value.tm(A):{}}function _t(A,ee){return i.value?i.value.te(A,ee):!1}function mu(A){return i.value?i.value.getLocaleMessage(A):{}}function bu(A,ee){i.value&&(i.value.setLocaleMessage(A,ee),f.value[A]=ee)}function al(A,ee){i.value&&i.value.mergeLocaleMessage(A,ee)}function fl(A){return i.value?i.value.getDateTimeFormat(A):{}}function sl(A,ee){i.value&&(i.value.setDateTimeFormat(A,ee),s.value[A]=ee)}function Hv(A,ee){i.value&&i.value.mergeDateTimeFormat(A,ee)}function _l(A){return i.value?i.value.getNumberFormat(A):{}}function Ou(A,ee){i.value&&(i.value.setNumberFormat(A,ee),_.value[A]=ee)}function yl(A,ee){i.value&&i.value.mergeNumberFormat(A,ee)}const dl={get id(){return i.value?i.value.id:-1},locale:E,fallbackLocale:I,messages:L,datetimeFormats:x,numberFormats:Z,get inheritLocale(){return i.value?i.value.inheritLocale:u},set inheritLocale(A){i.value&&(i.value.inheritLocale=A)},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:y},set missingWarn(A){i.value&&(i.value.missingWarn=A)},get fallbackWarn(){return i.value?i.value.fallbackWarn:p},set fallbackWarn(A){i.value&&(i.value.missingWarn=A)},get fallbackRoot(){return i.value?i.value.fallbackRoot:m},set fallbackRoot(A){i.value&&(i.value.fallbackRoot=A)},get fallbackFormat(){return i.value?i.value.fallbackFormat:h},set fallbackFormat(A){i.value&&(i.value.fallbackFormat=A)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:$},set warnHtmlMessage(A){i.value&&(i.value.warnHtmlMessage=A)},get escapeParameter(){return i.value?i.value.escapeParameter:b},set escapeParameter(A){i.value&&(i.value.escapeParameter=A)},t:lr,getPostTranslationHandler:Y,setPostTranslationHandler:he,getMissingHandler:st,setMissingHandler:cr,rt:ar,d:fr,n:sr,tm:_r,te:_t,getLocaleMessage:mu,setLocaleMessage:bu,mergeLocaleMessage:al,getDateTimeFormat:fl,setDateTimeFormat:sl,mergeDateTimeFormat:Hv,getNumberFormat:_l,setNumberFormat:Ou,mergeNumberFormat:yl};function pl(A){A.locale.value=c.value,A.fallbackLocale.value=a.value,Object.keys(f.value).forEach(ee=>{A.mergeLocaleMessage(ee,f.value[ee])}),Object.keys(s.value).forEach(ee=>{A.mergeDateTimeFormat(ee,s.value[ee])}),Object.keys(_.value).forEach(ee=>{A.mergeNumberFormat(ee,_.value[ee])}),A.escapeParameter=b,A.fallbackFormat=h,A.fallbackRoot=m,A.fallbackWarn=p,A.missingWarn=y,A.warnHtmlMessage=$}return B4(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw xe(q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const A=i.value=e.proxy.$i18n.__composer;t==="global"?(c.value=A.locale.value,a.value=A.fallbackLocale.value,f.value=A.messages.value,s.value=A.datetimeFormats.value,_.value=A.numberFormats.value):o&&pl(A)}),dl}const oG=["locale","fallbackLocale","availableLocales"],vN=["t","rt","d","n","tm","te"];function iG(e,t){const r=Object.create(null);return oG.forEach(o=>{const i=Object.getOwnPropertyDescriptor(t,o);if(!i)throw xe(q.UNEXPECTED_ERROR);const u=Tt(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,vN.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,vN.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}if(PU(),__INTLIFY_JIT_COMPILATION__?v$(wx):v$(Ox),yx(WV),dx(_$),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Vn();e.__INTLIFY__=!0,nx(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;function uG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cG(e,t,r){return t&&hN(e.prototype,t),r&&hN(e,r),e}function lG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var d=function(){function e(){uG(this,e)}return cG(e,null,[{key:"getMessage",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.global.t(r,n)}},{key:"resetI18n",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:GE;return KU({locale:r,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(r,n){this.$i18n.global.setLocaleMessage(r,n)}}]),e}();lG(d,"$i18n",d.resetI18n());function gN(e,t,r){var n=t.replace(/\[(\d)]/g,function(i,u){return"."+u}).split("."),o=!1;return n.reduce(function(i,u,c,a){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===a.length-1&&!Object.is(f[u],r)&&(f[u]=r,o=!0),f[u]}},e),o}var aG=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ng={exports:{}};(function(e){(function(t){var r=function(v,$,b){if(!f($)||_($)||y($)||p($)||a($))return $;var O,S=0,R=0;if(s($))for(O=[],R=$.length;S<R;S++)O.push(r(v,$[S],b));else{O={};for(var E in $)Object.prototype.hasOwnProperty.call($,E)&&(O[v(E,b)]=r(v,$[E],b))}return O},n=function(v,$){$=$||{};var b=$.separator||"_",O=$.split||/(?=[A-Z])/;return v.split(O).join(b)},o=function(v){return m(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function($,b){return b?b.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},i=function(v){var $=o(v);return $.substr(0,1).toUpperCase()+$.substr(1)},u=function(v,$){return n(v,$).toLowerCase()},c=Object.prototype.toString,a=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]"},y=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,$){var b=$&&"process"in $?$.process:$;return typeof b!="function"?v:function(O,S){return b(O,v,S)}},P={camelize:o,decamelize:u,pascalize:i,depascalize:u,camelizeKeys:function(v,$){return r(h(o,$),v)},decamelizeKeys:function(v,$){return r(h(u,$),v,$)},pascalizeKeys:function(v,$){return r(h(i,$),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=P:t.humps=P})(aG)})(ng);var mN={};Object.defineProperty(mN,"__esModule",{value:!0});function rg(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:rg(t));{const t={};for(const r in e){const n=e[r];t[r]=typeof n!="object"||n===null?n:rg(n)}return t}}var fG=mN.default=rg;function bN(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wt(e){if(e!==void 0)return(typeof e=="undefined"?"undefined":bN(e))==="object"?fG(e):e}function ut(e){return og(e)&&"zh"in e}function og(e){return Object.prototype.toString.call(e)==="[object Object]"}function sG(e){return e!=null&&(typeof e=="undefined"?"undefined":bN(e))==="object"&&Array.isArray(e)===!1}function lo(e){return Array.isArray(e)}function ON(e){return typeof e=="string"}function ig(e){return typeof e=="number"}function _G(e){return typeof e=="function"}function yG(e){return lo(e)&&e.every(function(t){return ON(t)})}function dG(e){return lo(e)&&e.every(function(t){return ig(t)})}function pG(e){return lo(e)&&e.every(function(t){return ig(t)||t===""})}function vG(e){return/^\[.*?]$/.test(e)}function hG(e){return/^{.*?}$/.test(e)}function ao(e){return isNaN(parseFloat(e))?"":Number(e)}function wN(e){return e.reduce(function(t,r){return t.includes(r)||t.push(r),t},[])}function gG(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 mG(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return new Promise(function(t){setTimeout(t,e)})}function de(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=de(n.children,t)),Array.isArray(n==null?void 0:n.footers)&&(o.footers=de(n.footers,t)),t(o)})),r}function PN(e){return ng.exports.camelizeKeys(e)}function $r(e){return ng.exports.decamelizeKeys(e)}function bG(e){return Object.values(l.CONTROL_TYPE).includes(e)}function ug(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 OG(e){if(Array.isArray(e))return ug(e)}function TN(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(f){r(f);return}c.done?t(a):Promise.resolve(a).then(n,o)}function wG(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){TN(i,n,o,u,c,"next",a)}function c(a){TN(i,n,o,u,c,"throw",a)}u(void 0)})}}function PG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function RN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TG(e,t,r){return t&&RN(e.prototype,t),r&&RN(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 RG(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function EG(){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 cg(e){return OG(e)||RG(e)||$G(e)||EG()}function $G(e,t){if(!!e){if(typeof e=="string")return ug(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 ug(e,t)}}function SG(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 a([f,s])}}function a(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 $N=function(){function e(){PG(this,e),EN(this,"_events",new Map),EN(this,"debug",!1)}return TG(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 wG(function(){var c,a,f,s,_,y,p,m,h,P,v,$;return SG(this,function(b){switch(b.label){case 0:if(c=u._events.get(r),a=[],!c)return[3,10];f=c.slice(),s=!0,_=!1,y=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&&$u.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(cg(o))),[4,h.apply(null,cg(o))];case 4:return P=b.sent(),u.debug&&$u.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(cg(o),[P])),a.push(P),P===!1?[3,7]:[3,6];case 5:return v=b.sent(),XE(String(v)+":"+String(v.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return $=b.sent(),_=!0,y=$,[3,10];case 9:try{!s&&p.return!=null&&p.return()}finally{if(_)throw y}return[7];case 10:return[2,a]}})})()}},{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 NG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function IG(e,t,r){return t&&SN(e.prototype,t),r&&SN(e,r),e}function MG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var LG=[{key:"on_click",name:d.getMessage("click"),code:"click"},{key:"on_click_finish",name:d.getMessage("fibished"),code:"click-finish"},{key:"on_change",name:d.getMessage("valueChange"),code:"change"},{key:"on_search",name:d.getMessage("search"),code:"search"},{key:"on_list_change",name:d.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:d.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:d.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:d.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:d.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:d.getMessage("onInput"),code:"input"},{key:"on_blur",name:d.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:d.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:d.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:d.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:d.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:d.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:d.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:d.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:d.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:d.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:d.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:d.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:d.getMessage("modalConfirm"),code:"modal-ok"}],NN=function(){function e(){NG(this,e)}return IG(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}();MG(NN,"events",LG);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 kG(e){if(Array.isArray(e))return lg(e)}function AG(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function DG(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function IN(e){return kG(e)||AG(e)||BG(e)||DG()}function BG(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 Jl(e,t){var r;!((r=Object.getOwnPropertyDescriptors(e)[t])===null||r===void 0)&&r.enumerable&&Object.defineProperty(e,t,{enumerable:!1})}function ag(e,t,r){r!=="Runtime"&&(e.parent=t,Jl(e,"parent"))}function MN(e,t,r){e.forEach(function(n){ag(n,t,r)})}var LN=Symbol("targetKey");function kN(e){var t;return(t=e[LN])!==null&&t!==void 0?t:e}function AN(e,t,r){return MN(e,t,r),new Proxy(e,{get:function(o,i){for(var u=arguments.length,c=new Array(u>2?u-2:0),a=2;a<u;a++)c[a-2]=arguments[a];var f;return i===LN?o:(f=Reflect).get.apply(f,[o,i].concat(IN(c)))},set:function(o,i,u){for(var c=arguments.length,a=new Array(c>3?c-3:0),f=3;f<c;f++)a[f-3]=arguments[f];var s;if(lo(e)&&i==="length"&&u===e.length)return!0;var _=(s=Reflect).set.apply(s,[o,i,u].concat(IN(a)));return og(u)&&ag(u,t,r),_}})}function yn(e,t,r,n,o){var i=n!=null?n:e,u=AN(kN(r!=null?r:[]),i,o);Object.defineProperty(e,t,{get:function(){return u},set:function(a){u=AN(kN(a),i,o)},enumerable:!0})}function jG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DN(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function CG(e,t,r){return t&&DN(e.prototype,t),r&&DN(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 BN=[],Uu=function(){function e(t){jG(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 CG(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__||dr("".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===l.CONTROL_BASE_TYPE.LAYOUT}},{key:"isFormControl",value:function(r){return r.controlType===l.CONTROL_BASE_TYPE.FORM}},{key:"isListControl",value:function(r){return r.controlType===l.CONTROL_BASE_TYPE.LIST}},{key:"isColumnControl",value:function(r){return r.controlType===l.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 a=n(c);a&&(c=a)}var f;return u.mode==="Runtime"?(f=c,f.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(f,this)):f=new u(c),f}else dr("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}}),Jl(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 a=u[i],f=c[i];if(!(!a&&!f)){var s=f.findIndex(function(p){return p==r}),_=c[a]||[],y;return _.length!==f.length?y=_[0]:y=_[s],y}}}}),Jl(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__)&&dr("".concat(r," is can't register as a Control"));var c=this.staticControls.findIndex(function(a){return a.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(Uu,"staticControlsRuntimeRules",new Map),Sr(Uu,"staticControls",BN),Sr(Uu,"staticRegisteredTypes",new Set(BN.map(function(e){return e.Designer.controlType}))),Sr(Uu,"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 B(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 Ql(e){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ql(e)}function qt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fg(e,t)}function FG(e,t){return t&&(VG(t)==="object"||typeof t=="function")?t:ce(e)}function fg(e,t){return fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fg(e,t)}function VG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xG(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kt(e){var t=xG();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 FG(this,o)}}var Xt=function e(t){B(this,e),T(this,"dataCode",void 0),T(this,"fieldCode",void 0),T(this,"fieldType",void 0),T(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},Zl=function e(t){B(this,e),T(this,"minWidth",void 0),T(this,"maxWidth",void 0),T(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},sg=function e(t){B(this,e),T(this,"rowHeightType",void 0),T(this,"minRows",void 0),T(this,"maxRows",void 0),T(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},_g=function e(t){B(this,e),T(this,"pc",void 0),T(this,"mobile",void 0),this.pc=new sg(t==null?void 0:t.pc),this.mobile=new sg(t==null?void 0:t.mobile)},ea=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;o=t.call(this,n),T(ce(o),"width",void 0),T(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}(Zl),yg=function e(t){B(this,e),T(this,"pc",void 0),T(this,"mobile",void 0),this.pc=new ea(t==null?void 0:t.pc),this.mobile=t!=null&&t.mobile?new ea(t==null?void 0:t.mobile):new ea({width:130,minWidth:180})},jN=function e(t){B(this,e),T(this,"type",void 0),T(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){B(this,e),T(this,"dataCode",void 0),T(this,"formKey",void 0),T(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:""},CN=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;o=t.call(this,n),T(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),FN=function e(t){B(this,e),T(this,"fieldCode",void 0),T(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:""},ta=function e(t){B(this,e);var r;T(this,"appId",void 0),T(this,"formKey",void 0),T(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 FN(u)}))!==null&&i!==void 0?i:[]},VN=function e(t){B(this,e),T(this,"fieldName",void 0),T(this,"fieldCode",void 0),T(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:l.FieldTypes.VARCHAR},xN=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;o=t.call(this,n),T(ce(o),"title",void 0),T(ce(o),"svcCode",void 0),T(ce(o),"isOpenFilter",void 0),T(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 a;return o.filters=(a=n==null?void 0:n.filters)!==null&&a!==void 0?a:[],o}return r}(fo),UN=function e(t){B(this,e);var r,n;T(this,"type","sublist-page"),T(this,"formBind",void 0),T(this,"displayFields",void 0),T(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 VN(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 xN(u)}))!==null&&i!==void 0?i:[]},GN=function e(t){B(this,e),T(this,"type",void 0),T(this,"value",void 0),T(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){B(this,e),T(this,"type",void 0),T(this,"value",void 0),T(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:[]},na=function e(t){var r=this;B(this,e),T(this,"id",void 0),T(this,"ruleId",void 0),T(this,"type","conditions"),T(this,"level",void 0),T(this,"value",void 0),T(this,"children",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Yt();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 a,f=new e(c);(a=r.children)===null||a===void 0||a.push(f)}else{var s,_=new Gu(c);(s=r.children)===null||s===void 0||s.push(_)}}))},Gu=function e(t){B(this,e),T(this,"id",void 0),T(this,"ruleId",void 0),T(this,"type","condition"),T(this,"symbol",void 0),T(this,"checked",void 0),T(this,"describe",void 0),T(this,"leftVariableBo",void 0),T(this,"rightVariableBo",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Yt();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 GN(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new ui(t==null?void 0:t.rightVariableBo)},YN=function e(t){B(this,e),T(this,"aliasCode",void 0),T(this,"datasourceBind",void 0),T(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){B(this,e),T(this,"controlId",void 0),T(this,"fieldCode",void 0),T(this,"fieldType",void 0),T(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:""},ra=function e(t){B(this,e),T(this,"type",void 0),T(this,"value",void 0),T(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},UG=function e(t){B(this,e),T(this,"title",void 0),T(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:[]},dg=function e(t){B(this,e),T(this,"columnName",void 0),T(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},HN=function e(t){B(this,e),T(this,"code",void 0),T(this,"value",void 0),T(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:l.FieldTypes.ANY},GG=function e(t){B(this,e);var r,n;T(this,"id",void 0),T(this,"limit",void 0),T(this,"orders",void 0),T(this,"formKey",void 0),T(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 dg(f)}))!==null&&c!==void 0?c:[];var a;this.dataSet=(a=(n=t.dataSet)===null||n===void 0?void 0:n.map(function(f){return new HN(f)}))!==null&&a!==void 0?a:[]};function pg(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 na(c):new Gu(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 na(c):new Gu(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 dg(c)}))!==null&&u!==void 0?u:[]}var Ue=function e(t){var r=this;B(this,e),T(this,"dataCode",void 0),T(this,"valueFieldCode",void 0),T(this,"displayBoList",void 0),T(this,"keywordMapping",void 0),T(this,"svcCode",void 0),T(this,"appId",void 0),T(this,"filters",void 0),T(this,"viewFilters",void 0),T(this,"isOpenViewFilters",void 0),T(this,"orders",void 0),T(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 ra(s))}));var c;this.keywordMapping=(c=t==null?void 0:t.keywordMapping)!==null&&c!==void 0?c:"";var a;this.showOrder=(a=t==null?void 0:t.showOrder)!==null&&a!==void 0?a:!0;var f;this.svcCode=(f=t==null?void 0:t.svcCode)!==null&&f!==void 0?f:"",pg.call(this,t)},oa=function e(t){B(this,e),T(this,"dataCode",void 0),T(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:[]},Nn=function e(t){B(this,e),T(this,"code",void 0),T(this,"color",void 0),T(this,"command",void 0),T(this,"confirmMessage",void 0),T(this,"defaultState",void 0),T(this,"formKey",void 0),T(this,"formType",void 0),T(this,"icon",void 0),T(this,"needConfirm",void 0),T(this,"openType",void 0),T(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 a;this.icon=(a=t==null?void 0:t.icon)!==null&&a!==void 0?a:"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},vg=function e(t){B(this,e);var r;T(this,"name",void 0),T(this,"key",void 0),T(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 ra(u)}))!==null&&i!==void 0?i:[]},Yu=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o,i;o=t.call(this,n),T(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 vg(c)}))!==null&&u!==void 0?u:[],o}return r}(Ue),zN=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o,i;o=t.call(this,n),T(ce(o),"attributes",void 0),T(ce(o),"formCode",void 0);var u;o.attributes=(u=n==null||(i=n.attributes)===null||i===void 0?void 0:i.map(function(a){return new vg(a)}))!==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),hg=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;o=t.call(this,n),T(ce(o),"rootNode",void 0),T(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),WN=function e(t){B(this,e);var r;T(this,"dataCode",void 0),T(this,"appId",void 0),T(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:[]},gg=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;return o=t.call(this,n),T(ce(o),"filters",void 0),T(ce(o),"viewFilters",void 0),T(ce(o),"orders",void 0),pg.call(ce(o),n),o}return r}(WN),mg=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;o=t.call(this,n),T(ce(o),"mode",void 0),T(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}(WN),YG=function e(t){B(this,e),T(this,"zh",void 0),T(this,"en",void 0),T(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:""},ia=function e(t){B(this,e),T(this,"stencilName",void 0),T(this,"expression",void 0),T(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:""},bg=function e(t){B(this,e),T(this,"id",void 0),T(this,"label",void 0),T(this,"value",void 0);var r;this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:Yt(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},qN=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;o=t.call(this,n),T(ce(o),"image",void 0),T(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}(bg);function In(e){var t;return(t=e==null?void 0:e.map(function(r){return new bg(r)}))!==null&&t!==void 0?t:[]}function HG(e){var t;return(t=e==null?void 0:e.map(function(r){return new qN(r)}))!==null&&t!==void 0?t:[]}var ua=function e(){B(this,e)},KN=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;return o=t.call(this),T(ce(o),"amount",void 0),T(ce(o),"currency",void 0),o.amount=new Xt(n==null?void 0:n.amount),o.currency=new Xt(n==null?void 0:n.currency),o}return r}(ua),XN=function e(t){B(this,e),T(this,"amount",void 0),T(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"},JN=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;return o=t.call(this),T(ce(o),"min",void 0),T(ce(o),"max",void 0),o.min=new Xt(n==null?void 0:n.min),o.max=new Xt(n==null?void 0:n.max),o}return r}(ua),QN=function e(t){B(this,e),T(this,"min",void 0),T(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:""},ZN=function e(t){B(this,e),T(this,"city",void 0),T(this,"cityDisplay",void 0),T(this,"district",void 0),T(this,"districtDisplay",void 0),T(this,"province",void 0),T(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:""},eI=function(e){qt(r,e);var t=Kt(r);function r(n){B(this,r);var o;return o=t.call(this),T(ce(o),"result",void 0),T(ce(o),"unit",void 0),o.result=new Xt(n==null?void 0:n.result),o.unit=new Xt(n==null?void 0:n.unit),o}return r}(ua),tI=function e(t){B(this,e),T(this,"result",void 0),T(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:""};l.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"}(l.AMOUNT_TYPE||(l.AMOUNT_TYPE={})),l.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"}(l.COMMON_SETTING_TYPE||(l.COMMON_SETTING_TYPE={})),l.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"}(l.PAGE_STATUS||(l.PAGE_STATUS={}));var Hn=function e(t){B(this,e),T(this,"isShow",void 0),T(this,"priorityProcess",void 0),T(this,"formKey",void 0),T(this,"content",void 0),T(this,"openType",void 0),T(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},nI=function e(t){B(this,e);var r;T(this,"id",void 0),T(this,"title",void 0),T(this,"filters",void 0),T(this,"viewFilters",void 0),T(this,"headers",void 0);var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:Yt(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 FN(u)}))!==null&&i!==void 0?i:[],pg.call(this,t)},zG=function e(t){B(this,e),T(this,"key",void 0),T(this,"caption",void 0);var r;this.key=(r=t.key)!==null&&r!==void 0?r:Yt(8);var n;this.caption=(n=t.caption)!==null&&n!==void 0?n:""},rI=function e(t){B(this,e),T(this,"width",void 0),T(this,"height",void 0),T(this,"widthConfig",void 0),T(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"},oI=function e(t){B(this,e),T(this,"optCode",void 0),T(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:""},iI=function e(t){B(this,e);var r,n;T(this,"id",void 0),T(this,"name",void 0),T(this,"settings",void 0),T(this,"filters",void 0),T(this,"script",void 0);var o;this.id=(o=t==null?void 0:t.id)!==null&&o!==void 0?o:Yt();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(a){return a.children!==void 0?new na(a):new Gu(a)}))!==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(a){return new uI(a)}))!==null&&c!==void 0?c:[]:[],this.script=t==null?void 0:t.script},uI=function e(t){B(this,e),T(this,"color",void 0),T(this,"fieldCodes",void 0),T(this,"type",void 0),T(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"},cI=function e(t){B(this,e);var r;T(this,"type",void 0),T(this,"interval",void 0),T(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 iI(u)}))!==null&&i!==void 0?i:[]:[]};function WG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Og(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ca(e,t,r){return lI()?ca=Reflect.construct:ca=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),f=new a;return u&&zu(f,u.prototype),f},ca.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 Hu(e){return Hu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hu(e)}function qG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zu(e,t)}function KG(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function XG(e,t){return t&&(JG(t)==="object"||typeof t=="function")?t:WG(e)}function zu(e,t){return zu=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zu(e,t)}function JG(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wg(e){var t=typeof Map=="function"?new Map:void 0;return wg=function(n){if(n===null||!KG(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 ca(n,arguments,Hu(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),zu(o,n)},wg(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 QG(e){var t=lI();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 XG(this,o)}}var Be=function e(t){Og(this,e),zn(this,"isHide",{type:"boolean"})},Nr=function(e){qG(r,e);var t=QG(r);function r(n){return Og(this,r),t.call(this)}return r}(wg(Array)),Ee=function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Og(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 rI(t==null?void 0:t.style);var o;this.caption=(o=t==null?void 0:t.caption)!==null&&o!==void 0?o:r};zn(Ee,"mode",void 0),zn(Ee,"Rules",Be),zn(Ee,"RuntimeRules",Nr);function Mn(){return Mn=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},Mn.apply(this,arguments)}function ZG(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 la(e,t){return la=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},la(e,t)}function eY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function aa(e,t,r){return eY()?aa=Reflect.construct:aa=function(o,i,u){var c=[null];c.push.apply(c,i);var a=Function.bind.apply(o,c),f=new a;return u&&la(f,u.prototype),f},aa.apply(null,arguments)}function tY(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||!tY(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 aa(n,arguments,Pg(this).constructor)}return o.prototype=Object.create(n.prototype,{constructor:{value:o,enumerable:!1,writable:!0,configurable:!0}}),la(o,n)},Tg(e)}var nY=/%[sdj%]/g,aI=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(aI=function(t,r){typeof console!="undefined"&&console.warn&&r.every(function(n){return typeof n=="string"})&&console.warn(t,r)});function Rg(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 kt(){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(nY,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(a){return"[Circular]"}break;default:return c}});return u}return o}function rY(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||rY(t)&&typeof e=="string"&&!e)}function oY(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 fI(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 iY(e){var t=[];return Object.keys(e).forEach(function(r){t.push.apply(t,e[r])}),t}var sI=function(e){ZG(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 uY(e,t,r,n){if(t.first){var o=new Promise(function(_,y){var p=function(P){return n(P),P.length?y(new sI(P,Rg(P))):_()},m=iY(e);fI(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,a=0,f=[],s=new Promise(function(_,y){var p=function(h){if(f.push.apply(f,h),a++,a===c)return n(f),f.length?y(new sI(f,Rg(f))):_()};u.length||(n(f),_()),u.forEach(function(m){var h=e[m];i.indexOf(m)!==-1?fI(h,r,p):oY(h,r,p)})});return s.catch(function(_){return _}),s}function _I(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]=Mn(Mn({},e[r]),n):e[r]=n}}return e}function dI(e,t,r,n,o,i){e.required&&(!r.hasOwnProperty(e.field)||Ge(t,i||e.type))&&n.push(kt(o.messages.required,e.fullField))}function cY(e,t,r,n,o){(/^\s+$/.test(t)||t==="")&&n.push(kt(o.messages.whitespace,e.fullField))}var Eg={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},Wu={integer:function(t){return Wu.number(t)&&parseInt(t,10)===t},float:function(t){return Wu.number(t)&&!Wu.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"&&!Wu.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(Eg.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(Eg.url)},hex:function(t){return typeof t=="string"&&!!t.match(Eg.hex)}};function lY(e,t,r,n,o){if(e.required&&t===void 0){dI(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?Wu[u](t)||n.push(kt(o.messages.types[u],e.fullField,e.type)):u&&typeof t!==e.type&&n.push(kt(o.messages.types[u],e.fullField,e.type))}function aY(e,t,r,n,o){var i=typeof e.len=="number",u=typeof e.min=="number",c=typeof e.max=="number",a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=t,s=null,_=typeof t=="number",y=typeof t=="string",p=Array.isArray(t);if(_?s="number":y?s="string":p&&(s="array"),!s)return!1;p&&(f=t.length),y&&(f=t.replace(a,"_").length),i?f!==e.len&&n.push(kt(o.messages[s].len,e.fullField,e.len)):u&&!c&&f<e.min?n.push(kt(o.messages[s].min,e.fullField,e.min)):c&&!u&&f>e.max?n.push(kt(o.messages[s].max,e.fullField,e.max)):u&&c&&(f<e.min||f>e.max)&&n.push(kt(o.messages[s].range,e.fullField,e.min,e.max))}var ci="enum";function fY(e,t,r,n,o){e[ci]=Array.isArray(e[ci])?e[ci]:[],e[ci].indexOf(t)===-1&&n.push(kt(o.messages[ci],e.fullField,e[ci].join(", ")))}function sY(e,t,r,n,o){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||n.push(kt(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(kt(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var W={required:dI,whitespace:cY,type:lY,range:aY,enum:fY,pattern:sY};function _Y(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 yY(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 dY(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 pY(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 vY(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 hY(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 gY(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 mY(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 bY(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 OY="enum";function wY(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[OY](e,t,n,i,o)}r(i)}function PY(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 TY(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 RY(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 $g(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 EY(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 qu={string:_Y,method:yY,number:dY,boolean:pY,regexp:vY,integer:hY,float:gY,array:mY,object:bY,enum:wY,pattern:PY,date:TY,url:$g,hex:$g,email:$g,required:RY,any:EY};function Sg(){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 Ng=Sg();function Ir(e){this.rules=null,this._messages=Ng,this.define(e)}Ir.prototype={messages:function(t){return t&&(this._messages=yI(Sg(),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 a(h){var P,v=[],$={};function b(O){if(Array.isArray(O)){var S;v=(S=v).concat.apply(S,O)}else v.push(O)}for(P=0;P<h.length;P++)b(h[P]);v.length?$=Rg(v):(v=null,$=null),c(v,$)}if(u.messages){var f=this.messages();f===Ng&&(f=Sg()),yI(f,u.messages),u.messages=f}else u.messages=this.messages();var s,_,y={},p=u.keys||Object.keys(this.rules);p.forEach(function(h){s=o.rules[h],_=i[h],s.forEach(function(P){var v=P;typeof v.transform=="function"&&(i===t&&(i=Mn({},i)),_=i[h]=v.transform(_)),typeof v=="function"?v={validator:v}:v=Mn({},v),v.validator=o.getValidationMethod(v),v.field=h,v.fullField=v.fullField||h,v.type=o.getType(v),v.validator&&(y[h]=y[h]||[],y[h].push({rule:v,value:_,source:i,field:h}))})});var m={};return uY(y,u,function(h,P){var v=h.rule,$=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");$=$&&(v.required||!v.required&&h.value),v.field=h.field;function b(R,E){return Mn(Mn({},E),{},{fullField:v.fullField+"."+R})}function O(R){R===void 0&&(R=[]);var E=R;if(Array.isArray(E)||(E=[E]),!u.suppressWarning&&E.length&&Ir.warning("async-validator:",E),E.length&&v.message!==void 0&&(E=[].concat(v.message)),E=E.map(_I(v)),u.first&&E.length)return m[v.field]=1,P(E);if(!$)P(E);else{if(v.required&&!h.value)return v.message!==void 0?E=[].concat(v.message).map(_I(v)):u.error&&(E=[u.error(v,kt(u.messages.required,v.field))]),P(E);var I={};if(v.defaultField)for(var L in h.value)h.value.hasOwnProperty(L)&&(I[L]=v.defaultField);I=Mn(Mn({},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 Y=new Ir(I);Y.messages(u.messages),h.rule.options&&(h.rule.options.messages=u.messages,h.rule.options.error=u.error),Y.validate(h.value,h.rule.options||u,function(he){var st=[];E&&E.length&&st.push.apply(st,E),he&&he.length&&st.push.apply(st,he),P(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(R){return O(R)})},function(h){a(h)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!qu.hasOwnProperty(t.type))throw new Error(kt("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"?qu.required:qu[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");qu[t]=r},Ir.warning=aI,Ir.messages=Ng,Ir.validators=qu;var $Y={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 pI(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Ir(e);return r.messages(Object.assign($Y,t)),r}var vI=new $N;function Ig(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 SY(e){if(Array.isArray(e))return e}function NY(e){if(Array.isArray(e))return Ig(e)}function hI(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(f){r(f);return}c.done?t(a):Promise.resolve(a).then(n,o)}function gI(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){hI(i,n,o,u,c,"next",a)}function c(a){hI(i,n,o,u,c,"throw",a)}u(void 0)})}}function IY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function MY(e,t,r){return t&&mI(e.prototype,t),r&&mI(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 bI(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function OI(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function LY(){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 kY(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function wI(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 AY(e){return SY(e)||OI(e)||PI(e)||LY()}function Mg(e){return NY(e)||OI(e)||PI(e)||kY()}function DY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PI(e,t){if(!!e){if(typeof e=="string")return Ig(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 Ig(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 a([f,s])}}function a(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;IY(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",EI),ne(this,"removeSetting",RI),this._callControlHooks("preInstance",r);var o=bI(this,t)?this.constructor:void 0,i=o.controlName,u=o.controlIcon,c=o.controlType,a=o.controlFieldType,f=o.controlEventKeys,s=o.controlCustomEvents,_=o.name,y=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:Yt(10),this.name=i,this.icon=u;var P;this.type=(P=r==null?void 0:r.type)!==null&&P!==void 0?P:c,this.props=new Ee(r==null?void 0:r.props,(bI(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=Wt(y);var $;this.fieldType=($=r==null?void 0:r.fieldType)!==null&&$!==void 0?$:a,this.eventKeys=Wt(f),this.customEvents=Wt(s),this.slots=Wt(p),this.slotPosition=Wt(m),Promise.resolve().then(function(){n._callControlHooks("postInstance",r)})}return MY(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=AY(o),a=c[0],f=c.slice(1);return(u=vI).emit.apply(u,[a,this].concat(Mg(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),gN(this.props,n,o),this.postUpdate(n,o)}},{key:"preValidate",value:function(){var n=this;return gI(function(){var o,i,u;return TI(this,function(c){switch(c.label){case 0:return o=wI({},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 gI(function(){var u,c,a,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:wI({},i.rules),Array.isArray(o)&&o.forEach(function(_){c.hasOwnProperty(_)&&delete c[_]}),a=pI(c,n),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,a.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,a=c.dataBind,f=c.datasourceBind,s=c.optionConfig,_=c.caption,y=c.required,p=c.maxLength,m=c.options,h=c.encrypted,P=c.encryptedMode;if(!(!o&&!a&&!f)){var v={parentId:n,fieldType:o,controlId:i,caption:_,type:u,props:{}};switch(a&&(v.dataBind=a),s){case"datasource":case void 0:f&&(v.datasourceBind=f);break;case"custom":v.props.options=m;break}return y!==void 0&&(v.required=y),p!==void 0&&(v.maxLength=p),h!==void 0&&(v.encrypted=h),P!==void 0&&(v.encryptedMode=P),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Wt(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,Mg(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",RI),ne(re,"updateSettingItem",EI);function RI(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,a;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&&!(!((a=t.setting[u].showItems)===null||a===void 0)&&a.length)&&t.setting.splice(u,1)}})}function EI(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":DY(t))==="object"){var u,c=(u=t.type)!==null&&u!==void 0?u:"replace";if(c==="replace")i.showItems=t.showItems;else{var a;(a=i.showItems).push.apply(a,Mg(t.showItems))}}}})}function BY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $I(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function jY(e,t,r){return t&&$I(e.prototype,t),r&&$I(e,r),e}function At(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,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}var $e=function(){function t(r){BY(this,t),At(this,"id",void 0),At(this,"type",void 0),At(this,"controlType",void 0),At(this,"props",void 0),At(this,"fieldType",void 0),At(this,"customEvents",[]),At(this,"pageStatus",void 0),At(this,"parent",null);var n=CY(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 a;this.id=(a=r==null?void 0:r.id)!==null&&a!==void 0?a:Yt(10);var f;this.type=(f=r==null?void 0:r.type)!==null&&f!==void 0?f:o,this.props=new Ee(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 y;this.pageStatus=(y=r==null?void 0:r.pageStatus)!==null&&y!==void 0?y:l.PAGE_STATUS.UNKNOWN}return jY(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}();At($e,"mode","Runtime"),At($e,"controlType","control"),At($e,"controlFieldType",void 0),At($e,"__is_control__",!0),At($e,"controlCustomEvents",[]);function fa(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:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(r,n,o){n.length===0&&o(d.getMessage("optionIsRequired")),o()}},{type:"array",validator:function(r,n,o){var i=n.map(function(c){return c.value}),u=wN(i);i.length!==u.length?o(d.getMessage("optionIdIsRepeat")):o()},message:d.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(r,n,o){n.length===0&&o(d.getMessage("pleaseBindAtLeastOneDisplayValue")),o()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Ku(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(r?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(o,i,u){i.length===0&&u(d.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage(r?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function SI(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 sa(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 _a(e){return _a=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_a(e)}function ya(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lg(e,t)}function FY(e,t){return t&&(VY(t)==="object"||typeof t=="function")?t:me(e)}function Lg(e,t){return Lg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lg(e,t)}function VY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function da(e){var t=xY();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 FY(this,o)}}var He=function(e){ya(r,e);var t=da(r);function r(n){sa(this,r);var o;o=t.call(this,n),be(me(o),"dataBind",{}),be(me(o),"caption",{type:"string",required:!0,message:d.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:d.getMessage("pleaseEnterCaptionTip")});var i={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(SI(n.dataBind))o.dataBind={type:"object",required:!0,fields:Wt(i),message:d.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(c){u.fields[c]={type:"object",required:!0,fields:Wt(i),message:d.getMessage("pleaseEnterFieldCode")}}),o.dataBind=u}return n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Be),_e=function(e){ya(r,e);var t=da(r);function r(n){sa(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:d.getMessage("runtimeRequired",{caption:n.caption})}),o}return r}(Nr),K=function(e){ya(r,e);var t=da(r);function r(n){sa(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 a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";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 y;o.required=(y=n==null?void 0:n.required)!==null&&y!==void 0?y:!1;var p;o.requiredMessage=(p=n==null?void 0:n.requiredMessage)!==null&&p!==void 0?p:"",o.dataBind=new Xt(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}(Ee);be(K,"Rules",He),be(K,"RuntimeRules",_e);var so=function(e){ya(r,e);var t=da(r);function r(n){sa(this,r);var o;return o=t.call(this,n),be(me(o),"optionConfig",{type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),be(me(o),"options",[{type:"array",message:d.getMessage("isNotArray")}]),be(me(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),fa.call(me(o),n),o}return r}(He);function kg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pa(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function va(e){return va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},va(e)}function GY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ag(e,t)}function YY(e,t){return t&&(HY(t)==="object"||typeof t=="function")?t:kg(e)}function Ag(e,t){return Ag=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ag(e,t)}function HY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WY(e){var t=zY();return function(){var n=va(e),o;if(t){var i=va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return YY(this,o)}}var J=function(e){GY(r,e);var t=WY(r);function r(n){UY(this,r);var o;return o=t.call(this,n),pa(kg(o),"controlType","form"),pa(kg(o),"props",void 0),o.props=new K(n==null?void 0:n.props),o}return r}(re);pa(J,"controlEventKeys",["on_change","on_focus","on_blur"]),pa(J,"controlCustomAttributes",void 0);function ha(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qY(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ga(e){return ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ga(e)}function KY(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bg(e,t)}function XY(e,t){return t&&(JY(t)==="object"||typeof t=="function")?t:ha(e)}function Bg(e,t){return Bg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bg(e,t)}function JY(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QY(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ZY(e){var t=QY();return function(){var n=ga(e),o;if(t){var i=ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return XY(this,o)}}var Q=function(e){KY(r,e);var t=ZY(r);function r(n){qY(this,r);var o;return o=t.call(this,n),Dg(ha(o),"controlType","form"),Dg(ha(o),"props",void 0),Dg(ha(o),"value",void 0),o.props=new K(n==null?void 0:n.props),o}return r}($e);function eH(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ma(e){return ma=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ma(e)}function nH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 rH(e,t){return t&&(oH(t)==="object"||typeof t=="function")?t:eH(e)}function jg(e,t){return jg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jg(e,t)}function oH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function iH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uH(e){var t=iH();return function(){var n=ma(e),o;if(t){var i=ma(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return rH(this,o)}}var pe=function(e){nH(r,e);var t=uH(r);function r(n){return tH(this,r),t.call(this,n)}return r}(Ee);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 cH(e){if(Array.isArray(e))return Cg(e)}function _o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function NI(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(f){r(f);return}c.done?t(a):Promise.resolve(a).then(n,o)}function lH(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){NI(i,n,o,u,c,"next",a)}function c(a){NI(i,n,o,u,c,"throw",a)}u(void 0)})}}function aH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function II(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fH(e,t,r){return t&&II(e.prototype,t),r&&II(e,r),e}function Mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function li(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?li=Reflect.get:li=function(o,i,u){var c=mH(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},li(e,t,r||e)}function Lr(e){return Lr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lr(e)}function sH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Fg(e,t)}function _H(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function yH(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dH(){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 pH(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){Mr(e,o,r[o])})}return e}function vH(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 hH(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):vH(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function gH(e,t){return t&&(bH(t)==="object"||typeof t=="function")?t:_o(e)}function Fg(e,t){return Fg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fg(e,t)}function mH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Lr(e),e!==null););return e}function MI(e){return cH(e)||yH(e)||OH(e)||dH()}function bH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OH(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 wH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function PH(e){var t=wH();return function(){var n=Lr(e),o;if(t){var i=Lr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gH(this,o)}}function TH(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 a([f,s])}}function a(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 RH=1e4,Oe=function(t){sH(n,t);var r=PH(n);function n(o){aH(this,n);var i;i=r.call(this,o),Mr(_o(i),"controlType","layout"),Mr(_o(i),"children",void 0),Mr(_o(i),"excludes",void 0),Mr(_o(i),"childrenMaxLength",void 0),Mr(_o(i),"props",void 0);var u=_H(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new pe(o==null?void 0:o.props),yn(_o(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Wt(c),i.childrenMaxLength=a,i}return fH(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,a=this,f=function(){return li(Lr(n.prototype),"validate",c)};return lH(function(){return TH(this,function(s){switch(s.label){case 0:return[4,f().call(a,i,u)];case 1:return s.sent(),[4,Promise.all(a.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=li(Lr(n.prototype),"toDataBindModel",this).call(this),c=u?[u]:[];return this.children.reduce(function(a,f){var s=f.toDataBindModel(i);if(Array.isArray(s)){var _=s.filter(function(y){return!!y});return MI(a).concat(MI(_))}return s&&a.push(s),a},c)}},{key:"toSchema",value:function(){var i=li(Lr(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){var a=c.toSchema();return a});return hH(pH({},i),{children:u})}}]),n}(re);Mr(Oe,"excludes",!1),Mr(Oe,"childrenMaxLength",RH);function Xu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function EH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vg(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ba(e){return ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ba(e)}function $H(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xg(e,t)}function SH(e,t){return t&&(NH(t)==="object"||typeof t=="function")?t:Xu(e)}function xg(e,t){return xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xg(e,t)}function NH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function IH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function MH(e){var t=IH();return function(){var n=ba(e),o;if(t){var i=ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SH(this,o)}}var Se=function(e){$H(r,e);var t=MH(r);function r(n){EH(this,r);var o;return o=t.call(this,n),Vg(Xu(o),"controlType","layout"),Vg(Xu(o),"children",void 0),Vg(Xu(o),"props",void 0),o.props=new pe(n==null?void 0:n.props),yn(Xu(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}($e);function Wn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LH(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ai(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oa(e){return Oa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Oa(e)}function kH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 AH(e,t){return t&&(DH(t)==="object"||typeof t=="function")?t:Wn(e)}function Ug(e,t){return Ug=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ug(e,t)}function DH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jH(e){var t=BH();return function(){var n=Oa(e),o;if(t){var i=Oa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AH(this,o)}}var Ju=function(e){kH(r,e);var t=jH(r);function r(n,o,i){LH(this,r);var u;u=t.call(this,o),ai(Wn(u),"headers",void 0),ai(Wn(u),"footers",void 0),ai(Wn(u),"pageIndex",void 0),ai(Wn(u),"pageSize",void 0),ai(Wn(u),"pageSizeOptions",void 0),ai(Wn(u),"totalCount",void 0),yn(Wn(u),"headers",o==null?void 0:o.headers,n,i),yn(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 a;u.pageSize=(a=o==null?void 0:o.pageSize)!==null&&a!==void 0?a: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}(Ee);function Gg(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 CH(e){if(Array.isArray(e))return Gg(e)}function wa(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LI(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(f){r(f);return}c.done?t(a):Promise.resolve(a).then(n,o)}function FH(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){LI(i,n,o,u,c,"next",a)}function c(a){LI(i,n,o,u,c,"throw",a)}u(void 0)})}}function VH(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 xH(e,t,r){return t&&kI(e.prototype,t),r&&kI(e,r),e}function Pa(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=WH(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},fi(e,t,r||e)}function kr(e){return kr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},kr(e)}function UH(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 GH(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function YH(){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 AI(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){Pa(e,o,r[o])})}return e}function HH(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 DI(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):HH(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function zH(e,t){return t&&(qH(t)==="object"||typeof t=="function")?t:wa(e)}function Yg(e,t){return Yg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yg(e,t)}function WH(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=kr(e),e!==null););return e}function BI(e){return CH(e)||GH(e)||KH(e)||YH()}function qH(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function KH(e,t){if(!!e){if(typeof e=="string")return Gg(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 Gg(e,t)}}function XH(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function JH(e){var t=XH();return function(){var n=kr(e),o;if(t){var i=kr(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return zH(this,o)}}function QH(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 a([f,s])}}function a(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 Ta=function(e){UH(r,e);var t=JH(r);function r(n){VH(this,r);var o;return o=t.call(this,n),Pa(wa(o),"controlType","list"),Pa(wa(o),"props",void 0),o.props=new Ju(wa(o),n==null?void 0:n.props,"Designer"),o}return xH(r,[{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return fi(kr(r.prototype),"validate",u)};return FH(function(){return QH(this,function(f){switch(f.label){case 0:return[4,a().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(kr(r.prototype),"toDataBindModel",this).call(this),i=o?[o]:[],u=this.id;return this.props.headers.reduce(function(c,a){var f=a.toDataBindModel(u);if(Array.isArray(f)){var s=f.filter(function(_){return!!_});return BI(c).concat(BI(s))}return f&&c.push(f),c},i)}},{key:"toSchema",value:function(){var o=fi(kr(r.prototype),"toSchema",this).call(this),i=this.props.headers.map(function(u){return u.toSchema()});return DI(AI({},o),{props:DI(AI({},this.props),{headers:i})})}}]),r}(re);Pa(Ta,"controlFieldType",l.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 ZH(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 ez(e,t,r){return t&&jI(e.prototype,t),r&&jI(e,r),e}function Hg(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){return Ra=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ra(e)}function tz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&zg(e,t)}function nz(e,t){return t&&(rz(t)==="object"||typeof t=="function")?t:si(e)}function zg(e,t){return zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zg(e,t)}function rz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iz(e){var t=oz();return function(){var n=Ra(e),o;if(t){var i=Ra(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nz(this,o)}}var Wg=function(e){tz(r,e);var t=iz(r);function r(n){ZH(this,r);var o;return o=t.call(this,n),Hg(si(o),"controlType","list"),Hg(si(o),"children",void 0),Hg(si(o),"props",void 0),o.props=new Ju(si(o),n==null?void 0:n.props,"Runtime"),yn(si(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return ez(r,[{key:"length",get:function(){return this.children.length}}]),r}($e);function ze(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qg(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 Ea(e){return Ea=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ea(e)}function Kg(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Xg(e,t)}function uz(e,t){return t&&(cz(t)==="object"||typeof t=="function")?t:ze(e)}function Xg(e,t){return Xg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xg(e,t)}function cz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jg(e){var t=lz();return function(){var n=Ea(e),o;if(t){var i=Ea(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uz(this,o)}}var dn=function(e){Kg(r,e);var t=Jg(r);function r(n){qg(this,r);var o;return o=t.call(this,n),Je(ze(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Je(ze(o),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),o.width.required=n.widthType==="px",o}return r}(Be),Ne=function(e){Kg(r,e);var t=Jg(r);function r(n){qg(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 Zl(n==null?void 0:n.autoWidth),o.dataBind=new Xt(n==null?void 0:n.dataBind);var a;o.sort=(a=n==null?void 0:n.sort)!==null&&a!==void 0?a:!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}(Ee);Je(Ne,"Rules",dn);var Qg=function(e){Kg(r,e);var t=Jg(r);function r(n){qg(this,r);var o;return o=t.call(this,n),Je(ze(o),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")}),Je(ze(o),"options",[{type:"array",message:d.getMessage("isNotArray")}]),Je(ze(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),fa.call(ze(o),n),o}return r}(dn);function Qu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function az(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fz(e,t,r){return t&&CI(e.prototype,t),r&&CI(e,r),e}function $a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sa(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Sa=Reflect.get:Sa=function(o,i,u){var c=vz(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Sa(e,t,r||e)}function _i(e){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_i(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&&Zg(e,t)}function _z(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){$a(e,o,r[o])})}return e}function yz(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 dz(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):yz(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function pz(e,t){return t&&(hz(t)==="object"||typeof t=="function")?t:Qu(e)}function Zg(e,t){return Zg=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zg(e,t)}function vz(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_i(e),e!==null););return e}function hz(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 mz(e){var t=gz();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 pz(this,o)}}var We=function(e){sz(r,e);var t=mz(r);function r(n){az(this,r);var o;return o=t.call(this,n),$a(Qu(o),"controlType","column"),$a(Qu(o),"props",void 0),$a(Qu(o),"children",void 0),o.props=new Ne(n==null?void 0:n.props),yn(Qu(o),"children",n==null?void 0:n.children,void 0,"Designer"),o}return fz(r,[{key:"toSchema",value:function(){var o=Sa(_i(r.prototype),"toSchema",this).call(this);return dz(_z({},o),{children:this.children?this.children.map(function(i){return i.toSchema()}):[]})}}]),r}(re);function Zu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function em(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){return Na=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Na(e)}function Oz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 wz(e,t){return t&&(Pz(t)==="object"||typeof t=="function")?t:Zu(e)}function tm(e,t){return tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tm(e,t)}function Pz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Tz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Tz();return function(){var n=Na(e),o;if(t){var i=Na(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return wz(this,o)}}var qe=function(e){Oz(r,e);var t=Rz(r);function r(n){bz(this,r);var o;return o=t.call(this,n),em(Zu(o),"controlType","column"),em(Zu(o),"props",void 0),em(Zu(o),"children",void 0),o.props=new Ne(n==null?void 0:n.props),yn(Zu(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}($e);function FI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ez(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Ia(e){return Ia=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ia(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&&nm(e,t)}function Nz(e,t){return t&&(Iz(t)==="object"||typeof t=="function")?t:FI(e)}function nm(e,t){return nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nm(e,t)}function Iz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lz(e){var t=Mz();return function(){var n=Ia(e),o;if(t){var i=Ia(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Nz(this,o)}}var Ma=function(e){Sz(r,e);var t=Lz(r);function r(n){Ez(this,r);var o;return o=t.call(this,n),$z(FI(o),"dataBind",void 0),o.dataBind=new Xt(n==null?void 0:n.dataBind),o}return r}(pe);function rm(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 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 La(e){return La=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},La(e)}function Az(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dz(e,t){return t&&(Bz(t)==="object"||typeof t=="function")?t:rm(e)}function om(e,t){return om=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},om(e,t)}function Bz(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 Cz(e){var t=jz();return function(){var n=La(e),o;if(t){var i=La(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dz(this,o)}}var xI=function(e){Az(r,e);var t=Cz(r);function r(n){kz(this,r);var o;return o=t.call(this,n),VI(rm(o),"controlType","search"),VI(rm(o),"props",void 0),o.props=new Ma(n==null?void 0:n.props),o}return r}(Oe);function im(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function UI(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ka(e){return ka=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ka(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&&um(e,t)}function xz(e,t){return t&&(Uz(t)==="object"||typeof t=="function")?t:im(e)}function um(e,t){return um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},um(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 Yz(e){var t=Gz();return function(){var n=ka(e),o;if(t){var i=ka(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xz(this,o)}}var GI=function(e){Vz(r,e);var t=Yz(r);function r(n){Fz(this,r);var o;return o=t.call(this,n),UI(im(o),"controlType","search"),UI(im(o),"props",void 0),o.props=new Ma(n==null?void 0:n.props),o}return r}(Se);function Hz(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zz(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aa(e){return Aa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Aa(e)}function Wz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qz(e,t){return t&&(Kz(t)==="object"||typeof t=="function")?t:Hz(e)}function cm(e,t){return cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cm(e,t)}function Kz(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xz(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jz(e){var t=Xz();return function(){var n=Aa(e),o;if(t){var i=Aa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qz(this,o)}}var Da=function(e){Wz(r,e);var t=Jz(r);function r(n){return zz(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 Qz(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 Ba(e){return Ba=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ba(e)}function Zz(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eW(e,t){return t&&(tW(t)==="object"||typeof t=="function")?t:lm(e)}function am(e,t){return am=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},am(e,t)}function tW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rW(e){var t=nW();return function(){var n=Ba(e),o;if(t){var i=Ba(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return eW(this,o)}}var HI=function(e){Zz(r,e);var t=rW(r);function r(n){Qz(this,r);var o;return o=t.call(this,n),YI(lm(o),"controlType","wrap"),YI(lm(o),"props",void 0),o.props=new Da(n==null?void 0:n.props),o}return r}(Oe);function fm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oW(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 ja(e){return ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ja(e)}function iW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sm(e,t)}function uW(e,t){return t&&(cW(t)==="object"||typeof t=="function")?t:fm(e)}function sm(e,t){return sm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sm(e,t)}function cW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function aW(e){var t=lW();return function(){var n=ja(e),o;if(t){var i=ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return uW(this,o)}}var WI=function(e){iW(r,e);var t=aW(r);function r(n){oW(this,r);var o;return o=t.call(this,n),zI(fm(o),"controlType","wrap"),zI(fm(o),"props",void 0),o.props=new Da(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:d.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 fW(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 Ca(e){return Ca=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ca(e)}function sW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _W(e,t){return t&&(yW(t)==="object"||typeof t=="function")?t:yo(e)}function _m(e,t){return _m=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_m(e,t)}function yW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pW(e){var t=dW();return function(){var n=Ca(e),o;if(t){var i=Ca(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _W(this,o)}}var ym=function(e){sW(r,e);var t=pW(r);function r(n){fW(this,r);var o;o=t.call(this,n),yi(yo(o),"content",void 0),yi(yo(o),"fontSize",void 0),yi(yo(o),"color",void 0),yi(yo(o),"icon",void 0),yi(yo(o),"align",void 0),yi(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 a;o.showState=(a=n==null?void 0:n.showState)!==null&&a!==void 0?a:"text";var f;o.content=(f=n==null?void 0:n.content)!==null&&f!==void 0?f:"\u8BF4\u660E\u6587\u5B57";var s;return o.align=(s=n==null?void 0:n.align)!==null&&s!==void 0?s:"",o}return r}(Ee);function qI(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vW(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 hW(e,t,r){return t&&KI(e.prototype,t),r&&KI(e,r),e}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 Fa(e){return Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fa(e)}function gW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mW(e,t){return t&&(bW(t)==="object"||typeof t=="function")?t:qI(e)}function dm(e,t){return dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dm(e,t)}function bW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function OW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=OW();return function(){var n=Fa(e),o;if(t){var i=Fa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return mW(this,o)}}var JI=function(e){gW(r,e);var t=wW(r);function r(n){vW(this,r);var o;return o=t.call(this,n),XI(qI(o),"props",void 0),o.props=new ym(n==null?void 0:n.props),o}return hW(r,null,[{key:"controlName",get:function(){return d.getMessage("text")}},{key:"controlIcon",get:function(){return"iconwenben"}},{key:"controlType",get:function(){return"text"}}]),r}(re);XI(JI,"setting",[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[l.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 QI(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 ZI(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function TW(e,t,r){return t&&ZI(e.prototype,t),r&&ZI(e,r),e}function RW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Va(e){return Va=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Va(e)}function EW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $W(e,t){return t&&(SW(t)==="object"||typeof t=="function")?t:QI(e)}function pm(e,t){return pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pm(e,t)}function SW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IW(e){var t=NW();return function(){var n=Va(e),o;if(t){var i=Va(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $W(this,o)}}var MW=function(e){EW(r,e);var t=IW(r);function r(n){PW(this,r);var o;return o=t.call(this,n),RW(QI(o),"props",void 0),o.props=new ym(n==null?void 0:n.props),o}return TW(r,null,[{key:"controlType",get:function(){return"text"}}]),r}($e),eM={Designer:JI,Runtime:MW,Property:ym};function xa(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 vm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ua(e){return Ua=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ua(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&&hm(e,t)}function AW(e,t){return t&&(DW(t)==="object"||typeof t=="function")?t:xa(e)}function hm(e,t){return hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hm(e,t)}function DW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jW(e){var t=BW();return function(){var n=Ua(e),o;if(t){var i=Ua(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return AW(this,o)}}var gm=function(e){kW(r,e);var t=jW(r);function r(n){LW(this,r);var o;o=t.call(this,n),vm(xa(o),"content",void 0),vm(xa(o),"url",void 0),vm(xa(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}(Ee);function tM(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 nM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function FW(e,t,r){return t&&nM(e.prototype,t),r&&nM(e,r),e}function mm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ga(e){return Ga=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ga(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&&bm(e,t)}function xW(e,t){return t&&(UW(t)==="object"||typeof t=="function")?t:tM(e)}function bm(e,t){return bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bm(e,t)}function UW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YW(e){var t=GW();return function(){var n=Ga(e),o;if(t){var i=Ga(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return xW(this,o)}}var Om=function(e){VW(r,e);var t=YW(r);function r(n){CW(this,r);var o;return o=t.call(this,n),mm(tM(o),"props",void 0),o.props=new gm(n==null?void 0:n.props),o}return FW(r,null,[{key:"controlName",get:function(){return d.getMessage("link")}},{key:"controlIcon",get:function(){return"iconlink_new"}},{key:"controlType",get:function(){return"link"}}]),r}(re);mm(Om,"controlEventKeys",["on_click"]),mm(Om,"setting",[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}]);function rM(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 oM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zW(e,t,r){return t&&oM(e.prototype,t),r&&oM(e,r),e}function WW(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ya(e){return Ya=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ya(e)}function qW(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 KW(e,t){return t&&(XW(t)==="object"||typeof t=="function")?t:rM(e)}function wm(e,t){return wm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wm(e,t)}function XW(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function JW(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function QW(e){var t=JW();return function(){var n=Ya(e),o;if(t){var i=Ya(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KW(this,o)}}var ZW=function(e){qW(r,e);var t=QW(r);function r(n){HW(this,r);var o;return o=t.call(this,n),WW(rM(o),"props",void 0),o.props=new gm(n==null?void 0:n.props),o}return zW(r,null,[{key:"controlType",get:function(){return"link"}}]),r}($e),iM={Designer:Om,Runtime:ZW,Property:gm};function Ln(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 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 Ha(e){return Ha=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ha(e)}function tq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nq(e,t){return t&&(rq(t)==="object"||typeof t=="function")?t:Ln(e)}function Pm(e,t){return Pm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pm(e,t)}function rq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function oq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function iq(e){var t=oq();return function(){var n=Ha(e),o;if(t){var i=Ha(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return nq(this,o)}}var gt=function(e){tq(r,e);var t=iq(r);function r(n){eq(this,r);var o;o=t.call(this,n),Kn(Ln(o),"content",void 0),Kn(Ln(o),"buttonType",void 0),Kn(Ln(o),"showType",void 0),Kn(Ln(o),"color",void 0),Kn(Ln(o),"icon",void 0),Kn(Ln(o),"defaultState",void 0),Kn(Ln(o),"command",void 0),Kn(Ln(o),"isLoading",void 0),Kn(Ln(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 a;o.color=(a=n==null?void 0:n.color)!==null&&a!==void 0?a:"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 y;o.isLoading=(y=n==null?void 0:n.isLoading)!==null&&y!==void 0?y:!1;var p;return o.optObj=new oI((p=n==null?void 0:n.optObj)!==null&&p!==void 0?p:{}),o}return r}(Ee);function uM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uq(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 cq(e,t,r){return t&&cM(e.prototype,t),r&&cM(e,r),e}function za(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wa(e){return Wa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wa(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&&Tm(e,t)}function aq(e,t){return t&&(fq(t)==="object"||typeof t=="function")?t:uM(e)}function Tm(e,t){return Tm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tm(e,t)}function fq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _q(e){var t=sq();return function(){var n=Wa(e),o;if(t){var i=Wa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aq(this,o)}}var ct=function(e){lq(r,e);var t=_q(r);function r(n){uq(this,r);var o;return o=t.call(this,n),za(uM(o),"props",void 0),o.props=new gt(n==null?void 0:n.props),o}return cq(r,null,[{key:"controlName",get:function(){return d.getMessage("button")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"button"}}]),r}(re);za(ct,"slots",["grid-table-toolbar-slot","action-bar-slot",Xv.DEFAULT]),za(ct,"controlEventKeys",["on_click"]),za(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:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function lM(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 aM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dq(e,t,r){return t&&aM(e.prototype,t),r&&aM(e,r),e}function pq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qa(e){return qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qa(e)}function vq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hq(e,t){return t&&(gq(t)==="object"||typeof t=="function")?t:lM(e)}function Rm(e,t){return Rm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rm(e,t)}function gq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bq(e){var t=mq();return function(){var n=qa(e),o;if(t){var i=qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return hq(this,o)}}var Dt=function(e){vq(r,e);var t=bq(r);function r(n){yq(this,r);var o;return o=t.call(this,n),pq(lM(o),"props",void 0),o.props=new gt(n==null?void 0:n.props),o}return dq(r,null,[{key:"controlType",get:function(){return"button"}}]),r}($e),fM={Designer:ct,Runtime:Dt,Property:gt};function Jt(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}l.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"}(l.TitleConfigEnum||(l.TitleConfigEnum={})),l.DATE_CONFIG_TYPE=void 0,function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"}(l.DATE_CONFIG_TYPE||(l.DATE_CONFIG_TYPE={})),l.DATE_LIMIT_TYPE=void 0,function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"}(l.DATE_LIMIT_TYPE||(l.DATE_LIMIT_TYPE={}));var Ka=function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:Yt(8),value:["",""]};Jt(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};l.SCORE_TYPE=void 0,function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"}(l.SCORE_TYPE||(l.SCORE_TYPE={}));var Xa=function e(t){Jt(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:Yt();var n;this.text=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:""};l.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"}(l.LINE_STYLE||(l.LINE_STYLE={}));var Em=function e(t){Jt(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,a;this.company=(a=t==null?void 0:t.company)!==null&&a!==void 0?a: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:""},sM=function e(t){Jt(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(a){return new Em(a)}))!==null&&o!==void 0?o:[new Em];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:""},ec=function e(t){Jt(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:Yt(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 a;this.active=(a=t==null?void 0:t.active)!==null&&a!==void 0?a:!1},$m=function e(t){Jt(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:""},_M=function e(t){Jt(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 $m(t==null?void 0:t.watermark),this.autoRename=new $m(t==null?void 0:t.autoRename)},yM=function e(t){Jt(this,e),V(this,"dataCode",void 0),this.dataCode=t.dataCode},dM=function e(t){Jt(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 yM(i)}))!==null&&o!==void 0?o:[]},pM=function e(t){Jt(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 ec(i)}))!==null&&o!==void 0?o:[new ec({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]},vM=480;function tc(e){return new RegExp(e.replace(/^\/|\/$/g,""))}var hM=function e(t){Jt(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:[]},gM=function e(t){Jt(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"};l.EncryptTypeEnum=void 0,function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"}(l.EncryptTypeEnum||(l.EncryptTypeEnum={})),l.OrganizeType=void 0,function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"}(l.OrganizeType||(l.OrganizeType={})),l.DepartmentType=void 0,function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"}(l.DepartmentType||(l.DepartmentType={})),l.AssignType=void 0,function(e){e.ALL="all",e.ASSIGN="assign"}(l.AssignType||(l.AssignType={})),l.InternalType=void 0,function(e){e.ALL="all",e.ADMIN="admin"}(l.InternalType||(l.InternalType={}));function Sm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ja(e)}function wq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Pq(e,t){return t&&(Tq(t)==="object"||typeof t=="function")?t:Sm(e)}function Nm(e,t){return Nm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nm(e,t)}function Tq(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 Eq(e){var t=Rq();return function(){var n=Ja(e),o;if(t){var i=Ja(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Pq(this,o)}}var Im=function(e){wq(r,e);var t=Eq(r);function r(n){Oq(this,r);var o;o=t.call(this,n),mM(Sm(o),"color",void 0),mM(Sm(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:l.LINE_STYLE.SOLID,o}return r}(Ee);function bM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $q(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function OM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sq(e,t,r){return t&&OM(e.prototype,t),r&&OM(e,r),e}function wM(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qa(e){return Qa=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qa(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&&Mm(e,t)}function Iq(e,t){return t&&(Mq(t)==="object"||typeof t=="function")?t:bM(e)}function Mm(e,t){return Mm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mm(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 kq(e){var t=Lq();return function(){var n=Qa(e),o;if(t){var i=Qa(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Iq(this,o)}}var PM=function(e){Nq(r,e);var t=kq(r);function r(n){$q(this,r);var o;return o=t.call(this,n),wM(bM(o),"props",void 0),o.props=new Im(n==null?void 0:n.props),o}return Sq(r,null,[{key:"controlName",get:function(){return d.getMessage("divider")}},{key:"controlIcon",get:function(){return"iconfengexian"}},{key:"controlType",get:function(){return"divider"}}]),r}(re);wM(PM,"setting",[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE]}]);function TM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aq(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 Dq(e,t,r){return t&&RM(e.prototype,t),r&&RM(e,r),e}function Bq(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 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&&Lm(e,t)}function Cq(e,t){return t&&(Fq(t)==="object"||typeof t=="function")?t:TM(e)}function Lm(e,t){return Lm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lm(e,t)}function Fq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Vq();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 Cq(this,o)}}var Uq=function(e){jq(r,e);var t=xq(r);function r(n){Aq(this,r);var o;return o=t.call(this,n),Bq(TM(o),"props",void 0),o.props=new Im(n==null?void 0:n.props),o}return Dq(r,null,[{key:"controlType",get:function(){return"divider"}}]),r}($e),EM={Designer:PM,Runtime:Uq,Property:Im};function Ar(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $M(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 ef(e){return ef=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ef(e)}function SM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Gq(e,t){return t&&(Yq(t)==="object"||typeof t=="function")?t:Ar(e)}function km(e,t){return km=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},km(e,t)}function Yq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NM(e){var t=Hq();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 Gq(this,o)}}var zq=function(e){SM(r,e);var t=NM(r);function r(n){$M(this,r);var o;return o=t.call(this,n),Dr(Ar(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Dr(Ar(o),"dataBind",{type:"any"}),Dr(Ar(o),"config",{type:"array"}),n.config.includes(l.TitleConfigEnum.ShowBizKey)&&(o.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")}),!n.isHide&&n.config.length===0&&(o.config={type:"array",min:1,required:!0,message:d.getMessage("pleaseSelectOneField")}),o}return r}(Be),tf=function(e){SM(r,e);var t=NM(r);function r(n){$M(this,r);var o;o=t.call(this,n),Dr(Ar(o),"dataBind",void 0),Dr(Ar(o),"caption",void 0),Dr(Ar(o),"config",void 0),Dr(Ar(o),"position",void 0),o.dataBind=new Xt(n==null?void 0:n.dataBind);var i;o.config=(i=n==null?void 0:n.config)!==null&&i!==void 0?i:[l.TitleConfigEnum.ShowSubmitUser,l.TitleConfigEnum.ShowSubmitDept,l.TitleConfigEnum.ShowSubmitTime,l.TitleConfigEnum.ShowCurrentApprovar,l.TitleConfigEnum.ShowTitle];var u,c;o.caption=(c=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:di==null?void 0:di.controlName)!==null&&c!==void 0?c:"";var a;return o.position=(a=n==null?void 0:n.position)!==null&&a!==void 0?a:"top",o}return r}(Ee);Dr(tf,"Rules",zq);function IM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wq(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MM(e,t){for(var r=0;r<t.length;r++){var 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&&MM(e.prototype,t),r&&MM(e,r),e}function Am(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 Kq(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Xq(e,t){return t&&(Jq(t)==="object"||typeof t=="function")?t:IM(e)}function Dm(e,t){return Dm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dm(e,t)}function Jq(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Qq(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Zq(e){var t=Qq();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 Xq(this,o)}}var di=function(e){Kq(r,e);var t=Zq(r);function r(n){Wq(this,r);var o;return o=t.call(this,n),Am(IM(o),"props",void 0),o.props=new tf(n==null?void 0:n.props),o}return qq(r,null,[{key:"controlName",get:function(){return d.getMessage("title")}},{key:"controlIcon",get:function(){return"title"}},{key:"controlType",get:function(){return"title"}}]),r}(re);Am(di,"controlFieldType",l.FieldTypes.AUTO_NUMBER),Am(di,"setting",[{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}]);function LM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tK(e,t,r){return t&&kM(e.prototype,t),r&&kM(e,r),e}function nK(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 rK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bm(e,t)}function oK(e,t){return t&&(iK(t)==="object"||typeof t=="function")?t:LM(e)}function Bm(e,t){return Bm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bm(e,t)}function iK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cK(e){var t=uK();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 oK(this,o)}}var lK=function(e){rK(r,e);var t=cK(r);function r(n){eK(this,r);var o;return o=t.call(this,n),nK(LM(o),"props",void 0),o.props=new tf(n==null?void 0:n.props),o}return tK(r,null,[{key:"controlType",get:function(){return"title"}}]),r}($e),AM={Designer:di,Runtime:lK,Property:tf};function of(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DM(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uf(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 BM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aK(e,t){return t&&(fK(t)==="object"||typeof t=="function")?t:of(e)}function jm(e,t){return jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jm(e,t)}function fK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function sK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jM(e){var t=sK();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 aK(this,o)}}var _K=function(e){BM(r,e);var t=jM(r);function r(n){DM(this,r);var o;return o=t.call(this,n),uf(of(o),"formKey",{type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}),o}return r}(Be),lf=function(e){BM(r,e);var t=jM(r);function r(n){DM(this,r);var o;o=t.call(this,n),uf(of(o),"formKey",void 0),uf(of(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 a;return o.openType=(a=n==null?void 0:n.openType)!==null&&a!==void 0?a:"modal",o}return r}(gt);uf(lf,"Rules",_K);function CM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function FM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dK(e,t,r){return t&&FM(e.prototype,t),r&&FM(e,r),e}function af(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ff(e){return ff=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ff(e)}function pK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vK(e,t){return t&&(hK(t)==="object"||typeof t=="function")?t:CM(e)}function Cm(e,t){return Cm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cm(e,t)}function hK(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 mK(e){var t=gK();return function(){var n=ff(e),o;if(t){var i=ff(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vK(this,o)}}var pi=function(e){pK(r,e);var t=mK(r);function r(n){yK(this,r);var o;return o=t.call(this,n),af(CM(o),"props",void 0),o.props=new lf(n==null?void 0:n.props),o}return dK(r,null,[{key:"controlName",get:function(){return d.getMessage("createFormListButton")}},{key:"controlIcon",get:function(){return"iconchuangjiandanju"}},{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(ct);af(pi,"slots",["grid-table-toolbar-slot"]),af(pi,"controlEventKeys",["on_click","on_click_finish"]),af(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 VM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function OK(e,t,r){return t&&xM(e.prototype,t),r&&xM(e,r),e}function wK(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 PK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 TK(e,t){return t&&(RK(t)==="object"||typeof t=="function")?t:VM(e)}function Fm(e,t){return Fm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fm(e,t)}function RK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function EK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $K(e){var t=EK();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 TK(this,o)}}var SK=function(e){PK(r,e);var t=$K(r);function r(n){bK(this,r);var o;return o=t.call(this,n),wK(VM(o),"props",void 0),o.props=new lf(n==null?void 0:n.props),o}return OK(r,null,[{key:"controlType",get:function(){return"list-page-btn-create-form"}}]),r}(Dt),UM={Designer:pi,Runtime:SK,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 GM(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 _f(e){return _f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_f(e)}function YM(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 NK(e,t){return t&&(IK(t)==="object"||typeof t=="function")?t:vi(e)}function Vm(e,t){return Vm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vm(e,t)}function IK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function MK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function HM(e){var t=MK();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 NK(this,o)}}var LK=function(e){YM(r,e);var t=HM(r);function r(n){GM(this,r);var o;return o=t.call(this,n),hi(vi(o),"processKey",[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]),o}return r}(Be),yf=function(e){YM(r,e);var t=HM(r);function r(n){GM(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 a;o.processKey=(a=n==null?void 0:n.processKey)!==null&&a!==void 0?a:"";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",LK);function zM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kK(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 AK(e,t,r){return t&&WM(e.prototype,t),r&&WM(e,r),e}function df(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 DK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 BK(e,t){return t&&(jK(t)==="object"||typeof t=="function")?t:zM(e)}function xm(e,t){return xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xm(e,t)}function jK(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 FK(e){var t=CK();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 BK(this,o)}}var gi=function(e){DK(r,e);var t=FK(r);function r(n){kK(this,r);var o;return o=t.call(this,n),df(zM(o),"props",void 0),o.props=new yf(n==null?void 0:n.props),o}return AK(r,null,[{key:"controlName",get:function(){return d.getMessage("batchSubmissionListButton")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(ct);df(gi,"slots",["grid-table-toolbar-slot"]),df(gi,"controlEventKeys",["on_click","on_click_finish"]),df(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 qM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KM(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function xK(e,t,r){return t&&KM(e.prototype,t),r&&KM(e,r),e}function UK(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 GK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 YK(e,t){return t&&(HK(t)==="object"||typeof t=="function")?t:qM(e)}function Um(e,t){return Um=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Um(e,t)}function HK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WK(e){var t=zK();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 YK(this,o)}}var qK=function(e){GK(r,e);var t=WK(r);function r(n){VK(this,r);var o;return o=t.call(this,n),UK(qM(o),"props",void 0),o.props=new yf(n==null?void 0:n.props),o}return xK(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-submission"}}]),r}(Dt),XM={Designer:gi,Runtime:qK,Property:yf};function KK(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 hf(e){return hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},hf(e)}function JK(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 QK(e,t){return t&&(ZK(t)==="object"||typeof t=="function")?t:KK(e)}function Gm(e,t){return Gm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gm(e,t)}function ZK(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t8(e){var t=e8();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 QK(this,o)}}var Ym=function(e){JK(r,e);var t=t8(r);function r(n){XK(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 JM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n8(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 r8(e,t,r){return t&&QM(e.prototype,t),r&&QM(e,r),e}function gf(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 o8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i8(e,t){return t&&(u8(t)==="object"||typeof t=="function")?t:JM(e)}function Hm(e,t){return Hm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hm(e,t)}function u8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function l8(e){var t=c8();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 i8(this,o)}}var mi=function(e){o8(r,e);var t=l8(r);function r(n){n8(this,r);var o;return o=t.call(this,n),gf(JM(o),"props",void 0),o.props=new Ym(n==null?void 0:n.props),o}return r8(r,null,[{key:"controlName",get:function(){return d.getMessage("submissionRecordListButton")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(ct);gf(mi,"slots",["grid-table-toolbar-slot"]),gf(mi,"controlEventKeys",["on_click"]),gf(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 ZM(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a8(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 f8(e,t,r){return t&&eL(e.prototype,t),r&&eL(e,r),e}function s8(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 _8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 y8(e,t){return t&&(d8(t)==="object"||typeof t=="function")?t:ZM(e)}function zm(e,t){return zm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zm(e,t)}function d8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function p8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function v8(e){var t=p8();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 y8(this,o)}}var h8=function(e){_8(r,e);var t=v8(r);function r(n){a8(this,r);var o;return o=t.call(this,n),s8(ZM(o),"props",void 0),o.props=new Ym(n==null?void 0:n.props),o}return f8(r,null,[{key:"controlType",get:function(){return"list-page-btn-submission-record"}}]),r}(Dt),tL={Designer:mi,Runtime:h8,Property:Ym};function Wm(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Of(e){return Of=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Of(e)}function m8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 b8(e,t){return t&&(O8(t)==="object"||typeof t=="function")?t:Wm(e)}function qm(e,t){return qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qm(e,t)}function O8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P8(e){var t=w8();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 b8(this,o)}}var Km=function(e){m8(r,e);var t=P8(r);function r(n){g8(this,r);var o,i;o=t.call(this,n),nL(Wm(o),"templateList",void 0),nL(Wm(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 a;o.templateType=(a=n==null?void 0:n.templateType)!==null&&a!==void 0?a:"system";var f;return o.templateList=(f=n==null||(i=n.templateList)===null||i===void 0?void 0:i.map(function(s){return new ec(s)}))!==null&&f!==void 0?f:[new ec({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})],o}return r}(gt);function rL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function T8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function R8(e,t,r){return t&&oL(e.prototype,t),r&&oL(e,r),e}function wf(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 E8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $8(e,t){return t&&(S8(t)==="object"||typeof t=="function")?t:rL(e)}function Xm(e,t){return Xm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xm(e,t)}function S8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I8(e){var t=N8();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 $8(this,o)}}var bi=function(e){E8(r,e);var t=I8(r);function r(n){T8(this,r);var o;return o=t.call(this,n),wf(rL(o),"props",void 0),o.props=new Km(n==null?void 0:n.props),o}return R8(r,null,[{key:"controlName",get:function(){return d.getMessage("exportListButton")}},{key:"controlIcon",get:function(){return"iconxiazai1"}},{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(ct);wf(bi,"slots",["grid-table-toolbar-slot"]),wf(bi,"controlEventKeys",["on_click","on_click_finish"]),wf(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 iL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L8(e,t,r){return t&&uL(e.prototype,t),r&&uL(e,r),e}function k8(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 A8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 D8(e,t){return t&&(B8(t)==="object"||typeof t=="function")?t:iL(e)}function Jm(e,t){return Jm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jm(e,t)}function B8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function j8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function C8(e){var t=j8();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 D8(this,o)}}var F8=function(e){A8(r,e);var t=C8(r);function r(n){M8(this,r);var o;return o=t.call(this,n),k8(iL(o),"props",void 0),o.props=new Km(n==null?void 0:n.props),o}return L8(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-list"}}]),r}(Dt),cL={Designer:bi,Runtime:F8,Property:Km};function V8(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function x8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rf(e){return Rf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rf(e)}function U8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G8(e,t){return t&&(Y8(t)==="object"||typeof t=="function")?t:V8(e)}function Qm(e,t){return Qm=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Qm(e,t)}function Y8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function z8(e){var t=H8();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 G8(this,o)}}var Zm=function(e){U8(r,e);var t=z8(r);function r(n){x8(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 lL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W8(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 q8(e,t,r){return t&&aL(e.prototype,t),r&&aL(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 $f(e){return $f=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$f(e)}function K8(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 X8(e,t){return t&&(J8(t)==="object"||typeof t=="function")?t:lL(e)}function eb(e,t){return eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eb(e,t)}function J8(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Q8(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Z8(e){var t=Q8();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 X8(this,o)}}var Oi=function(e){K8(r,e);var t=Z8(r);function r(n){W8(this,r);var o;return o=t.call(this,n),Ef(lL(o),"props",void 0),o.props=new Zm(n==null?void 0:n.props),o}return q8(r,null,[{key:"controlName",get:function(){return d.getMessage("exportRecordListButton")}},{key:"controlIcon",get:function(){return"icondaochujilu"}},{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(ct);Ef(Oi,"slots",["grid-table-toolbar-slot"]),Ef(Oi,"controlEventKeys",["on_click"]),Ef(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 fL(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 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 tX(e,t,r){return t&&sL(e.prototype,t),r&&sL(e,r),e}function nX(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 rX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oX(e,t){return t&&(iX(t)==="object"||typeof t=="function")?t:fL(e)}function tb(e,t){return tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tb(e,t)}function iX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cX(e){var t=uX();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 oX(this,o)}}var lX=function(e){rX(r,e);var t=cX(r);function r(n){eX(this,r);var o;return o=t.call(this,n),nX(fL(o),"props",void 0),o.props=new Zm(n==null?void 0:n.props),o}return tX(r,null,[{key:"controlType",get:function(){return"list-page-btn-export-record"}}]),r}(Dt),_L={Designer:Oi,Runtime:lX,Property:Zm};function nb(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 rb(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 aX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fX(e,t){return t&&(sX(t)==="object"||typeof t=="function")?t:nb(e)}function ob(e,t){return ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ob(e,t)}function sX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _X(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=_X();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 fX(this,o)}}var dX=function e(t){yL(this,e),rb(this,"dataCode",void 0),this.dataCode=t.dataCode},ib=function(e){aX(r,e);var t=yX(r);function r(n){yL(this,r);var o,i;o=t.call(this,n),rb(nb(o),"canImportList",void 0),rb(nb(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 a;o.canImportList=(a=n==null||(i=n.canImportList)===null||i===void 0?void 0:i.map(function(s){return new dX(s)}))!==null&&a!==void 0?a:[];var f;return o.templateType=(f=n==null?void 0:n.templateType)!==null&&f!==void 0?f:"system",o}return r}(gt);function dL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vX(e,t,r){return t&&pL(e.prototype,t),r&&pL(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 Mf(e){return Mf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mf(e)}function hX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gX(e,t){return t&&(mX(t)==="object"||typeof t=="function")?t:dL(e)}function ub(e,t){return ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ub(e,t)}function mX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function OX(e){var t=bX();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 gX(this,o)}}var wi=function(e){hX(r,e);var t=OX(r);function r(n){pX(this,r);var o;return o=t.call(this,n),If(dL(o),"props",void 0),o.props=new ib(n==null?void 0:n.props),o}return vX(r,null,[{key:"controlName",get:function(){return d.getMessage("importRecordListButton")}},{key:"controlIcon",get:function(){return"iconshangchuan3"}},{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(ct);If(wi,"slots",["grid-table-toolbar-slot"]),If(wi,"controlEventKeys",["on_click","on_click_finish"]),If(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 vL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function PX(e,t,r){return t&&hL(e.prototype,t),r&&hL(e,r),e}function TX(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Lf(e){return Lf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lf(e)}function RX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 EX(e,t){return t&&($X(t)==="object"||typeof t=="function")?t:vL(e)}function cb(e,t){return cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cb(e,t)}function $X(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function SX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function NX(e){var t=SX();return function(){var n=Lf(e),o;if(t){var i=Lf(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return EX(this,o)}}var IX=function(e){RX(r,e);var t=NX(r);function r(n){wX(this,r);var o;return o=t.call(this,n),TX(vL(o),"props",void 0),o.props=new ib(n==null?void 0:n.props),o}return PX(r,null,[{key:"controlType",get:function(){return"list-page-btn-import-record"}}]),r}(Dt),gL={Designer:wi,Runtime:IX,Property:ib};function kf(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}function Br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mL(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 Af(e){return Af=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Af(e)}function bL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 OL(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 MX(e,t){return t&&(LX(t)==="object"||typeof t=="function")?t:Br(e)}function lb(e,t){return lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lb(e,t)}function LX(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 wL(e){var t=kX();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 MX(this,o)}}var AX=function(e){bL(r,e);var t=wL(r);function r(n){mL(this,r);var o;return o=t.call(this,n),Xn(Br(o),"fillPayload",{type:"object",fields:OL({},kf())}),Xn(Br(o),"formBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}}),Xn(Br(o),"fillBack",{type:"object",fields:OL({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},kf())}),(n.command==="edit"||n.command==="view")&&(o.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}),o}return r}(Be),Df=function(e){bL(r,e);var t=wL(r);function r(n){mL(this,r);var o;o=t.call(this,n),Xn(Br(o),"fillPayload",void 0),Xn(Br(o),"formBind",void 0),Xn(Br(o),"fillBack",void 0),Xn(Br(o),"command",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:nc.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:nc.controlIcon;var c;return o.command=(c=n==null?void 0:n.command)!==null&&c!==void 0?c:"create",o.fillPayload=new gg(n==null?void 0:n.fillPayload),o.formBind=new CN(n==null?void 0:n.formBind),o.fillBack=new mg(n==null?void 0:n.fillBack),o}return r}(gt);Xn(Df,"Rules",AX);function PL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function DX(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function TL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function BX(e,t,r){return t&&TL(e.prototype,t),r&&TL(e,r),e}function ab(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 jX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 CX(e,t){return t&&(FX(t)==="object"||typeof t=="function")?t:PL(e)}function fb(e,t){return fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fb(e,t)}function FX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function VX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=VX();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 CX(this,o)}}var nc=function(e){jX(r,e);var t=xX(r);function r(n){DX(this,r);var o;return o=t.call(this,n),ab(PL(o),"props",void 0),o.props=new Df(n==null?void 0:n.props),o}return BX(r,null,[{key:"controlName",get:function(){return d.getMessage("formSelectButton")}},{key:"controlIcon",get:function(){return"iconbiaodancaozuo"}},{key:"controlType",get:function(){return"form-select-button"}}]),r}(ct);ab(nc,"controlEventKeys",["on_click","on_click_finish"]),ab(nc,"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:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{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 UX(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 GX(e,t,r){return t&&EL(e.prototype,t),r&&EL(e,r),e}function YX(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 HX(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 zX(e,t){return t&&(WX(t)==="object"||typeof t=="function")?t:RL(e)}function sb(e,t){return sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sb(e,t)}function WX(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qX(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function KX(e){var t=qX();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 zX(this,o)}}var XX=function(e){HX(r,e);var t=KX(r);function r(n){UX(this,r);var o;return o=t.call(this,n),YX(RL(o),"props",void 0),o.props=new Df(n==null?void 0:n.props),o}return GX(r,null,[{key:"controlType",get:function(){return"form-select-button"}}]),r}(Dt),$L={Designer:nc,Runtime:XX,Property:Df};function pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SL(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 Cf(e){return Cf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cf(e)}function NL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 IL(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){Qt(e,o,r[o])})}return e}function JX(e,t){return t&&(QX(t)==="object"||typeof t=="function")?t:pn(e)}function _b(e,t){return _b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_b(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 ML(e){var t=ZX();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 JX(this,o)}}var e5=function(e){NL(r,e);var t=ML(r);function r(n){SL(this,r);var o;return o=t.call(this,n),Qt(pn(o),"fillPayload",{type:"object",fields:IL({},kf())}),Qt(pn(o),"listPageBind",{type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}),Qt(pn(o),"fillBack",{type:"object",fields:IL({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},kf())}),o}return r}(Be),Ff=function(e){NL(r,e);var t=ML(r);function r(n){SL(this,r);var o;o=t.call(this,n),Qt(pn(o),"fillPayload",void 0),Qt(pn(o),"listPageBind",void 0),Qt(pn(o),"disableFilling",void 0),Qt(pn(o),"fillBack",void 0),Qt(pn(o),"showSelectedDetail",void 0),Qt(pn(o),"isSelectedRowFill",void 0),Qt(pn(o),"selectedContentConfig",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,o.fillPayload=new gg(n==null?void 0:n.fillPayload),o.listPageBind=new ta(n==null?void 0:n.listPageBind),o.fillBack=new mg(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 oa(n==null?void 0:n.selectedContentConfig);var a;o.isSelectedRowFill=(a=n==null?void 0:n.isSelectedRowFill)!==null&&a!==void 0?a:!1;var f;return o.disableFilling=(f=n==null?void 0:n.disableFilling)!==null&&f!==void 0?f:!0,o}return r}(gt);Qt(Ff,"Rules",e5);function LL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function t5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n5(e,t,r){return t&&kL(e.prototype,t),r&&kL(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 Vf(e){return Vf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vf(e)}function r5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 o5(e,t){return t&&(i5(t)==="object"||typeof t=="function")?t:LL(e)}function db(e,t){return db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},db(e,t)}function i5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function u5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function c5(e){var t=u5();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 o5(this,o)}}var rc=function(e){r5(r,e);var t=c5(r);function r(n){t5(this,r);var o;return o=t.call(this,n),yb(LL(o),"props",void 0),o.props=new Ff(n==null?void 0:n.props),o}return n5(r,null,[{key:"controlName",get:function(){return d.getMessage("listSelectButton")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-select-button"}}]),r}(ct);yb(rc,"controlEventKeys",["on_click","on_click_finish","on_modal_ok"]),yb(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:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}]);function AL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function l5(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 a5(e,t,r){return t&&DL(e.prototype,t),r&&DL(e,r),e}function f5(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 s5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _5(e,t){return t&&(y5(t)==="object"||typeof t=="function")?t:AL(e)}function pb(e,t){return pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pb(e,t)}function y5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p5(e){var t=d5();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 _5(this,o)}}var v5=function(e){s5(r,e);var t=p5(r);function r(n){l5(this,r);var o;return o=t.call(this,n),f5(AL(o),"props",void 0),o.props=new Ff(n==null?void 0:n.props),o}return a5(r,null,[{key:"controlType",get:function(){return"list-select-button"}}]),r}(Dt),BL={Designer:rc,Runtime:v5,Property:Ff};function h5(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jL(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 hb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g5(e,t){return t&&(m5(t)==="object"||typeof t=="function")?t:h5(e)}function gb(e,t){return gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gb(e,t)}function m5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mb(e){var t=b5();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 g5(this,o)}}var O5=function(e){hb(r,e);var t=mb(r);function r(n){return vb(this,r),t.call(this,n)}return r}(Be),w5=function(e){hb(r,e);var t=mb(r);function r(n){return vb(this,r),t.call(this,n)}return r}(Nr),oc=function(e){hb(r,e);var t=mb(r);function r(n){return vb(this,r),t.call(this,n)}return r}(Ee);jL(oc,"Rules",O5),jL(oc,"RuntimeRules",w5);function CL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P5(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 T5(e,t,r){return t&&FL(e.prototype,t),r&&FL(e,r),e}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 Gf(e){return Gf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gf(e)}function R5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 E5(e,t){return t&&($5(t)==="object"||typeof t=="function")?t:CL(e)}function bb(e,t){return bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bb(e,t)}function $5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N5(e){var t=S5();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 E5(this,o)}}var xL=function(e){R5(r,e);var t=N5(r);function r(n){P5(this,r);var o;return o=t.call(this,n),VL(CL(o),"props",void 0),o.props=new oc(n==null?void 0:n.props),o}return T5(r,null,[{key:"controlName",get:function(){return d.getMessage("pagination")}},{key:"controlIcon",get:function(){return"pagination"}},{key:"controlType",get:function(){return"pagination"}}]),r}(re);VL(xL,"setting",[]);function UL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I5(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 M5(e,t,r){return t&&GL(e.prototype,t),r&&GL(e,r),e}function L5(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 k5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A5(e,t){return t&&(D5(t)==="object"||typeof t=="function")?t:UL(e)}function Ob(e,t){return Ob=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ob(e,t)}function D5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j5(e){var t=B5();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 A5(this,o)}}var C5=function(e){k5(r,e);var t=j5(r);function r(n){I5(this,r);var o;return o=t.call(this,n),L5(UL(o),"props",void 0),o.props=new oc(n==null?void 0:n.props),o}return M5(r,null,[{key:"controlType",get:function(){return"pagination"}}]),r}($e),YL={Designer:xL,Runtime:C5,Property:oc};function Zt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function HL(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Hf(e){return Hf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hf(e)}function zL(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 F5(e,t){return t&&(V5(t)==="object"||typeof t=="function")?t:Zt(e)}function wb(e,t){return wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wb(e,t)}function V5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function x5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function WL(e){var t=x5();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 F5(this,o)}}var U5=function(e){zL(r,e);var t=WL(r);function r(n){HL(this,r);var o;return o=t.call(this,n),en(Zt(o),"dashboardKey",{type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")}),en(Zt(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),en(Zt(o),"isHideCaption",{type:"boolean"}),en(Zt(o),"labelPosition",{type:"enum",enum:["top","left"]}),en(Zt(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Be),zf=function(e){zL(r,e);var t=WL(r);function r(n){HL(this,r);var o;o=t.call(this,n),en(Zt(o),"dashboardKey",void 0),en(Zt(o),"caption",void 0),en(Zt(o),"isHideCaption",void 0),en(Zt(o),"isShowCaptionTip",void 0),en(Zt(o),"captionTip",void 0),en(Zt(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 a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!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}(Ee);en(zf,"Rules",U5);function qL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function G5(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function KL(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Y5(e,t,r){return t&&KL(e.prototype,t),r&&KL(e,r),e}function XL(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 H5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 z5(e,t){return t&&(W5(t)==="object"||typeof t=="function")?t:qL(e)}function Pb(e,t){return Pb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pb(e,t)}function W5(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function q5(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function K5(e){var t=q5();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 z5(this,o)}}var JL=function(e){H5(r,e);var t=K5(r);function r(n){G5(this,r);var o;return o=t.call(this,n),XL(qL(o),"props",void 0),o.props=new zf(n==null?void 0:n.props),o}return Y5(r,null,[{key:"controlName",get:function(){return d.getMessage("dashboard")}},{key:"controlIcon",get:function(){return"iconbiaodan_yibiaopan"}},{key:"controlType",get:function(){return"dashboard"}}]),r}(re);XL(JL,"setting",[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function QL(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X5(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 J5(e,t,r){return t&&ZL(e.prototype,t),r&&ZL(e,r),e}function Q5(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 Z5(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e6(e,t){return t&&(t6(t)==="object"||typeof t=="function")?t:QL(e)}function Tb(e,t){return Tb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Tb(e,t)}function t6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function r6(e){var t=n6();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 e6(this,o)}}var o6=function(e){Z5(r,e);var t=r6(r);function r(n){X5(this,r);var o;return o=t.call(this,n),Q5(QL(o),"props",void 0),o.props=new zf(n==null?void 0:n.props),o}return J5(r,null,[{key:"controlType",get:function(){return"dashboard"}}]),r}($e),ek={Designer:JL,Runtime:o6,Property:zf};function ic(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 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 Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Kf(e)}function nk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 i6(e,t){return t&&(u6(t)==="object"||typeof t=="function")?t:ic(e)}function Rb(e,t){return Rb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Rb(e,t)}function u6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function c6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=c6();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 i6(this,o)}}var l6=function(e){nk(r,e);var t=rk(r);function r(n){tk(this,r);var o;return o=t.call(this,n),uc(ic(o),"showType",{type:"enum",enum:["select","tabs"]}),uc(ic(o),"viewList",{type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}),o}return r}(Be),Xf=function(e){nk(r,e);var t=rk(r);function r(n){tk(this,r);var o,i;o=t.call(this,n),uc(ic(o),"showType",void 0),uc(ic(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(a){return new nI(a)}))!==null&&c!==void 0?c:[],o}return r}(Ee);uc(Xf,"Rules",l6);function ok(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function a6(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 f6(e,t,r){return t&&ik(e.prototype,t),r&&ik(e,r),e}function uk(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 s6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _6(e,t){return t&&(y6(t)==="object"||typeof t=="function")?t:ok(e)}function Eb(e,t){return Eb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Eb(e,t)}function y6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function d6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p6(e){var t=d6();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 _6(this,o)}}var ck=function(e){s6(r,e);var t=p6(r);function r(n){a6(this,r);var o;return o=t.call(this,n),uk(ok(o),"props",void 0),o.props=new Xf(n==null?void 0:n.props),o}return f6(r,null,[{key:"controlName",get:function(){return d.getMessage("listViewSelect")}},{key:"controlIcon",get:function(){return"iconliebiaoxuanze"}},{key:"controlType",get:function(){return"list-view-select"}}]),r}(re);uk(ck,"setting",[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}]);function lk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v6(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 h6(e,t,r){return t&&ak(e.prototype,t),r&&ak(e,r),e}function g6(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 m6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 b6(e,t){return t&&(O6(t)==="object"||typeof t=="function")?t:lk(e)}function $b(e,t){return $b=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$b(e,t)}function O6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function w6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function P6(e){var t=w6();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 b6(this,o)}}var T6=function(e){m6(r,e);var t=P6(r);function r(n){v6(this,r);var o;return o=t.call(this,n),g6(lk(o),"props",void 0),o.props=new Xf(n==null?void 0:n.props),o}return h6(r,null,[{key:"controlType",get:function(){return"list-view-select"}}]),r}($e),fk={Designer:ck,Runtime:T6,Property:Xf};function $t(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sk(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function St(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 _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&&Sb(e,t)}function R6(e,t){return t&&(E6(t)==="object"||typeof t=="function")?t:$t(e)}function Sb(e,t){return Sb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sb(e,t)}function E6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yk(e){var t=$6();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 R6(this,o)}}var S6=function(e){_k(r,e);var t=yk(r);function r(n){sk(this,r);var o;return o=t.call(this,n),St($t(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),St($t(o),"isHideCaption",{type:"boolean"}),St($t(o),"labelPosition",{type:"enum",enum:["top","left"]}),St($t(o),"ocrType",{type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")}),St($t(o),"fillList",{type:"array",validator:function(u,c,a){var f=c.every(function(s){return!s.controlId});if(f){a(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),St($t(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Be),es=function(e){_k(r,e);var t=yk(r);function r(n){sk(this,r);var o,i;o=t.call(this,n),St($t(o),"caption",void 0),St($t(o),"isHideCaption",void 0),St($t(o),"isShowCaptionTip",void 0),St($t(o),"captionTip",void 0),St($t(o),"labelPosition",void 0),St($t(o),"ocrType",void 0),St($t(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 a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!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 y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:Pi.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);St(es,"Rules",S6);function dk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function N6(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 I6(e,t,r){return t&&pk(e.prototype,t),r&&pk(e,r),e}function Nb(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ts(e){return ts=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ts(e)}function M6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 L6(e,t){return t&&(k6(t)==="object"||typeof t=="function")?t:dk(e)}function Ib(e,t){return Ib=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ib(e,t)}function k6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function D6(e){var t=A6();return function(){var n=ts(e),o;if(t){var i=ts(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return L6(this,o)}}var Pi=function(e){M6(r,e);var t=D6(r);function r(n){N6(this,r);var o;return o=t.call(this,n),Nb(dk(o),"props",void 0),o.props=new es(n==null?void 0:n.props),o}return I6(r,null,[{key:"controlName",get:function(){return d.getMessage("textOcrButton")}},{key:"controlIcon",get:function(){return"iconwenzishibie"}},{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(ct);Nb(Pi,"controlEventKeys",["on_click","on_click_finish"]),Nb(Pi,"setting",[{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function vk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B6(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function j6(e,t,r){return t&&hk(e.prototype,t),r&&hk(e,r),e}function C6(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 F6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 V6(e,t){return t&&(x6(t)==="object"||typeof t=="function")?t:vk(e)}function Mb(e,t){return Mb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Mb(e,t)}function x6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function U6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function G6(e){var t=U6();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 V6(this,o)}}var Y6=function(e){F6(r,e);var t=G6(r);function r(n){B6(this,r);var o;return o=t.call(this,n),C6(vk(o),"props",void 0),o.props=new es(n==null?void 0:n.props),o}return j6(r,null,[{key:"controlType",get:function(){return"text-ocr-button"}}]),r}(Dt),gk={Designer:Pi,Runtime:Y6,Property:es};function Nt(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 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 rs(e){return rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rs(e)}function bk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 H6(e,t){return t&&(z6(t)==="object"||typeof t=="function")?t:Nt(e)}function Lb(e,t){return Lb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lb(e,t)}function z6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function W6(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ok(e){var t=W6();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 H6(this,o)}}var q6=function(e){bk(r,e);var t=Ok(r);function r(n){mk(this,r);var o;return o=t.call(this,n),It(Nt(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),It(Nt(o),"isHideCaption",{type:"boolean"}),It(Nt(o),"labelPosition",{type:"enum",enum:["top","left"]}),It(Nt(o),"invoiceCheck",{type:"boolean"}),It(Nt(o),"fillList",{type:"array",validator:function(u,c,a){var f=c.every(function(s){return!s.controlId});if(f){a(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}}),It(Nt(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Be),os=function(e){bk(r,e);var t=Ok(r);function r(n){mk(this,r);var o,i;o=t.call(this,n),It(Nt(o),"caption",void 0),It(Nt(o),"isHideCaption",void 0),It(Nt(o),"isShowCaptionTip",void 0),It(Nt(o),"captionTip",void 0),It(Nt(o),"labelPosition",void 0),It(Nt(o),"invoiceCheck",void 0),It(Nt(o),"fillList",void 0);var u;o.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:Ti.controlName;var c;o.isHideCaption=(c=n==null?void 0:n.isHideCaption)!==null&&c!==void 0?c:!1;var a;o.isShowCaptionTip=(a=n==null?void 0:n.isShowCaptionTip)!==null&&a!==void 0?a:!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?_:Ti.controlName;var y;o.icon=(y=n==null?void 0:n.icon)!==null&&y!==void 0?y:Ti.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);It(os,"Rules",q6);function wk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K6(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 X6(e,t,r){return t&&Pk(e.prototype,t),r&&Pk(e,r),e}function kb(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 J6(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Q6(e,t){return t&&(Z6(t)==="object"||typeof t=="function")?t:wk(e)}function Ab(e,t){return Ab=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ab(e,t)}function Z6(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function e7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function t7(e){var t=e7();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 Q6(this,o)}}var Ti=function(e){J6(r,e);var t=t7(r);function r(n){K6(this,r);var o;return o=t.call(this,n),kb(wk(o),"props",void 0),o.props=new os(n==null?void 0:n.props),o}return X6(r,null,[{key:"controlName",get:function(){return d.getMessage("invoiceCheckButton")}},{key:"controlIcon",get:function(){return"iconfabiaoshibie1"}},{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(ct);kb(Ti,"controlEventKeys",["on_click","on_click_finish"]),kb(Ti,"setting",[{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}]);function Tk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function n7(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 r7(e,t,r){return t&&Rk(e.prototype,t),r&&Rk(e,r),e}function o7(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 i7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 u7(e,t){return t&&(c7(t)==="object"||typeof t=="function")?t:Tk(e)}function Db(e,t){return Db=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Db(e,t)}function c7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function l7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function a7(e){var t=l7();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 u7(this,o)}}var f7=function(e){i7(r,e);var t=a7(r);function r(n){n7(this,r);var o;return o=t.call(this,n),o7(Tk(o),"props",void 0),o.props=new os(n==null?void 0:n.props),o}return r7(r,null,[{key:"controlType",get:function(){return"invoice-check-button"}}]),r}(Dt),Ek={Designer:Ti,Runtime:f7,Property:os};function cs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $k(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 as(e){return as=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},as(e)}function Sk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 s7(e,t){return t&&(_7(t)==="object"||typeof t=="function")?t:cs(e)}function Bb(e,t){return Bb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Bb(e,t)}function _7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function y7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Nk(e){var t=y7();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 s7(this,o)}}var d7=function(e){Sk(r,e);var t=Nk(r);function r(){$k(this,r);var n;return n=t.apply(this,arguments),ls(cs(n),"printTemplates",{type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}),n}return r}(Be),fs=function(e){Sk(r,e);var t=Nk(r);function r(n){$k(this,r);var o,i;o=t.call(this,n),ls(cs(o),"printTemplates",void 0),ls(cs(o),"autoSelectTemplate",void 0);var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ri.controlIcon;var c;o.content=(c=n==null?void 0:n.content)!==null&&c!==void 0?c:Ri.controlName;var a;o.printTemplates=(a=n==null||(i=n.printTemplates)===null||i===void 0?void 0:i.map(function(s){return new hM(s)}))!==null&&a!==void 0?a:[];var f;return o.autoSelectTemplate=(f=n==null?void 0:n.autoSelectTemplate)!==null&&f!==void 0?f:!1,o}return r}(gt);ls(fs,"Rules",d7);function Ik(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function v7(e,t,r){return t&&Mk(e.prototype,t),r&&Mk(e,r),e}function ss(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 h7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 g7(e,t){return t&&(m7(t)==="object"||typeof t=="function")?t:Ik(e)}function jb(e,t){return jb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jb(e,t)}function m7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function b7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function O7(e){var t=b7();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 g7(this,o)}}var Ri=function(e){h7(r,e);var t=O7(r);function r(n){p7(this,r);var o;return o=t.call(this,n),ss(Ik(o),"props",void 0),o.props=new fs(n==null?void 0:n.props),o}return v7(r,null,[{key:"controlName",get:function(){return d.getMessage("batchPrintListButton")}},{key:"controlIcon",get:function(){return"iconbtn_piliangtijiao"}},{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(ct);ss(Ri,"slots",["grid-table-toolbar-slot"]),ss(Ri,"controlEventKeys",["on_click","on_click_finish"]),ss(Ri,"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 Lk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function w7(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 P7(e,t,r){return t&&kk(e.prototype,t),r&&kk(e,r),e}function T7(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 R7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 E7(e,t){return t&&($7(t)==="object"||typeof t=="function")?t:Lk(e)}function Cb(e,t){return Cb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cb(e,t)}function $7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function N7(e){var t=S7();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 E7(this,o)}}var I7=function(e){R7(r,e);var t=N7(r);function r(n){w7(this,r);var o;return o=t.call(this,n),T7(Lk(o),"props",void 0),o.props=new fs(n==null?void 0:n.props),o}return P7(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print"}}]),r}(Dt),Ak={Designer:Ri,Runtime:I7,Property:fs};function M7(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function L7(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ds(e){return ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ds(e)}function k7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 A7(e,t){return t&&(D7(t)==="object"||typeof t=="function")?t:M7(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Fb(e,t)}function D7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function B7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function j7(e){var t=B7();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 A7(this,o)}}var Vb=function(e){k7(r,e);var t=j7(r);function r(n){L7(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:Ei.controlName;var u;return o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:Ei.controlIcon,o}return r}(gt);function Dk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function C7(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 F7(e,t,r){return t&&Bk(e.prototype,t),r&&Bk(e,r),e}function ps(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 V7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 x7(e,t){return t&&(U7(t)==="object"||typeof t=="function")?t:Dk(e)}function xb(e,t){return xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xb(e,t)}function U7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function G7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Y7(e){var t=G7();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 x7(this,o)}}var Ei=function(e){V7(r,e);var t=Y7(r);function r(n){C7(this,r);var o;return o=t.call(this,n),ps(Dk(o),"props",void 0),o.props=new Vb(n==null?void 0:n.props),o}return F7(r,null,[{key:"controlName",get:function(){return d.getMessage("batchPrintRecordList")}},{key:"controlIcon",get:function(){return"iconyyzy-renwu"}},{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(ct);ps(Ei,"slots",["grid-table-toolbar-slot"]),ps(Ei,"controlEventKeys",["on_click"]),ps(Ei,"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 jk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function H7(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 z7(e,t,r){return t&&Ck(e.prototype,t),r&&Ck(e,r),e}function W7(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 q7(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 K7(e,t){return t&&(X7(t)==="object"||typeof t=="function")?t:jk(e)}function Ub(e,t){return Ub=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ub(e,t)}function X7(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function J7(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Q7(e){var t=J7();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 K7(this,o)}}var Z7=function(e){q7(r,e);var t=Q7(r);function r(n){H7(this,r);var o;return o=t.call(this,n),W7(jk(o),"props",void 0),o.props=new Vb(n==null?void 0:n.props),o}return z7(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-print-record"}}]),r}(Dt),Fk={Designer:Ei,Runtime:Z7,Property:Vb};function mt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vk(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 gs(e){return gs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gs(e)}function xk(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 e9(e,t){return t&&(t9(t)==="object"||typeof t=="function")?t:mt(e)}function Gb(e,t){return Gb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Gb(e,t)}function t9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function n9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Uk(e){var t=n9();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 e9(this,o)}}var r9=function(e){xk(r,e);var t=Uk(r);function r(n){Vk(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:d.getMessage("pleaseEnterForm")}),o}return r}(Be),ms=function(e){xk(r,e);var t=Uk(r);function r(n){Vk(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 a;o.defaultState=(a=n==null?void 0:n.defaultState)!==null&&a!==void 0?a:"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}(Ee);bt(ms,"Rules",r9);function Gk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function o9(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 i9(e,t,r){return t&&Yk(e.prototype,t),r&&Yk(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 bs(e){return bs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bs(e)}function u9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 c9(e,t){return t&&(l9(t)==="object"||typeof t=="function")?t:Gk(e)}function Hb(e,t){return Hb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Hb(e,t)}function l9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function a9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function f9(e){var t=a9();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 c9(this,o)}}var Os=function(e){u9(r,e);var t=f9(r);function r(n){o9(this,r);var o;return o=t.call(this,n),Yb(Gk(o),"props",void 0),o.props=new ms(n==null?void 0:n.props),o}return i9(r,null,[{key:"controlName",get:function(){return d.getMessage("operationButton")}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),r}(re);Yb(Os,"controlEventKeys",["on_click"]),Yb(Os,"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:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function Hk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _9(e,t,r){return t&&zk(e.prototype,t),r&&zk(e,r),e}function y9(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ws(e){return ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ws(e)}function d9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 p9(e,t){return t&&(v9(t)==="object"||typeof t=="function")?t:Hk(e)}function zb(e,t){return zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zb(e,t)}function v9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g9(e){var t=h9();return function(){var n=ws(e),o;if(t){var i=ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return p9(this,o)}}var m9=function(e){d9(r,e);var t=g9(r);function r(n){s9(this,r);var o;return o=t.call(this,n),y9(Hk(o),"props",void 0),o.props=new ms(n==null?void 0:n.props),o}return _9(r,null,[{key:"controlType",get:function(){return"operation-button"}}]),r}($e),cc={Designer:Os,Runtime:m9,Property:ms};function Jn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jr(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 O9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 w9(e,t){return t&&(P9(t)==="object"||typeof t=="function")?t:Jn(e)}function Wb(e,t){return Wb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Wb(e,t)}function P9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function R9(e){var t=T9();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 w9(this,o)}}var qb=function(e){O9(r,e);var t=R9(r);function r(n){b9(this,r);var o;o=t.call(this,n),jr(Jn(o),"content",void 0),jr(Jn(o),"buttonType",void 0),jr(Jn(o),"showType",void 0),jr(Jn(o),"color",void 0),jr(Jn(o),"icon",void 0),jr(Jn(o),"defaultState",void 0),jr(Jn(o),"command",void 0),jr(Jn(o),"isLoading",void 0);var i;o.content=(i=n==null?void 0:n.content)!==null&&i!==void 0?i:$i.controlName;var u;o.icon=(u=n==null?void 0:n.icon)!==null&&u!==void 0?u:$i.controlIcon;var c;o.buttonType=(c=n==null?void 0:n.buttonType)!==null&&c!==void 0?c:"primary";var a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"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 y;o.command=(y=n==null?void 0:n.command)!==null&&y!==void 0?y:"custom";var p;return o.isLoading=(p=n==null?void 0:n.isLoading)!==null&&p!==void 0?p:!1,o}return r}(Ee);function Wk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $9(e,t,r){return t&&qk(e.prototype,t),r&&qk(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 Rs(e){return Rs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rs(e)}function S9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 N9(e,t){return t&&(I9(t)==="object"||typeof t=="function")?t:Wk(e)}function Kb(e,t){return Kb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kb(e,t)}function I9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function L9(e){var t=M9();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 N9(this,o)}}var $i=function(e){S9(r,e);var t=L9(r);function r(n){E9(this,r);var o;return o=t.call(this,n),Ts(Wk(o),"props",void 0),o.props=new qb(n==null?void 0:n.props),o}return $9(r,null,[{key:"controlName",get:function(){return d.getMessage("batchDeleteButton")}},{key:"controlIcon",get:function(){return"iconlajitong"}},{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}(re);Ts($i,"slots",["grid-table-toolbar-slot"]),Ts($i,"controlEventKeys",["on_click"]),Ts($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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function Kk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A9(e,t,r){return t&&Xk(e.prototype,t),r&&Xk(e,r),e}function D9(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 B9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 j9(e,t){return t&&(C9(t)==="object"||typeof t=="function")?t:Kk(e)}function Xb(e,t){return Xb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Xb(e,t)}function C9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function V9(e){var t=F9();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 j9(this,o)}}var x9=function(e){B9(r,e);var t=V9(r);function r(n){k9(this,r);var o;return o=t.call(this,n),D9(Kk(o),"props",void 0),o.props=new qb(n==null?void 0:n.props),o}return A9(r,null,[{key:"controlType",get:function(){return"list-page-btn-batch-delete"}}]),r}($e),Jk={Designer:$i,Runtime:x9,Property:qb},U9=Object.freeze({__proto__:null,Text:eM,Link:iM,Button:fM,Divider:EM,Title:AM,CreateFormListButton:UM,BatchSubmissionListButton:XM,SubmissionRecordListButton:tL,ExportListButton:cL,ExportRecordListButton:_L,ImportRecordListButton:gL,FormSelectButton:$L,ListSelectButton:BL,Pagination:YL,Dashboard:ek,ListViewSelect:fk,TextOcrButton:gk,InvoiceCheckButton:Ek,BatchPrintListButton:Ak,BatchPrintRecordListButton:Fk,OperationButton:cc,BatchDeleteButton:Jk});function kn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vn(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 Qb(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 G9(e,t){return t&&(Y9(t)==="object"||typeof t=="function")?t:kn(e)}function Zb(e,t){return Zb=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zb(e,t)}function Y9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function H9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function eO(e){var t=H9();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 G9(this,o)}}var z9=function(e){Qb(r,e);var t=eO(r);function r(n){Jb(this,r);var o;return o=t.call(this,n),vn(kn(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),vn(kn(o),"minLength",{type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),vn(kn(o),"defaultValue",[{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o.defaultValue[1].pattern=tc(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(He),W9=function(e){Qb(r,e);var t=eO(r);function r(n){Jb(this,r);var o;return o=t.call(this,n),o.push({type:"string",message:d.getMessage("isNotString")},{max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:tc(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(_e),Si=function(e){Qb(r,e);var t=eO(r);function r(n){Jb(this,r);var o;o=t.call(this,n),vn(kn(o),"maxLength",void 0),vn(kn(o),"minLength",void 0),vn(kn(o),"regularRules",void 0),vn(kn(o),"defaultValue",void 0),vn(kn(o),"encrypted",void 0),vn(kn(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 ia(n==null?void 0:n.regularRules);var c;o.defaultValue=(c=n==null?void 0:n.defaultValue)!==null&&c!==void 0?c:"";var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Ni.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:d.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);vn(Si,"Rules",z9),vn(Si,"RuntimeRules",W9);function Qk(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q9(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zk(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function K9(e,t,r){return t&&Zk(e.prototype,t),r&&Zk(e,r),e}function Ss(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 X9(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 J9(e,t){return t&&(Q9(t)==="object"||typeof t=="function")?t:Qk(e)}function tO(e,t){return tO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tO(e,t)}function Q9(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Z9(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Z9();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 J9(this,o)}}var Ni=function(e){X9(r,e);var t=eJ(r);function r(n){q9(this,r);var o;return o=t.call(this,n),Ss(Qk(o),"props",void 0),o.props=new Si(n==null?void 0:n.props),o}return K9(r,null,[{key:"controlName",get:function(){return d.getMessage("input")}},{key:"controlIcon",get:function(){return"iconSingleline_new1"}},{key:"controlType",get:function(){return"input"}}]),r}(J);Ss(Ni,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),Ss(Ni,"controlFieldType",l.FieldTypes.VARCHAR),Ss(Ni,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,l.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 e1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tJ(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 nJ(e,t,r){return t&&t1(e.prototype,t),r&&t1(e,r),e}function n1(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 rJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 oJ(e,t){return t&&(iJ(t)==="object"||typeof t=="function")?t:e1(e)}function nO(e,t){return nO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nO(e,t)}function iJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cJ(e){var t=uJ();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 oJ(this,o)}}var r1=function(e){rJ(r,e);var t=cJ(r);function r(n){tJ(this,r);var o;return o=t.call(this,n),n1(e1(o),"props",void 0),o.props=new Si(n==null?void 0:n.props),o}return nJ(r,null,[{key:"controlType",get:function(){return"input"}}]),r}(Q);n1(r1,"controlFieldType",l.FieldTypes.VARCHAR);var o1={Designer:Ni,Runtime:r1,Property:Si};function lt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rO(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 Ms(e){return Ms=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ms(e)}function oO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 lJ(e,t){return t&&(aJ(t)==="object"||typeof t=="function")?t:lt(e)}function iO(e,t){return iO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iO(e,t)}function aJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function fJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function uO(e){var t=fJ();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 lJ(this,o)}}var sJ=function(e){oO(r,e);var t=uO(r);function r(n){rO(this,r);var o;o=t.call(this,n),Qe(lt(o),"limitMax",{type:"number",min:void 0,message:d.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),_J=function(e){oO(r,e);var t=uO(r);function r(n){rO(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){oO(r,e);var t=uO(r);function r(n){rO(this,r);var o;o=t.call(this,n),Qe(lt(o),"checkboxMode",void 0),Qe(lt(o),"options",void 0),Qe(lt(o),"optionsOrder",void 0),Qe(lt(o),"limitMax",void 0),Qe(lt(o),"limitMin",void 0),Qe(lt(o),"otherOption",void 0),Qe(lt(o),"optionConfig",void 0),Qe(lt(o),"optionsFormat",void 0),Qe(lt(o),"defaultShowOptions",void 0),Qe(lt(o),"datasourceBind",void 0),Qe(lt(o),"multistageFilling",void 0),Qe(lt(o),"interreaction",void 0),Qe(lt(o),"defaultValue",void 0),Qe(lt(o),"openMultistageFilling",void 0);var i;o.options=In((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 a;o.optionsOrder=(a=n==null?void 0:n.optionsOrder)!==null&&a!==void 0?a:!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 y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:ac.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 P;o.defaultShowOptions=(P=n==null?void 0:n.defaultShowOptions)!==null&&P!==void 0?P:!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($){var b;(b=o.multistageFilling)===null||b===void 0||b.push(new ht($))})),o}return r}(K);Qe(lc,"Rules",sJ),Qe(lc,"RuntimeRules",_J);function i1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dJ(e,t,r){return t&&u1(e.prototype,t),r&&u1(e,r),e}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 ks(e){return ks=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ks(e)}function pJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&cO(e,t)}function vJ(e,t){return t&&(hJ(t)==="object"||typeof t=="function")?t:i1(e)}function cO(e,t){return cO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cO(e,t)}function hJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mJ(e){var t=gJ();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 vJ(this,o)}}var ac=function(e){pJ(r,e);var t=mJ(r);function r(n){yJ(this,r);var o;return o=t.call(this,n),Ls(i1(o),"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return dJ(r,null,[{key:"controlName",get:function(){return d.getMessage("checkBox")}},{key:"controlIcon",get:function(){return"iconduoxuan"}},{key:"controlType",get:function(){return"checkbox"}}]),r}(J);Ls(ac,"controlEventKeys",["on_change","on_click"]),Ls(ac,"controlFieldType",l.FieldTypes.ARRAY),Ls(ac,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.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 c1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bJ(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 OJ(e,t,r){return t&&l1(e.prototype,t),r&&l1(e,r),e}function a1(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 wJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 PJ(e,t){return t&&(TJ(t)==="object"||typeof t=="function")?t:c1(e)}function lO(e,t){return lO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lO(e,t)}function TJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function RJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=RJ();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 PJ(this,o)}}var f1=function(e){wJ(r,e);var t=EJ(r);function r(n){bJ(this,r);var o;return o=t.call(this,n),a1(c1(o),"props",void 0),o.props=new lc(n==null?void 0:n.props),o}return OJ(r,null,[{key:"controlType",get:function(){return"checkbox"}}]),r}(Q);a1(f1,"controlFieldType",l.FieldTypes.ARRAY);var s1={Designer:ac,Runtime:f1,Property:lc};function Bt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _1(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 Ds(e){return Ds=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ds(e)}function y1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $J(e,t){return t&&(SJ(t)==="object"||typeof t=="function")?t:Bt(e)}function aO(e,t){return aO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aO(e,t)}function SJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d1(e){var t=NJ();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 $J(this,o)}}var IJ=function(e){y1(r,e);var t=d1(r);function r(n){return _1(this,r),t.call(this,n)}return r}(so),Bs=function(e){y1(r,e);var t=d1(r);function r(n){_1(this,r);var o;o=t.call(this,n),jt(Bt(o),"radioMode",void 0),jt(Bt(o),"options",void 0),jt(Bt(o),"optionConfig",void 0),jt(Bt(o),"optionsFormat",void 0),jt(Bt(o),"defaultShowOptions",void 0),jt(Bt(o),"otherOption",void 0),jt(Bt(o),"optionsOrder",void 0),jt(Bt(o),"datasourceBind",void 0),jt(Bt(o),"multistageFilling",void 0),jt(Bt(o),"interreaction",void 0),jt(Bt(o),"defaultValue",void 0),jt(Bt(o),"openMultistageFilling",void 0);var i;o.options=In((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 a;o.otherOption=(a=n==null?void 0:n.otherOption)!==null&&a!==void 0?a:!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 y;o.interreaction=(y=n==null?void 0:n.interreaction)!==null&&y!==void 0?y:[];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;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(P){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new ht(P))})),o}return r}(K);jt(Bs,"Rules",IJ);function p1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MJ(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 LJ(e,t,r){return t&&v1(e.prototype,t),r&&v1(e,r),e}function js(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 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&&fO(e,t)}function AJ(e,t){return t&&(DJ(t)==="object"||typeof t=="function")?t:p1(e)}function fO(e,t){return fO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fO(e,t)}function DJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function BJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jJ(e){var t=BJ();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 AJ(this,o)}}var fc=function(e){kJ(r,e);var t=jJ(r);function r(n){MJ(this,r);var o;return o=t.call(this,n),js(p1(o),"props",void 0),o.props=new Bs(n==null?void 0:n.props),o}return LJ(r,null,[{key:"controlName",get:function(){return d.getMessage("radio")}},{key:"controlIcon",get:function(){return"iconradio_new"}},{key:"controlType",get:function(){return"radio"}}]),r}(J);js(fc,"controlEventKeys",["on_change","on_click"]),js(fc,"controlFieldType",l.FieldTypes.VARCHAR),js(fc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.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 h1(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 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 FJ(e,t,r){return t&&g1(e.prototype,t),r&&g1(e,r),e}function m1(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 VJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xJ(e,t){return t&&(UJ(t)==="object"||typeof t=="function")?t:h1(e)}function sO(e,t){return sO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sO(e,t)}function UJ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function GJ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function YJ(e){var t=GJ();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 xJ(this,o)}}var b1=function(e){VJ(r,e);var t=YJ(r);function r(n){CJ(this,r);var o;return o=t.call(this,n),m1(h1(o),"props",void 0),o.props=new Bs(n==null?void 0:n.props),o}return FJ(r,null,[{key:"controlType",get:function(){return"radio"}}]),r}(Q);m1(b1,"controlFieldType",l.FieldTypes.VARCHAR);var O1={Designer:fc,Runtime:b1,Property:Bs};function Ot(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 at(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 yO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 HJ(e,t){return t&&(zJ(t)==="object"||typeof t=="function")?t:Ot(e)}function dO(e,t){return dO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dO(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 pO(e){var t=WJ();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 HJ(this,o)}}var qJ=function(e){yO(r,e);var t=pO(r);function r(n){_O(this,r);var o;o=t.call(this,n),at(Ot(o),"defaultValue",[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}]),at(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=d.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:d.getMessage("numberRangeSetError")}),o.defaultValue[1].pattern=tc(n.regularRules.expression),o.defaultValue[1].message=n.regularRules.errMessage,o}return r}(He),KJ=function(e){yO(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="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:d.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}),n.regularRules.expression&&n.regularRules.errMessage&&o.push({pattern:tc(n.regularRules.expression),message:n.regularRules.errMessage}),o}return r}(_e),sc=function(e){yO(r,e);var t=pO(r);function r(n){_O(this,r);var o;o=t.call(this,n),at(Ot(o),"rangeMin",void 0),at(Ot(o),"rangeMax",void 0),at(Ot(o),"numberType",void 0),at(Ot(o),"percentageFormat",void 0),at(Ot(o),"micrometer",void 0),at(Ot(o),"precision",void 0),at(Ot(o),"showUpperCase",void 0),at(Ot(o),"isShowUnit",void 0),at(Ot(o),"unitPosition",void 0),at(Ot(o),"unit",void 0),at(Ot(o),"defaultValue",void 0),at(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 a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!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 y;o.isShowUnit=(y=n==null?void 0:n.isShowUnit)!==null&&y!==void 0?y:!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:_c.controlName;var P;o.placeholder=(P=n==null?void 0:n.placeholder)!==null&&P!==void 0?P:d.getMessage("pleaseEnter");var v;return o.defaultValue=(v=n==null?void 0:n.defaultValue)!==null&&v!==void 0?v:"",o.regularRules=new ia(n==null?void 0:n.regularRules),o}return r}(K);at(sc,"Rules",qJ),at(sc,"RuntimeRules",KJ);function w1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XJ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function P1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function JJ(e,t,r){return t&&P1(e.prototype,t),r&&P1(e,r),e}function xs(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Us=Reflect.get:Us=function(o,i,u){var c=eQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Us(e,t,r||e)}function Ii(e){return Ii=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ii(e)}function QJ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZJ(e,t){return t&&(tQ(t)==="object"||typeof t=="function")?t:w1(e)}function vO(e,t){return vO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vO(e,t)}function eQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ii(e),e!==null););return e}function tQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rQ(e){var t=nQ();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 ZJ(this,o)}}var _c=function(e){QJ(r,e);var t=rQ(r);function r(n){XJ(this,r);var o;return o=t.call(this,n),xs(w1(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return JJ(r,[{key:"toDataBindModel",value:function(o){var i=Us(Ii(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return d.getMessage("number")}},{key:"controlIcon",get:function(){return"iconnuminput_new"}},{key:"controlType",get:function(){return"number"}}]),r}(J);xs(_c,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),xs(_c,"controlFieldType",l.FieldTypes.DECIMAL),xs(_c,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_UNIT,l.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:[l.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,l.COMMON_SETTING_TYPE.MICROMETER,l.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}]);function T1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oQ(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 iQ(e,t,r){return t&&R1(e.prototype,t),r&&R1(e,r),e}function E1(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 uQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cQ(e,t){return t&&(lQ(t)==="object"||typeof t=="function")?t:T1(e)}function hO(e,t){return hO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hO(e,t)}function lQ(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 fQ(e){var t=aQ();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 cQ(this,o)}}var $1=function(e){uQ(r,e);var t=fQ(r);function r(n){oQ(this,r);var o;return o=t.call(this,n),E1(T1(o),"props",void 0),o.props=new sc(n==null?void 0:n.props),o}return iQ(r,null,[{key:"controlType",get:function(){return"number"}}]),r}(Q);E1($1,"controlFieldType",l.FieldTypes.DECIMAL);var S1={Designer:_c,Runtime:$1,Property:sc};function Qn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sQ(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 Ys(e){return Ys=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ys(e)}function _Q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gO(e,t)}function yQ(e,t){return t&&(dQ(t)==="object"||typeof t=="function")?t:Qn(e)}function gO(e,t){return gO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gO(e,t)}function dQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vQ(e){var t=pQ();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 yQ(this,o)}}var mO=function(e){_Q(r,e);var t=vQ(r);function r(n){sQ(this,r);var o,i;o=t.call(this,n),Cr(Qn(o),"dateType",void 0),Cr(Qn(o),"dateFormat",void 0),Cr(Qn(o),"commonTimeSetting",void 0),Cr(Qn(o),"setValueType",void 0),Cr(Qn(o),"defaultValue",void 0),Cr(Qn(o),"limitDateList",void 0),Cr(Qn(o),"allowDateRange",void 0),Cr(Qn(o),"filterWeekend",void 0);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:l.DateType.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];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:zs.controlName;var _;o.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:d.getMessage("pleaseEnterDate");var y;o.defaultValue=(y=n==null?void 0:n.defaultValue)!==null&&y!==void 0?y:"";var p;o.limitDateList=(p=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(P){return new Ka(P)}))!==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 N1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hQ(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 gQ(e,t,r){return t&&I1(e.prototype,t),r&&I1(e,r),e}function bO(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hs=Reflect.get:Hs=function(o,i,u){var c=OQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Hs(e,t,r||e)}function Mi(e){return Mi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mi(e)}function mQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OO(e,t)}function bQ(e,t){return t&&(wQ(t)==="object"||typeof t=="function")?t:N1(e)}function OO(e,t){return OO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OO(e,t)}function OQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Mi(e),e!==null););return e}function wQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function PQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function TQ(e){var t=PQ();return function(){var n=Mi(e),o;if(t){var i=Mi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return bQ(this,o)}}var zs=function(e){mQ(r,e);var t=TQ(r);function r(n){hQ(this,r);var o;return o=t.call(this,n),bO(N1(o),"props",void 0),o.props=new mO(n==null?void 0:n.props),o}return gQ(r,[{key:"toDataBindModel",value:function(o){var i=Hs(Mi(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 d.getMessage("timestamp")}},{key:"controlIcon",get:function(){return"iconriqi1"}},{key:"controlType",get:function(){return"date-picker"}}]),r}(J);bO(zs,"controlFieldType",l.FieldTypes.TIMESTAMP),bO(zs,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function M1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RQ(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 EQ(e,t,r){return t&&L1(e.prototype,t),r&&L1(e,r),e}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 Ws(e){return Ws=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ws(e)}function $Q(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&wO(e,t)}function SQ(e,t){return t&&(NQ(t)==="object"||typeof t=="function")?t:M1(e)}function wO(e,t){return wO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wO(e,t)}function NQ(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 MQ(e){var t=IQ();return function(){var n=Ws(e),o;if(t){var i=Ws(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return SQ(this,o)}}var A1=function(e){$Q(r,e);var t=MQ(r);function r(n){RQ(this,r);var o;return o=t.call(this,n),k1(M1(o),"props",void 0),o.props=new mO(n==null?void 0:n.props),o}return EQ(r,null,[{key:"controlType",get:function(){return"date-picker"}}]),r}(Q);k1(A1,"controlFieldType",l.FieldTypes.TIMESTAMP);var D1={Designer:zs,Runtime:A1,Property:mO};function tn(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 nn(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 j1(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 LQ(e,t){return t&&(kQ(t)==="object"||typeof t=="function")?t:tn(e)}function PO(e,t){return PO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PO(e,t)}function kQ(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 C1(e){var t=AQ();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 LQ(this,o)}}var DQ=function(e){j1(r,e);var t=C1(r);function r(n){B1(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),Ks=function(e){j1(r,e);var t=C1(r);function r(n){B1(this,r);var o,i;o=t.call(this,n),nn(tn(o),"dataBind",void 0),nn(tn(o),"rangeMin",void 0),nn(tn(o),"rangeMax",void 0),nn(tn(o),"placeholderStart",void 0),nn(tn(o),"placeholderEnd",void 0),nn(tn(o),"dateFormat",void 0),nn(tn(o),"commonTimeSetting",void 0),nn(tn(o),"dateType",void 0),nn(tn(o),"setValueType",void 0),nn(tn(o),"defaultValue",void 0),nn(tn(o),"limitDateList",void 0),o.dataBind=new JN(n==null?void 0:n.dataBind),o.defaultValue=new QN(n==null?void 0:n.defaultValue);var u;o.dateType=(u=n==null?void 0:n.dateType)!==null&&u!==void 0?u:l.DateType.DATE;var c;o.dateFormat=(c=n==null?void 0:n.dateFormat)!==null&&c!==void 0?c:"";var a;o.commonTimeSetting=(a=n==null?void 0:n.commonTimeSetting)!==null&&a!==void 0?a:[];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 y;o.placeholderStart=(y=n==null?void 0:n.placeholderStart)!==null&&y!==void 0?y:d.getMessage("pleaseSelectStartDate");var p;o.placeholderEnd=(p=n==null?void 0:n.placeholderEnd)!==null&&p!==void 0?p:d.getMessage("pleaseSelectEndDate");var m;o.caption=(m=n==null?void 0:n.caption)!==null&&m!==void 0?m:Js.controlName;var h;return o.limitDateList=(h=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(P){return new Ka(P)}))!==null&&h!==void 0?h:[],o}return r}(K);nn(Ks,"RuntimeRules",DQ);function F1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BQ(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 jQ(e,t,r){return t&&V1(e.prototype,t),r&&V1(e,r),e}function TO(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Xs=Reflect.get:Xs=function(o,i,u){var c=VQ(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Xs(e,t,r||e)}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Li(e)}function CQ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 FQ(e,t){return t&&(xQ(t)==="object"||typeof t=="function")?t:F1(e)}function RO(e,t){return RO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RO(e,t)}function VQ(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Li(e),e!==null););return e}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=Li(e),o;if(t){var i=Li(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return FQ(this,o)}}var Js=function(e){CQ(r,e);var t=GQ(r);function r(n){BQ(this,r);var o;return o=t.call(this,n),TO(F1(o),"props",void 0),o.props=new Ks(n==null?void 0:n.props),o}return jQ(r,[{key:"toDataBindModel",value:function(o){var i=Xs(Li(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 d.getMessage("timescope")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"date-range"}}]),r}(J);TO(Js,"controlFieldType",l.FieldTypes.TIMESCOPE),TO(Js,"setting",[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function x1(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 U1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function HQ(e,t,r){return t&&U1(e.prototype,t),r&&U1(e,r),e}function G1(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 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&&EO(e,t)}function WQ(e,t){return t&&(qQ(t)==="object"||typeof t=="function")?t:x1(e)}function EO(e,t){return EO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EO(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=Qs(e),o;if(t){var i=Qs(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return WQ(this,o)}}var Y1=function(e){zQ(r,e);var t=XQ(r);function r(n){YQ(this,r);var o;return o=t.call(this,n),G1(x1(o),"props",void 0),o.props=new Ks(n==null?void 0:n.props),o}return HQ(r,null,[{key:"controlType",get:function(){return"date-range"}}]),r}(Q);G1(Y1,"controlFieldType",l.FieldTypes.TIMESCOPE);var H1={Designer:Js,Runtime:Y1,Property:Ks};function Fr(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 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 Zs(e){return Zs=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zs(e)}function SO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 JQ(e,t){return t&&(QQ(t)==="object"||typeof t=="function")?t:Fr(e)}function NO(e,t){return NO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NO(e,t)}function QQ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ZQ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function IO(e){var t=ZQ();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 JQ(this,o)}}var eZ=function(e){SO(r,e);var t=IO(r);function r(n){$O(this,r);var o;return o=t.call(this,n),Zn(Fr(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Zn(Fr(o),"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Zn(Fr(o),"defaultValue",{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(He),tZ=function(e){SO(r,e);var t=IO(r);function r(n){$O(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(_e),yc=function(e){SO(r,e);var t=IO(r);function r(n){$O(this,r);var o;o=t.call(this,n),Zn(Fr(o),"maxLength",void 0),Zn(Fr(o),"minLength",void 0),Zn(Fr(o),"defaultValue",void 0),Zn(Fr(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 a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:dc.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:d.getMessage("pleaseEnter"),o.rowHeightSetting=new _g(n==null?void 0:n.rowHeightSetting),o}return r}(K);Zn(yc,"Rules",eZ),Zn(yc,"RuntimeRules",tZ);function z1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function rZ(e,t,r){return t&&W1(e.prototype,t),r&&W1(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 t_(e){return t_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},t_(e)}function oZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MO(e,t)}function iZ(e,t){return t&&(uZ(t)==="object"||typeof t=="function")?t:z1(e)}function MO(e,t){return MO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},MO(e,t)}function uZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lZ(e){var t=cZ();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 iZ(this,o)}}var dc=function(e){oZ(r,e);var t=lZ(r);function r(n){nZ(this,r);var o;return o=t.call(this,n),e_(z1(o),"props",void 0),o.props=new yc(n==null?void 0:n.props),o}return rZ(r,null,[{key:"controlName",get:function(){return d.getMessage("textarea")}},{key:"controlIcon",get:function(){return"iconMultilineline_new1"}},{key:"controlType",get:function(){return"textarea"}}]),r}(J);e_(dc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),e_(dc,"controlFieldType",l.FieldTypes.TEXT),e_(dc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.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 q1(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function aZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function K1(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fZ(e,t,r){return t&&K1(e.prototype,t),r&&K1(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 n_(e){return n_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},n_(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&&LO(e,t)}function _Z(e,t){return t&&(yZ(t)==="object"||typeof t=="function")?t:q1(e)}function LO(e,t){return LO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LO(e,t)}function yZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=dZ();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 _Z(this,o)}}var J1=function(e){sZ(r,e);var t=pZ(r);function r(n){aZ(this,r);var o;return o=t.call(this,n),X1(q1(o),"props",void 0),o.props=new yc(n==null?void 0:n.props),o}return fZ(r,null,[{key:"controlType",get:function(){return"textarea"}}]),r}(Q);X1(J1,"controlFieldType",l.FieldTypes.TEXT);var Q1={Designer:dc,Runtime:J1,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 kO(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 r_(e){return r_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},r_(e)}function AO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vZ(e,t){return t&&(hZ(t)==="object"||typeof t=="function")?t:po(e)}function DO(e,t){return DO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DO(e,t)}function hZ(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 BO(e){var t=gZ();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 vZ(this,o)}}var mZ=function(e){AO(r,e);var t=BO(r);function r(n){kO(this,r);var o;return o=t.call(this,n),Vr(po(o),"maxLength",{type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")}),Vr(po(o),"minLength",{type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")}),Vr(po(o),"defaultValue",{type:"string",max:200,min:0,message:d.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=d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength}),o}return r}(He),bZ=function(e){AO(r,e);var t=BO(r);function r(n){kO(this,r);var o;return o=t.call(this,n),o.push({type:"string",max:n.maxLength,min:n.minLength,message:d.getMessage("stringRangeError",{max:n.maxLength,min:n.minLength})}),o}return r}(_e),pc=function(e){AO(r,e);var t=BO(r);function r(n){kO(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 a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:vc.controlName;var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:d.getMessage("pleaseEnter"),o}return r}(K);Vr(pc,"Rules",mZ),Vr(pc,"RuntimeRules",bZ);function Z1(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 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 wZ(e,t,r){return t&&eA(e.prototype,t),r&&eA(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 i_(e){return i_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},i_(e)}function PZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&jO(e,t)}function TZ(e,t){return t&&(RZ(t)==="object"||typeof t=="function")?t:Z1(e)}function jO(e,t){return jO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jO(e,t)}function RZ(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 $Z(e){var t=EZ();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 TZ(this,o)}}var vc=function(e){PZ(r,e);var t=$Z(r);function r(n){OZ(this,r);var o;return o=t.call(this,n),o_(Z1(o),"props",void 0),o.props=new pc(n==null?void 0:n.props),o}return wZ(r,null,[{key:"controlName",get:function(){return d.getMessage("richText")}},{key:"controlIcon",get:function(){return"iconRichtextbox_new"}},{key:"controlType",get:function(){return"rich-text"}}]),r}(J);o_(vc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),o_(vc,"controlFieldType",l.FieldTypes.TEXT),o_(vc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.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 tA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function SZ(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function NZ(e,t,r){return t&&nA(e.prototype,t),r&&nA(e,r),e}function rA(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 IZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&CO(e,t)}function MZ(e,t){return t&&(LZ(t)==="object"||typeof t=="function")?t:tA(e)}function CO(e,t){return CO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},CO(e,t)}function LZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kZ();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 MZ(this,o)}}var oA=function(e){IZ(r,e);var t=AZ(r);function r(n){SZ(this,r);var o;return o=t.call(this,n),rA(tA(o),"props",void 0),o.props=new pc(n==null?void 0:n.props),o}return NZ(r,null,[{key:"controlType",get:function(){return"rich-text"}}]),r}(Q);rA(oA,"controlFieldType",l.FieldTypes.TEXT);var iA={Designer:vc,Runtime:oA,Property:pc};function Ct(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uA(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 c_(e){return c_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},c_(e)}function cA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 DZ(e,t){return t&&(BZ(t)==="object"||typeof t=="function")?t:Ct(e)}function FO(e,t){return FO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},FO(e,t)}function BZ(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 lA(e){var t=jZ();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 DZ(this,o)}}var CZ=function(e){cA(r,e);var t=lA(r);function r(n){uA(this,r);var o;return o=t.call(this,n),Ft(Ct(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(so),l_=function(e){cA(r,e);var t=lA(r);function r(n){uA(this,r);var o;o=t.call(this,n),Ft(Ct(o),"options",void 0),Ft(Ct(o),"defaultShowOptions",void 0),Ft(Ct(o),"optionConfig",void 0),Ft(Ct(o),"defaultValue",void 0),Ft(Ct(o),"datasourceBind",void 0),Ft(Ct(o),"multistageFilling",void 0),Ft(Ct(o),"allowCopyOptions",void 0),Ft(Ct(o),"openMultistageFilling",void 0),Ft(Ct(o),"viewFormModelType",void 0),Ft(Ct(o),"canViewForm",void 0),Ft(Ct(o),"formBind",void 0);var i;o.options=In((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 a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:f_.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:d.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 y;o.openMultistageFilling=(y=n==null?void 0:n.openMultistageFilling)!==null&&y!==void 0?y:!1,o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(h){var P;(P=o.multistageFilling)===null||P===void 0||P.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);Ft(l_,"Rules",CZ);function aA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function FZ(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 VZ(e,t,r){return t&&fA(e.prototype,t),r&&fA(e,r),e}function VO(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 xZ(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 UZ(e,t){return t&&(GZ(t)==="object"||typeof t=="function")?t:aA(e)}function xO(e,t){return xO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xO(e,t)}function GZ(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function YZ(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=YZ();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 UZ(this,o)}}var f_=function(e){xZ(r,e);var t=HZ(r);function r(n){FZ(this,r);var o;return o=t.call(this,n),VO(aA(o),"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return VZ(r,null,[{key:"controlName",get:function(){return d.getMessage("select")}},{key:"controlIcon",get:function(){return"iconxiala1"}},{key:"controlType",get:function(){return"select"}}]),r}(J);VO(f_,"controlFieldType",l.FieldTypes.VARCHAR),VO(f_,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,l.COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.CAN_VIEW_FORM,l.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function sA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zZ(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 WZ(e,t,r){return t&&_A(e.prototype,t),r&&_A(e,r),e}function yA(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 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&&UO(e,t)}function KZ(e,t){return t&&(XZ(t)==="object"||typeof t=="function")?t:sA(e)}function UO(e,t){return UO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UO(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=s_(e),o;if(t){var i=s_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return KZ(this,o)}}var dA=function(e){qZ(r,e);var t=QZ(r);function r(n){zZ(this,r);var o;return o=t.call(this,n),yA(sA(o),"props",void 0),o.props=new l_(n==null?void 0:n.props),o}return WZ(r,null,[{key:"controlType",get:function(){return"select"}}]),r}(Q);yA(dA,"controlFieldType",l.FieldTypes.VARCHAR);var pA={Designer:f_,Runtime:dA,Property:l_};function rn(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 Vt(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 YO(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ZZ(e,t){return t&&(eee(t)==="object"||typeof t=="function")?t:rn(e)}function HO(e,t){return HO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HO(e,t)}function eee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tee();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 ZZ(this,o)}}var nee=function(e){YO(r,e);var t=zO(r);function r(n){GO(this,r);var o;return o=t.call(this,n),Vt(rn(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(so),ree=function(e){YO(r,e);var t=zO(r);function r(n){GO(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),hc=function(e){YO(r,e);var t=zO(r);function r(n){GO(this,r);var o;o=t.call(this,n),Vt(rn(o),"options",void 0),Vt(rn(o),"defaultShowOptions",void 0),Vt(rn(o),"optionConfig",void 0),Vt(rn(o),"defaultValue",void 0),Vt(rn(o),"datasourceBind",void 0),Vt(rn(o),"multistageFilling",void 0),Vt(rn(o),"openMultistageFilling",void 0),Vt(rn(o),"viewFormModelType",void 0),Vt(rn(o),"canViewForm",void 0),Vt(rn(o),"formBind",void 0);var i;o.options=In((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 a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:d_.controlName;var f;o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:d.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 y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!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);Vt(hc,"Rules",nee),Vt(hc,"RuntimeRules",ree);function vA(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 hA(e,t){for(var r=0;r<t.length;r++){var 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&&hA(e.prototype,t),r&&hA(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 y_(e){return y_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},y_(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&&qO(e,t)}function cee(e,t){return t&&(lee(t)==="object"||typeof t=="function")?t:vA(e)}function qO(e,t){return qO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qO(e,t)}function lee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=aee();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 cee(this,o)}}var d_=function(e){uee(r,e);var t=fee(r);function r(n){oee(this,r);var o;return o=t.call(this,n),WO(vA(o),"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return iee(r,null,[{key:"controlName",get:function(){return d.getMessage("selectMultiple")}},{key:"controlIcon",get:function(){return"iconxialaduoxuan"}},{key:"controlType",get:function(){return"select-multiple"}}]),r}(J);WO(d_,"controlFieldType",l.FieldTypes.ARRAY),WO(d_,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.CAN_VIEW_FORM,l.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function gA(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 mA(e,t){for(var r=0;r<t.length;r++){var 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&&mA(e.prototype,t),r&&mA(e,r),e}function bA(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 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&&KO(e,t)}function dee(e,t){return t&&(pee(t)==="object"||typeof t=="function")?t:gA(e)}function KO(e,t){return KO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KO(e,t)}function pee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hee(e){var t=vee();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 dee(this,o)}}var OA=function(e){yee(r,e);var t=hee(r);function r(n){see(this,r);var o;return o=t.call(this,n),bA(gA(o),"props",void 0),o.props=new hc(n==null?void 0:n.props),o}return _ee(r,null,[{key:"controlType",get:function(){return"select-multiple"}}]),r}(Q);bA(OA,"controlFieldType",l.FieldTypes.ARRAY);var wA={Designer:d_,Runtime:OA,Property:hc};function er(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function PA(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 v_(e){return v_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},v_(e)}function TA(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gee(e,t){return t&&(mee(t)==="object"||typeof t=="function")?t:er(e)}function XO(e,t){return XO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},XO(e,t)}function mee(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 RA(e){var t=bee();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 gee(this,o)}}var Oee=function(e){TA(r,e);var t=RA(r);function r(n){PA(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),h_=function(e){TA(r,e);var t=RA(r);function r(n){PA(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 a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!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?_:m_.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:d.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(h_,"RuntimeRules",Oee);function EA(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 $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 Pee(e,t,r){return t&&$A(e.prototype,t),r&&$A(e,r),e}function JO(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 Tee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ree(e,t){return t&&(Eee(t)==="object"||typeof t=="function")?t:EA(e)}function QO(e,t){return QO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},QO(e,t)}function Eee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $ee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function See(e){var t=$ee();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 Ree(this,o)}}var m_=function(e){Tee(r,e);var t=See(r);function r(n){wee(this,r);var o;return o=t.call(this,n),JO(EA(o),"props",void 0),o.props=new h_(n==null?void 0:n.props),o}return Pee(r,null,[{key:"controlName",get:function(){return d.getMessage("people")}},{key:"controlIcon",get:function(){return"iconpeople1"}},{key:"controlType",get:function(){return"employee"}}]),r}(J);JO(m_,"controlFieldType",l.FieldTypes.EMPLOYEES),JO(m_,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.MULTIPLE,l.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 SA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NA(e,t){for(var r=0;r<t.length;r++){var 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&&NA(e.prototype,t),r&&NA(e,r),e}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 b_(e){return b_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},b_(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&&ZO(e,t)}function Lee(e,t){return t&&(kee(t)==="object"||typeof t=="function")?t:SA(e)}function ZO(e,t){return ZO=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZO(e,t)}function kee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Aee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dee(e){var t=Aee();return function(){var n=b_(e),o;if(t){var i=b_(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Lee(this,o)}}var MA=function(e){Mee(r,e);var t=Dee(r);function r(n){Nee(this,r);var o;return o=t.call(this,n),IA(SA(o),"props",void 0),o.props=new h_(n==null?void 0:n.props),o}return Iee(r,null,[{key:"controlType",get:function(){return"employee"}}]),r}(Q);IA(MA,"controlFieldType",l.FieldTypes.EMPLOYEES);var LA={Designer:m_,Runtime:MA,Property:h_};function hn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e0(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 O_(e){return O_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},O_(e)}function t0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bee(e,t){return t&&(jee(t)==="object"||typeof t=="function")?t:hn(e)}function n0(e,t){return n0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},n0(e,t)}function jee(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 r0(e){var t=Cee();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 Bee(this,o)}}var Fee=10485760,Vee=104857600,xee=1048576e3,Uee=function(e){t0(r,e);var t=r0(r);function r(n){e0(this,r);var o;return o=t.call(this,n),on(hn(o),"maxSize",{type:"number",min:0,max:xee,message:d.getMessage("attachmentMaxSize")}),o}return r}(He),Gee=function(e){t0(r,e);var t=r0(r);function r(n){e0(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:d.getMessage("attachmentLimitError",{max:n.maxLimit,min:n.minLimit})}),o}return r}(_e),ki=function(e){t0(r,e);var t=r0(r);function r(n){e0(this,r);var o;o=t.call(this,n),on(hn(o),"defaultValue",void 0),on(hn(o),"showType",void 0),on(hn(o),"resultShowType",void 0),on(hn(o),"attachmentAccept",void 0),on(hn(o),"maxLimit",void 0),on(hn(o),"minLimit",void 0),on(hn(o),"isShowWatermark",void 0),on(hn(o),"watermarkFx",void 0),on(hn(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 a;o.attachmentAccept=(a=n==null?void 0:n.attachmentAccept)!==null&&a!==void 0?a:[];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?_:Vee;var y;o.caption=(y=n==null?void 0:n.caption)!==null&&y!==void 0?y:Ai.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);on(ki,"Rules",Uee),on(ki,"RuntimeRules",Gee);function kA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yee(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 Hee(e,t,r){return t&&AA(e.prototype,t),r&&AA(e,r),e}function w_(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 zee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o0(e,t)}function Wee(e,t){return t&&(qee(t)==="object"||typeof t=="function")?t:kA(e)}function o0(e,t){return o0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},o0(e,t)}function qee(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kee(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xee(e){var t=Kee();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 Wee(this,o)}}var Ai=function(e){zee(r,e);var t=Xee(r);function r(n){Yee(this,r);var o;return o=t.call(this,n),w_(kA(o),"props",void 0),o.props=new ki(n==null?void 0:n.props),o}return Hee(r,null,[{key:"controlName",get:function(){return d.getMessage("file")}},{key:"controlIcon",get:function(){return"iconfujian2"}},{key:"controlType",get:function(){return"attachment"}}]),r}(J);w_(Ai,"controlEventKeys",["on_change"]),w_(Ai,"controlFieldType",l.FieldTypes.FILE),w_(Ai,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.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 DA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function BA(e,t){for(var r=0;r<t.length;r++){var 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&&BA(e.prototype,t),r&&BA(e,r),e}function jA(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 Zee(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ete(e,t){return t&&(tte(t)==="object"||typeof t=="function")?t:DA(e)}function i0(e,t){return i0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},i0(e,t)}function tte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rte(e){var t=nte();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 ete(this,o)}}var u0=function(e){Zee(r,e);var t=rte(r);function r(n){Jee(this,r);var o;return o=t.call(this,n),jA(DA(o),"props",void 0),o.props=new ki(n==null?void 0:n.props),o}return Qee(r,null,[{key:"controlType",get:function(){return"attachment"}}]),r}(Q);jA(u0,"controlFieldType",l.FieldTypes.FILE);var CA={Designer:Ai,Runtime:u0,Property:ki};function ote(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ite(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 ute(e,t,r){return t&&FA(e.prototype,t),r&&FA(e,r),e}function VA(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 cte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c0(e,t)}function lte(e,t){return t&&(ate(t)==="object"||typeof t=="function")?t:ote(e)}function c0(e,t){return c0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},c0(e,t)}function ate(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 ste(e){var t=fte();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 lte(this,o)}}var l0=function(e){cte(r,e);var t=ste(r);function r(n){ite(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 a;return o.props.placeholder=(a=n==null||(u=n.props)===null||u===void 0?void 0:u.placeholder)!==null&&a!==void 0?a:"\u4E0A\u4F20\u56FE\u7247",o}return ute(r,null,[{key:"controlName",get:function(){return d.getMessage("image")}},{key:"controlIcon",get:function(){return"iconpic_new"}},{key:"controlType",get:function(){return"image"}}]),r}(Ai);VA(l0,"controlFieldType",l.FieldTypes.IMAGE),VA(l0,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,l.COMMON_SETTING_TYPE.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function _te(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 xA(e,t){for(var r=0;r<t.length;r++){var 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&&xA(e.prototype,t),r&&xA(e,r),e}function E_(e){return E_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},E_(e)}function pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 vte(e,t){return t&&(hte(t)==="object"||typeof t=="function")?t:_te(e)}function a0(e,t){return a0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},a0(e,t)}function hte(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 mte(e){var t=gte();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 vte(this,o)}}var bte=function(e){pte(r,e);var t=mte(r);function r(n){yte(this,r);var o,i,u,c;o=t.call(this,n),o.props.showType="image";var a;o.props.maxLimit=(a=n==null||(i=n.props)===null||i===void 0?void 0:i.maxLimit)!==null&&a!==void 0?a: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 dte(r,null,[{key:"controlType",get:function(){return"image"}}]),r}(u0);function Ote(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 $_(e){return $_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$_(e)}function Pte(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tte(e,t){return t&&(Rte(t)==="object"||typeof t=="function")?t:Ote(e)}function f0(e,t){return f0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},f0(e,t)}function Rte(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 $te(e){var t=Ete();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 Tte(this,o)}}var Ste=function(e){Pte(r,e);var t=$te(r);function r(n){return wte(this,r),t.call(this,n)}return r}(ki),UA={Designer:l0,Runtime:bte,Property:Ste};function wt(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 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 S_(e){return S_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},S_(e)}function _0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y0(e,t)}function Nte(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 Ite(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 Mte(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Ite(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function Lte(e,t){return t&&(kte(t)==="object"||typeof t=="function")?t:wt(e)}function y0(e,t){return y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},y0(e,t)}function kte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ate(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function d0(e){var t=Ate();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 Lte(this,o)}}var Dte=function(e){_0(r,e);var t=d0(r);function r(n){s0(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:d.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=d.getMessage("pleaseEnterNumberRange",{max:i,min:u}),u&&i!==void 0&&(o.rangeMax={type:"number",min:u,message:d.getMessage("numberRangeSetError")}),o}return r}(so),Bte=function(e){_0(r,e);var t=d0(r);function r(n){s0(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:[Mte(Nte({},o[0]),{type:"number"}),{type:"number",min:u,max:i,message:d.getMessage(i===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:i,min:u})}],currency:{type:"string"}}}),o}return r}(_e),gc=function(e){_0(r,e);var t=d0(r);function r(n){s0(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 a;o.micrometer=(a=n==null?void 0:n.micrometer)!==null&&a!==void 0?a:!1;var f;o.precision=(f=n==null?void 0:n.precision)!==null&&f!==void 0?f:2,o.dataBind=new KN(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 ra({value:"name"})]});var _;o.defaultValue=new XN((_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:{amount:"",currency:l.AMOUNT_TYPE.CNY});var y;o.unitPosition=(y=n==null?void 0:n.unitPosition)!==null&&y!==void 0?y:"right",o.options=In(n==null?void 0:n.options);var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:mc.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:d.getMessage("pleaseEnter");var h;o.submitSelectCurrency=(h=n==null?void 0:n.submitSelectCurrency)!==null&&h!==void 0?h:!1;var P;return o.showUpperCase=(P=n==null?void 0:n.showUpperCase)!==null&&P!==void 0?P:!1,o}return r}(K);Ze(gc,"Rules",Dte),Ze(gc,"RuntimeRules",Bte);function GA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jte(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 Cte(e,t,r){return t&&YA(e.prototype,t),r&&YA(e,r),e}function N_(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function I_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?I_=Reflect.get:I_=function(o,i,u){var c=xte(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},I_(e,t,r||e)}function Di(e){return Di=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Di(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&&p0(e,t)}function Vte(e,t){return t&&(Ute(t)==="object"||typeof t=="function")?t:GA(e)}function p0(e,t){return p0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},p0(e,t)}function xte(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Di(e),e!==null););return e}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 Yte(e){var t=Gte();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 Vte(this,o)}}var mc=function(e){Fte(r,e);var t=Yte(r);function r(n){jte(this,r);var o;return o=t.call(this,n),N_(GA(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return Cte(r,[{key:"toDataBindModel",value:function(o){var i=I_(Di(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return d.getMessage("amount")}},{key:"controlType",get:function(){return"amount"}},{key:"controlIcon",get:function(){return"iconjine"}}]),r}(J);N_(mc,"controlEventKeys",["on_change","on_input","on_focus","on_blur"]),N_(mc,"controlFieldType",l.FieldTypes.MONEY),N_(mc,"setting",[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.SUBMIT_SELECT_CURRENCY,l.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:[l.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,l.COMMON_SETTING_TYPE.MICROMETER,l.COMMON_SETTING_TYPE.PRECISION],visible:!0},{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 Hte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zA(e,t){for(var r=0;r<t.length;r++){var 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&&zA(e.prototype,t),r&&zA(e,r),e}function WA(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 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&&v0(e,t)}function qte(e,t){return t&&(Kte(t)==="object"||typeof t=="function")?t:HA(e)}function v0(e,t){return v0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},v0(e,t)}function Kte(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xte(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Jte(e){var t=Xte();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 qte(this,o)}}var qA=function(e){Wte(r,e);var t=Jte(r);function r(n){Hte(this,r);var o;return o=t.call(this,n),WA(HA(o),"props",void 0),o.props=new gc(n==null?void 0:n.props),o}return zte(r,null,[{key:"controlType",get:function(){return"amount"}}]),r}(Q);WA(qA,"controlFieldType",l.FieldTypes.MONEY);var KA={Designer:mc,Runtime:qA,Property:gc};function xr(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 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 L_(e){return L_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},L_(e)}function g0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qte(e,t){return t&&(Zte(t)==="object"||typeof t=="function")?t:xr(e)}function m0(e,t){return m0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},m0(e,t)}function Zte(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 b0(e){var t=ene();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 Qte(this,o)}}var tne=function(e){g0(r,e);var t=b0(r);function r(n){h0(this,r);var o;return o=t.call(this,n),nr(xr(o),"totalScore",[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}]),nr(xr(o),"defaultValue",{type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")}),o.defaultValue.max=n.totalScore,o.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:0}),o}return r}(He),nne=function(e){g0(r,e);var t=b0(r);function r(n){h0(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:d.getMessage("scoreDefaultValueRange",{max:n.totalScore,min:i})}),o}return r}(_e),bc=function(e){g0(r,e);var t=b0(r);function r(n){h0(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:l.SCORE_TYPE.STAR;var a;o.isShowExplain=(a=n==null?void 0:n.isShowExplain)!==null&&a!==void 0?a:!0;var f;o.explain=(f=n==null||(i=n.explain)===null||i===void 0?void 0:i.map(function(y){return new Xa(y)}))!==null&&f!==void 0?f:Array(o.totalScore).fill(void 0).map(function(){return new Xa});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?_:Oc.controlName,o}return r}(K);nr(bc,"Rules",tne),nr(bc,"RuntimeRules",nne);function O0(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 rne(e){if(Array.isArray(e))return O0(e)}function XA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function one(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 ine(e,t,r){return t&&JA(e.prototype,t),r&&JA(e,r),e}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 A_(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?A_=Reflect.get:A_=function(o,i,u){var c=fne(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},A_(e,t,r||e)}function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bi(e)}function une(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cne(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function lne(){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 ane(e,t){return t&&(_ne(t)==="object"||typeof t=="function")?t:XA(e)}function w0(e,t){return w0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},w0(e,t)}function fne(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Bi(e),e!==null););return e}function sne(e){return rne(e)||cne(e)||yne(e)||lne()}function _ne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function yne(e,t){if(!!e){if(typeof e=="string")return O0(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 O0(e,t)}}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 pne(e){var t=dne();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 ane(this,o)}}var Oc=function(e){une(r,e);var t=pne(r);function r(n){one(this,r);var o;return o=t.call(this,n),k_(XA(o),"props",void 0),o.props=new bc(n==null?void 0:n.props),o}return ine(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,a=Array(c).fill(void 0).map(function(){return new Xa});(u=this.props.explain).push.apply(u,sne(a))}}A_(Bi(r.prototype),"postUpdate",this).call(this,o,i)}}],[{key:"controlName",get:function(){return d.getMessage("score")}},{key:"controlIcon",get:function(){return"iconpingfen"}},{key:"controlType",get:function(){return"score"}}]),r}(J);k_(Oc,"controlEventKeys",["on_change","on_click"]),k_(Oc,"controlFieldType",l.FieldTypes.DECIMAL),k_(Oc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.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 QA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ZA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function hne(e,t,r){return t&&ZA(e.prototype,t),r&&ZA(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 D_(e){return D_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},D_(e)}function gne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 mne(e,t){return t&&(bne(t)==="object"||typeof t=="function")?t:QA(e)}function P0(e,t){return P0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},P0(e,t)}function bne(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 wne(e){var t=One();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 mne(this,o)}}var tD=function(e){gne(r,e);var t=wne(r);function r(n){vne(this,r);var o;return o=t.call(this,n),eD(QA(o),"props",void 0),o.props=new bc(n==null?void 0:n.props),o}return hne(r,null,[{key:"controlType",get:function(){return"score"}}]),r}(Q);eD(tD,"controlFieldType",l.FieldTypes.DECIMAL);var nD={Designer:Oc,Runtime:tD,Property:bc};function B_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j_(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 oD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T0(e,t)}function Pne(e,t){return t&&(Tne(t)==="object"||typeof t=="function")?t:B_(e)}function T0(e,t){return T0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},T0(e,t)}function Tne(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 iD(e){var t=Rne();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 Pne(this,o)}}var Ene=function(e){oD(r,e);var t=iD(r);function r(n){rD(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:d.getMessage("pleaseSelectProvince")}}};n.addressType.includes("city")&&(i.fields.city={type:"string",required:n.required,message:d.getMessage("pleaseSelectCity")}),n.addressType.includes("district")&&(i.fields.district={type:"string",required:n.required,message:d.getMessage("pleaseSelectDistrict")}),o.push(i)}return o}return r}(_e),F_=function(e){oD(r,e);var t=iD(r);function r(n){rD(this,r);var o;o=t.call(this,n),j_(B_(o),"defaultValueType",void 0),j_(B_(o),"defaultValue",void 0),j_(B_(o),"addressType",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:x_.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 a;o.defaultValue=new ZN((a=n==null?void 0:n.defaultValue)!==null&&a!==void 0?a:{});var f;return o.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:d.getMessage("pleaseChooseAddress"),o}return r}(K);j_(F_,"RuntimeRules",Ene);function uD(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 cD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Sne(e,t,r){return t&&cD(e.prototype,t),r&&cD(e,r),e}function R0(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 Nne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Ine(e,t){return t&&(Mne(t)==="object"||typeof t=="function")?t:uD(e)}function E0(e,t){return E0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},E0(e,t)}function Mne(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Lne();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 Ine(this,o)}}var x_=function(e){Nne(r,e);var t=kne(r);function r(n){$ne(this,r);var o;return o=t.call(this,n),R0(uD(o),"props",void 0),o.props=new F_(n==null?void 0:n.props),o}return Sne(r,null,[{key:"controlName",get:function(){return d.getMessage("address")}},{key:"controlIcon",get:function(){return"icondizhi"}},{key:"controlType",get:function(){return"address"}}]),r}(J);R0(x_,"controlFieldType",l.FieldTypes.ADDRESS),R0(x_,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}]);function lD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ane(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 Dne(e,t,r){return t&&aD(e.prototype,t),r&&aD(e,r),e}function fD(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 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&&$0(e,t)}function jne(e,t){return t&&(Cne(t)==="object"||typeof t=="function")?t:lD(e)}function $0(e,t){return $0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$0(e,t)}function Cne(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 Vne(e){var t=Fne();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 jne(this,o)}}var sD=function(e){Bne(r,e);var t=Vne(r);function r(n){Ane(this,r);var o;return o=t.call(this,n),fD(lD(o),"props",void 0),o.props=new F_(n==null?void 0:n.props),o}return Dne(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);fD(sD,"controlFieldType",l.FieldTypes.ADDRESS);var _D={Designer:x_,Runtime:sD,Property:F_};function gn(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 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 G_(e){return G_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},G_(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&&S0(e,t)}function xne(e,t){return t&&(Une(t)==="object"||typeof t=="function")?t:gn(e)}function S0(e,t){return S0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},S0(e,t)}function Une(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pD(e){var t=Gne();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 xne(this,o)}}var Yne=function(e){dD(r,e);var t=pD(r);function r(n){yD(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){dD(r,e);var t=pD(r);function r(n){yD(this,r);var o;o=t.call(this,n),mn(gn(o),"showType",void 0),mn(gn(o),"range",void 0),mn(gn(o),"defaultValueType",void 0),mn(gn(o),"multiple",void 0),mn(gn(o),"rangeOptions",void 0),mn(gn(o),"defaultValue",void 0),mn(gn(o),"displayLevel",void 0),mn(gn(o),"showSubDept",void 0),mn(gn(o),"multistageFilling",void 0),mn(gn(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 a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"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 y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:wc.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:d.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(P){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new ht(P))})),o}return r}(K);mn(Y_,"RuntimeRules",Yne);function vD(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 hD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zne(e,t,r){return t&&hD(e.prototype,t),r&&hD(e,r),e}function H_(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?z_=Reflect.get:z_=function(o,i,u){var c=Kne(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},z_(e,t,r||e)}function ji(e){return ji=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ji(e)}function Wne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qne(e,t){return t&&(Xne(t)==="object"||typeof t=="function")?t:vD(e)}function N0(e,t){return N0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},N0(e,t)}function Kne(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ji(e),e!==null););return e}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=ji(e),o;if(t){var i=ji(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return qne(this,o)}}var wc=function(e){Wne(r,e);var t=Qne(r);function r(n){Hne(this,r);var o;return o=t.call(this,n),H_(vD(o),"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return zne(r,[{key:"toDataBindModel",value:function(o){var i=z_(ji(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{key:"controlIcon",get:function(){return"icondepartment_new"}},{key:"controlType",get:function(){return"department"}}]),r}(J);H_(wc,"controlName",d.getMessage("department")),H_(wc,"controlFieldType",l.FieldTypes.DEPARTMENTS),H_(wc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.MULTIPLE,l.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 gD(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 mD(e,t){for(var r=0;r<t.length;r++){var 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&&mD(e.prototype,t),r&&mD(e,r),e}function bD(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 tre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nre(e,t){return t&&(rre(t)==="object"||typeof t=="function")?t:gD(e)}function I0(e,t){return I0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},I0(e,t)}function rre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ore(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ire(e){var t=ore();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 nre(this,o)}}var OD=function(e){tre(r,e);var t=ire(r);function r(n){Zne(this,r);var o;return o=t.call(this,n),bD(gD(o),"props",void 0),o.props=new Y_(n==null?void 0:n.props),o}return ere(r,null,[{key:"controlType",get:function(){return"department"}}]),r}(Q);bD(OD,"controlFieldType",l.FieldTypes.DEPARTMENTS);var wD={Designer:wc,Runtime:OD,Property:Y_};function PD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ure(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cre(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 lre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 are(e,t){return t&&(fre(t)==="object"||typeof t=="function")?t:PD(e)}function M0(e,t){return M0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},M0(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 _re(e){var t=sre();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 are(this,o)}}var L0=function(e){lre(r,e);var t=_re(r);function r(n){ure(this,r);var o;o=t.call(this,n),cre(PD(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:d.getMessage("pleaseEnterAutonumber"),o}return r}(K);function TD(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 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 dre(e,t,r){return t&&RD(e.prototype,t),r&&RD(e,r),e}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 X_(e){return X_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},X_(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&&k0(e,t)}function vre(e,t){return t&&(hre(t)==="object"||typeof t=="function")?t:TD(e)}function k0(e,t){return k0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},k0(e,t)}function hre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function gre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function mre(e){var t=gre();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 vre(this,o)}}var Pc=function(e){pre(r,e);var t=mre(r);function r(n){yre(this,r);var o;return o=t.call(this,n),K_(TD(o),"props",void 0),o.props=new L0(n==null?void 0:n.props),o}return dre(r,null,[{key:"controlName",get:function(){return d.getMessage("autoNumber")}},{key:"controlIcon",get:function(){return"iconnumber_new"}},{key:"controlType",get:function(){return"auto-number"}}]),r}(J);K_(Pc,"controlEventKeys",["on_change"]),K_(Pc,"controlFieldType",l.FieldTypes.AUTO_NUMBER),K_(Pc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{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 bre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $D(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ore(e,t,r){return t&&$D(e.prototype,t),r&&$D(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 J_(e){return J_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},J_(e)}function wre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Pre(e,t){return t&&(Tre(t)==="object"||typeof t=="function")?t:ED(e)}function A0(e,t){return A0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},A0(e,t)}function Tre(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 Ere(e){var t=Rre();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 Pre(this,o)}}var ND=function(e){wre(r,e);var t=Ere(r);function r(n){bre(this,r);var o;return o=t.call(this,n),SD(ED(o),"props",void 0),o.props=new L0(n==null?void 0:n.props),o}return Ore(r,null,[{key:"controlType",get:function(){return"auto-number"}}]),r}(Q);SD(ND,"controlFieldType",l.FieldTypes.AUTO_NUMBER);var ID={Designer:Pc,Runtime:ND,Property:L0};function An(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 bn(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 B0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $re(e,t){return t&&(Sre(t)==="object"||typeof t=="function")?t:An(e)}function j0(e,t){return j0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},j0(e,t)}function Sre(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 C0(e){var t=Nre();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 $re(this,o)}}var Ire=function(e){B0(r,e);var t=C0(r);function r(n){D0(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}(He),Mre=function(e){B0(r,e);var t=C0(r);function r(n){D0(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="object"),o.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}}),o}return r}(_e),Tc=function(e){B0(r,e);var t=C0(r);function r(n){D0(this,r);var o;o=t.call(this,n),bn(An(o),"precision",void 0),bn(An(o),"micrometer",void 0),bn(An(o),"showUpperCase",void 0),bn(An(o),"scriptSrc",void 0),bn(An(o),"scriptEcho",void 0),bn(An(o),"dataBind",void 0),bn(An(o),"defaultValue",void 0),bn(An(o),"unitPosition",void 0),bn(An(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 eI(n==null?void 0:n.dataBind),o.defaultValue=new tI(n==null?void 0:n.defaultValue);var a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Rc.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:d.getMessage("pleaseEnter");var _;o.scriptEcho=(_=n==null?void 0:n.scriptEcho)!==null&&_!==void 0?_:[];var y;o.scriptSrc=(y=n==null?void 0:n.scriptSrc)!==null&&y!==void 0?y:"";var p;return o.calcOnMounted=(p=n==null?void 0:n.calcOnMounted)!==null&&p!==void 0?p:!1,o}return r}(K);bn(Tc,"Rules",Ire),bn(Tc,"RuntimeRules",Mre);function MD(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 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 kre(e,t,r){return t&&LD(e.prototype,t),r&&LD(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 ey(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?ey=Reflect.get:ey=function(o,i,u){var c=Bre(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},ey(e,t,r||e)}function Ci(e){return Ci=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ci(e)}function Are(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dre(e,t){return t&&(jre(t)==="object"||typeof t=="function")?t:MD(e)}function F0(e,t){return F0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},F0(e,t)}function Bre(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ci(e),e!==null););return e}function jre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fre(e){var t=Cre();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 Dre(this,o)}}var Rc=function(e){Are(r,e);var t=Fre(r);function r(n){Lre(this,r);var o;return o=t.call(this,n),Z_(MD(o),"props",void 0),o.props=new Tc(n==null?void 0:n.props),o}return kre(r,[{key:"toDataBindModel",value:function(o){var i=ey(Ci(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}],[{key:"controlName",get:function(){return d.getMessage("calc")}},{key:"controlType",get:function(){return"calc"}},{key:"controlIcon",get:function(){return"iconcalculation_new"}}]),r}(J);Z_(Rc,"controlEventKeys",["on_change"]),Z_(Rc,"controlFieldType",l.FieldTypes.CALC),Z_(Rc,"setting",[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.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:[l.COMMON_SETTING_TYPE.SHOW_UPPER_CASE,l.COMMON_SETTING_TYPE.MICROMETER,l.COMMON_SETTING_TYPE.PRECISION],visible:!0},{key:"super-setting",visible:!0}]);function kD(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 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 xre(e,t,r){return t&&AD(e.prototype,t),r&&AD(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 ty(e){return ty=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ty(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&&V0(e,t)}function Gre(e,t){return t&&(Yre(t)==="object"||typeof t=="function")?t:kD(e)}function V0(e,t){return V0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},V0(e,t)}function Yre(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Hre(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Hre();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 Gre(this,o)}}var BD=function(e){Ure(r,e);var t=zre(r);function r(n){Vre(this,r);var o;return o=t.call(this,n),DD(kD(o),"props",void 0),o.props=new Tc(n==null?void 0:n.props),o}return xre(r,null,[{key:"controlType",get:function(){return"calc"}}]),r}(Q);DD(BD,"controlFieldType",l.FieldTypes.CALC);var jD={Designer:Rc,Runtime:BD,Property:Tc};function Fi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function CD(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 ny(e){return ny=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ny(e)}function FD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Wre(e,t){return t&&(qre(t)==="object"||typeof t=="function")?t:Fi(e)}function x0(e,t){return x0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},x0(e,t)}function qre(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 VD(e){var t=Kre();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 Wre(this,o)}}var Xre=function(e){FD(r,e);var t=VD(r);function r(n){CD(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 a=c.every(function(f){return!f});return a?Promise.reject(d.getMessage("runtimeRequired",{caption:n.caption})):Promise.resolve()}else return Promise.resolve()}}),o}return r}(_e),ry=function(e){FD(r,e);var t=VD(r);function r(n){CD(this,r);var o;o=t.call(this,n),Vi(Fi(o),"rangeMin",void 0),Vi(Fi(o),"rangeMax",void 0),Vi(Fi(o),"placeholderStart",void 0),Vi(Fi(o),"placeholderEnd",void 0),Vi(Fi(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 a;o.placeholderStart=(a=n==null?void 0:n.placeholderStart)!==null&&a!==void 0?a:"\u6700\u5C0F\u503C";var f;o.placeholderEnd=(f=n==null?void 0:n.placeholderEnd)!==null&&f!==void 0?f:"\u6700\u5927\u503C";var s;return o.caption=(s=n==null?void 0:n.caption)!==null&&s!==void 0?s:iy.controlName,o}return r}(K);Vi(ry,"RuntimeRules",Xre);function xD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jre(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 Qre(e,t,r){return t&&UD(e.prototype,t),r&&UD(e,r),e}function U0(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 Zre(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 eoe(e,t){return t&&(toe(t)==="object"||typeof t=="function")?t:xD(e)}function G0(e,t){return G0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},G0(e,t)}function toe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function noe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function roe(e){var t=noe();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 eoe(this,o)}}var iy=function(e){Zre(r,e);var t=roe(r);function r(n){Jre(this,r);var o;return o=t.call(this,n),U0(xD(o),"props",void 0),o.props=new ry(n==null?void 0:n.props),o}return Qre(r,null,[{key:"controlName",get:function(){return d.getMessage("searchNumberRange")}},{key:"controlIcon",get:function(){return"iconshuziqujian"}},{key:"controlType",get:function(){return"search-number-range"}}]),r}(J);U0(iy,"controlFieldType",l.FieldTypes.DECIMAL_RANGE),U0(iy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function GD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ooe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function YD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ioe(e,t,r){return t&&YD(e.prototype,t),r&&YD(e,r),e}function HD(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 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&&Y0(e,t)}function coe(e,t){return t&&(loe(t)==="object"||typeof t=="function")?t:GD(e)}function Y0(e,t){return Y0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Y0(e,t)}function loe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function foe(e){var t=aoe();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 coe(this,o)}}var zD=function(e){uoe(r,e);var t=foe(r);function r(n){ooe(this,r);var o;return o=t.call(this,n),HD(GD(o),"props",void 0),o.props=new ry(n==null?void 0:n.props),o}return ioe(r,null,[{key:"controlType",get:function(){return"search-number-range"}}]),r}(Q);HD(zD,"controlFieldType",l.FieldTypes.DECIMAL_RANGE);var WD={Designer:iy,Runtime:zD,Property:ry};function On(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qD(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wn(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 KD(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 soe(e,t){return t&&(_oe(t)==="object"||typeof t=="function")?t:On(e)}function H0(e,t){return H0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},H0(e,t)}function _oe(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 XD(e){var t=yoe();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 soe(this,o)}}var doe=function(e){KD(r,e);var t=XD(r);function r(n){qD(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),ly=function(e){KD(r,e);var t=XD(r);function r(n){qD(this,r);var o,i;o=t.call(this,n),wn(On(o),"rangeMin",void 0),wn(On(o),"rangeMax",void 0),wn(On(o),"placeholderStart",void 0),wn(On(o),"placeholderEnd",void 0),wn(On(o),"dateType",void 0),wn(On(o),"dateFormat",void 0),wn(On(o),"commonTimeSetting",void 0),wn(On(o),"setValueType",void 0),wn(On(o),"defaultValue",void 0),wn(On(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:l.DateType.DATE;var a;o.dateFormat=(a=n==null?void 0:n.dateFormat)!==null&&a!==void 0?a:"";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 y;o.rangeMax=(y=n==null?void 0:n.rangeMax)!==null&&y!==void 0?y:"";var p;o.placeholderStart=(p=n==null?void 0:n.placeholderStart)!==null&&p!==void 0?p:d.getMessage("startDate");var m;o.placeholderEnd=(m=n==null?void 0:n.placeholderEnd)!==null&&m!==void 0?m:d.getMessage("endDate");var h;o.caption=(h=n==null?void 0:n.caption)!==null&&h!==void 0?h:fy.controlName;var P;return o.limitDateList=(P=n==null||(i=n.limitDateList)===null||i===void 0?void 0:i.map(function(v){return new Ka(v)}))!==null&&P!==void 0?P:[],o}return r}(K);wn(ly,"RuntimeRules",doe);function JD(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function poe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function voe(e,t,r){return t&&QD(e.prototype,t),r&&QD(e,r),e}function z0(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 hoe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 goe(e,t){return t&&(moe(t)==="object"||typeof t=="function")?t:JD(e)}function W0(e,t){return W0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},W0(e,t)}function moe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function boe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ooe(e){var t=boe();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 goe(this,o)}}var fy=function(e){hoe(r,e);var t=Ooe(r);function r(n){poe(this,r);var o;return o=t.call(this,n),z0(JD(o),"props",void 0),o.props=new ly(n==null?void 0:n.props),o}return voe(r,null,[{key:"controlName",get:function(){return d.getMessage("timescope")}},{key:"controlIcon",get:function(){return"iconriqiqujian"}},{key:"controlType",get:function(){return"search-date-range"}}]),r}(J);z0(fy,"controlFieldType",l.FieldTypes.ARRAY),z0(fy,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}]);function ZD(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 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 Poe(e,t,r){return t&&eB(e.prototype,t),r&&eB(e,r),e}function tB(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 Toe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&q0(e,t)}function Roe(e,t){return t&&(Eoe(t)==="object"||typeof t=="function")?t:ZD(e)}function q0(e,t){return q0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},q0(e,t)}function Eoe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $oe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Soe(e){var t=$oe();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 Roe(this,o)}}var nB=function(e){Toe(r,e);var t=Soe(r);function r(n){woe(this,r);var o;return o=t.call(this,n),tB(ZD(o),"props",void 0),o.props=new ly(n==null?void 0:n.props),o}return Poe(r,null,[{key:"controlType",get:function(){return"search-date-range"}}]),r}(Q);tB(nB,"controlFieldType",l.FieldTypes.ARRAY);var rB={Designer:fy,Runtime:nB,Property:ly};function Ec(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K0(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 _y(e){return _y=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_y(e)}function X0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Noe(e,t){return t&&(Ioe(t)==="object"||typeof t=="function")?t:Ec(e)}function J0(e,t){return J0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},J0(e,t)}function Ioe(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 Q0(e){var t=Moe();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 Noe(this,o)}}var Loe=function(e){X0(r,e);var t=Q0(r);function r(n){K0(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(He),koe=function(e){X0(r,e);var t=Q0(r);function r(n){K0(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(_e),$c=function(e){X0(r,e);var t=Q0(r);function r(n){K0(this,r);var o;o=t.call(this,n),xi(Ec(o),"controlExportName",void 0),xi(Ec(o),"permissions",void 0),xi(Ec(o),"defaultValue",void 0),xi(Ec(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 a;o.permissions=(a=n==null?void 0:n.permissions)!==null&&a!==void 0?a:[];var f;return o.isInlineEdit=(f=n==null?void 0:n.isInlineEdit)!==null&&f!==void 0?f:!1,o}return r}(K);xi($c,"Rules",Loe),xi($c,"RuntimeRules",koe);function oB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aoe(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 Doe(e,t,r){return t&&iB(e.prototype,t),r&&iB(e,r),e}function Sc(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 Boe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 joe(e,t){return t&&(Coe(t)==="object"||typeof t=="function")?t:oB(e)}function Z0(e,t){return Z0=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Z0(e,t)}function Coe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Foe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Foe();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 joe(this,o)}}var Ui=function(e){Boe(r,e);var t=Voe(r);function r(n){Aoe(this,r);var o;return o=t.call(this,n),Sc(oB(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return Doe(r,null,[{key:"controlName",get:function(){return d.getMessage("vueFormItem")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return"vue-form-item"}}]),r}(J);Sc(Ui,"controlFieldType",l.FieldTypes.ANY),Sc(Ui,"controlEventKeys",[]),Sc(Ui,"slots",["grid-table-toolbar-slot",Xv.DEFAULT]),Sc(Ui,"setting",[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,l.COMMON_SETTING_TYPE.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}]);function uB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function cB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uoe(e,t,r){return t&&cB(e.prototype,t),r&&cB(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 dy(e){return dy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dy(e)}function Goe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yoe(e,t){return t&&(Hoe(t)==="object"||typeof t=="function")?t:uB(e)}function ew(e,t){return ew=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ew(e,t)}function Hoe(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 Woe(e){var t=zoe();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 Yoe(this,o)}}var aB=function(e){Goe(r,e);var t=Woe(r);function r(n){xoe(this,r);var o;return o=t.call(this,n),lB(uB(o),"props",void 0),o.props=new $c(n==null?void 0:n.props),o}return Uoe(r,null,[{key:"controlType",get:function(){return"vue-form-item"}}]),r}(Q);lB(aB,"controlFieldType",l.FieldTypes.ANY);var fB={Designer:Ui,Runtime:aB,Property:$c};function et(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 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 py(e){return py=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},py(e)}function _B(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 qoe(e,t){return t&&(Koe(t)==="object"||typeof t=="function")?t:et(e)}function tw(e,t){return tw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tw(e,t)}function Koe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Xoe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yB(e){var t=Xoe();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 qoe(this,o)}}var Joe=function(e){_B(r,e);var t=yB(r);function r(n){sB(this,r);var o;return o=t.call(this,n),tt(et(o),"listPageBind",[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]),tt(et(o),"formBind",{type:"object",fields:{formKey:{type:"string",message:d.getMessage("pleaseEnterForm")}}}),n.canViewForm===!0&&(o.formBind.fields.formKey.required=!0),o}return r}(so),vy=function(e){_B(r,e);var t=yB(r);function r(n){sB(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=In((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 ta(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:Nc.controlName;var a;o.placeholder=(a=n==null?void 0:n.placeholder)!==null&&a!==void 0?a:d.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 oa(n==null?void 0:n.selectedContentConfig),o.multistageFilling=[],Array.isArray(n==null?void 0:n.multistageFilling)&&(n==null||n.multistageFilling.map(function(P){var v;(v=o.multistageFilling)===null||v===void 0||v.push(new ht(P))}));var y;o.canViewForm=(y=n==null?void 0:n.canViewForm)!==null&&y!==void 0?y:!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(vy,"Rules",Joe);function dB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qoe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pB(e,t){for(var r=0;r<t.length;r++){var 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&&pB(e.prototype,t),r&&pB(e,r),e}function hy(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?gy=Reflect.get:gy=function(o,i,u){var c=nie(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},gy(e,t,r||e)}function Gi(e){return Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gi(e)}function eie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tie(e,t){return t&&(rie(t)==="object"||typeof t=="function")?t:dB(e)}function nw(e,t){return nw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nw(e,t)}function nie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Gi(e),e!==null););return e}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 iie(e){var t=oie();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 tie(this,o)}}var Nc=function(e){eie(r,e);var t=iie(r);function r(n){Qoe(this,r);var o;return o=t.call(this,n),hy(dB(o),"props",void 0),o.props=new vy(n==null?void 0:n.props),o}return Zoe(r,[{key:"toDataBindModel",value:function(o){var i=gy(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 d.getMessage("selectRelation")}},{key:"controlIcon",get:function(){return"iconguanliandanxuan"}},{key:"controlType",get:function(){return"select-relation"}}]),r}(J);hy(Nc,"controlFieldType",l.FieldTypes.VARCHAR),hy(Nc,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,l.COMMON_SETTING_TYPE.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.CAN_VIEW_FORM,l.COMMON_SETTING_TYPE.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}]),hy(Nc,"controlEventKeys",["on_change","on_focus","on_blur","on_modal_ok"]);function vB(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 hB(e,t){for(var r=0;r<t.length;r++){var 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&&hB(e.prototype,t),r&&hB(e,r),e}function gB(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 lie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aie(e,t){return t&&(fie(t)==="object"||typeof t=="function")?t:vB(e)}function rw(e,t){return rw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rw(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=my(e),o;if(t){var i=my(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return aie(this,o)}}var mB=function(e){lie(r,e);var t=_ie(r);function r(n){uie(this,r);var o;return o=t.call(this,n),gB(vB(o),"props",void 0),o.props=new vy(n==null?void 0:n.props),o}return cie(r,null,[{key:"controlType",get:function(){return"select-relation"}}]),r}(Q);gB(mB,"controlFieldType",l.FieldTypes.VARCHAR);var bB={Designer:Nc,Runtime:mB,Property:vy};function yie(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 by(e){return by=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},by(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&&ow(e,t)}function vie(e,t){return t&&(hie(t)==="object"||typeof t=="function")?t:yie(e)}function ow(e,t){return ow=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ow(e,t)}function hie(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 mie(e){var t=gie();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 vie(this,o)}}var iw=function(e){pie(r,e);var t=mie(r);function r(n){return die(this,r),t.call(this,n)}return r}(Si);function OB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bie(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 Oie(e,t,r){return t&&wB(e.prototype,t),r&&wB(e,r),e}function PB(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 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&&uw(e,t)}function Pie(e,t){return t&&(Tie(t)==="object"||typeof t=="function")?t:OB(e)}function uw(e,t){return uw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uw(e,t)}function Tie(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 Eie(e){var t=Rie();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 Pie(this,o)}}var TB=function(e){wie(r,e);var t=Eie(r);function r(n){bie(this,r);var o;return o=t.call(this,n),PB(OB(o),"props",void 0),o.props=new iw(n==null?void 0:n.props),o}return Oie(r,null,[{key:"controlName",get:function(){return d.getMessage("input")}},{key:"controlType",get:function(){return"search-input"}}]),r}(Ni);PB(TB,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.REQUIRED]},{key:"super-setting",visible:!0}]);function RB(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 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 Sie(e,t,r){return t&&EB(e.prototype,t),r&&EB(e,r),e}function $B(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 Nie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Iie(e,t){return t&&(Mie(t)==="object"||typeof t=="function")?t:RB(e)}function cw(e,t){return cw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cw(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 kie(e){var t=Lie();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 Iie(this,o)}}var SB=function(e){Nie(r,e);var t=kie(r);function r(n){$ie(this,r);var o;return o=t.call(this,n),$B(RB(o),"props",void 0),o.props=new iw(n==null?void 0:n.props),o}return Sie(r,null,[{key:"controlType",get:function(){return"search-input"}}]),r}(Q);$B(SB,"controlFieldType",l.FieldTypes.VARCHAR);var NB={Designer:TB,Runtime:SB,Property:iw};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 Me(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 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&&fw(e,t)}function Aie(e,t){return t&&(Die(t)==="object"||typeof t=="function")?t:Ie(e)}function fw(e,t){return fw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fw(e,t)}function Die(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 sw(e){var t=Bie();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 Aie(this,o)}}var jie=function(e){aw(r,e);var t=sw(r);function r(n){lw(this,r);var o;return o=t.call(this,n),Me(Ie(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Ku.call(Ie(o),n,Ur.controlCustomAttributes,!0),o.datasourceBind[1].fields&&(o.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}]),o}return r}(He),Cie=function(e){aw(r,e);var t=sw(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),Ic=function(e){aw(r,e);var t=sw(r);function r(n){lw(this,r);var o,i;o=t.call(this,n),Me(Ie(o),"placeholder",void 0),Me(Ie(o),"multiple",void 0),Me(Ie(o),"canSearch",void 0),Me(Ie(o),"levelType",void 0),Me(Ie(o),"optionalLevel",void 0),Me(Ie(o),"containsSubNode",void 0),Me(Ie(o),"defaultDisplay",void 0),Me(Ie(o),"isShowIncludeSub",void 0),Me(Ie(o),"isDefaultCheckSub",void 0),Me(Ie(o),"isShowFilterItem",void 0),Me(Ie(o),"defaultCollapse",void 0),Me(Ie(o),"defaultCollapseLevel",void 0),Me(Ie(o),"optionConfig","datasource"),Me(Ie(o),"datasourceBind",void 0),Me(Ie(o),"filterItemDatasourceBind",void 0),Me(Ie(o),"multistageFilling",void 0),Me(Ie(o),"defaultValue",void 0),Me(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:d.getMessage("pleaseSelect");var a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!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 y;o.containsSubNode=(y=n==null?void 0:n.containsSubNode)!==null&&y!==void 0?y:!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 P;o.defaultCollapse=(P=n==null?void 0:n.defaultCollapse)!==null&&P!==void 0?P:"all";var v;o.defaultCollapseLevel=(v=n==null?void 0:n.defaultCollapseLevel)!==null&&v!==void 0?v:1;var $;o.datasourceBind=new hg(($=n==null?void 0:n.datasourceBind)!==null&&$!==void 0?$:{attributes:Ur.controlCustomAttributes});var b;o.filterItemDatasourceBind=new hg((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 R;o.multistageFilling=(R=n==null||(i=n.multistageFilling)===null||i===void 0?void 0:i.map(function(I){return new ht(I)}))!==null&&R!==void 0?R:[];var E;return o.defaultValue=(E=n==null?void 0:n.defaultValue)!==null&&E!==void 0?E:[],o}return r}(K);Me(Ic,"Rules",jie),Me(Ic,"RuntimeRules",Cie);function IB(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 MB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vie(e,t,r){return t&&MB(e.prototype,t),r&&MB(e,r),e}function Ty(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 xie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_w(e,t)}function Uie(e,t){return t&&(Gie(t)==="object"||typeof t=="function")?t:IB(e)}function _w(e,t){return _w=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_w(e,t)}function Gie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Yie();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 Uie(this,o)}}var Ur=function(e){xie(r,e);var t=Hie(r);function r(n){Fie(this,r);var o;return o=t.call(this,n),Ty(IB(o),"props",void 0),o.props=new Ic(n==null?void 0:n.props),o}return Vie(r,null,[{key:"controlName",get:function(){return d.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);Ty(Ur,"controlEventKeys",["on_change","on_click"]),Ty(Ur,"controlFieldType",l.FieldTypes.ARRAY),Ty(Ur,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.MULTIPLE,l.COMMON_SETTING_TYPE.CAN_SEARCH,l.COMMON_SETTING_TYPE.DEFAULT_DISPLAY,l.COMMON_SETTING_TYPE.CONTAINS_SUB_NODE,l.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 LB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zie(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wie(e,t,r){return t&&kB(e.prototype,t),r&&kB(e,r),e}function AB(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 qie(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kie(e,t){return t&&(Xie(t)==="object"||typeof t=="function")?t:LB(e)}function yw(e,t){return yw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yw(e,t)}function Xie(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jie(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qie(e){var t=Jie();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 Kie(this,o)}}var DB=function(e){qie(r,e);var t=Qie(r);function r(n){zie(this,r);var o;return o=t.call(this,n),AB(LB(o),"props",void 0),o.props=new Ic(n==null?void 0:n.props),o}return Wie(r,null,[{key:"controlType",get:function(){return"tree"}}]),r}(Q);AB(DB,"controlFieldType",l.FieldTypes.ARRAY);var BB={Designer:Ur,Runtime:DB,Property:Ic};function nt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dw(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 $y(e){return $y=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$y(e)}function pw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&vw(e,t)}function Zie(e,t){return t&&(eue(t)==="object"||typeof t=="function")?t:nt(e)}function vw(e,t){return vw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vw(e,t)}function eue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hw(e){var t=tue();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 Zie(this,o)}}var nue=function(e){pw(r,e);var t=hw(r);function r(n){dw(this,r);var o;return o=t.call(this,n),rt(nt(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),rt(nt(o),"externalScope",{type:"any"}),Ku.call(nt(o),n,Yi.controlCustomAttributes),n.externalType===l.AssignType.ASSIGN&&(o.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")}),o}return r}(He),rue=function(e){pw(r,e);var t=hw(r);function r(n){dw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Mc=function(e){pw(r,e);var t=hw(r);function r(n){dw(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 a;o.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!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?_:Yi.controlName;var y;o.placeholder=(y=n==null?void 0:n.placeholder)!==null&&y!==void 0?y:d.getMessage("pleaseEnterNameorEmail");var p;o.datasourceBind=new Yu((p=n==null?void 0:n.datasourceBind)!==null&&p!==void 0?p:{attributes:Yi.controlCustomAttributes});var m;o.datasourceType=(m=n==null?void 0:n.datasourceType)!==null&&m!==void 0?m:l.OrganizeType.INTERNAL;var h;o.insideType=(h=n==null?void 0:n.insideType)!==null&&h!==void 0?h:l.InternalType.ADMIN;var P;o.externalType=(P=n==null?void 0:n.externalType)!==null&&P!==void 0?P:l.AssignType.ALL;var v;o.externalScope=(v=n==null?void 0:n.externalScope)!==null&&v!==void 0?v:[];var $;return 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(b){var O;(O=o.multistageFilling)===null||O===void 0||O.push(new ht(b))})),o}return r}(K);rt(Mc,"Rules",nue),rt(Mc,"RuntimeRules",rue);function jB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function oue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CB(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function iue(e,t,r){return t&&CB(e.prototype,t),r&&CB(e,r),e}function gw(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 uue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 cue(e,t){return t&&(lue(t)==="object"||typeof t=="function")?t:jB(e)}function mw(e,t){return mw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mw(e,t)}function lue(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 fue(e){var t=aue();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 cue(this,o)}}var Yi=function(e){uue(r,e);var t=fue(r);function r(n){oue(this,r);var o;return o=t.call(this,n),gw(jB(o),"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return iue(r,null,[{key:"controlName",get:function(){return d.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);gw(Yi,"controlFieldType",l.FieldTypes.EMPLOYEES),gw(Yi,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.MULTIPLE,l.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 FB(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 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 _ue(e,t,r){return t&&VB(e.prototype,t),r&&VB(e,r),e}function xB(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 yue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 due(e,t){return t&&(pue(t)==="object"||typeof t=="function")?t:FB(e)}function bw(e,t){return bw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bw(e,t)}function pue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hue(e){var t=vue();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 due(this,o)}}var UB=function(e){yue(r,e);var t=hue(r);function r(n){sue(this,r);var o;return o=t.call(this,n),xB(FB(o),"props",void 0),o.props=new Mc(n==null?void 0:n.props),o}return _ue(r,null,[{key:"controlType",get:function(){return"employee2"}}]),r}(Q);xB(UB,"controlFieldType",l.FieldTypes.EMPLOYEES);var GB={Designer:Yi,Runtime:UB,Property:Mc};function Dn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function YB(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bn(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 HB(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gue(e,t){return t&&(mue(t)==="object"||typeof t=="function")?t:Dn(e)}function Ow(e,t){return Ow=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ow(e,t)}function mue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=bue();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 gue(this,o)}}var Oue=function(e){HB(r,e);var t=zB(r);function r(n){YB(this,r);var o;return o=t.call(this,n),Bn(Dn(o),"signatureConfig",void 0),o.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:d.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:d.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:d.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator:function(f,s,_){if(u.type==="public"&&lo(s.value)&&s.value.length===0){_(d.getMessage("pleaseSelectPhoneOrEmail"));return}_()}},company:{type:"object",required:!0,validator:function(f,s,_){if(u.type==="public"&&u.signatureType.includes("company")&&lo(s.value)&&s.value.length===0){_(d.getMessage("pleaseSelectCompanyName"));return}_()}}}},i},{})}}},o}return r}(He),My=function(e){HB(r,e);var t=zB(r);function r(n){YB(this,r);var o;o=t.call(this,n),Bn(Dn(o),"buttonType",void 0),Bn(Dn(o),"content",void 0),Bn(Dn(o),"showType",void 0),Bn(Dn(o),"color",void 0),Bn(Dn(o),"icon",void 0),Bn(Dn(o),"command",""),Bn(Dn(o),"isLoading",!1),Bn(Dn(o),"signatureConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Lc.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 a;o.showType=(a=n==null?void 0:n.showType)!==null&&a!==void 0?a:"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 sM(n==null?void 0:n.signatureConfig),o}return r}(K);Bn(My,"Rules",Oue);function WB(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wue(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 Pue(e,t,r){return t&&qB(e.prototype,t),r&&qB(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 ky(e){return ky=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ky(e)}function Tue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rue(e,t){return t&&(Eue(t)==="object"||typeof t=="function")?t:WB(e)}function ww(e,t){return ww=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ww(e,t)}function Eue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $ue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sue(e){var t=$ue();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 Rue(this,o)}}var Lc=function(e){Tue(r,e);var t=Sue(r);function r(n){wue(this,r);var o;return o=t.call(this,n),Ly(WB(o),"props",void 0),o.props=new My(n==null?void 0:n.props),o}return Pue(r,null,[{key:"controlName",get:function(){return d.getMessage("electronicSignature")}},{key:"controlIcon",get:function(){return"icondianziqianzhang"}},{key:"controlType",get:function(){return"electronic-signature"}}]),r}(J);Ly(Lc,"controlEventKeys",["on_click","on_click_finish"]),Ly(Lc,"controlFieldType",l.FieldTypes.VARCHAR),Ly(Lc,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[l.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 KB(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 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 Iue(e,t,r){return t&&XB(e.prototype,t),r&&XB(e,r),e}function JB(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 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&&Pw(e,t)}function Lue(e,t){return t&&(kue(t)==="object"||typeof t=="function")?t:KB(e)}function Pw(e,t){return Pw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Pw(e,t)}function kue(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 Due(e){var t=Aue();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 Lue(this,o)}}var QB=function(e){Mue(r,e);var t=Due(r);function r(n){Nue(this,r);var o;return o=t.call(this,n),JB(KB(o),"props",void 0),o.props=new My(n==null?void 0:n.props),o}return Iue(r,null,[{key:"controlType",get:function(){return"electronic-signature"}}]),r}(Q);JB(QB,"controlFieldType",l.FieldTypes.VARCHAR);var ZB={Designer:Lc,Runtime:QB,Property:My};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 Dy(e){return Dy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dy(e)}function Rw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Bue(e,t){return t&&(jue(t)==="object"||typeof t=="function")?t:ft(e)}function Ew(e,t){return Ew=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ew(e,t)}function jue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Cue();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 Bue(this,o)}}var Fue=function(e){Rw(r,e);var t=$w(r);function r(n){Tw(this,r);var o;return o=t.call(this,n),ot(ft(o),"content",{type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")}),ot(ft(o),"canAdd",void 0),ot(ft(o),"wpsSetting",{type:"object",fields:{watermark:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(d.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator:function(u,c,a){if(c.active&&!c.text){a(d.getMessage("pleaseEnterFileName"));return}a()}}}}),o.canAdd={type:"boolean",validator:function(u,c,a){if(n.canAdd&&!n.addLocal&&!n.addOnline){a(d.getMessage("pleaseChooseAtLeastOne"));return}a()}},o}return r}(He),Vue=function(e){Rw(r,e);var t=$w(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),kc=function(e){Rw(r,e);var t=$w(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:Ac.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 a;o.addLocal=(a=n==null?void 0:n.addLocal)!==null&&a!==void 0?a:!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 y;o.canExport=(y=n==null?void 0:n.canExport)!==null&&y!==void 0?y:!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:Fee;var h;o.defaultValue=(h=n==null?void 0:n.defaultValue)!==null&&h!==void 0?h:[],o.wpsSetting=new _M(n==null?void 0:n.wpsSetting);var P;return o.revisionsMode=(P=n==null?void 0:n.revisionsMode)!==null&&P!==void 0?P:!1,o}return r}(K);ot(kc,"Rules",Fue),ot(kc,"RuntimeRules",Vue);function ej(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function tj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Uue(e,t,r){return t&&tj(e.prototype,t),r&&tj(e,r),e}function By(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function jy(e){return jy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jy(e)}function Gue(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Yue(e,t){return t&&(Hue(t)==="object"||typeof t=="function")?t:ej(e)}function Sw(e,t){return Sw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Sw(e,t)}function Hue(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Wue(e){var t=zue();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 Yue(this,o)}}var Ac=function(e){Gue(r,e);var t=Wue(r);function r(n){xue(this,r);var o;return o=t.call(this,n),By(ej(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return Uue(r,null,[{key:"controlName",get:function(){return d.getMessage("WPS")}},{key:"controlIcon",get:function(){return"iconwps"}},{key:"controlType",get:function(){return"wps"}}]),r}(J);By(Ac,"controlEventKeys",["on_change","on_wps_open"]),By(Ac,"controlFieldType",l.FieldTypes.FILE),By(Ac,"setting",[{key:"data-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,l.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 nj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function que(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kue(e,t,r){return t&&rj(e.prototype,t),r&&rj(e,r),e}function oj(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 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&&Nw(e,t)}function Jue(e,t){return t&&(Que(t)==="object"||typeof t=="function")?t:nj(e)}function Nw(e,t){return Nw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Nw(e,t)}function Que(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Zue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ece(e){var t=Zue();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 Jue(this,o)}}var ij=function(e){Xue(r,e);var t=ece(r);function r(n){que(this,r);var o;return o=t.call(this,n),oj(nj(o),"props",void 0),o.props=new kc(n==null?void 0:n.props),o}return Kue(r,null,[{key:"controlType",get:function(){return"wps"}}]),r}(Q);oj(ij,"controlFieldType",l.FieldTypes.FILE);var uj={Designer:Ac,Runtime:ij,Property:kc};function Ke(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iw(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 Fy(e){return Fy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fy(e)}function Mw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Lw(e,t)}function tce(e,t){return t&&(nce(t)==="object"||typeof t=="function")?t:Ke(e)}function Lw(e,t){return Lw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Lw(e,t)}function nce(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 kw(e){var t=rce();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 tce(this,o)}}var oce=function(e){Mw(r,e);var t=kw(r);function r(n){Iw(this,r);var o;return o=t.call(this,n),Xe(Ke(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Xe(Ke(o),"businessScope",{type:"any"}),Ku.call(Ke(o),n,vo.controlCustomAttributes),n.businessType===l.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return r}(He),ice=function(e){Mw(r,e);var t=kw(r);function r(n){Iw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="array"),o}return r}(_e),Dc=function(e){Mw(r,e);var t=kw(r);function r(n){Iw(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 a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"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 y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!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:d.getMessage("pleaseSelectDept");var h;o.datasourceBind=new Yu((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:vo.controlCustomAttributes});var P;o.datasourceType=(P=n==null?void 0:n.datasourceType)!==null&&P!==void 0?P:l.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:l.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(Dc,"Rules",oce),Xe(Dc,"RuntimeRules",ice);function cj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cce(e,t,r){return t&&lj(e.prototype,t),r&&lj(e,r),e}function Vy(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?xy=Reflect.get:xy=function(o,i,u){var c=fce(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},xy(e,t,r||e)}function Hi(e){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hi(e)}function lce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ace(e,t){return t&&(sce(t)==="object"||typeof t=="function")?t:cj(e)}function Aw(e,t){return Aw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Aw(e,t)}function fce(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Hi(e),e!==null););return e}function sce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yce(e){var t=_ce();return function(){var n=Hi(e),o;if(t){var i=Hi(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return ace(this,o)}}var vo=function(e){lce(r,e);var t=yce(r);function r(n){uce(this,r);var o;return o=t.call(this,n),Vy(cj(o),"props",void 0),o.props=new Dc(n==null?void 0:n.props),o}return cce(r,[{key:"toDataBindModel",value:function(o){var i=xy(Hi(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}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);Vy(vo,"controlName",d.getMessage("department")),Vy(vo,"controlFieldType",l.FieldTypes.DEPARTMENTS),Vy(vo,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.MULTIPLE,l.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 aj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function dce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pce(e,t,r){return t&&fj(e.prototype,t),r&&fj(e,r),e}function sj(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 vce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hce(e,t){return t&&(gce(t)==="object"||typeof t=="function")?t:aj(e)}function Dw(e,t){return Dw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Dw(e,t)}function gce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bce(e){var t=mce();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 hce(this,o)}}var _j=function(e){vce(r,e);var t=bce(r);function r(n){dce(this,r);var o;return o=t.call(this,n),sj(aj(o),"props",void 0),o.props=new Dc(n==null?void 0:n.props),o}return pce(r,null,[{key:"controlType",get:function(){return"department2"}}]),r}(Q);sj(_j,"controlFieldType",l.FieldTypes.DEPARTMENTS);var yj={Designer:vo,Runtime:_j,Property:Dc};function we(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 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 Gy(e){return Gy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gy(e)}function jw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Oce(e,t){return t&&(wce(t)==="object"||typeof t=="function")?t:we(e)}function Cw(e,t){return Cw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Cw(e,t)}function wce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fw(e){var t=Pce();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 Oce(this,o)}}var Tce=function(e){jw(r,e);var t=Fw(r);function r(n){Bw(this,r);var o;return o=t.call(this,n),Pe(we(o),"datasourceBind",[{type:"object",message:d.getMessage("isNotObject")}]),Pe(we(o),"businessScope",{type:"any"}),Ku.call(we(o),n,ho.controlCustomAttributes),n.businessType===l.AssignType.ASSIGN&&(o.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")}),o}return r}(He),Rce=function(e){jw(r,e);var t=Fw(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),Bc=function(e){jw(r,e);var t=Fw(r);function r(n){Bw(this,r);var o;o=t.call(this,n),Pe(we(o),"showType",void 0),Pe(we(o),"range",void 0),Pe(we(o),"defaultValueType",void 0),Pe(we(o),"multiple",void 0),Pe(we(o),"rangeOptions",void 0),Pe(we(o),"defaultValue",void 0),Pe(we(o),"displayLevel",void 0),Pe(we(o),"showSubDept",void 0),Pe(we(o),"multistageFilling",void 0),Pe(we(o),"datasourceBind",void 0),Pe(we(o),"listPageBind",void 0),Pe(we(o),"datasourceType",void 0),Pe(we(o),"businessType",void 0),Pe(we(o),"businessScope",void 0),Pe(we(o),"organizingFunction",void 0),Pe(we(o),"organizationView",void 0),Pe(we(o),"openMultistageFilling",void 0),Pe(we(o),"showSelectedDetail",void 0),Pe(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 ta(n==null?void 0:n.listPageBind);var a;o.defaultValueType=(a=n==null?void 0:n.defaultValueType)!==null&&a!==void 0?a:"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 y;o.showSubDept=(y=n==null?void 0:n.showSubDept)!==null&&y!==void 0?y:!0;var p;o.caption=(p=n==null?void 0:n.caption)!==null&&p!==void 0?p:ho.controlName;var m;o.placeholder=(m=n==null?void 0:n.placeholder)!==null&&m!==void 0?m:d.getMessage("pleaseSelectOrg");var h;o.datasourceBind=new zN((h=n==null?void 0:n.datasourceBind)!==null&&h!==void 0?h:{attributes:ho.controlCustomAttributes});var P;o.datasourceType=(P=n==null?void 0:n.datasourceType)!==null&&P!==void 0?P:l.DepartmentType.INTERNAL;var v;o.businessScope=(v=n==null?void 0:n.businessScope)!==null&&v!==void 0?v:[];var $;o.businessType=($=n==null?void 0:n.businessType)!==null&&$!==void 0?$:l.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 oa(n==null?void 0:n.selectedContentConfig);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(E){var I;(I=o.multistageFilling)===null||I===void 0||I.push(new ht(E))})),o}return r}(K);Pe(Bc,"Rules",Tce),Pe(Bc,"RuntimeRules",Rce);function dj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ece(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pj(e,t){for(var r=0;r<t.length;r++){var 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&&pj(e.prototype,t),r&&pj(e,r),e}function Yy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hy(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Hy=Reflect.get:Hy=function(o,i,u){var c=Ice(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Hy(e,t,r||e)}function zi(e){return zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zi(e)}function Sce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Vw(e,t)}function Nce(e,t){return t&&(Mce(t)==="object"||typeof t=="function")?t:dj(e)}function Vw(e,t){return Vw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Vw(e,t)}function Ice(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=zi(e),e!==null););return e}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 kce(e){var t=Lce();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 Nce(this,o)}}var ho=function(e){Sce(r,e);var t=kce(r);function r(n){Ece(this,r);var o;return o=t.call(this,n),Yy(dj(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return $ce(r,[{key:"toDataBindModel",value:function(o){var i=Hy(zi(r.prototype),"toDataBindModel",this).call(this,o);if(i&&!Array.isArray(i)){var u=this.props,c=u.displayLevel,a=u.showSubDept;i.props.displayLevel=c,i.props.showSubDept=a}return i}}],[{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);Yy(ho,"controlName",d.getMessage("organizationSelection")),Yy(ho,"controlFieldType",l.FieldTypes.DEPARTMENTS),Yy(ho,"setting",[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.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:[l.COMMON_SETTING_TYPE.REQUIRED,l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION,l.COMMON_SETTING_TYPE.MULTIPLE,l.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 vj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ace(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Dce(e,t,r){return t&&hj(e.prototype,t),r&&hj(e,r),e}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 zy(e){return zy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},zy(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&&xw(e,t)}function jce(e,t){return t&&(Cce(t)==="object"||typeof t=="function")?t:vj(e)}function xw(e,t){return xw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xw(e,t)}function Cce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Vce(e){var t=Fce();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 jce(this,o)}}var mj=function(e){Bce(r,e);var t=Vce(r);function r(n){Ace(this,r);var o;return o=t.call(this,n),gj(vj(o),"props",void 0),o.props=new Bc(n==null?void 0:n.props),o}return Dce(r,null,[{key:"controlType",get:function(){return"organization-selection"}}]),r}(Q);gj(mj,"controlFieldType",l.FieldTypes.DEPARTMENTS);var bj={Designer:ho,Runtime:mj,Property:Bc};function jc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uw(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 Wy(e){return Wy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wy(e)}function Gw(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 xce(e,t){return t&&(Uce(t)==="object"||typeof t=="function")?t:jc(e)}function Yw(e,t){return Yw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yw(e,t)}function Uce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hw(e){var t=Gce();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 xce(this,o)}}var Yce=function(e){Gw(r,e);var t=Hw(r);function r(n){Uw(this,r);var o;return o=t.call(this,n),o.dataBind={type:"any"},o}return r}(He),Hce=function(e){Gw(r,e);var t=Hw(r);function r(n){Uw(this,r);var o;return o=t.call(this,n),o[0]!==void 0&&(o[0].type="any"),o}return r}(_e),Cc=function(e){Gw(r,e);var t=Hw(r);function r(n){Uw(this,r);var o;o=t.call(this,n),Wi(jc(o),"controlExportName",void 0),Wi(jc(o),"permissions",void 0),Wi(jc(o),"defaultValue",void 0),Wi(jc(o),"isInlineEdit",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Fc.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 a;o.permissions=(a=n==null?void 0:n.permissions)!==null&&a!==void 0?a:[];var f;return o.isInlineEdit=(f=n==null?void 0:n.isInlineEdit)!==null&&f!==void 0?f:!1,o}return r}(K);Wi(Cc,"Rules",Yce),Wi(Cc,"RuntimeRules",Hce);function Oj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wce(e,t,r){return t&&wj(e.prototype,t),r&&wj(e,r),e}function qy(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 qce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kce(e,t){return t&&(Xce(t)==="object"||typeof t=="function")?t:Oj(e)}function zw(e,t){return zw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zw(e,t)}function Xce(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jce(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Jce();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 Kce(this,o)}}var Fc=function(e){qce(r,e);var t=Qce(r);function r(n){zce(this,r);var o;return o=t.call(this,n),qy(Oj(o),"props",void 0),o.props=new Cc(n==null?void 0:n.props),o}return Wce(r,null,[{key:"controlName",get:function(){return d.getMessage("vuePage")}},{key:"controlIcon",get:function(){return"iconvuerongqi"}},{key:"controlType",get:function(){return l.CONTROL_TYPE.VUE_PAGE}}]),r}(J);qy(Fc,"controlFieldType",l.FieldTypes.ANY),qy(Fc,"controlEventKeys",[]),qy(Fc,"setting",[]);function Pj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zce(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ele(e,t,r){return t&&Tj(e.prototype,t),r&&Tj(e,r),e}function Rj(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 tle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nle(e,t){return t&&(rle(t)==="object"||typeof t=="function")?t:Pj(e)}function Ww(e,t){return Ww=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Ww(e,t)}function rle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ole(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ile(e){var t=ole();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 nle(this,o)}}var Ej=function(e){tle(r,e);var t=ile(r);function r(n){Zce(this,r);var o;return o=t.call(this,n),Rj(Pj(o),"props",void 0),o.props=new Cc(n==null?void 0:n.props),o}return ele(r,null,[{key:"controlType",get:function(){return l.CONTROL_TYPE.VUE_PAGE}}]),r}(Q);Rj(Ej,"controlFieldType",l.FieldTypes.ANY);var $j={Designer:Fc,Runtime:Ej,Property:Cc},ule=Object.freeze({__proto__:null,Input:o1,Checkbox:s1,Radio:O1,Number:S1,DatePicker:D1,DateRange:H1,Textarea:Q1,RichText:iA,Select:pA,SelectMultiple:wA,Employee:LA,Image:UA,Attachment:CA,Amount:KA,Score:nD,Address:_D,Department:wD,AutoNumber:ID,Calc:jD,SearchNumberRange:WD,SearchDateRange:rB,VueFormItem:fB,SelectRelation:bB,SearchInput:NB,Tree:BB,Employee2:GB,ElectronicSignature:ZB,WPS:uj,Department2:yj,OrganizationSelection:bj,VuePage:$j});function cle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ale(e,t,r){return t&&Sj(e.prototype,t),r&&Sj(e,r),e}function fle(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Jy(e){return Jy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jy(e)}function sle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _le(e,t){return t&&(yle(t)==="object"||typeof t=="function")?t:cle(e)}function qw(e,t){return qw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qw(e,t)}function yle(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 ple(e){var t=dle();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 _le(this,o)}}var Nj=function(e){sle(r,e);var t=ple(r);function r(n){return lle(this,r),t.call(this,n)}return ale(r,null,[{key:"controlName",get:function(){return d.getMessage("grid")}},{key:"controlIcon",get:function(){return"grid"}},{key:"controlType",get:function(){return"grid"}}]),r}(Oe);fle(Nj,"excludes",[l.CONTROL_TYPE.GRID]);function vle(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ij(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gle(e,t,r){return t&&Ij(e.prototype,t),r&&Ij(e,r),e}function Qy(e){return Qy=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qy(e)}function mle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ble(e,t){return t&&(Ole(t)==="object"||typeof t=="function")?t:vle(e)}function Kw(e,t){return Kw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Kw(e,t)}function Ole(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ple(e){var t=wle();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 ble(this,o)}}var Tle=function(e){mle(r,e);var t=Ple(r);function r(n){return hle(this,r),t.call(this,n)}return gle(r,null,[{key:"controlType",get:function(){return"grid"}}]),r}(Se),Mj={Designer:Nj,Runtime:Tle,Property:pe};function Xw(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Lj(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 Ele(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $le(e,t){return t&&(Sle(t)==="object"||typeof t=="function")?t:Xw(e)}function Jw(e,t){return Jw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Jw(e,t)}function Sle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ile(e){var t=Nle();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 $le(this,o)}}var Mle=24,go=function(e){Ele(r,e);var t=Ile(r);function r(n){Rle(this,r);var o;o=t.call(this,n),Lj(Xw(o),"span",void 0),Lj(Xw(o),"offset",void 0);var i;o.span=(i=n==null?void 0:n.span)!==null&&i!==void 0?i:Mle;var u;return o.offset=(u=n==null?void 0:n.offset)!==null&&u!==void 0?u:0,o}return r}(pe);function kj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Aj(e,t){for(var r=0;r<t.length;r++){var 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&&Aj(e.prototype,t),r&&Aj(e,r),e}function Qw(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 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&&Zw(e,t)}function Dle(e,t){return t&&(Ble(t)==="object"||typeof t=="function")?t:kj(e)}function Zw(e,t){return Zw=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Zw(e,t)}function Ble(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Cle(e){var t=jle();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 Dle(this,o)}}var Vc=function(e){Ale(r,e);var t=Cle(r);function r(n){Lle(this,r);var o;return o=t.call(this,n),Qw(kj(o),"props",void 0),o.props=new go(n==null?void 0:n.props),o}return kle(r,null,[{key:"controlName",get:function(){return d.getMessage("col")}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),r}(Oe);Qw(Vc,"excludes",[l.CONTROL_TYPE.COL,l.CONTROL_TYPE.SUBTABLE,l.CONTROL_TYPE.SUBTABLE_COLUMN,l.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,l.CONTROL_TYPE.DIVIDER]),Qw(Vc,"childrenMaxLength",1);function Dj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vle(e,t,r){return t&&Bj(e.prototype,t),r&&Bj(e,r),e}function xle(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){return td=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},td(e)}function Ule(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eP(e,t)}function Gle(e,t){return t&&(Yle(t)==="object"||typeof t=="function")?t:Dj(e)}function eP(e,t){return eP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eP(e,t)}function Yle(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 zle(e){var t=Hle();return function(){var n=td(e),o;if(t){var i=td(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Gle(this,o)}}var tP=function(e){Ule(r,e);var t=zle(r);function r(n){Fle(this,r);var o;return o=t.call(this,n),xle(Dj(o),"props",void 0),o.props=new go(n==null?void 0:n.props),o}return Vle(r,null,[{key:"controlType",get:function(){return"col"}}]),r}(Se),nd={Designer:Vc,Runtime:tP,Property:go};function nP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jj(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 qle(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rP(e,t)}function Kle(e,t){return t&&(Xle(t)==="object"||typeof t=="function")?t:nP(e)}function rP(e,t){return rP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rP(e,t)}function Xle(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jle(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qle(e){var t=Jle();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 Kle(this,o)}}var od=function(e){qle(r,e);var t=Qle(r);function r(n){Wle(this,r);var o;o=t.call(this,n),jj(nP(o),"layoutMode",void 0),jj(nP(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 Cj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function eae(e,t,r){return t&&Fj(e.prototype,t),r&&Fj(e,r),e}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 id(e){return id=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},id(e)}function tae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 nae(e,t){return t&&(rae(t)==="object"||typeof t=="function")?t:Cj(e)}function iP(e,t){return iP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iP(e,t)}function rae(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 iae(e){var t=oae();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 nae(this,o)}}var ud=function(e){tae(r,e);var t=iae(r);function r(n){Zle(this,r);var o;return o=t.call(this,n),oP(Cj(o),"props",void 0),o.props=new od(n==null?void 0:n.props),o}return eae(r,null,[{key:"controlName",get:function(){return d.getMessage("row")}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Oe);oP(ud,"excludes",[l.CONTROL_TYPE.ROW]),oP(ud,"setting",[{key:"col-setting",visible:!0}]);function Vj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function cae(e,t,r){return t&&xj(e.prototype,t),r&&xj(e,r),e}function lae(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 aae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 fae(e,t){return t&&(sae(t)==="object"||typeof t=="function")?t:Vj(e)}function uP(e,t){return uP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uP(e,t)}function sae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _ae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yae(e){var t=_ae();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 fae(this,o)}}var Uj=function(e){aae(r,e);var t=yae(r);function r(n){uae(this,r);var o;return o=t.call(this,n),lae(Vj(o),"props",void 0),o.props=new od(n==null?void 0:n.props),o}return cae(r,null,[{key:"controlType",get:function(){return"row"}}]),r}(Se),Gj={Designer:ud,Runtime:Uj,Property:od};function dae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Yj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vae(e,t,r){return t&&Yj(e.prototype,t),r&&Yj(e,r),e}function cP(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 hae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 gae(e,t){return t&&(mae(t)==="object"||typeof t=="function")?t:dae(e)}function lP(e,t){return lP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lP(e,t)}function mae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oae(e){var t=bae();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 gae(this,o)}}var wae=4,ad=function(e){hae(r,e);var t=Oae(r);function r(n){return pae(this,r),t.call(this,n)}return vae(r,null,[{key:"controlName",get:function(){return d.getMessage("gridRow")}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),r}(ud);cP(ad,"excludes",[l.CONTROL_TYPE.GRID_ROW]),cP(ad,"setting",[]),cP(ad,"childrenMaxLength",wae);function Pae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hj(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Rae(e,t,r){return t&&Hj(e.prototype,t),r&&Hj(e,r),e}function fd(e){return fd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fd(e)}function Eae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $ae(e,t){return t&&(Sae(t)==="object"||typeof t=="function")?t:Pae(e)}function aP(e,t){return aP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aP(e,t)}function Sae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Iae(e){var t=Nae();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 $ae(this,o)}}var Mae=function(e){Eae(r,e);var t=Iae(r);function r(n){return Tae(this,r),t.call(this,n)}return Rae(r,null,[{key:"controlType",get:function(){return"grid-row"}}]),r}(Uj);function Lae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sd(e){return sd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sd(e)}function Aae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dae(e,t){return t&&(Bae(t)==="object"||typeof t=="function")?t:Lae(e)}function fP(e,t){return fP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fP(e,t)}function Bae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jae();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 Dae(this,o)}}var Fae=function(e){Aae(r,e);var t=Cae(r);function r(n){return kae(this,r),t.call(this,n)}return r}(od),sP={Designer:ad,Runtime:Mae,Property:Fae};function xc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zj(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 _d(e){return _d=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},_d(e)}function Wj(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Vae(e,t){return t&&(xae(t)==="object"||typeof t=="function")?t:xc(e)}function _P(e,t){return _P=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_P(e,t)}function xae(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 qj(e){var t=Uae();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 Vae(this,o)}}var Gae=function(e){Wj(r,e);var t=qj(r);function r(){zj(this,r);var n;return n=t.apply(this,arguments),Uc(xc(n),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),n}return r}(pe.Rules),yd=function(e){Wj(r,e);var t=qj(r);function r(n){zj(this,r);var o;o=t.call(this,n),Uc(xc(o),"caption",void 0),Uc(xc(o),"isHideCaption",void 0),Uc(xc(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);Uc(yd,"Rules",Gae);function Kj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xj(e,t){for(var r=0;r<t.length;r++){var 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&&Xj(e.prototype,t),r&&Xj(e,r),e}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 dd(e){return dd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dd(e)}function zae(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&dP(e,t)}function Wae(e,t){return t&&(qae(t)==="object"||typeof t=="function")?t:Kj(e)}function dP(e,t){return dP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dP(e,t)}function qae(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kae(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Kae();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 Wae(this,o)}}var pP=function(e){zae(r,e);var t=Xae(r);function r(n){Yae(this,r);var o;return o=t.call(this,n),yP(Kj(o),"props",void 0),o.props=new yd(n==null?void 0:n.props),o}return Hae(r,null,[{key:"controlName",get:function(){return d.getMessage("cardGroup")}},{key:"controlIcon",get:function(){return"iconfenzu6"}},{key:"controlType",get:function(){return"card-group"}}]),r}(Oe);yP(pP,"setting",[{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}]),yP(pP,"excludes",[l.CONTROL_TYPE.CARD_GROUP]);function Jj(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jae(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qj(e,t){for(var r=0;r<t.length;r++){var 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&&Qj(e.prototype,t),r&&Qj(e,r),e}function Zae(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 efe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 tfe(e,t){return t&&(nfe(t)==="object"||typeof t=="function")?t:Jj(e)}function vP(e,t){return vP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vP(e,t)}function nfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ofe(e){var t=rfe();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 tfe(this,o)}}var ife=function(e){efe(r,e);var t=ofe(r);function r(n){Jae(this,r);var o;return o=t.call(this,n),Zae(Jj(o),"props",void 0),o.props=new yd(n==null?void 0:n.props),o}return Qae(r,null,[{key:"controlType",get:function(){return"card-group"}}]),r}(Se),Zj={Designer:pP,Runtime:ife,Property:yd};function jn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eC(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 vd(e){return vd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vd(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&&hP(e,t)}function ufe(e,t){return t&&(cfe(t)==="object"||typeof t=="function")?t:jn(e)}function hP(e,t){return hP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hP(e,t)}function cfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function lfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function nC(e){var t=lfe();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 ufe(this,o)}}var afe=function(e){tC(r,e);var t=nC(r);function r(n){eC(this,r);var o;return o=t.call(this,n),Cn(jn(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),Cn(jn(o),"width",{type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")}),Cn(jn(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),n.isShowCaptionTip&&(o.captionTip.required=!0),o}return r}(Be),hd=function(e){tC(r,e);var t=nC(r);function r(n){eC(this,r);var o;o=t.call(this,n),Cn(jn(o),"metaAutoWidth",void 0),Cn(jn(o),"caption",void 0),Cn(jn(o),"fixed",void 0),Cn(jn(o),"isShowCaptionTip",void 0),Cn(jn(o),"captionTip",void 0),Cn(jn(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 a;o.captionTip=(a=n==null?void 0:n.captionTip)!==null&&a!==void 0?a:"";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(hd,"Rules",afe);function rC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ffe(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 gd(e){return gd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},gd(e)}function sfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 _fe(e,t){return t&&(yfe(t)==="object"||typeof t=="function")?t:rC(e)}function gP(e,t){return gP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gP(e,t)}function yfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function dfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function pfe(e){var t=dfe();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 _fe(this,o)}}var Pn=function(e){sfe(r,e);var t=pfe(r);function r(n){ffe(this,r);var o;return o=t.call(this,n),mo(rC(o),"props",void 0),o.props=new hd(n==null?void 0:n.props),o}return r}(Oe);mo(Pn,"controlName",d.getMessage("subtableColumn")),mo(Pn,"controlType","subtable-column"),mo(Pn,"controlIcon","subtable-column"),mo(Pn,"childrenMaxLength",1),mo(Pn,"excludes",[l.CONTROL_TYPE.SUBTABLE,l.CONTROL_TYPE.SUBTABLE_COLUMN,l.CONTROL_TYPE.ROW,l.CONTROL_TYPE.COL,l.CONTROL_TYPE.CARD_GROUP,l.CONTROL_TYPE.DIVIDER,l.CONTROL_TYPE.TEXT]),mo(Pn,"setting",[{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",showItems:[l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}]);function oC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iC(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){return md=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},md(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&&mP(e,t)}function gfe(e,t){return t&&(mfe(t)==="object"||typeof t=="function")?t:oC(e)}function mP(e,t){return mP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},mP(e,t)}function mfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function bfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ofe(e){var t=bfe();return function(){var n=md(e),o;if(t){var i=md(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return gfe(this,o)}}var uC=function(e){hfe(r,e);var t=Ofe(r);function r(n){vfe(this,r);var o;return o=t.call(this,n),iC(oC(o),"props",void 0),o.props=new hd(n==null?void 0:n.props),o}return r}(Se);iC(uC,"controlType","subtable-column");var bP={Designer:Pn,Runtime:uC,Property:hd};function wfe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Pfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bd(e){return bd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bd(e)}function Tfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Rfe(e,t){return t&&(Efe(t)==="object"||typeof t=="function")?t:wfe(e)}function OP(e,t){return OP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OP(e,t)}function Efe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $fe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sfe(e){var t=$fe();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 Rfe(this,o)}}var wP=function(e){Tfe(r,e);var t=Sfe(r);function r(n){return Pfe(this,r),t.call(this,n)}return r}(pe);function cC(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 bo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Od(e){return Od=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Od(e)}function Ife(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mfe(e,t){return t&&(Lfe(t)==="object"||typeof t=="function")?t:cC(e)}function PP(e,t){return PP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PP(e,t)}function Lfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function kfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=kfe();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 Mfe(this,o)}}var Oo=function(e){Ife(r,e);var t=Afe(r);function r(n){Nfe(this,r);var o;return o=t.call(this,n),bo(cC(o),"props",void 0),o.props=new wP(n==null?void 0:n.props),o}return r}(Oe);bo(Oo,"controlName",d.getMessage("subtableRow")),bo(Oo,"controlType","subtable-row"),bo(Oo,"controlIcon","subtable-row"),bo(Oo,"childrenMaxLength",1),bo(Oo,"excludes",[l.CONTROL_TYPE.SUBTABLE,l.CONTROL_TYPE.SUBTABLE_COLUMN,l.CONTROL_TYPE.SUBTABLE_ROW,l.CONTROL_TYPE.ROW,l.CONTROL_TYPE.COL,l.CONTROL_TYPE.CARD_GROUP,l.CONTROL_TYPE.DIVIDER,l.CONTROL_TYPE.TEXT]),bo(Oo,"setting",[{key:"caption",showItems:[l.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 Dfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Bfe(e,t,r){return t&&aC(e.prototype,t),r&&aC(e,r),e}function jfe(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 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&&TP(e,t)}function Ffe(e,t){return t&&(Vfe(t)==="object"||typeof t=="function")?t:lC(e)}function TP(e,t){return TP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TP(e,t)}function Vfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ufe(e){var t=xfe();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 Ffe(this,o)}}var Gfe=function(e){Cfe(r,e);var t=Ufe(r);function r(n){Dfe(this,r);var o;return o=t.call(this,n),jfe(lC(o),"props",void 0),o.props=new wP(n==null?void 0:n.props),o}return Bfe(r,null,[{key:"controlType",get:function(){return"subtable-row"}}]),r}(Se),fC={Designer:Oo,Runtime:Gfe,Property:wP};function xt(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yfe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function un(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 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&&RP(e,t)}function zfe(e,t){return t&&(Wfe(t)==="object"||typeof t=="function")?t:xt(e)}function RP(e,t){return RP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RP(e,t)}function Wfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qfe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kfe(e){var t=qfe();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 zfe(this,o)}}var EP=function(e){Hfe(r,e);var t=Kfe(r);function r(n){Yfe(this,r);var o;o=t.call(this,n),un(xt(o),"widthType",void 0),un(xt(o),"width",void 0),un(xt(o),"caption",void 0),un(xt(o),"fieldCode",void 0),un(xt(o),"fieldType",void 0),un(xt(o),"fieldName",void 0),un(xt(o),"datasourceBind",void 0),un(xt(o),"fixed",void 0),un(xt(o),"textCleanFormart",void 0),un(xt(o),"decimalKeepPrecision",void 0),un(xt(o),"timestampDateType",void 0),un(xt(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 a;o.fieldCode=(a=n==null?void 0:n.fieldCode)!==null&&a!==void 0?a:"";var f;o.fieldType=(f=n==null?void 0:n.fieldType)!==null&&f!==void 0?f:l.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 y;o.decimalKeepPrecision=(y=n==null?void 0:n.decimalKeepPrecision)!==null&&y!==void 0?y:0;var p;o.timestampDateType=(p=n==null?void 0:n.timestampDateType)!==null&&p!==void 0?p:l.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 sC(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 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 Td(e){return Td=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Td(e)}function Jfe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Qfe(e,t){return t&&(Zfe(t)==="object"||typeof t=="function")?t:sC(e)}function $P(e,t){return $P=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$P(e,t)}function Zfe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ese(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function tse(e){var t=ese();return function(){var n=Td(e),o;if(t){var i=Td(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qfe(this,o)}}var Po=function(e){Jfe(r,e);var t=tse(r);function r(n){Xfe(this,r);var o;return o=t.call(this,n),wo(sC(o),"props",void 0),o.props=new EP(n==null?void 0:n.props),o}return r}(Oe);wo(Po,"controlName","\u5217\u8868\u5355\u5143\u683C"),wo(Po,"controlType","gridtable-column"),wo(Po,"controlIcon","gridtable-column"),wo(Po,"childrenMaxLength",1),wo(Po,"excludes",[l.CONTROL_TYPE.GRID_TABLE,l.CONTROL_TYPE.GRID_TABLE_COLUMN,l.CONTROL_TYPE.ROW,l.CONTROL_TYPE.COL,l.CONTROL_TYPE.CARD_GROUP,l.CONTROL_TYPE.DIVIDER,l.CONTROL_TYPE.TEXT]),wo(Po,"setting",[{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}]);function _C(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nse(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 Rd(e){return Rd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Rd(e)}function rse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ose(e,t){return t&&(ise(t)==="object"||typeof t=="function")?t:_C(e)}function SP(e,t){return SP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},SP(e,t)}function ise(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function use(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cse(e){var t=use();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 ose(this,o)}}var dC=function(e){rse(r,e);var t=cse(r);function r(n){nse(this,r);var o;return o=t.call(this,n),yC(_C(o),"props",void 0),o.props=new EP(n==null?void 0:n.props),o}return r}(Se);yC(dC,"controlType","gridtable-column");var pC={Designer:Po,Runtime:dC,Property:EP};function NP(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function lse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Ed(e){return Ed=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ed(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&&IP(e,t)}function fse(e,t){return t&&(sse(t)==="object"||typeof t=="function")?t:NP(e)}function IP(e,t){return IP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IP(e,t)}function sse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _se(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function yse(e){var t=_se();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 fse(this,o)}}var MP=function(e){ase(r,e);var t=yse(r);function r(n){lse(this,r);var o;o=t.call(this,n),vC(NP(o),"childMinWidth",void 0),vC(NP(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 hC(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 gC(e,t){for(var r=0;r<t.length;r++){var 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&&gC(e.prototype,t),r&&gC(e,r),e}function LP(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 vse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kP(e,t)}function hse(e,t){return t&&(gse(t)==="object"||typeof t=="function")?t:hC(e)}function kP(e,t){return kP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kP(e,t)}function gse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bse(e){var t=mse();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 hse(this,o)}}var AP=function(e){vse(r,e);var t=bse(r);function r(n){dse(this,r);var o;return o=t.call(this,n),LP(hC(o),"props",void 0),o.props=new MP(n==null?void 0:n.props),o}return pse(r,null,[{key:"controlName",get:function(){return d.getMessage("gridLayoutContainer")}},{key:"controlType",get:function(){return"grid-layout-container"}},{key:"controlIcon",get:function(){return"icona-huanhangrongqi1"}}]),r}(Oe);LP(AP,"excludes",[l.CONTROL_TYPE.GRID_LAYOUT_CONTAINER,l.CONTROL_TYPE.CARD_GROUP,l.CONTROL_TYPE.TAB]),LP(AP,"setting",[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}]);function mC(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 bC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function wse(e,t,r){return t&&bC(e.prototype,t),r&&bC(e,r),e}function Pse(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 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&&DP(e,t)}function Rse(e,t){return t&&(Ese(t)==="object"||typeof t=="function")?t:mC(e)}function DP(e,t){return DP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DP(e,t)}function Ese(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function $se(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Sse(e){var t=$se();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 Rse(this,o)}}var Nse=function(e){Tse(r,e);var t=Sse(r);function r(n){Ose(this,r);var o;return o=t.call(this,n),Pse(mC(o),"props",void 0),o.props=new MP(n==null?void 0:n.props),o}return wse(r,null,[{key:"controlType",get:function(){return"grid-layout-container"}}]),r}(Se),OC={Designer:AP,Runtime:Nse,Property:MP};function wC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ise(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mse(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 Lse(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 kse(e,t){return t&&(Ase(t)==="object"||typeof t=="function")?t:wC(e)}function BP(e,t){return BP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},BP(e,t)}function Ase(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 Bse(e){var t=Dse();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 kse(this,o)}}var jP=function(e){Lse(r,e);var t=Bse(r);function r(n){Ise(this,r);var o;o=t.call(this,n),Mse(wC(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 CP(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 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 Id(e){return Id=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Id(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&&VP(e,t)}function jse(e,t){return t&&(Cse(t)==="object"||typeof t=="function")?t:CP(e)}function VP(e,t){return VP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},VP(e,t)}function Cse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Fse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Fse();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 jse(this,o)}}var Vse=function(e){TC(r,e);var t=RC(r);function r(n){PC(this,r);var o;return o=t.call(this,n),FP(CP(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),o}return r}(Be),Md=function(e){TC(r,e);var t=RC(r);function r(n){PC(this,r);var o;o=t.call(this,n),FP(CP(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);FP(Md,"Rules",Vse);function EC(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 $C(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Use(e,t,r){return t&&$C(e.prototype,t),r&&$C(e,r),e}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 Ld(e){return Ld=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ld(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&&UP(e,t)}function Yse(e,t){return t&&(Hse(t)==="object"||typeof t=="function")?t:EC(e)}function UP(e,t){return UP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UP(e,t)}function Hse(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function zse(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=zse();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 Yse(this,o)}}var Gc=function(e){Gse(r,e);var t=Wse(r);function r(n){xse(this,r);var o;return o=t.call(this,n),xP(EC(o),"props",void 0),o.props=new Md(n==null?void 0:n.props),o}return Use(r,null,[{key:"controlName",get:function(){return d.getMessage("tabPane")}},{key:"controlType",get:function(){return"tab-pane"}},{key:"controlIcon",get:function(){return"tab-pane"}}]),r}(Oe);xP(Gc,"excludes",[l.CONTROL_TYPE.TAB]),xP(Gc,"setting",[{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function SC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qse(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function NC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Kse(e,t,r){return t&&NC(e.prototype,t),r&&NC(e,r),e}function Xse(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 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&&GP(e,t)}function Qse(e,t){return t&&(Zse(t)==="object"||typeof t=="function")?t:SC(e)}function GP(e,t){return GP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},GP(e,t)}function Zse(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 t_e(e){var t=e_e();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 Qse(this,o)}}var n_e=function(e){Jse(r,e);var t=t_e(r);function r(n){qse(this,r);var o;return o=t.call(this,n),Xse(SC(o),"props",void 0),o.props=new Md(n==null?void 0:n.props),o}return Kse(r,null,[{key:"controlType",get:function(){return"tab-pane"}}]),r}(Se),IC={Designer:Gc,Runtime:n_e,Property:Md};function MC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function r_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function LC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o_e(e,t,r){return t&&LC(e.prototype,t),r&&LC(e,r),e}function Ad(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 i_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&&YP(e,t)}function u_e(e,t){return t&&(c_e(t)==="object"||typeof t=="function")?t:MC(e)}function YP(e,t){return YP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YP(e,t)}function c_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 a_e(e){var t=l_e();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 u_e(this,o)}}var Yc=function(e){i_e(r,e);var t=a_e(r);function r(n){r_e(this,r);var o;o=t.call(this,n),Ad(MC(o),"props",void 0),o.props=new jP(n==null?void 0:n.props);var i;return o.children=(i=n==null?void 0:n.children)!==null&&i!==void 0?i:[new Gc,new Gc],o}return o_e(r,null,[{key:"controlName",get:function(){return d.getMessage("tab")}},{key:"controlType",get:function(){return"tab"}},{key:"controlIcon",get:function(){return"iconmanage11"}}]),r}(Oe);Ad(Yc,"excludes",[l.CONTROL_TYPE.TAB]),Ad(Yc,"controlEventKeys",["on_change_tab"]),Ad(Yc,"setting",[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}]);function kC(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 AC(e,t){for(var r=0;r<t.length;r++){var 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&&AC(e.prototype,t),r&&AC(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 Bd(e){return Bd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Bd(e)}function y_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&&HP(e,t)}function d_e(e,t){return t&&(p_e(t)==="object"||typeof t=="function")?t:kC(e)}function HP(e,t){return HP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HP(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=Bd(e),o;if(t){var i=Bd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return d_e(this,o)}}var g_e=function(e){y_e(r,e);var t=h_e(r);function r(n){f_e(this,r);var o;return o=t.call(this,n),__e(kC(o),"props",void 0),o.props=new jP(n==null?void 0:n.props),o}return s_e(r,null,[{key:"controlType",get:function(){return"tab"}}]),r}(Se),DC={Designer:Yc,Runtime:g_e,Property:jP};function m_e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jd(e){return jd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jd(e)}function O_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&&zP(e,t)}function w_e(e,t){return t&&(P_e(t)==="object"||typeof t=="function")?t:m_e(e)}function zP(e,t){return zP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zP(e,t)}function P_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function T_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 R_e(e){var t=T_e();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 w_e(this,o)}}var BC=function(e){O_e(r,e);var t=R_e(r);function r(n){return b_e(this,r),t.call(this,n)}return r}(pe);function jC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function E_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function CC(e,t){for(var r=0;r<t.length;r++){var 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&&CC(e.prototype,t),r&&CC(e,r),e}function FC(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 S_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&&WP(e,t)}function N_e(e,t){return t&&(I_e(t)==="object"||typeof t=="function")?t:jC(e)}function WP(e,t){return WP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},WP(e,t)}function I_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function M_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 L_e(e){var t=M_e();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 N_e(this,o)}}var VC=function(e){S_e(r,e);var t=L_e(r);function r(n){E_e(this,r);var o;return o=t.call(this,n),FC(jC(o),"props",void 0),o.props=new BC({}),o.children=(n==null?void 0:n.children)||[new Vc({props:new go({span:12})}),new Vc({props:new go({span:12})})],o}return $_e(r,null,[{key:"controlName",get:function(){return d.getMessage("toolbox")}},{key:"controlType",get:function(){return"toolbox"}},{key:"controlIcon",get:function(){return"toolbox"}}]),r}(Oe);FC(VC,"excludes",[l.CONTROL_TYPE.GRID_ROW,l.CONTROL_TYPE.ROW,l.CONTROL_TYPE.GRID,l.CONTROL_TYPE.SUBTABLE,l.CONTROL_TYPE.TAB,l.CONTROL_TYPE.TOOLBOX]);function k_e(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function A_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function D_e(e,t,r){return t&&xC(e.prototype,t),r&&xC(e,r),e}function Fd(e){return Fd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fd(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&&qP(e,t)}function j_e(e,t){return t&&(C_e(t)==="object"||typeof t=="function")?t:k_e(e)}function qP(e,t){return qP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qP(e,t)}function C_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function F_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 V_e(e){var t=F_e();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 j_e(this,o)}}var x_e=function(e){B_e(r,e);var t=V_e(r);function r(n){A_e(this,r);var o;return o=t.call(this,n),o.children=(n==null?void 0:n.children)||[new tP({props:new go({span:12})}),new tP({props:new go({span:12})})],o}return D_e(r,null,[{key:"controlType",get:function(){return"toolbox"}}]),r}(Se),UC={Designer:VC,Runtime:x_e,Property:BC};function Te(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function KP(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Re(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 XP(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 U_e(e,t){return t&&(G_e(t)==="object"||typeof t=="function")?t:Te(e)}function JP(e,t){return JP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},JP(e,t)}function G_e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Y_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 QP(e){var t=Y_e();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 U_e(this,o)}}var GC;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(GC||(GC={}));var H_e=function(e){XP(r,e);var t=QP(r);function r(n){KP(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Nr),z_e=function(e){XP(r,e);var t=QP(r);function r(n){KP(this,r);var o;if(o=t.call(this,n),Re(Te(o),"triggerFieldCode",{type:"any"}),Re(Te(o),"datasourceBind",{type:"any"}),Re(Te(o),"joinRelation",[{type:"any"}]),console.log("--ListViewControlPropertyRules--"),n.triggerType===2&&n.isShowSubList&&(o.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),n.isShowJoinRelation&&(o.joinRelation=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),fa.call(Te(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}(Be),Hc=function(e){XP(r,e);var t=QP(r);function r(n){KP(this,r);var o;o=t.call(this,n),Re(Te(o),"datasourceBind",void 0),Re(Te(o),"isLoading",void 0),Re(Te(o),"isShowSubList",void 0),Re(Te(o),"triggerType",void 0),Re(Te(o),"triggerFieldCode",void 0),Re(Te(o),"sublistPage",void 0),Re(Te(o),"isShowJoinRelation",void 0),Re(Te(o),"joinRelation",void 0),Re(Te(o),"showType",void 0),Re(Te(o),"showFullScreen",void 0),Re(Te(o),"isFixedHeader",void 0),Re(Te(o),"selectionType",void 0),Re(Te(o),"isShowSelection",void 0),Re(Te(o),"isAllLoaded",void 0),Re(Te(o),"countType",void 0),Re(Te(o),"countLimit",void 0),Re(Te(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 a;o.triggerFieldCode=(a=n==null?void 0:n.triggerFieldCode)!==null&&a!==void 0?a:"",o.sublistPage=new UN(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 y;o.selectionType=(y=n==null?void 0:n.selectionType)!==null&&y!==void 0?y:"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 P;return o.countLimit=(P=n==null?void 0:n.countLimit)!==null&&P!==void 0?P:1e5,o.rowStyle=new cI(n==null?void 0:n.rowStyle),o}return r}(pe);Re(Hc,"Rules",z_e),Re(Hc,"RuntimeRules",H_e);function YC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function W_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function HC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function q_e(e,t,r){return t&&HC(e.prototype,t),r&&HC(e,r),e}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 xd(e){return xd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},xd(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&&ZP(e,t)}function X_e(e,t){return t&&(J_e(t)==="object"||typeof t=="function")?t:YC(e)}function ZP(e,t){return ZP=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZP(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=xd(e),o;if(t){var i=xd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return X_e(this,o)}}var Wc=function(e){K_e(r,e);var t=Z_e(r);function r(n){W_e(this,r);var o;return o=t.call(this,n),zc(YC(o),"props",void 0),o.props=new Hc(n==null?void 0:n.props),o}return q_e(r,null,[{key:"controlName",get:function(){return d.getMessage("listView")}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),r}(Oe);zc(Wc,"slotPosition",{left:"list-view-left-slot"}),zc(Wc,"excludes",[l.CONTROL_TYPE.ROW]),zc(Wc,"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"]),zc(Wc,"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 zC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function eye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WC(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tye(e,t,r){return t&&WC(e.prototype,t),r&&WC(e,r),e}function nye(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){return Ud=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ud(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&&eT(e,t)}function oye(e,t){return t&&(iye(t)==="object"||typeof t=="function")?t:zC(e)}function eT(e,t){return eT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eT(e,t)}function iye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function uye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cye(e){var t=uye();return function(){var n=Ud(e),o;if(t){var i=Ud(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return oye(this,o)}}var lye=function(e){rye(r,e);var t=cye(r);function r(n){eye(this,r);var o;return o=t.call(this,n),nye(zC(o),"props",void 0),o.props=new Hc(n==null?void 0:n.props),o}return tye(r,null,[{key:"controlType",get:function(){return"list-view"}}]),r}(Se),tT={Designer:Wc,Runtime:lye,Property:Hc};function Gr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qC(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 Gd(e){return Gd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gd(e)}function KC(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 aye(e,t){return t&&(fye(t)==="object"||typeof t=="function")?t:Gr(e)}function nT(e,t){return nT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nT(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 XC(e){var t=sye();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 aye(this,o)}}var _ye=function(e){KC(r,e);var t=XC(r);function r(n){qC(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Nr),Yd=function(e){KC(r,e);var t=XC(r);function r(n){qC(this,r);var o;o=t.call(this,n),Yr(Gr(o),"save",void 0),Yr(Gr(o),"cancel",void 0),Yr(Gr(o),"saveAs",void 0),Yr(Gr(o),"print",void 0),Yr(Gr(o),"custom",void 0),Yr(Gr(o),"isLoading",void 0),Yr(Gr(o),"datasourceBind",void 0);var i;o.save=new Hn((i=n==null?void 0:n.save)!==null&&i!==void 0?i:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var u;o.cancel=new Hn((u=n==null?void 0:n.cancel)!==null&&u!==void 0?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var c;o.saveAs=new Hn((c=n==null?void 0:n.saveAs)!==null&&c!==void 0?c:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var a;o.print=new Hn((a=n==null?void 0:n.print)!==null&&a!==void 0?a:{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 Hn(_)});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);Yr(Yd,"RuntimeRules",_ye);function JC(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yye(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 dye(e,t,r){return t&&QC(e.prototype,t),r&&QC(e,r),e}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 Hd(e){return Hd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hd(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&&rT(e,t)}function vye(e,t){return t&&(hye(t)==="object"||typeof t=="function")?t:JC(e)}function rT(e,t){return rT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rT(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=Hd(e),o;if(t){var i=Hd(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vye(this,o)}}var eF=function(e){pye(r,e);var t=mye(r);function r(n){yye(this,r);var o;return o=t.call(this,n),ZC(JC(o),"props",void 0),o.props=new Yd(n==null?void 0:n.props),o}return dye(r,null,[{key:"controlName",get:function(){return d.getMessage("dataView")}},{key:"controlType",get:function(){return"data-view"}}]),r}(Oe);ZC(eF,"excludes",[]);function tF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bye(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 Oye(e,t,r){return t&&nF(e.prototype,t),r&&nF(e,r),e}function wye(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 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&&oT(e,t)}function Tye(e,t){return t&&(Rye(t)==="object"||typeof t=="function")?t:tF(e)}function oT(e,t){return oT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},oT(e,t)}function Rye(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 $ye(e){var t=Eye();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 Tye(this,o)}}var Sye=function(e){Pye(r,e);var t=$ye(r);function r(n){bye(this,r);var o;return o=t.call(this,n),wye(tF(o),"props",void 0),o.props=new Yd(n==null?void 0:n.props),o}return Oye(r,null,[{key:"controlType",get:function(){return"data-view"}}]),r}(Se),iT={Designer:eF,Runtime:Sye,Property:Yd};function Nye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Iye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rF(e,t){for(var r=0;r<t.length;r++){var 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&&rF(e.prototype,t),r&&rF(e,r),e}function Wd(e){return Wd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Wd(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&&uT(e,t)}function kye(e,t){return t&&(Aye(t)==="object"||typeof t=="function")?t:Nye(e)}function uT(e,t){return uT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uT(e,t)}function Aye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Dye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Dye();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 kye(this,o)}}var jye=function(e){Lye(r,e);var t=Bye(r);function r(n){return Iye(this,r),t.call(this,n)}return Mye(r,null,[{key:"controlName",get:function(){return d.getMessage("page")}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"page"}}]),r}(Oe);function Cye(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fye(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 Vye(e,t,r){return t&&oF(e.prototype,t),r&&oF(e,r),e}function qd(e){return qd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qd(e)}function xye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Uye(e,t){return t&&(Gye(t)==="object"||typeof t=="function")?t:Cye(e)}function cT(e,t){return cT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cT(e,t)}function Gye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hye(e){var t=Yye();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 Uye(this,o)}}var zye=function(e){xye(r,e);var t=Hye(r);function r(n){return Fye(this,r),t.call(this,n)}return Vye(r,null,[{key:"controlType",get:function(){return"page"}}]),r}(Se);function qi(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qc(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 qye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Kye(e,t){return t&&(Xye(t)==="object"||typeof t=="function")?t:qi(e)}function lT(e,t){return lT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lT(e,t)}function Xye(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Jye(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Qye(e){var t=Jye();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 Kye(this,o)}}var Zye=function(e){qye(r,e);var t=Qye(r);function r(n){Wye(this,r);var o;o=t.call(this,n),qc(qi(o),"hideHeader",void 0),qc(qi(o),"background","#fff"),qc(qi(o),"minWidth",""),qc(qi(o),"maxWidth",""),qc(qi(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),iF={Designer:jye,Runtime:zye,Property:Zye};function ede(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tde(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 nde(e,t,r){return t&&uF(e.prototype,t),r&&uF(e,r),e}function Xd(e){return Xd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Xd(e)}function rde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 ode(e,t){return t&&(ide(t)==="object"||typeof t=="function")?t:ede(e)}function aT(e,t){return aT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},aT(e,t)}function ide(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ude(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ude();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 ode(this,o)}}var lde=function(e){rde(r,e);var t=cde(r);function r(n){return tde(this,r),t.call(this,n)}return nde(r,null,[{key:"controlName",get:function(){return d.getMessage("advancedContainer")}},{key:"controlIcon",get:function(){return"AdvancedContainer"}},{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Oe);function ade(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fde(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 sde(e,t,r){return t&&cF(e.prototype,t),r&&cF(e,r),e}function Jd(e){return Jd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Jd(e)}function _de(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 yde(e,t){return t&&(dde(t)==="object"||typeof t=="function")?t:ade(e)}function fT(e,t){return fT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fT(e,t)}function dde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function pde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vde(e){var t=pde();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 yde(this,o)}}var hde=function(e){_de(r,e);var t=vde(r);function r(n){return fde(this,r),t.call(this,n)}return sde(r,null,[{key:"controlType",get:function(){return"AdvancedContainer"}}]),r}(Se);function sT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gde(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lF(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qd(e){return Qd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qd(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&&_T(e,t)}function bde(e,t){return t&&(Ode(t)==="object"||typeof t=="function")?t:sT(e)}function _T(e,t){return _T=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},_T(e,t)}function Ode(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 Pde(e){var t=wde();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 bde(this,o)}}var Tde=function(e){mde(r,e);var t=Pde(r);function r(n){gde(this,r);var o;return o=t.call(this,n),lF(sT(o),"display",void 0),lF(sT(o),"flexConfig",void 0),o.display=(n==null?void 0:n.display)||"flex",o.flexConfig=new gM(n==null?void 0:n.flexConfig),o}return r}(pe),aF={Designer:lde,Runtime:hde,Property:Tde};function Rde(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 fF(e,t){for(var r=0;r<t.length;r++){var 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&&fF(e.prototype,t),r&&fF(e,r),e}function Zd(e){return Zd=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zd(e)}function Sde(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nde(e,t){return t&&(Ide(t)==="object"||typeof t=="function")?t:Rde(e)}function yT(e,t){return yT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yT(e,t)}function Ide(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Lde(e){var t=Mde();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 Nde(this,o)}}var kde=function(e){Sde(r,e);var t=Lde(r);function r(n){return Ede(this,r),t.call(this,n)}return $de(r,null,[{key:"controlName",get:function(){return d.getMessage("positioningContainer")}},{key:"controlIcon",get:function(){return"PositioningContainer"}},{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Oe);function Ade(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dde(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 Bde(e,t,r){return t&&sF(e.prototype,t),r&&sF(e,r),e}function ep(e){return ep=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ep(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&&dT(e,t)}function Cde(e,t){return t&&(Fde(t)==="object"||typeof t=="function")?t:Ade(e)}function dT(e,t){return dT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},dT(e,t)}function Fde(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 xde(e){var t=Vde();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 Cde(this,o)}}var Ude=function(e){jde(r,e);var t=xde(r);function r(n){return Dde(this,r),t.call(this,n)}return Bde(r,null,[{key:"controlType",get:function(){return"PositioningContainer"}}]),r}(Se);function Gde(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yde(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 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&&pT(e,t)}function zde(e,t){return t&&(Wde(t)==="object"||typeof t=="function")?t:Gde(e)}function pT(e,t){return pT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pT(e,t)}function Wde(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function qde(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Kde(e){var t=qde();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 zde(this,o)}}var Xde=function(e){Hde(r,e);var t=Kde(r);function r(n){return Yde(this,r),t.call(this,n)}return r}(pe),_F={Designer:kde,Runtime:Ude,Property:Xde};function Jde(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qde(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 Zde(e,t,r){return t&&yF(e.prototype,t),r&&yF(e,r),e}function np(e){return np=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},np(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&&vT(e,t)}function tpe(e,t){return t&&(npe(t)==="object"||typeof t=="function")?t:Jde(e)}function vT(e,t){return vT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vT(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=np(e),o;if(t){var i=np(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 Qde(this,r),t.call(this,n)}return Zde(r,null,[{key:"controlName",get:function(){return d.getMessage("position")}},{key:"controlIcon",get:function(){return"position"}},{key:"controlType",get:function(){return"position"}}]),r}(Oe);function upe(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 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 lpe(e,t,r){return t&&dF(e.prototype,t),r&&dF(e,r),e}function rp(e){return rp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},rp(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&&hT(e,t)}function fpe(e,t){return t&&(spe(t)==="object"||typeof t=="function")?t:upe(e)}function hT(e,t){return hT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},hT(e,t)}function spe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function _pe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function ype(e){var t=_pe();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 fpe(this,o)}}var dpe=function(e){ape(r,e);var t=ype(r);function r(n){return cpe(this,r),t.call(this,n)}return lpe(r,null,[{key:"controlType",get:function(){return"position"}}]),r}(Se);function Kc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ppe(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 vpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 hpe(e,t){return t&&(gpe(t)==="object"||typeof t=="function")?t:Kc(e)}function gT(e,t){return gT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gT(e,t)}function gpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bpe(e){var t=mpe();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 hpe(this,o)}}var Ope=function(e){vpe(r,e);var t=bpe(r);function r(n){ppe(this,r);var o;o=t.call(this,n),op(Kc(o),"widthSpan",void 0),op(Kc(o),"heightSpan",void 0),op(Kc(o),"left",void 0),op(Kc(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 a;return o.top=(a=n==null?void 0:n.top)!==null&&a!==void 0?a:0,o}return r}(pe),pF={Designer:ipe,Runtime:dpe,Property:Ope};function up(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wpe(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 cp(e){return cp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},cp(e)}function Ppe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Tpe(e,t){return t&&(Rpe(t)==="object"||typeof t=="function")?t:up(e)}function bT(e,t){return bT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bT(e,t)}function Rpe(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 $pe(e){var t=Epe();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 Tpe(this,o)}}var OT=function(e){Ppe(r,e);var t=$pe(r);function r(n){wpe(this,r);var o;o=t.call(this,n),mT(up(o),"position",void 0),mT(up(o),"opacity",void 0),mT(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 vF(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 hF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Npe(e,t,r){return t&&hF(e.prototype,t),r&&hF(e,r),e}function lp(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 Ipe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Mpe(e,t){return t&&(Lpe(t)==="object"||typeof t=="function")?t:vF(e)}function wT(e,t){return wT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},wT(e,t)}function Lpe(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 Ape(e){var t=kpe();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 Mpe(this,o)}}var fp=function(e){Ipe(r,e);var t=Ape(r);function r(n){Spe(this,r);var o;o=t.call(this,n),lp(vF(o),"props",void 0);var i;return o.props=new OT((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return Npe(r,null,[{key:"controlName",get:function(){return d.getMessage("actionBar")}},{key:"controlType",get:function(){return"action-bar"}},{key:"controlIcon",get:function(){return"action-bar"}}]),r}(Oe);lp(fp,"slotPosition",{default:"action-bar-slot"}),lp(fp,"excludes",[]),lp(fp,"setting",[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"super-setting",visible:!0}]);function gF(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 mF(e,t){for(var r=0;r<t.length;r++){var 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&&mF(e.prototype,t),r&&mF(e,r),e}function jpe(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 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&&PT(e,t)}function Fpe(e,t){return t&&(Vpe(t)==="object"||typeof t=="function")?t:gF(e)}function PT(e,t){return PT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PT(e,t)}function Vpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function xpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Upe(e){var t=xpe();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 Fpe(this,o)}}var Gpe=function(e){Cpe(r,e);var t=Upe(r);function r(n){Dpe(this,r);var o;o=t.call(this,n),jpe(gF(o),"props",void 0);var i;return o.props=new OT((i=n==null?void 0:n.props)!==null&&i!==void 0?i:{}),o}return Bpe(r,null,[{key:"controlType",get:function(){return"action-bar"}}]),r}(Se),bF={Designer:fp,Runtime:Gpe,Property:OT},Ype=Object.freeze({__proto__:null,Grid:Mj,Col:nd,Row:Gj,GridRow:sP,CardGroup:Zj,SubTableColumn:bP,SubTableRow:fC,GridTableColumn:pC,GridLayoutContainer:OC,Tab:DC,TabPane:IC,Toolbox:UC,ListView:tT,DataView:iT,Page:iF,AdvancedContainer:aF,PositioningContainer:_F,Position:pF,ActionBar:bF});function G(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TT(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 RT(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Hpe(e,t){return t&&(zpe(t)==="object"||typeof t=="function")?t:G(e)}function ET(e,t){return ET=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ET(e,t)}function zpe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wpe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function $T(e){var t=Wpe();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 Hpe(this,o)}}var qpe=function(e){RT(r,e);var t=$T(r);function r(n){TT(this,r);var o;return o=t.call(this,n),U(G(o),"caption",{type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}),U(G(o),"limitRows",[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}]),U(G(o),"formKey",{type:"string",required:!1,message:d.getMessage("pleaseEnterForm")}),U(G(o),"maxHeight",{type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")}),U(G(o),"captionTip",{type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")}),U(G(o),"mobileRowCaption",{type:"string",required:!1,message:d.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}(Be),Kpe=function(e){RT(r,e);var t=$T(r);function r(n){TT(this,r);var o;return o=t.call(this,n),n.isHide||o.push({type:"array",required:n.limitRows>0,message:d.getMessage("runtimeRequired",{caption:n.caption})},{type:"array",validator:function(u,c,a){c.length<n.limitRows&&a(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})),a()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:n.limitRows})}),o}return r}(Nr),Xc=function(e){RT(r,e);var t=$T(r);function r(n,o){TT(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:Jc.controlName;var c;i.isHideCaption=(c=o==null?void 0:o.isHideCaption)!==null&&c!==void 0?c:!1;var a;i.defaultState=(a=o==null?void 0:o.defaultState)!==null&&a!==void 0?a:"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 y;i.useCustomHeight=(y=o==null?void 0:o.useCustomHeight)!==null&&y!==void 0?y:!1;var p;i.maxHeight=(p=o==null?void 0:o.maxHeight)!==null&&p!==void 0?p:vM;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 P;i.maxRows=(P=o==null?void 0:o.maxRows)!==null&&P!==void 0?P: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 $;i.canAdd=($=o==null?void 0:o.canAdd)!==null&&$!==void 0?$:!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 R;i.canImport=(R=o==null?void 0:o.canImport)!==null&&R!==void 0?R:!1;var E;i.canExport=(E=o==null?void 0:o.canExport)!==null&&E!==void 0?E:!1;var I;i.canClear=(I=o==null?void 0:o.canClear)!==null&&I!==void 0?I:!0;var L;i.serverPagination=(L=o==null?void 0:o.serverPagination)!==null&&L!==void 0?L:!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 Y;i.mobileShowType=(Y=o==null?void 0:o.mobileShowType)!==null&&Y!==void 0?Y:"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 jN;var cr;i.fixedColumn=(cr=o==null?void 0:o.fixedColumn)!==null&&cr!==void 0?cr:[];var Mt;i.mobileRowCaption=(Mt=o==null?void 0:o.mobileRowCaption)!==null&&Mt!==void 0?Mt:"\u660E\u7EC6";var lr;i.mobileIsTile=(lr=o==null?void 0:o.mobileIsTile)!==null&&lr!==void 0?lr:!1;var ar;i.isPaste=(ar=o==null?void 0:o.isPaste)!==null&&ar!==void 0?ar:!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 dM(o==null?void 0:o.importConfig),i.exportConfig=new pM(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}(Ju);U(Xc,"Rules",qpe),U(Xc,"RuntimeRules",Kpe);function ST(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 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 Jpe(e,t,r){return t&&OF(e.prototype,t),r&&OF(e,r),e}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 dp(e){return dp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dp(e)}function Qpe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Zpe(e,t){return t&&(eve(t)==="object"||typeof t=="function")?t:ST(e)}function NT(e,t){return NT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NT(e,t)}function eve(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 nve(e){var t=tve();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 Zpe(this,o)}}var Jc=function(e){Qpe(r,e);var t=nve(r);function r(n){Xpe(this,r);var o,i;return o=t.call(this,n),yp(ST(o),"props",void 0),o.props=new Xc(ST(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 Pn,new Pn,new Pn]),o}return Jpe(r,[{key:"addColumn",value:function(o,i){var u=o!==void 0&&typeof o!="number"?o:new Pn,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 d.getMessage("subTable")}},{key:"controlIcon",get:function(){return"iconGroup11"}},{key:"controlType",get:function(){return"subtable"}}]),r}(Ta);yp(Jc,"controlEventKeys",["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"]),yp(Jc,"slotPosition",{toolbar:"subtable-toolbar-slot"}),yp(Jc,"setting",[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[l.COMMON_SETTING_TYPE.CAPTION,l.COMMON_SETTING_TYPE.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[l.COMMON_SETTING_TYPE.IS_HIDE,l.COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,l.COMMON_SETTING_TYPE.IS_PASTE,l.COMMON_SETTING_TYPE.SERVER_PAGINATION,l.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 IT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wF(e,t){for(var r=0;r<t.length;r++){var 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&&wF(e.prototype,t),r&&wF(e,r),e}function ive(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 uve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&MT(e,t)}function cve(e,t){return t&&(lve(t)==="object"||typeof t=="function")?t:IT(e)}function MT(e,t){return MT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},MT(e,t)}function lve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ave(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fve(e){var t=ave();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 cve(this,o)}}var sve=function(e){uve(r,e);var t=fve(r);function r(n){rve(this,r);var o;return o=t.call(this,n),ive(IT(o),"props",void 0),o.props=new Xc(IT(o),n==null?void 0:n.props),o}return ove(r,[{key:"getChildrenDataSourceBindLayout",value:function(){dr("Method not implemented.")}},{key:"getChildrenFormControl",value:function(){var o=[];return o}}],[{key:"controlType",get:function(){return"subtable"}}]),r}(Wg),PF={Designer:Jc,Runtime:sve,Property:Xc};function Ki(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _ve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qc(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 yve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 dve(e,t){return t&&(pve(t)==="object"||typeof t=="function")?t:Ki(e)}function LT(e,t){return LT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LT(e,t)}function pve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function vve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function hve(e){var t=vve();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 dve(this,o)}}var kT=function(e){yve(r,e);var t=hve(r);function r(n,o){_ve(this,r);var i;i=t.call(this,n,o),Qc(Ki(i),"isFixedHeader",void 0),Qc(Ki(i),"selectionType",void 0),Qc(Ki(i),"isShowToolbar",void 0),Qc(Ki(i),"isShowSelection",void 0),Qc(Ki(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 a;i.isShowSelection=(a=o==null?void 0:o.isShowSelection)!==null&&a!==void 0?a:!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}(Ju);function gve(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mve(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 RF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 bve(e,t){return t&&(Ove(t)==="object"||typeof t=="function")?t:gve(e)}function AT(e,t){return AT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},AT(e,t)}function Ove(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function wve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function EF(e){var t=wve();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 bve(this,o)}}var Pve=function(e){RF(r,e);var t=EF(r);function r(n){TF(this,r);var o;return o=t.call(this,n),o.caption.required=!1,o}return r}(dn),gp=function(e){RF(r,e);var t=EF(r);function r(n){TF(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 a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:To.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 y;return o.widthType=(y=n==null?void 0:n.widthType)!==null&&y!==void 0?y:"px",o}return r}(Ne);mve(gp,"Rules",Pve);function $F(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tve(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 mp(e){return mp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},mp(e)}function Rve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Eve(e,t){return t&&($ve(t)==="object"||typeof t=="function")?t:$F(e)}function DT(e,t){return DT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DT(e,t)}function $ve(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 Nve(e){var t=Sve();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 Eve(this,o)}}var To=function(e){Rve(r,e);var t=Nve(r);function r(n){Tve(this,r);var o;return o=t.call(this,n),Zc($F(o),"props",void 0),o.props=new gp(n==null?void 0:n.props),o}return r}(We);Zc(To,"controlType","order-column"),Zc(To,"controlName",d.getMessage("order")),Zc(To,"controlIcon","order-column"),Zc(To,"setting",[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}]);function SF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ive(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 bp(e){return bp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},bp(e)}function Mve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Lve(e,t){return t&&(kve(t)==="object"||typeof t=="function")?t:SF(e)}function jT(e,t){return jT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jT(e,t)}function kve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ave(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dve(e){var t=Ave();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 Lve(this,o)}}var CT=function(e){Mve(r,e);var t=Dve(r);function r(n){Ive(this,r);var o;return o=t.call(this,n),BT(SF(o),"props",void 0),o.props=new gp(n==null?void 0:n.props),o}return r}(qe);BT(CT,"controlType","order-column"),BT(CT,"controlFieldType",l.FieldTypes.DECIMAL);var NF={Designer:To,Runtime:CT,Property:gp};function FT(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 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 Op(e){return Op=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Op(e)}function jve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&VT(e,t)}function Cve(e,t){return t&&(Fve(t)==="object"||typeof t=="function")?t:FT(e)}function VT(e,t){return VT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},VT(e,t)}function Fve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Vve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function xve(e){var t=Vve();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 Cve(this,o)}}var xT=function(e){jve(r,e);var t=xve(r);function r(n){Bve(this,r);var o,i;o=t.call(this,n),IF(FT(o),"showType",void 0),IF(FT(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 a;o.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:Eo.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 MF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function LF(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(f){r(f);return}c.done?t(a):Promise.resolve(a).then(n,o)}function Uve(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){LF(i,n,o,u,c,"next",a)}function c(a){LF(i,n,o,u,c,"throw",a)}u(void 0)})}}function Gve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kF(e,t){for(var r=0;r<t.length;r++){var 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&&kF(e.prototype,t),r&&kF(e,r),e}function el(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function tl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?tl=Reflect.get:tl=function(o,i,u){var c=Wve(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},tl(e,t,r||e)}function Ro(e){return Ro=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ro(e)}function Hve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&UT(e,t)}function zve(e,t){return t&&(qve(t)==="object"||typeof t=="function")?t:MF(e)}function UT(e,t){return UT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},UT(e,t)}function Wve(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Ro(e),e!==null););return e}function qve(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Kve(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Xve(e){var t=Kve();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 zve(this,o)}}function Jve(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 a([f,s])}}function a(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 Eo=function(e){Hve(r,e);var t=Xve(r);function r(n){Gve(this,r);var o;return o=t.call(this,n),el(MF(o),"props",void 0),o.props=new xT(n==null?void 0:n.props),o}return Yve(r,[{key:"toDataBindModel",value:function(){var o=tl(Ro(r.prototype),"toDataBindModel",this).call(this);return this.children.map(function(i){if(i.type===Os.controlType){var u=i;o.props[u.props.command]=u.props}}),o}},{key:"validate",value:function(o,i){var u=this,c=this,a=function(){return tl(Ro(r.prototype),"validate",u)};return Uve(function(){return Jve(this,function(f){switch(f.label){case 0:return[4,a().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);el(Eo,"controlType","operation-column"),el(Eo,"controlName",d.getMessage("operation")),el(Eo,"controlIcon","operation-column"),el(Eo,"setting",[{key:"caption",showItems:[l.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 AF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Qve(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function GT(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 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&&YT(e,t)}function ehe(e,t){return t&&(the(t)==="object"||typeof t=="function")?t:AF(e)}function YT(e,t){return YT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},YT(e,t)}function the(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function nhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function rhe(e){var t=nhe();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 ehe(this,o)}}var HT=function(e){Zve(r,e);var t=rhe(r);function r(n){Qve(this,r);var o;return o=t.call(this,n),GT(AF(o),"props",void 0),o.props=new xT(n==null?void 0:n.props),o}return r}(qe);GT(HT,"controlType","operation-column"),GT(HT,"controlFieldType",l.FieldTypes.FILE);var DF={Designer:Eo,Runtime:HT,Property:xT};function $o(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function BF(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(f){r(f);return}c.done?t(a):Promise.resolve(a).then(n,o)}function ohe(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function u(a){BF(i,n,o,u,c,"next",a)}function c(a){BF(i,n,o,u,c,"throw",a)}u(void 0)})}}function ihe(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 uhe(e,t,r){return t&&jF(e.prototype,t),r&&jF(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 nl(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?nl=Reflect.get:nl=function(o,i,u){var c=yhe(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},nl(e,t,r||e)}function So(e){return So=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},So(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&&zT(e,t)}function lhe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function ahe(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 fhe(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 she(e,t){return t=t!=null?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fhe(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}function _he(e,t){return t&&(dhe(t)==="object"||typeof t=="function")?t:$o(e)}function zT(e,t){return zT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},zT(e,t)}function yhe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=So(e),e!==null););return e}function dhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function phe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function vhe(e){var t=phe();return function(){var n=So(e),o;if(t){var i=So(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return _he(this,o)}}function hhe(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 a([f,s])}}function a(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 ghe=1e4,rl=function(t){che(n,t);var r=vhe(n);function n(o){ihe(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=lhe(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new kT($o(i),o==null?void 0:o.props),yn($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 To,new Eo]),i.excludes=Wt(c),i.childrenMaxLength=a,i}return uhe(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=nl(So(n.prototype),"toSchema",this).call(this),u=this.children.map(function(c){return c.toSchema()});return she(ahe({},i),{children:u})}},{key:"validate",value:function(i,u){var c=this,a=this,f=function(){return nl(So(n.prototype),"validate",c)};return ohe(function(){return hhe(this,function(s){switch(s.label){case 0:return[4,f().call(a,i,u)];case 1:return s.sent(),[4,Promise.all(a.children.map(function(_){return _.validate(i,u)}))];case 2:return s.sent(),[2,!0]}})})()}}],[{key:"controlName",get:function(){return d.getMessage("gridTable")}},{key:"controlIcon",get:function(){return"iconlistview"}},{key:"controlType",get:function(){return"grid-table"}}]),n}(Ta);rr(rl,"slotPosition",{toolbar:"grid-table-toolbar-slot"}),rr(rl,"setting",[{key:"list-fixed-header",visible:!0}]),rr(rl,"excludes",[]),rr(rl,"childrenMaxLength",ghe);function WT(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function mhe(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 bhe(e,t,r){return t&&CF(e.prototype,t),r&&CF(e,r),e}function Ohe(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 whe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&qT(e,t)}function Phe(e,t){return t&&(The(t)==="object"||typeof t=="function")?t:WT(e)}function qT(e,t){return qT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},qT(e,t)}function The(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 Ehe(e){var t=Rhe();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 Phe(this,o)}}var $he=function(e){whe(r,e);var t=Ehe(r);function r(n){mhe(this,r);var o;return o=t.call(this,n),Ohe(WT(o),"props",void 0),o.props=new kT(WT(o),n==null?void 0:n.props),o}return bhe(r,[{key:"getChildrenDataSourceBindLayout",value:function(){dr("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}(Wg),FF={Designer:rl,Runtime:$he,Property:kT},She=Object.freeze({__proto__:null,SubTable:PF,GridTable:FF});function or(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function VF(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 Tp(e){return Tp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Tp(e)}function xF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Nhe(e,t){return t&&(Ihe(t)==="object"||typeof t=="function")?t:or(e)}function KT(e,t){return KT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KT(e,t)}function Ihe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Mhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function UF(e){var t=Mhe();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 Nhe(this,o)}}var Lhe=function(e){xF(r,e);var t=UF(r);function r(n){VF(this,r);var o;return o=t.call(this,n),qn.call(or(o),n),o}return r}(Qg),Rp=function(e){xF(r,e);var t=UF(r);function r(n){VF(this,r);var o;o=t.call(this,n),Hr(or(o),"optionConfig",void 0),Hr(or(o),"datasourceBind",void 0),Hr(or(o),"showLinkOperation",void 0),Hr(or(o),"linkOperationOption",void 0),Hr(or(o),"options",void 0),Hr(or(o),"lineEllipsis",void 0),Hr(or(o),"dictionaryTagConfig",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:No.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=In((c=n==null?void 0:n.options)!==null&&c!==void 0?c:[{}]);var a;o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new Nn(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);Hr(Rp,"Rules",Lhe);function GF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function khe(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 Ep(e){return Ep=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ep(e)}function Ahe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Dhe(e,t){return t&&(Bhe(t)==="object"||typeof t=="function")?t:GF(e)}function XT(e,t){return XT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},XT(e,t)}function Bhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jhe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Che(e){var t=jhe();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 Dhe(this,o)}}var No=function(e){Ahe(r,e);var t=Che(r);function r(n){khe(this,r);var o;return o=t.call(this,n),Xi(GF(o),"props",void 0),o.props=new Rp(n==null?void 0:n.props),o}return r}(We);Xi(No,"controlType","varchar-column"),Xi(No,"controlName",d.getMessage("varchar")),Xi(No,"controlIcon","varchar-column"),Xi(No,"controlFieldType",l.FieldTypes.VARCHAR),Xi(No,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 YF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fhe(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 $p(e){return $p=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},$p(e)}function Vhe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&QT(e,t)}function xhe(e,t){return t&&(Uhe(t)==="object"||typeof t=="function")?t:YF(e)}function QT(e,t){return QT=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},QT(e,t)}function Uhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ghe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Yhe(e){var t=Ghe();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 xhe(this,o)}}var ZT=function(e){Vhe(r,e);var t=Yhe(r);function r(n){Fhe(this,r);var o;return o=t.call(this,n),JT(YF(o),"props",void 0),o.props=new Rp(n==null?void 0:n.props),o}return r}(qe);JT(ZT,"controlType","varchar-column"),JT(ZT,"controlFieldType",l.FieldTypes.VARCHAR);var HF={Designer:No,Runtime:ZT,Property:Rp};function Ji(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zF(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Sp(e){return Sp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Sp(e)}function WF(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&eR(e,t)}function Hhe(e,t){return t&&(zhe(t)==="object"||typeof t=="function")?t:Ji(e)}function eR(e,t){return eR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},eR(e,t)}function zhe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Whe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function qF(e){var t=Whe();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 Hhe(this,o)}}var qhe=function(e){WF(r,e);var t=qF(r);function r(n){zF(this,r);var o;return o=t.call(this,n),qn.call(Ji(o),n),o}return r}(dn),Np=function(e){WF(r,e);var t=qF(r);function r(n){zF(this,r);var o;o=t.call(this,n),ol(Ji(o),"escapeHTML",void 0),ol(Ji(o),"showLinkOperation",void 0),ol(Ji(o),"linkOperationOption",void 0),ol(Ji(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:Io.controlName;var c;o.lineEllipsis=(c=n==null?void 0:n.lineEllipsis)!==null&&c!==void 0?c:1;var a;return o.showLinkOperation=(a=n==null?void 0:n.showLinkOperation)!==null&&a!==void 0?a:!1,o.linkOperationOption=new Nn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);ol(Np,"Rules",qhe);function KF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Khe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function XF(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xhe(e,t,r){return t&&XF(e.prototype,t),r&&XF(e,r),e}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 Ip(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ip=Reflect.get:Ip=function(o,i,u){var c=Zhe(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Ip(e,t,r||e)}function Zi(e){return Zi=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Zi(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&&tR(e,t)}function Qhe(e,t){return t&&(ege(t)==="object"||typeof t=="function")?t:KF(e)}function tR(e,t){return tR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},tR(e,t)}function Zhe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=Zi(e),e!==null););return e}function ege(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tge();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 Qhe(this,o)}}var Io=function(e){Jhe(r,e);var t=nge(r);function r(n){Khe(this,r);var o;return o=t.call(this,n),Qi(KF(o),"props",void 0),o.props=new Np(n==null?void 0:n.props),o}return Xhe(r,[{key:"toDataBindModel",value:function(o){var i=Ip(Zi(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.escapeHTML;i.props.escapeHTML=u}return i}}]),r}(We);Qi(Io,"controlType","text-column"),Qi(Io,"controlName",d.getMessage("long")),Qi(Io,"controlIcon","text-column"),Qi(Io,"controlFieldType",l.FieldTypes.TEXT),Qi(Io,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 JF(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rge(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 Mp(e){return Mp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mp(e)}function oge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rR(e,t)}function ige(e,t){return t&&(uge(t)==="object"||typeof t=="function")?t:JF(e)}function rR(e,t){return rR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rR(e,t)}function uge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lge(e){var t=cge();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 ige(this,o)}}var oR=function(e){oge(r,e);var t=lge(r);function r(n){rge(this,r);var o;return o=t.call(this,n),nR(JF(o),"props",void 0),o.props=new Np(n==null?void 0:n.props),o}return r}(qe);nR(oR,"controlType","text-column"),nR(oR,"controlFieldType",l.FieldTypes.TEXT);var QF={Designer:Io,Runtime:oR,Property:Np};function Fn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ZF(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 Lp(e){return Lp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Lp(e)}function e2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&iR(e,t)}function age(e,t){return t&&(fge(t)==="object"||typeof t=="function")?t:Fn(e)}function iR(e,t){return iR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iR(e,t)}function fge(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 t2(e){var t=sge();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 age(this,o)}}var _ge=function(e){e2(r,e);var t=t2(r);function r(n){ZF(this,r);var o;return o=t.call(this,n),qn.call(Fn(o),n),o}return r}(dn),kp=function(e){e2(r,e);var t=t2(r);function r(n){ZF(this,r);var o;o=t.call(this,n),ir(Fn(o),"optionConfig",void 0),ir(Fn(o),"datasourceBind",void 0),ir(Fn(o),"showLinkOperation",void 0),ir(Fn(o),"linkOperationOption",void 0),ir(Fn(o),"options",void 0),ir(Fn(o),"precision",void 0),ir(Fn(o),"micrometer",void 0),ir(Fn(o),"percentageFormat",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Mo.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 a;o.percentageFormat=(a=n==null?void 0:n.percentageFormat)!==null&&a!==void 0?a:!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=In((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 Nn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);ir(kp,"Rules",_ge);function n2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r2(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function dge(e,t,r){return t&&r2(e.prototype,t),r&&r2(e,r),e}function eu(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Ap=Reflect.get:Ap=function(o,i,u){var c=hge(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Ap(e,t,r||e)}function tu(e){return tu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},tu(e)}function pge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&uR(e,t)}function vge(e,t){return t&&(gge(t)==="object"||typeof t=="function")?t:n2(e)}function uR(e,t){return uR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},uR(e,t)}function hge(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=tu(e),e!==null););return e}function gge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bge(e){var t=mge();return function(){var n=tu(e),o;if(t){var i=tu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return vge(this,o)}}var Mo=function(e){pge(r,e);var t=bge(r);function r(n){yge(this,r);var o;return o=t.call(this,n),eu(n2(o),"props",void 0),o.props=new kp(n==null?void 0:n.props),o}return dge(r,[{key:"toDataBindModel",value:function(o){var i=Ap(tu(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props,c=u.precision,a=u.micrometer;c!==""&&(i.props.precision=c),i.props.micrometer=a}return i}}]),r}(We);eu(Mo,"controlType","decimal-column"),eu(Mo,"controlName",d.getMessage("decimal")),eu(Mo,"controlIcon","decimal-column"),eu(Mo,"controlFieldType",l.FieldTypes.DECIMAL),eu(Mo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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:[l.COMMON_SETTING_TYPE.MICROMETER,l.COMMON_SETTING_TYPE.PRECISION,l.COMMON_SETTING_TYPE.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}]);function o2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oge(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 Dp(e){return Dp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Dp(e)}function wge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lR(e,t)}function Pge(e,t){return t&&(Tge(t)==="object"||typeof t=="function")?t:o2(e)}function lR(e,t){return lR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lR(e,t)}function Tge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ege(e){var t=Rge();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 Pge(this,o)}}var aR=function(e){wge(r,e);var t=Ege(r);function r(n){Oge(this,r);var o;return o=t.call(this,n),cR(o2(o),"props",void 0),o.props=new kp(n==null?void 0:n.props),o}return r}(qe);cR(aR,"controlType","decimal-column"),cR(aR,"controlFieldType",l.FieldTypes.DECIMAL);var i2={Designer:Mo,Runtime:aR,Property:kp};function il(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bp(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){return jp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},jp(e)}function c2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&fR(e,t)}function $ge(e,t){return t&&(Sge(t)==="object"||typeof t=="function")?t:il(e)}function fR(e,t){return fR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fR(e,t)}function Sge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Nge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Nge();return function(){var n=jp(e),o;if(t){var i=jp(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $ge(this,o)}}var Ige=function(e){c2(r,e);var t=l2(r);function r(n){u2(this,r);var o;return o=t.call(this,n),qn.call(il(o),n),o}return r}(dn),Cp=function(e){c2(r,e);var t=l2(r);function r(n){u2(this,r);var o;o=t.call(this,n),Bp(il(o),"dateType",void 0),Bp(il(o),"showLinkOperation",void 0),Bp(il(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:l.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Nn(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:Lo.controlName,o}return r}(Ne);Bp(Cp,"Rules",Ige);function a2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mge(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f2(e,t){for(var r=0;r<t.length;r++){var 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&&f2(e.prototype,t),r&&f2(e,r),e}function nu(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fp(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?Fp=Reflect.get:Fp=function(o,i,u){var c=Dge(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Fp(e,t,r||e)}function ru(e){return ru=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},ru(e)}function kge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&sR(e,t)}function Age(e,t){return t&&(Bge(t)==="object"||typeof t=="function")?t:a2(e)}function sR(e,t){return sR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sR(e,t)}function Dge(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=ru(e),e!==null););return e}function Bge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function jge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=jge();return function(){var n=ru(e),o;if(t){var i=ru(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Age(this,o)}}var Lo=function(e){kge(r,e);var t=Cge(r);function r(n){Mge(this,r);var o;return o=t.call(this,n),nu(a2(o),"props",void 0),o.props=new Cp(n==null?void 0:n.props),o}return Lge(r,[{key:"toDataBindModel",value:function(o){var i=Fp(ru(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(We);nu(Lo,"controlType","timescope-column"),nu(Lo,"controlName",d.getMessage("timescope")),nu(Lo,"controlIcon","timescope-column"),nu(Lo,"controlFieldType",l.FieldTypes.TIMESCOPE),nu(Lo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 s2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Fge(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 Vp(e){return Vp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Vp(e)}function Vge(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yR(e,t)}function xge(e,t){return t&&(Uge(t)==="object"||typeof t=="function")?t:s2(e)}function yR(e,t){return yR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yR(e,t)}function Uge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Gge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Gge();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 xge(this,o)}}var dR=function(e){Vge(r,e);var t=Yge(r);function r(n){Fge(this,r);var o;return o=t.call(this,n),_R(s2(o),"props",void 0),o.props=new Cp(n==null?void 0:n.props),o}return r}(qe);_R(dR,"controlType","timescope-column"),_R(dR,"controlFieldType",l.FieldTypes.TIMESCOPE);var _2={Designer:Lo,Runtime:dR,Property:Cp};function ul(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 d2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&pR(e,t)}function Hge(e,t){return t&&(zge(t)==="object"||typeof t=="function")?t:ul(e)}function pR(e,t){return pR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pR(e,t)}function zge(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Wge(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function p2(e){var t=Wge();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 Hge(this,o)}}var qge=function(e){d2(r,e);var t=p2(r);function r(n){y2(this,r);var o;return o=t.call(this,n),qn.call(ul(o),n),o}return r}(dn),Gp=function(e){d2(r,e);var t=p2(r);function r(n){y2(this,r);var o;o=t.call(this,n),xp(ul(o),"dateType",void 0),xp(ul(o),"showLinkOperation",void 0),xp(ul(o),"linkOperationOption",void 0);var i;o.dateType=(i=n==null?void 0:n.dateType)!==null&&i!==void 0?i:l.DateType.DATE;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Nn(n==null?void 0:n.linkOperationOption);var c;return o.caption=(c=n==null?void 0:n.caption)!==null&&c!==void 0?c:ko.controlName,o}return r}(Ne);xp(Gp,"Rules",qge);function v2(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 h2(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Xge(e,t,r){return t&&h2(e.prototype,t),r&&h2(e,r),e}function ou(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,t,r){return typeof Reflect!="undefined"&&Reflect.get?Yp=Reflect.get:Yp=function(o,i,u){var c=Zge(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Yp(e,t,r||e)}function iu(e){return iu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iu(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&&vR(e,t)}function Qge(e,t){return t&&(eme(t)==="object"||typeof t=="function")?t:v2(e)}function vR(e,t){return vR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},vR(e,t)}function Zge(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=iu(e),e!==null););return e}function eme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function tme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=tme();return function(){var n=iu(e),o;if(t){var i=iu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Qge(this,o)}}var ko=function(e){Jge(r,e);var t=nme(r);function r(n){Kge(this,r);var o;return o=t.call(this,n),ou(v2(o),"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return Xge(r,[{key:"toDataBindModel",value:function(o){var i=Yp(iu(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.dateType;i.props.dateType=u}return i}}]),r}(We);ou(ko,"controlType","timestamp-column"),ou(ko,"controlName",d.getMessage("timestamp")),ou(ko,"controlIcon","timestamp-column"),ou(ko,"controlFieldType",l.FieldTypes.TIMESTAMP),ou(ko,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 g2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rme(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 Hp(e){return Hp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Hp(e)}function ome(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&gR(e,t)}function ime(e,t){return t&&(ume(t)==="object"||typeof t=="function")?t:g2(e)}function gR(e,t){return gR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gR(e,t)}function ume(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function cme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function lme(e){var t=cme();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 ime(this,o)}}var mR=function(e){ome(r,e);var t=lme(r);function r(n){rme(this,r);var o;return o=t.call(this,n),hR(g2(o),"props",void 0),o.props=new Gp(n==null?void 0:n.props),o}return r}(qe);hR(mR,"controlType","timestamp-column"),hR(mR,"controlFieldType",l.FieldTypes.TIMESTAMP);var m2={Designer:ko,Runtime:mR,Property:Gp};function Ao(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function uu(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 O2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bR(e,t)}function ame(e,t){return t&&(fme(t)==="object"||typeof t=="function")?t:Ao(e)}function bR(e,t){return bR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},bR(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 w2(e){var t=sme();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 ame(this,o)}}var _me=function(e){O2(r,e);var t=w2(r);function r(n){b2(this,r);var o;return o=t.call(this,n),qn.call(Ao(o),n),o}return r}(Qg),Wp=function(e){O2(r,e);var t=w2(r);function r(n){b2(this,r);var o;o=t.call(this,n),uu(Ao(o),"optionConfig",void 0),uu(Ao(o),"datasourceBind",void 0),uu(Ao(o),"showLinkOperation",void 0),uu(Ao(o),"linkOperationOption",void 0),uu(Ao(o),"options",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Do.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 Nn(n==null?void 0:n.linkOperationOption);var a;return o.options=In((a=n==null?void 0:n.options)!==null&&a!==void 0?a:[{}]),o}return r}(Ne);uu(Wp,"Rules",_me);function P2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yme(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 qp(e){return qp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},qp(e)}function dme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&OR(e,t)}function pme(e,t){return t&&(vme(t)==="object"||typeof t=="function")?t:P2(e)}function OR(e,t){return OR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OR(e,t)}function vme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function hme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function gme(e){var t=hme();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 pme(this,o)}}var Do=function(e){dme(r,e);var t=gme(r);function r(n){yme(this,r);var o;return o=t.call(this,n),cu(P2(o),"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return r}(We);cu(Do,"controlType","array-column"),cu(Do,"controlName",d.getMessage("array")),cu(Do,"controlIcon","array-column"),cu(Do,"controlFieldType",l.FieldTypes.ARRAY),cu(Do,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 mme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wR(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 bme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&PR(e,t)}function Ome(e,t){return t&&(wme(t)==="object"||typeof t=="function")?t:T2(e)}function PR(e,t){return PR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},PR(e,t)}function wme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Pme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Tme(e){var t=Pme();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 Ome(this,o)}}var TR=function(e){bme(r,e);var t=Tme(r);function r(n){mme(this,r);var o;return o=t.call(this,n),wR(T2(o),"props",void 0),o.props=new Wp(n==null?void 0:n.props),o}return r}(qe);wR(TR,"controlType","array-column"),wR(TR,"controlFieldType",l.FieldTypes.ARRAY);var R2={Designer:Do,Runtime:TR,Property:Wp};function E2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Eme(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 $me(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&RR(e,t)}function Sme(e,t){return t&&(Nme(t)==="object"||typeof t=="function")?t:E2(e)}function RR(e,t){return RR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RR(e,t)}function Nme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Ime(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Mme(e){var t=Ime();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 Sme(this,o)}}var ER=function(e){$me(r,e);var t=Mme(r);function r(n){Rme(this,r);var o;o=t.call(this,n),Eme(E2(o),"displayLevel",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Bo.controlName;var u;return o.displayLevel=(u=n==null?void 0:n.displayLevel)!==null&&u!==void 0?u:1,o}return r}(Ne);function $2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lme(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 kme(e,t,r){return t&&S2(e.prototype,t),r&&S2(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=Bme(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},Jp(e,t,r||e)}function au(e){return au=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},au(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&&$R(e,t)}function Dme(e,t){return t&&(jme(t)==="object"||typeof t=="function")?t:$2(e)}function $R(e,t){return $R=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},$R(e,t)}function Bme(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=au(e),e!==null););return e}function jme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Cme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Fme(e){var t=Cme();return function(){var n=au(e),o;if(t){var i=au(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Dme(this,o)}}var Bo=function(e){Ame(r,e);var t=Fme(r);function r(n){Lme(this,r);var o;return o=t.call(this,n),lu($2(o),"props",void 0),o.props=new ER(n==null?void 0:n.props),o}return kme(r,[{key:"toDataBindModel",value:function(o){var i=Jp(au(r.prototype),"toDataBindModel",this).call(this,o);if(i){var u=this.props.displayLevel;i.props.displayLevel=u}return i}}]),r}(We);lu(Bo,"controlType","department-column"),lu(Bo,"controlName",d.getMessage("department")),lu(Bo,"controlIcon","department-column"),lu(Bo,"controlFieldType",l.FieldTypes.DEPARTMENTS),lu(Bo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 N2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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}function Qp(e){return Qp=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Qp(e)}function xme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&NR(e,t)}function Ume(e,t){return t&&(Gme(t)==="object"||typeof t=="function")?t:N2(e)}function NR(e,t){return NR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NR(e,t)}function Gme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Yme(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Hme(e){var t=Yme();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 Ume(this,o)}}var IR=function(e){xme(r,e);var t=Hme(r);function r(n){Vme(this,r);var o;return o=t.call(this,n),SR(N2(o),"props",void 0),o.props=new ER(n==null?void 0:n.props),o}return r}(qe);SR(IR,"controlType","department-column"),SR(IR,"controlFieldType",l.FieldTypes.DEPARTMENTS);var I2={Designer:Bo,Runtime:IR,Property:ER};function Zp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M2(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function MR(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 L2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LR(e,t)}function zme(e,t){return t&&(Wme(t)==="object"||typeof t=="function")?t:Zp(e)}function LR(e,t){return LR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LR(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 k2(e){var t=qme();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 zme(this,o)}}var Kme=function(e){L2(r,e);var t=k2(r);function r(n){M2(this,r);var o;return o=t.call(this,n),qn.call(Zp(o),n),o}return r}(dn),tv=function(e){L2(r,e);var t=k2(r);function r(n){M2(this,r);var o;o=t.call(this,n),MR(Zp(o),"showLinkOperation",void 0),MR(Zp(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:jo.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Nn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);MR(tv,"Rules",Kme);function A2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fu(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 Jme(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&kR(e,t)}function Qme(e,t){return t&&(Zme(t)==="object"||typeof t=="function")?t:A2(e)}function kR(e,t){return kR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kR(e,t)}function Zme(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ebe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ebe();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 Qme(this,o)}}var jo=function(e){Jme(r,e);var t=tbe(r);function r(n){Xme(this,r);var o;return o=t.call(this,n),fu(A2(o),"props",void 0),o.props=new tv(n==null?void 0:n.props),o}return r}(We);fu(jo,"controlType","auto-number-column"),fu(jo,"controlName",d.getMessage("autoNumber")),fu(jo,"controlIcon","auto-number-column"),fu(jo,"controlFieldType",l.FieldTypes.AUTO_NUMBER),fu(jo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 D2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nbe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AR(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 rbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&DR(e,t)}function obe(e,t){return t&&(ibe(t)==="object"||typeof t=="function")?t:D2(e)}function DR(e,t){return DR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},DR(e,t)}function ibe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ube(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cbe(e){var t=ube();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 obe(this,o)}}var BR=function(e){rbe(r,e);var t=cbe(r);function r(n){nbe(this,r);var o;return o=t.call(this,n),AR(D2(o),"props",void 0),o.props=new tv(n==null?void 0:n.props),o}return r}(qe);AR(BR,"controlType","auto-number-column"),AR(BR,"controlFieldType",l.FieldTypes.AUTO_NUMBER);var B2={Designer:jo,Runtime:BR,Property:tv};function lbe(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function abe(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 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&&jR(e,t)}function sbe(e,t){return t&&(_be(t)==="object"||typeof t=="function")?t:lbe(e)}function jR(e,t){return jR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},jR(e,t)}function _be(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 dbe(e){var t=ybe();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 sbe(this,o)}}var CR=function(e){fbe(r,e);var t=dbe(r);function r(n){abe(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 j2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pbe(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 iv(e){return iv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},iv(e)}function vbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&FR(e,t)}function hbe(e,t){return t&&(gbe(t)==="object"||typeof t=="function")?t:j2(e)}function FR(e,t){return FR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},FR(e,t)}function gbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function mbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function bbe(e){var t=mbe();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 hbe(this,o)}}var Co=function(e){vbe(r,e);var t=bbe(r);function r(n){pbe(this,r);var o;return o=t.call(this,n),su(j2(o),"props",void 0),o.props=new CR(n==null?void 0:n.props),o}return r}(We);su(Co,"controlType","file-column"),su(Co,"controlName",d.getMessage("file")),su(Co,"controlIcon","file-column"),su(Co,"controlFieldType",l.FieldTypes.FILE),su(Co,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 C2(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 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 uv(e){return uv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},uv(e)}function wbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xR(e,t)}function Pbe(e,t){return t&&(Tbe(t)==="object"||typeof t=="function")?t:C2(e)}function xR(e,t){return xR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},xR(e,t)}function Tbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Rbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Ebe(e){var t=Rbe();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 Pbe(this,o)}}var UR=function(e){wbe(r,e);var t=Ebe(r);function r(n){Obe(this,r);var o;return o=t.call(this,n),VR(C2(o),"props",void 0),o.props=new CR(n==null?void 0:n.props),o}return r}(qe);VR(UR,"controlType","file-column"),VR(UR,"controlFieldType",l.FieldTypes.FILE);var F2={Designer:Co,Runtime:UR,Property:CR};function $be(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sbe(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 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&&GR(e,t)}function Ibe(e,t){return t&&(Mbe(t)==="object"||typeof t=="function")?t:$be(e)}function GR(e,t){return GR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},GR(e,t)}function Mbe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function Lbe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=Lbe();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 Ibe(this,o)}}var YR=function(e){Nbe(r,e);var t=kbe(r);function r(n){Sbe(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:Fo.controlName,o}return r}(Ne);function V2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Abe(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 lv(e){return lv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},lv(e)}function Dbe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&HR(e,t)}function Bbe(e,t){return t&&(jbe(t)==="object"||typeof t=="function")?t:V2(e)}function HR(e,t){return HR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},HR(e,t)}function jbe(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 Fbe(e){var t=Cbe();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 Bbe(this,o)}}var Fo=function(e){Dbe(r,e);var t=Fbe(r);function r(n){Abe(this,r);var o;return o=t.call(this,n),_u(V2(o),"props",void 0),o.props=new YR(n==null?void 0:n.props),o}return r}(We);_u(Fo,"controlType","image-column"),_u(Fo,"controlName",d.getMessage("image")),_u(Fo,"controlIcon","image-column"),_u(Fo,"controlFieldType",l.FieldTypes.IMAGE),_u(Fo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 x2(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 zR(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 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&&WR(e,t)}function Ube(e,t){return t&&(Gbe(t)==="object"||typeof t=="function")?t:x2(e)}function WR(e,t){return WR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},WR(e,t)}function Gbe(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 Hbe(e){var t=Ybe();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 Ube(this,o)}}var qR=function(e){xbe(r,e);var t=Hbe(r);function r(n){Vbe(this,r);var o;return o=t.call(this,n),zR(x2(o),"props",void 0),o.props=new YR(n==null?void 0:n.props),o}return r}(qe);zR(qR,"controlType","image-column"),zR(qR,"controlFieldType",l.FieldTypes.IMAGE);var U2={Designer:Fo,Runtime:qR,Property:YR};function zbe(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 fv(e){return fv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},fv(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&&KR(e,t)}function Kbe(e,t){return t&&(Xbe(t)==="object"||typeof t=="function")?t:zbe(e)}function KR(e,t){return KR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},KR(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=fv(e),o;if(t){var i=fv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return Kbe(this,o)}}var XR=function(e){qbe(r,e);var t=Qbe(r);function r(n){Wbe(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:Vo.controlName,o}return r}(Ne);function G2(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 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 eOe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&JR(e,t)}function tOe(e,t){return t&&(nOe(t)==="object"||typeof t=="function")?t:G2(e)}function JR(e,t){return JR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},JR(e,t)}function nOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function rOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function oOe(e){var t=rOe();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 tOe(this,o)}}var Vo=function(e){eOe(r,e);var t=oOe(r);function r(n){Zbe(this,r);var o;return o=t.call(this,n),yu(G2(o),"props",void 0),o.props=new XR(n==null?void 0:n.props),o}return r}(We);yu(Vo,"controlType","people-column"),yu(Vo,"controlName",d.getMessage("people")),yu(Vo,"controlIcon","people-column"),yu(Vo,"controlFieldType",l.FieldTypes.EMPLOYEES),yu(Vo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 iOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QR(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 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&&ZR(e,t)}function cOe(e,t){return t&&(lOe(t)==="object"||typeof t=="function")?t:Y2(e)}function ZR(e,t){return ZR=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},ZR(e,t)}function lOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function aOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function fOe(e){var t=aOe();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 cOe(this,o)}}var eE=function(e){uOe(r,e);var t=fOe(r);function r(n){iOe(this,r);var o;return o=t.call(this,n),QR(Y2(o),"props",void 0),o.props=new XR(n==null?void 0:n.props),o}return r}(qe);QR(eE,"controlType","people-column"),QR(eE,"controlFieldType",l.FieldTypes.EMPLOYEES);var H2={Designer:Vo,Runtime:eE,Property:XR};function yv(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 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 dv(e){return dv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},dv(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&&nE(e,t)}function sOe(e,t){return t&&(_Oe(t)==="object"||typeof t=="function")?t:yv(e)}function nE(e,t){return nE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},nE(e,t)}function _Oe(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 q2(e){var t=yOe();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 sOe(this,o)}}var dOe=function(e){W2(r,e);var t=q2(r);function r(n){z2(this,r);var o;return o=t.call(this,n),qn.call(yv(o),n),o}return r}(dn),pv=function(e){W2(r,e);var t=q2(r);function r(n){z2(this,r);var o;o=t.call(this,n),tE(yv(o),"showLinkOperation",void 0),tE(yv(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:xo.controlName;var u;return o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Nn(n==null?void 0:n.linkOperationOption),o}return r}(Ne);tE(pv,"Rules",dOe);function K2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pOe(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 vv(e){return vv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vv(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&&rE(e,t)}function hOe(e,t){return t&&(gOe(t)==="object"||typeof t=="function")?t:K2(e)}function rE(e,t){return rE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},rE(e,t)}function gOe(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 bOe(e){var t=mOe();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 hOe(this,o)}}var xo=function(e){vOe(r,e);var t=bOe(r);function r(n){pOe(this,r);var o;return o=t.call(this,n),du(K2(o),"props",void 0),o.props=new pv(n==null?void 0:n.props),o}return r}(We);du(xo,"controlType","location-column"),du(xo,"controlName",d.getMessage("location")),du(xo,"controlIcon","location-column"),du(xo,"controlFieldType",l.FieldTypes.ADDRESS),du(xo,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 X2(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function OOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oE(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 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&&iE(e,t)}function POe(e,t){return t&&(TOe(t)==="object"||typeof t=="function")?t:X2(e)}function iE(e,t){return iE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},iE(e,t)}function TOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ROe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=ROe();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 POe(this,o)}}var uE=function(e){wOe(r,e);var t=EOe(r);function r(n){OOe(this,r);var o;return o=t.call(this,n),oE(X2(o),"props",void 0),o.props=new pv(n==null?void 0:n.props),o}return r}(qe);oE(uE,"controlType","location-column"),oE(uE,"controlFieldType",l.FieldTypes.ADDRESS);var J2={Designer:xo,Runtime:uE,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 Q2(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 Z2(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 $Oe(e,t){return t&&(SOe(t)==="object"||typeof t=="function")?t:gv(e)}function cE(e,t){return cE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},cE(e,t)}function SOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function NOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function e3(e){var t=NOe();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 $Oe(this,o)}}var IOe=function(e){Z2(r,e);var t=e3(r);function r(n){Q2(this,r);var o;return o=t.call(this,n),mv(gv(o),"sortFieldCode",{type:"string",message:d.getMessage("pleaseSelectSortFieldCode")}),n.sort===!0&&(o.sortFieldCode.required=!0),o}return r}(dn),Ov=function(e){Z2(r,e);var t=e3(r);function r(n){Q2(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",IOe);function pu(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function MOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function t3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function LOe(e,t,r){return t&&t3(e.prototype,t),r&&t3(e,r),e}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 wv(e,t,r){return typeof Reflect!="undefined"&&Reflect.get?wv=Reflect.get:wv=function(o,i,u){var c=BOe(o,i);if(!!c){var a=Object.getOwnPropertyDescriptor(c,i);return a.get?a.get.call(u||o):a.value}},wv(e,t,r||e)}function vu(e){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},vu(e)}function kOe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&lE(e,t)}function AOe(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function DOe(e,t){return t&&(jOe(t)==="object"||typeof t=="function")?t:pu(e)}function lE(e,t){return lE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},lE(e,t)}function BOe(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=vu(e),e!==null););return e}function jOe(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 FOe(e){var t=COe();return function(){var n=vu(e),o;if(t){var i=vu(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return DOe(this,o)}}var VOe=1,ur=function(t){kOe(n,t);var r=FOe(n);function n(o){MOe(this,n);var i;i=r.call(this,o),Tn(pu(i),"excludes",void 0),Tn(pu(i),"childrenMaxLength",void 0),Tn(pu(i),"props",void 0),Tn(pu(i),"children",void 0);var u=AOe(this,n)?this.constructor:void 0,c=u.excludes,a=u.childrenMaxLength;return i.props=new Ov(o==null?void 0:o.props),yn(pu(i),"children",o==null?void 0:o.children,void 0,"Designer"),i.excludes=Wt(c),i.childrenMaxLength=a,i}return LOe(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(vu(n.prototype),"toDataBindModel",this).call(this,i);if(u){var c=this.props.fieldCodeList;u.props.fieldCodeList=c}return u}}]),n}(We);Tn(ur,"controlType","custom-column"),Tn(ur,"controlName",d.getMessage("custom")),Tn(ur,"controlIcon","custom-column"),Tn(ur,"slots",["column-column-slot"]),Tn(ur,"excludes",[]),Tn(ur,"childrenMaxLength",VOe),Tn(ur,"setting",[{key:"caption",showItems:[l.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 Pv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function xOe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aE(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 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&&fE(e,t)}function GOe(e,t){return t&&(YOe(t)==="object"||typeof t=="function")?t:Pv(e)}function fE(e,t){return fE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},fE(e,t)}function YOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function HOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=HOe();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 GOe(this,o)}}var n3=function(e){UOe(r,e);var t=zOe(r);function r(n){xOe(this,r);var o;return o=t.call(this,n),aE(Pv(o),"props",void 0),aE(Pv(o),"children",void 0),o.props=new Ov(n==null?void 0:n.props),yn(Pv(o),"children",n==null?void 0:n.children,void 0,"Runtime"),o}return r}(qe);aE(n3,"controlType","custom-column");var r3={Designer:ur,Runtime:n3,Property:Ov};function o3(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 qOe(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 KOe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 XOe(e,t){return t&&(JOe(t)==="object"||typeof t=="function")?t:o3(e)}function sE(e,t){return sE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},sE(e,t)}function JOe(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function QOe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)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=QOe();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 XOe(this,o)}}var _E=function(e){KOe(r,e);var t=ZOe(r);function r(n){WOe(this,r);var o;o=t.call(this,n),qOe(o3(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 i3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function e0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function t0e(e,t,r){return t&&u3(e.prototype,t),r&&u3(e,r),e}function hu(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 n0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 r0e(e,t){return t&&(o0e(t)==="object"||typeof t=="function")?t:i3(e)}function yE(e,t){return yE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},yE(e,t)}function o0e(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 u0e(e){var t=i0e();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 r0e(this,o)}}var zr=function(e){n0e(r,e);var t=u0e(r);function r(n){e0e(this,r);var o;return o=t.call(this,n),hu(i3(o),"props",void 0),o.props=new _E(n==null?void 0:n.props),o}return t0e(r,null,[{key:"controlCustomAttributes",get:function(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}]),r}(We);hu(zr,"controlType","employee-column"),hu(zr,"controlName",d.getMessage("employee")),hu(zr,"controlIcon","employee-column"),hu(zr,"controlFieldType",l.FieldTypes.EMPLOYEES),hu(zr,"setting",[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[l.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 c3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function c0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function dE(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 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&&pE(e,t)}function a0e(e,t){return t&&(f0e(t)==="object"||typeof t=="function")?t:c3(e)}function pE(e,t){return pE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},pE(e,t)}function f0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function s0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function _0e(e){var t=s0e();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 a0e(this,o)}}var vE=function(e){l0e(r,e);var t=_0e(r);function r(n){c0e(this,r);var o;return o=t.call(this,n),dE(c3(o),"props",void 0),o.props=new _E(n==null?void 0:n.props),o}return r}(qe);dE(vE,"controlType","employee-column"),dE(vE,"controlFieldType",l.FieldTypes.EMPLOYEES);var l3={Designer:zr,Runtime:vE,Property:_E};function Sv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hE(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 d0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 p0e(e,t){return t&&(v0e(t)==="object"||typeof t=="function")?t:Sv(e)}function gE(e,t){return gE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},gE(e,t)}function v0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function h0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function g0e(e){var t=h0e();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 p0e(this,o)}}var mE=function(e){d0e(r,e);var t=g0e(r);function r(n){y0e(this,r);var o;o=t.call(this,n),hE(Sv(o),"lineEllipsis",void 0),hE(Sv(o),"showLinkOperation",void 0),hE(Sv(o),"linkOperationOption",void 0);var i;o.caption=(i=n==null?void 0:n.caption)!==null&&i!==void 0?i:Go.controlName;var u;o.showLinkOperation=(u=n==null?void 0:n.showLinkOperation)!==null&&u!==void 0?u:!1,o.linkOperationOption=new Nn(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 bE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Uo(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 b0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 O0e(e,t){return t&&(w0e(t)==="object"||typeof t=="function")?t:bE(e)}function OE(e,t){return OE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},OE(e,t)}function w0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function P0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function T0e(e){var t=P0e();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 O0e(this,o)}}var Go=function(e){b0e(r,e);var t=T0e(r);function r(n){m0e(this,r);var o;return o=t.call(this,n),Uo(bE(o),"props",void 0),Uo(bE(o),"children",void 0),o.props=new mE(n==null?void 0:n.props),o}return r}(We);Uo(Go,"controlType","approval-status-column"),Uo(Go,"controlName",d.getMessage("approvalStatusColumn")),Uo(Go,"controlIcon","approval-status-column"),Uo(Go,"excludes",[]),Uo(Go,"setting",[{key:"caption",showItems:[l.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 wE(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Mv(e){return Mv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mv(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&&TE(e,t)}function $0e(e,t){return t&&(S0e(t)==="object"||typeof t=="function")?t:wE(e)}function TE(e,t){return TE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},TE(e,t)}function S0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function N0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function I0e(e){var t=N0e();return function(){var n=Mv(e),o;if(t){var i=Mv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return $0e(this,o)}}var a3=function(e){E0e(r,e);var t=I0e(r);function r(n){R0e(this,r);var o;return o=t.call(this,n),PE(wE(o),"props",void 0),PE(wE(o),"children",void 0),o.props=new mE(n==null?void 0:n.props),o}return r}(qe);PE(a3,"controlType","approval-status-column");var f3={Designer:Go,Runtime:a3,Property:mE},M0e=Object.freeze({__proto__:null,VarcharColumn:HF,TextColumn:QF,DecimalColumn:i2,TimescopeColumn:_2,TimestampColumn:m2,ArrayColumn:R2,DepartmentColumn:I2,AutoNumberColumn:B2,FileColumn:F2,ImageColumn:U2,PeopleColumn:H2,LocationColumn:J2,CustomColumn:r3,OrderColumn:NF,OperationColumn:DF,EmployeeColumn:l3,ApprovalStatusColumn:f3});function Ut(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gt(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 _3(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 L0e(e,t){return t&&(k0e(t)==="object"||typeof t=="function")?t:Ut(e)}function RE(e,t){return RE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},RE(e,t)}function k0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function A0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function y3(e){var t=A0e();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 L0e(this,o)}}var D0e=function(e){_3(r,e);var t=y3(r);function r(n){s3(this,r);var o;return o=t.call(this,n),o.push({type:"object",fields:{}}),o}return r}(Nr),kv=function(e){_3(r,e);var t=y3(r);function r(n){s3(this,r);var o;o=t.call(this,n),Gt(Ut(o),"search",void 0),Gt(Ut(o),"cancel",void 0),Gt(Ut(o),"searchType",void 0),Gt(Ut(o),"labelPosition",void 0),Gt(Ut(o),"viewType",void 0),Gt(Ut(o),"isLoading",void 0),Gt(Ut(o),"custom",void 0),Gt(Ut(o),"queryTypeMap",void 0),Gt(Ut(o),"childMinWidth",void 0),Gt(Ut(o),"colGap",void 0),Gt(Ut(o),"viewConfig",void 0),Gt(Ut(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 a;o.search=new Hn((a=n==null?void 0:n.search)!==null&&a!==void 0?a:{content:"\u67E5\u8BE2",isShow:!0});var f;o.cancel=new Hn((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 Hn(v)});var y;o.queryTypeMap=(y=n==null?void 0:n.queryTypeMap)!==null&&y!==void 0?y:[];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 P;return o.simpleConfig=(P=n==null?void 0:n.simpleConfig)!==null&&P!==void 0?P:[],o}return r}(Ma);Gt(kv,"RuntimeRules",D0e);function d3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function B0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Av(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 j0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 C0e(e,t){return t&&(F0e(t)==="object"||typeof t=="function")?t:d3(e)}function EE(e,t){return EE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},EE(e,t)}function F0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function V0e(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function x0e(e){var t=V0e();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 C0e(this,o)}}var Bv=function(e){j0e(r,e);var t=x0e(r);function r(n){B0e(this,r);var o;return o=t.call(this,n),Av(d3(o),"props",void 0),o.props=new kv(n==null?void 0:n.props),o}return r}(xI);Av(Bv,"controlType","simple-search"),Av(Bv,"slotPosition",{default:"search"}),Av(Bv,"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:[l.COMMON_SETTING_TYPE.IS_HIDE]},{key:"search-view-type",visible:!0}]);function $E(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function U0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function SE(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 G0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Y0e(e,t){return t&&(H0e(t)==="object"||typeof t=="function")?t:$E(e)}function NE(e,t){return NE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},NE(e,t)}function H0e(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 W0e(e){var t=z0e();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 Y0e(this,o)}}var p3=function(e){G0e(r,e);var t=W0e(r);function r(n){U0e(this,r);var o;o=t.call(this,n),SE($E(o),"props",void 0),SE($E(o),"children",void 0),o.props=new kv(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}(GI);SE(p3,"controlType","simple-search");var v3={Designer:Bv,Runtime:p3,Property:kv},q0e=Object.freeze({__proto__:null,SimpleSearch:v3});function h3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function K0e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 Cv(e){return Cv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Cv(e)}function J0e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 Q0e(e,t){return t&&(Z0e(t)==="object"||typeof t=="function")?t:h3(e)}function IE(e,t){return IE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},IE(e,t)}function Z0e(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function ewe(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function twe(e){var t=ewe();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 Q0e(this,o)}}var ME=function(e){J0e(r,e);var t=twe(r);function r(n){K0e(this,r);var o;o=t.call(this,n),X0e(h3(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}(Da);function g3(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nwe(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 rwe(e,t,r){return t&&m3(e.prototype,t),r&&m3(e,r),e}function owe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fv(e){return Fv=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Fv(e)}function iwe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&LE(e,t)}function uwe(e,t){return t&&(cwe(t)==="object"||typeof t=="function")?t:g3(e)}function LE(e,t){return LE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},LE(e,t)}function cwe(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 awe(e){var t=lwe();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 uwe(this,o)}}var fwe=function(e){iwe(r,e);var t=awe(r);function r(n){nwe(this,r);var o;return o=t.call(this,n),owe(g3(o),"props",void 0),o.props=new ME(n==null?void 0:n.props),o}return rwe(r,null,[{key:"controlName",get:function(){return d.getMessage("gridLayoutWrap")}},{key:"controlIcon",get:function(){return"page"}},{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(HI);function b3(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 O3(e,t){for(var r=0;r<t.length;r++){var 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&&O3(e.prototype,t),r&&O3(e,r),e}function ywe(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 dwe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("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 pwe(e,t){return t&&(vwe(t)==="object"||typeof t=="function")?t:b3(e)}function kE(e,t){return kE=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},kE(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=Vv(e),o;if(t){var i=Vv(this).constructor;o=Reflect.construct(n,arguments,i)}else o=n.apply(this,arguments);return pwe(this,o)}}var mwe=function(e){dwe(r,e);var t=gwe(r);function r(n){swe(this,r);var o;return o=t.call(this,n),ywe(b3(o),"props",void 0),o.props=new ME(n==null?void 0:n.props),o}return _we(r,null,[{key:"controlType",get:function(){return"grid-layout-wrap"}}]),r}(WI);function hTe(e){return e}var bwe={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},w3={Designer:fwe,Runtime:mwe,Property:ME,Setting:bwe},Owe=Object.freeze({__proto__:null,GridLayoutWrap:w3});function AE(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 wwe(e){if(Array.isArray(e))return e}function Pwe(e){if(Array.isArray(e))return AE(e)}function Twe(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rwe(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(a){i=!0,c=a}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw c}}return n}}function Ewe(){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 $we(){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 Swe(e,t){return wwe(e)||Rwe(e,t)||T3(e,t)||Ewe()}function P3(e){return Pwe(e)||Twe(e)||T3(e)||$we()}function T3(e,t){if(!!e){if(typeof e=="string")return AE(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 AE(e,t)}}var Nwe=function(e,t){var r=Array.isArray(e),n=r?e:[e];xwe(t==null?void 0:t.events),Dwe(n),Bwe(n);var o=Awe(n),i=jwe(o,t),u=$r(de(i,function(c){return kwe(c,t)}));return r?u:u[0]},Iwe=[l.CONTROL_TYPE.DIVIDER,l.CONTROL_TYPE.TEXT,l.CONTROL_TYPE.TITLE,l.CONTROL_TYPE.LINK,l.CONTROL_TYPE.BUTTON,"list-btn-export-list","list-btn-export-record"],Mwe=["subtable","grid-table"],Lwe=["simple-search"];function kwe(e,t){var r,n,o,i=e;if(i.controlType||(i.is_layout_control===!0?i.controlType="layout":Iwe.includes(i.type)?i.controlType="base":i.controlType="form",Mwe.includes(i.type)&&(i.controlType="list"),Lwe.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 a,f=i.props.entry_type||i.props.entryType;i.props.openType=f==="subpage"?"modal":"default",((a=i.children[0])===null||a===void 0?void 0:a.type)==="subtable-row"&&i.props.headers&&(i.props.headers=i.props.headers.map(function(R,E){var I=new bP.Designer;I.props.caption=ut(R.field_name)?R.field_name.zh:R.field_name;var L=I.toSchema();L.id=R.header_id;var x=i.children[0].children[E].children[0];return x&&(L.children=[x]),L}),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(R){R.label=ut(R.text)?R.text.zh:R.text,R.id=R.id||R.opt_id||R.optId||R.data_id}),i=e),e.type==="grid-row"){var _=24/i.children.length;i.children=i.children.map(function(R){var E=new nd.Designer;E.props.span=_;var I=E.toSchema();return I.children.push(R),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 y=i==null?void 0:i.children[0],p=i==null?void 0:i.children[1],m={};y&&(R3(i,t),m.result=y.props.data_bind,i.id=y.id,i.props=y.props,i.props.script_src=y.props.script_src,i.props.script_echo=y.props.script_echo,i.props.precision=y.props.precision,i.props.micrometer=y.props.is_show_money,i.props.showUpperCase=y.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],P=i==null?void 0:i.children[1],v={},$={};h&&(R3(i,t),i.id=h.id,v.amount=h.props.data_bind,i.props.range_min=ao(h.props.range_min),i.props.range_max=ao(h.props.range_max),$.amount=ao(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),P&&(v.currency=P.props.data_bind,$.currency=P.props.value,i.props.datasourceBind=P.props.datasource_bind,i.props.options=P.props.options.map(function(R){return{label:R.text,value:R.value}})),i.props.dataBind=v,i.props.defaultValue=$,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=ao(e.props.range_min),i.props.range_max=ao(e.props.range_max),i.props.defaultValue=ao(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"),Uwe(i,t==null?void 0:t.control_events),i}function R3(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(a){a.id===u&&(a.id=c);var f=a.show_controls.findIndex(function(_){return _===u}),s=a.hide_controls.findIndex(function(_){return _===u});f>-1&&a.show_controls.splice(f,1,c),s>-1&&a.hide_controls.splice(s,1,c)}),i.forEach(function(a){a.ctrl_id===u&&(a.id=c)})}}function Awe(e){if(!Array.isArray(e))return e;var t=e.find(function(o){return o.type==="grid"});if(!t)return e;var r=new iT.Designer,n=r.toSchema();return n.children=e,[n]}function Dwe(e){e.forEach(function(t){t.children&&Vwe(t.children)})}function Bwe(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 jwe(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 a=c.props,f=c.children,s=Swe(f,3),_=s[0],y=s[1],p=s[2];Cwe(_),p.props.is_fixed_header=a==null||(r=a.source_config)===null||r===void 0?void 0:r.is_fixed_header,Fwe(p,y);var m,h=(m=a==null||(n=a.source_config)===null||n===void 0?void 0:n.data_code)!==null&&m!==void 0?m:t==null?void 0:t.dataCode,P,v=((P=a==null||(o=a.source_config)===null||o===void 0?void 0:o.svc_code)!==null&&P!==void 0?P:h)?"".concat(h,"_selectMore"):void 0,$,b=($=a==null||(i=a.source_config)===null||i===void 0?void 0:i.orders)!==null&&$!==void 0?$:[],O=new tT.Designer;O.props.datasourceBind=new Ue({dataCode:h,svcCode:v,orders:PN(b)}),O.props.isShowSubList=a.is_show_sublist,O.props.triggerType=a.timing_type,O.props.triggerFieldCode=a.ctrl_field_code,a==null||(u=a.sublist_page)===null||u===void 0||u.sublists.forEach(function(R){R.title=ut(R.title)?R.title.zh:R.title}),O.props.sublistPage=a.sublist_page;var S=O.toSchema();return S.children.push(_,p),[S]}function Cwe(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 Fwe(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 Vwe(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 xwe(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 Uwe(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,P3(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,P3(t[e.id].on_blur))}}}var Gwe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$r(de(n,function(i){return Ywe(i)}));return r?o:o[0]};function Ywe(e,t){if(e.type===l.CONTROL_TYPE.LIST_VIEW){var r=e.children.find(function(n){return n.type===l.CONTROL_TYPE.GRID_TABLE});r.props.headers.forEach(function(n){!n.props.data_bind&&n.props.field_code&&(n.props.data_bind=new Xt({dataCode:e.props.datasource_bind.data_code,fieldCode:n.props.field_code}))})}return e}var Hwe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$r(de(n,function(i){return zwe(i)}));return r?o:o[0]};function zwe(e,t){return[l.CONTROL_TYPE.BUTTON,l.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,l.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,l.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,l.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,l.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,l.CONTROL_TYPE.EXPORT_LIST_BUTTON,l.CONTROL_TYPE.FORM_SELECT_BUTTON,l.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===l.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===l.CONTROL_TYPE.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}var Wwe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$r(de(n,function(i){return qwe(i)}));return r?o:o[0]};function qwe(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 Kwe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$r(de(n,function(i){return Jwe(i)}));return r?o:o[0]},Xwe=[l.CONTROL_TYPE.ROW,l.CONTROL_TYPE.TAB,l.CONTROL_TYPE.SUBTABLE,l.CONTROL_TYPE.GRID_ROW,l.CONTROL_TYPE.CARD_GROUP];function Jwe(e,t){return e.type===l.CONTROL_TYPE.TAB_PANE&&(e.children=e.children.map(function(r){if(Xwe.includes(r.type))return r;var n=new sP.Designer,o=new nd.Designer;n.children.push(o);var i=n.toSchema();return i.children[0].children.push(r),i})),e}var Qwe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=$r(de(n,function(i){return Zwe(i)}));return r?o:o[0]};function Zwe(e,t){return e.type===l.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type===l.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.check.priorityProcess=!0)}),e}var ePe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return tPe(i)});return r?o:o[0]};function tPe(e,t){return e.type===l.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 nPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return rPe(i)});return r?o:o[0]};function Wr(e,t){e.field_code&&(e.field_type=t)}function rPe(e,t){var r,n=(r={},ve(r,l.CONTROL_TYPE.TITLE,l.FieldTypes.AUTO_NUMBER),ve(r,l.CONTROL_TYPE.ADDRESS,l.FieldTypes.ADDRESS),ve(r,l.CONTROL_TYPE.ATTACHMENT,l.FieldTypes.FILE),ve(r,l.CONTROL_TYPE.AUTO_NUMBER,l.FieldTypes.AUTO_NUMBER),ve(r,l.CONTROL_TYPE.CHECKBOX,l.FieldTypes.ARRAY),ve(r,l.CONTROL_TYPE.DATE_PICKER,l.FieldTypes.TIMESTAMP),ve(r,l.CONTROL_TYPE.DEPARTMENT,l.FieldTypes.DEPARTMENTS),ve(r,l.CONTROL_TYPE.DEPARTMENT2,l.FieldTypes.DEPARTMENTS),ve(r,l.CONTROL_TYPE.EMPLOYEE,l.FieldTypes.EMPLOYEES),ve(r,l.CONTROL_TYPE.EMPLOYEE2,l.FieldTypes.EMPLOYEES),ve(r,l.CONTROL_TYPE.IMAGE,l.FieldTypes.IMAGE),ve(r,l.CONTROL_TYPE.INPUT,l.FieldTypes.VARCHAR),ve(r,l.CONTROL_TYPE.NUMBER,l.FieldTypes.DECIMAL),ve(r,l.CONTROL_TYPE.RADIO,l.FieldTypes.VARCHAR),ve(r,l.CONTROL_TYPE.RICH_TEXT,l.FieldTypes.TEXT),ve(r,l.CONTROL_TYPE.SCORE,l.FieldTypes.DECIMAL),ve(r,l.CONTROL_TYPE.SELECT,l.FieldTypes.VARCHAR),ve(r,l.CONTROL_TYPE.SELECT_MULTIPLE,l.FieldTypes.ARRAY),ve(r,l.CONTROL_TYPE.SELECT_RELATION,l.FieldTypes.VARCHAR),ve(r,l.CONTROL_TYPE.TEXTAREA,l.FieldTypes.TEXT),ve(r,l.CONTROL_TYPE.TREE,l.FieldTypes.ARRAY),ve(r,l.CONTROL_TYPE.SEARCH_DATE_RANGE,l.FieldTypes.ARRAY),ve(r,l.CONTROL_TYPE.SEARCH_INPUT,l.FieldTypes.VARCHAR),ve(r,l.CONTROL_TYPE.SEARCH_NUMBER_RANGE,l.FieldTypes.ARRAY),r);if(n.hasOwnProperty(e.type)&&Wr(e.props.data_bind,n[e.type]),e.type===l.CONTROL_TYPE.AMOUNT&&(Wr(e.props.data_bind.amount,l.FieldTypes.DECIMAL),Wr(e.props.data_bind.currency,l.FieldTypes.VARCHAR)),e.type===l.CONTROL_TYPE.CALC&&(Wr(e.props.data_bind.result,l.FieldTypes.DECIMAL),Wr(e.props.data_bind.unit,l.FieldTypes.VARCHAR)),e.type===l.CONTROL_TYPE.DATE_RANGE&&(Wr(e.props.data_bind.min,l.FieldTypes.TIMESTAMP),Wr(e.props.data_bind.max,l.FieldTypes.TIMESTAMP)),e.type===l.CONTROL_TYPE.VUE_FORM_ITEM){var o;Wr(e.props.data_bind,(o=e.field_type)!==null&&o!==void 0?o:l.FieldTypes.ANY)}return e}var oPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return iPe(i)});return r?o:o[0]};function iPe(e,t){return e.type===l.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(r){r.type.endsWith("-column")&&(r.props.fixed?(r.props.fixed="left",r.type===l.CONTROL_TYPE.OPERATION_COLUMN&&(r.props.fixed="right")):r.props.fixed="none")}),e}var uPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return cPe(i)});return r?o:o[0]};function cPe(e,t){return e.type===l.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;[l.FieldTypes.VARCHAR,l.FieldTypes.TEXT,l.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 lPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return aPe(i)});return r?o:o[0]};function aPe(e,t){return[l.CONTROL_TYPE.SELECT,l.CONTROL_TYPE.SELECT_RELATION,l.CONTROL_TYPE.SELECT_MULTIPLE,l.CONTROL_TYPE.RADIO,l.CONTROL_TYPE.CHECKBOX,l.CONTROL_TYPE.TREE,l.CONTROL_TYPE.DEPARTMENT2,l.CONTROL_TYPE.EMPLOYEE2,l.CONTROL_TYPE.DEPARTMENT,l.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===l.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[l.CONTROL_TYPE.SELECT,l.CONTROL_TYPE.SELECT_RELATION,l.CONTROL_TYPE.SELECT_MULTIPLE,l.CONTROL_TYPE.RADIO,l.CONTROL_TYPE.CHECKBOX,l.CONTROL_TYPE.TREE,l.CONTROL_TYPE.DEPARTMENT2,l.CONTROL_TYPE.EMPLOYEE2,l.CONTROL_TYPE.DEPARTMENT,l.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 fPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return sPe(i)});return r?o:o[0]};function sPe(e,t){return[l.CONTROL_TYPE.SELECT,l.CONTROL_TYPE.SELECT_RELATION,l.CONTROL_TYPE.SELECT_MULTIPLE,l.CONTROL_TYPE.RADIO,l.CONTROL_TYPE.CHECKBOX,l.CONTROL_TYPE.TREE,l.CONTROL_TYPE.DEPARTMENT2,l.CONTROL_TYPE.EMPLOYEE2,l.CONTROL_TYPE.DEPARTMENT,l.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===l.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[l.CONTROL_TYPE.SELECT,l.CONTROL_TYPE.SELECT_RELATION,l.CONTROL_TYPE.SELECT_MULTIPLE,l.CONTROL_TYPE.RADIO,l.CONTROL_TYPE.CHECKBOX,l.CONTROL_TYPE.TREE,l.CONTROL_TYPE.DEPARTMENT2,l.CONTROL_TYPE.EMPLOYEE2,l.CONTROL_TYPE.DEPARTMENT,l.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 _Pe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return yPe(i)});return r?o:o[0]};function yPe(e,t){return e.type===l.CONTROL_TYPE.TITLE&&e.props.config.push(l.TitleConfigEnum.ShowTitle),e.type===l.CONTROL_TYPE.GRID_TABLE&&e.props.headers.map(function(r){if(r.type===l.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,a,f,s,_,y,p=new cc.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=(a=r.props)===null||a===void 0?void 0:a.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()),(y=r.props)===null||y===void 0||delete y.check}if(((o=r.props)===null||o===void 0?void 0:o.edit)!==void 0){var m,h,P,v,$,b,O=new cc.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=(P=r.props)===null||P===void 0?void 0:P.edit.open_type,O.props.formKey=(v=r.props)===null||v===void 0?void 0:v.edit.form_key,!(($=r.props)===null||$===void 0)&&$.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,R,E,I,L,x,Z=new cc.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=(R=r.props)===null||R===void 0?void 0:R.delete.priority_process,Z.props.openType=(E=r.props)===null||E===void 0?void 0:E.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="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",!((L=r.props)===null||L===void 0)&&L.delete.is_show&&r.children.push(Z.toSchema()),(x=r.props)===null||x===void 0||delete x.delete}}}),[l.CONTROL_TYPE.SELECT,l.CONTROL_TYPE.SELECT_RELATION,l.CONTROL_TYPE.SELECT_MULTIPLE,l.CONTROL_TYPE.RADIO,l.CONTROL_TYPE.CHECKBOX,l.CONTROL_TYPE.TREE,l.CONTROL_TYPE.DEPARTMENT2,l.CONTROL_TYPE.EMPLOYEE2,l.CONTROL_TYPE.DEPARTMENT,l.CONTROL_TYPE.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===l.CONTROL_TYPE.SUBTABLE&&e.props.headers.forEach(function(r){[l.CONTROL_TYPE.SELECT,l.CONTROL_TYPE.SELECT_RELATION,l.CONTROL_TYPE.SELECT_MULTIPLE,l.CONTROL_TYPE.RADIO,l.CONTROL_TYPE.CHECKBOX,l.CONTROL_TYPE.TREE,l.CONTROL_TYPE.DEPARTMENT2,l.CONTROL_TYPE.EMPLOYEE2,l.CONTROL_TYPE.DEPARTMENT,l.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 cl(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var dPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return pPe(i,t)});return r?o:o[0]};function pPe(e,t){e.type===l.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===l.CONTROL_TYPE.CALC&&u.props.calc_on_mounted===void 0&&(u.props.calc_on_mounted=!0)});var r,n=(r={},cl(r,l.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}]),cl(r,l.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}]),cl(r,l.CONTROL_TYPE.LIST_VIEW,[{key:"selection_type",value:"multiple"},{key:"row_style_type",value:"none"},{key:"is_show_selection",value:!1}]),cl(r,l.CONTROL_TYPE.SIMPLE_SEARCH,[{key:"col-gap",value:24},{key:"child-min-width",value:230}]),cl(r,l.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===l.CONTROL_TYPE.GRID_TABLE&&e.props.headers.forEach(function(o){o.type===l.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 Zl)}),e.type===l.CONTROL_TYPE.CALC&&e.props.calc_on_mounted===void 0&&(e.props.calc_on_mounted=!0),vPe(t),e}function vPe(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 a=u.event_key||u.eventKey;switch(a){case"on_click_finish":o=u,i=c;break;case"on_click":n=u;break}}),o&&(o.cases[0].handlers.unshift(DE()),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:[hPe()]}];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(DE())}}}function hPe(){return{id:"case"+new Date().getTime(),name:"\u9ED8\u8BA4\u60C5\u5F62",match_type:"AND",match_rules:[],handlers:[DE()]}}function DE(){return{id:"handler"+new Date().getTime(),method:"actionOperate",params:{control_id:"",opt_type:"",opt_code:"",is_error_continue:!1}}}var gPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return mPe(i,t)});return r?o:o[0]};function mPe(e,t){if(e.type===l.CONTROL_TYPE.LIST_VIEW){if(e.props.is_show_selection===!1){var r=[l.CONTROL_TYPE.BATCH_SUBMISSION_LIST_BUTTON,l.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT,l.CONTROL_TYPE.BATCH_DELETE_LIST_BUTTON];e.children.forEach(function(n){if(n.type===l.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===l.CONTROL_TYPE.TEXTAREA&&e.props.auto_size===void 0&&(e.props.auto_size=!1),e.type===l.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===l.CONTROL_TYPE.TREE&&e.props.default_display===void 0&&(e.props.default_display=!1),e.type===l.CONTROL_TYPE.GRID_TABLE&&e.props.is_show_toolbar===void 0&&(e.props.is_show_toolbar=!0),e.type===l.CONTROL_TYPE.NUMBER&&e.props.regular_rules===void 0&&(e.props.regular_rules=new ia),e}function bPe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var OPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return wPe(i)});return r?o:o[0]};function wPe(e,t){var r=bPe({},l.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=[l.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT_RECORD,l.CONTROL_TYPE.EXPORT_LIST_BUTTON,l.CONTROL_TYPE.EXPORT_RECORD_LIST_BUTTON,l.CONTROL_TYPE.CREATE_FORM_LIST_BUTTON,l.CONTROL_TYPE.IMPORT_RECORD_LIST_BUTTON,l.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,l.CONTROL_TYPE.BATCH_DELETE_LIST_BUTTON,l.CONTROL_TYPE.BUTTON,l.CONTROL_TYPE.SUBMISSION_RECORD_LIST_BUTTON,l.CONTROL_TYPE.LIST_PAGE_BTN_BATCH_PRINT];return n.includes(e.type)&&(e.control_type="base"),e.type===l.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 PPe(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 TPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=de(n,function(u){var c=RPe(u);return o[u.id]=u,c});return PPe(o,t),r?i:i[0]};function RPe(e,t){if(e.type===l.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=$r(new _g({pc:i,mobile:i})),e.type===l.CONTROL_TYPE.ORGANIZATION_SELECTION){var u=e.props.selected_content_config,c=u==null?void 0:u.display_bo_list;c&&c.forEach(function(a){a.value==="org_type_code"&&(a.label="\u4E1A\u52A1\u7C7B\u578B"),a.value==="org_pattern_code"&&(a.label="\u7EC4\u7EC7\u5F62\u6001")})}e.type===l.CONTROL_TYPE.LIST_SELECT_BUTTON&&e.props.disable_filling===void 0&&(e.props.disable_filling=!1)}return e}var EPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=de(n,function(u){var c=$Pe(u);return o[u.id]=u,c});return SPe(o,t),r?i:i[0]};function $Pe(e,t){return e}function SPe(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)===l.CONTROL_TYPE.BUTTON){var i,u,c,a,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 _,y,p,m;s==null||(_=s.cases)===null||_===void 0||_.map(function(h){var P;h==null||(P=h.handlers)===null||P===void 0||P.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 $,b,O,S;((S=v.params)===null||S===void 0||(O=S.options)===null||O===void 0||(b=O.link)===null||b===void 0||($=b.fx)===null||$===void 0?void 0:$.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||(y=p.handlers)===null||y===void 0?void 0:y.length)===1&&s.cases[0].handlers.push({id:"optPage",method:"optPage",params:{operation:"close"}})})),["form_submit"].includes((a=o.props)===null||a===void 0||(c=a.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 NPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o={},i=de(n,function(u){var c=IPe(u);return o[u.id]=u,c});return MPe(o,t),r?i:i[0]};function IPe(e,t){if(e.type===l.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="\u4E1A\u52A1\u7C7B\u578B"),o.value==="org_pattern_code"&&(o.label="\u7EC4\u7EC7\u5F62\u6001")})}return e}function MPe(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 LPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return kPe(i)});return r?o:o[0]};function kPe(e,t){if(e.type===l.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===l.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="\u4E1A\u52A1\u7C7B\u578B"),u.value==="org_pattern_code"&&(u.label="\u7EC4\u7EC7\u5F62\u6001")})}return e}var APe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=de(n,function(i){return DPe(i)});return VPe(o),BPe(o),r?o:o[0]};function DPe(e,t){return e.type===l.CONTROL_TYPE.SIMPLE_SEARCH&&e.children.forEach(function(r){if(r.type===l.CONTROL_TYPE.SELECT||r.type===l.CONTROL_TYPE.SELECT_MULTIPLE){var n=r;n.props.option_config==="datasource"&&(n.props.default_show_options=!1)}}),e}function BPe(e){if(e[0].type===l.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_"]},a;if(t.row_style_rules_script){var f=t.row_style_rules_script.find(function(s){return s.id===u});f&&(a=FPe(i.filters,f.script))}i.settings=[c],i.script=a,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 E3(e,t){return t||(t={}),e.forEach(function(r){if(r.children)E3(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 jPe(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 CPe(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 FPe(e,t){var r=E3(e),n=jPe(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],a=c.type,f=CPe(o),s=f.operate,_=f.value,y="SpecialMatch(data, sys, '".concat(i,"', '").concat(a,"', '").concat(s,"', ").concat(_||"''",")");t=t.replace(o,y)}})}),t=t.replace(/params.data.data_value_map/g,"data"),t}function VPe(e){if(e[0].type===l.CONTROL_TYPE.LIST_VIEW){var t=e[0].children.find(function(i){return i.type===l.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!==l.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 a=i.children||[];i.children=[].concat(a,c)}}),t.props.footers=[]}}return e}var xPe=function(e,t){var r=Array.isArray(e),n=r?e:[e],o=UPe(n,t);return r?o:o[0]};function UPe(e,t){var r=YPe(t);return r.length>0&&(GPe(r,t),$3(r,e)),e}function $3(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):$3(e,o.children)}}function GPe(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 YPe(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,a=(c=u.params)===null||c===void 0?void 0:c.relation_control_id;a&&t.push(a)}})})})}),t}var S3={"v1.0":Nwe,"v2.0":Gwe,"v2.1":Hwe,"v2.2":Wwe,"v2.3":Kwe,"v2.4":Qwe,"v2.5":ePe,"v2.6":nPe,"v2.7":oPe,"v2.8":uPe,"v2.9":lPe,"v2.10":fPe,"v3.0":_Pe,"v3.1":dPe,"v3.2":gPe,"v3.3":OPe,"v3.4":TPe,"v3.5":EPe,"v3.6":NPe,"v3.7":LPe,"v3.8":APe,"v3.10":xPe,"v3.11":function(){}};const N3=(e,t)=>{const r=I3(e),n=I3(t),o=r.pop(),i=n.pop(),u=k3(r,n);return u!==0?u:o&&i?k3(o.split("."),i.split(".")):o||i?o?-1:1:0},xv=(e,t,r)=>{qPe(r);const n=N3(e,t);return A3[r].includes(n)},HPe=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,I3=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(HPe);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},M3=e=>e==="*"||e==="x"||e==="X",L3=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},zPe=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],WPe=(e,t)=>{if(M3(e)||M3(t))return 0;const[r,n]=zPe(L3(e),L3(t));return r>n?1:r<n?-1:0},k3=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){const n=WPe(e[r]||"0",t[r]||"0");if(n!==0)return n}return 0},A3={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},D3=Object.keys(A3),qPe=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(D3.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${D3.join("|")}`)};function KPe(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 XPe(e,t,r){return t&&B3(e.prototype,t),r&&B3(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 BE(e){return e.replace(/^v/,"")}var gu=Object.keys(S3).map(function(e){return BE(e)}).sort(N3),ll=gu[gu.length-1],JPe=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ll;KPe(this,e),j3(this,"toVersion",void 0),j3(this,"schemaVersion",void 0),this.schemaVersion=t,this.toVersion=r,xv(r,ll,">")?dr("Version Builder: The specified ".concat(r," is an undefined version, and the current latest version is ").concat(ll)):(!gu.includes(BE(r))||!gu.includes(BE(t)))&&dr("Version Builder: Please give me a valid version number, The valid version is: ".concat(gu.join(","),", But give me a ").concat(t))}return XPe(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,a,f){var s,_=(s=f[a+1])!==null&&s!==void 0?s:o.toVersion;$u("Version Builder: current version: ".concat(c,", nextVersion: ").concat(_));var y=S3[c],p=u;if(typeof y=="function"){var m=y(u,n);m&&(p=m)}return p},r);return $u("Version Builder: Version conversion completed, evolving from ".concat(this.schemaVersion," to ").concat(this.toVersion)),i}},{key:"runDataCleanerKeys",get:function(){var r=this;return gu.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 ll}}],[{key:"version",get:function(){return ll}}]),e}();const Uv=[],jE={exports:{}};let CE=!1;const QPe=window.module,ZPe=window.exports,eTe=window.require;function tTe(e){return CE||(window.module=jE,window.exports=jE.exports,window.require=function(t){return e[t]},CE=!0),function(){window.module=QPe,window.exports=ZPe,window.require=eTe,CE=!1}}function nTe(e,t){const r=new Promise((n,o)=>{const i=document.createElement("script"),u=tTe(t);i.src=e,i.type="text/javascript";const c=()=>{document.head.removeChild(i);const a=Uv.findIndex(f=>f===r);Uv.splice(a,1),Uv.length===0&&u()};i.onerror=function(a){c(),o(a)},i.onload=function(){n(jE.exports),c()},document.head.appendChild(i)});return Uv.push(r),r}function FE(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 C3(e,t,r={fetch:FE}){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 C3(e,t)}function rTe(e,t){return yr(this,null,function*(){return yield Promise.all(e.map(r=>Gv(r,t)))})}function Yv(e,t,r){let n;t==="runtime"?n=class extends $e{constructor(a){super(a),this.props={}}static get controlType(){return e}}:n=class extends re{constructor(a){super(a),this.props={}}static get controlType(){return e}};class o extends Ee{}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 oTe(e,t,r,n){return yr(this,null,function*(){const o=new Map;return e.length===0||(yield Promise.all(t.map(i=>yr(this,null,function*(){let u=!0,c;try{u=!0;let a="";n.type==="runtime"?a=i.runtime:a=i.designer,a+="?v="+i.version,c=yield Gv(a,r),n.type==="runtime"?c.Runtime.__is_control__:c.Designer.__is_control__}catch(a){u=!1,Kr("\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A"+i.id,a),c=Yv(i.id,n.type,n.tipMessage)}if(u){let a="";if(n.type==="runtime"&&i.runtimecss!==void 0){const f=new RegExp(i.id+"-runtime-.*?$");a=i.runtime.replace(f,i.runtimecss)}else if(n.type==="designer"&&i.designercss!==void 0){const f=new RegExp(i.id+"-designer-.*?$");a=i.designer.replace(f,i.designercss)}if(a!==""){const f=document.createElement("link");f.href=a,f.rel="stylesheet",document.head.appendChild(f)}}F3(n.type,c,o,u,i)}))),e==null||e.map(i=>{const[u,c]=i.split(":");if(o.has(u)===!1){const f=Yv(u,n.type,n.tipMessage);F3(n.type,f,o,!1,{fieldType:"",id:u,name:"",runtime:"",designer:"",type:"",version:c})}})),o})}function F3(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 iTe(e,t,r,n){const o=t.get(e.type);if(o&&o.control.upgrade){let i="";r==null||r.map(u=>{const[c,a]=u.split(":");o.props.id===c&&(i=a!=null?a:"")}),e=o.control.upgrade(e,o.version,i,n)}return e}function uTe(e,t){return yr(this,null,function*(){let r=t.version;t.version==="random"&&(r=new Date().valueOf().toString());let n=new Map;const o=yield FE(`${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 a=u.find(f=>t.type==="runtime"?f.Runtime.controlType===c.id:f.Designer.controlType===c.id);a===void 0&&(a=Yv(c.id,t.type,"\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF")),n.set(c.id,{props:c,version:c.version,isLoaded:!0,control:a})})}return n})}l.ActionBar=bF,l.Address=_D,l.AddressValue=ZN,l.AdvancedContainer=aF,l.Amount=KA,l.AmountDataBind=KN,l.AmountValue=XN,l.ApprovalStatusColumn=f3,l.ArrayColumn=R2,l.Attachment=CA,l.AutoNumber=ID,l.AutoNumberColumn=B2,l.AutoWidth=Zl,l.BaseControlProperty=K,l.BaseControlPropertyRules=He,l.BaseControlPropertyRuntimeRules=_e,l.BaseStyle=rI,l.BatchDeleteButton=Jk,l.BatchPrintListButton=Ak,l.BatchPrintRecordListButton=Fk,l.BatchSubmissionListButton=XM,l.Button=fM,l.Calc=jD,l.CalcDataBind=eI,l.CalcScriptEchoItem=Tu,l.CalcValue=tI,l.CardGroup=Zj,l.Checkbox=s1,l.Col=nd,l.ColumnControlProperty=Ne,l.ColumnControlPropertyRules=dn,l.ColumnOptionAndDataSourcePropertyRules=Qg,l.CreateFormListButton=UM,l.CustomAttributeItem=vg,l.CustomColumn=r3,l.CustomPermissionItem=zG,l.DEFAULT_LOCALE=GE,l.DESIGNER_SLOT=Xv,l.Dashboard=ek,l.DataBind=Xt,l.DataSourceBind=Ue,l.DataSourceDataSetValue=HN,l.DataSourceOrderItem=dg,l.DataSourceParamItem=GG,l.DataStorageDoc=jN,l.DataView=iT,l.DatePicker=D1,l.DateRange=H1,l.DecimalColumn=i2,l.Department=wD,l.Department2=yj,l.DepartmentColumn=I2,l.DepartmentEntity=Wv,l.DesignerColumnControl=We,l.DesignerControl=re,l.DesignerFormControl=J,l.DesignerLayoutControl=Oe,l.DesignerListControl=Ta,l.DesignerSearchControl=xI,l.DesignerWrapControl=HI,l.DisplayBoListItem=ra,l.Divider=EM,l.ElectronicSignature=ZB,l.ElectronicSignatureConfig=sM,l.Employee=LA,l.Employee2=GB,l.EmployeeColumn=l3,l.EventLogic=NN,l.Explain=Xa,l.ExportConfig=pM,l.ExportListButton=cL,l.ExportRecordListButton=_L,l.ExportTemplate=ec,l.FieldBindItem=VN,l.FieldFilterCondition=Gu,l.FieldFilterConditions=na,l.FileColumn=F2,l.FillBackBind=mg,l.FillPayloadBind=gg,l.FlexStyleConfig=gM,l.FormBind=fo,l.FormSelectBind=CN,l.FormSelectButton=$L,l.Grid=Mj,l.GridLayoutContainer=OC,l.GridLayoutWrap=w3,l.GridRow=sP,l.GridTable=FF,l.GridTableColumn=pC,l.Image=UA,l.ImageColumn=U2,l.ImageOptionSetting=qN,l.ImportConfig=dM,l.ImportListBind=yM,l.ImportRecordListButton=gL,l.Input=o1,l.InvoiceCheckButton=Ek,l.JSONCopy=Wt,l.JoinRelation=YN,l.Language=YG,l.LayoutControlProperty=pe,l.LeftVariable=GN,l.LimitDate=Ka,l.Link=iM,l.LinkOperationOption=Nn,l.ListBind=ta,l.ListControlProperty=Ju,l.ListSelectButton=BL,l.ListView=tT,l.ListViewSelect=fk,l.LocationColumn=J2,l.MetaAutoWidth=yg,l.MetaRowHeight=_g,l.MetaWidth=ea,l.MultistageFillingItem=ht,l.Number=S1,l.ObjectDataBind=ua,l.OperationButton=cc,l.OperationColumn=DF,l.OperationItem=Hn,l.OptObject=oI,l.OptionAndDataSourcePropertyRules=so,l.OptionDisplayConfigItem=UG,l.OptionSetting=bg,l.OrderColumn=NF,l.OrganizationDataSourceBind=zN,l.OrganizationSelection=bj,l.Page=iF,l.Pagination=YL,l.PeopleColumn=H2,l.Position=pF,l.PositioningContainer=_F,l.PrintTemplate=hM,l.Property=Ee,l.PropertyRules=Be,l.PropertyRuntimeRules=Nr,l.Radio=O1,l.RangeDataBind=JN,l.RangeDateValue=QN,l.RegisterControls=Uu,l.RegularRules=ia,l.RichText=iA,l.RightVariable=ui,l.Row=Gj,l.RowHeight=sg,l.RowStyle=cI,l.RowStyleRule=iI,l.RowStyleSettings=uI,l.RulesMessage=d,l.RuntimeColumnControl=qe,l.RuntimeControl=$e,l.RuntimeFormControl=Q,l.RuntimeLayoutControl=Se,l.RuntimeListControl=Wg,l.RuntimeSearchControl=GI,l.RuntimeWrapControl=WI,l.SUBTABLE_DEFAULT_MAX_HEIGHT=vM,l.Score=nD,l.SearchControlProperty=Ma,l.SearchDateRange=rB,l.SearchInput=NB,l.SearchNumberRange=WD,l.Select=pA,l.SelectMultiple=wA,l.SelectRelation=bB,l.SelectedContentConfig=oa,l.SimpleSearch=v3,l.SubListItem=xN,l.SubListPageConfig=UN,l.SubTable=PF,l.SubTableColumn=bP,l.SubTableRow=fC,l.SubmissionRecordListButton=tL,l.SuperDataSourceBind=Yu,l.Tab=DC,l.TabPane=IC,l.Text=eM,l.TextColumn=QF,l.TextOcrButton=gk,l.Textarea=Q1,l.TimescopeColumn=_2,l.TimestampColumn=m2,l.Title=AM,l.Toolbox=UC,l.Tree=BB,l.TreeDataSourceBind=hg,l.UndersignedPerson=Em,l.UserEntity=qv,l.VarcharColumn=HF,l.VersionBuilder=JPe,l.ViewOperationItem=nI,l.VueFormItem=fB,l.VuePage=$j,l.WPS=uj,l.WPSSetting=_M,l.Watcher=$N,l.WpsOperationItem=$m,l.WrapControlProperty=Da,l.baseControls=U9,l.camelizeKeys=PN,l.columnControls=M0e,l.controlHooksEmitter=vI,l.createValidator=pI,l.debounce=gG,l.decamelizeKeys=$r,l.defineArrayParent=MN,l.defineControlArrayToProperty=yn,l.defineParent=ag,l.error=dr,l.formControls=ule,l.genNonDuplicateId=Yt,l.getHackerControl=Yv,l.getNotRepeatItems=wN,l.initExpression=tc,l.initImageOptions=HG,l.initLinkOperationRules=qn,l.initOptionAndDataSourceRules=fa,l.initOptions=In,l.initSuperDataSourceRules=Ku,l.isArray=lo,l.isBuiltInControls=bG,l.isDataBind=SI,l.isFunction=_G,l.isJSONArray=vG,l.isJSONObject=hG,l.isLanguageObject=ut,l.isNumber=ig,l.isNumberAndEmptyStringArray=pG,l.isNumberArray=dG,l.isObject=sG,l.isPlainObject=og,l.isString=ON,l.isStringArray=yG,l.layoutControls=Ype,l.listControls=She,l.loadRemoteControl=Gv,l.loadRemoteControls=rTe,l.loadScriptFromFetch=C3,l.loadScriptFromTag=nTe,l.log=$u,l.logerror=XE,l.loop=de,l.loopFormSchema=bl,l.nativeFetch=FE,l.noop=G3,l.referenceError=th,l.registerByteluckControls=uTe,l.registerCustomControls=oTe,l.searchControls=q0e,l.setPropertyDontEnum=Jl,l.toNumberOrEmpty=ao,l.updateValueFromKeys=gN,l.upgradeCustomControlSchema=iTe,l.wait=mG,l.warn=Kr,l.wrapControls=Owe,Object.defineProperty(l,"__esModule",{value:!0})});
|