@ag-grid-enterprise/core
Advanced tools
Comparing version 31.1.0 to 31.1.1
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "31.1.0"; | ||
export declare const VERSION = "31.1.1"; |
@@ -5,2 +5,2 @@ "use strict"; | ||
// DO NOT UPDATE MANUALLY: Generated from script during build time | ||
exports.VERSION = '31.1.0'; | ||
exports.VERSION = '31.1.1'; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "31.1.0"; | ||
export declare const VERSION = "31.1.1"; |
@@ -5,2 +5,2 @@ "use strict"; | ||
// DO NOT UPDATE MANUALLY: Generated from script during build time | ||
exports.VERSION = '31.1.0'; | ||
exports.VERSION = '31.1.1'; |
/** | ||
* @ag-grid-enterprise/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.1.0 | ||
* @ag-grid-enterprise/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.1.1 | ||
* @link https://www.ag-grid.com/ | ||
@@ -618,3 +618,3 @@ * @license Commercial | ||
// DO NOT UPDATE MANUALLY: Generated from script during build time | ||
var VERSION = '31.1.0'; | ||
var VERSION = '31.1.1'; | ||
@@ -621,0 +621,0 @@ var EnterpriseCoreModule = { |
/** | ||
* @ag-grid-enterprise/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.1.0 | ||
* @ag-grid-enterprise/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.1.1 | ||
* @link https://www.ag-grid.com/ | ||
@@ -7,6 +7,6 @@ * @license Commercial | ||
/** | ||
* @ag-grid-enterprise/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.1.0 | ||
* @ag-grid-enterprise/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.1.1 | ||
* @link https://www.ag-grid.com/ | ||
* @license Commercial | ||
*/ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@ag-grid-community/core"),e=function(){function t(){this.ieCompatibility=!1}return t.prototype.init=function(){this.ieCompatibility="5d41402abc4b2a76b9719d911017c592"!=this.md5("hello")},t.prototype.md5cycle=function(t,e){var i=t[0],n=t[1],r=t[2],o=t[3];i=this.ff(i,n,r,o,e[0],7,-680876936),o=this.ff(o,i,n,r,e[1],12,-389564586),r=this.ff(r,o,i,n,e[2],17,606105819),n=this.ff(n,r,o,i,e[3],22,-1044525330),i=this.ff(i,n,r,o,e[4],7,-176418897),o=this.ff(o,i,n,r,e[5],12,1200080426),r=this.ff(r,o,i,n,e[6],17,-1473231341),n=this.ff(n,r,o,i,e[7],22,-45705983),i=this.ff(i,n,r,o,e[8],7,1770035416),o=this.ff(o,i,n,r,e[9],12,-1958414417),r=this.ff(r,o,i,n,e[10],17,-42063),n=this.ff(n,r,o,i,e[11],22,-1990404162),i=this.ff(i,n,r,o,e[12],7,1804603682),o=this.ff(o,i,n,r,e[13],12,-40341101),r=this.ff(r,o,i,n,e[14],17,-1502002290),n=this.ff(n,r,o,i,e[15],22,1236535329),i=this.gg(i,n,r,o,e[1],5,-165796510),o=this.gg(o,i,n,r,e[6],9,-1069501632),r=this.gg(r,o,i,n,e[11],14,643717713),n=this.gg(n,r,o,i,e[0],20,-373897302),i=this.gg(i,n,r,o,e[5],5,-701558691),o=this.gg(o,i,n,r,e[10],9,38016083),r=this.gg(r,o,i,n,e[15],14,-660478335),n=this.gg(n,r,o,i,e[4],20,-405537848),i=this.gg(i,n,r,o,e[9],5,568446438),o=this.gg(o,i,n,r,e[14],9,-1019803690),r=this.gg(r,o,i,n,e[3],14,-187363961),n=this.gg(n,r,o,i,e[8],20,1163531501),i=this.gg(i,n,r,o,e[13],5,-1444681467),o=this.gg(o,i,n,r,e[2],9,-51403784),r=this.gg(r,o,i,n,e[7],14,1735328473),n=this.gg(n,r,o,i,e[12],20,-1926607734),i=this.hh(i,n,r,o,e[5],4,-378558),o=this.hh(o,i,n,r,e[8],11,-2022574463),r=this.hh(r,o,i,n,e[11],16,1839030562),n=this.hh(n,r,o,i,e[14],23,-35309556),i=this.hh(i,n,r,o,e[1],4,-1530992060),o=this.hh(o,i,n,r,e[4],11,1272893353),r=this.hh(r,o,i,n,e[7],16,-155497632),n=this.hh(n,r,o,i,e[10],23,-1094730640),i=this.hh(i,n,r,o,e[13],4,681279174),o=this.hh(o,i,n,r,e[0],11,-358537222),r=this.hh(r,o,i,n,e[3],16,-722521979),n=this.hh(n,r,o,i,e[6],23,76029189),i=this.hh(i,n,r,o,e[9],4,-640364487),o=this.hh(o,i,n,r,e[12],11,-421815835),r=this.hh(r,o,i,n,e[15],16,530742520),n=this.hh(n,r,o,i,e[2],23,-995338651),i=this.ii(i,n,r,o,e[0],6,-198630844),o=this.ii(o,i,n,r,e[7],10,1126891415),r=this.ii(r,o,i,n,e[14],15,-1416354905),n=this.ii(n,r,o,i,e[5],21,-57434055),i=this.ii(i,n,r,o,e[12],6,1700485571),o=this.ii(o,i,n,r,e[3],10,-1894986606),r=this.ii(r,o,i,n,e[10],15,-1051523),n=this.ii(n,r,o,i,e[1],21,-2054922799),i=this.ii(i,n,r,o,e[8],6,1873313359),o=this.ii(o,i,n,r,e[15],10,-30611744),r=this.ii(r,o,i,n,e[6],15,-1560198380),n=this.ii(n,r,o,i,e[13],21,1309151649),i=this.ii(i,n,r,o,e[4],6,-145523070),o=this.ii(o,i,n,r,e[11],10,-1120210379),r=this.ii(r,o,i,n,e[2],15,718787259),n=this.ii(n,r,o,i,e[9],21,-343485551),t[0]=this.add32(i,t[0]),t[1]=this.add32(n,t[1]),t[2]=this.add32(r,t[2]),t[3]=this.add32(o,t[3])},t.prototype.cmn=function(t,e,i,n,r,o){return e=this.add32(this.add32(e,t),this.add32(n,o)),this.add32(e<<r|e>>>32-r,i)},t.prototype.ff=function(t,e,i,n,r,o,s){return this.cmn(e&i|~e&n,t,e,r,o,s)},t.prototype.gg=function(t,e,i,n,r,o,s){return this.cmn(e&n|i&~n,t,e,r,o,s)},t.prototype.hh=function(t,e,i,n,r,o,s){return this.cmn(e^i^n,t,e,r,o,s)},t.prototype.ii=function(t,e,i,n,r,o,s){return this.cmn(i^(e|~n),t,e,r,o,s)},t.prototype.md51=function(t){var e,i=t.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)this.md5cycle(n,this.md5blk(t.substring(e-64,e)));t=t.substring(e-64);var r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<t.length;e++)r[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(r[e>>2]|=128<<(e%4<<3),e>55)for(this.md5cycle(n,r),e=0;e<16;e++)r[e]=0;return r[14]=8*i,this.md5cycle(n,r),n},t.prototype.md5blk=function(t){for(var e=[],i=0;i<64;i+=4)e[i>>2]=t.charCodeAt(i)+(t.charCodeAt(i+1)<<8)+(t.charCodeAt(i+2)<<16)+(t.charCodeAt(i+3)<<24);return e},t.prototype.rhex=function(t){for(var e="0123456789abcdef".split(""),i="",n=0;n<4;n++)i+=e[t>>8*n+4&15]+e[t>>8*n&15];return i},t.prototype.hex=function(t){for(var e=0;e<t.length;e++)t[e]=this.rhex(t[e]);return t.join("")},t.prototype.md5=function(t){return this.hex(this.md51(t))},t.prototype.add32=function(t,e){return this.ieCompatibility?this.add32Compat(t,e):this.add32Std(t,e)},t.prototype.add32Std=function(t,e){return t+e&4294967295},t.prototype.add32Compat=function(t,e){var i=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(i>>16)<<16|65535&i},t}(),i=function(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,r,o=i.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return s};function n(t){return null==t||0===t.length}var r,o={"01":"GRID","02":"CHARTS","0102":"BOTH"},s=function(){function t(t){this.watermarkMessage=void 0,this.totalMessageLength=124,this.document=t,this.md5=new e,this.md5.init()}return t.prototype.validateLicense=function(){var e=this.getLicenseDetails(t.licenseKey),i="AG Grid ".concat("BOTH"===e.currentLicenseType?"and AG Charts ":"","Enterprise"),n=void 0===e.suppliedLicenseType?"":"AG ".concat("BOTH"===e.suppliedLicenseType?"Grid and AG Charts":"GRID"===e.suppliedLicenseType?"Grid":"Charts"," Enterprise");if(e.missing)this.isWebsiteUrl()&&!this.isForceWatermark()||this.outputMissingLicenseKey(i);else if(e.expired){var r=t.getGridReleaseDate(),o=t.formatDate(r);this.outputExpiredKey(e.expiry,o,i,n)}else e.valid?e.isTrial&&e.trialExpired&&this.outputExpiredTrialKey(e.expiry,i,n):this.outputInvalidLicenseKey(!!e.incorrectLicenseType,i,n)},t.extractExpiry=function(e){var i=e.substring(e.lastIndexOf("_")+1,e.length);return new Date(parseInt(t.decode(i),10))},t.extractLicenseComponents=function(e){var n=e.replace(/[\u200B-\u200D\uFEFF]/g,"");if(n=n.replace(/\r?\n|\r/g,""),e.length<=32)return{md5:null,license:e,version:null,isTrial:null};var r=n.length-32,o=n.substring(r),s=n.substring(0,r),a=i(t.extractBracketedInformation(n),3);return{md5:o,license:s,version:a[0],isTrial:a[1],type:a[2]}},t.prototype.getLicenseDetails=function(e){var i=t.chartsLicenseManager?"BOTH":"GRID";if(n(e))return{licenseKey:e,valid:!1,missing:!0,currentLicenseType:i};var r=t.getGridReleaseDate(),s=t.extractLicenseComponents(e),a=s.md5,c=s.license,u=s.version,h=s.isTrial,d=s.type,p=a===this.md5.md5(c)&&-1===e.indexOf("For_Trialing_ag-Grid_Only"),l=void 0,f=void 0,g=null,y=!1,m=void 0;function v(){var t=new Date;l=g<t,f=void 0}if(p&&(g=t.extractExpiry(c),p=!isNaN(g.getTime())))switch(f=r>g,u){case"legacy":case"2":h&&v();break;case"3":n(d)?p=!1:(m=d,d!==o["01"]&&d!==o["0102"]||"BOTH"===i&&"BOTH"!==m?(p=!1,y=!0):h&&v())}return p?{licenseKey:e,valid:p,expiry:t.formatDate(g),expired:f,version:u,isTrial:h,trialExpired:l,incorrectLicenseType:y,currentLicenseType:i,suppliedLicenseType:m}:{licenseKey:e,valid:p,incorrectLicenseType:y,currentLicenseType:i,suppliedLicenseType:m}},t.prototype.isDisplayWatermark=function(){return this.isForceWatermark()||!this.isLocalhost()&&!this.isWebsiteUrl()&&!n(this.watermarkMessage)},t.prototype.getWatermarkMessage=function(){return this.watermarkMessage||""},t.prototype.getHostname=function(){var t=(this.document.defaultView||window).location.hostname;return void 0===t?"":t},t.prototype.isForceWatermark=function(){var t=(this.document.defaultView||window).location.pathname;return!!t&&-1!==t.indexOf("forceWatermark")},t.prototype.isWebsiteUrl=function(){return null!==this.getHostname().match(/^((?:\w+\.)?ag-grid\.com)$/)},t.prototype.isLocalhost=function(){return null!==this.getHostname().match(/^(?:127\.0\.0\.1|localhost)$/)},t.formatDate=function(t){var e=t.getDate(),i=t.getMonth(),n=t.getFullYear();return e+" "+["January","February","March","April","May","June","July","August","September","October","November","December"][i]+" "+n},t.getGridReleaseDate=function(){return new Date(parseInt(t.decode(t.RELEASE_INFORMATION),10))},t.decode=function(e){for(var i,n,r,o,s,a,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u="",h=0,d=e.replace(/[^A-Za-z0-9+/=]/g,"");h<d.length;)i=c.indexOf(d.charAt(h++))<<2|(o=c.indexOf(d.charAt(h++)))>>4,n=(15&o)<<4|(s=c.indexOf(d.charAt(h++)))>>2,r=(3&s)<<6|(a=c.indexOf(d.charAt(h++))),u+=String.fromCharCode(i),64!=s&&(u+=String.fromCharCode(n)),64!=a&&(u+=String.fromCharCode(r));return u=t.utf8_decode(u)},t.utf8_decode=function(t){t=t.replace(/rn/g,"n");for(var e="",i=0;i<t.length;i++){var n=t.charCodeAt(i);n<128?e+=String.fromCharCode(n):n>127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(63&n|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(63&n|128))}return e},t.setChartsLicenseManager=function(t){this.chartsLicenseManager=t},t.setLicenseKey=function(t){this.licenseKey=t,this.chartsLicenseManager&&this.chartsLicenseManager.setLicenseKey(t,!0)},t.extractBracketedInformation=function(t){if(!t.includes("["))return["legacy",!1,void 0];var e=t.match(/\[(.*?)\]/g).map((function(t){return t.replace("[","").replace("]","")}));if(!e||0===e.length)return["legacy",!1,void 0];var i=1===e.filter((function(t){return"TRIAL"===t})).length,n=e.filter((function(t){return 0===t.indexOf("v")}))[0];return[n?n.replace("v",""):"legacy",i,o[e.filter((function(t){return o[t]}))[0]]]},t.prototype.centerPadAndOutput=function(t){var e=this.totalMessageLength-t.length;console.error(t.padStart(e/2+t.length,"*").padEnd(this.totalMessageLength,"*"))},t.prototype.padAndOutput=function(t,e,i){void 0===e&&(e="*"),void 0===i&&(i=""),console.error(t.padEnd(this.totalMessageLength-i.length,e)+i)},t.prototype.outputInvalidLicenseKey=function(t,e,i){t?(this.centerPadAndOutput(""),this.centerPadAndOutput(" ".concat(e," License ")),this.centerPadAndOutput(" Incompatible License Key "),this.padAndOutput("* Your license key is for ".concat(i," only and does not cover you for ").concat(e,".")," ","*"),this.padAndOutput("* Please contact info@ag-grid.com to obtain a combined license key."," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput("")):(this.centerPadAndOutput(""),this.centerPadAndOutput(" ".concat(e," License ")),this.centerPadAndOutput(" Invalid License Key "),this.padAndOutput("* Your license key is not valid - please contact info@ag-grid.com to obtain a valid license."," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput("")),this.watermarkMessage="Invalid License"},t.prototype.outputExpiredTrialKey=function(t,e,i){this.centerPadAndOutput(""),this.centerPadAndOutput(" ".concat(e," License ")),this.centerPadAndOutput(" Trial Period Expired. "),this.padAndOutput("* Your trial only license for ".concat(i," expired on ").concat(t,".")," ","*"),this.padAndOutput("* Please email info@ag-grid.com to purchase a license."," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput(""),this.watermarkMessage="Trial Period Expired"},t.prototype.outputMissingLicenseKey=function(t){this.centerPadAndOutput(""),this.centerPadAndOutput(" ".concat(t," License ")),this.centerPadAndOutput(" License Key Not Found "),this.padAndOutput("* All ".concat(t," features are unlocked for trial.")," ","*"),this.padAndOutput("* If you want to hide the watermark please email info@ag-grid.com for a trial license key."," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput(""),this.watermarkMessage="For Trial Use Only"},t.prototype.outputExpiredKey=function(t,e,i,n){this.centerPadAndOutput(""),this.centerPadAndOutput(" ".concat(i," License ")),this.centerPadAndOutput(" Incompatible Software Version "),this.padAndOutput("* Your license key works with versions of ".concat(n," released before ").concat(t,".")," ","*"),this.padAndOutput("* The version you are trying to use was released on ".concat(e,".")," ","*"),this.padAndOutput("* Please contact info@ag-grid.com to renew your license key."," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput(""),this.watermarkMessage="License Expired"},t.RELEASE_INFORMATION="MTcwODI3NzkwNjI5Nw==",t}(),a=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),c=function(t,e,i,n){var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s},u=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return a(i,e),i.prototype.validateLicense=function(){this.licenseManager=new s(this.gridOptionsService.getDocument()),this.licenseManager.validateLicense()},i.getLicenseDetails=function(t){return new s(null).getLicenseDetails(t)},i.prototype.isDisplayWatermark=function(){return this.licenseManager.isDisplayWatermark()},i.prototype.getWatermarkMessage=function(){return this.licenseManager.getWatermarkMessage()},i.setLicenseKey=function(t){s.setLicenseKey(t)},i.setChartsLicenseManager=function(t){s.setChartsLicenseManager(t)},c([t.PreConstruct],i.prototype,"validateLicense",null),i=c([t.Bean("licenseManager")],i)}(t.BeanStub),h=function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)};return function(e,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),d=function(t,e,i,n){var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s},p=function(e){function i(){return e.call(this,'<div class="ag-watermark">\n <div ref="eLicenseTextRef" class="ag-watermark-text"></div>\n </div>')||this}return h(i,e),i.prototype.postConstruct=function(){var t=this,e=this.shouldDisplayWatermark();this.setDisplayed(e),e&&(this.eLicenseTextRef.innerText=this.licenseManager.getWatermarkMessage(),window.setTimeout((function(){return t.addCssClass("ag-opacity-zero")}),0),window.setTimeout((function(){return t.setDisplayed(!1)}),5e3))},i.prototype.shouldDisplayWatermark=function(){return this.licenseManager.isDisplayWatermark()},d([t.Autowired("licenseManager")],i.prototype,"licenseManager",void 0),d([t.RefSelector("eLicenseTextRef")],i.prototype,"eLicenseTextRef",void 0),d([t.PostConstruct],i.prototype,"postConstruct",null),i}(t.Component),l={version:"31.1.0",moduleName:t.ModuleNames.EnterpriseCoreModule,beans:[u],agStackComponents:[{componentName:"AgWatermark",componentClass:p}]};exports.EnterpriseCoreModule=l,exports.LicenseManager=u; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("@ag-grid-community/core"),e=function(){function t(){this.ieCompatibility=!1}return t.prototype.init=function(){this.ieCompatibility="5d41402abc4b2a76b9719d911017c592"!=this.md5("hello")},t.prototype.md5cycle=function(t,e){var i=t[0],n=t[1],r=t[2],o=t[3];i=this.ff(i,n,r,o,e[0],7,-680876936),o=this.ff(o,i,n,r,e[1],12,-389564586),r=this.ff(r,o,i,n,e[2],17,606105819),n=this.ff(n,r,o,i,e[3],22,-1044525330),i=this.ff(i,n,r,o,e[4],7,-176418897),o=this.ff(o,i,n,r,e[5],12,1200080426),r=this.ff(r,o,i,n,e[6],17,-1473231341),n=this.ff(n,r,o,i,e[7],22,-45705983),i=this.ff(i,n,r,o,e[8],7,1770035416),o=this.ff(o,i,n,r,e[9],12,-1958414417),r=this.ff(r,o,i,n,e[10],17,-42063),n=this.ff(n,r,o,i,e[11],22,-1990404162),i=this.ff(i,n,r,o,e[12],7,1804603682),o=this.ff(o,i,n,r,e[13],12,-40341101),r=this.ff(r,o,i,n,e[14],17,-1502002290),n=this.ff(n,r,o,i,e[15],22,1236535329),i=this.gg(i,n,r,o,e[1],5,-165796510),o=this.gg(o,i,n,r,e[6],9,-1069501632),r=this.gg(r,o,i,n,e[11],14,643717713),n=this.gg(n,r,o,i,e[0],20,-373897302),i=this.gg(i,n,r,o,e[5],5,-701558691),o=this.gg(o,i,n,r,e[10],9,38016083),r=this.gg(r,o,i,n,e[15],14,-660478335),n=this.gg(n,r,o,i,e[4],20,-405537848),i=this.gg(i,n,r,o,e[9],5,568446438),o=this.gg(o,i,n,r,e[14],9,-1019803690),r=this.gg(r,o,i,n,e[3],14,-187363961),n=this.gg(n,r,o,i,e[8],20,1163531501),i=this.gg(i,n,r,o,e[13],5,-1444681467),o=this.gg(o,i,n,r,e[2],9,-51403784),r=this.gg(r,o,i,n,e[7],14,1735328473),n=this.gg(n,r,o,i,e[12],20,-1926607734),i=this.hh(i,n,r,o,e[5],4,-378558),o=this.hh(o,i,n,r,e[8],11,-2022574463),r=this.hh(r,o,i,n,e[11],16,1839030562),n=this.hh(n,r,o,i,e[14],23,-35309556),i=this.hh(i,n,r,o,e[1],4,-1530992060),o=this.hh(o,i,n,r,e[4],11,1272893353),r=this.hh(r,o,i,n,e[7],16,-155497632),n=this.hh(n,r,o,i,e[10],23,-1094730640),i=this.hh(i,n,r,o,e[13],4,681279174),o=this.hh(o,i,n,r,e[0],11,-358537222),r=this.hh(r,o,i,n,e[3],16,-722521979),n=this.hh(n,r,o,i,e[6],23,76029189),i=this.hh(i,n,r,o,e[9],4,-640364487),o=this.hh(o,i,n,r,e[12],11,-421815835),r=this.hh(r,o,i,n,e[15],16,530742520),n=this.hh(n,r,o,i,e[2],23,-995338651),i=this.ii(i,n,r,o,e[0],6,-198630844),o=this.ii(o,i,n,r,e[7],10,1126891415),r=this.ii(r,o,i,n,e[14],15,-1416354905),n=this.ii(n,r,o,i,e[5],21,-57434055),i=this.ii(i,n,r,o,e[12],6,1700485571),o=this.ii(o,i,n,r,e[3],10,-1894986606),r=this.ii(r,o,i,n,e[10],15,-1051523),n=this.ii(n,r,o,i,e[1],21,-2054922799),i=this.ii(i,n,r,o,e[8],6,1873313359),o=this.ii(o,i,n,r,e[15],10,-30611744),r=this.ii(r,o,i,n,e[6],15,-1560198380),n=this.ii(n,r,o,i,e[13],21,1309151649),i=this.ii(i,n,r,o,e[4],6,-145523070),o=this.ii(o,i,n,r,e[11],10,-1120210379),r=this.ii(r,o,i,n,e[2],15,718787259),n=this.ii(n,r,o,i,e[9],21,-343485551),t[0]=this.add32(i,t[0]),t[1]=this.add32(n,t[1]),t[2]=this.add32(r,t[2]),t[3]=this.add32(o,t[3])},t.prototype.cmn=function(t,e,i,n,r,o){return e=this.add32(this.add32(e,t),this.add32(n,o)),this.add32(e<<r|e>>>32-r,i)},t.prototype.ff=function(t,e,i,n,r,o,s){return this.cmn(e&i|~e&n,t,e,r,o,s)},t.prototype.gg=function(t,e,i,n,r,o,s){return this.cmn(e&n|i&~n,t,e,r,o,s)},t.prototype.hh=function(t,e,i,n,r,o,s){return this.cmn(e^i^n,t,e,r,o,s)},t.prototype.ii=function(t,e,i,n,r,o,s){return this.cmn(i^(e|~n),t,e,r,o,s)},t.prototype.md51=function(t){var e,i=t.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)this.md5cycle(n,this.md5blk(t.substring(e-64,e)));t=t.substring(e-64);var r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<t.length;e++)r[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(r[e>>2]|=128<<(e%4<<3),e>55)for(this.md5cycle(n,r),e=0;e<16;e++)r[e]=0;return r[14]=8*i,this.md5cycle(n,r),n},t.prototype.md5blk=function(t){for(var e=[],i=0;i<64;i+=4)e[i>>2]=t.charCodeAt(i)+(t.charCodeAt(i+1)<<8)+(t.charCodeAt(i+2)<<16)+(t.charCodeAt(i+3)<<24);return e},t.prototype.rhex=function(t){for(var e="0123456789abcdef".split(""),i="",n=0;n<4;n++)i+=e[t>>8*n+4&15]+e[t>>8*n&15];return i},t.prototype.hex=function(t){for(var e=0;e<t.length;e++)t[e]=this.rhex(t[e]);return t.join("")},t.prototype.md5=function(t){return this.hex(this.md51(t))},t.prototype.add32=function(t,e){return this.ieCompatibility?this.add32Compat(t,e):this.add32Std(t,e)},t.prototype.add32Std=function(t,e){return t+e&4294967295},t.prototype.add32Compat=function(t,e){var i=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(i>>16)<<16|65535&i},t}(),i=function(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,r,o=i.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return s};function n(t){return null==t||0===t.length}var r,o={"01":"GRID","02":"CHARTS","0102":"BOTH"},s=function(){function t(t){this.watermarkMessage=void 0,this.totalMessageLength=124,this.document=t,this.md5=new e,this.md5.init()}return t.prototype.validateLicense=function(){var e=this.getLicenseDetails(t.licenseKey),i="AG Grid ".concat("BOTH"===e.currentLicenseType?"and AG Charts ":"","Enterprise"),n=void 0===e.suppliedLicenseType?"":"AG ".concat("BOTH"===e.suppliedLicenseType?"Grid and AG Charts":"GRID"===e.suppliedLicenseType?"Grid":"Charts"," Enterprise");if(e.missing)this.isWebsiteUrl()&&!this.isForceWatermark()||this.outputMissingLicenseKey(i);else if(e.expired){var r=t.getGridReleaseDate(),o=t.formatDate(r);this.outputExpiredKey(e.expiry,o,i,n)}else e.valid?e.isTrial&&e.trialExpired&&this.outputExpiredTrialKey(e.expiry,i,n):this.outputInvalidLicenseKey(!!e.incorrectLicenseType,i,n)},t.extractExpiry=function(e){var i=e.substring(e.lastIndexOf("_")+1,e.length);return new Date(parseInt(t.decode(i),10))},t.extractLicenseComponents=function(e){var n=e.replace(/[\u200B-\u200D\uFEFF]/g,"");if(n=n.replace(/\r?\n|\r/g,""),e.length<=32)return{md5:null,license:e,version:null,isTrial:null};var r=n.length-32,o=n.substring(r),s=n.substring(0,r),a=i(t.extractBracketedInformation(n),3);return{md5:o,license:s,version:a[0],isTrial:a[1],type:a[2]}},t.prototype.getLicenseDetails=function(e){var i=t.chartsLicenseManager?"BOTH":"GRID";if(n(e))return{licenseKey:e,valid:!1,missing:!0,currentLicenseType:i};var r=t.getGridReleaseDate(),s=t.extractLicenseComponents(e),a=s.md5,c=s.license,u=s.version,h=s.isTrial,d=s.type,p=a===this.md5.md5(c)&&-1===e.indexOf("For_Trialing_ag-Grid_Only"),l=void 0,f=void 0,g=null,y=!1,m=void 0;function v(){var t=new Date;l=g<t,f=void 0}if(p&&(g=t.extractExpiry(c),p=!isNaN(g.getTime())))switch(f=r>g,u){case"legacy":case"2":h&&v();break;case"3":n(d)?p=!1:(m=d,d!==o["01"]&&d!==o["0102"]||"BOTH"===i&&"BOTH"!==m?(p=!1,y=!0):h&&v())}return p?{licenseKey:e,valid:p,expiry:t.formatDate(g),expired:f,version:u,isTrial:h,trialExpired:l,incorrectLicenseType:y,currentLicenseType:i,suppliedLicenseType:m}:{licenseKey:e,valid:p,incorrectLicenseType:y,currentLicenseType:i,suppliedLicenseType:m}},t.prototype.isDisplayWatermark=function(){return this.isForceWatermark()||!this.isLocalhost()&&!this.isWebsiteUrl()&&!n(this.watermarkMessage)},t.prototype.getWatermarkMessage=function(){return this.watermarkMessage||""},t.prototype.getHostname=function(){var t=(this.document.defaultView||window).location.hostname;return void 0===t?"":t},t.prototype.isForceWatermark=function(){var t=(this.document.defaultView||window).location.pathname;return!!t&&-1!==t.indexOf("forceWatermark")},t.prototype.isWebsiteUrl=function(){return null!==this.getHostname().match(/^((?:\w+\.)?ag-grid\.com)$/)},t.prototype.isLocalhost=function(){return null!==this.getHostname().match(/^(?:127\.0\.0\.1|localhost)$/)},t.formatDate=function(t){var e=t.getDate(),i=t.getMonth(),n=t.getFullYear();return e+" "+["January","February","March","April","May","June","July","August","September","October","November","December"][i]+" "+n},t.getGridReleaseDate=function(){return new Date(parseInt(t.decode(t.RELEASE_INFORMATION),10))},t.decode=function(e){for(var i,n,r,o,s,a,c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",u="",h=0,d=e.replace(/[^A-Za-z0-9+/=]/g,"");h<d.length;)i=c.indexOf(d.charAt(h++))<<2|(o=c.indexOf(d.charAt(h++)))>>4,n=(15&o)<<4|(s=c.indexOf(d.charAt(h++)))>>2,r=(3&s)<<6|(a=c.indexOf(d.charAt(h++))),u+=String.fromCharCode(i),64!=s&&(u+=String.fromCharCode(n)),64!=a&&(u+=String.fromCharCode(r));return u=t.utf8_decode(u)},t.utf8_decode=function(t){t=t.replace(/rn/g,"n");for(var e="",i=0;i<t.length;i++){var n=t.charCodeAt(i);n<128?e+=String.fromCharCode(n):n>127&&n<2048?(e+=String.fromCharCode(n>>6|192),e+=String.fromCharCode(63&n|128)):(e+=String.fromCharCode(n>>12|224),e+=String.fromCharCode(n>>6&63|128),e+=String.fromCharCode(63&n|128))}return e},t.setChartsLicenseManager=function(t){this.chartsLicenseManager=t},t.setLicenseKey=function(t){this.licenseKey=t,this.chartsLicenseManager&&this.chartsLicenseManager.setLicenseKey(t,!0)},t.extractBracketedInformation=function(t){if(!t.includes("["))return["legacy",!1,void 0];var e=t.match(/\[(.*?)\]/g).map((function(t){return t.replace("[","").replace("]","")}));if(!e||0===e.length)return["legacy",!1,void 0];var i=1===e.filter((function(t){return"TRIAL"===t})).length,n=e.filter((function(t){return 0===t.indexOf("v")}))[0];return[n?n.replace("v",""):"legacy",i,o[e.filter((function(t){return o[t]}))[0]]]},t.prototype.centerPadAndOutput=function(t){var e=this.totalMessageLength-t.length;console.error(t.padStart(e/2+t.length,"*").padEnd(this.totalMessageLength,"*"))},t.prototype.padAndOutput=function(t,e,i){void 0===e&&(e="*"),void 0===i&&(i=""),console.error(t.padEnd(this.totalMessageLength-i.length,e)+i)},t.prototype.outputInvalidLicenseKey=function(t,e,i){t?(this.centerPadAndOutput(""),this.centerPadAndOutput(" ".concat(e," License ")),this.centerPadAndOutput(" Incompatible License Key "),this.padAndOutput("* Your license key is for ".concat(i," only and does not cover you for ").concat(e,".")," ","*"),this.padAndOutput("* Please contact info@ag-grid.com to obtain a combined license key."," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput("")):(this.centerPadAndOutput(""),this.centerPadAndOutput(" ".concat(e," License ")),this.centerPadAndOutput(" Invalid License Key "),this.padAndOutput("* Your license key is not valid - please contact info@ag-grid.com to obtain a valid license."," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput("")),this.watermarkMessage="Invalid License"},t.prototype.outputExpiredTrialKey=function(t,e,i){this.centerPadAndOutput(""),this.centerPadAndOutput(" ".concat(e," License ")),this.centerPadAndOutput(" Trial Period Expired. "),this.padAndOutput("* Your trial only license for ".concat(i," expired on ").concat(t,".")," ","*"),this.padAndOutput("* Please email info@ag-grid.com to purchase a license."," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput(""),this.watermarkMessage="Trial Period Expired"},t.prototype.outputMissingLicenseKey=function(t){this.centerPadAndOutput(""),this.centerPadAndOutput(" ".concat(t," License ")),this.centerPadAndOutput(" License Key Not Found "),this.padAndOutput("* All ".concat(t," features are unlocked for trial.")," ","*"),this.padAndOutput("* If you want to hide the watermark please email info@ag-grid.com for a trial license key."," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput(""),this.watermarkMessage="For Trial Use Only"},t.prototype.outputExpiredKey=function(t,e,i,n){this.centerPadAndOutput(""),this.centerPadAndOutput(" ".concat(i," License ")),this.centerPadAndOutput(" Incompatible Software Version "),this.padAndOutput("* Your license key works with versions of ".concat(n," released before ").concat(t,".")," ","*"),this.padAndOutput("* The version you are trying to use was released on ".concat(e,".")," ","*"),this.padAndOutput("* Please contact info@ag-grid.com to renew your license key."," ","*"),this.centerPadAndOutput(""),this.centerPadAndOutput(""),this.watermarkMessage="License Expired"},t.RELEASE_INFORMATION="MTcwODI3NzkwNjI5Nw==",t}(),a=(r=function(t,e){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}),c=function(t,e,i,n){var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s},u=function(e){function i(){return null!==e&&e.apply(this,arguments)||this}return a(i,e),i.prototype.validateLicense=function(){this.licenseManager=new s(this.gridOptionsService.getDocument()),this.licenseManager.validateLicense()},i.getLicenseDetails=function(t){return new s(null).getLicenseDetails(t)},i.prototype.isDisplayWatermark=function(){return this.licenseManager.isDisplayWatermark()},i.prototype.getWatermarkMessage=function(){return this.licenseManager.getWatermarkMessage()},i.setLicenseKey=function(t){s.setLicenseKey(t)},i.setChartsLicenseManager=function(t){s.setChartsLicenseManager(t)},c([t.PreConstruct],i.prototype,"validateLicense",null),i=c([t.Bean("licenseManager")],i)}(t.BeanStub),h=function(){var t=function(e,i){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])})(e,i)};return function(e,i){if("function"!=typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),d=function(t,e,i,n){var r,o=arguments.length,s=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,i,n);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s},p=function(e){function i(){return e.call(this,'<div class="ag-watermark">\n <div ref="eLicenseTextRef" class="ag-watermark-text"></div>\n </div>')||this}return h(i,e),i.prototype.postConstruct=function(){var t=this,e=this.shouldDisplayWatermark();this.setDisplayed(e),e&&(this.eLicenseTextRef.innerText=this.licenseManager.getWatermarkMessage(),window.setTimeout((function(){return t.addCssClass("ag-opacity-zero")}),0),window.setTimeout((function(){return t.setDisplayed(!1)}),5e3))},i.prototype.shouldDisplayWatermark=function(){return this.licenseManager.isDisplayWatermark()},d([t.Autowired("licenseManager")],i.prototype,"licenseManager",void 0),d([t.RefSelector("eLicenseTextRef")],i.prototype,"eLicenseTextRef",void 0),d([t.PostConstruct],i.prototype,"postConstruct",null),i}(t.Component),l={version:"31.1.1",moduleName:t.ModuleNames.EnterpriseCoreModule,beans:[u],agStackComponents:[{componentName:"AgWatermark",componentClass:p}]};exports.EnterpriseCoreModule=l,exports.LicenseManager=u; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "31.1.0"; | ||
export declare const VERSION = "31.1.1"; |
// DO NOT UPDATE MANUALLY: Generated from script during build time | ||
export var VERSION = '31.1.0'; | ||
export var VERSION = '31.1.1'; |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "31.1.0"; | ||
export declare const VERSION = "31.1.1"; |
{ | ||
"name": "@ag-grid-enterprise/core", | ||
"version": "31.1.0", | ||
"version": "31.1.1", | ||
"description": "Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue", | ||
@@ -50,3 +50,3 @@ "main": "./dist/esm/es6/main.mjs", | ||
"dependencies": { | ||
"@ag-grid-community/core": "~31.1.0" | ||
"@ag-grid-community/core": "31.1.1" | ||
}, | ||
@@ -53,0 +53,0 @@ "devDependencies": { |
@@ -1,1 +0,1 @@ | ||
export declare const VERSION = "31.1.0"; | ||
export declare const VERSION = "31.1.1"; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3849677