UNPKG

ag-grid-enterprise

Version:

ag-Grid Enterprise Features

27 lines 1.13 MB
// ag-grid-enterprise v19.1.4 !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(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=e,o.c=t,o.d=function(e,t,i){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(i,n,function(t){return e[t]}.bind(null,n));return i},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=180)}([function(e,t,o){"use strict"; /** * ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v19.1.4 * @link http://www.ag-grid.com/ * @license MIT */Object.defineProperty(t,"__esModule",{value:!0});var i=o(1),n=function(){function e(e,t){if(this.beans={},this.componentsMappedByName={},this.destroyed=!1,e&&e.beans){this.contextParams=e,this.logger=t,this.logger.log(">> creating ag-Application Context"),this.setupComponents(),this.createBeans();var o=i.Utils.mapObject(this.beans,function(e){return e.beanInstance});this.wireBeans(o),this.logger.log(">> ag-Application Context ready - component is alive")}}return e.prototype.setupComponents=function(){var e=this;this.contextParams.components&&this.contextParams.components.forEach(function(t){return e.addComponent(t)})},e.prototype.addComponent=function(e){var t=e.componentName.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase().toUpperCase();this.componentsMappedByName[t]=e.theClass},e.prototype.createComponent=function(e,t){var o=e.nodeName;if(this.componentsMappedByName&&this.componentsMappedByName[o]){var i=new this.componentsMappedByName[o];return this.wireBean(i,t),i}return null},e.prototype.wireBean=function(e,t){if(!e)throw Error("Can't wire to bean since it is null");this.wireBeans([e],t)},e.prototype.wireBeans=function(e,t){this.autoWireBeans(e),this.methodWireBeans(e),this.preConstruct(e),i.Utils.exists(t)&&e.forEach(t),this.postConstruct(e)},e.prototype.createBeans=function(){var e=this;this.contextParams.beans.forEach(this.createBeanEntry.bind(this)),this.contextParams.overrideBeans&&this.contextParams.overrideBeans.forEach(this.createBeanEntry.bind(this)),i.Utils.iterateObject(this.beans,function(t,o){var i;o.bean.__agBeanMetaData&&o.bean.__agBeanMetaData.autowireMethods&&o.bean.__agBeanMetaData.autowireMethods.agConstructor&&(i=o.bean.__agBeanMetaData.autowireMethods.agConstructor);var n,r,s=e.getBeansForParameters(i,o.bean.name),a=(n=o.bean,r=[null].concat(s),new(n.bind.apply(n,r)));o.beanInstance=a,e.logger.log("bean "+e.getBeanName(a)+" created")})},e.prototype.createBeanEntry=function(e){var t=e.__agBeanMetaData;if(!t){var o=void 0;return o=e.prototype.constructor?e.prototype.constructor.name:""+e,void console.error("context item "+o+" is not a bean")}var i={bean:e,beanInstance:null,beanName:t.beanName};this.beans[t.beanName]=i},e.prototype.autoWireBeans=function(e){var t=this;e.forEach(function(e){return t.autoWireBean(e)})},e.prototype.methodWireBeans=function(e){var t=this;e.forEach(function(e){if(!e)throw Error("Can't wire to bean since it is null");return t.methodWireBean(e)})},e.prototype.autoWireBean=function(e){for(var t=this,o=e,i=function(){var i=o.constructor;if(i.__agBeanMetaData&&i.__agBeanMetaData.agClassAttributes){var r=i.__agBeanMetaData.agClassAttributes;if(!r)return{value:void 0};var s=n.getBeanName(i);r.forEach(function(o){var i=t.lookupBeanInstance(s,o.beanName,o.optional);e[o.attributeName]=i})}o=Object.getPrototypeOf(o)?Object.getPrototypeOf(o):null},n=this;null!=o;){var r=i();if("object"==typeof r)return r.value}},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.methodWireBean=function(e){var t,o=this;e.constructor.__agBeanMetaData&&e.constructor.__agBeanMetaData.autowireMethods&&(t=e.constructor.__agBeanMetaData.autowireMethods),i.Utils.iterateObject(t,function(t,i){if("agConstructor"!==t){var n=o.getBeanName(e.constructor),r=o.getBeansForParameters(i,n);e[t].apply(e,r)}})},e.prototype.getBeansForParameters=function(e,t){var o=this,n=[];return e&&i.Utils.iterateObject(e,function(e,i){var r=o.lookupBeanInstance(t,i);n[Number(e)]=r}),n},e.prototype.lookupBeanInstance=function(e,t,o){if(void 0===o&&(o=!1),"context"===t)return this;if(this.contextParams.seed&&this.contextParams.seed.hasOwnProperty(t))return this.contextParams.seed[t];var i=this.beans[t];return i?i.beanInstance:(o||console.error("ag-Grid: unable to find bean reference "+t+" while initialising "+e),null)},e.prototype.postConstruct=function(e){e.forEach(function(e){e.constructor.__agBeanMetaData&&e.constructor.__agBeanMetaData.postConstructMethods&&e.constructor.__agBeanMetaData&&e.constructor.__agBeanMetaData.postConstructMethods.forEach(function(t){return e[t]()})})},e.prototype.preConstruct=function(e){e.forEach(function(e){e.constructor.__agBeanMetaData&&e.constructor.__agBeanMetaData.preConstructMethods&&e.constructor.__agBeanMetaData.preConstructMethods.forEach(function(t){return e[t]()})})},e.prototype.getBean=function(e){return this.lookupBeanInstance("getBean",e,!0)},e.prototype.getEnterpriseDefaultComponents=function(){return this.contextParams.enterpriseDefaultComponents},e.prototype.destroy=function(){this.destroyed||(this.logger.log(">> Shutting down ag-Application Context"),i.Utils.iterateObject(this.beans,function(e,t){var o=t.beanInstance;o.constructor.__agBeanMetaData&&o.constructor.__agBeanMetaData.preDestroyMethods&&o.constructor.__agBeanMetaData.preDestroyMethods.forEach(function(e){return o[e]()})}),this.destroyed=!0,this.logger.log(">> ag-Application Context shut down - component is dead"))},e}();function r(e,t,o,i,n,r){if(null!==t)if("number"!=typeof r){var a=s(e.constructor);a.agClassAttributes||(a.agClassAttributes=[]),a.agClassAttributes.push({attributeName:n,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 s(e){return e.hasOwnProperty("__agBeanMetaData")||(e.__agBeanMetaData={}),e.__agBeanMetaData}t.Context=n,t.PreConstruct=function(e,t,o){var i=s(e.constructor);i.postConstructMethods||(i.preConstructMethods=[]),i.preConstructMethods.push(t)},t.PostConstruct=function(e,t,o){var i=s(e.constructor);i.postConstructMethods||(i.postConstructMethods=[]),i.postConstructMethods.push(t)},t.PreDestroy=function(e,t,o){var i=s(e.constructor);i.preDestroyMethods||(i.preDestroyMethods=[]),i.preDestroyMethods.push(t)},t.Bean=function(e){return function(t){s(t).beanName=e}},t.Autowired=function(e){return function(t,o,i){r(t,e,!1,t,o,null)}},t.Optional=function(e){return function(t,o,i){r(t,e,!0,t,o,null)}},t.Qualifier=function(e){return function(t,o,i){var n,r="function"==typeof t?t:t.constructor;if("number"==typeof i){var a=void 0;o?(n=s(r),a=o):(n=s(r),a="agConstructor"),n.autowireMethods||(n.autowireMethods={}),n.autowireMethods[a]||(n.autowireMethods[a]={}),n.autowireMethods[a][i]=e}}}},function(e,t,o){"use strict"; /** * ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v19.1.4 * @link http://www.ag-grid.com/ * @license MIT */Object.defineProperty(t,"__esModule",{value:!0});var i=o(7),n=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,r=/([^\s,]+)/g,s=function(){function e(){this.timestamp=(new Date).getTime()}return e.prototype.print=function(e){var t=(new Date).getTime()-this.timestamp;console.info(e+" = "+t),this.timestamp=(new Date).getTime()},e}();t.Timer=s;var a={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},l=/[&<>"']/g,p=function(){function e(){}return e.doOnce=function(e,t){this.doOnceFlags[t]||(e(),this.doOnceFlags[t]=!0)},e.isLeftClick=function(e){return"buttons"in e?1==e.buttons:1==(e.which||e.button)},e.areEventsNear=function(e,t,o){if(0===o)return!1;var i=Math.abs(e.clientX-t.clientX),n=Math.abs(e.clientY-t.clientY);return Math.max(i,n)<=o},e.jsonEquals=function(e,t){return(e?JSON.stringify(e):null)===(t?JSON.stringify(t):null)},e.shallowCompare=function(e,t){if(this.missing(e)&&this.missing(t))return!0;if(this.missing(e)||this.missing(t))return!1;if(e.length!==t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0},e.getNameOfClass=function(e){var t=e.toString(),o=/function (.{1,})\(/.exec(t);return o&&o.length>1?o[1]:""},e.values=function(e){var t=[];return this.iterateObject(e,function(e,o){t.push(o)}),t},e.getValueUsingField=function(e,t,o){if(t&&e){if(o){for(var i=t.split("."),n=e,r=0;r<i.length;r++)if(n=n[i[r]],this.missing(n))return null;return n}return e[t]}},e.getAbsoluteHeight=function(e){var t=window.getComputedStyle(e),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom);return Math.ceil(e.offsetHeight+o)},e.getAbsoluteWidth=function(e){var t=window.getComputedStyle(e),o=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return Math.ceil(e.offsetWidth+o)},e.getScrollLeft=function(e,t){var o=e.scrollLeft;return t&&(o=Math.abs(o),this.isBrowserChrome()&&(o=e.scrollWidth-e.clientWidth-o)),o},e.cleanNumber=function(e){return"string"==typeof e&&(e=parseInt(e,10)),e="number"==typeof e?Math.floor(e):null},e.setScrollLeft=function(e,t,o){o&&((this.isBrowserSafari()||this.isBrowserChrome())&&(t=e.scrollWidth-e.clientWidth-t),this.isBrowserFirefox()&&(t*=-1)),e.scrollLeft=t},e.iterateNamedNodeMap=function(e,t){if(e)for(var o=0;o<e.length;o++){var i=e[o];t(i.name,i.value)}},e.iterateObject=function(e,t){if(!this.missing(e))if(Array.isArray(e))e.forEach(function(e,o){t(o+"",e)});else for(var o=Object.keys(e),i=0;i<o.length;i++){var n=o[i],r=e[n];t(n,r)}},e.cloneObject=function(e){for(var t={},o=Object.keys(e),i=0;i<o.length;i++){var n=o[i],r=e[n];t[n]=r}return t},e.deepCloneObject=function(e){return JSON.parse(JSON.stringify(e))},e.map=function(e,t){for(var o=[],i=0;i<e.length;i++){var n=t(e[i],i);o.push(n)}return o},e.mapObject=function(t,o){var i=[];return e.iterateObject(t,function(e,t){i.push(o(t))}),i},e.forEach=function(e,t){if(e)for(var o=0;o<e.length;o++){t(e[o],o)}},e.filter=function(e,t){var o=[];return e.forEach(function(e){t(e)&&o.push(e)}),o},e.getAllKeysInObjects=function(e){var t={};return e.forEach(function(e){e&&Object.keys(e).forEach(function(e){return t[e]=null})}),Object.keys(t)},e.mergeDeep=function(t,o){this.exists(o)&&this.iterateObject(o,function(o,i){var n=t[o];n!==i&&("object"==typeof n&&"object"==typeof i?e.mergeDeep(n,i):t[o]=i)})},e.assign=function(e){for(var t=this,o=[],i=1;i<arguments.length;i++)o[i-1]=arguments[i];return o.forEach(function(o){t.exists(o)&&t.iterateObject(o,function(t,o){e[t]=o})}),e},e.parseYyyyMmDdToDate=function(e,t){try{if(!e)return null;if(-1===e.indexOf(t))return null;var o=e.split(t);return 3!=o.length?null:new Date(Number(o[0]),Number(o[1])-1,Number(o[2]))}catch(e){return null}},e.serializeDateToYyyyMmDd=function(t,o){return t?t.getFullYear()+o+e.pad(t.getMonth()+1,2)+o+e.pad(t.getDate(),2):null},e.pad=function(e,t){for(var o=e+"";o.length<t;)o="0"+o;return o},e.pushAll=function(e,t){this.missing(t)||this.missing(e)||t.forEach(function(t){return e.push(t)})},e.createArrayOfNumbers=function(e,t){for(var o=[],i=e;i<=t;i++)o.push(i);return o},e.getFunctionParameters=function(e){var t=e.toString().replace(n,""),o=t.slice(t.indexOf("(")+1,t.indexOf(")")).match(r);return null===o?[]:o},e.find=function(e,t,o){if(null==e)return null;if(!Array.isArray(e)){var i=this.values(e);return this.find(i,t,o)}for(var n,r=e,s=0;s<r.length;s++){var a=r[s];if("string"==typeof t){if(a[t]===o){n=a;break}}else if(t(a)){n=a;break}}return n},e.toStrings=function(e){return this.map(e,function(e){return null!=e&&e.toString?e.toString():null})},e.iterateArray=function(e,t){for(var o=0;o<e.length;o++){t(e[o],o)}},e.isNode=function(e){return"function"==typeof Node?e instanceof Node:e&&"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},e.isElement=function(e){return"function"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName},e.isNodeOrElement=function(e){return this.isNode(e)||this.isElement(e)},e.copyNodeList=function(e){for(var t=e?e.length:0,o=[],i=0;i<t;i++)o.push(e[i]);return o},e.isEventFromPrintableCharacter=function(o){var n=String.fromCharCode(o.charCode);if(this.isKeyPressed(o,i.Constants.KEY_NEW_LINE))return!1;if(o.altKey||o.ctrlKey)return!1;if(t._.exists(o.key)){var r=1===o.key.length,s=e.isNumpadDelWithNumlockOnForEdgeOrIe(o);return r||s}return e.PRINTABLE_CHARACTERS.indexOf(n)>=0},e.addChangeListener=function(e,t){e.addEventListener("changed",t),e.addEventListener("paste",t),e.addEventListener("input",t),e.addEventListener("keydown",t),e.addEventListener("keyup",t)},e.makeNull=function(e){return null==e||""===e?null:e},e.missing=function(e){return!this.exists(e)},e.missingOrEmpty=function(e){return this.missing(e)||0===e.length},e.missingOrEmptyObject=function(e){return this.missing(e)||0===Object.keys(e).length},e.exists=function(e,t){return void 0===t&&(t=!1),null!=e&&(""!==e||t)},e.firstExistingValue=function(){for(var e=[],o=0;o<arguments.length;o++)e[o]=arguments[o];for(var i=0;i<e.length;i++){var n=e[i];if(t._.exists(n))return n}return null},e.anyExists=function(e){if(e)for(var t=0;t<e.length;t++)if(this.exists(e[t]))return!0;return!1},e.existsAndNotEmpty=function(e){return this.exists(e)&&e.length>0},e.removeAllChildren=function(e){if(e)for(;e.hasChildNodes();)e.removeChild(e.lastChild)},e.removeElement=function(e,t){this.removeFromParent(e.querySelector(t))},e.removeFromParent=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},e.isVisible=function(e){return null!==e.offsetParent},e.loadTemplate=function(e){var t=document.createElement("div");return t.innerHTML=e,t.firstChild},e.appendHtml=function(e,t){e.lastChild?e.insertAdjacentHTML("afterbegin",t):e.innerHTML=t},e.addOrRemoveCssClass=function(e,t,o){o?this.addCssClass(e,t):this.removeCssClass(e,t)},e.callIfPresent=function(e){e&&e()},e.addCssClass=function(e,t){var o=this;if(t&&0!==t.length)if(t.indexOf(" ")>=0)t.split(" ").forEach(function(t){return o.addCssClass(e,t)});else if(e.classList)e.classList.contains(t)||e.classList.add(t);else if(e.className&&e.className.length>0){var i=e.className.split(" ");i.indexOf(t)<0&&(i.push(t),e.className=i.join(" "))}else e.className=t},e.containsClass=function(e,t){if(e.classList)return e.classList.contains(t);if(e.className){var o=e.className===t,i=e.className.indexOf(" "+t+" ")>=0,n=0===e.className.indexOf(t+" "),r=e.className.lastIndexOf(" "+t)===e.className.length-t.length-1;return o||i||n||r}return!1},e.getElementAttribute=function(e,t){return e.attributes&&e.attributes[t]?e.attributes[t].value:null},e.offsetHeight=function(e){return e&&e.clientHeight?e.clientHeight:0},e.offsetWidth=function(e){return e&&e.clientWidth?e.clientWidth:0},e.sortNumberArray=function(e){e.sort(function(e,t){return e-t})},e.removeCssClass=function(e,t){if(e.classList)e.classList.contains(t)&&e.classList.remove(t);else if(e.className&&e.className.length>0){var o=e.className.split(" ");if(o.indexOf(t)>=0){for(;o.indexOf(t)>=0;)o.splice(o.indexOf(t),1);e.className=o.join(" ")}}},e.removeRepeatsFromArray=function(e,t){if(e)for(var o=e.length-2;o>=0;o--){var i=e[o]===t,n=e[o+1]===t;i&&n&&e.splice(o+1,1)}},e.removeFromArray=function(e,t){e.indexOf(t)>=0&&e.splice(e.indexOf(t),1)},e.removeAllFromArray=function(e,t){t.forEach(function(t){e.indexOf(t)>=0&&e.splice(e.indexOf(t),1)})},e.insertIntoArray=function(e,t,o){e.splice(o,0,t)},e.insertArrayIntoArray=function(e,t,o){if(!this.missing(e)&&!this.missing(t))for(var i=t.length-1;i>=0;i--){var n=t[i];this.insertIntoArray(e,n,o)}},e.moveInArray=function(e,t,o){var i=this;t.forEach(function(t){i.removeFromArray(e,t)}),t.slice().reverse().forEach(function(t){i.insertIntoArray(e,t,o)})},e.defaultComparator=function(e,t,o){void 0===o&&(o=!1);var i=null==e,n=null==t;if(e&&e.toNumber&&(e=e.toNumber()),t&&t.toNumber&&(t=t.toNumber()),i&&n)return 0;if(i)return-1;if(n)return 1;if("string"==typeof e){if(!o)return r(e,t);try{return e.localeCompare(t)}catch(o){return r(e,t)}}return e<t?-1:e>t?1:0;function r(e,t){return e>t?1:e<t?-1:0}},e.compareArrays=function(e,t){if(this.missing(e)&&this.missing(t))return!0;if(this.missing(e)||this.missing(t)||!e||!t)return!1;if(e.length!==t.length)return!1;for(var o=0;o<e.length;o++)if(e[o]!==t[o])return!1;return!0},e.ensureDomOrder=function(e,t,o){o&&o.nextSibling===t||(o?o.nextSibling?e.insertBefore(t,o.nextSibling):e.appendChild(t):e.firstChild&&e.insertBefore(t,e.firstChild))},e.insertWithDomOrder=function(e,t,o){o?o.nextSibling?e.insertBefore(t,o.nextSibling):e.appendChild(t):e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)},e.insertTemplateWithDomOrder=function(e,t,o){var i;return o?(o.insertAdjacentHTML("afterend",t),i=o.nextSibling):(e.firstChild?e.insertAdjacentHTML("afterbegin",t):e.innerHTML=t,i=e.firstChild),i},e.every=function(e,t){if(!e||0===e.length)return!0;for(var o=0;o<e.length;o++)if(!t(e[o]))return!1;return!0},e.toStringOrNull=function(e){return this.exists(e)&&e.toString?e.toString():null},e.formatWidth=function(e){return"number"==typeof e?e+"px":e},e.formatNumberTwoDecimalPlacesAndCommas=function(e){return"number"!=typeof e?"":(Math.round(100*e)/100).toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},e.formatNumberCommas=function(e){return"number"!=typeof e?"":e.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1,")},e.prependDC=function(e,t){this.exists(e.firstChild)?e.insertBefore(t,e.firstChild):e.appendChild(t)},e.createIcon=function(e,t,o){var i=this.createIconNoSpan(e,t,o);if(i.className.indexOf("ag-icon")>-1)return i;var n=document.createElement("span");return n.appendChild(i),n},e.createIconNoSpan=function(e,t,o){var i=null,n=o&&o.getColDef().icons?o.getColDef().icons:null;if(n&&(i=n[e]),!i&&t.getIcons()&&(i=t.getIcons()[e]),i){var r=void 0;if("function"==typeof i)r=i();else{if("string"!=typeof i)throw new Error("icon from grid options needs to be a string or a function");r=i}if("string"==typeof r)return this.loadTemplate(r);if(this.isNodeOrElement(r))return r;throw new Error("iconRenderer should return back a string or a dom object")}var s=document.createElement("span"),a=this.iconNameClassMap[e];if(!a)throw new Error(e+" did not find class");return s.setAttribute("class","ag-icon ag-icon-"+a),s},e.addStylesToElement=function(e,t){var o=this;t&&Object.keys(t).forEach(function(i){var n=o.hyphenToCamelCase(i);e.style[n]=t[i]})},e.isHorizontalScrollShowing=function(e){return e.clientWidth<e.scrollWidth},e.isVerticalScrollShowing=function(e){return e.clientHeight<e.scrollHeight},e.getMaxDivHeight=function(){if(!document.body)return-1;var e=1e6,t=navigator.userAgent.toLowerCase().match(/firefox/)?6e6:1e9,o=this.loadTemplate("<div/>");for(document.body.appendChild(o);;){var i=2*e;if(o.style.height=i+"px",i>t||o.clientHeight!==i)break;e=i}return document.body.removeChild(o),e},e.getScrollbarWidth=function(){var e=document.createElement("div");e.style.visibility="hidden",e.style.width="100px",e.style.msOverflowStyle="scrollbar",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var o=document.createElement("div");o.style.width="100%",e.appendChild(o);var i=o.offsetWidth;return e.parentNode.removeChild(e),t-i},e.hasOverflowScrolling=function(){var e=["webkit","moz","o","ms"],t=document.createElement("div"),o=!1;document.getElementsByTagName("body")[0].appendChild(t),t.setAttribute("style",e.map(function(e){return"-"+e+"-overflow-scrolling: touch"}).concat("overflow-scrolling: touch").join(";"));var i=window.getComputedStyle(t);if("touch"===i.overflowScrolling&&(o=!0),!o)for(var n=0,r=e;n<r.length;n++)if("touch"===i[r[n]+"OverflowScrolling"]){o=!0;break}return t.parentNode.removeChild(t),o},e.isKeyPressed=function(e,t){return(e.which||e.keyCode)===t},e.setVisible=function(e,t){this.addOrRemoveCssClass(e,"ag-hidden",!t)},e.setHidden=function(e,t){this.addOrRemoveCssClass(e,"ag-visibility-hidden",t)},e.isBrowserIE=function(){return void 0===this.isIE&&(this.isIE=!!document.documentMode),this.isIE},e.isBrowserEdge=function(){return void 0===this.isEdge&&(this.isEdge=!this.isBrowserIE()&&!!window.StyleMedia),this.isEdge},e.isBrowserSafari=function(){if(void 0===this.isSafari){var e=window;this.isSafari=Object.prototype.toString.call(e.HTMLElement).indexOf("Constructor")>0||!!(t=!e.safari||e.safari.pushNotification)&&"[object SafariRemoteNotification]"===t.toString()}var t;return this.isSafari},e.isBrowserChrome=function(){return void 0===this.isChrome&&(this.isChrome=/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)),this.isChrome},e.isBrowserFirefox=function(){if(void 0===this.isFirefox){var e=window;this.isFirefox=void 0!==e.InstallTrigger}return this.isFirefox},e.isUserAgentIPad=function(){return void 0===this.isIPad&&(this.isIPad=null!=navigator.userAgent.match(/iPad|iPhone/i)),this.isIPad},e.getTarget=function(e){var t=e;return t.target||t.srcElement},e.isElementInEventPath=function(e,o){return!(!o||!e)&&t._.getEventPath(o).indexOf(e)>=0},e.createEventPath=function(e){for(var o=[],i=t._.getTarget(e);i;)o.push(i),i=i.parentElement;return o},e.addAgGridEventPath=function(e){e.__agGridEventPath=this.getEventPath(e)},e.getEventPath=function(e){var t=e;return t.deepPath?t.deepPath():t.path?t.path:t.composedPath?t.composedPath():t.__agGridEventPath?t.__agGridEventPath:this.createEventPath(e)},e.forEachSnapshotFirst=function(e,t){e&&e.slice(0).forEach(t)},e.getBodyWidth=function(){return document.body?document.body.clientWidth:window.innerHeight?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:-1},e.getBodyHeight=function(){return document.body?document.body.clientHeight:window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:-1},e.setCheckboxState=function(e,t){"boolean"==typeof t?(e.checked=t,e.indeterminate=!1):e.indeterminate=!0},e.traverseNodesWithKey=function(e,t){var o=[];!function e(i){i.forEach(function(i){if(i.group||i.hasChildren()){o.push(i.key);var n=o.join("|");t(i,n),e(i.childrenAfterGroup),o.pop()}})}(e)},e.camelCaseToHyphen=function(e){return null==e?null:e.replace(/([A-Z])/g,function(e){return"-"+e[0].toLowerCase()})},e.hyphenToCamelCase=function(e){return null==e?null:e.replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})},e.cssStyleObjectToMarkup=function(e){var t=this;if(!e)return"";var o=[];return this.iterateObject(e,function(e,i){var n=t.camelCaseToHyphen(e);o.push(n+": "+i+";")}),o.join(" ")},e.isNumeric=function(e){return""!==e&&(!isNaN(parseFloat(e))&&isFinite(e))},e.escape=function(e){return null!=e&&e.replace?e.replace(l,function(e){return a[e]}):e},e.normalizeWheel=function(e){var t=0,o=0,i=0,n=0;return"detail"in e&&(o=e.detail),"wheelDelta"in e&&(o=-e.wheelDelta/120),"wheelDeltaY"in e&&(o=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=o,o=0),i=10*t,n=10*o,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(i=e.deltaX),(i||n)&&e.deltaMode&&(1==e.deltaMode?(i*=40,n*=40):(i*=800,n*=800)),i&&!t&&(t=i<1?-1:1),n&&!o&&(o=n<1?-1:1),{spinX:t,spinY:o,pixelX:i,pixelY:n}},e.debounce=function(e,t,o){var i;return void 0===o&&(o=!1),function(){var n=this,r=arguments,s=o&&!i;clearTimeout(i),i=setTimeout(function(){i=null,o||e.apply(n,r)},t),s&&e.apply(n,r)}},e.stopPropagationForAgGrid=function(e){e.__ag_Grid_Stop_Propagation=!0},e.isStopPropagationForAgGrid=function(e){return!0===e.__ag_Grid_Stop_Propagation},e.executeInAWhile=function(e){this.executeAfter(e,400)},e.executeNextVMTurn=function(e){this.executeAfter(e,0)},e.executeAfter=function(e,t){e.length>0&&setTimeout(function(){e.forEach(function(e){return e()})},t)},e.referenceCompare=function(e,t){return null==e&&null==t||(null!=e||!t)&&((!e||null!=t)&&e===t)},e.get=function(t,o,i){if(null==t)return i;if(o.indexOf(".")>-1){var n=o.split(".");return null!=(r=t[n[0]])?e.get(r,n.slice(1,n.length).join("."),i):i}var r;return null!=(r=t[o])?r:i},e.addSafePassiveEventListener=function(t,o,i){t.addEventListener(o,i,e.passiveEvents.indexOf(o)>-1?{passive:!0}:void 0)},e.camelCaseToHumanText=function(e){if(!e||null==e)return null;return e.replace(/([A-Z])([A-Z])([a-z])|([a-z])([A-Z])/g,"$1$4 $2$3$5").replace("."," ").split(" ").map(function(e){return e.substring(0,1).toUpperCase()+(e.length>1?e.substring(1,e.length):"")}).join(" ")},e.message=function(e){var t=document.createElement("div");t.innerHTML=e;var o=document.querySelector("#__ag__message");if(!o){o=this.loadTemplate('<div id="__ag__message" style="display: inline-block; position: absolute; top: 0px; left: 0px; color: white; background-color: black; z-index: 20; padding: 2px; border: 1px solid darkred; height: 200px; overflow-y: auto;"></div>'),document.body&&document.body.appendChild(o)}o.insertBefore(t,o.children[0])},e.sortRowNodesByOrder=function(e,t){e&&e.sort(function(e,o){var i=t[e.id],n=t[o.id],r=void 0!==i,s=void 0!==n;return r&&s?i-n:!r&&!s?e.id>o.id?1:-1:r?1:-1})},e.fuzzyCheckStrings=function(e,t,o){var i=this,n={},r=e.filter(function(e){return!t.some(function(t){return t===e})});return r.length>0&&r.forEach(function(e){return n[e]=i.fuzzySuggestions(e,t,o)}),n},e.fuzzySuggestions=function(e,o,i){var n=i.slice(0);return n.sort(function(o,i){var n=t._.string_similarity(o.toLowerCase(),e.toLowerCase()),r=t._.string_similarity(i.toLowerCase(),e.toLowerCase());return n>r?-1:n===r?0:1}),n},e.get_bigrams=function(e){var t,o,i,n=e.toLowerCase(),r=new Array(n.length-1);for(t=o=0,i=r.length;o<=i;t=o+=1)r[t]=n.slice(t,t+2);return r},e.isNumpadDelWithNumlockOnForEdgeOrIe=function(t){return!(!e.isBrowserEdge()&&!e.isBrowserIE())&&(t.key===e.NUMPAD_DEL_NUMLOCK_ON_KEY&&t.charCode===e.NUMPAD_DEL_NUMLOCK_ON_CHARCODE)},e.PRINTABLE_CHARACTERS="qwertyuiopasdfghjklzxcvbnmQWERTYUIOPASDFGHJKLZXCVBNM1234567890!\"£$%^&*()_+-=[];'#,./\\|<>?:@~{}",e.NUMPAD_DEL_NUMLOCK_ON_KEY="Del",e.NUMPAD_DEL_NUMLOCK_ON_CHARCODE=46,e.doOnceFlags={},e.compose=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return function(t){return e.reduce(function(e,t){return t(e)},t)}},e.decToHex=function(e,t){for(var o="",i=0;i<t;i++)o+=String.fromCharCode(255&e),e>>>=8;return o},e.utf8_encode=function(e){for(var t="",o=0,i=(e=e.replace(/\r\n/g,"\n")).length;o<i;o++){var n=e.charCodeAt(o);n<128?t+=String.fromCharCode(n):n>127&&n<2048?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t},e.iconNameClassMap={columnMovePin:"pin",columnMoveAdd:"plus",columnMoveHide:"eye-slash",columnMoveMove:"arrows",columnMoveLeft:"left",columnMoveRight:"right",columnMoveGroup:"group",columnMoveValue:"aggregation",columnMovePivot:"pivot",dropNotAllowed:"not-allowed",groupContracted:"expanded",groupExpanded:"contracted",checkboxChecked:"checkbox-checked",checkboxUnchecked:"checkbox-unchecked",checkboxIndeterminate:"checkbox-indeterminate",checkboxCheckedReadOnly:"checkbox-checked-readonly",checkboxUncheckedReadOnly:"checkbox-unchecked-readonly",checkboxIndeterminateReadOnly:"checkbox-indeterminate-readonly",groupLoading:"loading",menu:"menu",filter:"filter",columns:"columns",menuPin:"pin",menuValue:"aggregation",menuAddRowGroup:"group",menuRemoveRowGroup:"group",clipboardCopy:"copy",clipboardCut:"cut",clipboardPaste:"paste",pivotPanel:"pivot",rowGroupPanel:"group",valuePanel:"aggregation",columnGroupOpened:"expanded",columnGroupClosed:"contracted",columnSelectClosed:"tree-closed",columnSelectOpen:"tree-open",sortAscending:"asc",sortDescending:"desc",sortUnSort:"none"},e.passiveEvents=["touchstart","touchend","touchmove","touchcancel"],e.string_similarity=function(t,o){if(t.length>0&&o.length>0){var i,n=e.get_bigrams(t),r=e.get_bigrams(o),s=n.length+r.length,a=0,l=void 0;for(l=0,i=n.length;l<i;l++){var p,u=n[l],c=void 0;for(c=0,p=r.length;c<p;c++){u===r[c]&&a++}}if(a>0)return 2*a/s}return 0},e}();t.Utils=p;var u,c=function(){function e(e,t){void 0===e&&(e=0),void 0===t&&(t=1),this.nextValue=e,this.step=t}return e.prototype.next=function(){var e=this.nextValue;return this.nextValue+=this.step,e},e.prototype.peek=function(){return this.nextValue},e.prototype.skip=function(e){this.nextValue+=e},e}();t.NumberSequence=c,t._=p,function(e){e[e.IN_PROGRESS=0]="IN_PROGRESS",e[e.RESOLVED=1]="RESOLVED"}(u=t.PromiseStatus||(t.PromiseStatus={}));var d=function(){function e(e){this.status=u.IN_PROGRESS,this.resolution=null,this.listOfWaiters=[],e(this.onDone.bind(this),this.onReject.bind(this))}return e.all=function(t){return new e(function(e){var o=[],i=t.length;t.forEach(function(t,n){t.then(function(t){i--,o[n]=t,0==i&&e(o)}),o.push(null)})})},e.resolve=function(t){return new e(function(e){return e(t)})},e.external=function(){var t;return{promise:new e(function(e){t=e}),resolve:function(e){t(e)}}},e.prototype.then=function(e){this.status===u.IN_PROGRESS?this.listOfWaiters.push(e):e(this.resolution)},e.prototype.firstOneOnly=function(e){this.status===u.IN_PROGRESS?0===this.listOfWaiters.length&&this.listOfWaiters.push(e):e(this.resolution)},e.prototype.map=function(t){var o=this;return new e(function(e){o.then(function(o){e(t(o))})})},e.prototype.resolveNow=function(e,t){return this.status==u.IN_PROGRESS?e:t(this.resolution)},e.prototype.onDone=function(e){this.status=u.RESOLVED,this.resolution=e,this.listOfWaiters.forEach(function(t){return t(e)})},e.prototype.onReject=function(e){console.warn("TBI")},e}();t.Promise=d},function(e,t,o){"use strict";(function(e){ /** * ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v19.1.4 * @link http://www.ag-grid.com/ * @license MIT */ Object.defineProperty(t,"__esModule",{value:!0});var i=void 0===e?{}:e;i.HTMLElement="undefined"==typeof HTMLElement?{}:HTMLElement,i.HTMLButtonElement="undefined"==typeof HTMLButtonElement?{}:HTMLButtonElement,i.HTMLSelectElement="undefined"==typeof HTMLSelectElement?{}:HTMLSelectElement,i.HTMLInputElement="undefined"==typeof HTMLInputElement?{}:HTMLInputElement,i.Node="undefined"==typeof Node?{}:Node,i.MouseEvent="undefined"==typeof MouseEvent?{}:MouseEvent;var n=o(43);t.ColumnFactory=n.ColumnFactory;var r=o(5);t.ColumnController=r.ColumnController;var s=o(152);t.ColumnKeyCreator=s.ColumnKeyCreator;var a=o(34);t.ColumnUtils=a.ColumnUtils;var l=o(64);t.DisplayedGroupCreator=l.DisplayedGroupCreator;var p=o(115);t.GroupInstanceIdCreator=p.GroupInstanceIdCreator;var u=o(94);t.ComponentUtil=u.ComponentUtil;var c=o(151);t.ColDefUtil=c.ColDefUtil;var d=o(97);t.ComponentProvider=d.ComponentProvider;var h=o(25);t.ComponentResolver=h.ComponentResolver;var f=o(196);t.initialiseAgGridWithAngular1=f.initialiseAgGridWithAngular1;var g=o(201);t.initialiseAgGridWithWebComponents=g.initialiseAgGridWithWebComponents;var y=o(14);t.BeanStub=y.BeanStub;var v=o(0);t.Context=v.Context,t.Autowired=v.Autowired,t.PostConstruct=v.PostConstruct,t.PreConstruct=v.PreConstruct,t.Optional=v.Optional,t.Bean=v.Bean,t.Qualifier=v.Qualifier,t.PreDestroy=v.PreDestroy;var m=o(12);t.QuerySelector=m.QuerySelector,t.Listener=m.Listener,t.RefSelector=m.RefSelector;var C=o(15);t.DragAndDropService=C.DragAndDropService,t.DragSourceType=C.DragSourceType,t.HDirection=C.HDirection,t.VDirection=C.VDirection;var E=o(45);t.DragService=E.DragService;var w=o(11);t.Column=w.Column;var R=o(28);t.ColumnGroup=R.ColumnGroup;var O=o(24);t.GridCell=O.GridCell;var S=o(95);t.GridRow=S.GridRow;var _=o(35);t.OriginalColumnGroup=_.OriginalColumnGroup;var A=o(17);t.RowNode=A.RowNode;var b=o(67);t.BaseFilter=b.BaseFilter;var P=o(99);t.DateFilter=P.DateFilter;var T=o(19);t.FilterManager=T.FilterManager;var D=o(141);t.NumberFilter=D.NumberFilter;var N=o(140);t.TextFilter=N.TextFilter;var F=o(109);t.GridPanel=F.GridPanel;var L=o(39);t.ScrollVisibleService=L.ScrollVisibleService;var x=o(49);t.MouseEventService=x.MouseEventService;var M=o(148);t.BodyDropPivotTarget=M.BodyDropPivotTarget;var G=o(146);t.BodyDropTarget=G.BodyDropTarget;var I=o(112);t.CssClassApplier=I.CssClassApplier;var V=o(143);t.HeaderContainer=V.HeaderContainer;var W=o(111);t.HeaderRootComp=W.HeaderRootComp;var H=o(144);t.HeaderRowComp=H.HeaderRowComp;var k=o(75);t.HorizontalResizeService=k.HorizontalResizeService;var B=o(147);t.MoveColumnController=B.MoveColumnController;var U=o(153);t.StandardMenuFactory=U.StandardMenuFactory;var j=o(202);t.TabbedLayout=j.TabbedLayout;var z=o(203);t.VerticalStack=z.VerticalStack;var K=o(204);t.simpleHttpRequest=K.simpleHttpRequest;var Y=o(139);t.LargeTextCellEditor=Y.LargeTextCellEditor;var q=o(100);t.PopupEditorWrapper=q.PopupEditorWrapper;var Q=o(138);t.PopupSelectCellEditor=Q.PopupSelectCellEditor;var X=o(137);t.PopupTextCellEditor=X.PopupTextCellEditor;var $=o(106);t.SelectCellEditor=$.SelectCellEditor;var Z=o(98);t.TextCellEditor=Z.TextCellEditor;var J=o(102);t.AnimateShowChangeCellRenderer=J.AnimateShowChangeCellRenderer;var ee=o(101);t.AnimateSlideCellRenderer=ee.AnimateSlideCellRenderer;var te=o(103);t.GroupCellRenderer=te.GroupCellRenderer;var oe=o(68);t.SetLeftFeature=oe.SetLeftFeature;var ie=o(44);t.AutoWidthCalculator=ie.AutoWidthCalculator;var ne=o(70);t.CellEditorFactory=ne.CellEditorFactory;var re=o(71);t.CellRendererFactory=re.CellRendererFactory;var se=o(72);t.CellRendererService=se.CellRendererService;var ae=o(96);t.CheckboxSelectionComponent=ae.CheckboxSelectionComponent;var le=o(37);t.CellComp=le.CellComp;var pe=o(66);t.RowComp=pe.RowComp;var ue=o(21);t.RowRenderer=ue.RowRenderer;var ce=o(48);t.ValueFormatterService=ce.ValueFormatterService;var de=o(154);t.FilterStage=de.FilterStage;var he=o(158);t.FlattenStage=he.FlattenStage;var fe=o(156);t.SortStage=fe.SortStage;var ge=o(31);t.PinnedRowModel=ge.PinnedRowModel;var ye=o(161);t.ClientSideRowModel=ye.ClientSideRowModel;var ve=o(121);t.ChangedPath=ve.ChangedPath;var me=o(162);t.ClientSideNodeManager=me.ClientSideNodeManager;var Ce=o(159);t.InfiniteRowModel=Ce.InfiniteRowModel;var Ee=o(77);t.RowNodeBlock=Ee.RowNodeBlock;var we=o(160);t.RowNodeBlockLoader=we.RowNodeBlockLoader;var Re=o(120);t.RowNodeCache=Re.RowNodeCache;var Oe=o(104);t.StylingService=Oe.StylingService;var Se=o(76);t.AgCheckbox=Se.AgCheckbox;var _e=o(10);t.Component=_e.Component;var Ae=o(38);t.PopupService=Ae.PopupService;var be=o(51);t.TouchListener=be.TouchListener;var Pe=o(62);t.CsvCreator=Pe.CsvCreator,t.BaseCreator=Pe.BaseCreator;var Te=o(117);t.Downloader=Te.Downloader;var De=o(164);t.XmlFactory=De.XmlFactory;var Ne=o(63);t.BaseGridSerializingSession=Ne.BaseGridSerializingSession,t.GridSerializer=Ne.GridSerializer;var Fe=o(63);t.RowType=Fe.RowType;var Le=o(165);t.ZipContainer=Le.ZipContainer;var xe=o(163);t.BaseFrameworkFactory=xe.BaseFrameworkFactory;var Me=o(114);t.CellNavigationService=Me.CellNavigationService;var Ge=o(74);t.AlignedGridsService=Ge.AlignedGridsService;var Ie=o(7);t.Constants=Ie.Constants;var Ve=o(118);t.Grid=Ve.Grid;var We=o(8);t.GridApi=We.GridApi;var He=o(27);t.Events=He.Events;var ke=o(23);t.FocusedCellController=ke.FocusedCellController;var Be=o(205);t.defaultGroupComparator=Be.defaultGroupComparator;var Ue=o(3);t.GridOptionsWrapper=Ue.GridOptionsWrapper;var je=o(4);t.EventService=je.EventService;var ze=o(119);t.SelectableService=ze.SelectableService;var Ke=o(47);t.GridCore=Ke.GridCore;var Ye=o(13);t.Logger=Ye.Logger;var qe=o(18);t.SelectionController=qe.SelectionController;var Qe=o(26);t.SortController=Qe.SortController;var Xe=o(65);t.TemplateService=Xe.TemplateService;var $e=o(1);t.Utils=$e.Utils,t.NumberSequence=$e.NumberSequence,t._=$e._,t.Promise=$e.Promise;var Ze=o(16);t.ValueService=Ze.ValueService;var Je=o(20);t.ExpressionService=Je.ExpressionService;var et=o(13);t.LoggerFactory=et.LoggerFactory;var tt=o(9);t.ColumnApi=tt.ColumnApi;var ot=o(206);t.BaseComponentWrapper=ot.BaseComponentWrapper;var it=o(46);t.Environment=it.Environment}).call(this,o(182))},function(e,t,o){"use strict"; /** * ag-grid-community - Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components * @version v19.1.4 * @link http://www.ag-grid.com/ * @license MIT */var i=this&&this.__decorate||function(e,t,o,i){var n,r=arguments.length,s=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,o,i);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(s=(r<3?n(s):r>3?n(t,o,s):n(t,o))||s);return r>3&&s&&Object.defineProperty(t,o,s),s},n=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},r=this&&this.__param||function(e,t){return function(o,i){t(o,i,e)}};Object.defineProperty(t,"__esModule",{value:!0});var s=o(4),a=o(7),l=o(94),p=o(8),u=o(0),c=o(9),d=o(5),h=o(1),f=o(46),g=o(135),y=o(151),v=o(27),m=o(110),C=o(149);function E(e){return!0===e||"true"===e}var w=function(){function e(){this.propertyEventService=new s.EventService,this.domDataKey="__AG_"+Math.random().toString(),this.layoutElements=[]}var t;return t=e,e.prototype.agWire=function(e,t){this.gridOptions.api=e,this.gridOptions.columnApi=t,this.checkForDeprecated(),this.checkForViolations()},e.prototype.destroy=function(){this.gridOptions.api=null,this.gridOptions.columnApi=null},e.prototype.init=function(){!0!==this.gridOptions.suppressPropertyNamesCheck&&(this.checkGridOptionsProperties(),this.checkColumnDefProperties());var e=this.useAsyncEvents();this.eventService.addGlobalListener(this.globalEventHandler.bind(this),e),this.isGroupSelectsChildren()&&this.isSuppressParentsInRowNodes()&&console.warn("ag-Grid: groupSelectsChildren does not work wth suppressParentsInRowNodes, this selection method needs the part in rowNode to work"),this.isGroupSelectsChildren()&&(this.isRowSelectionMulti()||console.warn("ag-Grid: rowSelection must be 'multiple' for groupSelectsChildren to make sense"),this.isRowModelServerSide()&&console.warn("ag-Grid: group selects children is NOT support for Server Side Row Model. This is because the rows are lazy loaded, so selecting a group is not possible asthe grid has no way of knowing what the children are.")),this.isGroupRemoveSingleChildren()&&this.isGroupHideOpenParents()&&console.warn("ag-Grid: groupRemoveSingleChildren and groupHideOpenParents do not work with each other, you need to pick one. And don't ask us how to us these together on our support forum either you will get the same answer!"),this.addEventListener(t.PROP_DOM_LAYOUT,this.updateLayoutClasses.bind(this))},e.prototype.checkColumnDefProperties=function(){var e=this;null!=this.gridOptions.columnDefs&&this.gridOptions.columnDefs.forEach(function(t){var o=Object.getOwnPropertyNames(t),i=y.ColDefUtil.ALL_PROPERTIES.concat(y.ColDefUtil.FRAMEWORK_PROPERTIES);e.checkProperties(o,i,i,"colDef","https://www.ag-grid.com/javascript-grid-column-properties/")})},e.prototype.checkGridOptionsProperties=function(){var e=Object.getOwnPropertyNames(this.gridOptions),t=g.PropertyKeys.ALL_PROPERTIES.concat(g.PropertyKeys.FRAMEWORK_PROPERTIES);Object.keys(v.Events).forEach(function(e){return t.push(l.ComponentUtil.getCallbackForEvent(v.Events[e]))});var o=t.concat("api","columnApi");this.checkProperties(e,o,t,"gridOptions","https://www.ag-grid.com/javascript-grid-properties/")},e.prototype.checkProperties=function(e,t,o,i,n){var r=h.Utils.fuzzyCheckStrings(e,t,o),s=Object.keys(r);s.forEach(function(e){var t=r[e];console.warn("ag-grid: invalid "+i+" property '"+e+"' did you mean any of these: "+t.slice(0,8).join(","))}),s.length>0&&console.warn("ag-grid: to see all the valid "+i+" properties please check: "+n)},e.prototype.getDomData=function(e,t){var o=e[this.domDataKey];return o?o[t]:void 0},e.prototype.setDomData=function(e,t,o){var i=e[this.domDataKey];h.Utils.missing(i)&&(i={},e[this.domDataKey]=i),i[t]=o},e.prototype.isEnterprise=function(){return this.enterprise},e.prototype.isRowSelection=function(){return"single"===this.gridOptions.rowSelection||"multiple"===this.gridOptions.rowSelection},e.prototype.isRowDeselection=function(){return E(this.gridOptions.rowDeselection)},e.prototype.isRowSelectionMulti=function(){return"multiple"===this.gridOptions.rowSelection},e.prototype.isRowMultiSelectWithClick=function(){return E(this.gridOptions.rowMultiSelectWithClick)},e.prototype.getContext=function(){return this.gridOptions.context},e.prototype.isPivotMode=function(){return E(this.gridOptions.pivotMode)},e.prototype.isPivotTotals=function(){return E(this.gridOptions.pivotTotals)},e.prototype.getPivotColumnGroupTotals=function(){return this.gridOptions.pivotColumnGroupTotals},e.prototype.getPivotRowTotals=function(){return this.gridOptions.pivotRowTotals},e.prototype.isRowModelInfinite=function(){return this.gridOptions.rowModelType===a.Constants.ROW_MODEL_TYPE_INFINITE},e.prototype.isRowModelViewport=function(){return this.gridOptions.rowModelType===a.Constants.ROW_MODEL_TYPE_VIEWPORT},e.prototype.isRowModelServerSide=function(){return this.gridOptions.rowModelType===a.Constants.ROW_MODEL_TYPE_SERVER_SIDE},e.prototype.isRowModelDefault=function(){return h.Utils.missing(this.gridOptions.rowModelType)||this.gridOptions.rowModelType===a.Constants.ROW_MODEL_TYPE_CLIENT_SIDE||this.gridOptions.rowModelType===a.Constants.DEPRECATED_ROW_MODEL_TYPE_NORMAL},e.prototype.isFullRowEdit=function(){return"fullRow"===this.gridOptions.editType},e.prototype.isSuppressFocusAfterRefresh=function(){return E(this.gridOptions.suppressFocusAfterRefresh)},e.prototype.isShowToolPanel=function(){return E(this.gridOptions.sideBar&&Array.isArray(this.getSideBar().toolPanels))},e.prototype.getSideBar=function(){return this.gridOptions.sideBar},e.prototype.isSuppressTouch=function(){return E(this.gridOptions.suppressTouch)},e.prototype.isSuppressRowTransform=function(){return E(this.gridOptions.suppressRowTransform)},e.prototype.isSuppressSetColumnStateEvents=function(){return E(this.gridOptions.suppressSetColumnStateEvents)},e.prototype.useAsyncEvents=function(){return!E(this.gridOptions.suppressAsyncEvents)},e.prototype.isEnableCellChangeFlash=function(){return E(this.gridOptions.enableCellChangeFlash)},e.prototype.isGroupSelectsChildren=function(){var e=E(this.gridOptions.groupSelectsChildren);return e&&this.isTreeData()?(console.warn("ag-Grid: groupSelectsChildren does not work with tree data"),!1):e},e.prototype.isSuppressRowHoverHighlight=function(){return E(this.gridOptions.suppressRowHoverHighlight)},e.prototype.isGroupSelectsFiltered=function(){return E(this.gridOptions.groupSelectsFiltered)},e.prototype.isGroupHideOpenParents=function(){return E(this.gridOptions.groupHideOpenParents)},e.prototype.isGroupMultiAutoColumn=function(){return E(this.gridOptions.groupMultiAutoColumn)||E(this.gridOptions.groupHideOpenParents)},e.prototype.isGroupRemoveSingleChildren=function(){return E(this.gridOptions.groupRemoveSingleChildren)},e.prototype.isGroupRemoveLowestSingleChildren=function(){return E(this.gridOptions.groupRemoveLowestSingleChildren)},e.prototype.isGroupIncludeFooter=function(){return E(this.gridOptions.groupIncludeFooter)},e.prototype.isGroupIncludeTotalFooter=function(){return E(this.gridOptions.groupIncludeTotalFooter)},e.prototype.isGroupSuppressBlankHeader=function(){return E(this.gridOptions.groupSuppressBlankHeader)},e.prototype.isSuppressRowClickSelection=function(){return E(this.gridOptions.suppressRowClickSelection)},e.prototype.isSuppressCellSelection=function(){return E(this.gridOptions.suppressCellSelection)},e.prototype.isSuppressMultiSort=function(){return E(this.gridOptions.suppressMultiSort)},e.prototype.isMultiSortKeyCtrl=function(){return"ctrl"===this.gridOptions.multiSortKey},e.prototype.isGroupSuppressAutoColumn=function(){return E(this.gridOptions.groupSuppressAutoColumn)},e.prototype.isSuppressDragLeaveHidesColumns=function(){return E(this.gridOptions.suppressDragLeaveHidesColumns)},e.prototype.isSuppressScrollOnNewData=function(){return E(this.gridOptions.suppressScrollOnNewData)},e.prototype.isRowDragManaged=function(){return E(this.gridOptions.rowDragManaged)},e.prototype.isSuppressRowDrag=function(){return E(this.gridOptions.suppressRowDrag)},e.prototype.getDomLayout=function(){var e=this,t=this.gridOptions.domLayout;return t===a.Constants.DOM_LAYOUT_PRINT||t===a.Constants.DOM_LAYOUT_AUTO_HEIGHT||t===a.Constants.DOM_LAYOUT_NORMAL?t:null==t?a.Constants.DOM_LAYOUT_NORMAL:(h.Utils.doOnce(function(){return console.warn("ag-Grid: "+e.gridOptions.domLayout+" is not valid for DOM Layout, valid values are "+a.Constants.DOM_LAYOUT_NORMAL+", "+a.Constants.DOM_LAYOUT_AUTO_HEIGHT+" and "+a.Constants.DOM_LAYOUT_PRINT)},"warn about dom layout values"),a.Constants.DOM_LAYOUT_NORMAL)},e.prototype.isSuppressHorizontalScroll=function(){return E(this.gridOptions.suppressHorizontalScroll)},e.prototype.isSuppressLoadingOverlay=function(){return E(this.gridOptions.suppressLoadingOverlay)},e.prototype.isSuppressNoRowsOverlay=function(){return E(this.gridOptions.suppressNoRowsOverlay)},e.prototype.isSuppressFieldDotNotation=function(){return E(this.gridOptions.suppressFieldDotNotation)},e.prototype.getPinnedTopRowData=function(){return this.gridOptions.pinnedTopRowData},e.prototype.getPinnedBottomRowData=function(){return this.gridOptions.pinnedBottomRowData},e.prototype.isFunctionsPassive=function(){return E(this.gridOptions.functionsPassive)},e.prototype.isSuppressTabbing=function(){return E(this.gridOptions.suppressTabbing)},e.prototype.isSuppressChangeDetection=function(){return E(this.gridOptions.suppressChangeDetection)},e.prototype.isSuppressAnimationFrame=function(){return E(this.gridOptions.suppressAnimationFrame)},e.prototype.getQuickFilterText=function(){return this.gridOptions.quickFilterText},e.prototype.isCacheQuickFilter=function(){return E(this.gridOptions.cacheQuickFilter)},e.prototype.isUnSortIcon=function(){return E(this.gridOptions.unSortIcon)},e.prototype.isSuppressMenuHide=function(){return E(this.gridOptions.suppressMenuHide)},e.prototype.isEnterMovesDownAfterEdit=function(){return E(this.gridOptions.enterMovesDownAfterEdit)},e.prototype.isEnterMovesDown=function(){return E(this.gridOptions.enterMovesDown)},e.prototype.getRowStyle=function(){return this.gridOptions.rowStyle},e.prototype.getRowClass=function(){return this.gridOptions.rowClass},e.prototype.getRowStyleFunc=function(){return this.gridOptions.getRowStyle},e.prototype.getRowClassFunc=function(){return this.gridOptions.getRowClass},e.prototype.rowClassRules=function(){return this.gridOptions.rowClassRules},e.prototype.getPopupParent=function(){return this.gridOptions.popupParent},e.prototype.getBlockLoadDebounceMillis=function(){return this.gridOptions.blockLoadDebounceMillis},e.prototype.getPostProcessPopupFunc=function(){return this.gridOptions.postProcessPopup},e.prototype.getDoesDataFlowerFunc=function(){return this.gridOptions.doesDataFlower},e.prototype.getPaginationNumberFormatterFunc=function(){return this.gridOptions.paginationNumberFormatter},e.prototype.getChildCountFunc=function(){return this.gridOptions.getChildCount},e.prototype.getDefaultGroupSortComparator=function(){return this.gridOptions.defaultGroupSortComparator},e.prototype.getIsFullWidthCellFunc=function(){return this.gridOptions.isFullWidthCell},e.prototype.getFullWidthCellRendererParams=function(){return this.gridOptions.fullWidthCellRendererParams},e.prototype.isEmbedFullWidthRows=function(){return E(this.gridOptions.embedFullWidthRows)},e.prototype.getBusinessKeyForNodeFunc=function(){return this.gridOptions.getBusinessKeyForNode},e.prototype.getApi=function(){return this.gridOptions.api},e.prototype.getColumnApi=function(){return this.gridOptions.columnApi},e.prototype.isDeltaRowDataMode=function(){return E(this.gridOptions.deltaRowDataMode)},e.prototype.isEnsureDomOrder=function(){return E(this.gridOptions.ensureDomOrder)},e.prototype.isEnableColResize=function(){return E(this.gridOptions.enableColResize)},e.prototype.getColResizeDefault=function(){return this.gridOptions.colResizeDefault},e.prototype.isSingleClickEdit=function(){return E(this.gridOptions.singleClickEdit)},e.prototype.isSuppressClickEdit=function(){return E(this.gridOptions.suppressClickEdit)},e.prototype.isStopEditingWhenGridLosesFocus=function(){return E(this.gridOptions.stopEditingWhenGridLosesFocus)},e.prototype.getGroupDefaultExpanded=function(){return this.gridOptions.groupDefaultExpanded},e.prototype.getMaxConcurrentDatasourceRequests=function(){return this.gridOptions.maxConcurrentDatasourceRequests},e.prototype.getMaxBlocksInCache=function(){return this.gridOptions.maxBlocksInCache},e.prototype.getCacheOverflowSize=function(){return this.gridOptions.cacheOverflowSize},e.prototype.getPaginationPageSize=function(){return this.gridOptions.paginationPageSize},e.prototype.getCacheBlockSize=function(){return this.gridOptions.cacheBlockSize},e.prototype.getInfiniteInitialRowCount=function(){return this.gridOptions.infiniteInitialRowCount},e.prototype.isPurgeClosedRowNodes=function(){return E(this.gridOptions.purgeClosedRowNodes)},e.prototype.isSuppressPaginationPanel=function(){return E