ag-grid-vue3
Advanced tools
Comparing version 26.1.0 to 26.1.1
@@ -1,2 +0,2 @@ | ||
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue"),require("agGrid")):"function"===typeof define&&define.amd?define([,"agGrid"],e):"object"===typeof exports?exports["ag-grid-vue3"]=e(require("vue"),require("agGrid")):t["ag-grid-vue3"]=e(t["Vue"],t["agGrid"])})("undefined"!==typeof self?self:this,(function(t,e){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"8bbf":function(e,n){e.exports=t},"8bd4":function(t,n){t.exports=e},"9ff4":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return w})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return _})),n.d(e,"f",(function(){return u})),n.d(e,"g",(function(){return a})),n.d(e,"h",(function(){return f})),n.d(e,"i",(function(){return v})),n.d(e,"j",(function(){return s})),n.d(e,"k",(function(){return d})),n.d(e,"l",(function(){return l})),n.d(e,"m",(function(){return g}));const r={},o=()=>{},i=Object.assign,c=Object.prototype.hasOwnProperty,u=(t,e)=>c.call(t,e),a=Array.isArray,s=t=>"[object Map]"===y(t),f=t=>"function"===typeof t,p=t=>"string"===typeof t,l=t=>"symbol"===typeof t,d=t=>null!==t&&"object"===typeof t,h=Object.prototype.toString,y=t=>h.call(t),g=t=>y(t).slice(8,-1),v=t=>p(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,b=t=>{const e=Object.create(null);return n=>{const r=e[n];return r||(e[n]=t(n))}},m=/-(\w)/g,O=(b(t=>t.replace(m,(t,e)=>e?e.toUpperCase():"")),/\B([A-Z])/g),_=(b(t=>t.replace(O,"-$1").toLowerCase()),b(t=>t.charAt(0).toUpperCase()+t.slice(1)),(t,e)=>t!==e&&(t===t||e===e)),w=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})}}).call(this,n("c8ba"))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},fae3:function(t,e,n){"use strict";var r;(n.r(e),n.d(e,"AgGridVue",(function(){return Xt})),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o(t,e)}; | ||
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue"),require("agGrid")):"function"===typeof define&&define.amd?define([,"agGrid"],e):"object"===typeof exports?exports["ag-grid-vue3"]=e(require("vue"),require("agGrid")):t["ag-grid-vue3"]=e(t["Vue"],t["agGrid"])})("undefined"!==typeof self?self:this,(function(t,e){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fae3")}({"8bbf":function(e,n){e.exports=t},"8bd4":function(t,n){t.exports=e},"9ff4":function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return w})),n.d(e,"d",(function(){return i})),n.d(e,"e",(function(){return _})),n.d(e,"f",(function(){return u})),n.d(e,"g",(function(){return a})),n.d(e,"h",(function(){return f})),n.d(e,"i",(function(){return b})),n.d(e,"j",(function(){return s})),n.d(e,"k",(function(){return d})),n.d(e,"l",(function(){return l})),n.d(e,"m",(function(){return g}));const r={},o=()=>{},i=Object.assign,c=Object.prototype.hasOwnProperty,u=(t,e)=>c.call(t,e),a=Array.isArray,s=t=>"[object Map]"===y(t),f=t=>"function"===typeof t,p=t=>"string"===typeof t,l=t=>"symbol"===typeof t,d=t=>null!==t&&"object"===typeof t,h=Object.prototype.toString,y=t=>h.call(t),g=t=>y(t).slice(8,-1),b=t=>p(t)&&"NaN"!==t&&"-"!==t[0]&&""+parseInt(t,10)===t,v=t=>{const e=Object.create(null);return n=>{const r=e[n];return r||(e[n]=t(n))}},m=/-(\w)/g,O=(v(t=>t.replace(m,(t,e)=>e?e.toUpperCase():"")),/\B([A-Z])/g),_=(v(t=>t.replace(O,"-$1").toLowerCase()),v(t=>t.charAt(0).toUpperCase()+t.slice(1)),(t,e)=>t!==e&&(t===t||e===e)),w=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})}}).call(this,n("c8ba"))},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},fae3:function(t,e,n){"use strict";var r;(n.r(e),n.d(e,"AgGridVue",(function(){return Xt})),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/))&&(n.p=r[1]));var o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o(t,e)}; | ||
/*! ***************************************************************************** | ||
@@ -20,3 +20,3 @@ Copyright (c) Microsoft Corporation. | ||
* @license MIT | ||
*/function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function g(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&&b(t,e)}function v(t){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},v(t)}function b(t,e){return b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},b(t,e)}function m(){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 O(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?O(t):e}function w(t){var e=m();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function j(t){return C(t)||P(t)||D(t)||R()}function C(t){if(Array.isArray(t))return E(t)}function P(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function D(t,e){if(t){if("string"===typeof t)return E(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(t,e):void 0}}function E(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function R(){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 A(t,e,n){Object.defineProperty(t,e,{get:n,enumerable:!1,configurable:!0})}function M(t,e,n){Object.defineProperty(t,e,{get:function(){return n[e].value},set:function(t){n[e].value=t},enumerable:!0,configurable:!0})}function x(t){var e=Object.getPrototypeOf(t.prototype);if(e)return e.constructor}function k(t,e){return t.hasOwnProperty(e)?t[e]:void 0}var S=function(){function t(e,n){var r=this;f(this,t),A(this,"$props",(function(){return e})),A(this,"$attrs",(function(){return n.attrs})),A(this,"$slots",(function(){return n.slots})),A(this,"$emit",(function(){return n.emit})),Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{enumerable:!1,configurable:!0,writable:!0,value:e[t]})}))}return l(t,null,[{key:"registerHooks",value:function(t){var e;(e=this.__h).push.apply(e,j(t))}},{key:"with",value:function(t){var e=new t,n={};Object.keys(e).forEach((function(t){var r=e[t];n[t]=null!==r&&void 0!==r?r:null}));var r=function(t){g(n,t);var e=w(n);function n(){return f(this,n),e.apply(this,arguments)}return n}(this);return r.__b={props:n},r}},{key:"__vccOpts",get:function(){if(this===T)return{};var t=this,e=k(t,"__c");if(e)return e;var n=y({},k(t,"__o"));t.__c=n;var r=x(t);r&&(n["extends"]=r.__vccOpts);var o=k(t,"__b");o&&(n.mixins=n.mixins||[],n.mixins.unshift(o)),n.methods=y({},n.methods),n.computed=y({},n.computed);var i=t.prototype;Object.getOwnPropertyNames(i).forEach((function(e){if("constructor"!==e)if(t.__h.indexOf(e)>-1)n[e]=i[e];else{var r=Object.getOwnPropertyDescriptor(i,e);"function"!==typeof r.value?(r.get||r.set)&&(n.computed[e]={get:r.get,set:r.set}):n.methods[e]=r.value}})),n.setup=function(e,n){var r,o=new t(e,n),i=Object.keys(o),c={},u=null;return i.forEach((function(t){void 0===o[t]||o[t]&&o[t].__s||(c[t]=Object(s["ref"])(o[t]),M(o,t,c))})),i.forEach((function(t){if(o[t]&&o[t].__s){var e=o[t].__s();e instanceof Promise?(u||(u=Promise.resolve(c)),u=u.then((function(){return e.then((function(e){return c[t]=Object(s["proxyRefs"])(e),c}))}))):c[t]=Object(s["proxyRefs"])(e)}})),null!==(r=u)&&void 0!==r?r:c};var c=k(t,"__d");c&&c.forEach((function(t){return t(n)}));var u=["render","ssrRender","__file","__cssModules","__scopeId","__hmrId"];return u.forEach((function(e){t[e]&&(n[e]=t[e])})),n}}]),t}();S.__h=["data","beforeCreate","created","beforeMount","mounted","beforeUnmount","unmounted","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];var T=S;function I(t){return function(e){return e.__o=t,e}}var $=n("8bd4"),F=function(){function t(){}return t.getComponentDefinition=function(t,e){var n;return n="string"===typeof t?this.searchForComponentInstance(e,t):{extends:Object(s["defineComponent"])(c({},t))},n||console.error("Could not find component with name of "+t+". Is it in Vue.components?"),n.extends?(n.extends.setup&&(n.setup=n.extends.setup),n.extends.props=this.addParamsToProps(n.extends.props)):n.props=this.addParamsToProps(n.props),n},t.addParamsToProps=function(t){return(t&&-1===t.indexOf("params")||!t)&&(t=a(["params"],t||[])),t},t.createAndMountComponent=function(e,n,r){var o=t.getComponentDefinition(e,r);if(o){var i=this.mount(o,{params:Object.freeze(n)},r),c=i.vNode,u=i.destroy,a=i.el;return{componentInstance:c.component.proxy,element:a,destroy:u}}},t.mount=function(t,e,n){var r=Object(s["createVNode"])(t,e);r.appContext=n.$.appContext,r.appContext.provides=c(c({},r.appContext.provides?r.appContext.provides:{}),n.$parent.$options.provide?n.$parent.$options.provide:{});var o=document.createElement("div");Object(s["render"])(r,o);var i=function(){o&&Object(s["render"])(null,o),o=null,r=null};return{vNode:r,destroy:i,el:o}},t.searchForComponentInstance=function(t,e,n,r){void 0===n&&(n=10),void 0===r&&(r=!1);var o=null,i=t.$parent,c=0;while(!o&&i&&i.$options&&++c<n){var u=i;o=u.$options&&u.$options.components?u.$options.components[e]:null,i=i.$parent}if(!o){var a=t.$.appContext.components;a&&a[e]&&(o=a[e])}return o||r?o:(console.error("Could not find component with name of "+e+". Is it in Vue.components?"),null)},t}(),N=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,n}return i(e,t),e.prototype.createWrapper=function(t){var e=this,n=function(n){function o(){return null!==n&&n.apply(this,arguments)||this}return i(o,n),o.prototype.init=function(t){n.prototype.init.call(this,t)},o.prototype.hasMethod=function(t){return null!=r.getFrameworkComponentInstance()[t]},o.prototype.callMethod=function(t,e){var n=this.getFrameworkComponentInstance(),o=r.getFrameworkComponentInstance();return o[t].apply(n,e)},o.prototype.addMethod=function(t,e){r[t]=e},o.prototype.overrideProcessing=function(t){return e.parent.autoParamsRefresh&&"refresh"===t},o.prototype.processMethod=function(t,e){return"refresh"===t&&(this.getFrameworkComponentInstance().params=e[0]),this.hasMethod(t)?this.callMethod(t,e):"refresh"===t},o.prototype.createComponent=function(n){return e.createComponent(t,n)},o}(U),r=new n;return r},e.prototype.createComponent=function(t,e){return F.createAndMountComponent(t,e,this.parent)},e.prototype.createMethodProxy=function(t,e,n){return function(){return t.overrideProcessing(e)?t.processMethod(e,arguments):t.hasMethod(e)?t.callMethod(e,arguments):(n&&console.warn("AG Grid: Framework component is missing the method "+e+"()"),null)}},e.prototype.destroy=function(){this.parent=null},e=u([Object($["Bean"])("frameworkComponentWrapper")],e),e}($["BaseComponentWrapper"]),U=function(){function t(){}return t.prototype.getGui=function(){return this.element},t.prototype.destroy=function(){this.unmount()},t.prototype.getFrameworkComponentInstance=function(){return this.componentInstance},t.prototype.init=function(t){var e=this.createComponent(t),n=e.componentInstance,r=e.element,o=e.destroy;this.componentInstance=n,this.unmount=o,this.element=r.firstElementChild},t}(),V=function(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},B=function(t){return"on"+t.charAt(0).toUpperCase()+t.substring(1,t.length)},G=function(){var t={gridOptions:{default:function(){return{}}},autoParamsRefresh:!1,componentDependencies:{default:function(){return[]}},plugins:{default:function(){return[]}},modules:{default:function(){return[]}},rowDataModel:void 0},e=$["ComponentUtil"].PUBLIC_EVENTS.map((function(t){return B(V(t))}));e.reduce((function(t,e){return t[e]=void 0,t}),t);var n={rowDataModel:{handler:function(t,e){this.processChanges("rowData",t,e)},deep:!0}};$["ComponentUtil"].ALL_PROPERTIES.forEach((function(e){t[e]={},n[e]={handler:function(t,n){this.processChanges(e,t,n)},deep:"popupParent"!==e}}));var r={prop:"rowDataModel",event:"data-model-changed"};return[t,n,r]},L=function(){function t(){}return t.hasChildColumns=function(t){return t&&t.default&&t.default.length>0},t.mapChildColumnDefs=function(e){return e.default.map((function(e){return t.toColDef(e)}))},t.toColDef=function(e){var n=t.createColDefFromGridColumn(e);return e.children&&e.children.length>0&&(n.children=t.getChildColDefs(e.children)),n},t.getChildColDefs=function(e){return e.map((function(e){return t.createColDefFromGridColumn(e)}))},t.createColDefFromGridColumn=function(e){var n={};return t.assign(n,e.data.attrs),delete n.children,$["ColDefUtil"].BOOLEAN_PROPERTIES.forEach((function(t){var e=n;""===e[t]&&(e[t]=!0)})),n},t.assign=function(t,e){return[e].reduce((function(t,e){return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}),t)},t}(),W=n("9ff4");const z=new WeakMap;let q;const K=Symbol(""),Z=Symbol("");let H=!0;const J=[];function Q(){J.push(H),H=!1}function X(){J.push(H),H=!0}function Y(t,e,n){if(!H||void 0===q)return;let r=z.get(t);r||z.set(t,r=new Map);let o=r.get(n);o||r.set(n,o=new Set),o.has(q)||(o.add(q),q.deps.push(o))}function tt(t,e,n,r,o,i){const c=z.get(t);if(!c)return;const u=new Set,a=t=>{t&&t.forEach(t=>{(t!==q||t.options.allowRecurse)&&u.add(t)})};if("clear"===e)c.forEach(a);else if("length"===n&&Object(W["g"])(t))c.forEach((t,e)=>{("length"===e||e>=r)&&a(t)});else switch(void 0!==n&&a(c.get(n)),e){case"add":Object(W["g"])(t)?Object(W["i"])(n)&&a(c.get("length")):(a(c.get(K)),Object(W["j"])(t)&&a(c.get(Z)));break;case"delete":Object(W["g"])(t)||(a(c.get(K)),Object(W["j"])(t)&&a(c.get(Z)));break;case"set":Object(W["j"])(t)&&a(c.get(K));break}const s=t=>{t.options.scheduler?t.options.scheduler(t):t()};u.forEach(s)}const et=new Set(Object.getOwnPropertyNames(Symbol).map(t=>Symbol[t]).filter(W["l"])),nt=ut(),rt=ut(!1,!0),ot=ut(!0),it=ut(!0,!0),ct={};function ut(t=!1,e=!1){return function(n,r,o){if("__v_isReactive"===r)return!t;if("__v_isReadonly"===r)return t;if("__v_raw"===r&&o===(t?Nt:Ft).get(n))return n;const i=Object(W["g"])(n);if(i&&Object(W["f"])(ct,r))return Reflect.get(ct,r,o);const c=Reflect.get(n,r,o),u=Object(W["l"])(r);if(u?et.has(r):"__proto__"===r||"__v_isRef"===r)return c;if(t||Y(n,"get",r),e)return c;if(qt(c)){const t=!i||!Object(W["i"])(r);return t?c.value:c}return Object(W["k"])(c)?t?Gt(c):Bt(c):c}}["includes","indexOf","lastIndexOf"].forEach(t=>{const e=Array.prototype[t];ct[t]=function(...t){const n=Wt(this);for(let e=0,o=this.length;e<o;e++)Y(n,"get",e+"");const r=e.apply(n,t);return-1===r||!1===r?e.apply(n,t.map(Wt)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{const e=Array.prototype[t];ct[t]=function(...t){Q();const n=e.apply(this,t);return X(),n}});const at=ft(),st=ft(!0);function ft(t=!1){return function(e,n,r,o){const i=e[n];if(!t&&(r=Wt(r),!Object(W["g"])(e)&&qt(i)&&!qt(r)))return i.value=r,!0;const c=Object(W["g"])(e)&&Object(W["i"])(n)?Number(n)<e.length:Object(W["f"])(e,n),u=Reflect.set(e,n,r,o);return e===Wt(o)&&(c?Object(W["e"])(r,i)&&tt(e,"set",n,r,i):tt(e,"add",n,r)),u}}function pt(t,e){const n=Object(W["f"])(t,e),r=t[e],o=Reflect.deleteProperty(t,e);return o&&n&&tt(t,"delete",e,void 0,r),o}function lt(t,e){const n=Reflect.has(t,e);return Object(W["l"])(e)&&et.has(e)||Y(t,"has",e),n}function dt(t){return Y(t,"iterate",K),Reflect.ownKeys(t)}const ht={get:nt,set:at,deleteProperty:pt,has:lt,ownKeys:dt},yt={get:ot,set(t,e){return!0},deleteProperty(t,e){return!0}},gt=(Object(W["d"])({},ht,{get:rt,set:st}),Object(W["d"])({},yt,{get:it}),t=>Object(W["k"])(t)?Bt(t):t),vt=t=>Object(W["k"])(t)?Gt(t):t,bt=t=>t,mt=t=>Reflect.getPrototypeOf(t);function Ot(t,e,n=!1,r=!1){t=t["__v_raw"];const o=Wt(t),i=Wt(e);e!==i&&!n&&Y(o,"get",e),!n&&Y(o,"get",i);const{has:c}=mt(o),u=n?vt:r?bt:gt;return c.call(o,e)?u(t.get(e)):c.call(o,i)?u(t.get(i)):void 0}function _t(t,e=!1){const n=this["__v_raw"],r=Wt(n),o=Wt(t);return t!==o&&!e&&Y(r,"has",t),!e&&Y(r,"has",o),t===o?n.has(t):n.has(t)||n.has(o)}function wt(t,e=!1){return t=t["__v_raw"],!e&&Y(Wt(t),"iterate",K),Reflect.get(t,"size",t)}function jt(t){t=Wt(t);const e=Wt(this),n=mt(e),r=n.has.call(e,t),o=e.add(t);return r||tt(e,"add",t,t),o}function Ct(t,e){e=Wt(e);const n=Wt(this),{has:r,get:o}=mt(n);let i=r.call(n,t);i||(t=Wt(t),i=r.call(n,t));const c=o.call(n,t),u=n.set(t,e);return i?Object(W["e"])(e,c)&&tt(n,"set",t,e,c):tt(n,"add",t,e),u}function Pt(t){const e=Wt(this),{has:n,get:r}=mt(e);let o=n.call(e,t);o||(t=Wt(t),o=n.call(e,t));const i=r?r.call(e,t):void 0,c=e.delete(t);return o&&tt(e,"delete",t,void 0,i),c}function Dt(){const t=Wt(this),e=0!==t.size,n=void 0,r=t.clear();return e&&tt(t,"clear",void 0,void 0,n),r}function Et(t,e){return function(n,r){const o=this,i=o["__v_raw"],c=Wt(i),u=t?vt:e?bt:gt;return!t&&Y(c,"iterate",K),i.forEach((t,e)=>n.call(r,u(t),u(e),o))}}function Rt(t,e,n){return function(...r){const o=this["__v_raw"],i=Wt(o),c=Object(W["j"])(i),u="entries"===t||t===Symbol.iterator&&c,a="keys"===t&&c,s=o[t](...r),f=e?vt:n?bt:gt;return!e&&Y(i,"iterate",a?Z:K),{next(){const{value:t,done:e}=s.next();return e?{value:t,done:e}:{value:u?[f(t[0]),f(t[1])]:f(t),done:e}},[Symbol.iterator](){return this}}}}function At(t){return function(...e){return"delete"!==t&&this}}const Mt={get(t){return Ot(this,t)},get size(){return wt(this)},has:_t,add:jt,set:Ct,delete:Pt,clear:Dt,forEach:Et(!1,!1)},xt={get(t){return Ot(this,t,!1,!0)},get size(){return wt(this)},has:_t,add:jt,set:Ct,delete:Pt,clear:Dt,forEach:Et(!1,!0)},kt={get(t){return Ot(this,t,!0)},get size(){return wt(this,!0)},has(t){return _t.call(this,t,!0)},add:At("add"),set:At("set"),delete:At("delete"),clear:At("clear"),forEach:Et(!0,!1)},St=["keys","values","entries",Symbol.iterator];function Tt(t,e){const n=e?xt:t?kt:Mt;return(e,r,o)=>"__v_isReactive"===r?!t:"__v_isReadonly"===r?t:"__v_raw"===r?e:Reflect.get(Object(W["f"])(n,r)&&r in e?n:e,r,o)}St.forEach(t=>{Mt[t]=Rt(t,!1,!1),kt[t]=Rt(t,!0,!1),xt[t]=Rt(t,!1,!0)});const It={get:Tt(!1,!1)},$t=(Tt(!1,!0),{get:Tt(!0,!1)});const Ft=new WeakMap,Nt=new WeakMap;function Ut(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vt(t){return t["__v_skip"]||!Object.isExtensible(t)?0:Ut(Object(W["m"])(t))}function Bt(t){return t&&t["__v_isReadonly"]?t:Lt(t,!1,ht,It)}function Gt(t){return Lt(t,!0,yt,$t)}function Lt(t,e,n,r){if(!Object(W["k"])(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const o=e?Nt:Ft,i=o.get(t);if(i)return i;const c=Vt(t);if(0===c)return t;const u=new Proxy(t,2===c?r:n);return o.set(t,u),u}function Wt(t){return t&&Wt(t["__v_raw"])||t}function zt(t){return Object(W["c"])(t,"__v_skip",!0),t}function qt(t){return Boolean(t&&!0===t.__v_isRef)}var Kt=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,n}return i(e,t),e.prototype.frameworkComponent=function(t){return F.searchForComponentInstance(this.parent,t,10,!0)?t:null},e}($["VanillaFrameworkOverrides"]),Zt=G(),Ht=Zt[0],Jt=Zt[1],Qt=Zt[2],Xt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.gridCreated=!1,e.isDestroyed=!1,e.gridReadyFired=!1,e.emitRowModel=null,e}var n;return i(e,t),n=e,e.prototype.render=function(){return Object(s["h"])("div")},e.prototype.globalEventListener=function(t,e){this.isDestroyed||("gridReady"===t&&(this.gridReadyFired=!0),this.updateModelIfUsed(t))},e.prototype.processChanges=function(t,e,n){if(this.gridCreated){if(this.skipChange(t,e,n))return;var r={};r[t]={currentValue:e,previousValue:n},$["ComponentUtil"].processOnChange(r,this.gridOptions,this.gridOptions.api,this.gridOptions.columnApi)}},e.prototype.mounted=function(){var t=this;this.emitRowModel=this.debounce((function(){t.$emit(n.DATA_MODEL_ATTR_NAME,Object.freeze(t.getRowData()))}),20);var e=new N(this),r=zt($["ComponentUtil"].copyAttributesToGridOptions(Wt(this.gridOptions),this));this.checkForBindingConflicts();var o=this.getRowDataBasedOnBindings();r.rowData=o?zt(Wt(o)):o,L.hasChildColumns(this.$slots)&&(r.columnDefs=L.mapChildColumnDefs(this.$slots));var i={globalEventListener:this.globalEventListener.bind(this),frameworkOverrides:new Kt(this),providedBeanInstances:{frameworkComponentWrapper:e},modules:this.modules};new $["Grid"](this.$el,r,i),this.gridCreated=!0},e.prototype.destroyed=function(){this.gridCreated&&(this.gridOptions.api&&this.gridOptions.api.destroy(),this.isDestroyed=!0)},e.prototype.unmounted=function(){this.destroyed()},e.prototype.checkForBindingConflicts=function(){var t=this;(t.rowData||this.gridOptions.rowData)&&t.rowDataModel&&console.warn("ag-grid: Using both rowData and rowDataModel. rowData will be ignored.")},e.prototype.getRowData=function(){var t=[];return this.gridOptions.api.forEachNode((function(e){t.push(e.data)})),t},e.prototype.updateModelIfUsed=function(t){this.gridReadyFired&&this.$attrs[n.DATA_MODEL_ATTR_NAME]&&-1!==n.ROW_DATA_EVENTS.indexOf(t)&&this.emitRowModel&&this.emitRowModel()},e.prototype.getRowDataBasedOnBindings=function(){var t=this,e=t.rowDataModel;return e||(t.rowData?t.rowData:t.gridOptions.rowData)},e.prototype.skipChange=function(t,e,r){if(this.gridReadyFired&&"rowData"===t&&this.$attrs[n.DATA_MODEL_ATTR_NAME]){if(e===r)return!0;if(e&&r){var o=e,i=r;if(o.length===i.length){for(var c=0;c<o.length;c++)if(o[c]!==i[c])return!1;return!0}}}return!1},e.prototype.debounce=function(t,e){var n;return function(){var r=function(){t()};window.clearTimeout(n),n=window.setTimeout(r,e)}},e.VERSION="Vue 3+",e.ROW_DATA_EVENTS=["rowDataChanged","rowDataUpdated","cellValueChanged","rowValueChanged"],e.DATA_MODEL_ATTR_NAME=B(V("data-model-changed")),e=n=u([Object($["Bean"])("agGridVue"),I({props:Ht,watch:Jt,model:Qt})],e),e}(T)}})})); | ||
*/function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),t}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function g(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&&v(t,e)}function b(t){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},b(t)}function v(t,e){return v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},v(t,e)}function m(){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 O(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?O(t):e}function w(t){var e=m();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function j(t){return C(t)||P(t)||D(t)||R()}function C(t){if(Array.isArray(t))return E(t)}function P(t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}function D(t,e){if(t){if("string"===typeof t)return E(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?E(t,e):void 0}}function E(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function R(){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 A(t,e,n){Object.defineProperty(t,e,{get:n,enumerable:!1,configurable:!0})}function M(t,e,n){Object.defineProperty(t,e,{get:function(){return n[e].value},set:function(t){n[e].value=t},enumerable:!0,configurable:!0})}function x(t){var e=Object.getPrototypeOf(t.prototype);if(e)return e.constructor}function k(t,e){return t.hasOwnProperty(e)?t[e]:void 0}var S=function(){function t(e,n){var r=this;f(this,t),A(this,"$props",(function(){return e})),A(this,"$attrs",(function(){return n.attrs})),A(this,"$slots",(function(){return n.slots})),A(this,"$emit",(function(){return n.emit})),Object.keys(e).forEach((function(t){Object.defineProperty(r,t,{enumerable:!1,configurable:!0,writable:!0,value:e[t]})}))}return l(t,null,[{key:"registerHooks",value:function(t){var e;(e=this.__h).push.apply(e,j(t))}},{key:"with",value:function(t){var e=new t,n={};Object.keys(e).forEach((function(t){var r=e[t];n[t]=null!==r&&void 0!==r?r:null}));var r=function(t){g(n,t);var e=w(n);function n(){return f(this,n),e.apply(this,arguments)}return n}(this);return r.__b={props:n},r}},{key:"__vccOpts",get:function(){if(this===T)return{};var t=this,e=k(t,"__c");if(e)return e;var n=y({},k(t,"__o"));t.__c=n;var r=x(t);r&&(n["extends"]=r.__vccOpts);var o=k(t,"__b");o&&(n.mixins=n.mixins||[],n.mixins.unshift(o)),n.methods=y({},n.methods),n.computed=y({},n.computed);var i=t.prototype;Object.getOwnPropertyNames(i).forEach((function(e){if("constructor"!==e)if(t.__h.indexOf(e)>-1)n[e]=i[e];else{var r=Object.getOwnPropertyDescriptor(i,e);"function"!==typeof r.value?(r.get||r.set)&&(n.computed[e]={get:r.get,set:r.set}):n.methods[e]=r.value}})),n.setup=function(e,n){var r,o=new t(e,n),i=Object.keys(o),c={},u=null;return i.forEach((function(t){void 0===o[t]||o[t]&&o[t].__s||(c[t]=Object(s["ref"])(o[t]),M(o,t,c))})),i.forEach((function(t){if(o[t]&&o[t].__s){var e=o[t].__s();e instanceof Promise?(u||(u=Promise.resolve(c)),u=u.then((function(){return e.then((function(e){return c[t]=Object(s["proxyRefs"])(e),c}))}))):c[t]=Object(s["proxyRefs"])(e)}})),null!==(r=u)&&void 0!==r?r:c};var c=k(t,"__d");c&&c.forEach((function(t){return t(n)}));var u=["render","ssrRender","__file","__cssModules","__scopeId","__hmrId"];return u.forEach((function(e){t[e]&&(n[e]=t[e])})),n}}]),t}();S.__h=["data","beforeCreate","created","beforeMount","mounted","beforeUnmount","unmounted","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];var T=S;function I(t){return function(e){return e.__o=t,e}}var $=n("8bd4"),F=function(){function t(){}return t.getComponentDefinition=function(t,e){var n;return n="string"===typeof t?this.searchForComponentInstance(e,t):{extends:Object(s["defineComponent"])(c({},t))},n||console.error("Could not find component with name of "+t+". Is it in Vue.components?"),n.extends?(n.extends.setup&&(n.setup=n.extends.setup),n.extends.props=this.addParamsToProps(n.extends.props)):n.props=this.addParamsToProps(n.props),n},t.addParamsToProps=function(t){return!t||Array.isArray(t)&&-1===t.indexOf("params")?t=a(["params"],t||[]):"object"!==typeof t||t.params||(t["params"]={type:Object}),t},t.createAndMountComponent=function(e,n,r){var o=t.getComponentDefinition(e,r);if(o){var i=this.mount(o,{params:Object.freeze(n)},r),c=i.vNode,u=i.destroy,a=i.el;return{componentInstance:c.component.proxy,element:a,destroy:u}}},t.mount=function(t,e,n){var r=Object(s["createVNode"])(t,e);r.appContext=n.$.appContext,r.appContext.provides=c(c({},r.appContext.provides?r.appContext.provides:{}),n.$parent.$options.provide?n.$parent.$options.provide:{});var o=document.createElement("div");Object(s["render"])(r,o);var i=function(){o&&Object(s["render"])(null,o),o=null,r=null};return{vNode:r,destroy:i,el:o}},t.searchForComponentInstance=function(t,e,n,r){void 0===n&&(n=10),void 0===r&&(r=!1);var o=null,i=t.$parent,c=0;while(!o&&i&&i.$options&&++c<n){var u=i;o=u.$options&&u.$options.components?u.$options.components[e]:null,i=i.$parent}if(!o){var a=t.$.appContext.components;a&&a[e]&&(o=a[e])}return o||r?o:(console.error("Could not find component with name of "+e+". Is it in Vue.components?"),null)},t}(),N=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,n}return i(e,t),e.prototype.createWrapper=function(t){var e=this,n=function(n){function o(){return null!==n&&n.apply(this,arguments)||this}return i(o,n),o.prototype.init=function(t){n.prototype.init.call(this,t)},o.prototype.hasMethod=function(t){return null!=r.getFrameworkComponentInstance()[t]},o.prototype.callMethod=function(t,e){var n=this.getFrameworkComponentInstance(),o=r.getFrameworkComponentInstance();return o[t].apply(n,e)},o.prototype.addMethod=function(t,e){r[t]=e},o.prototype.overrideProcessing=function(t){return e.parent.autoParamsRefresh&&"refresh"===t},o.prototype.processMethod=function(t,e){return"refresh"===t&&(this.getFrameworkComponentInstance().params=e[0]),this.hasMethod(t)?this.callMethod(t,e):"refresh"===t},o.prototype.createComponent=function(n){return e.createComponent(t,n)},o}(U),r=new n;return r},e.prototype.createComponent=function(t,e){return F.createAndMountComponent(t,e,this.parent)},e.prototype.createMethodProxy=function(t,e,n){return function(){return t.overrideProcessing(e)?t.processMethod(e,arguments):t.hasMethod(e)?t.callMethod(e,arguments):(n&&console.warn("AG Grid: Framework component is missing the method "+e+"()"),null)}},e.prototype.destroy=function(){this.parent=null},e=u([Object($["Bean"])("frameworkComponentWrapper")],e),e}($["BaseComponentWrapper"]),U=function(){function t(){}return t.prototype.getGui=function(){return this.element},t.prototype.destroy=function(){this.unmount()},t.prototype.getFrameworkComponentInstance=function(){return this.componentInstance},t.prototype.init=function(t){var e=this.createComponent(t),n=e.componentInstance,r=e.element,o=e.destroy;this.componentInstance=n,this.unmount=o,this.element=r.firstElementChild},t}(),V=function(t){return t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},B=function(t){return"on"+t.charAt(0).toUpperCase()+t.substring(1,t.length)},G=function(){var t={gridOptions:{default:function(){return{}}},autoParamsRefresh:!1,componentDependencies:{default:function(){return[]}},plugins:{default:function(){return[]}},modules:{default:function(){return[]}},rowDataModel:void 0},e=$["ComponentUtil"].PUBLIC_EVENTS.map((function(t){return B(V(t))}));e.reduce((function(t,e){return t[e]=void 0,t}),t);var n={rowDataModel:{handler:function(t,e){this.processChanges("rowData",t,e)},deep:!0}};$["ComponentUtil"].ALL_PROPERTIES.forEach((function(e){t[e]={},n[e]={handler:function(t,n){this.processChanges(e,t,n)},deep:"popupParent"!==e}}));var r={prop:"rowDataModel",event:"data-model-changed"};return[t,n,r]},L=function(){function t(){}return t.hasChildColumns=function(t){return t&&t.default&&t.default.length>0},t.mapChildColumnDefs=function(e){return e.default.map((function(e){return t.toColDef(e)}))},t.toColDef=function(e){var n=t.createColDefFromGridColumn(e);return e.children&&e.children.length>0&&(n.children=t.getChildColDefs(e.children)),n},t.getChildColDefs=function(e){return e.map((function(e){return t.createColDefFromGridColumn(e)}))},t.createColDefFromGridColumn=function(e){var n={};return t.assign(n,e.data.attrs),delete n.children,$["ColDefUtil"].BOOLEAN_PROPERTIES.forEach((function(t){var e=n;""===e[t]&&(e[t]=!0)})),n},t.assign=function(t,e){return[e].reduce((function(t,e){return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}),t)},t}(),W=n("9ff4");const z=new WeakMap;let q;const K=Symbol(""),Z=Symbol("");let H=!0;const J=[];function Q(){J.push(H),H=!1}function X(){J.push(H),H=!0}function Y(t,e,n){if(!H||void 0===q)return;let r=z.get(t);r||z.set(t,r=new Map);let o=r.get(n);o||r.set(n,o=new Set),o.has(q)||(o.add(q),q.deps.push(o))}function tt(t,e,n,r,o,i){const c=z.get(t);if(!c)return;const u=new Set,a=t=>{t&&t.forEach(t=>{(t!==q||t.options.allowRecurse)&&u.add(t)})};if("clear"===e)c.forEach(a);else if("length"===n&&Object(W["g"])(t))c.forEach((t,e)=>{("length"===e||e>=r)&&a(t)});else switch(void 0!==n&&a(c.get(n)),e){case"add":Object(W["g"])(t)?Object(W["i"])(n)&&a(c.get("length")):(a(c.get(K)),Object(W["j"])(t)&&a(c.get(Z)));break;case"delete":Object(W["g"])(t)||(a(c.get(K)),Object(W["j"])(t)&&a(c.get(Z)));break;case"set":Object(W["j"])(t)&&a(c.get(K));break}const s=t=>{t.options.scheduler?t.options.scheduler(t):t()};u.forEach(s)}const et=new Set(Object.getOwnPropertyNames(Symbol).map(t=>Symbol[t]).filter(W["l"])),nt=ut(),rt=ut(!1,!0),ot=ut(!0),it=ut(!0,!0),ct={};function ut(t=!1,e=!1){return function(n,r,o){if("__v_isReactive"===r)return!t;if("__v_isReadonly"===r)return t;if("__v_raw"===r&&o===(t?Nt:Ft).get(n))return n;const i=Object(W["g"])(n);if(i&&Object(W["f"])(ct,r))return Reflect.get(ct,r,o);const c=Reflect.get(n,r,o),u=Object(W["l"])(r);if(u?et.has(r):"__proto__"===r||"__v_isRef"===r)return c;if(t||Y(n,"get",r),e)return c;if(qt(c)){const t=!i||!Object(W["i"])(r);return t?c.value:c}return Object(W["k"])(c)?t?Gt(c):Bt(c):c}}["includes","indexOf","lastIndexOf"].forEach(t=>{const e=Array.prototype[t];ct[t]=function(...t){const n=Wt(this);for(let e=0,o=this.length;e<o;e++)Y(n,"get",e+"");const r=e.apply(n,t);return-1===r||!1===r?e.apply(n,t.map(Wt)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{const e=Array.prototype[t];ct[t]=function(...t){Q();const n=e.apply(this,t);return X(),n}});const at=ft(),st=ft(!0);function ft(t=!1){return function(e,n,r,o){const i=e[n];if(!t&&(r=Wt(r),!Object(W["g"])(e)&&qt(i)&&!qt(r)))return i.value=r,!0;const c=Object(W["g"])(e)&&Object(W["i"])(n)?Number(n)<e.length:Object(W["f"])(e,n),u=Reflect.set(e,n,r,o);return e===Wt(o)&&(c?Object(W["e"])(r,i)&&tt(e,"set",n,r,i):tt(e,"add",n,r)),u}}function pt(t,e){const n=Object(W["f"])(t,e),r=t[e],o=Reflect.deleteProperty(t,e);return o&&n&&tt(t,"delete",e,void 0,r),o}function lt(t,e){const n=Reflect.has(t,e);return Object(W["l"])(e)&&et.has(e)||Y(t,"has",e),n}function dt(t){return Y(t,"iterate",K),Reflect.ownKeys(t)}const ht={get:nt,set:at,deleteProperty:pt,has:lt,ownKeys:dt},yt={get:ot,set(t,e){return!0},deleteProperty(t,e){return!0}},gt=(Object(W["d"])({},ht,{get:rt,set:st}),Object(W["d"])({},yt,{get:it}),t=>Object(W["k"])(t)?Bt(t):t),bt=t=>Object(W["k"])(t)?Gt(t):t,vt=t=>t,mt=t=>Reflect.getPrototypeOf(t);function Ot(t,e,n=!1,r=!1){t=t["__v_raw"];const o=Wt(t),i=Wt(e);e!==i&&!n&&Y(o,"get",e),!n&&Y(o,"get",i);const{has:c}=mt(o),u=n?bt:r?vt:gt;return c.call(o,e)?u(t.get(e)):c.call(o,i)?u(t.get(i)):void 0}function _t(t,e=!1){const n=this["__v_raw"],r=Wt(n),o=Wt(t);return t!==o&&!e&&Y(r,"has",t),!e&&Y(r,"has",o),t===o?n.has(t):n.has(t)||n.has(o)}function wt(t,e=!1){return t=t["__v_raw"],!e&&Y(Wt(t),"iterate",K),Reflect.get(t,"size",t)}function jt(t){t=Wt(t);const e=Wt(this),n=mt(e),r=n.has.call(e,t),o=e.add(t);return r||tt(e,"add",t,t),o}function Ct(t,e){e=Wt(e);const n=Wt(this),{has:r,get:o}=mt(n);let i=r.call(n,t);i||(t=Wt(t),i=r.call(n,t));const c=o.call(n,t),u=n.set(t,e);return i?Object(W["e"])(e,c)&&tt(n,"set",t,e,c):tt(n,"add",t,e),u}function Pt(t){const e=Wt(this),{has:n,get:r}=mt(e);let o=n.call(e,t);o||(t=Wt(t),o=n.call(e,t));const i=r?r.call(e,t):void 0,c=e.delete(t);return o&&tt(e,"delete",t,void 0,i),c}function Dt(){const t=Wt(this),e=0!==t.size,n=void 0,r=t.clear();return e&&tt(t,"clear",void 0,void 0,n),r}function Et(t,e){return function(n,r){const o=this,i=o["__v_raw"],c=Wt(i),u=t?bt:e?vt:gt;return!t&&Y(c,"iterate",K),i.forEach((t,e)=>n.call(r,u(t),u(e),o))}}function Rt(t,e,n){return function(...r){const o=this["__v_raw"],i=Wt(o),c=Object(W["j"])(i),u="entries"===t||t===Symbol.iterator&&c,a="keys"===t&&c,s=o[t](...r),f=e?bt:n?vt:gt;return!e&&Y(i,"iterate",a?Z:K),{next(){const{value:t,done:e}=s.next();return e?{value:t,done:e}:{value:u?[f(t[0]),f(t[1])]:f(t),done:e}},[Symbol.iterator](){return this}}}}function At(t){return function(...e){return"delete"!==t&&this}}const Mt={get(t){return Ot(this,t)},get size(){return wt(this)},has:_t,add:jt,set:Ct,delete:Pt,clear:Dt,forEach:Et(!1,!1)},xt={get(t){return Ot(this,t,!1,!0)},get size(){return wt(this)},has:_t,add:jt,set:Ct,delete:Pt,clear:Dt,forEach:Et(!1,!0)},kt={get(t){return Ot(this,t,!0)},get size(){return wt(this,!0)},has(t){return _t.call(this,t,!0)},add:At("add"),set:At("set"),delete:At("delete"),clear:At("clear"),forEach:Et(!0,!1)},St=["keys","values","entries",Symbol.iterator];function Tt(t,e){const n=e?xt:t?kt:Mt;return(e,r,o)=>"__v_isReactive"===r?!t:"__v_isReadonly"===r?t:"__v_raw"===r?e:Reflect.get(Object(W["f"])(n,r)&&r in e?n:e,r,o)}St.forEach(t=>{Mt[t]=Rt(t,!1,!1),kt[t]=Rt(t,!0,!1),xt[t]=Rt(t,!1,!0)});const It={get:Tt(!1,!1)},$t=(Tt(!1,!0),{get:Tt(!0,!1)});const Ft=new WeakMap,Nt=new WeakMap;function Ut(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vt(t){return t["__v_skip"]||!Object.isExtensible(t)?0:Ut(Object(W["m"])(t))}function Bt(t){return t&&t["__v_isReadonly"]?t:Lt(t,!1,ht,It)}function Gt(t){return Lt(t,!0,yt,$t)}function Lt(t,e,n,r){if(!Object(W["k"])(t))return t;if(t["__v_raw"]&&(!e||!t["__v_isReactive"]))return t;const o=e?Nt:Ft,i=o.get(t);if(i)return i;const c=Vt(t);if(0===c)return t;const u=new Proxy(t,2===c?r:n);return o.set(t,u),u}function Wt(t){return t&&Wt(t["__v_raw"])||t}function zt(t){return Object(W["c"])(t,"__v_skip",!0),t}function qt(t){return Boolean(t&&!0===t.__v_isRef)}var Kt=function(t){function e(e){var n=t.call(this)||this;return n.parent=e,n}return i(e,t),e.prototype.frameworkComponent=function(t){return F.searchForComponentInstance(this.parent,t,10,!0)?t:null},e}($["VanillaFrameworkOverrides"]),Zt=G(),Ht=Zt[0],Jt=Zt[1],Qt=Zt[2],Xt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.gridCreated=!1,e.isDestroyed=!1,e.gridReadyFired=!1,e.emitRowModel=null,e}var n;return i(e,t),n=e,e.prototype.render=function(){return Object(s["h"])("div")},e.prototype.globalEventListener=function(t,e){this.isDestroyed||("gridReady"===t&&(this.gridReadyFired=!0),this.updateModelIfUsed(t))},e.prototype.processChanges=function(t,e,n){if(this.gridCreated){if(this.skipChange(t,e,n))return;var r={};r[t]={currentValue:e,previousValue:n},$["ComponentUtil"].processOnChange(r,this.gridOptions,this.gridOptions.api,this.gridOptions.columnApi)}},e.prototype.mounted=function(){var t=this;this.emitRowModel=this.debounce((function(){t.$emit(n.DATA_MODEL_ATTR_NAME,Object.freeze(t.getRowData()))}),20);var e=new N(this),r=zt($["ComponentUtil"].copyAttributesToGridOptions(Wt(this.gridOptions),this));this.checkForBindingConflicts();var o=this.getRowDataBasedOnBindings();r.rowData=o?zt(Wt(o)):o,L.hasChildColumns(this.$slots)&&(r.columnDefs=L.mapChildColumnDefs(this.$slots));var i={globalEventListener:this.globalEventListener.bind(this),frameworkOverrides:new Kt(this),providedBeanInstances:{frameworkComponentWrapper:e},modules:this.modules};new $["Grid"](this.$el,r,i),this.gridCreated=!0},e.prototype.destroyed=function(){this.gridCreated&&(this.gridOptions.api&&this.gridOptions.api.destroy(),this.isDestroyed=!0)},e.prototype.unmounted=function(){this.destroyed()},e.prototype.checkForBindingConflicts=function(){var t=this;(t.rowData||this.gridOptions.rowData)&&t.rowDataModel&&console.warn("ag-grid: Using both rowData and rowDataModel. rowData will be ignored.")},e.prototype.getRowData=function(){var t=[];return this.gridOptions.api.forEachNode((function(e){t.push(e.data)})),t},e.prototype.updateModelIfUsed=function(t){this.gridReadyFired&&this.$attrs[n.DATA_MODEL_ATTR_NAME]&&-1!==n.ROW_DATA_EVENTS.indexOf(t)&&this.emitRowModel&&this.emitRowModel()},e.prototype.getRowDataBasedOnBindings=function(){var t=this,e=t.rowDataModel;return e||(t.rowData?t.rowData:t.gridOptions.rowData)},e.prototype.skipChange=function(t,e,r){if(this.gridReadyFired&&"rowData"===t&&this.$attrs[n.DATA_MODEL_ATTR_NAME]){if(e===r)return!0;if(e&&r){var o=e,i=r;if(o.length===i.length){for(var c=0;c<o.length;c++)if(o[c]!==i[c])return!1;return!0}}}return!1},e.prototype.debounce=function(t,e){var n;return function(){var r=function(){t()};window.clearTimeout(n),n=window.setTimeout(r,e)}},e.VERSION="Vue 3+",e.ROW_DATA_EVENTS=["rowDataChanged","rowDataUpdated","cellValueChanged","rowValueChanged"],e.DATA_MODEL_ATTR_NAME=B(V("data-model-changed")),e=n=u([Object($["Bean"])("agGridVue"),I({props:Ht,watch:Jt,model:Qt})],e),e}(T)}})})); | ||
//# sourceMappingURL=ag-grid-vue3.umd.min.js.map |
@@ -48,6 +48,11 @@ var __assign = (this && this.__assign) || function () { | ||
VueComponentFactory.addParamsToProps = function (props) { | ||
if ((props && props.indexOf('params') === -1) || | ||
!props) { | ||
if (!props || (Array.isArray(props) && props.indexOf('params') === -1)) { | ||
props = __spreadArrays(['params'], (props ? props : [])); | ||
} | ||
else if (typeof props === 'object' && !props.params) { | ||
/* tslint:disable:no-string-literal */ | ||
props['params'] = { | ||
type: Object | ||
}; | ||
} | ||
return props; | ||
@@ -54,0 +59,0 @@ }; |
{ | ||
"name": "ag-grid-vue3", | ||
"description": "AG Grid Vue 3 Component", | ||
"version": "26.1.0", | ||
"version": "26.1.1", | ||
"author": "Sean Landsman <sean@thelandsmans.com>", | ||
@@ -58,2 +58,2 @@ "license": "MIT", | ||
} | ||
} | ||
} |
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 too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
664329
5999