/** * @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v24.1.0 * @link http://www.ag-grid.com/ * @license MIT */ // @ag-grid-community/all-modules v24.1.0 !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.agGrid=t():e.agGrid=t()}(window,(function(){return function(e){var t={};function o(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,o),a.l=!0,a.exports}return o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(r,a,function(t){return e[t]}.bind(null,a));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=163)}([function(e,t,o){"use strict";o.d(t,"c",(function(){return i})),o.d(t,"f",(function(){return l})),o.d(t,"e",(function(){return g})),o.d(t,"g",(function(){return s})),o.d(t,"b",(function(){return c})),o.d(t,"a",(function(){return p})),o.d(t,"d",(function(){return d})),o.d(t,"h",(function(){return h}));var r=o(2),a=o(10),n=o(11),i=function(){function e(e,t){if(this.beanWrappers={},this.destroyed=!1,e&&e.beanClasses){this.contextParams=e,this.logger=t,this.logger.log(">> creating ag-Application Context"),this.createBeans();var o=this.getBeanInstances();this.wireBeans(o),this.logger.log(">> ag-Application Context ready - component is alive")}}return e.prototype.getBeanInstances=function(){return Object(r.values)(this.beanWrappers).map((function(e){return e.beanInstance}))},e.prototype.createBean=function(e,t){if(!e)throw Error("Can't wire to bean since it is null");return this.wireBeans([e],t),e},e.prototype.wireBeans=function(e,t){this.autoWireBeans(e),this.methodWireBeans(e),this.callLifeCycleMethods(e,"preConstructMethods"),Object(r.exists)(t)&&e.forEach(t),this.callLifeCycleMethods(e,"postConstructMethods")},e.prototype.createBeans=function(){var e=this;this.contextParams.beanClasses.forEach(this.createBeanWrapper.bind(this)),Object(a.iterateObject)(this.beanWrappers,(function(t,o){var r;o.bean.__agBeanMetaData&&o.bean.__agBeanMetaData.autowireMethods&&o.bean.__agBeanMetaData.autowireMethods.agConstructor&&(r=o.bean.__agBeanMetaData.autowireMethods.agConstructor);var a,n,i=e.getBeansForParameters(r,o.bean.name),l=(a=o.bean,n=[null].concat(i),new(a.bind.apply(a,n)));o.beanInstance=l}));var t=Object.keys(this.beanWrappers).join(", ");this.logger.log("created beans: "+t)},e.prototype.createBeanWrapper=function(e){var t=e.__agBeanMetaData;if(!t){var o=void 0;return o=e.prototype.constructor?Object(n.getFunctionName)(e.prototype.constructor):""+e,void console.error("Context item "+o+" is not a bean")}var r={bean:e,beanInstance:null,beanName:t.beanName};this.beanWrappers[t.beanName]=r},e.prototype.autoWireBeans=function(e){var t=this;e.forEach((function(e){t.forEachMetaDataInHierarchy(e,(function(o,r){var a=o.agClassAttributes;a&&a.forEach((function(o){var a=t.lookupBeanInstance(r,o.beanName,o.optional);e[o.attributeName]=a}))}))}))},e.prototype.methodWireBeans=function(e){var t=this;e.forEach((function(e){t.forEachMetaDataInHierarchy(e,(function(o,r){Object(a.iterateObject)(o.autowireMethods,(function(o,a){if("agConstructor"!==o){var n=t.getBeansForParameters(a,r);e[o].apply(e,n)}}))}))}))},e.prototype.forEachMetaDataInHierarchy=function(e,t){for(var o=Object.getPrototypeOf(e);null!=o;){var r=o.constructor;if(r.hasOwnProperty("__agBeanMetaData"))t(r.__agBeanMetaData,this.getBeanName(r));o=Object.getPrototypeOf(o)}},e.prototype.getBeanName=function(e){if(e.__agBeanMetaData&&e.__agBeanMetaData.beanName)return e.__agBeanMetaData.beanName;var t=e.toString();return t.substring(9,t.indexOf("("))},e.prototype.getBeansForParameters=function(e,t){var o=this,r=[];return e&&Object(a.iterateObject)(e,(function(e,a){var n=o.lookupBeanInstance(t,a);r[Number(e)]=n})),r},e.prototype.lookupBeanInstance=function(e,t,o){if(void 0===o&&(o=!1),"context"===t)return this;if(this.contextParams.providedBeanInstances&&this.contextParams.providedBeanInstances.hasOwnProperty(t))return this.contextParams.providedBeanInstances[t];var r=this.beanWrappers[t];return r?r.beanInstance:(o||console.error("ag-Grid: unable to find bean reference "+t+" while initialising "+e),null)},e.prototype.callLifeCycleMethods=function(e,t){var o=this;e.forEach((function(e){return o.callLifeCycleMethodsOnBean(e,t)}))},e.prototype.callLifeCycleMethodsOnBean=function(e,t,o){var r={};this.forEachMetaDataInHierarchy(e,(function(e){var a=e[t];a&&a.forEach((function(e){e!=o&&(r[e]=!0)}))})),Object.keys(r).forEach((function(t){return e[t]()}))},e.prototype.getBean=function(e){return this.lookupBeanInstance("getBean",e,!0)},e.prototype.destroy=function(){if(!this.destroyed){this.logger.log(">> Shutting down ag-Application Context");var e=this.getBeanInstances();this.destroyBeans(e),this.contextParams.providedBeanInstances=null,this.destroyed=!0,this.logger.log(">> ag-Application Context shut down - component is dead")}},e.prototype.destroyBean=function(e){e&&this.destroyBeans([e])},e.prototype.destroyBeans=function(e){var t=this;return e?(e.forEach((function(e){t.callLifeCycleMethodsOnBean(e,"preDestroyMethods","destroy");var o=e;"function"==typeof o.destroy&&o.destroy()})),[]):[]},e}();function l(e,t,o){var r=f(e.constructor);r.preConstructMethods||(r.preConstructMethods=[]),r.preConstructMethods.push(t)}function g(e,t,o){var r=f(e.constructor);r.postConstructMethods||(r.postConstructMethods=[]),r.postConstructMethods.push(t)}function s(e,t,o){var r=f(e.constructor);r.preDestroyMethods||(r.preDestroyMethods=[]),r.preDestroyMethods.push(t)}function c(e){return function(t){f(t).beanName=e}}function p(e){return function(t,o,r){u(t,e,!1,t,o,null)}}function d(e){return function(t,o,r){u(t,e,!0,t,o,null)}}function u(e,t,o,r,a,n){if(null!==t)if("number"!=typeof n){var i=f(e.constructor);i.agClassAttributes||(i.agClassAttributes=[]),i.agClassAttributes.push({attributeName:a,beanName:t,optional:o})}else console.error("ag-Grid: Autowired should be on an attribute");else console.error("ag-Grid: Autowired name should not be null")}function h(e){return function(t,o,r){var a,n="function"==typeof t?t:t.constructor;if("number"==typeof r){var i=void 0;o?(a=f(n),i=o):(a=f(n),i="agConstructor"),a.autowireMethods||(a.autowireMethods={}),a.autowireMethods[i]||(a.autowireMethods[i]={}),a.autowireMethods[i][r]=e}}}function f(e){return e.hasOwnProperty("__agBeanMetaData")||(e.__agBeanMetaData={}),e.__agBeanMetaData}},function(e,t,o){"use strict";o.r(t),o.d(t,"addCssClass",(function(){return g})),o.d(t,"removeCssClass",(function(){return s})),o.d(t,"addOrRemoveCssClass",(function(){return c})),o.d(t,"radioCssClass",(function(){return p})),o.d(t,"containsClass",(function(){return d})),o.d(t,"setDisplayed",(function(){return u})),o.d(t,"setVisible",(function(){return h})),o.d(t,"setDisabled",(function(){return f})),o.d(t,"isElementChildOfClass",(function(){return m})),o.d(t,"getElementSize",(function(){return b})),o.d(t,"getInnerHeight",(function(){return v})),o.d(t,"getInnerWidth",(function(){return y})),o.d(t,"getAbsoluteHeight",(function(){return w})),o.d(t,"getAbsoluteWidth",(function(){return x})),o.d(t,"isRtlNegativeScroll",(function(){return C})),o.d(t,"getScrollLeft",(function(){return k})),o.d(t,"setScrollLeft",(function(){return O})),o.d(t,"clearElement",(function(){return A})),o.d(t,"removeElement",(function(){return E})),o.d(t,"removeFromParent",(function(){return R})),o.d(t,"isVisible",(function(){return S})),o.d(t,"loadTemplate",(function(){return P})),o.d(t,"appendHtml",(function(){return D})),o.d(t,"getElementAttribute",(function(){return T})),o.d(t,"offsetHeight",(function(){return N})),o.d(t,"offsetWidth",(function(){return F})),o.d(t,"ensureDomOrder",(function(){return I})),o.d(t,"setDomChildOrder",(function(){return M})),o.d(t,"insertTemplateWithDomOrder",(function(){return L})),o.d(t,"prependDC",(function(){return G})),o.d(t,"addStylesToElement",(function(){return j})),o.d(t,"isHorizontalScrollShowing",(function(){return _})),o.d(t,"isVerticalScrollShowing",(function(){return V})),o.d(t,"setElementWidth",(function(){return W})),o.d(t,"setFixedWidth",(function(){return H})),o.d(t,"setElementHeight",(function(){return B})),o.d(t,"setFixedHeight",(function(){return z})),o.d(t,"formatSize",(function(){return U})),o.d(t,"isNode",(function(){return Y})),o.d(t,"isElement",(function(){return K})),o.d(t,"isNodeOrElement",(function(){return q})),o.d(t,"copyNodeList",(function(){return Q})),o.d(t,"iterateNamedNodeMap",(function(){return Z})),o.d(t,"setCheckboxState",(function(){return X})),o.d(t,"addOrRemoveAttribute",(function(){return J})),o.d(t,"nodeListForEach",(function(){return $}));var r,a=o(19),n=o(2),i=o(10),l=o(26);function g(e,t){if(e&&t&&0!==t.length){if(!(t.indexOf(" ")>=0)){if(e.classList)e.classList.add(t);else if(e.className&&e.className.length>0){var o=e.className.split(" ");o.indexOf(t)<0&&(o.push(t),e.setAttribute("class",o.join(" ")))}else e.setAttribute("class",t);return e}t.split(" ").forEach((function(t){return g(e,t)}))}}function s(e,t){if(e&&t&&0!==t.length)if(t.indexOf(" ")>=0)t.split(" ").forEach((function(t){return s(e,t)}));else if(e.classList)e.classList.remove(t);else if(e.className&&e.className.length>0){var o=e.className.split(" ").filter((function(e){return e!==t})).join(" ");e.setAttribute("class",o)}}function c(e,t,o){o?g(e,t):s(e,t)}function p(e,t,o){for(var r=e.parentElement.firstChild;r;)t&&c(r,t,r===e),o&&c(r,o,r!==e),r=r.nextSibling}function d(e,t){if(e.classList)return e.classList.contains(t);if(e.className){var o=e.className===t,r=e.className.indexOf(" "+t+" ")>=0,a=0===e.className.indexOf(t+" "),n=e.className.lastIndexOf(" "+t)===e.className.length-t.length-1;return o||r||a||n}return!1}function u(e,t){c(e,"ag-hidden",!t)}function h(e,t){c(e,"ag-invisible",!t)}function f(e,t){var o=t?function(e){return e.setAttribute("disabled","")}:function(e){return e.removeAttribute("disabled")};o(e),$(e.querySelectorAll("input"),(function(e){return o(e)}))}function m(e,t,o){for(var r=0;e;){if(d(e,t))return!0;if(e=e.parentElement,o&&++r>o)break}return!1}function b(e){var t=window.getComputedStyle(e),o=t.height,r=t.width,a=t.paddingTop,n=t.paddingRight,i=t.paddingBottom,l=t.paddingLeft,g=t.marginTop,s=t.marginRight,c=t.marginBottom,p=t.marginLeft,d=t.boxSizing;return{height:parseFloat(o),width:parseFloat(r),paddingTop:parseFloat(a),paddingRight:parseFloat(n),paddingBottom:parseFloat(i),paddingLeft:parseFloat(l),marginTop:parseFloat(g),marginRight:parseFloat(s),marginBottom:parseFloat(c),marginLeft:parseFloat(p),boxSizing:d}}function v(e){var t=b(e);return"border-box"===t.boxSizing?t.height-t.paddingTop-t.paddingBottom:t.height}function y(e){var t=b(e);return"border-box"===t.boxSizing?t.width-t.paddingLeft-t.paddingRight:t.width}function w(e){var t=b(e),o=t.marginBottom+t.marginTop;return Math.ceil(e.offsetHeight+o)}function x(e){var t=b(e),o=t.marginLeft+t.marginRight;return Math.ceil(e.offsetWidth+o)}function C(){if("boolean"==typeof r)return r;var e=document.createElement("div");return e.style.direction="rtl",e.style.width="1px",e.style.height="1px",e.style.position="fixed",e.style.top="0px",e.style.overflow="hidden",e.dir="rtl",e.innerHTML='