ag-charts-vue3
Advanced tools
Comparing version 9.0.1 to 9.0.2
@@ -1,2 +0,2 @@ | ||
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("agCharts"),require("vue")):"function"===typeof define&&define.amd?define(["agCharts"],e):"object"===typeof exports?exports["ag-charts-vue3"]=e(require("agCharts"),require("vue")):t["ag-charts-vue3"]=e(t["agCharts"],t["Vue"])})("undefined"!==typeof self?self:this,(function(t,e){return function(){var r={679:function(t,e){var r,n,o;(function(c,i){n=[],r=i,o="function"===typeof r?r.apply(e,n):r,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(h){var r,n,o,c=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,i=/@([^@]*):(\d+):(\d+)\s*$/gi,s=c.exec(h.stack)||i.exec(h.stack),u=s&&s[1]||!1,a=s&&s[2]||!1,f=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");u===f&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(a-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var p=0;p<l.length;p++){if("interactive"===l[p].readyState)return l[p];if(l[p].src===u)return l[p];if(u===f&&l[p].innerHTML&&l[p].innerHTML.trim()===o)return l[p]}return null}}return t}))},504:function(e){"use strict";e.exports=t},203:function(t){"use strict";t.exports=e}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var c=n[t]={exports:{}};return r[t].call(c.exports,c,c.exports,o),c.exports}!function(){o.d=function(t,e){for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}}(),function(){o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){o.p=""}();var c={};return function(){"use strict";if(o.r(c),o.d(c,{AgChartsVue:function(){return pe}}),"undefined"!==typeof window){var t=window.document.currentScript,e=o(679);t=e(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:e});var r=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(o.p=r[1])}function n(t,e,r,n){var o,c=arguments.length,i=c<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(i=(c<3?o(i):c>3?o(e,r,i):o(e,r))||i);return c>3&&i&&Object.defineProperty(e,r,i),i}Object.create;Object.create;"function"===typeof SuppressedError&&SuppressedError;function i(t,e){const r=Object.create(null),n=t.split(",");for(let o=0;o<n.length;o++)r[n[o]]=!0;return e?t=>!!r[t.toLowerCase()]:t=>!!r[t]}Object.assign;const s=Object.prototype.hasOwnProperty,u=(t,e)=>s.call(t,e),a=Array.isArray,f=t=>"[object Map]"===y(t),l=t=>"string"===typeof t,p=t=>"symbol"===typeof t,h=t=>null!==t&&"object"===typeof t,d=Object.prototype.toString,y=t=>d.call(t),g=t=>y(t).slice(8,-1),v=t=>l(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,b=t=>{const e=Object.create(null);return r=>{const n=e[r];return n||(e[r]=t(r))}},_=/-(\w)/g,m=(b((t=>t.replace(_,((t,e)=>e?e.toUpperCase():"")))),/\B([A-Z])/g),O=(b((t=>t.replace(m,"-$1").toLowerCase())),b((t=>t.charAt(0).toUpperCase()+t.slice(1)))),w=(b((t=>t?`on${O(t)}`:"")),(t,e)=>!Object.is(t,e));const j=t=>{const e=new Set(t);return e.w=0,e.n=0,e},S=t=>(t.w&E)>0,P=t=>(t.n&E)>0,R=new WeakMap;let x=0,E=1;const C=30;let k;const M=Symbol(""),A=Symbol("");let $=!0;const D=[];function T(){D.push($),$=!1}function I(){const t=D.pop();$=void 0===t||t}function N(t,e,r){if($&&k){let e=R.get(t);e||R.set(t,e=new Map);let n=e.get(r);n||e.set(r,n=j());const o=void 0;W(n,o)}}function W(t,e){let r=!1;x<=C?P(t)||(t.n|=E,r=!S(t)):r=!t.has(k),r&&(t.add(k),k.deps.push(t))}function z(t,e,r,n,o,c){const i=R.get(t);if(!i)return;let s=[];if("clear"===e)s=[...i.values()];else if("length"===r&&a(t)){const t=Number(n);i.forEach(((e,r)=>{("length"===r||r>=t)&&s.push(e)}))}else switch(void 0!==r&&s.push(i.get(r)),e){case"add":a(t)?v(r)&&s.push(i.get("length")):(s.push(i.get(M)),f(t)&&s.push(i.get(A)));break;case"delete":a(t)||(s.push(i.get(M)),f(t)&&s.push(i.get(A)));break;case"set":f(t)&&s.push(i.get(M));break}if(1===s.length)s[0]&&U(s[0]);else{const t=[];for(const e of s)e&&t.push(...e);U(j(t))}}function U(t,e){const r=a(t)?t:[...t];for(const n of r)n.computed&&L(n,e);for(const n of r)n.computed||L(n,e)}function L(t,e){(t!==k||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const q=i("__proto__,__v_isRef,__isVue"),H=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(p)),V=G(),B=G(!0),F=K();function K(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const r=Dt(this);for(let e=0,o=this.length;e<o;e++)N(r,"get",e+"");const n=r[e](...t);return-1===n||!1===n?r[e](...t.map(Dt)):n}})),["push","pop","shift","unshift","splice"].forEach((e=>{t[e]=function(...t){T();const r=Dt(this)[e].apply(this,t);return I(),r}})),t}function Z(t){const e=Dt(this);return N(e,"has",t),e.hasOwnProperty(t)}function G(t=!1,e=!1){return function(r,n,o){if("__v_isReactive"===n)return!t;if("__v_isReadonly"===n)return t;if("__v_isShallow"===n)return e;if("__v_raw"===n&&o===(t?e?Rt:Pt:e?St:jt).get(r))return r;const c=a(r);if(!t){if(c&&u(F,n))return Reflect.get(F,n,o);if("hasOwnProperty"===n)return Z}const i=Reflect.get(r,n,o);return(p(n)?H.has(n):q(n))?i:(t||N(r,"get",n),e?i:Nt(i)?c&&v(n)?i:i.value:h(i)?t?kt(i):Ct(i):i)}}const J=Q();function Q(t=!1){return function(e,r,n,o){let c=e[r];if(At(c)&&Nt(c)&&!Nt(n))return!1;if(!t&&($t(n)||At(n)||(c=Dt(c),n=Dt(n)),!a(e)&&Nt(c)&&!Nt(n)))return c.value=n,!0;const i=a(e)&&v(r)?Number(r)<e.length:u(e,r),s=Reflect.set(e,r,n,o);return e===Dt(o)&&(i?w(n,c)&&z(e,"set",r,n,c):z(e,"add",r,n)),s}}function X(t,e){const r=u(t,e),n=t[e],o=Reflect.deleteProperty(t,e);return o&&r&&z(t,"delete",e,void 0,n),o}function Y(t,e){const r=Reflect.has(t,e);return p(e)&&H.has(e)||N(t,"has",e),r}function tt(t){return N(t,"iterate",a(t)?"length":M),Reflect.ownKeys(t)}const et={get:V,set:J,deleteProperty:X,has:Y,ownKeys:tt},rt={get:B,set(t,e){return!0},deleteProperty(t,e){return!0}},nt=t=>t,ot=t=>Reflect.getPrototypeOf(t);function ct(t,e,r=!1,n=!1){t=t["__v_raw"];const o=Dt(t),c=Dt(e);r||(e!==c&&N(o,"get",e),N(o,"get",c));const{has:i}=ot(o),s=n?nt:r?It:Tt;return i.call(o,e)?s(t.get(e)):i.call(o,c)?s(t.get(c)):void(t!==o&&t.get(e))}function it(t,e=!1){const r=this["__v_raw"],n=Dt(r),o=Dt(t);return e||(t!==o&&N(n,"has",t),N(n,"has",o)),t===o?r.has(t):r.has(t)||r.has(o)}function st(t,e=!1){return t=t["__v_raw"],!e&&N(Dt(t),"iterate",M),Reflect.get(t,"size",t)}function ut(t){t=Dt(t);const e=Dt(this),r=ot(e),n=r.has.call(e,t);return n||(e.add(t),z(e,"add",t,t)),this}function at(t,e){e=Dt(e);const r=Dt(this),{has:n,get:o}=ot(r);let c=n.call(r,t);c||(t=Dt(t),c=n.call(r,t));const i=o.call(r,t);return r.set(t,e),c?w(e,i)&&z(r,"set",t,e,i):z(r,"add",t,e),this}function ft(t){const e=Dt(this),{has:r,get:n}=ot(e);let o=r.call(e,t);o||(t=Dt(t),o=r.call(e,t));const c=n?n.call(e,t):void 0,i=e.delete(t);return o&&z(e,"delete",t,void 0,c),i}function lt(){const t=Dt(this),e=0!==t.size,r=void 0,n=t.clear();return e&&z(t,"clear",void 0,void 0,r),n}function pt(t,e){return function(r,n){const o=this,c=o["__v_raw"],i=Dt(c),s=e?nt:t?It:Tt;return!t&&N(i,"iterate",M),c.forEach(((t,e)=>r.call(n,s(t),s(e),o)))}}function ht(t,e,r){return function(...n){const o=this["__v_raw"],c=Dt(o),i=f(c),s="entries"===t||t===Symbol.iterator&&i,u="keys"===t&&i,a=o[t](...n),l=r?nt:e?It:Tt;return!e&&N(c,"iterate",u?A:M),{next(){const{value:t,done:e}=a.next();return e?{value:t,done:e}:{value:s?[l(t[0]),l(t[1])]:l(t),done:e}},[Symbol.iterator](){return this}}}}function dt(t){return function(...e){return"delete"!==t&&this}}function yt(){const t={get(t){return ct(this,t)},get size(){return st(this)},has:it,add:ut,set:at,delete:ft,clear:lt,forEach:pt(!1,!1)},e={get(t){return ct(this,t,!1,!0)},get size(){return st(this)},has:it,add:ut,set:at,delete:ft,clear:lt,forEach:pt(!1,!0)},r={get(t){return ct(this,t,!0)},get size(){return st(this,!0)},has(t){return it.call(this,t,!0)},add:dt("add"),set:dt("set"),delete:dt("delete"),clear:dt("clear"),forEach:pt(!0,!1)},n={get(t){return ct(this,t,!0,!0)},get size(){return st(this,!0)},has(t){return it.call(this,t,!0)},add:dt("add"),set:dt("set"),delete:dt("delete"),clear:dt("clear"),forEach:pt(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach((o=>{t[o]=ht(o,!1,!1),r[o]=ht(o,!0,!1),e[o]=ht(o,!1,!0),n[o]=ht(o,!0,!0)})),[t,r,e,n]}const[gt,vt,bt,_t]=yt();function mt(t,e){const r=e?t?_t:bt:t?vt:gt;return(e,n,o)=>"__v_isReactive"===n?!t:"__v_isReadonly"===n?t:"__v_raw"===n?e:Reflect.get(u(r,n)&&n in e?r:e,n,o)}const Ot={get:mt(!1,!1)},wt={get:mt(!0,!1)};const jt=new WeakMap,St=new WeakMap,Pt=new WeakMap,Rt=new WeakMap;function xt(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Et(t){return t["__v_skip"]||!Object.isExtensible(t)?0:xt(g(t))}function Ct(t){return At(t)?t:Mt(t,!1,et,Ot,jt)}function kt(t){return Mt(t,!0,rt,wt,Pt)}function Mt(t,e,r,n,o){if(!h(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const c=o.get(t);if(c)return c;const i=Et(t);if(0===i)return t;const s=new Proxy(t,2===i?n:r);return o.set(t,s),s}function At(t){return!(!t||!t["__v_isReadonly"])}function $t(t){return!(!t||!t["__v_isShallow"])}function Dt(t){const e=t&&t["__v_raw"];return e?Dt(e):t}const Tt=t=>h(t)?Ct(t):t,It=t=>h(t)?kt(t):t;function Nt(t){return!(!t||!0!==t.__v_isRef)}var Wt=o(203); | ||
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("agCharts"),require("vue")):"function"===typeof define&&define.amd?define(["agCharts"],e):"object"===typeof exports?exports["ag-charts-vue3"]=e(require("agCharts"),require("vue")):t["ag-charts-vue3"]=e(t["agCharts"],t["Vue"])})("undefined"!==typeof self?self:this,(function(t,e){return function(){var r={679:function(t,e){var r,n,o;(function(c,i){n=[],r=i,o="function"===typeof r?r.apply(e,n):r,void 0===o||(t.exports=o)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(h){var r,n,o,c=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,i=/@([^@]*):(\d+):(\d+)\s*$/gi,s=c.exec(h.stack)||i.exec(h.stack),u=s&&s[1]||!1,a=s&&s[2]||!1,f=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");u===f&&(r=document.documentElement.outerHTML,n=new RegExp("(?:[^\\n]+?\\n){0,"+(a-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=r.replace(n,"$1").trim());for(var p=0;p<l.length;p++){if("interactive"===l[p].readyState)return l[p];if(l[p].src===u)return l[p];if(u===f&&l[p].innerHTML&&l[p].innerHTML.trim()===o)return l[p]}return null}}return t}))},504:function(e){"use strict";e.exports=t},203:function(t){"use strict";t.exports=e}},n={};function o(t){var e=n[t];if(void 0!==e)return e.exports;var c=n[t]={exports:{}};return r[t].call(c.exports,c,c.exports,o),c.exports}!function(){o.d=function(t,e){for(var r in e)o.o(e,r)&&!o.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}}(),function(){o.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){o.p=""}();var c={};return function(){"use strict";if(o.r(c),o.d(c,{AgChartsVue:function(){return se}}),"undefined"!==typeof window){var t=window.document.currentScript,e=o(679);t=e(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:e});var r=t&&t.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);r&&(o.p=r[1])}function n(t,e,r,n){var o,c=arguments.length,i=c<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,r):n;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)i=Reflect.decorate(t,e,r,n);else for(var s=t.length-1;s>=0;s--)(o=t[s])&&(i=(c<3?o(i):c>3?o(e,r,i):o(e,r))||i);return c>3&&i&&Object.defineProperty(e,r,i),i}Object.create;Object.create;"function"===typeof SuppressedError&&SuppressedError;function i(t,e){const r=Object.create(null),n=t.split(",");for(let o=0;o<n.length;o++)r[n[o]]=!0;return e?t=>!!r[t.toLowerCase()]:t=>!!r[t]}Object.assign;const s=Object.prototype.hasOwnProperty,u=(t,e)=>s.call(t,e),a=Array.isArray,f=t=>"[object Map]"===y(t),l=t=>"string"===typeof t,p=t=>"symbol"===typeof t,h=t=>null!==t&&"object"===typeof t,d=Object.prototype.toString,y=t=>d.call(t),g=t=>y(t).slice(8,-1),v=t=>l(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,_=t=>{const e=Object.create(null);return r=>{const n=e[r];return n||(e[r]=t(r))}},b=/-(\w)/g,m=(_((t=>t.replace(b,((t,e)=>e?e.toUpperCase():"")))),/\B([A-Z])/g),O=(_((t=>t.replace(m,"-$1").toLowerCase())),_((t=>t.charAt(0).toUpperCase()+t.slice(1)))),w=(_((t=>{const e=t?`on${O(t)}`:"";return e})),(t,e)=>!Object.is(t,e));const j=t=>{const e=new Set(t);return e.w=0,e.n=0,e},P=t=>(t.w&E)>0,S=t=>(t.n&E)>0,R=new WeakMap;let x=0,E=1;const C=30;let k;const M=Symbol(""),A=Symbol("");let $=!0;const D=[];function T(){D.push($),$=!1}function I(){const t=D.pop();$=void 0===t||t}function N(t,e,r){if($&&k){let e=R.get(t);e||R.set(t,e=new Map);let n=e.get(r);n||e.set(r,n=j());const o=void 0;W(n,o)}}function W(t,e){let r=!1;x<=C?S(t)||(t.n|=E,r=!P(t)):r=!t.has(k),r&&(t.add(k),k.deps.push(t))}function z(t,e,r,n,o,c){const i=R.get(t);if(!i)return;let s=[];if("clear"===e)s=[...i.values()];else if("length"===r&&a(t)){const t=Number(n);i.forEach(((e,r)=>{("length"===r||!p(r)&&r>=t)&&s.push(e)}))}else switch(void 0!==r&&s.push(i.get(r)),e){case"add":a(t)?v(r)&&s.push(i.get("length")):(s.push(i.get(M)),f(t)&&s.push(i.get(A)));break;case"delete":a(t)||(s.push(i.get(M)),f(t)&&s.push(i.get(A)));break;case"set":f(t)&&s.push(i.get(M));break}if(1===s.length)s[0]&&U(s[0]);else{const t=[];for(const e of s)e&&t.push(...e);U(j(t))}}function U(t,e){const r=a(t)?t:[...t];for(const n of r)n.computed&&L(n,e);for(const n of r)n.computed||L(n,e)}function L(t,e){(t!==k||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const q=i("__proto__,__v_isRef,__isVue"),H=new Set(Object.getOwnPropertyNames(Symbol).filter((t=>"arguments"!==t&&"caller"!==t)).map((t=>Symbol[t])).filter(p)),V=B();function B(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const r=Ct(this);for(let e=0,o=this.length;e<o;e++)N(r,"get",e+"");const n=r[e](...t);return-1===n||!1===n?r[e](...t.map(Ct)):n}})),["push","pop","shift","unshift","splice"].forEach((e=>{t[e]=function(...t){T();const r=Ct(this)[e].apply(this,t);return I(),r}})),t}function F(t){const e=Ct(this);return N(e,"has",t),e.hasOwnProperty(t)}class K{constructor(t=!1,e=!1){this._isReadonly=t,this._shallow=e}get(t,e,r){const n=this._isReadonly,o=this._shallow;if("__v_isReactive"===e)return!n;if("__v_isReadonly"===e)return n;if("__v_isShallow"===e)return o;if("__v_raw"===e)return r===(n?o?Ot:mt:o?bt:_t).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const c=a(t);if(!n){if(c&&u(V,e))return Reflect.get(V,e,r);if("hasOwnProperty"===e)return F}const i=Reflect.get(t,e,r);return(p(e)?H.has(e):q(e))?i:(n||N(t,"get",e),o?i:At(i)?c&&v(e)?i:i.value:h(i)?n?St(i):Pt(i):i)}}class Z extends K{constructor(t=!1){super(!1,t)}set(t,e,r,n){let o=t[e];if(xt(o)&&At(o)&&!At(r))return!1;if(!this._shallow&&(Et(r)||xt(r)||(o=Ct(o),r=Ct(r)),!a(t)&&At(o)&&!At(r)))return o.value=r,!0;const c=a(t)&&v(e)?Number(e)<t.length:u(t,e),i=Reflect.set(t,e,r,n);return t===Ct(n)&&(c?w(r,o)&&z(t,"set",e,r,o):z(t,"add",e,r)),i}deleteProperty(t,e){const r=u(t,e),n=t[e],o=Reflect.deleteProperty(t,e);return o&&r&&z(t,"delete",e,void 0,n),o}has(t,e){const r=Reflect.has(t,e);return p(e)&&H.has(e)||N(t,"has",e),r}ownKeys(t){return N(t,"iterate",a(t)?"length":M),Reflect.ownKeys(t)}}class G extends K{constructor(t=!1){super(!0,t)}set(t,e){return!0}deleteProperty(t,e){return!0}}const J=new Z,Q=new G,X=t=>t,Y=t=>Reflect.getPrototypeOf(t);function tt(t,e,r=!1,n=!1){t=t["__v_raw"];const o=Ct(t),c=Ct(e);r||(w(e,c)&&N(o,"get",e),N(o,"get",c));const{has:i}=Y(o),s=n?X:r?Mt:kt;return i.call(o,e)?s(t.get(e)):i.call(o,c)?s(t.get(c)):void(t!==o&&t.get(e))}function et(t,e=!1){const r=this["__v_raw"],n=Ct(r),o=Ct(t);return e||(w(t,o)&&N(n,"has",t),N(n,"has",o)),t===o?r.has(t):r.has(t)||r.has(o)}function rt(t,e=!1){return t=t["__v_raw"],!e&&N(Ct(t),"iterate",M),Reflect.get(t,"size",t)}function nt(t){t=Ct(t);const e=Ct(this),r=Y(e),n=r.has.call(e,t);return n||(e.add(t),z(e,"add",t,t)),this}function ot(t,e){e=Ct(e);const r=Ct(this),{has:n,get:o}=Y(r);let c=n.call(r,t);c||(t=Ct(t),c=n.call(r,t));const i=o.call(r,t);return r.set(t,e),c?w(e,i)&&z(r,"set",t,e,i):z(r,"add",t,e),this}function ct(t){const e=Ct(this),{has:r,get:n}=Y(e);let o=r.call(e,t);o||(t=Ct(t),o=r.call(e,t));const c=n?n.call(e,t):void 0,i=e.delete(t);return o&&z(e,"delete",t,void 0,c),i}function it(){const t=Ct(this),e=0!==t.size,r=void 0,n=t.clear();return e&&z(t,"clear",void 0,void 0,r),n}function st(t,e){return function(r,n){const o=this,c=o["__v_raw"],i=Ct(c),s=e?X:t?Mt:kt;return!t&&N(i,"iterate",M),c.forEach(((t,e)=>r.call(n,s(t),s(e),o)))}}function ut(t,e,r){return function(...n){const o=this["__v_raw"],c=Ct(o),i=f(c),s="entries"===t||t===Symbol.iterator&&i,u="keys"===t&&i,a=o[t](...n),l=r?X:e?Mt:kt;return!e&&N(c,"iterate",u?A:M),{next(){const{value:t,done:e}=a.next();return e?{value:t,done:e}:{value:s?[l(t[0]),l(t[1])]:l(t),done:e}},[Symbol.iterator](){return this}}}}function at(t){return function(...e){return"delete"!==t&&("clear"===t?void 0:this)}}function ft(){const t={get(t){return tt(this,t)},get size(){return rt(this)},has:et,add:nt,set:ot,delete:ct,clear:it,forEach:st(!1,!1)},e={get(t){return tt(this,t,!1,!0)},get size(){return rt(this)},has:et,add:nt,set:ot,delete:ct,clear:it,forEach:st(!1,!0)},r={get(t){return tt(this,t,!0)},get size(){return rt(this,!0)},has(t){return et.call(this,t,!0)},add:at("add"),set:at("set"),delete:at("delete"),clear:at("clear"),forEach:st(!0,!1)},n={get(t){return tt(this,t,!0,!0)},get size(){return rt(this,!0)},has(t){return et.call(this,t,!0)},add:at("add"),set:at("set"),delete:at("delete"),clear:at("clear"),forEach:st(!0,!0)},o=["keys","values","entries",Symbol.iterator];return o.forEach((o=>{t[o]=ut(o,!1,!1),r[o]=ut(o,!0,!1),e[o]=ut(o,!1,!0),n[o]=ut(o,!0,!0)})),[t,r,e,n]}const[lt,pt,ht,dt]=ft();function yt(t,e){const r=e?t?dt:ht:t?pt:lt;return(e,n,o)=>"__v_isReactive"===n?!t:"__v_isReadonly"===n?t:"__v_raw"===n?e:Reflect.get(u(r,n)&&n in e?r:e,n,o)}const gt={get:yt(!1,!1)},vt={get:yt(!0,!1)};const _t=new WeakMap,bt=new WeakMap,mt=new WeakMap,Ot=new WeakMap;function wt(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function jt(t){return t["__v_skip"]||!Object.isExtensible(t)?0:wt(g(t))}function Pt(t){return xt(t)?t:Rt(t,!1,J,gt,_t)}function St(t){return Rt(t,!0,Q,vt,mt)}function Rt(t,e,r,n,o){if(!h(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const c=o.get(t);if(c)return c;const i=jt(t);if(0===i)return t;const s=new Proxy(t,2===i?n:r);return o.set(t,s),s}function xt(t){return!(!t||!t["__v_isReadonly"])}function Et(t){return!(!t||!t["__v_isShallow"])}function Ct(t){const e=t&&t["__v_raw"];return e?Ct(e):t}const kt=t=>h(t)?Pt(t):t,Mt=t=>h(t)?St(t):t;function At(t){return!(!t||!0!==t.__v_isRef)}var $t=o(203); | ||
/** | ||
@@ -7,3 +7,3 @@ * vue-class-component v8.0.0-rc.1 | ||
*/ | ||
function zt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ut(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Lt(t,e,r){return e&&Ut(t.prototype,e),r&&Ut(t,r),t}function qt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ht(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ht(Object(r),!0).forEach((function(e){qt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ht(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Bt(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Kt(t,e)}function Ft(t){return Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Ft(t)}function Kt(t,e){return Kt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Kt(t,e)}function Zt(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function Gt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jt(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?Gt(t):e}function Qt(t){var e=Zt();return function(){var r,n=Ft(t);if(e){var o=Ft(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Jt(this,r)}}function Xt(t){return Yt(t)||te(t)||ee(t)||ne()}function Yt(t){if(Array.isArray(t))return re(t)}function te(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function ee(t,e){if(t){if("string"===typeof t)return re(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?re(t,e):void 0}}function re(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function ne(){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 oe(t,e,r){Object.defineProperty(t,e,{get:r,enumerable:!1,configurable:!0})}function ce(t,e,r){Object.defineProperty(t,e,{get:function(){return r[e].value},set:function(t){r[e].value=t},enumerable:!0,configurable:!0})}function ie(t){var e=Object.getPrototypeOf(t.prototype);if(e)return e.constructor}function se(t,e){return t.hasOwnProperty(e)?t[e]:void 0}var ue=function(){function t(e,r){var n=this;zt(this,t),oe(this,"$props",(function(){return e})),oe(this,"$attrs",(function(){return r.attrs})),oe(this,"$slots",(function(){return r.slots})),oe(this,"$emit",(function(){return r.emit})),Object.keys(e).forEach((function(t){Object.defineProperty(n,t,{enumerable:!1,configurable:!0,writable:!0,value:e[t]})}))}return Lt(t,null,[{key:"registerHooks",value:function(t){var e;(e=this.__h).push.apply(e,Xt(t))}},{key:"with",value:function(t){var e=new t,r={};Object.keys(e).forEach((function(t){var n=e[t];r[t]=null!==n&&void 0!==n?n:null}));var n=function(t){Bt(r,t);var e=Qt(r);function r(){return zt(this,r),e.apply(this,arguments)}return r}(this);return n.__b={props:r},n}},{key:"__vccOpts",get:function(){if(this===ae)return{};var t=this,e=se(t,"__c");if(e)return e;var r=Vt({},se(t,"__o"));t.__c=r;var n=ie(t);n&&(r["extends"]=n.__vccOpts);var o=se(t,"__b");o&&(r.mixins=r.mixins||[],r.mixins.unshift(o)),r.methods=Vt({},r.methods),r.computed=Vt({},r.computed);var c=t.prototype;Object.getOwnPropertyNames(c).forEach((function(e){if("constructor"!==e)if(t.__h.indexOf(e)>-1)r[e]=c[e];else{var n=Object.getOwnPropertyDescriptor(c,e);"function"!==typeof n.value?(n.get||n.set)&&(r.computed[e]={get:n.get,set:n.set}):r.methods[e]=n.value}})),r.setup=function(e,r){var n,o=new t(e,r),c=Object.keys(o),i={},s=null;return c.forEach((function(t){void 0===o[t]||o[t]&&o[t].__s||(i[t]=(0,Wt.ref)(o[t]),ce(o,t,i))})),c.forEach((function(t){if(o[t]&&o[t].__s){var e=o[t].__s();e instanceof Promise?(s||(s=Promise.resolve(i)),s=s.then((function(){return e.then((function(e){return i[t]=(0,Wt.proxyRefs)(e),i}))}))):i[t]=(0,Wt.proxyRefs)(e)}})),null!==(n=s)&&void 0!==n?n:i};var i=se(t,"__d");i&&i.forEach((function(t){return t(r)}));var s=["render","ssrRender","__file","__cssModules","__scopeId","__hmrId"];return s.forEach((function(e){t[e]&&(r[e]=t[e])})),r}}]),t}();ue.__h=["data","beforeCreate","created","beforeMount","mounted","beforeUnmount","unmounted","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];var ae=ue;function fe(t){return function(e){return e.__o=t,e}}var le=o(504);let pe=class extends ae{constructor(){super(...arguments),this.isCreated=!1,this.isDestroyed=!1}render(){return(0,Wt.h)("div",{style:{height:"100%"},ref:"agChartRef"})}mounted(){const t=this.applyContainerIfNotSet(this.options);this.chart=le.AgCharts.create(t),this.$watch("options",((t,e)=>{this.processChanges(t,e)}),{deep:!0}),this.isCreated=!0,this.chart.chart.waitForUpdate().then((()=>this.$emit("onChartReady",this.chart)))}destroyed(){this.isCreated&&(this.chart&&this.chart.destroy(),this.isDestroyed=!0)}unmounted(){this.destroyed()}processChanges(t,e){this.isCreated&&this.chart&&le.AgCharts.update(this.chart,Dt(this.applyContainerIfNotSet(Dt(this.options))))}applyContainerIfNotSet(t){return t.container?t:Object.assign(Object.assign({},t),{container:this.$refs.agChartRef})}};pe=n([fe({props:{options:{}},emits:["onChartReady"]})],pe)}(),c}()})); | ||
function Dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function It(t,e,r){return e&&Tt(t.prototype,e),r&&Tt(t,r),t}function Nt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Wt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function zt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Wt(Object(r),!0).forEach((function(e){Nt(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Wt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ut(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&qt(t,e)}function Lt(t){return Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Lt(t)}function qt(t,e){return qt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},qt(t,e)}function Ht(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}function Vt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bt(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?Vt(t):e}function Ft(t){var e=Ht();return function(){var r,n=Lt(t);if(e){var o=Lt(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return Bt(this,r)}}function Kt(t){return Zt(t)||Gt(t)||Jt(t)||Xt()}function Zt(t){if(Array.isArray(t))return Qt(t)}function Gt(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function Jt(t,e){if(t){if("string"===typeof t)return Qt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Qt(t,e):void 0}}function Qt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Xt(){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 Yt(t,e,r){Object.defineProperty(t,e,{get:r,enumerable:!1,configurable:!0})}function te(t,e,r){Object.defineProperty(t,e,{get:function(){return r[e].value},set:function(t){r[e].value=t},enumerable:!0,configurable:!0})}function ee(t){var e=Object.getPrototypeOf(t.prototype);if(e)return e.constructor}function re(t,e){return t.hasOwnProperty(e)?t[e]:void 0}var ne=function(){function t(e,r){var n=this;Dt(this,t),Yt(this,"$props",(function(){return e})),Yt(this,"$attrs",(function(){return r.attrs})),Yt(this,"$slots",(function(){return r.slots})),Yt(this,"$emit",(function(){return r.emit})),Object.keys(e).forEach((function(t){Object.defineProperty(n,t,{enumerable:!1,configurable:!0,writable:!0,value:e[t]})}))}return It(t,null,[{key:"registerHooks",value:function(t){var e;(e=this.__h).push.apply(e,Kt(t))}},{key:"with",value:function(t){var e=new t,r={};Object.keys(e).forEach((function(t){var n=e[t];r[t]=null!==n&&void 0!==n?n:null}));var n=function(t){Ut(r,t);var e=Ft(r);function r(){return Dt(this,r),e.apply(this,arguments)}return r}(this);return n.__b={props:r},n}},{key:"__vccOpts",get:function(){if(this===oe)return{};var t=this,e=re(t,"__c");if(e)return e;var r=zt({},re(t,"__o"));t.__c=r;var n=ee(t);n&&(r["extends"]=n.__vccOpts);var o=re(t,"__b");o&&(r.mixins=r.mixins||[],r.mixins.unshift(o)),r.methods=zt({},r.methods),r.computed=zt({},r.computed);var c=t.prototype;Object.getOwnPropertyNames(c).forEach((function(e){if("constructor"!==e)if(t.__h.indexOf(e)>-1)r[e]=c[e];else{var n=Object.getOwnPropertyDescriptor(c,e);"function"!==typeof n.value?(n.get||n.set)&&(r.computed[e]={get:n.get,set:n.set}):r.methods[e]=n.value}})),r.setup=function(e,r){var n,o=new t(e,r),c=Object.keys(o),i={},s=null;return c.forEach((function(t){void 0===o[t]||o[t]&&o[t].__s||(i[t]=(0,$t.ref)(o[t]),te(o,t,i))})),c.forEach((function(t){if(o[t]&&o[t].__s){var e=o[t].__s();e instanceof Promise?(s||(s=Promise.resolve(i)),s=s.then((function(){return e.then((function(e){return i[t]=(0,$t.proxyRefs)(e),i}))}))):i[t]=(0,$t.proxyRefs)(e)}})),null!==(n=s)&&void 0!==n?n:i};var i=re(t,"__d");i&&i.forEach((function(t){return t(r)}));var s=["render","ssrRender","__file","__cssModules","__scopeId","__hmrId"];return s.forEach((function(e){t[e]&&(r[e]=t[e])})),r}}]),t}();ne.__h=["data","beforeCreate","created","beforeMount","mounted","beforeUnmount","unmounted","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];var oe=ne;function ce(t){return function(e){return e.__o=t,e}}var ie=o(504);let se=class extends oe{constructor(){super(...arguments),this.isCreated=!1,this.isDestroyed=!1}render(){return(0,$t.h)("div",{style:{height:"100%"},ref:"agChartRef"})}mounted(){const t=this.applyContainerIfNotSet(this.options);this.chart=ie.AgCharts.create(t),this.$watch("options",((t,e)=>{this.processChanges(t,e)}),{deep:!0}),this.isCreated=!0,this.chart.chart.waitForUpdate().then((()=>this.$emit("onChartReady",this.chart)))}destroyed(){this.isCreated&&(this.chart&&this.chart.destroy(),this.isDestroyed=!0)}unmounted(){this.destroyed()}processChanges(t,e){this.isCreated&&this.chart&&ie.AgCharts.update(this.chart,Ct(this.applyContainerIfNotSet(Ct(this.options))))}applyContainerIfNotSet(t){return t.container?t:Object.assign(Object.assign({},t),{container:this.$refs.agChartRef})}};se=n([ce({props:{options:{}},emits:["onChartReady"]})],se)}(),c}()})); | ||
//# sourceMappingURL=ag-charts-vue3.umd.min.js.map |
{ | ||
"name": "ag-charts-vue3", | ||
"description": "AG Charts Vue 3 Component", | ||
"version": "9.0.1", | ||
"version": "9.0.2", | ||
"author": "AG Grid <info@ag-grid.com>", | ||
@@ -31,3 +31,3 @@ "license": "MIT", | ||
"devDependencies": { | ||
"ag-charts-community": "9.0.1", | ||
"ag-charts-community": "9.0.2", | ||
"@types/node": "18.18.11", | ||
@@ -44,3 +44,3 @@ "@vue/cli-plugin-typescript": "5.0.8", | ||
"peerDependencies": { | ||
"ag-charts-community": "9.0.1", | ||
"ag-charts-community": "9.0.2", | ||
"vue": "^3.0.0", | ||
@@ -47,0 +47,0 @@ "vue-class-component": ">= ^8.0.0-beta.3" |
@@ -13,3 +13,4 @@ { | ||
"{projectRoot}/src/**", | ||
"{projectRoot}/main.(js|d.ts)" | ||
"{projectRoot}/main.(js|d.ts)", | ||
"{projectRoot}/node_modules/vue/package.json" | ||
], | ||
@@ -27,10 +28,3 @@ "outputs": ["{projectRoot}/dist"], | ||
"cwd": "packages/ag-charts-vue3", | ||
"commands": [ | ||
{ | ||
"command": "mkdir -p ../../dist/packages" | ||
}, | ||
{ | ||
"command": "yarn pack -f ../../dist/packages/ag-charts-vue3.tgz" | ||
} | ||
] | ||
"commands": ["mkdir -p ../../dist/packages", "yarn pack -f ../../dist/packages/ag-charts-vue3.tgz"] | ||
} | ||
@@ -44,8 +38,4 @@ }, | ||
"commands": [ | ||
{ | ||
"command": "mkdir -p dist/packages/contents/ag-charts-vue3" | ||
}, | ||
{ | ||
"command": "tar -xzf dist/packages/ag-charts-vue3.tgz -C dist/packages/contents/ag-charts-vue3/" | ||
} | ||
"mkdir -p dist/packages/contents/ag-charts-vue3", | ||
"tar -xzf dist/packages/ag-charts-vue3.tgz -C dist/packages/contents/ag-charts-vue3/" | ||
] | ||
@@ -58,7 +48,3 @@ } | ||
"options": { | ||
"commands": [ | ||
{ | ||
"command": "node tools/sanity-check-package.js dist/packages/contents/ag-charts-vue3/package" | ||
} | ||
] | ||
"commands": ["node tools/sanity-check-package.js dist/packages/contents/ag-charts-vue3/package"] | ||
} | ||
@@ -65,0 +51,0 @@ } |
@@ -1,2 +0,2 @@ | ||
<picture><source media="(prefers-color-scheme: dark)" srcset="../../.github/banner-dark.png"><source media="(prefers-color-scheme: light)" srcset="../../.github/banner-light.png"><img alt="AG Charts canvas-based charting trusted by the community, built for enterprise." src="../../.github/banner-light.png"></picture> | ||
<picture><source media="(prefers-color-scheme: dark)" srcset="./.github/banner-dark.png"><source media="(prefers-color-scheme: light)" srcset="./.github/banner-light.png"><img alt="AG Charts canvas-based charting trusted by the community, built for enterprise." src="./.github/banner-light.png"></picture> | ||
@@ -3,0 +3,0 @@ [![Github Stars](https://img.shields.io/github/stars/ag-grid/ag-charts?style=social)](https://github.com/ag-grid/ag-charts) [![Twitter](https://img.shields.io/twitter/follow/ag_grid?style=social)](https://twitter.com/ag_grid) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
564053
5389