((t,e)=>{"object"==typeof exports&&"object"==typeof module?module.exports=e(require("vue"),require("xe-utils")):"function"==typeof define&&define.amd?define([,"xe-utils"],e):"object"==typeof exports?exports.VxeUI=e(require("vue"),require("xe-utils")):t.VxeUI=e(t.Vue,t.XEUtils)})("undefined"!=typeof self?self:this,function(St,jt){{var Pt={9274:function(t){t.exports=St},8871:function(t){t.exports=jt},9306:function(t,e,n){var r=n(4901),o=n(6823),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},679:function(t,e,n){var r=n(1625),o=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw new o("Incorrect invocation")}},8551:function(t,e,n){var r=n(34),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not an object")}},9617:function(t,e,n){function r(c){return function(t,e,n){var r=a(t),o=f(r);if(0!==o){var i,u=s(n,o);if(c&&e!=e){for(;u{try{return t[e]}catch(t){}})(t=c(t),u))?e:a?i(t):"Object"===(e=i(t))&&o(t.callee)?"Arguments":e}},7740:function(t,e,n){var a=n(9297),s=n(5031),f=n(7347),l=n(4913);t.exports=function(t,e,n){for(var r=s(e),o=l.f,i=f.f,u=0;u",d="<",h="prototype",v="script",g=n("IE_PROTO"),m=function(t){return d+v+p+t+d+"/"+v+p},b=function(){try{i=new ActiveXObject("htmlfile")}catch(t){}b="undefined"==typeof document||document.domain&&i?o(i):(t=l("iframe"),e="java"+v+":",t.style.display="none",f.appendChild(t),t.src=String(e),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F);for(var t,e,n=a.length;n--;)delete b[h][a[n]];return b()};s[g]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(r[h]=u(t),n=new r,r[h]=null,n[g]=t):n=b(),void 0===e?n:c.f(n,e)}},6801:function(t,e,n){var r=n(3724),o=n(8686),c=n(4913),a=n(8551),s=n(5397),f=n(1072);e.f=r&&!o?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),o=f(e),i=o.length,u=0;uo;)!u(r,n=e[o++])||~a(i,n)||f(i,n);return i}},1072:function(t,e,n){var r=n(1828),o=n(8727);t.exports=Object.keys||function(t){return r(t,o)}},8773:function(t,e){var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){t=r(this,t);return!!t&&t.enumerable}:n},4270:function(t,e,n){var o=n(9565),i=n(4901),u=n(34),c=TypeError;t.exports=function(t,e){var n,r;if("string"===e&&i(n=t.toString)&&!u(r=o(n,t)))return r;if(i(n=t.valueOf)&&!u(r=o(n,t)))return r;if("string"!==e&&i(n=t.toString)&&!u(r=o(n,t)))return r;throw new c("Can't convert object to primitive value")}},5031:function(t,e,n){var r=n(7751),o=n(9504),i=n(8480),u=n(3717),c=n(8551),a=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(c(t)),n=u.f;return n?a(e,n(t)):e}},7750:function(t,e,n){var r=n(4117),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},6119:function(t,e,n){var r=n(5745),o=n(3392),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},7629:function(t,e,n){var r=n(6395),o=n(4576),n=n(9433),i="__core-js_shared__",t=t.exports=o[i]||n(i,{});(t.versions||(t.versions=[])).push({version:"3.39.0",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(t,e,n){var r=n(7629);t.exports=function(t,e){return r[t]||(r[t]=e||{})}},4495:function(t,e,n){var r=n(9519),o=n(9039),i=n(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t=Symbol("symbol detection");return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41})},5610:function(t,e,n){var r=n(1291),o=Math.max,i=Math.min;t.exports=function(t,e){t=r(t);return t<0?o(t+e,0):i(t,e)}},5397:function(t,e,n){var r=n(7055),o=n(7750);t.exports=function(t){return r(o(t))}},1291:function(t,e,n){var r=n(741);t.exports=function(t){t=+t;return t!=t||0==t?0:r(t)}},8014:function(t,e,n){var r=n(1291),o=Math.min;t.exports=function(t){t=r(t);return 0{try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}})()},{push:function(t){var e=i(this),n=u(e),r=arguments.length;a(n+r);for(var o=0;o{if("object"!=mt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0===n)return("string"===e?String:Number)(t);if("object"!=mt(n=n.call(t,e||"default")))return n;throw new TypeError("@@toPrimitive must return a primitive value.")})(t,"string");return"symbol"==mt(t)?t:t+""}function bt(t,e,n){(e=At(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}let o={F2:"F2",ESCAPE:"Escape",ENTER:"Enter",TAB:"Tab",DELETE:"Delete",BACKSPACE:"Backspace",SPACEBAR:" ",CONTEXT_MENU:"ContextMenu",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",Control:"Control",R:"R",P:"P",Z:"Z",X:"X",C:"C",V:"V",M:"M"},u=(pt=G().browse(),{" ":"Spacebar",Apps:o.CONTEXT_MENU,Del:o.DELETE,Up:o.ARROW_UP,Down:o.ARROW_DOWN,Left:o.ARROW_LEFT,Right:o.ARROW_RIGHT}),c=pt.firefox?"DOMMouseScroll":"mousewheel",a=[];function yt(n){let r=n.type===c;a.forEach(({type:t,cb:e})=>{n.cancelBubble||(t===n.type||r&&"mousewheel"===t)&&e(n)})}class Ot{constructor(t,e,n){bt(this,"$event",void 0),bt(this,"type",""),bt(this,"key",""),bt(this,"code",""),(this.$event=t)&&(t.type&&(this.type=t.type),t.key&&(this.key=t.key),t.code)&&(this.code=t.code),Object.assign(this,e),G().objectEach(n,(n,r)=>{if(G().isFunction(n)){let t=null,e=!1;Object.defineProperty(this,r,{get(){return e||(e=!0,t=n()),t}})}else this[r]=n})}stopPropagation(){var t=this.$event;t&&t.stopPropagation()}preventDefault(){var t=this.$event;t&&t.preventDefault()}}let s=(t,e,n)=>(t instanceof Ot&&(t=t.$event),new Ot(t,e,n)),l={on(t,e,n){a.push({comp:t,type:e,cb:n})},off(e,n){G().remove(a,t=>t.comp===e&&t.type===n)},hasKey(t,e){t=t.key;return e=e.toLowerCase(),!(!t||e!==t.toLowerCase()&&(!u[t]||u[t].toLowerCase()!==e))}},p=void(pt.isDoc&&(pt.msie||(window.addEventListener("copy",yt,!1),window.addEventListener("cut",yt,!1),window.addEventListener("paste",yt,!1)),document.addEventListener("keydown",yt,!1),document.addEventListener("contextmenu",yt,!1),window.addEventListener("mousedown",yt,!1),window.addEventListener("blur",yt,!1),window.addEventListener("resize",yt,!1),window.addEventListener(c,G().throttle(yt,100,{leading:!0,trailing:!1}),{passive:!0,capture:!1})),B(8992),B(3949),B(7550)),d=[],N=500;function Lt(){d.length&&(d.forEach(i=>{i.tarList.forEach(t=>{var{target:e,width:n,heighe:r}=t,o=e.clientWidth,e=e.clientHeight;(o&&n!==o||e&&r!==e)&&(t.width=o,t.heighe=e,setTimeout(i.callback))})}),_t())}function _t(){clearTimeout(p),p=setTimeout(Lt,f.resizeInterval||N)}class Xt{constructor(t){bt(this,"tarList",[]),bt(this,"callback",void 0),this.callback=t}observe(e){var t;e&&(t=this.tarList,t.some(t=>t.target===e)||t.push({target:e,width:e.clientWidth,heighe:e.clientHeight}),d.length||_t(),d.some(t=>t===this)||d.push(this))}unobserve(e){G().remove(d,t=>t.tarList.some(t=>t.target===e))}disconnect(){G().remove(d,t=>t===this)}}let h={create(t){return new(window.ResizeObserver||Xt)(t)}},F=B(9274),v=B.n(F),g=new(v().extend({data(){return{language:"",langMaps:{}}}})),m=!1,b={};function xt(t,e){var{langMaps:n,language:r}=g,o=f.i18n;return o?""+(o(t,e)||""):(m||(n[r]||console.error(`[vxe core] 语言包未安装。Language not installed. https://${i.uiVersion?"vxeui.com":"vxetable.cn"}/#/start/i18n`),m=!0),!e&&b[t]?b[t]:(o=G().toFormatString(G().get(n[r],t,t),e),e||(b[t]=o),o))}function kt(t){var e=g.language,t=t||"zh-CN";return e!==t&&(g.language=t,b={}),i}function zt(t,e){var n=g.langMaps;return g.langMaps=Object.assign({},n,{[t]:Object.assign({},e)}),i}function Nt(t){var e=g.langMaps;return!!e[t]}function Ft(){var t=g.language;return t}function wt(n,r){return function(t,e){t=`[vxe ${r||""}] `+xt(t,e);return console[n](t),t}}let y={create:wt,warn:wt("warn","v3.2.10"),err:wt("error","v3.2.10")},x={},w={mixin(t){return G().each(t,(t,e)=>w.add(e,t)),w},get(t){return x[t]||null},add(r,t){if(r&&t){let n=x[r];n?(G().each(t,(t,e)=>{G().eqNull(n[e])||n[e]===t||y.warn("vxe.error.coverProp",["Renderer."+r,e])}),Object.assign(n,t)):x[r]=t}return w},forEach(t){return G().objectEach(x,t),w},delete(t){return delete x[t],w}},D=class{constructor(){bt(this,"store",{})}mixin(t){return G().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(n,t){var e=this.store[n];let r=G().keys(e);return G().each(t,(t,e)=>{r.includes(e)&&y.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?G().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){G().objectEach(this.store,t)}},E=new D,O=(Object.assign(E,{_name:"Validators"}),new class{constructor(){bt(this,"store",{})}mixin(t){return G().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(n,t){var e=this.store[n];G().isFunction(t)&&(y.warn("vxe.error.delProp",["menus -> callback","menuMethod"]),t={menuMethod:t});let r=G().keys(e);return G().each(t,(t,e)=>{r.includes(e)&&y.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?G().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){G().objectEach(this.store,t)}}),S=(Object.assign(O,{_name:"Menus"}),new class{constructor(){bt(this,"store",{})}mixin(t){return G().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(n,t){var e=this.store[n];G().isFunction(t)&&(y.warn("vxe.error.delProp",["formats -> callback","cellFormatMethod"]),t={cellFormatMethod:t});let r=G().keys(e);return G().each(t,(t,e)=>{r.includes(e)&&y.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?G().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){G().objectEach(this.store,t)}}),j=(Object.assign(S,{_name:"Formats"}),new class{constructor(){bt(this,"store",{})}mixin(t){return G().each(t,(t,e)=>{this.add(e,t)}),this}has(t){return!!this.get(t)}get(t){return this.store[t]}add(n,t){var e=this.store[n];G().isFunction(t)&&(y.warn("vxe.error.delProp",["commands -> callback","commandMethod"]),t={commandMethod:t});let r=G().keys(e);return G().each(t,(t,e)=>{r.includes(e)&&y.warn("vxe.error.coverProp",[n,e])}),this.store[n]=e?G().merge(e,t):t,this}delete(t){delete this.store[t]}forEach(t){G().objectEach(this.store,t)}}),P=(Object.assign(j,{_name:"Commands"}),{}),I={mixin(t){return G().each(t,(t,e)=>{I.add(e,t)}),I},get(t){return P[t]||[]},add(e,n){n=(n=G().isFunction(n)?{tableInterceptorMethod:n}:n).tableInterceptorMethod;if(n){let t=P[e];-1<(t=t||(P[e]=[])).indexOf(n)&&y.warn("vxe.error.coverProp",["Interceptor",e]),t.push(n)}return I},delete(t,n){var r=P[t];if(r){let e=(n=G().isFunction(n)?{tableInterceptorMethod:n}:n)?n.tableInterceptorMethod:null;e?G().remove(r,t=>t===e):delete P[t]}}},T,C={text:"",html:""},R={getStore(){return C},setStore(t){Object.assign(C,t||{})},copy(t){let e=!1;try{var n=G().toValueString(t);r=n,T||((T=document.createElement("textarea")).id="$VxeCopy",(o=T.style).width="48px",o.height="24px",o.position="fixed",o.zIndex="0",o.left="-500px",o.top="-500px",document.body.appendChild(T)),T.value=r,T.select(),T.setSelectionRange(0,T.value.length),e=document.execCommand("copy"),T.blur(),C.text=n,C.html=""}catch(t){}var r,o;return e},getText(){return C.text||""}};function Et(t,e){let i=!0,u=!1;var c=e||f.permissionMethod;if(t&&c){i=!1;let r=!(u=!0),o=!1;var a=String(t).split("|");for(let n=0;nthis.computeSize}}},computed:{computeSize(){var t=this.size,e=this.$xeSizeInfo;return t||(e?e.getSize():null)}}}),L=v().extend({computed:{computePermissionInfo(){return Et(this.permissionCode,this.permissionMethod)}}}),V={sizeMixin:A,permissionMixin:L},U=[];function Dt(t,e){return t&&t.install&&-1===U.indexOf(t)&&(t.install(k,e),U.push(t)),k}let _={};function Vt(t){return _[t]||null}function Ut(t){t&&t.name&&(_[t.name]=t,_[G().kebabCase(t.name)]=t)}function Wt(t){return!!_[t]}function Bt(t){t=t._e;return t()}function $t(t,e,n){if(t){var r,t=(""+t).match(/(\d+).(\d+).(\d+)/);if(t)return r=G().toNumber(t[1]),n?(t=G().toNumber(t[2]),e<=r&&n<=t):e<=r}return!1}let k=Object.assign(i,{renderEmptyElement:Bt,setTheme:dt,getTheme:ht,setConfig:Tt,getConfig:Ct,setIcon:Rt,getIcon:vt,renderGlobalIcon:Mt,renderCustomIcon:gt,setLanguage:kt,hasLanguage:Nt,getLanguage:Ft,setI18n:zt,getI18n:xt,globalEvents:l,GLOBAL_EVENT_KEYS:o,createEvent:s,globalResize:h,renderer:w,validators:E,menus:O,formats:S,commands:j,interceptor:I,clipboard:R,log:y,permission:M,globalStore:e,component:Ut,getComponent:Vt,hasComponent:Wt,globalMixins:V,checkVersion:$t,use:Dt});dt();var Gt=k;return $}});