UNPKG

ag-grid-enterprise

Version:

ag-Grid Enterprise Features

27 lines 1.83 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 n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=182)}([function(e,t,n){"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 o=n(1),i=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 n=o.Utils.mapObject(this.beans,function(e){return e.beanInstance});this.wireBeans(n),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 n=e.nodeName;if(this.componentsMappedByName&&this.componentsMappedByName[n]){var o=new this.componentsMappedByName[n];return this.wireBean(o,t),o}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),o.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)),o.Utils.iterateObject(this.beans,function(t,n){var o;n.bean.__agBeanMetaData&&n.bean.__agBeanMetaData.autowireMethods&&n.bean.__agBeanMetaData.autowireMethods.agConstructor&&(o=n.bean.__agBeanMetaData.autowireMethods.agConstructor);var i,r,a=e.getBeansForParameters(o,n.bean.name),l=(i=n.bean,r=[null].concat(a),new(i.bind.apply(i,r)));n.beanInstance=l,e.logger.log("bean "+e.getBeanName(l)+" created")})},e.prototype.createBeanEntry=function(e){var t=e.__agBeanMetaData;if(!t){var n=void 0;return n=e.prototype.constructor?e.prototype.constructor.name:""+e,void console.error("context item "+n+" is not a bean")}var o={bean:e,beanInstance:null,beanName:t.beanName};this.beans[t.beanName]=o},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,n=e,o=function(){var o=n.constructor;if(o.__agBeanMetaData&&o.__agBeanMetaData.agClassAttributes){var r=o.__agBeanMetaData.agClassAttributes;if(!r)return{value:void 0};var a=i.getBeanName(o);r.forEach(function(n){var o=t.lookupBeanInstance(a,n.beanName,n.optional);e[n.attributeName]=o})}n=Object.getPrototypeOf(n)?Object.getPrototypeOf(n):null},i=this;null!=n;){var r=o();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,n=this;e.constructor.__agBeanMetaData&&e.constructor.__agBeanMetaData.autowireMethods&&(t=e.constructor.__agBeanMetaData.autowireMethods),o.Utils.iterateObject(t,function(t,o){if("agConstructor"!==t){var i=n.getBeanName(e.constructor),r=n.getBeansForParameters(o,i);e[t].apply(e,r)}})},e.prototype.getBeansForParameters=function(e,t){var n=this,i=[];return e&&o.Utils.iterateObject(e,function(e,o){var r=n.lookupBeanInstance(t,o);i[Number(e)]=r}),i},e.prototype.lookupBeanInstance=function(e,t,n){if(void 0===n&&(n=!1),"context"===t)return this;if(this.contextParams.seed&&this.contextParams.seed.hasOwnProperty(t))return this.contextParams.seed[t];var o=this.beans[t];return o?o.beanInstance:(n||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"),o.Utils.iterateObject(this.beans,function(e,t){var n=t.beanInstance;n.constructor.__agBeanMetaData&&n.constructor.__agBeanMetaData.preDestroyMethods&&n.constructor.__agBeanMetaData.preDestroyMethods.forEach(function(e){return n[e]()})}),this.destroyed=!0,this.logger.log(">> ag-Application Context shut down - component is dead"))},e}();function r(e,t,n,o,i,r){if(null!==t)if("number"!=typeof r){var l=a(e.constructor);l.agClassAttributes||(l.agClassAttributes=[]),l.agClassAttributes.push({attributeName:i,beanName:t,optional:n})}else console.error("ag-Grid: Autowired should be on an attribute");else console.error("ag-Grid: Autowired name should not be null")}function a(e){return e.hasOwnProperty("__agBeanMetaData")||(e.__agBeanMetaData={}),e.__agBeanMetaData}t.Context=i,t.PreConstruct=function(e,t,n){var o=a(e.constructor);o.postConstructMethods||(o.preConstructMethods=[]),o.preConstructMethods.push(t)},t.PostConstruct=function(e,t,n){var o=a(e.constructor);o.postConstructMethods||(o.postConstructMethods=[]),o.postConstructMethods.push(t)},t.PreDestroy=function(e,t,n){var o=a(e.constructor);o.preDestroyMethods||(o.preDestroyMethods=[]),o.preDestroyMethods.push(t)},t.Bean=function(e){return function(t){a(t).beanName=e}},t.Autowired=function(e){return function(t,n,o){r(t,e,!1,t,n,null)}},t.Optional=function(e){return function(t,n,o){r(t,e,!0,t,n,null)}},t.Qualifier=function(e){return function(t,n,o){var i,r="function"==typeof t?t:t.constructor;if("number"==typeof o){var l=void 0;n?(i=a(r),l=n):(i=a(r),l="agConstructor"),i.autowireMethods||(i.autowireMethods={}),i.autowireMethods[l]||(i.autowireMethods[l]={}),i.autowireMethods[l][o]=e}}}},function(e,t,n){"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 o=n(7),i=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,r=/([^\s,]+)/g,a=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=a;var l={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},s=/[&<>"']/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,n){if(0===n)return!1;var o=Math.abs(e.clientX-t.clientX),i=Math.abs(e.clientY-t.clientY);return Math.max(o,i)<=n},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 n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0},e.getNameOfClass=function(e){var t=e.toString(),n=/function (.{1,})\(/.exec(t);return n&&n.length>1?n[1]:""},e.values=function(e){var t=[];return this.iterateObject(e,function(e,n){t.push(n)}),t},e.getValueUsingField=function(e,t,n){if(t&&e){if(n){for(var o=t.split("."),i=e,r=0;r<o.length;r++)if(i=i[o[r]],this.missing(i))return null;return i}return e[t]}},e.getAbsoluteHeight=function(e){var t=window.getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom);return Math.ceil(e.offsetHeight+n)},e.getAbsoluteWidth=function(e){var t=window.getComputedStyle(e),n=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return Math.ceil(e.offsetWidth+n)},e.getScrollLeft=function(e,t){var n=e.scrollLeft;return t&&(n=Math.abs(n),this.isBrowserChrome()&&(n=e.scrollWidth-e.clientWidth-n)),n},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,n){n&&((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 n=0;n<e.length;n++){var o=e[n];t(o.name,o.value)}},e.iterateObject=function(e,t){if(!this.missing(e))if(Array.isArray(e))e.forEach(function(e,n){t(n+"",e)});else for(var n=Object.keys(e),o=0;o<n.length;o++){var i=n[o],r=e[i];t(i,r)}},e.cloneObject=function(e){for(var t={},n=Object.keys(e),o=0;o<n.length;o++){var i=n[o],r=e[i];t[i]=r}return t},e.deepCloneObject=function(e){return JSON.parse(JSON.stringify(e))},e.map=function(e,t){for(var n=[],o=0;o<e.length;o++){var i=t(e[o],o);n.push(i)}return n},e.mapObject=function(t,n){var o=[];return e.iterateObject(t,function(e,t){o.push(n(t))}),o},e.forEach=function(e,t){if(e)for(var n=0;n<e.length;n++){t(e[n],n)}},e.filter=function(e,t){var n=[];return e.forEach(function(e){t(e)&&n.push(e)}),n},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,n){this.exists(n)&&this.iterateObject(n,function(n,o){var i=t[n];i!==o&&("object"==typeof i&&"object"==typeof o?e.mergeDeep(i,o):t[n]=o)})},e.assign=function(e){for(var t=this,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return n.forEach(function(n){t.exists(n)&&t.iterateObject(n,function(t,n){e[t]=n})}),e},e.parseYyyyMmDdToDate=function(e,t){try{if(!e)return null;if(-1===e.indexOf(t))return null;var n=e.split(t);return 3!=n.length?null:new Date(Number(n[0]),Number(n[1])-1,Number(n[2]))}catch(e){return null}},e.serializeDateToYyyyMmDd=function(t,n){return t?t.getFullYear()+n+e.pad(t.getMonth()+1,2)+n+e.pad(t.getDate(),2):null},e.pad=function(e,t){for(var n=e+"";n.length<t;)n="0"+n;return n},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 n=[],o=e;o<=t;o++)n.push(o);return n},e.getFunctionParameters=function(e){var t=e.toString().replace(i,""),n=t.slice(t.indexOf("(")+1,t.indexOf(")")).match(r);return null===n?[]:n},e.find=function(e,t,n){if(null==e)return null;if(!Array.isArray(e)){var o=this.values(e);return this.find(o,t,n)}for(var i,r=e,a=0;a<r.length;a++){var l=r[a];if("string"==typeof t){if(l[t]===n){i=l;break}}else if(t(l)){i=l;break}}return i},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 n=0;n<e.length;n++){t(e[n],n)}},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,n=[],o=0;o<t;o++)n.push(e[o]);return n},e.isEventFromPrintableCharacter=function(n){var i=String.fromCharCode(n.charCode);if(this.isKeyPressed(n,o.Constants.KEY_NEW_LINE))return!1;if(n.altKey||n.ctrlKey)return!1;if(t._.exists(n.key)){var r=1===n.key.length,a=e.isNumpadDelWithNumlockOnForEdgeOrIe(n);return r||a}return e.PRINTABLE_CHARACTERS.indexOf(i)>=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=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var o=0;o<e.length;o++){var i=e[o];if(t._.exists(i))return i}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,n){n?this.addCssClass(e,t):this.removeCssClass(e,t)},e.callIfPresent=function(e){e&&e()},e.addCssClass=function(e,t){var n=this;if(t&&0!==t.length)if(t.indexOf(" ")>=0)t.split(" ").forEach(function(t){return n.addCssClass(e,t)});else if(e.classList)e.classList.contains(t)||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.className=o.join(" "))}else e.className=t},e.containsClass=function(e,t){if(e.classList)return e.classList.contains(t);if(e.className){var n=e.className===t,o=e.className.indexOf(" "+t+" ")>=0,i=0===e.className.indexOf(t+" "),r=e.className.lastIndexOf(" "+t)===e.className.length-t.length-1;return n||o||i||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 n=e.className.split(" ");if(n.indexOf(t)>=0){for(;n.indexOf(t)>=0;)n.splice(n.indexOf(t),1);e.className=n.join(" ")}}},e.removeRepeatsFromArray=function(e,t){if(e)for(var n=e.length-2;n>=0;n--){var o=e[n]===t,i=e[n+1]===t;o&&i&&e.splice(n+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,n){e.splice(n,0,t)},e.insertArrayIntoArray=function(e,t,n){if(!this.missing(e)&&!this.missing(t))for(var o=t.length-1;o>=0;o--){var i=t[o];this.insertIntoArray(e,i,n)}},e.moveInArray=function(e,t,n){var o=this;t.forEach(function(t){o.removeFromArray(e,t)}),t.slice().reverse().forEach(function(t){o.insertIntoArray(e,t,n)})},e.defaultComparator=function(e,t,n){void 0===n&&(n=!1);var o=null==e,i=null==t;if(e&&e.toNumber&&(e=e.toNumber()),t&&t.toNumber&&(t=t.toNumber()),o&&i)return 0;if(o)return-1;if(i)return 1;if("string"==typeof e){if(!n)return r(e,t);try{return e.localeCompare(t)}catch(n){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 n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0},e.ensureDomOrder=function(e,t,n){n&&n.nextSibling===t||(n?n.nextSibling?e.insertBefore(t,n.nextSibling):e.appendChild(t):e.firstChild&&e.insertBefore(t,e.firstChild))},e.insertWithDomOrder=function(e,t,n){n?n.nextSibling?e.insertBefore(t,n.nextSibling):e.appendChild(t):e.firstChild?e.insertBefore(t,e.firstChild):e.appendChild(t)},e.insertTemplateWithDomOrder=function(e,t,n){var o;return n?(n.insertAdjacentHTML("afterend",t),o=n.nextSibling):(e.firstChild?e.insertAdjacentHTML("afterbegin",t):e.innerHTML=t,o=e.firstChild),o},e.every=function(e,t){if(!e||0===e.length)return!0;for(var n=0;n<e.length;n++)if(!t(e[n]))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,n){var o=this.createIconNoSpan(e,t,n);if(o.className.indexOf("ag-icon")>-1)return o;var i=document.createElement("span");return i.appendChild(o),i},e.createIconNoSpan=function(e,t,n){var o=null,i=n&&n.getColDef().icons?n.getColDef().icons:null;if(i&&(o=i[e]),!o&&t.getIcons()&&(o=t.getIcons()[e]),o){var r=void 0;if("function"==typeof o)r=o();else{if("string"!=typeof o)throw new Error("icon from grid options needs to be a string or a function");r=o}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 a=document.createElement("span"),l=this.iconNameClassMap[e];if(!l)throw new Error(e+" did not find class");return a.setAttribute("class","ag-icon ag-icon-"+l),a},e.addStylesToElement=function(e,t){var n=this;t&&Object.keys(t).forEach(function(o){var i=n.hyphenToCamelCase(o);e.style[i]=t[o]})},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,n=this.loadTemplate("<div/>");for(document.body.appendChild(n);;){var o=2*e;if(n.style.height=o+"px",o>t||n.clientHeight!==o)break;e=o}return document.body.removeChild(n),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 n=document.createElement("div");n.style.width="100%",e.appendChild(n);var o=n.offsetWidth;return e.parentNode.removeChild(e),t-o},e.hasOverflowScrolling=function(){var e=["webkit","moz","o","ms"],t=document.createElement("div"),n=!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 o=window.getComputedStyle(t);if("touch"===o.overflowScrolling&&(n=!0),!n)for(var i=0,r=e;i<r.length;i++)if("touch"===o[r[i]+"OverflowScrolling"]){n=!0;break}return t.parentNode.removeChild(t),n},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,n){return!(!n||!e)&&t._.getEventPath(n).indexOf(e)>=0},e.createEventPath=function(e){for(var n=[],o=t._.getTarget(e);o;)n.push(o),o=o.parentElement;return n},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 n=[];!function e(o){o.forEach(function(o){if(o.group||o.hasChildren()){n.push(o.key);var i=n.join("|");t(o,i),e(o.childrenAfterGroup),n.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 n=[];return this.iterateObject(e,function(e,o){var i=t.camelCaseToHyphen(e);n.push(i+": "+o+";")}),n.join(" ")},e.isNumeric=function(e){return""!==e&&(!isNaN(parseFloat(e))&&isFinite(e))},e.escape=function(e){return null!=e&&e.replace?e.replace(s,function(e){return l[e]}):e},e.normalizeWheel=function(e){var t=0,n=0,o=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),o=10*t,i=10*n,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||i)&&e.deltaMode&&(1==e.deltaMode?(o*=40,i*=40):(o*=800,i*=800)),o&&!t&&(t=o<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:o,pixelY:i}},e.debounce=function(e,t,n){var o;return void 0===n&&(n=!1),function(){var i=this,r=arguments,a=n&&!o;clearTimeout(o),o=setTimeout(function(){o=null,n||e.apply(i,r)},t),a&&e.apply(i,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,n,o){if(null==t)return o;if(n.indexOf(".")>-1){var i=n.split(".");return null!=(r=t[i[0]])?e.get(r,i.slice(1,i.length).join("."),o):o}var r;return null!=(r=t[n])?r:o},e.addSafePassiveEventListener=function(t,n,o){t.addEventListener(n,o,e.passiveEvents.indexOf(n)>-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 n=document.querySelector("#__ag__message");if(!n){n=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(n)}n.insertBefore(t,n.children[0])},e.sortRowNodesByOrder=function(e,t){e&&e.sort(function(e,n){var o=t[e.id],i=t[n.id],r=void 0!==o,a=void 0!==i;return r&&a?o-i:!r&&!a?e.id>n.id?1:-1:r?1:-1})},e.fuzzyCheckStrings=function(e,t,n){var o=this,i={},r=e.filter(function(e){return!t.some(function(t){return t===e})});return r.length>0&&r.forEach(function(e){return i[e]=o.fuzzySuggestions(e,t,n)}),i},e.fuzzySuggestions=function(e,n,o){var i=o.slice(0);return i.sort(function(n,o){var i=t._.string_similarity(n.toLowerCase(),e.toLowerCase()),r=t._.string_similarity(o.toLowerCase(),e.toLowerCase());return i>r?-1:i===r?0:1}),i},e.get_bigrams=function(e){var t,n,o,i=e.toLowerCase(),r=new Array(i.length-1);for(t=n=0,o=r.length;n<=o;t=n+=1)r[t]=i.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 n="",o=0;o<t;o++)n+=String.fromCharCode(255&e),e>>>=8;return n},e.utf8_encode=function(e){for(var t="",n=0,o=(e=e.replace(/\r\n/g,"\n")).length;n<o;n++){var i=e.charCodeAt(n);i<128?t+=String.fromCharCode(i):i>127&&i<2048?(t+=String.fromCharCode(i>>6|192),t+=String.fromCharCode(63&i|128)):(t+=String.fromCharCode(i>>12|224),t+=String.fromCharCode(i>>6&63|128),t+=String.fromCharCode(63&i|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,n){if(t.length>0&&n.length>0){var o,i=e.get_bigrams(t),r=e.get_bigrams(n),a=i.length+r.length,l=0,s=void 0;for(s=0,o=i.length;s<o;s++){var p,d=i[s],g=void 0;for(g=0,p=r.length;g<p;g++){d===r[g]&&l++}}if(l>0)return 2*l/a}return 0},e}();t.Utils=p;var d,g=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=g,t._=p,function(e){e[e.IN_PROGRESS=0]="IN_PROGRESS",e[e.RESOLVED=1]="RESOLVED"}(d=t.PromiseStatus||(t.PromiseStatus={}));var c=function(){function e(e){this.status=d.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 n=[],o=t.length;t.forEach(function(t,i){t.then(function(t){o--,n[i]=t,0==o&&e(n)}),n.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===d.IN_PROGRESS?this.listOfWaiters.push(e):e(this.resolution)},e.prototype.firstOneOnly=function(e){this.status===d.IN_PROGRESS?0===this.listOfWaiters.length&&this.listOfWaiters.push(e):e(this.resolution)},e.prototype.map=function(t){var n=this;return new e(function(e){n.then(function(n){e(t(n))})})},e.prototype.resolveNow=function(e,t){return this.status==d.IN_PROGRESS?e:t(this.resolution)},e.prototype.onDone=function(e){this.status=d.RESOLVED,this.resolution=e,this.listOfWaiters.forEach(function(t){return t(e)})},e.prototype.onReject=function(e){console.warn("TBI")},e}();t.Promise=c},function(e,t,n){"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 o=void 0===e?{}:e;o.HTMLElement="undefined"==typeof HTMLElement?{}:HTMLElement,o.HTMLButtonElement="undefined"==typeof HTMLButtonElement?{}:HTMLButtonElement,o.HTMLSelectElement="undefined"==typeof HTMLSelectElement?{}:HTMLSelectElement,o.HTMLInputElement="undefined"==typeof HTMLInputElement?{}:HTMLInputElement,o.Node="undefined"==typeof Node?{}:Node,o.MouseEvent="undefined"==typeof MouseEvent?{}:MouseEvent;var i=n(45);t.ColumnFactory=i.ColumnFactory;var r=n(5);t.ColumnController=r.ColumnController;var a=n(154);t.ColumnKeyCreator=a.ColumnKeyCreator;var l=n(36);t.ColumnUtils=l.ColumnUtils;var s=n(66);t.DisplayedGroupCreator=s.DisplayedGroupCreator;var p=n(117);t.GroupInstanceIdCreator=p.GroupInstanceIdCreator;var d=n(96);t.ComponentUtil=d.ComponentUtil;var g=n(153);t.ColDefUtil=g.ColDefUtil;var c=n(99);t.ComponentProvider=c.ComponentProvider;var u=n(25);t.ComponentResolver=u.ComponentResolver;var h=n(198);t.initialiseAgGridWithAngular1=h.initialiseAgGridWithAngular1;var m=n(203);t.initialiseAgGridWithWebComponents=m.initialiseAgGridWithWebComponents;var f=n(14);t.BeanStub=f.BeanStub;var y=n(0);t.Context=y.Context,t.Autowired=y.Autowired,t.PostConstruct=y.PostConstruct,t.PreConstruct=y.PreConstruct,t.Optional=y.Optional,t.Bean=y.Bean,t.Qualifier=y.Qualifier,t.PreDestroy=y.PreDestroy;var b=n(12);t.QuerySelector=b.QuerySelector,t.Listener=b.Listener,t.RefSelector=b.RefSelector;var v=n(15);t.DragAndDropService=v.DragAndDropService,t.DragSourceType=v.DragSourceType,t.HDirection=v.HDirection,t.VDirection=v.VDirection;var I=n(47);t.DragService=I.DragService;var x=n(11);t.Column=x.Column;var C=n(30);t.ColumnGroup=C.ColumnGroup;var w=n(24);t.GridCell=w.GridCell;var D=n(97);t.GridRow=D.GridRow;var P=n(37);t.OriginalColumnGroup=P.OriginalColumnGroup;var M=n(17);t.RowNode=M.RowNode;var S=n(69);t.BaseFilter=S.BaseFilter;var N=n(101);t.DateFilter=N.DateFilter;var R=n(19);t.FilterManager=R.FilterManager;var T=n(143);t.NumberFilter=T.NumberFilter;var E=n(142);t.TextFilter=E.TextFilter;var k=n(111);t.GridPanel=k.GridPanel;var L=n(41);t.ScrollVisibleService=L.ScrollVisibleService;var A=n(51);t.MouseEventService=A.MouseEventService;var O=n(150);t.BodyDropPivotTarget=O.BodyDropPivotTarget;var G=n(148);t.BodyDropTarget=G.BodyDropTarget;var z=n(114);t.CssClassApplier=z.CssClassApplier;var _=n(145);t.HeaderContainer=_.HeaderContainer;var j=n(113);t.HeaderRootComp=j.HeaderRootComp;var Z=n(146);t.HeaderRowComp=Z.HeaderRowComp;var H=n(77);t.HorizontalResizeService=H.HorizontalResizeService;var W=n(149);t.MoveColumnController=W.MoveColumnController;var B=n(155);t.StandardMenuFactory=B.StandardMenuFactory;var F=n(204);t.TabbedLayout=F.TabbedLayout;var V=n(205);t.VerticalStack=V.VerticalStack;var U=n(206);t.simpleHttpRequest=U.simpleHttpRequest;var J=n(141);t.LargeTextCellEditor=J.LargeTextCellEditor;var Y=n(102);t.PopupEditorWrapper=Y.PopupEditorWrapper;var Q=n(140);t.PopupSelectCellEditor=Q.PopupSelectCellEditor;var X=n(139);t.PopupTextCellEditor=X.PopupTextCellEditor;var K=n(108);t.SelectCellEditor=K.SelectCellEditor;var q=n(100);t.TextCellEditor=q.TextCellEditor;var $=n(104);t.AnimateShowChangeCellRenderer=$.AnimateShowChangeCellRenderer;var ee=n(103);t.AnimateSlideCellRenderer=ee.AnimateSlideCellRenderer;var te=n(105);t.GroupCellRenderer=te.GroupCellRenderer;var ne=n(70);t.SetLeftFeature=ne.SetLeftFeature;var oe=n(46);t.AutoWidthCalculator=oe.AutoWidthCalculator;var ie=n(72);t.CellEditorFactory=ie.CellEditorFactory;var re=n(73);t.CellRendererFactory=re.CellRendererFactory;var ae=n(74);t.CellRendererService=ae.CellRendererService;var le=n(98);t.CheckboxSelectionComponent=le.CheckboxSelectionComponent;var se=n(39);t.CellComp=se.CellComp;var pe=n(68);t.RowComp=pe.RowComp;var de=n(21);t.RowRenderer=de.RowRenderer;var ge=n(50);t.ValueFormatterService=ge.ValueFormatterService;var ce=n(156);t.FilterStage=ce.FilterStage;var ue=n(160);t.FlattenStage=ue.FlattenStage;var he=n(158);t.SortStage=he.SortStage;var me=n(33);t.PinnedRowModel=me.PinnedRowModel;var fe=n(163);t.ClientSideRowModel=fe.ClientSideRowModel;var ye=n(123);t.ChangedPath=ye.ChangedPath;var be=n(164);t.ClientSideNodeManager=be.ClientSideNodeManager;var ve=n(161);t.InfiniteRowModel=ve.InfiniteRowModel;var Ie=n(79);t.RowNodeBlock=Ie.RowNodeBlock;var xe=n(162);t.RowNodeBlockLoader=xe.RowNodeBlockLoader;var Ce=n(122);t.RowNodeCache=Ce.RowNodeCache;var we=n(106);t.StylingService=we.StylingService;var De=n(78);t.AgCheckbox=De.AgCheckbox;var Pe=n(10);t.Component=Pe.Component;var Me=n(40);t.PopupService=Me.PopupService;var Se=n(53);t.TouchListener=Se.TouchListener;var Ne=n(64);t.CsvCreator=Ne.CsvCreator,t.BaseCreator=Ne.BaseCreator;var Re=n(119);t.Downloader=Re.Downloader;var Te=n(166);t.XmlFactory=Te.XmlFactory;var Ee=n(65);t.BaseGridSerializingSession=Ee.BaseGridSerializingSession,t.GridSerializer=Ee.GridSerializer;var ke=n(65);t.RowType=ke.RowType;var Le=n(167);t.ZipContainer=Le.ZipContainer;var Ae=n(165);t.BaseFrameworkFactory=Ae.BaseFrameworkFactory;var Oe=n(116);t.CellNavigationService=Oe.CellNavigationService;var Ge=n(76);t.AlignedGridsService=Ge.AlignedGridsService;var ze=n(7);t.Constants=ze.Constants;var _e=n(120);t.Grid=_e.Grid;var je=n(8);t.GridApi=je.GridApi;var Ze=n(29);t.Events=Ze.Events;var He=n(23);t.FocusedCellController=He.FocusedCellController;var We=n(207);t.defaultGroupComparator=We.defaultGroupComparator;var Be=n(3);t.GridOptionsWrapper=Be.GridOptionsWrapper;var Fe=n(4);t.EventService=Fe.EventService;var Ve=n(121);t.SelectableService=Ve.SelectableService;var Ue=n(49);t.GridCore=Ue.GridCore;var Je=n(13);t.Logger=Je.Logger;var Ye=n(18);t.SelectionController=Ye.SelectionController;var Qe=n(26);t.SortController=Qe.SortController;var Xe=n(67);t.TemplateService=Xe.TemplateService;var Ke=n(1);t.Utils=Ke.Utils,t.NumberSequence=Ke.NumberSequence,t._=Ke._,t.Promise=Ke.Promise;var qe=n(16);t.ValueService=qe.ValueService;var $e=n(20);t.ExpressionService=$e.ExpressionService;var et=n(13);t.LoggerFactory=et.LoggerFactory;var tt=n(9);t.ColumnApi=tt.ColumnApi;var nt=n(208);t.BaseComponentWrapper=nt.BaseComponentWrapper;var ot=n(48);t.Environment=ot.Environment}).call(this,n(184))},function(e,t,n){"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 o=this&&this.__decorate||function(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a},i=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(n,o){t(n,o,e)}};Object.defineProperty(t,"__esModule",{value:!0});var a=n(4),l=n(7),s=n(96),p=n(8),d=n(0),g=n(9),c=n(5),u=n(1),h=n(48),m=n(137),f=n(153),y=n(29),b=n(112),v=n(151);function I(e){return!0===e||"true"===e}var x=function(){function e(){this.propertyEventService=new a.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 n=Object.getOwnPropertyNames(t),o=f.ColDefUtil.ALL_PROPERTIES.concat(f.ColDefUtil.FRAMEWORK_PROPERTIES);e.checkProperties(n,o,o,"colDef","https://www.ag-grid.com/javascript-grid-column-properties/")})},e.prototype.checkGridOptionsProperties=function(){var e=Object.getOwnPropertyNames(this.gridOptions),t=m.PropertyKeys.ALL_PROPERTIES.concat(m.PropertyKeys.FRAMEWORK_PROPERTIES);Object.keys(y.Events).forEach(function(e){return t.push(s.ComponentUtil.getCallbackForEvent(y.Events[e]))});var n=t.concat("api","columnApi");this.checkProperties(e,n,t,"gridOptions","https://www.ag-grid.com/javascript-grid-properties/")},e.prototype.checkProperties=function(e,t,n,o,i){var r=u.Utils.fuzzyCheckStrings(e,t,n),a=Object.keys(r);a.forEach(function(e){var t=r[e];console.warn("ag-grid: invalid "+o+" property '"+e+"' did you mean any of these: "+t.slice(0,8).join(","))}),a.length>0&&console.warn("ag-grid: to see all the valid "+o+" properties please check: "+i)},e.prototype.getDomData=function(e,t){var n=e[this.domDataKey];return n?n[t]:void 0},e.prototype.setDomData=function(e,t,n){var o=e[this.domDataKey];u.Utils.missing(o)&&(o={},e[this.domDataKey]=o),o[t]=n},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 I(this.gridOptions.rowDeselection)},e.prototype.isRowSelectionMulti=function(){return"multiple"===this.gridOptions.rowSelection},e.prototype.isRowMultiSelectWithClick=function(){return I(this.gridOptions.rowMultiSelectWithClick)},e.prototype.getContext=function(){return this.gridOptions.context},e.prototype.isPivotMode=function(){return I(this.gridOptions.pivotMode)},e.prototype.isPivotTotals=function(){return I(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===l.Constants.ROW_MODEL_TYPE_INFINITE},e.prototype.isRowModelViewport=function(){return this.gridOptions.rowModelType===l.Constants.ROW_MODEL_TYPE_VIEWPORT},e.prototype.isRowModelServerSide=function(){return this.gridOptions.rowModelType===l.Constants.ROW_MODEL_TYPE_SERVER_SIDE},e.prototype.isRowModelDefault=function(){return u.Utils.missing(this.gridOptions.rowModelType)||this.gridOptions.rowModelType===l.Constants.ROW_MODEL_TYPE_CLIENT_SIDE||this.gridOptions.rowModelType===l.Constants.DEPRECATED_ROW_MODEL_TYPE_NORMAL},e.prototype.isFullRowEdit=function(){return"fullRow"===this.gridOptions.editType},e.prototype.isSuppressFocusAfterRefresh=function(){return I(this.gridOptions.suppressFocusAfterRefresh)},e.prototype.isShowToolPanel=function(){return I(this.gridOptions.sideBar&&Array.isArray(this.getSideBar().toolPanels))},e.prototype.getSideBar=function(){return this.gridOptions.sideBar},e.prototype.isSuppressTouch=function(){return I(this.gridOptions.suppressTouch)},e.prototype.isSuppressRowTransform=function(){return I(this.gridOptions.suppressRowTransform)},e.prototype.isSuppressSetColumnStateEvents=function(){return I(this.gridOptions.suppressSetColumnStateEvents)},e.prototype.useAsyncEvents=function(){return!I(this.gridOptions.suppressAsyncEvents)},e.prototype.isEnableCellChangeFlash=function(){return I(this.gridOptions.enableCellChangeFlash)},e.prototype.isGroupSelectsChildren=function(){var e=I(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 I(this.gridOptions.suppressRowHoverHighlight)},e.prototype.isGroupSelectsFiltered=function(){return I(this.gridOptions.groupSelectsFiltered)},e.prototype.isGroupHideOpenParents=function(){return I(this.gridOptions.groupHideOpenParents)},e.prototype.isGroupMultiAutoColumn=function(){return I(this.gridOptions.groupMultiAutoColumn)||I(this.gridOptions.groupHideOpenParents)},e.prototype.isGroupRemoveSingleChildren=function(){return I(this.gridOptions.groupRemoveSingleChildren)},e.prototype.isGroupRemoveLowestSingleChildren=function(){return I(this.gridOptions.groupRemoveLowestSingleChildren)},e.prototype.isGroupIncludeFooter=function(){return I(this.gridOptions.groupIncludeFooter)},e.prototype.isGroupIncludeTotalFooter=function(){return I(this.gridOptions.groupIncludeTotalFooter)},e.prototype.isGroupSuppressBlankHeader=function(){return I(this.gridOptions.groupSuppressBlankHeader)},e.prototype.isSuppressRowClickSelection=function(){return I(this.gridOptions.suppressRowClickSelection)},e.prototype.isSuppressCellSelection=function(){return I(this.gridOptions.suppressCellSelection)},e.prototype.isSuppressMultiSort=function(){return I(this.gridOptions.suppressMultiSort)},e.prototype.isMultiSortKeyCtrl=function(){return"ctrl"===this.gridOptions.multiSortKey},e.prototype.isGroupSuppressAutoColumn=function(){return I(this.gridOptions.groupSuppressAutoColumn)},e.prototype.isSuppressDragLeaveHidesColumns=function(){return I(this.gridOptions.suppressDragLeaveHidesColumns)},e.prototype.isSuppressScrollOnNewData=function(){return I(this.gridOptions.suppressScrollOnNewData)},e.prototype.isRowDragManaged=function(){return I(this.gridOptions.rowDragManaged)},e.prototype.isSuppressRowDrag=function(){return I(this.gridOptions.suppressRowDrag)},e.prototype.getDomLayout=function(){var e=this,t=this.gridOptions.domLayout;return t===l.Constants.DOM_LAYOUT_PRINT||t===l.Constants.DOM_LAYOUT_AUTO_HEIGHT||t===l.Constants.DOM_LAYOUT_NORMAL?t:null==t?l.Constants.DOM_LAYOUT_NORMAL:(u.Utils.doOnce(function(){return console.warn("ag-Grid: "+e.gridOptions.domLayout+" is not valid for DOM Layout, valid values are "+l.Constants.DOM_LAYOUT_NORMAL+", "+l.Constants.DOM_LAYOUT_AUTO_HEIGHT+" and "+l.Constants.DOM_LAYOUT_PRINT)},"warn about dom layout values"),l.Constants.DOM_LAYOUT_NORMAL)},e.prototype.isSuppressHorizontalScroll=function(){return I(this.gridOptions.suppressHorizontalScroll)},e.prototype.isSuppressLoadingOverlay=function(){return I(this.gridOptions.suppressLoadingOverlay)},e.prototype.isSuppressNoRowsOverlay=function(){return I(this.gridOptions.suppressNoRowsOverlay)},e.prototype.isSuppressFieldDotNotation=function(){return I(this.gridOptions.suppressFieldDotNotation)},e.prototype.getPinnedTopRowData=function(){return this.gridOptions.pinnedTopRowData},e.prototype.getPinnedBottomRowData=function(){return this.gridOptions.pinnedBottomRowData},e.prototype.isFunctionsPassive=function(){return I(this.gridOptions.functionsPassive)},e.prototype.isSuppressTabbing=function(){return I(this.gridOptions.suppressTabbing)},e.prototype.isSuppressChangeDetection=function(){return I(this.gridOptions.suppressChangeDetection)},e.prototype.isSuppressAnimationFrame=function(){return I(this.gridOptions.suppressAnimationFrame)},e.prototype.getQuickFilterText=function(){return this.gridOptions.quickFilterText},e.prototype.isCacheQuickFilter=function(){return I(this.gridOptions.cacheQuickFilter)},e.prototype.isUnSortIcon=function(){return I(this.gridOptions.unSortIcon)},e.prototype.isSuppressMenuHide=function(){return I(this.gridOptions.suppressMenuHide)},e.prototype.isEnterMovesDownAfterEdit=function(){return I(this.gridOptions.enterMovesDownAfterEdit)},e.prototype.isEnterMovesDown=function(){return I(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 I(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 I(this.gridOptions.deltaRowDataMode)},e.prototype.isEnsureDomOrder=function(){return I(this.gridOptions.ensureDomOrder)},e.prototype.isEnableColResize=function(){return I(this.gridOptions.enableColResize)},e.prototype.getColResizeDefault=function(){return this.gridOptions.colResizeDefault},e.prototype.isSingleClickEdit=function(){return I(this.gridOptions.singleClickEdit)},e.prototype.isSuppressClickEdit=function(){return I(this.gridOptions.suppressClickEdit)},e.prototype.isStopEditingWhenGridLosesFocus=function(){return I(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 I(this.gridOptions.purgeClosedRowNodes)},e.prototype.isSuppressPaginationPanel=function(){return