forked from zhurui/management
2 lines
12 KiB
JavaScript
2 lines
12 KiB
JavaScript
|
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("echarts/lib/echarts")):"function"==typeof define&&define.amd?define(["echarts/lib/echarts"],t):(e=e||self).VueECharts=t(e.echarts)}(this,(function(e){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var t=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},i="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n="object"==typeof i&&i&&i.Object===Object&&i,r="object"==typeof self&&self&&self.Object===Object&&self,o=n||r||Function("return this")(),s=function(){return o.Date.now()},a=o.Symbol,d=Object.prototype,c=d.hasOwnProperty,h=d.toString,l=a?a.toStringTag:void 0;var u=function(e){var t=c.call(e,l),i=e[l];try{e[l]=void 0;var n=!0}catch(e){}var r=h.call(e);return n&&(t?e[l]=i:delete e[l]),r},_=Object.prototype.toString;var f=function(e){return _.call(e)},p=a?a.toStringTag:void 0;var g=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":p&&p in Object(e)?u(e):f(e)};var v=function(e){return null!=e&&"object"==typeof e};var m=function(e){return"symbol"==typeof e||v(e)&&"[object Symbol]"==g(e)},z=/^\s+|\s+$/g,b=/^[-+]0x[0-9a-f]+$/i,w=/^0b[01]+$/i,y=/^0o[0-7]+$/i,O=parseInt;var x=function(e){if("number"==typeof e)return e;if(m(e))return NaN;if(t(e)){var i="function"==typeof e.valueOf?e.valueOf():e;e=t(i)?i+"":i}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(z,"");var n=w.test(e);return n||y.test(e)?O(e.slice(2),n?2:8):b.test(e)?NaN:+e},C=Math.max,E=Math.min;var T=function(e,i,n){var r,o,a,d,c,h,l=0,u=!1,_=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function p(t){var i=r,n=o;return r=o=void 0,l=t,d=e.apply(n,i)}function g(e){return l=e,c=setTimeout(m,i),u?p(e):d}function v(e){var t=e-h;return void 0===h||t>=i||t<0||_&&e-l>=a}function m(){var e=s();if(v(e))return z(e);c=setTimeout(m,function(e){var t=i-(e-h);return _?E(t,a-(e-l)):t}(e))}function z(e){return c=void 0,f&&r?p(e):(r=o=void 0,d)}function b(){var e=s(),t=v(e);if(r=arguments,o=this,h=e,t){if(void 0===c)return g(h);if(_)return clearTimeout(c),c=setTimeout(m,i),p(h)}return void 0===c&&(c=setTimeout(m,i)),d}return i=x(i)||0,t(n)&&(u=!!n.leading,a=(_="maxWait"in n)?C(x(n.maxWait)||0,i):a,f="trailing"in n?!!n.trailing:f),b.cancel=function(){void 0!==c&&clearTimeout(c),l=0,r=h=o=c=void 0},b.flush=function(){return void 0===c?d:z(s())},b},M=null;var S=null;function j(e,t){void 0===t&&(t={});var i=document.createElement(e);return Object.keys(t).forEach((function(e){i[e]=t[e]})),i}function L(e,t,i){return(window.getComputedStyle(e,i||null)||{display:"none"})[t]}function $(e){if(!document.documentElement.contains(e))return{detached:!0,rendered:!1};for(var t=e;t!==document;){if("none"===L(t,"display"))return{detached:!1,rendered:!1};t=t.parentNode}return{detached:!1,rendered:!0}}var R=0,A=null;function N(e,t){if(e.__resize_mutation_handler__||(e.__resize_mutation_handler__=U.bind(e)),!e.__resize_listeners__)if(e.__resize_listeners__=[],window.ResizeObserver){var i=e.offsetWidth,n=e.offsetHeight,r=new ResizeObserver((function(){(e.__resize_observer_triggered__||(e.__resize_observer_triggered__=!0,e.offsetWidth!==i||e.offsetHeight!==n))&&D(e)})),o=$(e),s=o.detached,a=o.rendered;e.__resize_observer_triggered__=!1===s&&!1===a,e.__resize_observer__=r,r.observe(e)}else if(e.attachEvent&&e.addEventListener)e.__resize_legacy_resize_handler__=function(){D(e)},e.attachEvent("onresize",e.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);else if(R||(A=function(e){var t=document.createElement("style");return t.type="text/css",t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),(document.querySelector("head")||document.body).appendChild(t),t}('.resize-triggers{visibility:hidden;opacity:0}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;w
|