ag-grid-react
Advanced tools
Comparing version 28.1.1 to 28.2.0
@@ -1,1 +0,1 @@ | ||
define(["exports","prop-types","react-dom/server","react-dom","react","agGrid"],function(t,e,w,r,ie,se){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var ue="default"in ie?ie.default:ie,O=function(e,t){return(O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function n(e,t){function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ce=function(){return(ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function G(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)r[o]=a[i];return r}n(a,T=function(){}),a.prototype.getGui=function(){return this.eParentElement},a.prototype.destroy=function(){return this.componentInstance&&"function"==typeof this.componentInstance.destroy&&this.componentInstance.destroy(),this.portalManager.destroyPortal(this.portal)},a.prototype.createParentElement=function(e){var t=this.portalManager.getComponentWrappingElement(),t=document.createElement(t||"div");return t.classList.add("ag-react-container"),e.reactContainer=t},a.prototype.addParentContainerStyleAndClasses=function(){var t=this;this.componentInstance&&(this.componentInstance.getReactContainerStyle&&this.componentInstance.getReactContainerStyle()&&Object.assign(this.eParentElement.style,this.componentInstance.getReactContainerStyle()),this.componentInstance.getReactContainerClasses&&this.componentInstance.getReactContainerClasses()&&this.componentInstance.getReactContainerClasses().forEach(function(e){return t.eParentElement.classList.add(e)}))},a.prototype.statelessComponentRendered=function(){return 0<this.eParentElement.childElementCount||0<this.eParentElement.childNodes.length},a.prototype.getFrameworkComponentInstance=function(){return this.componentInstance},a.prototype.isStatelessComponent=function(){return this.statelessComponent},a.prototype.getReactComponentName=function(){return this.reactComponent.name},a.prototype.getMemoType=function(){return this.hasSymbol()?Symbol.for("react.memo"):60115},a.prototype.hasSymbol=function(){return"function"==typeof Symbol&&Symbol.for},a.prototype.isStateless=function(e){return"function"==typeof e&&!(e.prototype&&e.prototype.isReactComponent)||"object"==typeof e&&e.$$typeof===this.getMemoType()},a.prototype.hasMethod=function(e){var t=this.getFrameworkComponentInstance();return!!t&&null!==t[e]||this.fallbackMethodAvailable(e)},a.prototype.callMethod=function(e,t){var n,r=this,o=this.getFrameworkComponentInstance();return this.isStatelessComponent()?this.fallbackMethod(e,t&&t[0]?t[0]:{}):o?(n=o[e])?n.apply(o,t):this.fallbackMethodAvailable(e)?this.fallbackMethod(e,t&&t[0]?t[0]:{}):void 0:void setTimeout(function(){return r.callMethod(e,t)})},a.prototype.addMethod=function(e,t){this[e]=t};var T,o=a;function a(e,t,n){var r=T.call(this)||this;return r.portal=null,r.reactComponent=e,r.portalManager=t,r.componentType=n,r.statelessComponent=r.isStateless(r.reactComponent),r}var M=0;function i(){return"agPortalKey_"+ ++M}n(s,I=o),s.prototype.init=function(t){var n=this;return this.eParentElement=this.createParentElement(t),this.renderStaticMarkup(t),new se.AgPromise(function(e){return n.createReactComponent(t,e)})},s.prototype.createReactComponent=function(e,t){var n=this,e=(this.isStatelessComponent()||(e.ref=function(e){n.componentInstance=e,n.addParentContainerStyleAndClasses(),n.removeStaticMarkup()}),ie.createElement(this.reactComponent,e)),e=r.createPortal(e,this.eParentElement,i());this.portal=e,this.portalManager.mountReactPortal(e,this,function(e){t(e),n.isStatelessComponent()&&(n.isSlowRenderer()&&n.removeStaticMarkup(),setTimeout(function(){n.removeStaticMarkup()}))})},s.prototype.fallbackMethodAvailable=function(e){return!1},s.prototype.fallbackMethod=function(e,t){},s.prototype.isSlowRenderer=function(){return this.staticRenderTime>=s.SLOW_RENDERING_THRESHOLD},s.prototype.isNullValue=function(){return""===this.staticMarkup},s.prototype.renderStaticMarkup=function(e){if(!this.parentComponent.isDisableStaticMarkup()&&this.componentType.cellRenderer){var t=console.error,e=ie.createElement(this.reactComponent,e);try{console.error=function(){};var n=Date.now(),r=w.renderToStaticMarkup(e);this.staticRenderTime=Date.now()-n,console.error=t,""===r?this.staticMarkup=r:r&&(this.staticMarkup=document.createElement("span"),this.staticMarkup.innerHTML=r,this.eParentElement.appendChild(this.staticMarkup))}catch(e){}finally{console.error=t}}},s.prototype.removeStaticMarkup=function(){!this.parentComponent.isDisableStaticMarkup()&&this.componentType.cellRenderer&&this.staticMarkup&&(this.staticMarkup.remove?(this.staticMarkup.remove(),this.staticMarkup=null):this.eParentElement.removeChild&&(this.eParentElement.removeChild(this.staticMarkup),this.staticMarkup=null))},s.prototype.rendered=function(){return this.isNullValue()||!!this.staticMarkup||this.isStatelessComponent()&&this.statelessComponentRendered()||!(this.isStatelessComponent()||!this.getFrameworkComponentInstance())},s.SLOW_RENDERING_THRESHOLD=3;var I,D=s;function s(e,t,n,r){e=I.call(this,e,n,r)||this;return e.staticMarkup=null,e.staticRenderTime=0,e.parentComponent=t,e}n(l,u=ie.Component),l.prototype.render=function(){return null},l.mapChildColumnDefs=function(e){return ue.Children.map(e,function(e){return e?l.toColDef(e.props):null})},l.toColDef=function(e){var t=e.children,e=function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}(e,["children"]);return l.hasChildColumns(t)&&(e.children=l.mapChildColumnDefs(t)),e},l.hasChildColumns=function(e){return 0<ue.Children.count(e)};var u,c=l;function l(){return null!==u&&u.apply(this,arguments)||this}function p(e,t){e.forEach(function(e){c[e]=t})}p(se.ColDefUtil.BOOLEAN_PROPERTIES,e.bool),p(se.ColDefUtil.STRING_PROPERTIES,e.string),p(se.ColDefUtil.OBJECT_PROPERTIES,e.object),p(se.ColDefUtil.ARRAY_PROPERTIES,e.array),p(se.ColDefUtil.NUMBER_PROPERTIES,e.number),p(se.ColDefUtil.FUNCTION_PROPERTIES,e.func),(g=t.ChangeDetectionStrategyType||(t.ChangeDetectionStrategyType={})).IdentityCheck="IdentityCheck",g.DeepValueCheck="DeepValueCheck",g.NoCheck="NoCheck";k.prototype.areEqual=function(e,t){return this.strategy(e,t)};var N=k;function k(e){this.strategy=e}f.prototype.areEqual=function(e,t){return f.areEquivalent(f.copy(e),f.copy(t))},f.unwrapStringOrNumber=function(e){return e instanceof Number||e instanceof String?e.valueOf():e},f.copy=function(e){if(!e)return e;if(Array.isArray(e)){for(var t=[],n=0;n<e.length;n++)t.push(this.copy(e[n]));return t}return"object"!=typeof e?e:[{},e].reduce(function(t,n){return Object.keys(n).forEach(function(e){t[e]=n[e]}),t},{})},f.isNaN=function(e){return Number.isNaN?Number.isNaN(e):"number"==typeof e&&isNaN(e)},f.areEquivalent=function(t,n){if(t=f.unwrapStringOrNumber(t),n=f.unwrapStringOrNumber(n),t===n)return!0;if(null===t||null===n||typeof t!=typeof n)return!1;if(f.isNaN(t)&&f.isNaN(n))return!0;if(t instanceof Date)return n instanceof Date&&t.valueOf()===n.valueOf();if("function"==typeof t)return!1;if("object"!=typeof t||t.$$typeof&&"Symbol(react.element)"===t.$$typeof.toString())return t==n;if(Object.isFrozen(t)||Object.isFrozen(n))return t===n;var e=void 0===t.areEquivPropertyTracking,r=void 0===n.areEquivPropertyTracking;try{var o=void 0;if(e)t.areEquivPropertyTracking=[];else if(t.areEquivPropertyTracking.some(function(e){return e===n}))return!0;if(r)n.areEquivPropertyTracking=[];else if(n.areEquivPropertyTracking.some(function(e){return e===t}))return!0;t.areEquivPropertyTracking.push(n),n.areEquivPropertyTracking.push(t);var a={};for(o in t)"areEquivPropertyTracking"!=o&&(a[o]=null);for(o in n)"areEquivPropertyTracking"!=o&&(a[o]=null);for(o in a)if(!this.areEquivalent(t[o],n[o]))return!1;return!0}finally{e&&delete t.areEquivPropertyTracking,r&&delete n.areEquivPropertyTracking}};var A=f;function f(){}x.prototype.getStrategy=function(e){return this.strategyMap[e]};var F=x;function x(){var e;this.strategyMap=((e={})[t.ChangeDetectionStrategyType.DeepValueCheck]=new A,e[t.ChangeDetectionStrategyType.IdentityCheck]=new N(function(e,t){return e===t}),e[t.ChangeDetectionStrategyType.NoCheck]=new N(function(e,t){return!1}),e)}n(m,B=o),m.prototype.init=function(e){var t=this;return this.eParentElement=this.createParentElement(e),this.params=e,this.createOrUpdatePortal(e),new se.AgPromise(function(e){return t.createReactComponent(e)})},m.prototype.createOrUpdatePortal=function(e){var t=this;this.isStatelessComponent()||(e.ref=function(e){t.componentInstance=e,t.addParentContainerStyleAndClasses()}),this.reactElement=ie.createElement(this.reactComponent,ce(ce({},e),{key:this.key})),this.portal=r.createPortal(this.reactElement,this.eParentElement,this.portalKey)},m.prototype.createReactComponent=function(t){this.portalManager.mountReactPortal(this.portal,this,function(e){t(e)})},m.prototype.isNullValue=function(){return this.valueRenderedIsNull(this.params)},m.prototype.rendered=function(){return this.isStatelessComponent()&&this.statelessComponentRendered()||!(this.isStatelessComponent()||!this.getFrameworkComponentInstance())},m.prototype.valueRenderedIsNull=function(e){if(this.componentType.cellRenderer){var t=console.error;try{return console.error=function(){},""===w.renderToStaticMarkup(ie.createElement(this.reactComponent,e))}catch(e){}finally{console.error=t}}return!1},m.prototype.refreshComponent=function(e){this.oldPortal=this.portal,this.createOrUpdatePortal(e),this.portalManager.updateReactPortal(this.oldPortal,this.portal)},m.prototype.fallbackMethod=function(e,t){e=this[e+"Component"];if(e)return e.bind(this)(t)},m.prototype.fallbackMethodAvailable=function(e){return!!this[e+"Component"]};var B,U=m;function m(e,t,n){e=B.call(this,e,t,n)||this;return e.oldPortal=null,e.key=i(),e.portalKey=i(),e}d.prototype.getPortals=function(){return this.portals},d.prototype.destroy=function(){this.destroyed=!0},d.prototype.destroyPortal=function(t){this.portals=this.portals.filter(function(e){return e!==t}),this.batchUpdate()},d.prototype.getComponentWrappingElement=function(){return this.wrappingElement},d.prototype.mountReactPortal=function(e,t,n){this.portals=G(this.portals,[e]),this.waitForInstance(t,n),this.batchUpdate()},d.prototype.updateReactPortal=function(e,t){this.portals[this.portals.indexOf(e)]=t,this.batchUpdate()},d.prototype.batchUpdate=function(){var e=this;this.hasPendingPortalUpdate||(setTimeout(function(){e.destroyed||e.parent.forceUpdate(function(){e.hasPendingPortalUpdate=!1})}),this.hasPendingPortalUpdate=!0)},d.prototype.waitForInstance=function(e,t,n){var r=this;if(void 0===n&&(n=Date.now()),this.destroyed)t(null);else if(e.rendered())t(e);else{if(Date.now()-n>=this.maxComponentCreationTimeMs&&!this.hasPendingPortalUpdate)return e.isNullValue()?void t(e):void console.error("AG Grid: React Component '"+e.getReactComponentName()+"' not created within "+this.maxComponentCreationTimeMs+"ms");window.setTimeout(function(){r.waitForInstance(e,t,n)})}},d.MAX_COMPONENT_CREATION_TIME_IN_MS=1e3;var L=d;function d(e,t,n){this.destroyed=!1,this.portals=[],this.hasPendingPortalUpdate=!1,this.wrappingElement=t||"div",this.parent=e,this.maxComponentCreationTimeMs=n||d.MAX_COMPONENT_CREATION_TIME_IN_MS}function _(e,t,n,r){var o=!e||e.componentFromFramework;if(!o){var a,i,s,o=e.newAgStackInstance();if(o)return s=!1,o.then(function(e){s?t.destroyBean(e):(i=(a=e).getGui(),n.appendChild(i),H(r,a))}),function(){s=!0,a&&(i&&i.parentElement&&i.parentElement.removeChild(i),t.destroyBean(a),r&&H(r,void 0))}}}function H(e,t){e&&(e instanceof Function?e(t):e.current=t)}function me(e){var t=ie.useRef(e),n=ie.useRef(),r=ie.useRef(!1),o=ie.useRef(!1),a=ie.useState(0)[1];r.current&&(o.current=!0),ie.useLayoutEffect(function(){return r.current||(n.current=t.current(),r.current=!0),a(function(e){return e+1}),function(){o.current&&n.current&&n.current()}},[])}function z(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(e){return null!=e&&""!==e}).join(" ")}var le=ue.createContext({}),pe=function(e){var t=ie.useRef(e),n=ie.useRef(),r=ie.useRef(!1),o=ie.useRef(!1),a=ie.useState(0)[1];r.current&&(o.current=!0),ie.useEffect(function(){return r.current||(n.current=t.current(),r.current=!0),a(function(e){return e+1}),function(){o.current&&n.current&&n.current()}},[])},P=(h.prototype.setClass=function(e,t){var n;return!!this.classesMap[e]==t?this:((n=new h).classesMap=ce({},this.classesMap),n.classesMap[e]=t,n)},h.prototype.toString=function(){var t=this;return Object.keys(this.classesMap).filter(function(e){return t.classesMap[e]}).join(" ")},h);function h(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this.classesMap={},e.forEach(function(e){t.classesMap[e]=!0})}function fe(e){return"function"==typeof e&&!(e.prototype&&e.prototype.isReactComponent)||"object"==typeof e&&e.$$typeof===("function"==typeof Symbol&&Symbol.for?Symbol.for("react.memo"):60115)}function $(r,o){pe(function(){var e,t=o.current,n=t.parentElement;if(n)return e=document.createComment(r),n.insertBefore(e,t),function(){n.removeChild(e)}})}var b=ie.forwardRef(function(n,e){var r=ie.useContext(le).context,o=ie.useRef(null),t=ie.useRef(null),a=ie.useRef(null),i=ie.useRef(null),s=ie.useRef(null),u=ie.useState(),c=u[0],l=u[1],u=ie.useState(),p=u[0],f=u[1],u=ie.useState(),m=u[0],d=u[1],u=ie.useState(new P),h=u[0],C=u[1],u=ie.useState(new P("ag-hidden")),g=u[0],y=u[1],u=ie.useState(new P("ag-hidden")),v=u[0],E=u[1],u=ie.useState(new P("ag-invisible")),R=u[0],S=u[1],u=(ie.useImperativeHandle(e,function(){return{refresh:function(){return!1}}}),ie.useEffect(function(){return _(c,r,t.current)},[c]),pe(function(){var e={setInnerRenderer:function(e,t){l(e),d(t)},setChildCount:function(e){return f(e)},addOrRemoveCssClass:function(t,n){return C(function(e){return e.setClass(t,n)})},setContractedDisplayed:function(t){return E(function(e){return e.setClass("ag-hidden",!t)})},setExpandedDisplayed:function(t){return y(function(e){return e.setClass("ag-hidden",!t)})},setCheckboxVisible:function(t){return S(function(e){return e.setClass("ag-invisible",!t)})}},t=r.createBean(new se.GroupCellRendererCtrl);return t.init(e,o.current,a.current,i.current,s.current,b,n),function(){r.destroyBean(t)}}),ie.useMemo(function(){return"ag-cell-wrapper "+h.toString()},[h])),e=ie.useMemo(function(){return"ag-group-expanded "+g.toString()},[g]),w=ie.useMemo(function(){return"ag-group-contracted "+v.toString()},[v]),O=ie.useMemo(function(){return"ag-group-checkbox "+R.toString()},[R]),T=c&&c.componentFromFramework,M=T?c.componentClass:void 0,I=null==c&&null!=m;return ue.createElement("span",ce({className:u,ref:o},n.colDef?{}:{role:"gridcell"}),ue.createElement("span",{className:e,ref:i}),ue.createElement("span",{className:w,ref:s}),ue.createElement("span",{className:O,ref:a}),ue.createElement("span",{className:"ag-group-value",ref:t},I&&ue.createElement(ue.Fragment,null,m),T&&ue.createElement(M,ce({},c.params))),ue.createElement("span",{className:"ag-group-child-count"},p))}),W=ie.memo(function(e){var t=ie.useContext(le).context,n=ie.useState(),r=n[0],o=n[1],n=ie.useState(),a=n[0],i=n[1],n=ie.useState(),s=n[0],u=n[1],n=ie.useState(),c=n[0],l=n[1],n=ie.useState(),p=n[0],f=n[1],n=ie.useState(),m=n[0],d=n[1],h=ie.useRef(null),C=ie.useRef(null),g=ie.useRef(null),y=ie.useRef(),v=e.ctrl,E=ie.useMemo(function(){return new se.CssClassManager(function(){return h.current})},[]),n=(pe(function(){v.setComp({setWidth:function(e){return o(e)},addOrRemoveCssClass:function(e,t){return E.addOrRemoveCssClass(e,t)},setColId:function(e){return u(e)},setTitle:function(e){return i(e)},setAriaDescription:function(e){return f(e)},setAriaSort:function(e){return l(e)},setUserCompDetails:function(e){return d(e)},getUserCompInstance:function(){return y.current||void 0}},h.current,C.current,g.current);var e=v.getSelectAllGui();C.current.insertAdjacentElement("afterend",e)}),ie.useEffect(function(){return _(m,t,g.current,y)},[m]),ie.useEffect(function(){v.setDragSource(h.current)},[m]),ie.useMemo(function(){return{width:r}},[r])),e=ie.useMemo(function(){var e;return!!((null==(e=m)?void 0:e.componentFromFramework)&&fe(m.componentClass))},[m]),R=m&&m.componentFromFramework,S=m&&m.componentClass;return ue.createElement("div",{ref:h,className:"ag-header-cell",style:n,title:a,"col-id":s,"aria-sort":c,role:"columnheader",tabIndex:-1,"aria-description":p},ue.createElement("div",{ref:C,className:"ag-header-cell-resize",role:"presentation"}),ue.createElement("div",{ref:g,className:"ag-header-cell-comp-wrapper",role:"presentation"},R&&e&&ue.createElement(S,ce({},m.params)),R&&!e&&ue.createElement(S,ce({},m.params,{ref:y}))))}),j=ie.memo(function(e){var t=ie.useContext(le).context,n=ie.useState(new P),r=n[0],o=n[1],n=ie.useState(new P),a=n[0],i=n[1],n=ie.useState(),s=n[0],u=n[1],n=ie.useState(),c=n[0],l=n[1],n=ie.useState(),p=n[0],f=n[1],n=ie.useState(),m=n[0],d=n[1],n=ie.useState(),h=n[0],C=n[1],g=ie.useRef(null),y=ie.useRef(null),v=e.ctrl,n=(pe(function(){v.setComp({setWidth:function(e){return u(e)},addOrRemoveCssClass:function(t,n){return o(function(e){return e.setClass(t,n)})},setColId:function(e){return f(e)},setTitle:function(e){return l(e)},setUserCompDetails:function(e){return C(e)},addOrRemoveResizableCssClass:function(t,n){return i(function(e){return e.setClass(t,n)})},setAriaExpanded:function(e){return d(e)}},g.current,y.current)}),ie.useEffect(function(){return _(h,t,g.current)},[h]),ie.useEffect(function(){var t=void 0;g.current.childNodes.forEach(function(e){null!=e&&e!==y.current&&(t=e)}),t&&v.setDragSource(t)},[h]),ie.useMemo(function(){return{width:s}},[s])),e=ie.useMemo(function(){return"ag-header-group-cell "+r.toString()},[r]),E=ie.useMemo(function(){return"ag-header-cell-resize "+a.toString()},[a]),R=h&&h.componentFromFramework,S=h&&h.componentClass;return ue.createElement("div",{ref:g,className:e,style:n,title:c,"col-id":p,role:"columnheader",tabIndex:-1,"aria-expanded":m},R&&ue.createElement(S,ce({},h.params)),ue.createElement("div",{ref:y,className:E}))}),V=ie.memo(function(e){function t(e){g.current||null!=e&&(y.current&&y.current(e),g.current=!0)}var n=ie.useContext(le).context,r=ie.useState(new P),o=r[0],a=r[1],r=ie.useState(new P),i=r[0],s=r[1],r=ie.useState(new P),u=r[0],c=r[1],r=ie.useState(),l=r[0],p=r[1],r=ie.useState(),f=r[0],m=r[1],d=ie.useRef(null),h=ie.useRef(null),r=ie.useRef(null),C=ie.useRef(null),g=ie.useRef(!1),y=ie.useRef(),v=ie.useRef(),E=(pe(function(){v.current=new se.AgPromise(function(e){y.current=e})}),e.ctrl),e=(pe(function(){E.setComp({addOrRemoveCssClass:function(t,n){return a(function(e){return e.setClass(t,n)})},addOrRemoveBodyCssClass:function(t,n){return s(function(e){return e.setClass(t,n)})},addOrRemoveButtonWrapperCssClass:function(t,n){return c(function(e){return e.setClass(t,n)})},setWidth:function(e){return p(e)},setCompDetails:function(e){return m(e)},getFloatingFilterComp:function(){return v.current||null},setMenuIcon:function(e){return C.current.appendChild(e)}},d.current,C.current,h.current)}),ie.useEffect(function(){return _(f,n,h.current,t)},[f]),ie.useMemo(function(){return{width:l}},[l])),R=ie.useMemo(function(){return"ag-header-cell ag-floating-filter "+o.toString()},[o]),S=ie.useMemo(function(){return i.toString()},[i]),w=ie.useMemo(function(){return"ag-floating-filter-button "+u.toString()},[i]),O=ie.useMemo(function(){return!!(f&&f.componentFromFramework&&fe(f.componentClass))},[f]),T=f&&f.componentFromFramework,M=f&&f.componentClass;return ue.createElement("div",{ref:d,className:R,style:e,role:"gridcell",tabIndex:-1},ue.createElement("div",{ref:h,className:S,role:"presentation"},T&&O&&ue.createElement(M,ce({},f.params)),T&&!O&&ue.createElement(M,ce({},f.params,{ref:t}))),ue.createElement("div",{ref:r,className:w,role:"presentation"},ue.createElement("button",{ref:C,type:"button","aria-label":"Open Filter Menu",className:"ag-floating-filter-button-button",tabIndex:-1})))}),q=ie.memo(function(e){var o=ie.useContext(le).gridOptionsWrapper,t=ie.useState(),n=t[0],r=t[1],t=ie.useState(),a=t[0],i=t[1],t=ie.useState(),s=t[0],u=t[1],t=ie.useState(),c=t[0],l=t[1],t=ie.useState(),p=t[0],f=t[1],t=ie.useState([]),m=t[0],d=t[1],t=ie.useRef(null),h=e.ctrl,C=h.getType()===se.HeaderRowType.COLUMN,g=h.getType()===se.HeaderRowType.COLUMN_GROUP,y=h.getType()===se.HeaderRowType.FLOATING_FILTER,v=ie.useCallback(function(e,t){var n,r;return o.isEnsureDomOrder()?t:(n=se._.mapById(e,function(e){return e.getInstanceId()}),r=se._.mapById(t,function(e){return e.getInstanceId()}),G(e.filter(function(e){return r.has(e.getInstanceId())}),t.filter(function(e){return!n.has(e.getInstanceId())})))},[]),e=(pe(function(){h.setComp({setTransform:function(e){return r(e)},setHeight:function(e){return i(e)},setTop:function(e){return u(e)},setHeaderCtrls:function(t){return d(function(e){return v(e,t)})},setWidth:function(e){return l(e)},setAriaRowIndex:function(e){return f(e)}})}),ie.useMemo(function(){return{transform:n,height:a,top:s,width:c}},[n,a,s,c])),E=ie.useMemo(function(){var e=["ag-header-row"];return C&&e.push("ag-header-row-column"),g&&e.push("ag-header-row-column-group"),y&&e.push("ag-header-row-column-filter"),e.join(" ")},[]),R=ie.useCallback(function(e){switch(h.getType()){case se.HeaderRowType.COLUMN_GROUP:return ue.createElement(j,{ctrl:e,key:e.getInstanceId()});case se.HeaderRowType.FLOATING_FILTER:return ue.createElement(V,{ctrl:e,key:e.getInstanceId()});default:return ue.createElement(W,{ctrl:e,key:e.getInstanceId()})}},[]);return ue.createElement("div",{ref:t,className:E,role:"row",style:e,"aria-rowindex":p},m.map(R))}),C=ie.memo(function(n){function e(){return p.map(function(e){return ue.createElement(q,{ctrl:e,key:e.getInstanceId()})})}var t=ie.useState(new P),r=t[0],o=t[1],t=ie.useState(),a=t[0],i=t[1],t=ie.useState(),s=t[0],u=t[1],t=ie.useState(),c=t[0],l=t[1],t=ie.useState([]),p=t[0],f=t[1],m=ie.useContext(le).context,d=ie.useRef(null),t=n.pinned===se.Constants.PINNED_LEFT,h=n.pinned===se.Constants.PINNED_RIGHT,C=!t&&!h,g=(pe(function(){var e={addOrRemoveCssClass:function(t,n){return o(function(e){return e.setClass(t,n)})},setCtrls:function(e){return f(e)},setCenterWidth:function(e){return i(e)},setContainerTransform:function(e){return u(e)},setPinnedContainerWidth:function(e){return l(e)}},t=m.createBean(new se.HeaderRowContainerCtrl(n.pinned));return t.setComp(e,d.current),function(){m.destroyBean(t)}}),ie.useMemo(function(){return r.toString()},[r])),y=ie.useMemo(function(){return{width:a,transform:s}},[a,s]),v=ie.useMemo(function(){return{width:c,minWidth:c,maxWidth:c}},[c]);return ue.createElement(ue.Fragment,null,t&&ue.createElement("div",{ref:d,className:"ag-pinned-left-header "+g,role:"presentation",style:v},e()),h&&ue.createElement("div",{ref:d,className:"ag-pinned-right-header "+g,role:"presentation",style:v},e()),C&&ue.createElement("div",{ref:d,className:"ag-header-viewport "+g,role:"presentation"},ue.createElement("div",{className:"ag-header-container",role:"rowgroup",style:y},e())))}),X=ie.memo(function(){var e=ie.useState(new P),t=e[0],r=e[1],e=ie.useState(),n=e[0],o=e[1],a=ie.useContext(le).context,i=ie.useRef(null),e=(pe(function(){var e={addOrRemoveCssClass:function(t,n){return r(function(e){return e.setClass(t,n)})},setHeightAndMinHeight:function(e){return o(e)}},t=a.createBean(new se.GridHeaderCtrl);return t.setComp(e,i.current,i.current),function(){a.destroyBean(t)}}),ie.useMemo(function(){return"ag-header "+t.toString()},[t])),s=ie.useMemo(function(){return{height:n,minHeight:n}},[n]);return ue.createElement("div",{ref:i,className:e,style:s,role:"presentation"},ue.createElement(C,{pinned:se.Constants.PINNED_LEFT}),ue.createElement(C,{pinned:null}),ue.createElement(C,{pinned:se.Constants.PINNED_RIGHT}))}),de=ie.memo(function(u){var e=ie.useState(),t=e[0],c=e[1],e=ie.useContext(le),l=e.context,p=e.popupService,f=e.gridOptionsWrapper;return pe(function(){var e=u.editDetails,t=u.cellCtrl,n=u.eParentCell,r=e.compDetails,o=f.isStopEditingWhenCellsLoseFocus(),a=l.createBean(new se.PopupEditorWrapper(r.params)),r=a.getGui(),i=(!u.jsChildComp||(i=u.jsChildComp.getGui())&&r.appendChild(i),{column:t.getColumn(),rowNode:t.getRowNode(),type:"popupCellEditor",eventSource:n,ePopup:r,keepWithinBounds:!0}),e=("under"===e.popupPosition?p.positionPopupUnderComponent:p.positionPopupOverComponent).bind(p,i),i=f.getLocaleTextFunc(),o=p.addPopup({modal:o,eChild:r,closeOnEsc:!0,closedCallback:function(){t.onPopupEditorClosed()},anchorToElement:n,positionCallback:e,ariaLabel:i("ariaLabelCellEditor","Cell Editor")}),s=o?o.hideFunc:void 0;return c(a),u.jsChildComp&&u.jsChildComp.afterGuiAttached&&u.jsChildComp.afterGuiAttached(),function(){null!=s&&s(),l.destroyBean(a)}}),ue.createElement(ue.Fragment,null,t&&u.wrappedContent&&r.createPortal(u.wrappedContent,t.getGui()))}),K=ie.memo(function(e){function t(){return ue.createElement(ue.Fragment,null,null!=E&&(i=S,s=ae,u=T,c=k,l=oe,p=te,m=(a=E).compDetails,a=a.value,d=!m,h=m&&m.componentFromFramework,C=m&&m.componentClass,g=null!=(f=a)&&f.toString?a.toString():a,ue.createElement(ue.Fragment,null,c?ue.createElement("span",{role:"presentation",id:"cell-"+s,className:"ag-cell-value",ref:p},y()):y())),null!=R&&(f=R,a=re,c=ne,s=O.current,p=v,e=X,t=f.compDetails,n=t.componentClass,r=t.componentFromFramework&&!f.popup,o=t.componentFromFramework&&f.popup,t=!t.componentFromFramework&&f.popup,ue.createElement(ue.Fragment,null,r&&ue.createElement(n,ce({},f.compDetails.params,{ref:a})),o&&ue.createElement(de,{editDetails:f,cellCtrl:p,eParentCell:s,wrappedContent:ue.createElement(n,ce({},f.compDetails.params,{ref:c}))}),t&&e&&ue.createElement(de,{editDetails:f,cellCtrl:p,eParentCell:s,jsChildComp:e}))));var e,t,n,r,o,a,i,s,u,c,l,p,f,m,d,h,C,g;function y(){return ue.createElement(ue.Fragment,null,d&&ue.createElement(ue.Fragment,null,g),h&&!l&&ue.createElement(C,ce({},m.params,{key:i,ref:u})),h&&l&&ue.createElement(C,ce({},m.params,{key:i})))}}var n,r,o,a,i,s,u,c=ie.useContext(le).context,v=e.cellCtrl,l=e.printLayout,p=e.editingRow,e=ie.useState(),E=e[0],f=e[1],e=ie.useState(),R=e[0],m=e[1],e=ie.useState(1),S=e[0],d=e[1],e=ie.useState(),h=e[0],_=e[1],e=ie.useState(),x=e[0],B=e[1],e=ie.useState(),U=e[0],L=e[1],e=ie.useState(),H=e[0],W=e[1],e=ie.useState(),j=e[0],V=e[1],e=ie.useState(),q=e[0],K=e[1],e=ie.useState(!1),C=e[0],Y=e[1],e=ie.useState(!1),g=e[0],z=e[1],e=ie.useState(!1),y=e[0],$=e[1],e=ie.useState(),X=e[0],w=e[1],e=ie.useMemo(function(){return v.isForceWrapper()},[]),O=ie.useRef(null),T=ie.useRef(null),M=ie.useRef(),I=ie.useRef(),P=ie.useRef(),b=ie.useState(0),Z=b[0],J=b[1],b=ie.useCallback(function(e){P.current=e,J(function(e){return e+1})},[]),D=ie.useRef(),N=ie.useState(0),Q=N[0],ee=N[1],te=ie.useCallback(function(e){D.current=e,ee(function(e){return e+1})},[]),N=null!=E&&(C||y||g),k=e&&!v.isEditing()||N,A=ie.useCallback(function(e,t){var n,r,o,a,i;(I.current=t)&&(e=e,n=t,i=(r=v).getColumn(),!e&&n.isPopup&&n.isPopup()&&(o="AG Grid: Found an issue in column "+i.getColId()+". If using React, specify an editor is a popup using colDef.cellEditorPopup=true. AG Grid React cannot depend on the editor component specifying if it's in a popup (via the isPopup() method on the editor), as React needs to know this information BEFORE the component is created.",se._.doOnce(function(){return console.warn(o)},"jsEditorComp-isPopup-"+r.getColumn().getColId())),e&&n.getPopupPosition&&null!=n.getPopupPosition()&&(a="AG Grid: Found an issue in column "+i.getColId()+". If using React, specify an editor popup position using colDef.cellEditorPopupPosition=true. AG Grid React cannot depend on the editor component specifying it's position (via the getPopupPosition() method on the editor), as React needs to know this information BEFORE the component is created.",se._.doOnce(function(){return console.warn(a)},"jsEditorComp-getPopupPosition-"+r.getColumn().getColId())),t.isCancelBeforeStart&&t.isCancelBeforeStart()&&setTimeout(function(){return v.stopEditing()},0))},[]),ne=ie.useCallback(function(e){return A(!0,e)},[]),re=ie.useCallback(function(e){return A(!1,e)},[]),F=ie.useMemo(function(){return new se.CssClassManager(function(){return O.current})},[]),G=(n=E,r=k,o=D.current,e=Q,a=M,i=O,N=ie.useContext(le),s=N.context,N.userComponentFactory,u=ie.useCallback(function(){var e,t=a.current;t&&((e=t.getGui())&&e.parentElement&&e.parentElement.removeChild(e),s.destroyBean(t),a.current=void 0)},[]),ie.useEffect(function(){var e=n&&n.compDetails&&!n.compDetails.componentFromFramework;if(null!=n&&e&&!(r&&null==o)){e=n.compDetails;if(a.current){var t=a.current,t=null!=t.refresh&&0==n.force&&t.refresh(e.params);if(!0===t||void 0===t)return;u()}t=e.newAgStackInstance();t&&(e=t.resolveNow(null,function(e){return e}))&&(t=e.getGui())&&((r?o:i.current).appendChild(t),a.current=e)}else u()},[n,r,e]),pe(function(){return u}),ie.useRef()),oe=(ie.useEffect(function(){var e=G.current,t=E;G.current=E,null!=e&&null!=e.compDetails&&null!=t&&null!=t.compDetails&&(e=e.compDetails,t=t.compDetails,e.componentClass==t.componentClass&&null!=T.current&&null!=T.current.refresh&&1!=T.current.refresh(t.params)&&d(function(e){return e+1}))},[E]),ie.useEffect(function(){if(R&&!R.compDetails.componentFromFramework){var e,t=R.compDetails,n=!0===R.popup,r=function(e){e=e.newAgStackInstance();if(e)return e.resolveNow(null,function(e){return e})}(t);if(r)return e=r.getGui(),A(n,r),n||(O.current.appendChild(e),r.afterGuiAttached&&r.afterGuiAttached()),w(r),function(){c.destroyBean(r),A(n,void 0),w(void 0),e&&e.parentElement&&e.parentElement.removeChild(e)}}},[R]),ie.useEffect(function(){var n,e;if(v&&c&&(L(P.current?"cell-"+v.getInstanceId():void 0),P.current&&k))return n=[],e=function(e){var t;return e&&(t=e.getGui(),P.current.insertAdjacentElement("afterbegin",t),n.push(function(){c.destroyBean(e),se._.removeFromParent(t)})),e},C&&e(v.createSelectionCheckbox()),y&&e(v.createDndSource()),g&&e(v.createRowDragComp()),function(){return n.forEach(function(e){return e()})}},[k,y,g,C,Z]),me(function(){var e;v&&(e=P.current||void 0,v.setComp({addOrRemoveCssClass:function(e,t){return F.addOrRemoveCssClass(e,t)},setUserStyles:function(e){return _(e)},getFocusableElement:function(){return O.current},setTabIndex:function(e){return B(e)},setRole:function(e){return W(e)},setColId:function(e){return V(e)},setTitle:function(e){return K(e)},setIncludeSelection:function(e){return Y(e)},setIncludeRowDrag:function(e){return z(e)},setIncludeDndSource:function(e){return $(e)},getCellEditor:function(){return I.current||null},getCellRenderer:function(){return T.current||M.current},getParentOfValue:function(){return D.current||P.current||O.current},setRenderDetails:function(e,t,n){f({value:t,compDetails:e,force:n})},setEditDetails:function(e,t,n){e?(m({compDetails:e,popup:t,popupPosition:n}),t||f(void 0)):m(void 0)}},O.current,e,l,p))}),ie.useMemo(function(){return!!(E&&E.compDetails&&E.compDetails.componentFromFramework&&fe(E.compDetails.componentClass))},[E])),ae=(O.current&&!k&&F.addOrRemoveCssClass("ag-cell-value",!k),ie.useMemo(function(){return v.getInstanceId()},[]));return ue.createElement("div",{ref:O,style:h,tabIndex:x,role:H,"col-id":j,title:q,"aria-describedby":U},k?ue.createElement("div",{className:"ag-cell-wrapper",role:"presentation",ref:b},t()):t())}),Y=ie.memo(function(e){var t=ie.useContext(le).context,n=e.rowCtrl,r=e.containerType,e=ie.useState(),o=e[0],a=e[1],e=ie.useState(),i=e[0],s=e[1],e=ie.useState(),u=e[0],c=e[1],e=ie.useState(),l=e[0],p=e[1],e=ie.useState(),f=e[0],m=e[1],e=ie.useState(),d=e[0],h=e[1],e=ie.useState({list:[],instanceIdMap:new Map}),C=e[0],g=e[1],e=ie.useState(),y=e[0],v=e[1],e=ie.useState(!1),E=e[0],R=e[1],e=ie.useState(n.getInitialRowTop()),S=e[0],w=e[1],e=ie.useState(n.getInitialTransform()),O=e[0],T=e[1],M=ie.useRef(null),I=ie.useRef(),P=ie.useRef(!1),e=ie.useState(0),b=e[0],D=e[1],N=(ie.useEffect(function(){var e;P.current||!y||10<b||((e=null==(e=M.current)?void 0:e.firstChild)?(n.setupDetailRowAutoHeight(e),P.current=!0):D(function(e){return e+1}))},[y,b]),ie.useMemo(function(){return new se.CssClassManager(function(){return M.current})},[])),e=(me(function(){n.isAlive()&&n.setComp({setTop:function(e){return w(e)},setTransform:function(e){return T(e)},addOrRemoveCssClass:function(e,t){return N.addOrRemoveCssClass(e,t)},setDomOrder:function(e){return R(e)},setRowIndex:function(e){return a(e)},setRowId:function(e){return s(e)},setRowBusinessKey:function(e){return p(e)},setTabIndex:function(e){return m(e)},setUserStyles:function(e){return h(e)},setRole:function(e){return c(e)},setCellCtrls:function(s){return g(function(e){return n=e,e=s,E?(t={list:e,instanceIdMap:new Map},e.forEach(function(e){return t.instanceIdMap.set(e.getInstanceId(),e)}),t):(r=[],o=[],a=new Map,i=new Map,e.forEach(function(e){return i.set(e.getInstanceId(),e)}),n.list.forEach(function(e){var t=e.getInstanceId();i.has(t)&&(r.push(e),a.set(t,e))}),e.forEach(function(e){var t=e.getInstanceId();n.instanceIdMap.has(t)||(o.push(e),a.set(t,e))}),{list:G(r,o),instanceIdMap:a});var n,t,r,o,a,i})},showFullWidth:function(e){return v(e)},getFullWidthCellRenderer:function(){return I.current}},M.current,r)}),ie.useEffect(function(){return _(y,t,M.current,I)},[y]),ie.useMemo(function(){var e={top:S,transform:O};return Object.assign(e,d),e},[S,O,d])),k=y&&y.componentFromFramework,A=null!=C,F=ie.useMemo(function(){var e;return!!((null==(e=y)?void 0:e.componentFromFramework)&&fe(y.componentClass))},[y]);return ue.createElement("div",{ref:M,role:u,style:e,"row-index":o,"row-id":i,"row-business-key":l,tabIndex:f},A&&C.list.map(function(e){return ue.createElement(K,{cellCtrl:e,editingRow:n.isEditing(),printLayout:n.isPrintLayout(),key:e.getInstanceId()})}),k&&(u=y.componentClass,ue.createElement(ue.Fragment,null,F&&ue.createElement(u,ce({},y.params)),!F&&ue.createElement(u,ce({},y.params,{ref:I})))))}),Z=ie.memo(function(e){function t(){return ue.createElement("div",{className:E,ref:y,role:u.length?"rowgroup":"presentation",style:T},i.map(function(e){return ue.createElement(Y,{rowCtrl:e,containerType:h,key:e.getInstanceId()})}))}var r=ie.useContext(le).context,n=ie.useState(""),o=n[0],a=n[1],n=ie.useState([]),i=n[0],s=n[1],n=ie.useState([]),u=n[0],c=n[1],n=ie.useState(!1),l=n[0],p=n[1],n=ie.useState(""),f=n[0],m=n[1],d=e.name,h=ie.useMemo(function(){return se.getRowContainerTypeForName(d)},[d]),C=ie.useRef(null),g=ie.useRef(null),y=ie.useRef(null),v=ie.useMemo(function(){return se.RowContainerCtrl.getRowContainerCssClasses(d)},[d]),n=ie.useMemo(function(){return z(v.wrapper)},[]),e=ie.useMemo(function(){return z(v.viewport)},[]),E=ie.useMemo(function(){return z(v.container)},[]),R=d===se.RowContainerName.CENTER,S=d===se.RowContainerName.TOP_CENTER||d===se.RowContainerName.BOTTOM_CENTER||d===se.RowContainerName.STICKY_TOP_CENTER,w=!R&&!S,O=($(" AG Row Container "+d+" ",R?C:S?g:y),ie.useEffect(function(){s(function(e){var t;return l?u:(t=e.filter(function(e){return 0<=u.indexOf(e)}),e=u.filter(function(e){return t.indexOf(e)<0}),G(t,e))})},[l,u]),pe(function(){var e=[],t={setViewportHeight:a,setRowCtrls:function(e){return c(e)},setDomOrder:function(e){return p(e)},setContainerWidth:function(e){return m(e)}},n=r.createBean(new se.RowContainerCtrl(d));return e.push(n),n.setComp(t,y.current,g.current,C.current),function(){r.destroyBeans(e)}}),ie.useMemo(function(){return{height:o}},[o])),T=ie.useMemo(function(){return{width:f}},[f]);return ue.createElement(ue.Fragment,null,R&&ue.createElement("div",{className:n,ref:C,role:"presentation"},ue.createElement("div",{className:e,ref:g,role:"presentation",style:O},t())),S&&ue.createElement("div",{className:e,ref:g,role:"presentation",style:O},t()),w&&t())}),J=ie.memo(function(){function o(e){return ue.createElement(Z,{name:e,key:e+"-container"})}function e(e){var t=e.section,n=e.children,r=e.className,e=e.style;return ue.createElement("div",{ref:t,className:r,role:"presentation",style:e},n.map(o))}var t=ie.useContext(le),a=t.context,i=t.agStackComponentsRegistry,s=t.resizeObserverService,t=ie.useState(""),n=t[0],u=t[1],t=ie.useState(0),r=t[0],c=t[1],t=ie.useState(0),l=t[0],p=t[1],t=ie.useState(0),f=t[0],m=t[1],t=ie.useState(0),d=t[0],h=t[1],t=ie.useState("0px"),C=t[0],g=t[1],t=ie.useState("0px"),y=t[0],v=t[1],t=ie.useState("100%"),E=t[0],R=t[1],t=ie.useState(""),S=t[0],w=t[1],t=ie.useState(""),O=t[0],T=t[1],t=ie.useState(null),M=t[0],_=t[1],t=ie.useState(null),I=t[0],x=t[1],t=ie.useState(""),P=t[0],B=t[1],t=ie.useState(null),b=t[0],U=t[1],t=ie.useState("ag-layout-normal"),D=t[0],L=t[1],N=ie.useRef(null),k=ie.useRef(null),A=ie.useRef(null),F=ie.useRef(null),G=ie.useRef(null),t=($(" AG Grid Body ",N),$(" AG Pinned Top ",k),$(" AG Sticky Top ",A),$(" AG Middle ",F),$(" AG Pinned Bottom ",G),pe(function(){var e,t,n=[],r=[];if(a)return e=function(e){e=i.getComponentClass(e),e=a.createBean(new e);return n.push(e),e},N.current.appendChild(document.createComment(" AG Fake Horizontal Scroll ")),N.current.appendChild(e("AG-FAKE-HORIZONTAL-SCROLL").getGui()),N.current.appendChild(document.createComment(" AG Overlay Wrapper ")),N.current.appendChild(e("AG-OVERLAY-WRAPPER").getGui()),e={setRowAnimationCssOnBodyViewport:u,setColumnCount:c,setRowCount:p,setTopHeight:m,setBottomHeight:h,setStickyTopHeight:g,setStickyTopTop:v,setStickyTopWidth:R,setTopDisplay:w,setBottomDisplay:T,setColumnMovingCss:_,updateLayoutClasses:L,setAlwaysVerticalScrollClass:x,setPinnedTopBottomOverflowY:B,setCellSelectableCss:U,registerBodyViewportResizeListener:function(e){var t=s.observeResize(F.current,e);r.push(function(){return t()})}},t=a.createBean(new se.GridBodyCtrl),n.push(t),t.setComp(e,N.current,F.current,k.current,G.current,A.current),function(){a.destroyBeans(n),r.forEach(function(e){return e()})}}),ie.useMemo(function(){return z("ag-root","ag-unselectable",M,D)},[M,D])),H=ie.useMemo(function(){return z("ag-body-viewport",n,D,I,b)},[n,D,I,b]),W=ie.useMemo(function(){return z("ag-floating-top",b)},[b]),j=ie.useMemo(function(){return z("ag-sticky-top",b)},[b]),V=ie.useMemo(function(){return z("ag-floating-bottom",b)},[b]),q=ie.useMemo(function(){return{height:f,minHeight:f,display:S,overflowY:P}},[f,S,P]),K=ie.useMemo(function(){return{height:C,top:y,width:E}},[C,y,E]),Y=ie.useMemo(function(){return{height:d,minHeight:d,display:O,overflowY:P}},[d,O,P]);return ue.createElement("div",{ref:N,className:t,role:"grid","aria-colcount":r,"aria-rowcount":l},ue.createElement(X,null),e({section:k,className:W,style:q,children:[se.RowContainerName.TOP_LEFT,se.RowContainerName.TOP_CENTER,se.RowContainerName.TOP_RIGHT,se.RowContainerName.TOP_FULL_WIDTH]}),e({section:F,className:H,children:[se.RowContainerName.LEFT,se.RowContainerName.CENTER,se.RowContainerName.RIGHT,se.RowContainerName.FULL_WIDTH]}),e({section:A,className:j,style:K,children:[se.RowContainerName.STICKY_TOP_LEFT,se.RowContainerName.STICKY_TOP_CENTER,se.RowContainerName.STICKY_TOP_RIGHT,se.RowContainerName.STICKY_TOP_FULL_WIDTH]}),e({section:G,className:V,style:Y,children:[se.RowContainerName.BOTTOM_LEFT,se.RowContainerName.BOTTOM_CENTER,se.RowContainerName.BOTTOM_RIGHT,se.RowContainerName.BOTTOM_FULL_WIDTH]}))}),g=ie.forwardRef(function(e,t){function n(e){return ue.createElement("div",{className:"ag-tab-guard ag-tab-guard-"+e,role:"presentation",tabIndex:p,ref:"top"===e?u:c})}var r=e.children,o=e.eFocusableElement,a=e.onTabKeyDown,i=e.gridCtrl,s=ie.useContext(le).context,u=ie.useRef(null),c=ie.useRef(null),l=ie.useRef(),e=ie.useState(),p=e[0],f=e[1];ie.useImperativeHandle(t,function(){return{forceFocusOutOfContainer:function(){l.current.forceFocusOutOfContainer()}}}),pe(function(){var e=u.current,t=c.current,n=l.current=s.createBean(new se.TabGuardCtrl({comp:{setTabIndex:function(e){return f(null==e?void 0:parseInt(e,10))}},eTopGuard:e,eBottomGuard:t,eFocusableElement:o,onTabKeyDown:a,focusInnerElement:function(e){return i.focusInnerElement(e)}}));return function(){s.destroyBean(n)}});return ue.createElement(ue.Fragment,null,n("top"),r,n("bottom"))}),Q=ie.memo(g),ee=ie.memo(function(e){var p=e.context,e=ie.useState(""),t=e[0],n=e[1],e=ie.useState(""),r=e[0],o=e[1],e=ie.useState(""),a=e[0],i=e[1],e=ie.useState(null),s=e[0],u=e[1],e=ie.useState(null),c=e[0],l=e[1],e=ie.useState(!1),f=e[0],m=e[1],e=ie.useState(),d=e[0],h=e[1],C=ie.useRef(null),g=ie.useRef(null),y=ie.useRef(),v=ie.useRef(null),E=ie.useRef(function(){}),e=ie.useCallback(function(){},[]),R=ie.useMemo(function(){return p.getBean("beans")},[]),S=($(" AG Grid ",g),pe(function(){var e=C.current=p.createBean(new se.GridCtrl);return function(){p.destroyBean(e),C.current=null}}),pe(function(){var e=C.current,t=(E.current=e.focusInnerElement.bind(e),{destroyGridUi:function(){},setRtlClass:n,addOrRemoveKeyboardFocusClass:function(e){return o(e?se.FocusService.AG_KEYBOARD_FOCUS:"")},forceFocusOutOfContainer:function(){y.current.forceFocusOutOfContainer()},updateLayoutClasses:i,getFocusableContainers:function(){var e=[],t=g.current.querySelector(".ag-root"),n=g.current.querySelector(".ag-side-bar");return t&&e.push(t),n&&e.push(n),e},setCursor:u,setUserSelect:l});e.setComp(t,g.current,g.current),m(!0)}),ie.useEffect(function(){var e,t,n,r,o,a,i,s,u,c,l;if(d)return e=C.current,t=[],c=(o=R.agStackComponentsRegistry).getComponentClass("AG-GRID-HEADER-DROP-ZONES"),u=o.getComponentClass("AG-SIDE-BAR"),n=o.getComponentClass("AG-STATUS-BAR"),r=o.getComponentClass("AG-WATERMARK"),o=o.getComponentClass("AG-PAGINATION"),a=[],i=g.current,s=v.current,e.showDropZones()&&c&&(l=(c=p.createBean(new c)).getGui(),i.insertAdjacentElement("afterbegin",l),a.push(l),t.push(c)),e.showSideBar()&&u&&(l=(c=p.createBean(new u)).getGui(),(u=s.querySelector(".ag-tab-guard-bottom"))&&(u.insertAdjacentElement("beforebegin",l),a.push(l)),t.push(c)),e.showStatusBar()&&n&&(l=(s=p.createBean(new n)).getGui(),i.insertAdjacentElement("beforeend",l),a.push(l),t.push(s)),o&&(l=(u=p.createBean(new o)).getGui(),i.insertAdjacentElement("beforeend",l),a.push(l),t.push(u)),e.showWatermark()&&r&&(l=(c=p.createBean(new r)).getGui(),i.insertAdjacentElement("beforeend",l),a.push(l),t.push(c)),function(){p.destroyBeans(t),a.forEach(function(e){e.parentElement&&e.parentElement.removeChild(e)})}},[d]),ie.useMemo(function(){return z("ag-root-wrapper",t,r,a)},[t,r,a])),w=ie.useMemo(function(){return z("ag-root-wrapper-body","ag-focus-managed",a)},[a]),O=ie.useMemo(function(){return{userSelect:null!=c?c:"",WebkitUserSelect:null!=c?c:"",cursor:null!=s?s:""}},[c,s]),T=v.current,M=ie.useCallback(function(e){y.current=e,h(!0)},[]);return ue.createElement("div",{ref:g,className:S,style:O,role:"presentation"},ue.createElement("div",{className:w,ref:v,role:"presentation"},f&&T&&ue.createElement(le.Provider,{value:R},ue.createElement(Q,{ref:M,eFocusableElement:T,onTabKeyDown:e,gridCtrl:C.current},ue.createElement(J,null)))))});n(y,te=ie.Component),y.prototype.render=function(){return this.state.context,this.state.context&&(this.renderedAfterMount=!0),ue.createElement("div",{style:this.createStyleForDiv(),className:this.props.className,ref:this.eGui},this.state.context&&ue.createElement(ee,{context:this.state.context}),this.portalManager.getPortals())},y.prototype.createStyleForDiv=function(){return ce({height:"100%"},this.props.containerStyle||{})},y.prototype.componentDidMount=function(){var e,t,n=this;this.mounted||(this.mounted=!0,e=this.props.modules||[],e={providedBeanInstances:{frameworkComponentWrapper:new oe(this.portalManager)},modules:e,frameworkOverrides:new ge(!0)},this.gridOptions=this.props.gridOptions||{},t=this.props.children,c.hasChildColumns(t)&&(this.gridOptions.columnDefs=c.mapChildColumnDefs(t)),this.gridOptions=se.ComponentUtil.copyAttributesToGridOptions(this.gridOptions,this.props),(new se.GridCoreCreator).create(this.eGui.current,this.gridOptions,function(e){n.setState({context:e}),e.getBean(se.CtrlsService.NAME).whenReady(function(){n.api=n.gridOptions.api,n.columnApi=n.gridOptions.columnApi,n.props.setGridApi(n.api,n.columnApi),n.destroyFuncs.push(function(){return n.api.destroy()})})},function(e){e.getBean(se.CtrlsService.NAME).whenReady(function(){n.whenReadyFuncs.forEach(function(e){return e()}),n.whenReadyFuncs.length=0,n.ready=!0})},e))},y.prototype.componentWillUnmount=function(){this.renderedAfterMount&&(this.destroyFuncs.forEach(function(e){return e()}),this.destroyFuncs.length=0)},y.prototype.componentDidUpdate=function(e){this.processPropsChanges(e,this.props)},y.prototype.processPropsChanges=function(e,t){var n={};this.extractGridPropertyChanges(e,t,n),this.extractDeclarativeColDefChanges(t,n),this.processChanges(n)},y.prototype.extractDeclarativeColDefChanges=function(e,t){var n,r,o,a;this.props.gridOptions&&this.props.gridOptions.columnDefs||this.props.columnDefs||(n=!!e.debug,r="columnDefs",o=this.gridOptions.columnDefs,c.hasChildColumns(e.children)?(a=this.changeDetectionService.getStrategy(this.getStrategyTypeForProp(r)),e=c.mapChildColumnDefs(e.children),a.areEqual(o,e)||(n&&console.log("agGridReact: colDefs definitions changed"),t[r]={previousValue:o,currentValue:e})):o&&0<o.length&&(t[r]={previousValue:o,currentValue:[]}))},y.prototype.extractGridPropertyChanges=function(t,n,r){var o=this,a=!!n.debug;Object.keys(n).forEach(function(e){se._.includes(se.ComponentUtil.ALL_PROPERTIES,e)&&!o.changeDetectionService.getStrategy(o.getStrategyTypeForProp(e)).areEqual(t[e],n[e])&&(a&&console.log("agGridReact: ["+e+"] property changed"),r[e]={previousValue:t[e],currentValue:n[e]})}),se.ComponentUtil.getEventCallbacks().forEach(function(e){t[e]!==n[e]&&(a&&console.log("agGridReact: ["+e+"] event callback changed"),r[e]={previousValue:t[e],currentValue:n[e]})})},y.prototype.processChanges=function(e){var t=this;this.processWhenReady(function(){return se.ComponentUtil.processOnChange(e,t.gridOptions,t.api,t.columnApi)})},y.prototype.processWhenReady=function(e){this.ready?e():this.whenReadyFuncs.push(e)},y.prototype.getStrategyTypeForProp=function(e){if("rowData"===e){if(this.props.rowDataChangeDetectionStrategy)return this.props.rowDataChangeDetectionStrategy;if(this.isImmutableDataActive())return t.ChangeDetectionStrategyType.IdentityCheck}return t.ChangeDetectionStrategyType.DeepValueCheck},y.prototype.isImmutableDataActive=function(){return this.props.deltaRowDataMode||this.props.immutableData||null!=this.props.getRowId||this.props.gridOptions&&(this.props.gridOptions.deltaRowDataMode||this.props.gridOptions.immutableData||null!=this.props.gridOptions.getRowId)};var te,ne=y;function y(e){var t=te.call(this,e)||this;return t.props=e,t.destroyFuncs=[],t.changeDetectionService=new F,t.eGui=ue.createRef(),t.whenReadyFuncs=[],t.ready=!1,t.renderedAfterMount=!1,t.mounted=!1,t.state={context:void 0},t.portalManager=new L(t,e.componentWrappingElement,e.maxComponentCreationTimeMs),t.destroyFuncs.push(function(){return t.portalManager.destroy()}),t}n(ae,re=se.BaseComponentWrapper),ae.prototype.createWrapper=function(e,t){return new U(e,this.parent,t)};var re,oe=ae;function ae(e){var t=re.call(this)||this;return t.parent=e,t}var he,Ce=ie.forwardRef(function(r,e){var t=ie.useContext(le),o=t.ctrlsFactory,a=t.context,i=t.gridOptionsWrapper,s=t.resizeObserverService,u=t.clientSideRowModel,c=t.serverSideRowModel,t=ie.useState(new P),n=t[0],l=t[1],t=ie.useState(new P),p=t[0],f=t[1],t=ie.useState(),m=t[0],d=t[1],t=ie.useState(),h=t[0],C=t[1],g=ie.useRef(),y=ie.useRef(null),t=ie.useMemo(function(){return n.toString()+" ag-details-row"},[n]),v=ie.useMemo(function(){return p.toString()+" ag-details-grid"},[p]),e=(e&&ie.useImperativeHandle(e,function(){return{refresh:function(){return g.current.refresh()}}}),pe(function(){r.template&&"string"==typeof r.template&&console.warn("AG Grid: detailCellRendererParams.template is not supported by React - this only works with frameworks that work against String templates. To change the template, please provide your own React Detail Cell Renderer.")}),pe(function(){var e,t={addOrRemoveCssClass:function(t,n){return l(function(e){return e.setClass(t,n)})},addOrRemoveDetailGridCssClass:function(t,n){return f(function(e){return e.setClass(t,n)})},setDetailGrid:function(e){return d(e)},setRowData:function(e){return C(e)},getGui:function(){return y.current}},n=o.getInstance("detailCellRenderer");if(n)return a.createBean(n),n.init(t,r),g.current=n,i.isDetailRowAutoHeight()&&(e=s.observeResize(y.current,t=function(){var e;null!=y.current&&null!=(e=y.current.clientHeight)&&0<e&&setTimeout(function(){r.node.setRowHeight(e),u?u.onRowHeightChanged():c&&c.onRowHeightChanged()},0)}),t()),function(){a.destroyBean(n),e&&e()}}),ie.useCallback(function(e,t){g.current.registerDetailWithMaster(e,t)},[]));return ue.createElement("div",{className:t,ref:y},m&&ue.createElement(ne,ce({className:v},m,{rowData:h,setGridApi:e})))}),ge=(n(v,he=se.VanillaFrameworkOverrides),v.prototype.frameworkComponent=function(e){if(this.reactUi)return this.frameworkComponents[e]},v.prototype.isFrameworkComponent=function(e){return!!e&&!((e=e.prototype)&&"getGui"in e)},v);function v(e){var t=he.call(this)||this;return t.frameworkComponents={agGroupCellRenderer:b,agGroupRowRenderer:b,agDetailCellRenderer:Ce},t.reactUi=e,t}n(R,ye=ie.Component),R.prototype.render=function(){var t=this;return ue.createElement("div",{style:this.createStyleForDiv(),className:this.props.className,ref:function(e){t.eGridDiv=e}},this.portalManager.getPortals())},R.prototype.createStyleForDiv=function(){return ce({height:"100%"},this.props.containerStyle||{})},R.prototype.componentDidMount=function(){var e=this.props.modules||[],e={providedBeanInstances:{agGridReact:this,frameworkComponentWrapper:new Ee(this,this.portalManager)},modules:e,frameworkOverrides:new ge(!1)},t=this.props.gridOptions||{},n=this.props.children;c.hasChildColumns(n)&&(t.columnDefs=c.mapChildColumnDefs(n)),this.gridOptions=se.ComponentUtil.copyAttributesToGridOptions(t,this.props),new se.Grid(this.eGridDiv,this.gridOptions,e),this.api=this.gridOptions.api,this.columnApi=this.gridOptions.columnApi,this.props.setGridApi(this.api,this.columnApi)},R.prototype.getStrategyTypeForProp=function(e){if("rowData"===e){if(this.props.rowDataChangeDetectionStrategy)return this.props.rowDataChangeDetectionStrategy;if(this.isImmutableDataActive())return t.ChangeDetectionStrategyType.IdentityCheck}return t.ChangeDetectionStrategyType.DeepValueCheck},R.prototype.isImmutableDataActive=function(){return this.props.deltaRowDataMode||this.props.immutableData||null!=this.props.getRowId||this.props.gridOptions&&(this.props.gridOptions.deltaRowDataMode||this.props.gridOptions.immutableData||null!=this.props.gridOptions.getRowId)},R.prototype.shouldComponentUpdate=function(e){return this.processPropsChanges(this.props,e),!1},R.prototype.componentDidUpdate=function(e){this.processPropsChanges(e,this.props)},R.prototype.processPropsChanges=function(e,t){var n={};this.extractGridPropertyChanges(e,t,n),this.extractDeclarativeColDefChanges(t,n),this.processSynchronousChanges(n),this.processAsynchronousChanges(n)},R.prototype.extractDeclarativeColDefChanges=function(e,t){var n,r,o,a;this.props.gridOptions&&this.props.gridOptions.columnDefs||this.props.columnDefs||(n=!!e.debug,r="columnDefs",o=this.gridOptions.columnDefs,c.hasChildColumns(e.children)?(a=this.changeDetectionService.getStrategy(this.getStrategyTypeForProp(r)),e=c.mapChildColumnDefs(e.children),a.areEqual(o,e)||(n&&console.log("agGridReact: colDefs definitions changed"),t[r]={previousValue:o,currentValue:e})):o&&0<o.length&&(t[r]={previousValue:o,currentValue:[]}))},R.prototype.extractGridPropertyChanges=function(t,n,r){var o=this,a=!!n.debug;Object.keys(n).forEach(function(e){se._.includes(se.ComponentUtil.ALL_PROPERTIES,e)&&!o.changeDetectionService.getStrategy(o.getStrategyTypeForProp(e)).areEqual(t[e],n[e])&&(a&&console.log("agGridReact: ["+e+"] property changed"),r[e]={previousValue:t[e],currentValue:n[e]})}),se.ComponentUtil.getEventCallbacks().forEach(function(e){t[e]!==n[e]&&(a&&console.log("agGridReact: ["+e+"] event callback changed"),r[e]={previousValue:t[e],currentValue:n[e]})})},R.prototype.componentWillUnmount=function(){this.api&&(this.api.destroy(),this.api=null),this.destroyed=!0,this.portalManager.destroy()},R.prototype.isDisableStaticMarkup=function(){return!0===this.props.disableStaticMarkup},R.prototype.isLegacyComponentRendering=function(){return!0===this.props.legacyComponentRendering},R.prototype.processSynchronousChanges=function(e){var t,n=ce({},e);return 0<Object.keys(n).length&&(t={},this.SYNCHRONOUS_CHANGE_PROPERTIES.forEach(function(e){n[e]&&(t[e]=n[e],delete n[e])}),0<Object.keys(t).length&&this.api&&se.ComponentUtil.processOnChange(t,this.gridOptions,this.api,this.columnApi)),n},R.prototype.processAsynchronousChanges=function(e){var t=this;0<Object.keys(e).length&&window.setTimeout(function(){t.api&&se.ComponentUtil.processOnChange(e,t.gridOptions,t.api,t.columnApi)})},R.defaultProps={legacyComponentRendering:!1,disableStaticMarkup:!1,maxComponentCreationTimeMs:R.MAX_COMPONENT_CREATION_TIME_IN_MS=1e3};var ye,E=R;function R(e){var t=ye.call(this,e)||this;return t.props=e,t.changeDetectionService=new F,t.api=null,t.destroyed=!1,t.SYNCHRONOUS_CHANGE_PROPERTIES=["context"],t.portalManager=new L(t,e.componentWrappingElement,e.maxComponentCreationTimeMs),t}function S(e,t){e.forEach(function(e){E[e]=t})}E.propTypes={gridOptions:e.object},S(se.ComponentUtil.getEventCallbacks(),e.func),S(se.ComponentUtil.BOOLEAN_PROPERTIES,e.bool),S(se.ComponentUtil.STRING_PROPERTIES,e.string),S(se.ComponentUtil.OBJECT_PROPERTIES,e.object),S(se.ComponentUtil.ARRAY_PROPERTIES,e.array),S(se.ComponentUtil.NUMBER_PROPERTIES,e.number),S(se.ComponentUtil.FUNCTION_PROPERTIES,e.func);n(Re,ve=se.BaseComponentWrapper),Re.prototype.createWrapper=function(e,t){return this.agGridReact.isLegacyComponentRendering()?new D(e,this.agGridReact,this.portalManager,t):new U(e,this.portalManager,t)};var ve,Ee=Re;function Re(e,t){var n=ve.call(this)||this;return n.agGridReact=e,n.portalManager=t,n}n(we,Se=ie.Component),we.prototype.render=function(){return this.props.suppressReactUi?ue.createElement(E,ce({},this.props,{setGridApi:this.setGridApi})):ue.createElement(ne,ce({},this.props,{setGridApi:this.setGridApi}))};var Se,o=we;function we(){var n=null!==Se&&Se.apply(this,arguments)||this;return n.setGridApi=function(e,t){n.api=e,n.columnApi=t},n}t.AgGridReact=o,t.AgGridReactLegacy=E,t.AgGridReactFire=ne,t.AgGridColumn=c,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
define(["exports","prop-types","react-dom/server","react-dom","react","agGrid"],function(t,e,w,r,ie,se){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var ue="default"in ie?ie.default:ie,O=function(e,t){return(O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function n(e,t){function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ce=function(){return(ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function G(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)r[o]=a[i];return r}n(a,T=function(){}),a.prototype.getGui=function(){return this.eParentElement},a.prototype.destroy=function(){return this.componentInstance&&"function"==typeof this.componentInstance.destroy&&this.componentInstance.destroy(),this.portalManager.destroyPortal(this.portal)},a.prototype.createParentElement=function(e){var t=this.portalManager.getComponentWrappingElement(),t=document.createElement(t||"div");return t.classList.add("ag-react-container"),e.reactContainer=t},a.prototype.addParentContainerStyleAndClasses=function(){var t=this;this.componentInstance&&(this.componentInstance.getReactContainerStyle&&this.componentInstance.getReactContainerStyle()&&Object.assign(this.eParentElement.style,this.componentInstance.getReactContainerStyle()),this.componentInstance.getReactContainerClasses&&this.componentInstance.getReactContainerClasses()&&this.componentInstance.getReactContainerClasses().forEach(function(e){return t.eParentElement.classList.add(e)}))},a.prototype.statelessComponentRendered=function(){return 0<this.eParentElement.childElementCount||0<this.eParentElement.childNodes.length},a.prototype.getFrameworkComponentInstance=function(){return this.componentInstance},a.prototype.isStatelessComponent=function(){return this.statelessComponent},a.prototype.getReactComponentName=function(){return this.reactComponent.name},a.prototype.getMemoType=function(){return this.hasSymbol()?Symbol.for("react.memo"):60115},a.prototype.hasSymbol=function(){return"function"==typeof Symbol&&Symbol.for},a.prototype.isStateless=function(e){return"function"==typeof e&&!(e.prototype&&e.prototype.isReactComponent)||"object"==typeof e&&e.$$typeof===this.getMemoType()},a.prototype.hasMethod=function(e){var t=this.getFrameworkComponentInstance();return!!t&&null!==t[e]||this.fallbackMethodAvailable(e)},a.prototype.callMethod=function(e,t){var n,r=this,o=this.getFrameworkComponentInstance();return this.isStatelessComponent()?this.fallbackMethod(e,t&&t[0]?t[0]:{}):o?(n=o[e])?n.apply(o,t):this.fallbackMethodAvailable(e)?this.fallbackMethod(e,t&&t[0]?t[0]:{}):void 0:void setTimeout(function(){return r.callMethod(e,t)})},a.prototype.addMethod=function(e,t){this[e]=t};var T,o=a;function a(e,t,n){var r=T.call(this)||this;return r.portal=null,r.reactComponent=e,r.portalManager=t,r.componentType=n,r.statelessComponent=r.isStateless(r.reactComponent),r}var M=0;function i(){return"agPortalKey_"+ ++M}n(s,I=o),s.prototype.init=function(t){var n=this;return this.eParentElement=this.createParentElement(t),this.renderStaticMarkup(t),new se.AgPromise(function(e){return n.createReactComponent(t,e)})},s.prototype.createReactComponent=function(e,t){var n=this,e=(this.isStatelessComponent()||(e.ref=function(e){n.componentInstance=e,n.addParentContainerStyleAndClasses(),n.removeStaticMarkup()}),ie.createElement(this.reactComponent,e)),e=r.createPortal(e,this.eParentElement,i());this.portal=e,this.portalManager.mountReactPortal(e,this,function(e){t(e),n.isStatelessComponent()&&(n.isSlowRenderer()&&n.removeStaticMarkup(),setTimeout(function(){n.removeStaticMarkup()}))})},s.prototype.fallbackMethodAvailable=function(e){return!1},s.prototype.fallbackMethod=function(e,t){},s.prototype.isSlowRenderer=function(){return this.staticRenderTime>=s.SLOW_RENDERING_THRESHOLD},s.prototype.isNullValue=function(){return""===this.staticMarkup},s.prototype.renderStaticMarkup=function(e){if(!this.parentComponent.isDisableStaticMarkup()&&this.componentType.cellRenderer){var t=console.error,e=ie.createElement(this.reactComponent,e);try{console.error=function(){};var n=Date.now(),r=w.renderToStaticMarkup(e);this.staticRenderTime=Date.now()-n,console.error=t,""===r?this.staticMarkup=r:r&&(this.staticMarkup=document.createElement("span"),this.staticMarkup.innerHTML=r,this.eParentElement.appendChild(this.staticMarkup))}catch(e){}finally{console.error=t}}},s.prototype.removeStaticMarkup=function(){!this.parentComponent.isDisableStaticMarkup()&&this.componentType.cellRenderer&&this.staticMarkup&&(this.staticMarkup.remove?(this.staticMarkup.remove(),this.staticMarkup=null):this.eParentElement.removeChild&&(this.eParentElement.removeChild(this.staticMarkup),this.staticMarkup=null))},s.prototype.rendered=function(){return this.isNullValue()||!!this.staticMarkup||this.isStatelessComponent()&&this.statelessComponentRendered()||!(this.isStatelessComponent()||!this.getFrameworkComponentInstance())},s.SLOW_RENDERING_THRESHOLD=3;var I,D=s;function s(e,t,n,r){e=I.call(this,e,n,r)||this;return e.staticMarkup=null,e.staticRenderTime=0,e.parentComponent=t,e}n(l,u=ie.Component),l.prototype.render=function(){return null},l.mapChildColumnDefs=function(e){return ue.Children.map(e,function(e){return e?l.toColDef(e.props):null})},l.toColDef=function(e){var t=e.children,e=function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}(e,["children"]);return l.hasChildColumns(t)&&(e.children=l.mapChildColumnDefs(t)),e},l.hasChildColumns=function(e){return 0<ue.Children.count(e)};var u,c=l;function l(){return null!==u&&u.apply(this,arguments)||this}function p(e,t){e.forEach(function(e){c[e]=t})}p(se.ColDefUtil.BOOLEAN_PROPERTIES,e.bool),p(se.ColDefUtil.STRING_PROPERTIES,e.string),p(se.ColDefUtil.OBJECT_PROPERTIES,e.object),p(se.ColDefUtil.ARRAY_PROPERTIES,e.array),p(se.ColDefUtil.NUMBER_PROPERTIES,e.number),p(se.ColDefUtil.FUNCTION_PROPERTIES,e.func),(g=t.ChangeDetectionStrategyType||(t.ChangeDetectionStrategyType={})).IdentityCheck="IdentityCheck",g.DeepValueCheck="DeepValueCheck",g.NoCheck="NoCheck";k.prototype.areEqual=function(e,t){return this.strategy(e,t)};var N=k;function k(e){this.strategy=e}f.prototype.areEqual=function(e,t){return f.areEquivalent(f.copy(e),f.copy(t))},f.unwrapStringOrNumber=function(e){return e instanceof Number||e instanceof String?e.valueOf():e},f.copy=function(e){if(!e)return e;if(Array.isArray(e)){for(var t=[],n=0;n<e.length;n++)t.push(this.copy(e[n]));return t}return"object"!=typeof e?e:[{},e].reduce(function(t,n){return Object.keys(n).forEach(function(e){t[e]=n[e]}),t},{})},f.isNaN=function(e){return Number.isNaN?Number.isNaN(e):"number"==typeof e&&isNaN(e)},f.areEquivalent=function(t,n){if(t=f.unwrapStringOrNumber(t),n=f.unwrapStringOrNumber(n),t===n)return!0;if(null===t||null===n||typeof t!=typeof n)return!1;if(f.isNaN(t)&&f.isNaN(n))return!0;if(t instanceof Date)return n instanceof Date&&t.valueOf()===n.valueOf();if("function"==typeof t)return!1;if("object"!=typeof t||t.$$typeof&&"Symbol(react.element)"===t.$$typeof.toString())return t==n;if(Object.isFrozen(t)||Object.isFrozen(n))return t===n;var e=void 0===t.areEquivPropertyTracking,r=void 0===n.areEquivPropertyTracking;try{var o=void 0;if(e)t.areEquivPropertyTracking=[];else if(t.areEquivPropertyTracking.some(function(e){return e===n}))return!0;if(r)n.areEquivPropertyTracking=[];else if(n.areEquivPropertyTracking.some(function(e){return e===t}))return!0;t.areEquivPropertyTracking.push(n),n.areEquivPropertyTracking.push(t);var a={};for(o in t)"areEquivPropertyTracking"!=o&&(a[o]=null);for(o in n)"areEquivPropertyTracking"!=o&&(a[o]=null);for(o in a)if(!this.areEquivalent(t[o],n[o]))return!1;return!0}finally{e&&delete t.areEquivPropertyTracking,r&&delete n.areEquivPropertyTracking}};var A=f;function f(){}x.prototype.getStrategy=function(e){return this.strategyMap[e]};var F=x;function x(){var e;this.strategyMap=((e={})[t.ChangeDetectionStrategyType.DeepValueCheck]=new A,e[t.ChangeDetectionStrategyType.IdentityCheck]=new N(function(e,t){return e===t}),e[t.ChangeDetectionStrategyType.NoCheck]=new N(function(e,t){return!1}),e)}n(m,B=o),m.prototype.init=function(e){var t=this;return this.eParentElement=this.createParentElement(e),this.params=e,this.createOrUpdatePortal(e),new se.AgPromise(function(e){return t.createReactComponent(e)})},m.prototype.createOrUpdatePortal=function(e){var t=this;this.isStatelessComponent()||(e.ref=function(e){t.componentInstance=e,t.addParentContainerStyleAndClasses()}),this.reactElement=ie.createElement(this.reactComponent,ce(ce({},e),{key:this.key})),this.portal=r.createPortal(this.reactElement,this.eParentElement,this.portalKey)},m.prototype.createReactComponent=function(t){this.portalManager.mountReactPortal(this.portal,this,function(e){t(e)})},m.prototype.isNullValue=function(){return this.valueRenderedIsNull(this.params)},m.prototype.rendered=function(){return this.isStatelessComponent()&&this.statelessComponentRendered()||!(this.isStatelessComponent()||!this.getFrameworkComponentInstance())},m.prototype.valueRenderedIsNull=function(e){if(this.componentType.cellRenderer){var t=console.error;try{return console.error=function(){},""===w.renderToStaticMarkup(ie.createElement(this.reactComponent,e))}catch(e){}finally{console.error=t}}return!1},m.prototype.refreshComponent=function(e){this.oldPortal=this.portal,this.createOrUpdatePortal(e),this.portalManager.updateReactPortal(this.oldPortal,this.portal)},m.prototype.fallbackMethod=function(e,t){e=this[e+"Component"];if(e)return e.bind(this)(t)},m.prototype.fallbackMethodAvailable=function(e){return!!this[e+"Component"]};var B,U=m;function m(e,t,n){e=B.call(this,e,t,n)||this;return e.oldPortal=null,e.key=i(),e.portalKey=i(),e}d.prototype.getPortals=function(){return this.portals},d.prototype.destroy=function(){this.destroyed=!0},d.prototype.destroyPortal=function(t){this.portals=this.portals.filter(function(e){return e!==t}),this.batchUpdate()},d.prototype.getComponentWrappingElement=function(){return this.wrappingElement},d.prototype.mountReactPortal=function(e,t,n){this.portals=G(this.portals,[e]),this.waitForInstance(t,n),this.batchUpdate()},d.prototype.updateReactPortal=function(e,t){this.portals[this.portals.indexOf(e)]=t,this.batchUpdate()},d.prototype.batchUpdate=function(){var e=this;this.hasPendingPortalUpdate||(setTimeout(function(){e.destroyed||e.parent.forceUpdate(function(){e.hasPendingPortalUpdate=!1})}),this.hasPendingPortalUpdate=!0)},d.prototype.waitForInstance=function(e,t,n){var r=this;if(void 0===n&&(n=Date.now()),this.destroyed)t(null);else if(e.rendered())t(e);else{if(Date.now()-n>=this.maxComponentCreationTimeMs&&!this.hasPendingPortalUpdate)return e.isNullValue()?void t(e):void console.error("AG Grid: React Component '"+e.getReactComponentName()+"' not created within "+this.maxComponentCreationTimeMs+"ms");window.setTimeout(function(){r.waitForInstance(e,t,n)})}},d.MAX_COMPONENT_CREATION_TIME_IN_MS=1e3;var L=d;function d(e,t,n){this.destroyed=!1,this.portals=[],this.hasPendingPortalUpdate=!1,this.wrappingElement=t||"div",this.parent=e,this.maxComponentCreationTimeMs=n||d.MAX_COMPONENT_CREATION_TIME_IN_MS}function _(e,t,n,r){var o=!e||e.componentFromFramework;if(!o){var a,i,s,o=e.newAgStackInstance();if(o)return s=!1,o.then(function(e){s?t.destroyBean(e):(i=(a=e).getGui(),n.appendChild(i),H(r,a))}),function(){s=!0,a&&(i&&i.parentElement&&i.parentElement.removeChild(i),t.destroyBean(a),r&&H(r,void 0))}}}function H(e,t){e&&(e instanceof Function?e(t):e.current=t)}function me(e){var t=ie.useRef(e),n=ie.useRef(),r=ie.useRef(!1),o=ie.useRef(!1),a=ie.useState(0)[1];r.current&&(o.current=!0),ie.useLayoutEffect(function(){return r.current||(n.current=t.current(),r.current=!0),a(function(e){return e+1}),function(){o.current&&n.current&&n.current()}},[])}function z(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(e){return null!=e&&""!==e}).join(" ")}var le=ue.createContext({}),pe=function(e){var t=ie.useRef(e),n=ie.useRef(),r=ie.useRef(!1),o=ie.useRef(!1),a=ie.useState(0)[1];r.current&&(o.current=!0),ie.useEffect(function(){return r.current||(n.current=t.current(),r.current=!0),a(function(e){return e+1}),function(){o.current&&n.current&&n.current()}},[])},P=(h.prototype.setClass=function(e,t){var n;return!!this.classesMap[e]==t?this:((n=new h).classesMap=ce({},this.classesMap),n.classesMap[e]=t,n)},h.prototype.toString=function(){var t=this;return Object.keys(this.classesMap).filter(function(e){return t.classesMap[e]}).join(" ")},h);function h(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this.classesMap={},e.forEach(function(e){t.classesMap[e]=!0})}function fe(e){return"function"==typeof e&&!(e.prototype&&e.prototype.isReactComponent)||"object"==typeof e&&e.$$typeof===("function"==typeof Symbol&&Symbol.for?Symbol.for("react.memo"):60115)}function $(r,o){pe(function(){var e,t=o.current,n=t.parentElement;if(n)return e=document.createComment(r),n.insertBefore(e,t),function(){n.removeChild(e)}})}var b=ie.forwardRef(function(n,e){var r=ie.useContext(le).context,o=ie.useRef(null),t=ie.useRef(null),a=ie.useRef(null),i=ie.useRef(null),s=ie.useRef(null),u=ie.useState(),c=u[0],l=u[1],u=ie.useState(),p=u[0],f=u[1],u=ie.useState(),m=u[0],d=u[1],u=ie.useState(new P),h=u[0],C=u[1],u=ie.useState(new P("ag-hidden")),g=u[0],y=u[1],u=ie.useState(new P("ag-hidden")),v=u[0],E=u[1],u=ie.useState(new P("ag-invisible")),R=u[0],S=u[1],u=(ie.useImperativeHandle(e,function(){return{refresh:function(){return!1}}}),ie.useEffect(function(){return _(c,r,t.current)},[c]),pe(function(){var e={setInnerRenderer:function(e,t){l(e),d(t)},setChildCount:function(e){return f(e)},addOrRemoveCssClass:function(t,n){return C(function(e){return e.setClass(t,n)})},setContractedDisplayed:function(t){return E(function(e){return e.setClass("ag-hidden",!t)})},setExpandedDisplayed:function(t){return y(function(e){return e.setClass("ag-hidden",!t)})},setCheckboxVisible:function(t){return S(function(e){return e.setClass("ag-invisible",!t)})}},t=r.createBean(new se.GroupCellRendererCtrl);return t.init(e,o.current,a.current,i.current,s.current,b,n),function(){r.destroyBean(t)}}),ie.useMemo(function(){return"ag-cell-wrapper "+h.toString()},[h])),e=ie.useMemo(function(){return"ag-group-expanded "+g.toString()},[g]),w=ie.useMemo(function(){return"ag-group-contracted "+v.toString()},[v]),O=ie.useMemo(function(){return"ag-group-checkbox "+R.toString()},[R]),T=c&&c.componentFromFramework,M=T?c.componentClass:void 0,I=null==c&&null!=m,m=se._.escapeString(m,!0);return ue.createElement("span",ce({className:u,ref:o},n.colDef?{}:{role:"gridcell"}),ue.createElement("span",{className:e,ref:i}),ue.createElement("span",{className:w,ref:s}),ue.createElement("span",{className:O,ref:a}),ue.createElement("span",{className:"ag-group-value",ref:t},I&&ue.createElement(ue.Fragment,null,m),T&&ue.createElement(M,ce({},c.params))),ue.createElement("span",{className:"ag-group-child-count"},p))}),W=ie.memo(function(e){var t=ie.useContext(le).context,n=ie.useState(),r=n[0],o=n[1],n=ie.useState(),a=n[0],i=n[1],n=ie.useState(),s=n[0],u=n[1],n=ie.useState(),c=n[0],l=n[1],n=ie.useState(),p=n[0],f=n[1],n=ie.useState(),m=n[0],d=n[1],h=ie.useRef(null),C=ie.useRef(null),g=ie.useRef(null),y=ie.useRef(),v=e.ctrl,E=ie.useMemo(function(){return new se.CssClassManager(function(){return h.current})},[]),n=(pe(function(){v.setComp({setWidth:function(e){return o(e)},addOrRemoveCssClass:function(e,t){return E.addOrRemoveCssClass(e,t)},setColId:function(e){return u(e)},setTitle:function(e){return i(e)},setAriaDescription:function(e){return f(e)},setAriaSort:function(e){return l(e)},setUserCompDetails:function(e){return d(e)},getUserCompInstance:function(){return y.current||void 0}},h.current,C.current,g.current);var e=v.getSelectAllGui();C.current.insertAdjacentElement("afterend",e)}),ie.useEffect(function(){return _(m,t,g.current,y)},[m]),ie.useEffect(function(){v.setDragSource(h.current)},[m]),ie.useMemo(function(){return{width:r}},[r])),e=ie.useMemo(function(){var e;return!!((null==(e=m)?void 0:e.componentFromFramework)&&fe(m.componentClass))},[m]),R=m&&m.componentFromFramework,S=m&&m.componentClass;return ue.createElement("div",{ref:h,className:"ag-header-cell",style:n,title:a,"col-id":s,"aria-sort":c,role:"columnheader",tabIndex:-1,"aria-description":p},ue.createElement("div",{ref:C,className:"ag-header-cell-resize",role:"presentation"}),ue.createElement("div",{ref:g,className:"ag-header-cell-comp-wrapper",role:"presentation"},R&&e&&ue.createElement(S,ce({},m.params)),R&&!e&&ue.createElement(S,ce({},m.params,{ref:y}))))}),j=ie.memo(function(e){var t=ie.useContext(le).context,n=ie.useState(new P),r=n[0],o=n[1],n=ie.useState(new P),a=n[0],i=n[1],n=ie.useState(),s=n[0],u=n[1],n=ie.useState(),c=n[0],l=n[1],n=ie.useState(),p=n[0],f=n[1],n=ie.useState(),m=n[0],d=n[1],n=ie.useState(),h=n[0],C=n[1],g=ie.useRef(null),y=ie.useRef(null),v=e.ctrl,n=(pe(function(){v.setComp({setWidth:function(e){return u(e)},addOrRemoveCssClass:function(t,n){return o(function(e){return e.setClass(t,n)})},setColId:function(e){return f(e)},setTitle:function(e){return l(e)},setUserCompDetails:function(e){return C(e)},addOrRemoveResizableCssClass:function(t,n){return i(function(e){return e.setClass(t,n)})},setAriaExpanded:function(e){return d(e)}},g.current,y.current)}),ie.useEffect(function(){return _(h,t,g.current)},[h]),ie.useEffect(function(){var t=void 0;g.current.childNodes.forEach(function(e){null!=e&&e!==y.current&&(t=e)}),t&&v.setDragSource(t)},[h]),ie.useMemo(function(){return{width:s}},[s])),e=ie.useMemo(function(){return"ag-header-group-cell "+r.toString()},[r]),E=ie.useMemo(function(){return"ag-header-cell-resize "+a.toString()},[a]),R=h&&h.componentFromFramework,S=h&&h.componentClass;return ue.createElement("div",{ref:g,className:e,style:n,title:c,"col-id":p,role:"columnheader",tabIndex:-1,"aria-expanded":m},R&&ue.createElement(S,ce({},h.params)),ue.createElement("div",{ref:y,className:E}))}),V=ie.memo(function(e){function t(e){g.current||null!=e&&(y.current&&y.current(e),g.current=!0)}var n=ie.useContext(le).context,r=ie.useState(new P),o=r[0],a=r[1],r=ie.useState(new P),i=r[0],s=r[1],r=ie.useState(new P),u=r[0],c=r[1],r=ie.useState(),l=r[0],p=r[1],r=ie.useState(),f=r[0],m=r[1],d=ie.useRef(null),h=ie.useRef(null),r=ie.useRef(null),C=ie.useRef(null),g=ie.useRef(!1),y=ie.useRef(),v=ie.useRef(),E=(pe(function(){v.current=new se.AgPromise(function(e){y.current=e})}),e.ctrl),e=(pe(function(){E.setComp({addOrRemoveCssClass:function(t,n){return a(function(e){return e.setClass(t,n)})},addOrRemoveBodyCssClass:function(t,n){return s(function(e){return e.setClass(t,n)})},addOrRemoveButtonWrapperCssClass:function(t,n){return c(function(e){return e.setClass(t,n)})},setWidth:function(e){return p(e)},setCompDetails:function(e){return m(e)},getFloatingFilterComp:function(){return v.current||null},setMenuIcon:function(e){return C.current.appendChild(e)}},d.current,C.current,h.current)}),ie.useEffect(function(){return _(f,n,h.current,t)},[f]),ie.useMemo(function(){return{width:l}},[l])),R=ie.useMemo(function(){return"ag-header-cell ag-floating-filter "+o.toString()},[o]),S=ie.useMemo(function(){return i.toString()},[i]),w=ie.useMemo(function(){return"ag-floating-filter-button "+u.toString()},[i]),O=ie.useMemo(function(){return!!(f&&f.componentFromFramework&&fe(f.componentClass))},[f]),T=f&&f.componentFromFramework,M=f&&f.componentClass;return ue.createElement("div",{ref:d,className:R,style:e,role:"gridcell",tabIndex:-1},ue.createElement("div",{ref:h,className:S,role:"presentation"},T&&O&&ue.createElement(M,ce({},f.params)),T&&!O&&ue.createElement(M,ce({},f.params,{ref:t}))),ue.createElement("div",{ref:r,className:w,role:"presentation"},ue.createElement("button",{ref:C,type:"button","aria-label":"Open Filter Menu",className:"ag-floating-filter-button-button",tabIndex:-1})))}),q=ie.memo(function(e){var o=ie.useContext(le).gridOptionsWrapper,t=ie.useState(),n=t[0],r=t[1],t=ie.useState(),a=t[0],i=t[1],t=ie.useState(),s=t[0],u=t[1],t=ie.useState(),c=t[0],l=t[1],t=ie.useState(),p=t[0],f=t[1],t=ie.useState([]),m=t[0],d=t[1],t=ie.useRef(null),h=e.ctrl,C=h.getType()===se.HeaderRowType.COLUMN,g=h.getType()===se.HeaderRowType.COLUMN_GROUP,y=h.getType()===se.HeaderRowType.FLOATING_FILTER,v=ie.useCallback(function(e,t){var n,r;return o.isEnsureDomOrder()?t:(n=se._.mapById(e,function(e){return e.getInstanceId()}),r=se._.mapById(t,function(e){return e.getInstanceId()}),G(e.filter(function(e){return r.has(e.getInstanceId())}),t.filter(function(e){return!n.has(e.getInstanceId())})))},[]),e=(pe(function(){h.setComp({setTransform:function(e){return r(e)},setHeight:function(e){return i(e)},setTop:function(e){return u(e)},setHeaderCtrls:function(t){return d(function(e){return v(e,t)})},setWidth:function(e){return l(e)},setAriaRowIndex:function(e){return f(e)}})}),ie.useMemo(function(){return{transform:n,height:a,top:s,width:c}},[n,a,s,c])),E=ie.useMemo(function(){var e=["ag-header-row"];return C&&e.push("ag-header-row-column"),g&&e.push("ag-header-row-column-group"),y&&e.push("ag-header-row-column-filter"),e.join(" ")},[]),R=ie.useCallback(function(e){switch(h.getType()){case se.HeaderRowType.COLUMN_GROUP:return ue.createElement(j,{ctrl:e,key:e.getInstanceId()});case se.HeaderRowType.FLOATING_FILTER:return ue.createElement(V,{ctrl:e,key:e.getInstanceId()});default:return ue.createElement(W,{ctrl:e,key:e.getInstanceId()})}},[]);return ue.createElement("div",{ref:t,className:E,role:"row",style:e,"aria-rowindex":p},m.map(R))}),C=ie.memo(function(n){function e(){return p.map(function(e){return ue.createElement(q,{ctrl:e,key:e.getInstanceId()})})}var t=ie.useState(new P),r=t[0],o=t[1],t=ie.useState(),a=t[0],i=t[1],t=ie.useState(),s=t[0],u=t[1],t=ie.useState(),c=t[0],l=t[1],t=ie.useState([]),p=t[0],f=t[1],m=ie.useContext(le).context,d=ie.useRef(null),t=n.pinned===se.Constants.PINNED_LEFT,h=n.pinned===se.Constants.PINNED_RIGHT,C=!t&&!h,g=(pe(function(){var e={addOrRemoveCssClass:function(t,n){return o(function(e){return e.setClass(t,n)})},setCtrls:function(e){return f(e)},setCenterWidth:function(e){return i(e)},setContainerTransform:function(e){return u(e)},setPinnedContainerWidth:function(e){return l(e)}},t=m.createBean(new se.HeaderRowContainerCtrl(n.pinned));return t.setComp(e,d.current),function(){m.destroyBean(t)}}),ie.useMemo(function(){return r.toString()},[r])),y=ie.useMemo(function(){return{width:a,transform:s}},[a,s]),v=ie.useMemo(function(){return{width:c,minWidth:c,maxWidth:c}},[c]);return ue.createElement(ue.Fragment,null,t&&ue.createElement("div",{ref:d,className:"ag-pinned-left-header "+g,role:"presentation",style:v},e()),h&&ue.createElement("div",{ref:d,className:"ag-pinned-right-header "+g,role:"presentation",style:v},e()),C&&ue.createElement("div",{ref:d,className:"ag-header-viewport "+g,role:"presentation"},ue.createElement("div",{className:"ag-header-container",role:"rowgroup",style:y},e())))}),X=ie.memo(function(){var e=ie.useState(new P),t=e[0],r=e[1],e=ie.useState(),n=e[0],o=e[1],a=ie.useContext(le).context,i=ie.useRef(null),e=(pe(function(){var e={addOrRemoveCssClass:function(t,n){return r(function(e){return e.setClass(t,n)})},setHeightAndMinHeight:function(e){return o(e)}},t=a.createBean(new se.GridHeaderCtrl);return t.setComp(e,i.current,i.current),function(){a.destroyBean(t)}}),ie.useMemo(function(){return"ag-header "+t.toString()},[t])),s=ie.useMemo(function(){return{height:n,minHeight:n}},[n]);return ue.createElement("div",{ref:i,className:e,style:s,role:"presentation"},ue.createElement(C,{pinned:se.Constants.PINNED_LEFT}),ue.createElement(C,{pinned:null}),ue.createElement(C,{pinned:se.Constants.PINNED_RIGHT}))}),de=ie.memo(function(u){var e=ie.useState(),t=e[0],c=e[1],e=ie.useContext(le),l=e.context,p=e.popupService,f=e.gridOptionsWrapper;return pe(function(){var e=u.editDetails,t=u.cellCtrl,n=u.eParentCell,r=e.compDetails,o=f.isStopEditingWhenCellsLoseFocus(),a=l.createBean(new se.PopupEditorWrapper(r.params)),r=a.getGui(),i=(!u.jsChildComp||(i=u.jsChildComp.getGui())&&r.appendChild(i),{column:t.getColumn(),rowNode:t.getRowNode(),type:"popupCellEditor",eventSource:n,ePopup:r,keepWithinBounds:!0}),e=("under"===e.popupPosition?p.positionPopupUnderComponent:p.positionPopupOverComponent).bind(p,i),i=f.getLocaleTextFunc(),o=p.addPopup({modal:o,eChild:r,closeOnEsc:!0,closedCallback:function(){t.onPopupEditorClosed()},anchorToElement:n,positionCallback:e,ariaLabel:i("ariaLabelCellEditor","Cell Editor")}),s=o?o.hideFunc:void 0;return c(a),u.jsChildComp&&u.jsChildComp.afterGuiAttached&&u.jsChildComp.afterGuiAttached(),function(){null!=s&&s(),l.destroyBean(a)}}),ue.createElement(ue.Fragment,null,t&&u.wrappedContent&&r.createPortal(u.wrappedContent,t.getGui()))}),K=ie.memo(function(e){function t(){return ue.createElement(ue.Fragment,null,null!=E&&(i=S,s=ae,u=O,c=k,l=oe,p=te,m=(a=E).compDetails,a=a.value,d=!m,h=m&&m.componentFromFramework,C=m&&m.componentClass,g=null!=(f=a)&&f.toString?a.toString():a,ue.createElement(ue.Fragment,null,c?ue.createElement("span",{role:"presentation",id:"cell-"+s,className:"ag-cell-value",ref:p},y()):y())),null!=R&&(f=R,a=re,c=ne,s=w.current,p=v,e=Z,t=f.compDetails,n=t.componentClass,r=t.componentFromFramework&&!f.popup,o=t.componentFromFramework&&f.popup,t=!t.componentFromFramework&&f.popup,ue.createElement(ue.Fragment,null,r&&ue.createElement(n,ce({},f.compDetails.params,{ref:a})),o&&ue.createElement(de,{editDetails:f,cellCtrl:p,eParentCell:s,wrappedContent:ue.createElement(n,ce({},f.compDetails.params,{ref:c}))}),t&&e&&ue.createElement(de,{editDetails:f,cellCtrl:p,eParentCell:s,jsChildComp:e}))));var e,t,n,r,o,a,i,s,u,c,l,p,f,m,d,h,C,g;function y(){return ue.createElement(ue.Fragment,null,d&&ue.createElement(ue.Fragment,null,g),h&&!l&&ue.createElement(C,ce({},m.params,{key:i,ref:u})),h&&l&&ue.createElement(C,ce({},m.params,{key:i})))}}var n,r,o,a,i,s,u,c=ie.useContext(le).context,v=e.cellCtrl,l=e.printLayout,p=e.editingRow,e=ie.useState(),E=e[0],f=e[1],e=ie.useState(),R=e[0],m=e[1],e=ie.useState(1),S=e[0],d=e[1],e=ie.useState(),_=e[0],x=e[1],e=ie.useState(),B=e[0],U=e[1],e=ie.useState(),L=e[0],H=e[1],e=ie.useState(),W=e[0],j=e[1],e=ie.useState(),V=e[0],q=e[1],e=ie.useState(),K=e[0],Y=e[1],e=ie.useState(!1),h=e[0],z=e[1],e=ie.useState(!1),C=e[0],$=e[1],e=ie.useState(!1),g=e[0],X=e[1],e=ie.useState(),Z=e[0],y=e[1],e=ie.useMemo(function(){return v.isForceWrapper()},[]),w=ie.useRef(null),O=ie.useRef(null),T=ie.useRef(),M=ie.useRef(),I=ie.useRef(),P=ie.useState(0),b=P[0],J=P[1],P=ie.useCallback(function(e){I.current=e,J(function(e){return e+1})},[]),D=ie.useRef(),N=ie.useState(0),Q=N[0],ee=N[1],te=ie.useCallback(function(e){D.current=e,ee(function(e){return e+1})},[]),N=null!=E&&(h||g||C),k=e&&!v.isEditing()||N,A=ie.useCallback(function(e,t){var n,r,o,a,i;(M.current=t)&&(e=e,n=t,i=(r=v).getColumn(),!e&&n.isPopup&&n.isPopup()&&(o="AG Grid: Found an issue in column "+i.getColId()+". If using React, specify an editor is a popup using colDef.cellEditorPopup=true. AG Grid React cannot depend on the editor component specifying if it's in a popup (via the isPopup() method on the editor), as React needs to know this information BEFORE the component is created.",se._.doOnce(function(){return console.warn(o)},"jsEditorComp-isPopup-"+r.getColumn().getColId())),e&&n.getPopupPosition&&null!=n.getPopupPosition()&&(a="AG Grid: Found an issue in column "+i.getColId()+". If using React, specify an editor popup position using colDef.cellEditorPopupPosition=true. AG Grid React cannot depend on the editor component specifying it's position (via the getPopupPosition() method on the editor), as React needs to know this information BEFORE the component is created.",se._.doOnce(function(){return console.warn(a)},"jsEditorComp-getPopupPosition-"+r.getColumn().getColId())),t.isCancelBeforeStart&&t.isCancelBeforeStart()&&setTimeout(function(){return v.stopEditing()},0))},[]),ne=ie.useCallback(function(e){return A(!0,e)},[]),re=ie.useCallback(function(e){return A(!1,e)},[]),F=ie.useMemo(function(){return new se.CssClassManager(function(){return w.current})},[]),G=(n=E,r=k,o=D.current,e=Q,a=T,i=w,N=ie.useContext(le),s=N.context,N.userComponentFactory,u=ie.useCallback(function(){var e,t=a.current;t&&((e=t.getGui())&&e.parentElement&&e.parentElement.removeChild(e),s.destroyBean(t),a.current=void 0)},[]),ie.useEffect(function(){var e=n&&n.compDetails&&!n.compDetails.componentFromFramework;if(null!=n&&e&&!(r&&null==o)){e=n.compDetails;if(a.current){var t=a.current,t=null!=t.refresh&&0==n.force&&t.refresh(e.params);if(!0===t||void 0===t)return;u()}t=e.newAgStackInstance();t&&(e=t.resolveNow(null,function(e){return e}))&&(t=e.getGui())&&((r?o:i.current).appendChild(t),a.current=e)}else u()},[n,r,e]),pe(function(){return u}),ie.useRef()),oe=(ie.useEffect(function(){var e=G.current,t=E;G.current=E,null!=e&&null!=e.compDetails&&null!=t&&null!=t.compDetails&&(e=e.compDetails,t=t.compDetails,e.componentClass==t.componentClass&&null!=O.current&&null!=O.current.refresh&&1!=O.current.refresh(t.params)&&d(function(e){return e+1}))},[E]),ie.useEffect(function(){if(R&&!R.compDetails.componentFromFramework){var e,t=R.compDetails,n=!0===R.popup,r=function(e){e=e.newAgStackInstance();if(e)return e.resolveNow(null,function(e){return e})}(t);if(r)return e=r.getGui(),A(n,r),n||(w.current.appendChild(e),r.afterGuiAttached&&r.afterGuiAttached()),y(r),function(){c.destroyBean(r),A(n,void 0),y(void 0),e&&e.parentElement&&e.parentElement.removeChild(e)}}},[R]),ie.useEffect(function(){var n,e;if(v&&c&&(H(I.current?"cell-"+v.getInstanceId():void 0),I.current&&k))return n=[],e=function(e){var t;return e&&(t=e.getGui(),I.current.insertAdjacentElement("afterbegin",t),n.push(function(){c.destroyBean(e),se._.removeFromParent(t)})),e},h&&e(v.createSelectionCheckbox()),g&&e(v.createDndSource()),C&&e(v.createRowDragComp()),function(){return n.forEach(function(e){return e()})}},[k,g,C,h,b]),ie.useEffect(function(){0<b&&I.current&&v.refreshAutoHeight(I.current)},[I,b]),me(function(){var e;v&&(e=I.current||void 0,v.setComp({addOrRemoveCssClass:function(e,t){return F.addOrRemoveCssClass(e,t)},setUserStyles:function(e){return x(e)},getFocusableElement:function(){return w.current},setTabIndex:function(e){return U(e)},setRole:function(e){return j(e)},setColId:function(e){return q(e)},setTitle:function(e){return Y(e)},setIncludeSelection:function(e){return z(e)},setIncludeRowDrag:function(e){return $(e)},setIncludeDndSource:function(e){return X(e)},getCellEditor:function(){return M.current||null},getCellRenderer:function(){return O.current||T.current},getParentOfValue:function(){return D.current||I.current||w.current},setRenderDetails:function(e,t,n){f({value:t,compDetails:e,force:n})},setEditDetails:function(e,t,n){e?(m({compDetails:e,popup:t,popupPosition:n}),t||f(void 0)):m(void 0)}},w.current,e,l,p))}),ie.useMemo(function(){return!!(E&&E.compDetails&&E.compDetails.componentFromFramework&&fe(E.compDetails.componentClass))},[E])),ae=(w.current&&!k&&F.addOrRemoveCssClass("ag-cell-value",!k),ie.useMemo(function(){return v.getInstanceId()},[]));return ue.createElement("div",{ref:w,style:_,tabIndex:B,role:W,"col-id":V,title:K,"aria-describedby":L},k?ue.createElement("div",{className:"ag-cell-wrapper",role:"presentation",ref:P},t()):t())}),Y=ie.memo(function(e){var t=ie.useContext(le).context,n=e.rowCtrl,r=e.containerType,e=ie.useState(),o=e[0],a=e[1],e=ie.useState(),i=e[0],s=e[1],e=ie.useState(),u=e[0],c=e[1],e=ie.useState(),l=e[0],p=e[1],e=ie.useState(),f=e[0],m=e[1],e=ie.useState(),d=e[0],h=e[1],e=ie.useState({list:[],instanceIdMap:new Map}),C=e[0],g=e[1],e=ie.useState(),y=e[0],v=e[1],e=ie.useState(!1),E=e[0],R=e[1],e=ie.useState(n.getInitialRowTop()),S=e[0],w=e[1],e=ie.useState(n.getInitialTransform()),O=e[0],T=e[1],M=ie.useRef(null),I=ie.useRef(),P=ie.useRef(!1),e=ie.useState(0),b=e[0],D=e[1],N=(ie.useEffect(function(){var e;P.current||!y||10<b||((e=null==(e=M.current)?void 0:e.firstChild)?(n.setupDetailRowAutoHeight(e),P.current=!0):D(function(e){return e+1}))},[y,b]),ie.useMemo(function(){return new se.CssClassManager(function(){return M.current})},[])),e=(me(function(){n.isAlive()&&n.setComp({setTop:function(e){return w(e)},setTransform:function(e){return T(e)},addOrRemoveCssClass:function(e,t){return N.addOrRemoveCssClass(e,t)},setDomOrder:function(e){return R(e)},setRowIndex:function(e){return a(e)},setRowId:function(e){return s(e)},setRowBusinessKey:function(e){return p(e)},setTabIndex:function(e){return m(e)},setUserStyles:function(e){return h(e)},setRole:function(e){return c(e)},setCellCtrls:function(s){return g(function(e){return n=e,e=s,E?(t={list:e,instanceIdMap:new Map},e.forEach(function(e){return t.instanceIdMap.set(e.getInstanceId(),e)}),t):(r=[],o=[],a=new Map,i=new Map,e.forEach(function(e){return i.set(e.getInstanceId(),e)}),n.list.forEach(function(e){var t=e.getInstanceId();i.has(t)&&(r.push(e),a.set(t,e))}),e.forEach(function(e){var t=e.getInstanceId();n.instanceIdMap.has(t)||(o.push(e),a.set(t,e))}),{list:G(r,o),instanceIdMap:a});var n,t,r,o,a,i})},showFullWidth:function(e){return v(e)},getFullWidthCellRenderer:function(){return I.current}},M.current,r)}),ie.useEffect(function(){return _(y,t,M.current,I)},[y]),ie.useMemo(function(){var e={top:S,transform:O};return Object.assign(e,d),e},[S,O,d])),k=y&&y.componentFromFramework,A=null!=C,F=ie.useMemo(function(){var e;return!!((null==(e=y)?void 0:e.componentFromFramework)&&fe(y.componentClass))},[y]);return ue.createElement("div",{ref:M,role:u,style:e,"row-index":o,"row-id":i,"row-business-key":l,tabIndex:f},A&&C.list.map(function(e){return ue.createElement(K,{cellCtrl:e,editingRow:n.isEditing(),printLayout:n.isPrintLayout(),key:e.getInstanceId()})}),k&&(u=y.componentClass,ue.createElement(ue.Fragment,null,F&&ue.createElement(u,ce({},y.params)),!F&&ue.createElement(u,ce({},y.params,{ref:I})))))}),Z=ie.memo(function(e){function t(){return ue.createElement("div",{className:E,ref:y,role:u.length?"rowgroup":"presentation",style:T},i.map(function(e){return ue.createElement(Y,{rowCtrl:e,containerType:h,key:e.getInstanceId()})}))}var r=ie.useContext(le).context,n=ie.useState(""),o=n[0],a=n[1],n=ie.useState([]),i=n[0],s=n[1],n=ie.useState([]),u=n[0],c=n[1],n=ie.useState(!1),l=n[0],p=n[1],n=ie.useState(""),f=n[0],m=n[1],d=e.name,h=ie.useMemo(function(){return se.getRowContainerTypeForName(d)},[d]),C=ie.useRef(null),g=ie.useRef(null),y=ie.useRef(null),v=ie.useMemo(function(){return se.RowContainerCtrl.getRowContainerCssClasses(d)},[d]),n=ie.useMemo(function(){return z(v.wrapper)},[]),e=ie.useMemo(function(){return z(v.viewport)},[]),E=ie.useMemo(function(){return z(v.container)},[]),R=d===se.RowContainerName.CENTER,S=d===se.RowContainerName.TOP_CENTER||d===se.RowContainerName.BOTTOM_CENTER||d===se.RowContainerName.STICKY_TOP_CENTER,w=!R&&!S,O=($(" AG Row Container "+d+" ",R?C:S?g:y),ie.useEffect(function(){s(function(e){var t;return l?u:(t=e.filter(function(e){return 0<=u.indexOf(e)}),e=u.filter(function(e){return t.indexOf(e)<0}),G(t,e))})},[l,u]),pe(function(){var e=[],t={setViewportHeight:a,setRowCtrls:function(e){return c(e)},setDomOrder:function(e){return p(e)},setContainerWidth:function(e){return m(e)}},n=r.createBean(new se.RowContainerCtrl(d));return e.push(n),n.setComp(t,y.current,g.current,C.current),function(){r.destroyBeans(e)}}),ie.useMemo(function(){return{height:o}},[o])),T=ie.useMemo(function(){return{width:f}},[f]);return ue.createElement(ue.Fragment,null,R&&ue.createElement("div",{className:n,ref:C,role:"presentation"},ue.createElement("div",{className:e,ref:g,role:"presentation",style:O},t())),S&&ue.createElement("div",{className:e,ref:g,role:"presentation",style:O},t()),w&&t())}),J=ie.memo(function(){function o(e){return ue.createElement(Z,{name:e,key:e+"-container"})}function e(e){var t=e.section,n=e.children,r=e.className,e=e.style;return ue.createElement("div",{ref:t,className:r,role:"presentation",style:e},n.map(o))}var t=ie.useContext(le),a=t.context,i=t.agStackComponentsRegistry,s=t.resizeObserverService,t=ie.useState(""),n=t[0],u=t[1],t=ie.useState(0),r=t[0],c=t[1],t=ie.useState(0),l=t[0],p=t[1],t=ie.useState(0),f=t[0],m=t[1],t=ie.useState(0),d=t[0],h=t[1],t=ie.useState("0px"),C=t[0],g=t[1],t=ie.useState("0px"),y=t[0],v=t[1],t=ie.useState("100%"),E=t[0],R=t[1],t=ie.useState(""),S=t[0],w=t[1],t=ie.useState(""),O=t[0],T=t[1],t=ie.useState(null),M=t[0],_=t[1],t=ie.useState(null),I=t[0],x=t[1],t=ie.useState(""),P=t[0],B=t[1],t=ie.useState(null),b=t[0],U=t[1],t=ie.useState("ag-layout-normal"),D=t[0],L=t[1],N=ie.useRef(null),k=ie.useRef(null),A=ie.useRef(null),F=ie.useRef(null),G=ie.useRef(null),t=($(" AG Grid Body ",N),$(" AG Pinned Top ",k),$(" AG Sticky Top ",A),$(" AG Middle ",F),$(" AG Pinned Bottom ",G),pe(function(){var e,t,n=[],r=[];if(a)return e=function(e){e=i.getComponentClass(e),e=a.createBean(new e);return n.push(e),e},N.current.appendChild(document.createComment(" AG Fake Horizontal Scroll ")),N.current.appendChild(e("AG-FAKE-HORIZONTAL-SCROLL").getGui()),N.current.appendChild(document.createComment(" AG Overlay Wrapper ")),N.current.appendChild(e("AG-OVERLAY-WRAPPER").getGui()),e={setRowAnimationCssOnBodyViewport:u,setColumnCount:c,setRowCount:p,setTopHeight:m,setBottomHeight:h,setStickyTopHeight:g,setStickyTopTop:v,setStickyTopWidth:R,setTopDisplay:w,setBottomDisplay:T,setColumnMovingCss:_,updateLayoutClasses:L,setAlwaysVerticalScrollClass:x,setPinnedTopBottomOverflowY:B,setCellSelectableCss:U,registerBodyViewportResizeListener:function(e){var t=s.observeResize(F.current,e);r.push(function(){return t()})}},t=a.createBean(new se.GridBodyCtrl),n.push(t),t.setComp(e,N.current,F.current,k.current,G.current,A.current),function(){a.destroyBeans(n),r.forEach(function(e){return e()})}}),ie.useMemo(function(){return z("ag-root","ag-unselectable",M,D)},[M,D])),H=ie.useMemo(function(){return z("ag-body-viewport",n,D,I,b)},[n,D,I,b]),W=ie.useMemo(function(){return z("ag-floating-top",b)},[b]),j=ie.useMemo(function(){return z("ag-sticky-top",b)},[b]),V=ie.useMemo(function(){return z("ag-floating-bottom",b)},[b]),q=ie.useMemo(function(){return{height:f,minHeight:f,display:S,overflowY:P}},[f,S,P]),K=ie.useMemo(function(){return{height:C,top:y,width:E}},[C,y,E]),Y=ie.useMemo(function(){return{height:d,minHeight:d,display:O,overflowY:P}},[d,O,P]);return ue.createElement("div",{ref:N,className:t,role:"grid","aria-colcount":r,"aria-rowcount":l},ue.createElement(X,null),e({section:k,className:W,style:q,children:[se.RowContainerName.TOP_LEFT,se.RowContainerName.TOP_CENTER,se.RowContainerName.TOP_RIGHT,se.RowContainerName.TOP_FULL_WIDTH]}),e({section:F,className:H,children:[se.RowContainerName.LEFT,se.RowContainerName.CENTER,se.RowContainerName.RIGHT,se.RowContainerName.FULL_WIDTH]}),e({section:A,className:j,style:K,children:[se.RowContainerName.STICKY_TOP_LEFT,se.RowContainerName.STICKY_TOP_CENTER,se.RowContainerName.STICKY_TOP_RIGHT,se.RowContainerName.STICKY_TOP_FULL_WIDTH]}),e({section:G,className:V,style:Y,children:[se.RowContainerName.BOTTOM_LEFT,se.RowContainerName.BOTTOM_CENTER,se.RowContainerName.BOTTOM_RIGHT,se.RowContainerName.BOTTOM_FULL_WIDTH]}))}),g=ie.forwardRef(function(e,t){function n(e){return ue.createElement("div",{className:"ag-tab-guard ag-tab-guard-"+e,role:"presentation",tabIndex:p,ref:"top"===e?u:c})}var r=e.children,o=e.eFocusableElement,a=e.onTabKeyDown,i=e.gridCtrl,s=ie.useContext(le).context,u=ie.useRef(null),c=ie.useRef(null),l=ie.useRef(),e=ie.useState(),p=e[0],f=e[1];ie.useImperativeHandle(t,function(){return{forceFocusOutOfContainer:function(){l.current.forceFocusOutOfContainer()}}}),pe(function(){var e=u.current,t=c.current,n=l.current=s.createBean(new se.TabGuardCtrl({comp:{setTabIndex:function(e){return f(null==e?void 0:parseInt(e,10))}},eTopGuard:e,eBottomGuard:t,eFocusableElement:o,onTabKeyDown:a,focusInnerElement:function(e){return i.focusInnerElement(e)}}));return function(){s.destroyBean(n)}});return ue.createElement(ue.Fragment,null,n("top"),r,n("bottom"))}),Q=ie.memo(g),ee=ie.memo(function(e){var p=e.context,e=ie.useState(""),t=e[0],n=e[1],e=ie.useState(""),r=e[0],o=e[1],e=ie.useState(""),a=e[0],i=e[1],e=ie.useState(null),s=e[0],u=e[1],e=ie.useState(null),c=e[0],l=e[1],e=ie.useState(!1),f=e[0],m=e[1],e=ie.useState(),d=e[0],h=e[1],C=ie.useRef(null),g=ie.useRef(null),y=ie.useRef(),v=ie.useRef(null),E=ie.useRef(function(){}),e=ie.useCallback(function(){},[]),R=ie.useMemo(function(){return p.getBean("beans")},[]),S=($(" AG Grid ",g),pe(function(){var e=C.current=p.createBean(new se.GridCtrl);return function(){p.destroyBean(e),C.current=null}}),pe(function(){var e=C.current,t=(E.current=e.focusInnerElement.bind(e),{destroyGridUi:function(){},setRtlClass:n,addOrRemoveKeyboardFocusClass:function(e){return o(e?se.FocusService.AG_KEYBOARD_FOCUS:"")},forceFocusOutOfContainer:function(){y.current.forceFocusOutOfContainer()},updateLayoutClasses:i,getFocusableContainers:function(){var e=[],t=g.current.querySelector(".ag-root"),n=g.current.querySelector(".ag-side-bar");return t&&e.push(t),n&&e.push(n),e},setCursor:u,setUserSelect:l});e.setComp(t,g.current,g.current),m(!0)}),ie.useEffect(function(){var e,t,n,r,o,a,i,s,u,c,l;if(d)return e=C.current,t=[],c=(o=R.agStackComponentsRegistry).getComponentClass("AG-GRID-HEADER-DROP-ZONES"),u=o.getComponentClass("AG-SIDE-BAR"),n=o.getComponentClass("AG-STATUS-BAR"),r=o.getComponentClass("AG-WATERMARK"),o=o.getComponentClass("AG-PAGINATION"),a=[],i=g.current,s=v.current,e.showDropZones()&&c&&(l=(c=p.createBean(new c)).getGui(),i.insertAdjacentElement("afterbegin",l),a.push(l),t.push(c)),e.showSideBar()&&u&&(l=(c=p.createBean(new u)).getGui(),(u=s.querySelector(".ag-tab-guard-bottom"))&&(u.insertAdjacentElement("beforebegin",l),a.push(l)),t.push(c)),e.showStatusBar()&&n&&(l=(s=p.createBean(new n)).getGui(),i.insertAdjacentElement("beforeend",l),a.push(l),t.push(s)),o&&(l=(u=p.createBean(new o)).getGui(),i.insertAdjacentElement("beforeend",l),a.push(l),t.push(u)),e.showWatermark()&&r&&(l=(c=p.createBean(new r)).getGui(),i.insertAdjacentElement("beforeend",l),a.push(l),t.push(c)),function(){p.destroyBeans(t),a.forEach(function(e){e.parentElement&&e.parentElement.removeChild(e)})}},[d]),ie.useMemo(function(){return z("ag-root-wrapper",t,r,a)},[t,r,a])),w=ie.useMemo(function(){return z("ag-root-wrapper-body","ag-focus-managed",a)},[a]),O=ie.useMemo(function(){return{userSelect:null!=c?c:"",WebkitUserSelect:null!=c?c:"",cursor:null!=s?s:""}},[c,s]),T=v.current,M=ie.useCallback(function(e){y.current=e,h(!0)},[]);return ue.createElement("div",{ref:g,className:S,style:O,role:"presentation"},ue.createElement("div",{className:w,ref:v,role:"presentation"},f&&T&&ue.createElement(le.Provider,{value:R},ue.createElement(Q,{ref:M,eFocusableElement:T,onTabKeyDown:e,gridCtrl:C.current},ue.createElement(J,null)))))});n(y,te=ie.Component),y.prototype.render=function(){return this.state.context,this.state.context&&(this.renderedAfterMount=!0),ue.createElement("div",{style:this.createStyleForDiv(),className:this.props.className,ref:this.eGui},this.state.context&&ue.createElement(ee,{context:this.state.context}),this.portalManager.getPortals())},y.prototype.createStyleForDiv=function(){return ce({height:"100%"},this.props.containerStyle||{})},y.prototype.componentDidMount=function(){var e,t,n=this;this.mounted||(this.mounted=!0,e=this.props.modules||[],e={providedBeanInstances:{frameworkComponentWrapper:new oe(this.portalManager)},modules:e,frameworkOverrides:new ge(!0)},this.gridOptions=this.props.gridOptions||{},t=this.props.children,c.hasChildColumns(t)&&(this.gridOptions.columnDefs=c.mapChildColumnDefs(t)),this.gridOptions=se.ComponentUtil.copyAttributesToGridOptions(this.gridOptions,this.props),(new se.GridCoreCreator).create(this.eGui.current,this.gridOptions,function(e){n.setState({context:e}),e.getBean(se.CtrlsService.NAME).whenReady(function(){n.api=n.gridOptions.api,n.columnApi=n.gridOptions.columnApi,n.props.setGridApi(n.api,n.columnApi),n.destroyFuncs.push(function(){return n.api.destroy()})})},function(e){e.getBean(se.CtrlsService.NAME).whenReady(function(){n.whenReadyFuncs.forEach(function(e){return e()}),n.whenReadyFuncs.length=0,n.ready=!0})},e))},y.prototype.componentWillUnmount=function(){this.renderedAfterMount&&(this.destroyFuncs.forEach(function(e){return e()}),this.destroyFuncs.length=0)},y.prototype.componentDidUpdate=function(e){this.processPropsChanges(e,this.props)},y.prototype.processPropsChanges=function(e,t){var n={};this.extractGridPropertyChanges(e,t,n),this.extractDeclarativeColDefChanges(t,n),this.processChanges(n)},y.prototype.extractDeclarativeColDefChanges=function(e,t){var n,r,o,a;this.props.gridOptions&&this.props.gridOptions.columnDefs||this.props.columnDefs||(n=!!e.debug,r="columnDefs",o=this.gridOptions.columnDefs,c.hasChildColumns(e.children)?(a=this.changeDetectionService.getStrategy(this.getStrategyTypeForProp(r)),e=c.mapChildColumnDefs(e.children),a.areEqual(o,e)||(n&&console.log("agGridReact: colDefs definitions changed"),t[r]={previousValue:o,currentValue:e})):o&&0<o.length&&(t[r]={previousValue:o,currentValue:[]}))},y.prototype.extractGridPropertyChanges=function(t,n,r){var o=this,a=!!n.debug;Object.keys(n).forEach(function(e){se._.includes(se.ComponentUtil.ALL_PROPERTIES,e)&&!o.changeDetectionService.getStrategy(o.getStrategyTypeForProp(e)).areEqual(t[e],n[e])&&(a&&console.log("agGridReact: ["+e+"] property changed"),r[e]={previousValue:t[e],currentValue:n[e]})}),se.ComponentUtil.getEventCallbacks().forEach(function(e){t[e]!==n[e]&&(a&&console.log("agGridReact: ["+e+"] event callback changed"),r[e]={previousValue:t[e],currentValue:n[e]})})},y.prototype.processChanges=function(e){var t=this;this.processWhenReady(function(){return se.ComponentUtil.processOnChange(e,t.gridOptions,t.api,t.columnApi)})},y.prototype.processWhenReady=function(e){this.ready?e():this.whenReadyFuncs.push(e)},y.prototype.getStrategyTypeForProp=function(e){if("rowData"===e){if(this.props.rowDataChangeDetectionStrategy)return this.props.rowDataChangeDetectionStrategy;if(this.isImmutableDataActive())return t.ChangeDetectionStrategyType.IdentityCheck}return t.ChangeDetectionStrategyType.DeepValueCheck},y.prototype.isImmutableDataActive=function(){return this.props.deltaRowDataMode||this.props.immutableData||null!=this.props.getRowId||this.props.gridOptions&&(this.props.gridOptions.deltaRowDataMode||this.props.gridOptions.immutableData||null!=this.props.gridOptions.getRowId)};var te,ne=y;function y(e){var t=te.call(this,e)||this;return t.props=e,t.destroyFuncs=[],t.changeDetectionService=new F,t.eGui=ue.createRef(),t.whenReadyFuncs=[],t.ready=!1,t.renderedAfterMount=!1,t.mounted=!1,t.state={context:void 0},t.portalManager=new L(t,e.componentWrappingElement,e.maxComponentCreationTimeMs),t.destroyFuncs.push(function(){return t.portalManager.destroy()}),t}n(ae,re=se.BaseComponentWrapper),ae.prototype.createWrapper=function(e,t){return new U(e,this.parent,t)};var re,oe=ae;function ae(e){var t=re.call(this)||this;return t.parent=e,t}var he,Ce=ie.forwardRef(function(r,e){var t=ie.useContext(le),o=t.ctrlsFactory,a=t.context,i=t.gridOptionsWrapper,s=t.resizeObserverService,u=t.clientSideRowModel,c=t.serverSideRowModel,t=ie.useState(new P),n=t[0],l=t[1],t=ie.useState(new P),p=t[0],f=t[1],t=ie.useState(),m=t[0],d=t[1],t=ie.useState(),h=t[0],C=t[1],g=ie.useRef(),y=ie.useRef(null),t=ie.useMemo(function(){return n.toString()+" ag-details-row"},[n]),v=ie.useMemo(function(){return p.toString()+" ag-details-grid"},[p]),e=(e&&ie.useImperativeHandle(e,function(){return{refresh:function(){return g.current.refresh()}}}),pe(function(){r.template&&"string"==typeof r.template&&console.warn("AG Grid: detailCellRendererParams.template is not supported by React - this only works with frameworks that work against String templates. To change the template, please provide your own React Detail Cell Renderer.")}),pe(function(){var e,t={addOrRemoveCssClass:function(t,n){return l(function(e){return e.setClass(t,n)})},addOrRemoveDetailGridCssClass:function(t,n){return f(function(e){return e.setClass(t,n)})},setDetailGrid:function(e){return d(e)},setRowData:function(e){return C(e)},getGui:function(){return y.current}},n=o.getInstance("detailCellRenderer");if(n)return a.createBean(n),n.init(t,r),g.current=n,i.isDetailRowAutoHeight()&&(e=s.observeResize(y.current,t=function(){var e;null!=y.current&&null!=(e=y.current.clientHeight)&&0<e&&setTimeout(function(){r.node.setRowHeight(e),u?u.onRowHeightChanged():c&&c.onRowHeightChanged()},0)}),t()),function(){a.destroyBean(n),e&&e()}}),ie.useCallback(function(e,t){g.current.registerDetailWithMaster(e,t)},[]));return ue.createElement("div",{className:t,ref:y},m&&ue.createElement(ne,ce({className:v},m,{rowData:h,setGridApi:e})))}),ge=(n(v,he=se.VanillaFrameworkOverrides),v.prototype.frameworkComponent=function(e){if(this.reactUi)return this.frameworkComponents[e]},v.prototype.isFrameworkComponent=function(e){return!!e&&!((e=e.prototype)&&"getGui"in e)},v);function v(e){var t=he.call(this)||this;return t.frameworkComponents={agGroupCellRenderer:b,agGroupRowRenderer:b,agDetailCellRenderer:Ce},t.reactUi=e,t}n(R,ye=ie.Component),R.prototype.render=function(){var t=this;return ue.createElement("div",{style:this.createStyleForDiv(),className:this.props.className,ref:function(e){t.eGridDiv=e}},this.portalManager.getPortals())},R.prototype.createStyleForDiv=function(){return ce({height:"100%"},this.props.containerStyle||{})},R.prototype.componentDidMount=function(){var e=this.props.modules||[],e={providedBeanInstances:{agGridReact:this,frameworkComponentWrapper:new Ee(this,this.portalManager)},modules:e,frameworkOverrides:new ge(!1)},t=this.props.gridOptions||{},n=this.props.children;c.hasChildColumns(n)&&(t.columnDefs=c.mapChildColumnDefs(n)),this.gridOptions=se.ComponentUtil.copyAttributesToGridOptions(t,this.props),new se.Grid(this.eGridDiv,this.gridOptions,e),this.api=this.gridOptions.api,this.columnApi=this.gridOptions.columnApi,this.props.setGridApi(this.api,this.columnApi)},R.prototype.getStrategyTypeForProp=function(e){if("rowData"===e){if(this.props.rowDataChangeDetectionStrategy)return this.props.rowDataChangeDetectionStrategy;if(this.isImmutableDataActive())return t.ChangeDetectionStrategyType.IdentityCheck}return t.ChangeDetectionStrategyType.DeepValueCheck},R.prototype.isImmutableDataActive=function(){return this.props.deltaRowDataMode||this.props.immutableData||null!=this.props.getRowId||this.props.gridOptions&&(this.props.gridOptions.deltaRowDataMode||this.props.gridOptions.immutableData||null!=this.props.gridOptions.getRowId)},R.prototype.shouldComponentUpdate=function(e){return this.processPropsChanges(this.props,e),!1},R.prototype.componentDidUpdate=function(e){this.processPropsChanges(e,this.props)},R.prototype.processPropsChanges=function(e,t){var n={};this.extractGridPropertyChanges(e,t,n),this.extractDeclarativeColDefChanges(t,n),this.processSynchronousChanges(n),this.processAsynchronousChanges(n)},R.prototype.extractDeclarativeColDefChanges=function(e,t){var n,r,o,a;this.props.gridOptions&&this.props.gridOptions.columnDefs||this.props.columnDefs||(n=!!e.debug,r="columnDefs",o=this.gridOptions.columnDefs,c.hasChildColumns(e.children)?(a=this.changeDetectionService.getStrategy(this.getStrategyTypeForProp(r)),e=c.mapChildColumnDefs(e.children),a.areEqual(o,e)||(n&&console.log("agGridReact: colDefs definitions changed"),t[r]={previousValue:o,currentValue:e})):o&&0<o.length&&(t[r]={previousValue:o,currentValue:[]}))},R.prototype.extractGridPropertyChanges=function(t,n,r){var o=this,a=!!n.debug;Object.keys(n).forEach(function(e){se._.includes(se.ComponentUtil.ALL_PROPERTIES,e)&&!o.changeDetectionService.getStrategy(o.getStrategyTypeForProp(e)).areEqual(t[e],n[e])&&(a&&console.log("agGridReact: ["+e+"] property changed"),r[e]={previousValue:t[e],currentValue:n[e]})}),se.ComponentUtil.getEventCallbacks().forEach(function(e){t[e]!==n[e]&&(a&&console.log("agGridReact: ["+e+"] event callback changed"),r[e]={previousValue:t[e],currentValue:n[e]})})},R.prototype.componentWillUnmount=function(){this.api&&(this.api.destroy(),this.api=null),this.destroyed=!0,this.portalManager.destroy()},R.prototype.isDisableStaticMarkup=function(){return!0===this.props.disableStaticMarkup},R.prototype.isLegacyComponentRendering=function(){return!0===this.props.legacyComponentRendering},R.prototype.processSynchronousChanges=function(e){var t,n=ce({},e);return 0<Object.keys(n).length&&(t={},this.SYNCHRONOUS_CHANGE_PROPERTIES.forEach(function(e){n[e]&&(t[e]=n[e],delete n[e])}),0<Object.keys(t).length&&this.api&&se.ComponentUtil.processOnChange(t,this.gridOptions,this.api,this.columnApi)),n},R.prototype.processAsynchronousChanges=function(e){var t=this;0<Object.keys(e).length&&window.setTimeout(function(){t.api&&se.ComponentUtil.processOnChange(e,t.gridOptions,t.api,t.columnApi)})},R.defaultProps={legacyComponentRendering:!1,disableStaticMarkup:!1,maxComponentCreationTimeMs:R.MAX_COMPONENT_CREATION_TIME_IN_MS=1e3};var ye,E=R;function R(e){var t=ye.call(this,e)||this;return t.props=e,t.changeDetectionService=new F,t.api=null,t.destroyed=!1,t.SYNCHRONOUS_CHANGE_PROPERTIES=["context"],t.portalManager=new L(t,e.componentWrappingElement,e.maxComponentCreationTimeMs),t}function S(e,t){e.forEach(function(e){E[e]=t})}E.propTypes={gridOptions:e.object},S(se.ComponentUtil.getEventCallbacks(),e.func),S(se.ComponentUtil.BOOLEAN_PROPERTIES,e.bool),S(se.ComponentUtil.STRING_PROPERTIES,e.string),S(se.ComponentUtil.OBJECT_PROPERTIES,e.object),S(se.ComponentUtil.ARRAY_PROPERTIES,e.array),S(se.ComponentUtil.NUMBER_PROPERTIES,e.number),S(se.ComponentUtil.FUNCTION_PROPERTIES,e.func);n(Re,ve=se.BaseComponentWrapper),Re.prototype.createWrapper=function(e,t){return this.agGridReact.isLegacyComponentRendering()?new D(e,this.agGridReact,this.portalManager,t):new U(e,this.portalManager,t)};var ve,Ee=Re;function Re(e,t){var n=ve.call(this)||this;return n.agGridReact=e,n.portalManager=t,n}n(we,Se=ie.Component),we.prototype.render=function(){return this.props.suppressReactUi?ue.createElement(E,ce({},this.props,{setGridApi:this.setGridApi})):ue.createElement(ne,ce({},this.props,{setGridApi:this.setGridApi}))};var Se,o=we;function we(){var n=null!==Se&&Se.apply(this,arguments)||this;return n.setGridApi=function(e,t){n.api=e,n.columnApi=t},n}t.AgGridReact=o,t.AgGridReactLegacy=E,t.AgGridReactFire=ne,t.AgGridColumn=c,Object.defineProperty(t,"__esModule",{value:!0})}); |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("prop-types"),require("react-dom/server"),require("react-dom"),require("react"),require("ag-grid-community")):"function"==typeof define&&define.amd?define(["exports","prop-types","react-dom/server","react-dom","react","ag-grid-community"],t):t(e.AgGridReact={},e.PropTypes,e.ReactDOMServer,e.ReactDOM,e.React,e.agGrid)}(this,function(t,e,w,r,ie,se){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var ue="default"in ie?ie.default:ie,O=function(e,t){return(O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function n(e,t){function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ce=function(){return(ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function G(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)r[o]=a[i];return r}n(a,T=function(){}),a.prototype.getGui=function(){return this.eParentElement},a.prototype.destroy=function(){return this.componentInstance&&"function"==typeof this.componentInstance.destroy&&this.componentInstance.destroy(),this.portalManager.destroyPortal(this.portal)},a.prototype.createParentElement=function(e){var t=this.portalManager.getComponentWrappingElement(),t=document.createElement(t||"div");return t.classList.add("ag-react-container"),e.reactContainer=t},a.prototype.addParentContainerStyleAndClasses=function(){var t=this;this.componentInstance&&(this.componentInstance.getReactContainerStyle&&this.componentInstance.getReactContainerStyle()&&Object.assign(this.eParentElement.style,this.componentInstance.getReactContainerStyle()),this.componentInstance.getReactContainerClasses&&this.componentInstance.getReactContainerClasses()&&this.componentInstance.getReactContainerClasses().forEach(function(e){return t.eParentElement.classList.add(e)}))},a.prototype.statelessComponentRendered=function(){return 0<this.eParentElement.childElementCount||0<this.eParentElement.childNodes.length},a.prototype.getFrameworkComponentInstance=function(){return this.componentInstance},a.prototype.isStatelessComponent=function(){return this.statelessComponent},a.prototype.getReactComponentName=function(){return this.reactComponent.name},a.prototype.getMemoType=function(){return this.hasSymbol()?Symbol.for("react.memo"):60115},a.prototype.hasSymbol=function(){return"function"==typeof Symbol&&Symbol.for},a.prototype.isStateless=function(e){return"function"==typeof e&&!(e.prototype&&e.prototype.isReactComponent)||"object"==typeof e&&e.$$typeof===this.getMemoType()},a.prototype.hasMethod=function(e){var t=this.getFrameworkComponentInstance();return!!t&&null!==t[e]||this.fallbackMethodAvailable(e)},a.prototype.callMethod=function(e,t){var n,r=this,o=this.getFrameworkComponentInstance();return this.isStatelessComponent()?this.fallbackMethod(e,t&&t[0]?t[0]:{}):o?(n=o[e])?n.apply(o,t):this.fallbackMethodAvailable(e)?this.fallbackMethod(e,t&&t[0]?t[0]:{}):void 0:void setTimeout(function(){return r.callMethod(e,t)})},a.prototype.addMethod=function(e,t){this[e]=t};var T,o=a;function a(e,t,n){var r=T.call(this)||this;return r.portal=null,r.reactComponent=e,r.portalManager=t,r.componentType=n,r.statelessComponent=r.isStateless(r.reactComponent),r}var M=0;function i(){return"agPortalKey_"+ ++M}n(s,I=o),s.prototype.init=function(t){var n=this;return this.eParentElement=this.createParentElement(t),this.renderStaticMarkup(t),new se.AgPromise(function(e){return n.createReactComponent(t,e)})},s.prototype.createReactComponent=function(e,t){var n=this,e=(this.isStatelessComponent()||(e.ref=function(e){n.componentInstance=e,n.addParentContainerStyleAndClasses(),n.removeStaticMarkup()}),ie.createElement(this.reactComponent,e)),e=r.createPortal(e,this.eParentElement,i());this.portal=e,this.portalManager.mountReactPortal(e,this,function(e){t(e),n.isStatelessComponent()&&(n.isSlowRenderer()&&n.removeStaticMarkup(),setTimeout(function(){n.removeStaticMarkup()}))})},s.prototype.fallbackMethodAvailable=function(e){return!1},s.prototype.fallbackMethod=function(e,t){},s.prototype.isSlowRenderer=function(){return this.staticRenderTime>=s.SLOW_RENDERING_THRESHOLD},s.prototype.isNullValue=function(){return""===this.staticMarkup},s.prototype.renderStaticMarkup=function(e){if(!this.parentComponent.isDisableStaticMarkup()&&this.componentType.cellRenderer){var t=console.error,e=ie.createElement(this.reactComponent,e);try{console.error=function(){};var n=Date.now(),r=w.renderToStaticMarkup(e);this.staticRenderTime=Date.now()-n,console.error=t,""===r?this.staticMarkup=r:r&&(this.staticMarkup=document.createElement("span"),this.staticMarkup.innerHTML=r,this.eParentElement.appendChild(this.staticMarkup))}catch(e){}finally{console.error=t}}},s.prototype.removeStaticMarkup=function(){!this.parentComponent.isDisableStaticMarkup()&&this.componentType.cellRenderer&&this.staticMarkup&&(this.staticMarkup.remove?(this.staticMarkup.remove(),this.staticMarkup=null):this.eParentElement.removeChild&&(this.eParentElement.removeChild(this.staticMarkup),this.staticMarkup=null))},s.prototype.rendered=function(){return this.isNullValue()||!!this.staticMarkup||this.isStatelessComponent()&&this.statelessComponentRendered()||!(this.isStatelessComponent()||!this.getFrameworkComponentInstance())},s.SLOW_RENDERING_THRESHOLD=3;var I,b=s;function s(e,t,n,r){e=I.call(this,e,n,r)||this;return e.staticMarkup=null,e.staticRenderTime=0,e.parentComponent=t,e}n(l,u=ie.Component),l.prototype.render=function(){return null},l.mapChildColumnDefs=function(e){return ue.Children.map(e,function(e){return e?l.toColDef(e.props):null})},l.toColDef=function(e){var t=e.children,e=function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}(e,["children"]);return l.hasChildColumns(t)&&(e.children=l.mapChildColumnDefs(t)),e},l.hasChildColumns=function(e){return 0<ue.Children.count(e)};var u,c=l;function l(){return null!==u&&u.apply(this,arguments)||this}function p(e,t){e.forEach(function(e){c[e]=t})}p(se.ColDefUtil.BOOLEAN_PROPERTIES,e.bool),p(se.ColDefUtil.STRING_PROPERTIES,e.string),p(se.ColDefUtil.OBJECT_PROPERTIES,e.object),p(se.ColDefUtil.ARRAY_PROPERTIES,e.array),p(se.ColDefUtil.NUMBER_PROPERTIES,e.number),p(se.ColDefUtil.FUNCTION_PROPERTIES,e.func),(g=t.ChangeDetectionStrategyType||(t.ChangeDetectionStrategyType={})).IdentityCheck="IdentityCheck",g.DeepValueCheck="DeepValueCheck",g.NoCheck="NoCheck";k.prototype.areEqual=function(e,t){return this.strategy(e,t)};var N=k;function k(e){this.strategy=e}f.prototype.areEqual=function(e,t){return f.areEquivalent(f.copy(e),f.copy(t))},f.unwrapStringOrNumber=function(e){return e instanceof Number||e instanceof String?e.valueOf():e},f.copy=function(e){if(!e)return e;if(Array.isArray(e)){for(var t=[],n=0;n<e.length;n++)t.push(this.copy(e[n]));return t}return"object"!=typeof e?e:[{},e].reduce(function(t,n){return Object.keys(n).forEach(function(e){t[e]=n[e]}),t},{})},f.isNaN=function(e){return Number.isNaN?Number.isNaN(e):"number"==typeof e&&isNaN(e)},f.areEquivalent=function(t,n){if(t=f.unwrapStringOrNumber(t),n=f.unwrapStringOrNumber(n),t===n)return!0;if(null===t||null===n||typeof t!=typeof n)return!1;if(f.isNaN(t)&&f.isNaN(n))return!0;if(t instanceof Date)return n instanceof Date&&t.valueOf()===n.valueOf();if("function"==typeof t)return!1;if("object"!=typeof t||t.$$typeof&&"Symbol(react.element)"===t.$$typeof.toString())return t==n;if(Object.isFrozen(t)||Object.isFrozen(n))return t===n;var e=void 0===t.areEquivPropertyTracking,r=void 0===n.areEquivPropertyTracking;try{var o=void 0;if(e)t.areEquivPropertyTracking=[];else if(t.areEquivPropertyTracking.some(function(e){return e===n}))return!0;if(r)n.areEquivPropertyTracking=[];else if(n.areEquivPropertyTracking.some(function(e){return e===t}))return!0;t.areEquivPropertyTracking.push(n),n.areEquivPropertyTracking.push(t);var a={};for(o in t)"areEquivPropertyTracking"!=o&&(a[o]=null);for(o in n)"areEquivPropertyTracking"!=o&&(a[o]=null);for(o in a)if(!this.areEquivalent(t[o],n[o]))return!1;return!0}finally{e&&delete t.areEquivPropertyTracking,r&&delete n.areEquivPropertyTracking}};var A=f;function f(){}x.prototype.getStrategy=function(e){return this.strategyMap[e]};var F=x;function x(){var e;this.strategyMap=((e={})[t.ChangeDetectionStrategyType.DeepValueCheck]=new A,e[t.ChangeDetectionStrategyType.IdentityCheck]=new N(function(e,t){return e===t}),e[t.ChangeDetectionStrategyType.NoCheck]=new N(function(e,t){return!1}),e)}n(m,B=o),m.prototype.init=function(e){var t=this;return this.eParentElement=this.createParentElement(e),this.params=e,this.createOrUpdatePortal(e),new se.AgPromise(function(e){return t.createReactComponent(e)})},m.prototype.createOrUpdatePortal=function(e){var t=this;this.isStatelessComponent()||(e.ref=function(e){t.componentInstance=e,t.addParentContainerStyleAndClasses()}),this.reactElement=ie.createElement(this.reactComponent,ce(ce({},e),{key:this.key})),this.portal=r.createPortal(this.reactElement,this.eParentElement,this.portalKey)},m.prototype.createReactComponent=function(t){this.portalManager.mountReactPortal(this.portal,this,function(e){t(e)})},m.prototype.isNullValue=function(){return this.valueRenderedIsNull(this.params)},m.prototype.rendered=function(){return this.isStatelessComponent()&&this.statelessComponentRendered()||!(this.isStatelessComponent()||!this.getFrameworkComponentInstance())},m.prototype.valueRenderedIsNull=function(e){if(this.componentType.cellRenderer){var t=console.error;try{return console.error=function(){},""===w.renderToStaticMarkup(ie.createElement(this.reactComponent,e))}catch(e){}finally{console.error=t}}return!1},m.prototype.refreshComponent=function(e){this.oldPortal=this.portal,this.createOrUpdatePortal(e),this.portalManager.updateReactPortal(this.oldPortal,this.portal)},m.prototype.fallbackMethod=function(e,t){e=this[e+"Component"];if(e)return e.bind(this)(t)},m.prototype.fallbackMethodAvailable=function(e){return!!this[e+"Component"]};var B,U=m;function m(e,t,n){e=B.call(this,e,t,n)||this;return e.oldPortal=null,e.key=i(),e.portalKey=i(),e}d.prototype.getPortals=function(){return this.portals},d.prototype.destroy=function(){this.destroyed=!0},d.prototype.destroyPortal=function(t){this.portals=this.portals.filter(function(e){return e!==t}),this.batchUpdate()},d.prototype.getComponentWrappingElement=function(){return this.wrappingElement},d.prototype.mountReactPortal=function(e,t,n){this.portals=G(this.portals,[e]),this.waitForInstance(t,n),this.batchUpdate()},d.prototype.updateReactPortal=function(e,t){this.portals[this.portals.indexOf(e)]=t,this.batchUpdate()},d.prototype.batchUpdate=function(){var e=this;this.hasPendingPortalUpdate||(setTimeout(function(){e.destroyed||e.parent.forceUpdate(function(){e.hasPendingPortalUpdate=!1})}),this.hasPendingPortalUpdate=!0)},d.prototype.waitForInstance=function(e,t,n){var r=this;if(void 0===n&&(n=Date.now()),this.destroyed)t(null);else if(e.rendered())t(e);else{if(Date.now()-n>=this.maxComponentCreationTimeMs&&!this.hasPendingPortalUpdate)return e.isNullValue()?void t(e):void console.error("AG Grid: React Component '"+e.getReactComponentName()+"' not created within "+this.maxComponentCreationTimeMs+"ms");window.setTimeout(function(){r.waitForInstance(e,t,n)})}},d.MAX_COMPONENT_CREATION_TIME_IN_MS=1e3;var L=d;function d(e,t,n){this.destroyed=!1,this.portals=[],this.hasPendingPortalUpdate=!1,this.wrappingElement=t||"div",this.parent=e,this.maxComponentCreationTimeMs=n||d.MAX_COMPONENT_CREATION_TIME_IN_MS}function _(e,t,n,r){var o=!e||e.componentFromFramework;if(!o){var a,i,s,o=e.newAgStackInstance();if(o)return s=!1,o.then(function(e){s?t.destroyBean(e):(i=(a=e).getGui(),n.appendChild(i),H(r,a))}),function(){s=!0,a&&(i&&i.parentElement&&i.parentElement.removeChild(i),t.destroyBean(a),r&&H(r,void 0))}}}function H(e,t){e&&(e instanceof Function?e(t):e.current=t)}function me(e){var t=ie.useRef(e),n=ie.useRef(),r=ie.useRef(!1),o=ie.useRef(!1),a=ie.useState(0)[1];r.current&&(o.current=!0),ie.useLayoutEffect(function(){return r.current||(n.current=t.current(),r.current=!0),a(function(e){return e+1}),function(){o.current&&n.current&&n.current()}},[])}function z(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(e){return null!=e&&""!==e}).join(" ")}var le=ue.createContext({}),pe=function(e){var t=ie.useRef(e),n=ie.useRef(),r=ie.useRef(!1),o=ie.useRef(!1),a=ie.useState(0)[1];r.current&&(o.current=!0),ie.useEffect(function(){return r.current||(n.current=t.current(),r.current=!0),a(function(e){return e+1}),function(){o.current&&n.current&&n.current()}},[])},P=(h.prototype.setClass=function(e,t){var n;return!!this.classesMap[e]==t?this:((n=new h).classesMap=ce({},this.classesMap),n.classesMap[e]=t,n)},h.prototype.toString=function(){var t=this;return Object.keys(this.classesMap).filter(function(e){return t.classesMap[e]}).join(" ")},h);function h(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this.classesMap={},e.forEach(function(e){t.classesMap[e]=!0})}function fe(e){return"function"==typeof e&&!(e.prototype&&e.prototype.isReactComponent)||"object"==typeof e&&e.$$typeof===("function"==typeof Symbol&&Symbol.for?Symbol.for("react.memo"):60115)}function $(r,o){pe(function(){var e,t=o.current,n=t.parentElement;if(n)return e=document.createComment(r),n.insertBefore(e,t),function(){n.removeChild(e)}})}var D=ie.forwardRef(function(n,e){var r=ie.useContext(le).context,o=ie.useRef(null),t=ie.useRef(null),a=ie.useRef(null),i=ie.useRef(null),s=ie.useRef(null),u=ie.useState(),c=u[0],l=u[1],u=ie.useState(),p=u[0],f=u[1],u=ie.useState(),m=u[0],d=u[1],u=ie.useState(new P),h=u[0],C=u[1],u=ie.useState(new P("ag-hidden")),g=u[0],y=u[1],u=ie.useState(new P("ag-hidden")),v=u[0],R=u[1],u=ie.useState(new P("ag-invisible")),E=u[0],S=u[1],u=(ie.useImperativeHandle(e,function(){return{refresh:function(){return!1}}}),ie.useEffect(function(){return _(c,r,t.current)},[c]),pe(function(){var e={setInnerRenderer:function(e,t){l(e),d(t)},setChildCount:function(e){return f(e)},addOrRemoveCssClass:function(t,n){return C(function(e){return e.setClass(t,n)})},setContractedDisplayed:function(t){return R(function(e){return e.setClass("ag-hidden",!t)})},setExpandedDisplayed:function(t){return y(function(e){return e.setClass("ag-hidden",!t)})},setCheckboxVisible:function(t){return S(function(e){return e.setClass("ag-invisible",!t)})}},t=r.createBean(new se.GroupCellRendererCtrl);return t.init(e,o.current,a.current,i.current,s.current,D,n),function(){r.destroyBean(t)}}),ie.useMemo(function(){return"ag-cell-wrapper "+h.toString()},[h])),e=ie.useMemo(function(){return"ag-group-expanded "+g.toString()},[g]),w=ie.useMemo(function(){return"ag-group-contracted "+v.toString()},[v]),O=ie.useMemo(function(){return"ag-group-checkbox "+E.toString()},[E]),T=c&&c.componentFromFramework,M=T?c.componentClass:void 0,I=null==c&&null!=m;return ue.createElement("span",ce({className:u,ref:o},n.colDef?{}:{role:"gridcell"}),ue.createElement("span",{className:e,ref:i}),ue.createElement("span",{className:w,ref:s}),ue.createElement("span",{className:O,ref:a}),ue.createElement("span",{className:"ag-group-value",ref:t},I&&ue.createElement(ue.Fragment,null,m),T&&ue.createElement(M,ce({},c.params))),ue.createElement("span",{className:"ag-group-child-count"},p))}),j=ie.memo(function(e){var t=ie.useContext(le).context,n=ie.useState(),r=n[0],o=n[1],n=ie.useState(),a=n[0],i=n[1],n=ie.useState(),s=n[0],u=n[1],n=ie.useState(),c=n[0],l=n[1],n=ie.useState(),p=n[0],f=n[1],n=ie.useState(),m=n[0],d=n[1],h=ie.useRef(null),C=ie.useRef(null),g=ie.useRef(null),y=ie.useRef(),v=e.ctrl,R=ie.useMemo(function(){return new se.CssClassManager(function(){return h.current})},[]),n=(pe(function(){v.setComp({setWidth:function(e){return o(e)},addOrRemoveCssClass:function(e,t){return R.addOrRemoveCssClass(e,t)},setColId:function(e){return u(e)},setTitle:function(e){return i(e)},setAriaDescription:function(e){return f(e)},setAriaSort:function(e){return l(e)},setUserCompDetails:function(e){return d(e)},getUserCompInstance:function(){return y.current||void 0}},h.current,C.current,g.current);var e=v.getSelectAllGui();C.current.insertAdjacentElement("afterend",e)}),ie.useEffect(function(){return _(m,t,g.current,y)},[m]),ie.useEffect(function(){v.setDragSource(h.current)},[m]),ie.useMemo(function(){return{width:r}},[r])),e=ie.useMemo(function(){var e;return!!((null==(e=m)?void 0:e.componentFromFramework)&&fe(m.componentClass))},[m]),E=m&&m.componentFromFramework,S=m&&m.componentClass;return ue.createElement("div",{ref:h,className:"ag-header-cell",style:n,title:a,"col-id":s,"aria-sort":c,role:"columnheader",tabIndex:-1,"aria-description":p},ue.createElement("div",{ref:C,className:"ag-header-cell-resize",role:"presentation"}),ue.createElement("div",{ref:g,className:"ag-header-cell-comp-wrapper",role:"presentation"},E&&e&&ue.createElement(S,ce({},m.params)),E&&!e&&ue.createElement(S,ce({},m.params,{ref:y}))))}),W=ie.memo(function(e){var t=ie.useContext(le).context,n=ie.useState(new P),r=n[0],o=n[1],n=ie.useState(new P),a=n[0],i=n[1],n=ie.useState(),s=n[0],u=n[1],n=ie.useState(),c=n[0],l=n[1],n=ie.useState(),p=n[0],f=n[1],n=ie.useState(),m=n[0],d=n[1],n=ie.useState(),h=n[0],C=n[1],g=ie.useRef(null),y=ie.useRef(null),v=e.ctrl,n=(pe(function(){v.setComp({setWidth:function(e){return u(e)},addOrRemoveCssClass:function(t,n){return o(function(e){return e.setClass(t,n)})},setColId:function(e){return f(e)},setTitle:function(e){return l(e)},setUserCompDetails:function(e){return C(e)},addOrRemoveResizableCssClass:function(t,n){return i(function(e){return e.setClass(t,n)})},setAriaExpanded:function(e){return d(e)}},g.current,y.current)}),ie.useEffect(function(){return _(h,t,g.current)},[h]),ie.useEffect(function(){var t=void 0;g.current.childNodes.forEach(function(e){null!=e&&e!==y.current&&(t=e)}),t&&v.setDragSource(t)},[h]),ie.useMemo(function(){return{width:s}},[s])),e=ie.useMemo(function(){return"ag-header-group-cell "+r.toString()},[r]),R=ie.useMemo(function(){return"ag-header-cell-resize "+a.toString()},[a]),E=h&&h.componentFromFramework,S=h&&h.componentClass;return ue.createElement("div",{ref:g,className:e,style:n,title:c,"col-id":p,role:"columnheader",tabIndex:-1,"aria-expanded":m},E&&ue.createElement(S,ce({},h.params)),ue.createElement("div",{ref:y,className:R}))}),V=ie.memo(function(e){function t(e){g.current||null!=e&&(y.current&&y.current(e),g.current=!0)}var n=ie.useContext(le).context,r=ie.useState(new P),o=r[0],a=r[1],r=ie.useState(new P),i=r[0],s=r[1],r=ie.useState(new P),u=r[0],c=r[1],r=ie.useState(),l=r[0],p=r[1],r=ie.useState(),f=r[0],m=r[1],d=ie.useRef(null),h=ie.useRef(null),r=ie.useRef(null),C=ie.useRef(null),g=ie.useRef(!1),y=ie.useRef(),v=ie.useRef(),R=(pe(function(){v.current=new se.AgPromise(function(e){y.current=e})}),e.ctrl),e=(pe(function(){R.setComp({addOrRemoveCssClass:function(t,n){return a(function(e){return e.setClass(t,n)})},addOrRemoveBodyCssClass:function(t,n){return s(function(e){return e.setClass(t,n)})},addOrRemoveButtonWrapperCssClass:function(t,n){return c(function(e){return e.setClass(t,n)})},setWidth:function(e){return p(e)},setCompDetails:function(e){return m(e)},getFloatingFilterComp:function(){return v.current||null},setMenuIcon:function(e){return C.current.appendChild(e)}},d.current,C.current,h.current)}),ie.useEffect(function(){return _(f,n,h.current,t)},[f]),ie.useMemo(function(){return{width:l}},[l])),E=ie.useMemo(function(){return"ag-header-cell ag-floating-filter "+o.toString()},[o]),S=ie.useMemo(function(){return i.toString()},[i]),w=ie.useMemo(function(){return"ag-floating-filter-button "+u.toString()},[i]),O=ie.useMemo(function(){return!!(f&&f.componentFromFramework&&fe(f.componentClass))},[f]),T=f&&f.componentFromFramework,M=f&&f.componentClass;return ue.createElement("div",{ref:d,className:E,style:e,role:"gridcell",tabIndex:-1},ue.createElement("div",{ref:h,className:S,role:"presentation"},T&&O&&ue.createElement(M,ce({},f.params)),T&&!O&&ue.createElement(M,ce({},f.params,{ref:t}))),ue.createElement("div",{ref:r,className:w,role:"presentation"},ue.createElement("button",{ref:C,type:"button","aria-label":"Open Filter Menu",className:"ag-floating-filter-button-button",tabIndex:-1})))}),q=ie.memo(function(e){var o=ie.useContext(le).gridOptionsWrapper,t=ie.useState(),n=t[0],r=t[1],t=ie.useState(),a=t[0],i=t[1],t=ie.useState(),s=t[0],u=t[1],t=ie.useState(),c=t[0],l=t[1],t=ie.useState(),p=t[0],f=t[1],t=ie.useState([]),m=t[0],d=t[1],t=ie.useRef(null),h=e.ctrl,C=h.getType()===se.HeaderRowType.COLUMN,g=h.getType()===se.HeaderRowType.COLUMN_GROUP,y=h.getType()===se.HeaderRowType.FLOATING_FILTER,v=ie.useCallback(function(e,t){var n,r;return o.isEnsureDomOrder()?t:(n=se._.mapById(e,function(e){return e.getInstanceId()}),r=se._.mapById(t,function(e){return e.getInstanceId()}),G(e.filter(function(e){return r.has(e.getInstanceId())}),t.filter(function(e){return!n.has(e.getInstanceId())})))},[]),e=(pe(function(){h.setComp({setTransform:function(e){return r(e)},setHeight:function(e){return i(e)},setTop:function(e){return u(e)},setHeaderCtrls:function(t){return d(function(e){return v(e,t)})},setWidth:function(e){return l(e)},setAriaRowIndex:function(e){return f(e)}})}),ie.useMemo(function(){return{transform:n,height:a,top:s,width:c}},[n,a,s,c])),R=ie.useMemo(function(){var e=["ag-header-row"];return C&&e.push("ag-header-row-column"),g&&e.push("ag-header-row-column-group"),y&&e.push("ag-header-row-column-filter"),e.join(" ")},[]),E=ie.useCallback(function(e){switch(h.getType()){case se.HeaderRowType.COLUMN_GROUP:return ue.createElement(W,{ctrl:e,key:e.getInstanceId()});case se.HeaderRowType.FLOATING_FILTER:return ue.createElement(V,{ctrl:e,key:e.getInstanceId()});default:return ue.createElement(j,{ctrl:e,key:e.getInstanceId()})}},[]);return ue.createElement("div",{ref:t,className:R,role:"row",style:e,"aria-rowindex":p},m.map(E))}),C=ie.memo(function(n){function e(){return p.map(function(e){return ue.createElement(q,{ctrl:e,key:e.getInstanceId()})})}var t=ie.useState(new P),r=t[0],o=t[1],t=ie.useState(),a=t[0],i=t[1],t=ie.useState(),s=t[0],u=t[1],t=ie.useState(),c=t[0],l=t[1],t=ie.useState([]),p=t[0],f=t[1],m=ie.useContext(le).context,d=ie.useRef(null),t=n.pinned===se.Constants.PINNED_LEFT,h=n.pinned===se.Constants.PINNED_RIGHT,C=!t&&!h,g=(pe(function(){var e={addOrRemoveCssClass:function(t,n){return o(function(e){return e.setClass(t,n)})},setCtrls:function(e){return f(e)},setCenterWidth:function(e){return i(e)},setContainerTransform:function(e){return u(e)},setPinnedContainerWidth:function(e){return l(e)}},t=m.createBean(new se.HeaderRowContainerCtrl(n.pinned));return t.setComp(e,d.current),function(){m.destroyBean(t)}}),ie.useMemo(function(){return r.toString()},[r])),y=ie.useMemo(function(){return{width:a,transform:s}},[a,s]),v=ie.useMemo(function(){return{width:c,minWidth:c,maxWidth:c}},[c]);return ue.createElement(ue.Fragment,null,t&&ue.createElement("div",{ref:d,className:"ag-pinned-left-header "+g,role:"presentation",style:v},e()),h&&ue.createElement("div",{ref:d,className:"ag-pinned-right-header "+g,role:"presentation",style:v},e()),C&&ue.createElement("div",{ref:d,className:"ag-header-viewport "+g,role:"presentation"},ue.createElement("div",{className:"ag-header-container",role:"rowgroup",style:y},e())))}),X=ie.memo(function(){var e=ie.useState(new P),t=e[0],r=e[1],e=ie.useState(),n=e[0],o=e[1],a=ie.useContext(le).context,i=ie.useRef(null),e=(pe(function(){var e={addOrRemoveCssClass:function(t,n){return r(function(e){return e.setClass(t,n)})},setHeightAndMinHeight:function(e){return o(e)}},t=a.createBean(new se.GridHeaderCtrl);return t.setComp(e,i.current,i.current),function(){a.destroyBean(t)}}),ie.useMemo(function(){return"ag-header "+t.toString()},[t])),s=ie.useMemo(function(){return{height:n,minHeight:n}},[n]);return ue.createElement("div",{ref:i,className:e,style:s,role:"presentation"},ue.createElement(C,{pinned:se.Constants.PINNED_LEFT}),ue.createElement(C,{pinned:null}),ue.createElement(C,{pinned:se.Constants.PINNED_RIGHT}))}),de=ie.memo(function(u){var e=ie.useState(),t=e[0],c=e[1],e=ie.useContext(le),l=e.context,p=e.popupService,f=e.gridOptionsWrapper;return pe(function(){var e=u.editDetails,t=u.cellCtrl,n=u.eParentCell,r=e.compDetails,o=f.isStopEditingWhenCellsLoseFocus(),a=l.createBean(new se.PopupEditorWrapper(r.params)),r=a.getGui(),i=(!u.jsChildComp||(i=u.jsChildComp.getGui())&&r.appendChild(i),{column:t.getColumn(),rowNode:t.getRowNode(),type:"popupCellEditor",eventSource:n,ePopup:r,keepWithinBounds:!0}),e=("under"===e.popupPosition?p.positionPopupUnderComponent:p.positionPopupOverComponent).bind(p,i),i=f.getLocaleTextFunc(),o=p.addPopup({modal:o,eChild:r,closeOnEsc:!0,closedCallback:function(){t.onPopupEditorClosed()},anchorToElement:n,positionCallback:e,ariaLabel:i("ariaLabelCellEditor","Cell Editor")}),s=o?o.hideFunc:void 0;return c(a),u.jsChildComp&&u.jsChildComp.afterGuiAttached&&u.jsChildComp.afterGuiAttached(),function(){null!=s&&s(),l.destroyBean(a)}}),ue.createElement(ue.Fragment,null,t&&u.wrappedContent&&r.createPortal(u.wrappedContent,t.getGui()))}),K=ie.memo(function(e){function t(){return ue.createElement(ue.Fragment,null,null!=R&&(i=S,s=ae,u=T,c=k,l=oe,p=te,m=(a=R).compDetails,a=a.value,d=!m,h=m&&m.componentFromFramework,C=m&&m.componentClass,g=null!=(f=a)&&f.toString?a.toString():a,ue.createElement(ue.Fragment,null,c?ue.createElement("span",{role:"presentation",id:"cell-"+s,className:"ag-cell-value",ref:p},y()):y())),null!=E&&(f=E,a=re,c=ne,s=O.current,p=v,e=X,t=f.compDetails,n=t.componentClass,r=t.componentFromFramework&&!f.popup,o=t.componentFromFramework&&f.popup,t=!t.componentFromFramework&&f.popup,ue.createElement(ue.Fragment,null,r&&ue.createElement(n,ce({},f.compDetails.params,{ref:a})),o&&ue.createElement(de,{editDetails:f,cellCtrl:p,eParentCell:s,wrappedContent:ue.createElement(n,ce({},f.compDetails.params,{ref:c}))}),t&&e&&ue.createElement(de,{editDetails:f,cellCtrl:p,eParentCell:s,jsChildComp:e}))));var e,t,n,r,o,a,i,s,u,c,l,p,f,m,d,h,C,g;function y(){return ue.createElement(ue.Fragment,null,d&&ue.createElement(ue.Fragment,null,g),h&&!l&&ue.createElement(C,ce({},m.params,{key:i,ref:u})),h&&l&&ue.createElement(C,ce({},m.params,{key:i})))}}var n,r,o,a,i,s,u,c=ie.useContext(le).context,v=e.cellCtrl,l=e.printLayout,p=e.editingRow,e=ie.useState(),R=e[0],f=e[1],e=ie.useState(),E=e[0],m=e[1],e=ie.useState(1),S=e[0],d=e[1],e=ie.useState(),h=e[0],_=e[1],e=ie.useState(),x=e[0],B=e[1],e=ie.useState(),U=e[0],L=e[1],e=ie.useState(),H=e[0],j=e[1],e=ie.useState(),W=e[0],V=e[1],e=ie.useState(),q=e[0],K=e[1],e=ie.useState(!1),C=e[0],Y=e[1],e=ie.useState(!1),g=e[0],z=e[1],e=ie.useState(!1),y=e[0],$=e[1],e=ie.useState(),X=e[0],w=e[1],e=ie.useMemo(function(){return v.isForceWrapper()},[]),O=ie.useRef(null),T=ie.useRef(null),M=ie.useRef(),I=ie.useRef(),P=ie.useRef(),D=ie.useState(0),Z=D[0],J=D[1],D=ie.useCallback(function(e){P.current=e,J(function(e){return e+1})},[]),b=ie.useRef(),N=ie.useState(0),Q=N[0],ee=N[1],te=ie.useCallback(function(e){b.current=e,ee(function(e){return e+1})},[]),N=null!=R&&(C||y||g),k=e&&!v.isEditing()||N,A=ie.useCallback(function(e,t){var n,r,o,a,i;(I.current=t)&&(e=e,n=t,i=(r=v).getColumn(),!e&&n.isPopup&&n.isPopup()&&(o="AG Grid: Found an issue in column "+i.getColId()+". If using React, specify an editor is a popup using colDef.cellEditorPopup=true. AG Grid React cannot depend on the editor component specifying if it's in a popup (via the isPopup() method on the editor), as React needs to know this information BEFORE the component is created.",se._.doOnce(function(){return console.warn(o)},"jsEditorComp-isPopup-"+r.getColumn().getColId())),e&&n.getPopupPosition&&null!=n.getPopupPosition()&&(a="AG Grid: Found an issue in column "+i.getColId()+". If using React, specify an editor popup position using colDef.cellEditorPopupPosition=true. AG Grid React cannot depend on the editor component specifying it's position (via the getPopupPosition() method on the editor), as React needs to know this information BEFORE the component is created.",se._.doOnce(function(){return console.warn(a)},"jsEditorComp-getPopupPosition-"+r.getColumn().getColId())),t.isCancelBeforeStart&&t.isCancelBeforeStart()&&setTimeout(function(){return v.stopEditing()},0))},[]),ne=ie.useCallback(function(e){return A(!0,e)},[]),re=ie.useCallback(function(e){return A(!1,e)},[]),F=ie.useMemo(function(){return new se.CssClassManager(function(){return O.current})},[]),G=(n=R,r=k,o=b.current,e=Q,a=M,i=O,N=ie.useContext(le),s=N.context,N.userComponentFactory,u=ie.useCallback(function(){var e,t=a.current;t&&((e=t.getGui())&&e.parentElement&&e.parentElement.removeChild(e),s.destroyBean(t),a.current=void 0)},[]),ie.useEffect(function(){var e=n&&n.compDetails&&!n.compDetails.componentFromFramework;if(null!=n&&e&&!(r&&null==o)){e=n.compDetails;if(a.current){var t=a.current,t=null!=t.refresh&&0==n.force&&t.refresh(e.params);if(!0===t||void 0===t)return;u()}t=e.newAgStackInstance();t&&(e=t.resolveNow(null,function(e){return e}))&&(t=e.getGui())&&((r?o:i.current).appendChild(t),a.current=e)}else u()},[n,r,e]),pe(function(){return u}),ie.useRef()),oe=(ie.useEffect(function(){var e=G.current,t=R;G.current=R,null!=e&&null!=e.compDetails&&null!=t&&null!=t.compDetails&&(e=e.compDetails,t=t.compDetails,e.componentClass==t.componentClass&&null!=T.current&&null!=T.current.refresh&&1!=T.current.refresh(t.params)&&d(function(e){return e+1}))},[R]),ie.useEffect(function(){if(E&&!E.compDetails.componentFromFramework){var e,t=E.compDetails,n=!0===E.popup,r=function(e){e=e.newAgStackInstance();if(e)return e.resolveNow(null,function(e){return e})}(t);if(r)return e=r.getGui(),A(n,r),n||(O.current.appendChild(e),r.afterGuiAttached&&r.afterGuiAttached()),w(r),function(){c.destroyBean(r),A(n,void 0),w(void 0),e&&e.parentElement&&e.parentElement.removeChild(e)}}},[E]),ie.useEffect(function(){var n,e;if(v&&c&&(L(P.current?"cell-"+v.getInstanceId():void 0),P.current&&k))return n=[],e=function(e){var t;return e&&(t=e.getGui(),P.current.insertAdjacentElement("afterbegin",t),n.push(function(){c.destroyBean(e),se._.removeFromParent(t)})),e},C&&e(v.createSelectionCheckbox()),y&&e(v.createDndSource()),g&&e(v.createRowDragComp()),function(){return n.forEach(function(e){return e()})}},[k,y,g,C,Z]),me(function(){var e;v&&(e=P.current||void 0,v.setComp({addOrRemoveCssClass:function(e,t){return F.addOrRemoveCssClass(e,t)},setUserStyles:function(e){return _(e)},getFocusableElement:function(){return O.current},setTabIndex:function(e){return B(e)},setRole:function(e){return j(e)},setColId:function(e){return V(e)},setTitle:function(e){return K(e)},setIncludeSelection:function(e){return Y(e)},setIncludeRowDrag:function(e){return z(e)},setIncludeDndSource:function(e){return $(e)},getCellEditor:function(){return I.current||null},getCellRenderer:function(){return T.current||M.current},getParentOfValue:function(){return b.current||P.current||O.current},setRenderDetails:function(e,t,n){f({value:t,compDetails:e,force:n})},setEditDetails:function(e,t,n){e?(m({compDetails:e,popup:t,popupPosition:n}),t||f(void 0)):m(void 0)}},O.current,e,l,p))}),ie.useMemo(function(){return!!(R&&R.compDetails&&R.compDetails.componentFromFramework&&fe(R.compDetails.componentClass))},[R])),ae=(O.current&&!k&&F.addOrRemoveCssClass("ag-cell-value",!k),ie.useMemo(function(){return v.getInstanceId()},[]));return ue.createElement("div",{ref:O,style:h,tabIndex:x,role:H,"col-id":W,title:q,"aria-describedby":U},k?ue.createElement("div",{className:"ag-cell-wrapper",role:"presentation",ref:D},t()):t())}),Y=ie.memo(function(e){var t=ie.useContext(le).context,n=e.rowCtrl,r=e.containerType,e=ie.useState(),o=e[0],a=e[1],e=ie.useState(),i=e[0],s=e[1],e=ie.useState(),u=e[0],c=e[1],e=ie.useState(),l=e[0],p=e[1],e=ie.useState(),f=e[0],m=e[1],e=ie.useState(),d=e[0],h=e[1],e=ie.useState({list:[],instanceIdMap:new Map}),C=e[0],g=e[1],e=ie.useState(),y=e[0],v=e[1],e=ie.useState(!1),R=e[0],E=e[1],e=ie.useState(n.getInitialRowTop()),S=e[0],w=e[1],e=ie.useState(n.getInitialTransform()),O=e[0],T=e[1],M=ie.useRef(null),I=ie.useRef(),P=ie.useRef(!1),e=ie.useState(0),D=e[0],b=e[1],N=(ie.useEffect(function(){var e;P.current||!y||10<D||((e=null==(e=M.current)?void 0:e.firstChild)?(n.setupDetailRowAutoHeight(e),P.current=!0):b(function(e){return e+1}))},[y,D]),ie.useMemo(function(){return new se.CssClassManager(function(){return M.current})},[])),e=(me(function(){n.isAlive()&&n.setComp({setTop:function(e){return w(e)},setTransform:function(e){return T(e)},addOrRemoveCssClass:function(e,t){return N.addOrRemoveCssClass(e,t)},setDomOrder:function(e){return E(e)},setRowIndex:function(e){return a(e)},setRowId:function(e){return s(e)},setRowBusinessKey:function(e){return p(e)},setTabIndex:function(e){return m(e)},setUserStyles:function(e){return h(e)},setRole:function(e){return c(e)},setCellCtrls:function(s){return g(function(e){return n=e,e=s,R?(t={list:e,instanceIdMap:new Map},e.forEach(function(e){return t.instanceIdMap.set(e.getInstanceId(),e)}),t):(r=[],o=[],a=new Map,i=new Map,e.forEach(function(e){return i.set(e.getInstanceId(),e)}),n.list.forEach(function(e){var t=e.getInstanceId();i.has(t)&&(r.push(e),a.set(t,e))}),e.forEach(function(e){var t=e.getInstanceId();n.instanceIdMap.has(t)||(o.push(e),a.set(t,e))}),{list:G(r,o),instanceIdMap:a});var n,t,r,o,a,i})},showFullWidth:function(e){return v(e)},getFullWidthCellRenderer:function(){return I.current}},M.current,r)}),ie.useEffect(function(){return _(y,t,M.current,I)},[y]),ie.useMemo(function(){var e={top:S,transform:O};return Object.assign(e,d),e},[S,O,d])),k=y&&y.componentFromFramework,A=null!=C,F=ie.useMemo(function(){var e;return!!((null==(e=y)?void 0:e.componentFromFramework)&&fe(y.componentClass))},[y]);return ue.createElement("div",{ref:M,role:u,style:e,"row-index":o,"row-id":i,"row-business-key":l,tabIndex:f},A&&C.list.map(function(e){return ue.createElement(K,{cellCtrl:e,editingRow:n.isEditing(),printLayout:n.isPrintLayout(),key:e.getInstanceId()})}),k&&(u=y.componentClass,ue.createElement(ue.Fragment,null,F&&ue.createElement(u,ce({},y.params)),!F&&ue.createElement(u,ce({},y.params,{ref:I})))))}),Z=ie.memo(function(e){function t(){return ue.createElement("div",{className:R,ref:y,role:u.length?"rowgroup":"presentation",style:T},i.map(function(e){return ue.createElement(Y,{rowCtrl:e,containerType:h,key:e.getInstanceId()})}))}var r=ie.useContext(le).context,n=ie.useState(""),o=n[0],a=n[1],n=ie.useState([]),i=n[0],s=n[1],n=ie.useState([]),u=n[0],c=n[1],n=ie.useState(!1),l=n[0],p=n[1],n=ie.useState(""),f=n[0],m=n[1],d=e.name,h=ie.useMemo(function(){return se.getRowContainerTypeForName(d)},[d]),C=ie.useRef(null),g=ie.useRef(null),y=ie.useRef(null),v=ie.useMemo(function(){return se.RowContainerCtrl.getRowContainerCssClasses(d)},[d]),n=ie.useMemo(function(){return z(v.wrapper)},[]),e=ie.useMemo(function(){return z(v.viewport)},[]),R=ie.useMemo(function(){return z(v.container)},[]),E=d===se.RowContainerName.CENTER,S=d===se.RowContainerName.TOP_CENTER||d===se.RowContainerName.BOTTOM_CENTER||d===se.RowContainerName.STICKY_TOP_CENTER,w=!E&&!S,O=($(" AG Row Container "+d+" ",E?C:S?g:y),ie.useEffect(function(){s(function(e){var t;return l?u:(t=e.filter(function(e){return 0<=u.indexOf(e)}),e=u.filter(function(e){return t.indexOf(e)<0}),G(t,e))})},[l,u]),pe(function(){var e=[],t={setViewportHeight:a,setRowCtrls:function(e){return c(e)},setDomOrder:function(e){return p(e)},setContainerWidth:function(e){return m(e)}},n=r.createBean(new se.RowContainerCtrl(d));return e.push(n),n.setComp(t,y.current,g.current,C.current),function(){r.destroyBeans(e)}}),ie.useMemo(function(){return{height:o}},[o])),T=ie.useMemo(function(){return{width:f}},[f]);return ue.createElement(ue.Fragment,null,E&&ue.createElement("div",{className:n,ref:C,role:"presentation"},ue.createElement("div",{className:e,ref:g,role:"presentation",style:O},t())),S&&ue.createElement("div",{className:e,ref:g,role:"presentation",style:O},t()),w&&t())}),J=ie.memo(function(){function o(e){return ue.createElement(Z,{name:e,key:e+"-container"})}function e(e){var t=e.section,n=e.children,r=e.className,e=e.style;return ue.createElement("div",{ref:t,className:r,role:"presentation",style:e},n.map(o))}var t=ie.useContext(le),a=t.context,i=t.agStackComponentsRegistry,s=t.resizeObserverService,t=ie.useState(""),n=t[0],u=t[1],t=ie.useState(0),r=t[0],c=t[1],t=ie.useState(0),l=t[0],p=t[1],t=ie.useState(0),f=t[0],m=t[1],t=ie.useState(0),d=t[0],h=t[1],t=ie.useState("0px"),C=t[0],g=t[1],t=ie.useState("0px"),y=t[0],v=t[1],t=ie.useState("100%"),R=t[0],E=t[1],t=ie.useState(""),S=t[0],w=t[1],t=ie.useState(""),O=t[0],T=t[1],t=ie.useState(null),M=t[0],_=t[1],t=ie.useState(null),I=t[0],x=t[1],t=ie.useState(""),P=t[0],B=t[1],t=ie.useState(null),D=t[0],U=t[1],t=ie.useState("ag-layout-normal"),b=t[0],L=t[1],N=ie.useRef(null),k=ie.useRef(null),A=ie.useRef(null),F=ie.useRef(null),G=ie.useRef(null),t=($(" AG Grid Body ",N),$(" AG Pinned Top ",k),$(" AG Sticky Top ",A),$(" AG Middle ",F),$(" AG Pinned Bottom ",G),pe(function(){var e,t,n=[],r=[];if(a)return e=function(e){e=i.getComponentClass(e),e=a.createBean(new e);return n.push(e),e},N.current.appendChild(document.createComment(" AG Fake Horizontal Scroll ")),N.current.appendChild(e("AG-FAKE-HORIZONTAL-SCROLL").getGui()),N.current.appendChild(document.createComment(" AG Overlay Wrapper ")),N.current.appendChild(e("AG-OVERLAY-WRAPPER").getGui()),e={setRowAnimationCssOnBodyViewport:u,setColumnCount:c,setRowCount:p,setTopHeight:m,setBottomHeight:h,setStickyTopHeight:g,setStickyTopTop:v,setStickyTopWidth:E,setTopDisplay:w,setBottomDisplay:T,setColumnMovingCss:_,updateLayoutClasses:L,setAlwaysVerticalScrollClass:x,setPinnedTopBottomOverflowY:B,setCellSelectableCss:U,registerBodyViewportResizeListener:function(e){var t=s.observeResize(F.current,e);r.push(function(){return t()})}},t=a.createBean(new se.GridBodyCtrl),n.push(t),t.setComp(e,N.current,F.current,k.current,G.current,A.current),function(){a.destroyBeans(n),r.forEach(function(e){return e()})}}),ie.useMemo(function(){return z("ag-root","ag-unselectable",M,b)},[M,b])),H=ie.useMemo(function(){return z("ag-body-viewport",n,b,I,D)},[n,b,I,D]),j=ie.useMemo(function(){return z("ag-floating-top",D)},[D]),W=ie.useMemo(function(){return z("ag-sticky-top",D)},[D]),V=ie.useMemo(function(){return z("ag-floating-bottom",D)},[D]),q=ie.useMemo(function(){return{height:f,minHeight:f,display:S,overflowY:P}},[f,S,P]),K=ie.useMemo(function(){return{height:C,top:y,width:R}},[C,y,R]),Y=ie.useMemo(function(){return{height:d,minHeight:d,display:O,overflowY:P}},[d,O,P]);return ue.createElement("div",{ref:N,className:t,role:"grid","aria-colcount":r,"aria-rowcount":l},ue.createElement(X,null),e({section:k,className:j,style:q,children:[se.RowContainerName.TOP_LEFT,se.RowContainerName.TOP_CENTER,se.RowContainerName.TOP_RIGHT,se.RowContainerName.TOP_FULL_WIDTH]}),e({section:F,className:H,children:[se.RowContainerName.LEFT,se.RowContainerName.CENTER,se.RowContainerName.RIGHT,se.RowContainerName.FULL_WIDTH]}),e({section:A,className:W,style:K,children:[se.RowContainerName.STICKY_TOP_LEFT,se.RowContainerName.STICKY_TOP_CENTER,se.RowContainerName.STICKY_TOP_RIGHT,se.RowContainerName.STICKY_TOP_FULL_WIDTH]}),e({section:G,className:V,style:Y,children:[se.RowContainerName.BOTTOM_LEFT,se.RowContainerName.BOTTOM_CENTER,se.RowContainerName.BOTTOM_RIGHT,se.RowContainerName.BOTTOM_FULL_WIDTH]}))}),g=ie.forwardRef(function(e,t){function n(e){return ue.createElement("div",{className:"ag-tab-guard ag-tab-guard-"+e,role:"presentation",tabIndex:p,ref:"top"===e?u:c})}var r=e.children,o=e.eFocusableElement,a=e.onTabKeyDown,i=e.gridCtrl,s=ie.useContext(le).context,u=ie.useRef(null),c=ie.useRef(null),l=ie.useRef(),e=ie.useState(),p=e[0],f=e[1];ie.useImperativeHandle(t,function(){return{forceFocusOutOfContainer:function(){l.current.forceFocusOutOfContainer()}}}),pe(function(){var e=u.current,t=c.current,n=l.current=s.createBean(new se.TabGuardCtrl({comp:{setTabIndex:function(e){return f(null==e?void 0:parseInt(e,10))}},eTopGuard:e,eBottomGuard:t,eFocusableElement:o,onTabKeyDown:a,focusInnerElement:function(e){return i.focusInnerElement(e)}}));return function(){s.destroyBean(n)}});return ue.createElement(ue.Fragment,null,n("top"),r,n("bottom"))}),Q=ie.memo(g),ee=ie.memo(function(e){var p=e.context,e=ie.useState(""),t=e[0],n=e[1],e=ie.useState(""),r=e[0],o=e[1],e=ie.useState(""),a=e[0],i=e[1],e=ie.useState(null),s=e[0],u=e[1],e=ie.useState(null),c=e[0],l=e[1],e=ie.useState(!1),f=e[0],m=e[1],e=ie.useState(),d=e[0],h=e[1],C=ie.useRef(null),g=ie.useRef(null),y=ie.useRef(),v=ie.useRef(null),R=ie.useRef(function(){}),e=ie.useCallback(function(){},[]),E=ie.useMemo(function(){return p.getBean("beans")},[]),S=($(" AG Grid ",g),pe(function(){var e=C.current=p.createBean(new se.GridCtrl);return function(){p.destroyBean(e),C.current=null}}),pe(function(){var e=C.current,t=(R.current=e.focusInnerElement.bind(e),{destroyGridUi:function(){},setRtlClass:n,addOrRemoveKeyboardFocusClass:function(e){return o(e?se.FocusService.AG_KEYBOARD_FOCUS:"")},forceFocusOutOfContainer:function(){y.current.forceFocusOutOfContainer()},updateLayoutClasses:i,getFocusableContainers:function(){var e=[],t=g.current.querySelector(".ag-root"),n=g.current.querySelector(".ag-side-bar");return t&&e.push(t),n&&e.push(n),e},setCursor:u,setUserSelect:l});e.setComp(t,g.current,g.current),m(!0)}),ie.useEffect(function(){var e,t,n,r,o,a,i,s,u,c,l;if(d)return e=C.current,t=[],c=(o=E.agStackComponentsRegistry).getComponentClass("AG-GRID-HEADER-DROP-ZONES"),u=o.getComponentClass("AG-SIDE-BAR"),n=o.getComponentClass("AG-STATUS-BAR"),r=o.getComponentClass("AG-WATERMARK"),o=o.getComponentClass("AG-PAGINATION"),a=[],i=g.current,s=v.current,e.showDropZones()&&c&&(l=(c=p.createBean(new c)).getGui(),i.insertAdjacentElement("afterbegin",l),a.push(l),t.push(c)),e.showSideBar()&&u&&(l=(c=p.createBean(new u)).getGui(),(u=s.querySelector(".ag-tab-guard-bottom"))&&(u.insertAdjacentElement("beforebegin",l),a.push(l)),t.push(c)),e.showStatusBar()&&n&&(l=(s=p.createBean(new n)).getGui(),i.insertAdjacentElement("beforeend",l),a.push(l),t.push(s)),o&&(l=(u=p.createBean(new o)).getGui(),i.insertAdjacentElement("beforeend",l),a.push(l),t.push(u)),e.showWatermark()&&r&&(l=(c=p.createBean(new r)).getGui(),i.insertAdjacentElement("beforeend",l),a.push(l),t.push(c)),function(){p.destroyBeans(t),a.forEach(function(e){e.parentElement&&e.parentElement.removeChild(e)})}},[d]),ie.useMemo(function(){return z("ag-root-wrapper",t,r,a)},[t,r,a])),w=ie.useMemo(function(){return z("ag-root-wrapper-body","ag-focus-managed",a)},[a]),O=ie.useMemo(function(){return{userSelect:null!=c?c:"",WebkitUserSelect:null!=c?c:"",cursor:null!=s?s:""}},[c,s]),T=v.current,M=ie.useCallback(function(e){y.current=e,h(!0)},[]);return ue.createElement("div",{ref:g,className:S,style:O,role:"presentation"},ue.createElement("div",{className:w,ref:v,role:"presentation"},f&&T&&ue.createElement(le.Provider,{value:E},ue.createElement(Q,{ref:M,eFocusableElement:T,onTabKeyDown:e,gridCtrl:C.current},ue.createElement(J,null)))))});n(y,te=ie.Component),y.prototype.render=function(){return this.state.context,this.state.context&&(this.renderedAfterMount=!0),ue.createElement("div",{style:this.createStyleForDiv(),className:this.props.className,ref:this.eGui},this.state.context&&ue.createElement(ee,{context:this.state.context}),this.portalManager.getPortals())},y.prototype.createStyleForDiv=function(){return ce({height:"100%"},this.props.containerStyle||{})},y.prototype.componentDidMount=function(){var e,t,n=this;this.mounted||(this.mounted=!0,e=this.props.modules||[],e={providedBeanInstances:{frameworkComponentWrapper:new oe(this.portalManager)},modules:e,frameworkOverrides:new ge(!0)},this.gridOptions=this.props.gridOptions||{},t=this.props.children,c.hasChildColumns(t)&&(this.gridOptions.columnDefs=c.mapChildColumnDefs(t)),this.gridOptions=se.ComponentUtil.copyAttributesToGridOptions(this.gridOptions,this.props),(new se.GridCoreCreator).create(this.eGui.current,this.gridOptions,function(e){n.setState({context:e}),e.getBean(se.CtrlsService.NAME).whenReady(function(){n.api=n.gridOptions.api,n.columnApi=n.gridOptions.columnApi,n.props.setGridApi(n.api,n.columnApi),n.destroyFuncs.push(function(){return n.api.destroy()})})},function(e){e.getBean(se.CtrlsService.NAME).whenReady(function(){n.whenReadyFuncs.forEach(function(e){return e()}),n.whenReadyFuncs.length=0,n.ready=!0})},e))},y.prototype.componentWillUnmount=function(){this.renderedAfterMount&&(this.destroyFuncs.forEach(function(e){return e()}),this.destroyFuncs.length=0)},y.prototype.componentDidUpdate=function(e){this.processPropsChanges(e,this.props)},y.prototype.processPropsChanges=function(e,t){var n={};this.extractGridPropertyChanges(e,t,n),this.extractDeclarativeColDefChanges(t,n),this.processChanges(n)},y.prototype.extractDeclarativeColDefChanges=function(e,t){var n,r,o,a;this.props.gridOptions&&this.props.gridOptions.columnDefs||this.props.columnDefs||(n=!!e.debug,r="columnDefs",o=this.gridOptions.columnDefs,c.hasChildColumns(e.children)?(a=this.changeDetectionService.getStrategy(this.getStrategyTypeForProp(r)),e=c.mapChildColumnDefs(e.children),a.areEqual(o,e)||(n&&console.log("agGridReact: colDefs definitions changed"),t[r]={previousValue:o,currentValue:e})):o&&0<o.length&&(t[r]={previousValue:o,currentValue:[]}))},y.prototype.extractGridPropertyChanges=function(t,n,r){var o=this,a=!!n.debug;Object.keys(n).forEach(function(e){se._.includes(se.ComponentUtil.ALL_PROPERTIES,e)&&!o.changeDetectionService.getStrategy(o.getStrategyTypeForProp(e)).areEqual(t[e],n[e])&&(a&&console.log("agGridReact: ["+e+"] property changed"),r[e]={previousValue:t[e],currentValue:n[e]})}),se.ComponentUtil.getEventCallbacks().forEach(function(e){t[e]!==n[e]&&(a&&console.log("agGridReact: ["+e+"] event callback changed"),r[e]={previousValue:t[e],currentValue:n[e]})})},y.prototype.processChanges=function(e){var t=this;this.processWhenReady(function(){return se.ComponentUtil.processOnChange(e,t.gridOptions,t.api,t.columnApi)})},y.prototype.processWhenReady=function(e){this.ready?e():this.whenReadyFuncs.push(e)},y.prototype.getStrategyTypeForProp=function(e){if("rowData"===e){if(this.props.rowDataChangeDetectionStrategy)return this.props.rowDataChangeDetectionStrategy;if(this.isImmutableDataActive())return t.ChangeDetectionStrategyType.IdentityCheck}return t.ChangeDetectionStrategyType.DeepValueCheck},y.prototype.isImmutableDataActive=function(){return this.props.deltaRowDataMode||this.props.immutableData||null!=this.props.getRowId||this.props.gridOptions&&(this.props.gridOptions.deltaRowDataMode||this.props.gridOptions.immutableData||null!=this.props.gridOptions.getRowId)};var te,ne=y;function y(e){var t=te.call(this,e)||this;return t.props=e,t.destroyFuncs=[],t.changeDetectionService=new F,t.eGui=ue.createRef(),t.whenReadyFuncs=[],t.ready=!1,t.renderedAfterMount=!1,t.mounted=!1,t.state={context:void 0},t.portalManager=new L(t,e.componentWrappingElement,e.maxComponentCreationTimeMs),t.destroyFuncs.push(function(){return t.portalManager.destroy()}),t}n(ae,re=se.BaseComponentWrapper),ae.prototype.createWrapper=function(e,t){return new U(e,this.parent,t)};var re,oe=ae;function ae(e){var t=re.call(this)||this;return t.parent=e,t}var he,Ce=ie.forwardRef(function(r,e){var t=ie.useContext(le),o=t.ctrlsFactory,a=t.context,i=t.gridOptionsWrapper,s=t.resizeObserverService,u=t.clientSideRowModel,c=t.serverSideRowModel,t=ie.useState(new P),n=t[0],l=t[1],t=ie.useState(new P),p=t[0],f=t[1],t=ie.useState(),m=t[0],d=t[1],t=ie.useState(),h=t[0],C=t[1],g=ie.useRef(),y=ie.useRef(null),t=ie.useMemo(function(){return n.toString()+" ag-details-row"},[n]),v=ie.useMemo(function(){return p.toString()+" ag-details-grid"},[p]),e=(e&&ie.useImperativeHandle(e,function(){return{refresh:function(){return g.current.refresh()}}}),pe(function(){r.template&&"string"==typeof r.template&&console.warn("AG Grid: detailCellRendererParams.template is not supported by React - this only works with frameworks that work against String templates. To change the template, please provide your own React Detail Cell Renderer.")}),pe(function(){var e,t={addOrRemoveCssClass:function(t,n){return l(function(e){return e.setClass(t,n)})},addOrRemoveDetailGridCssClass:function(t,n){return f(function(e){return e.setClass(t,n)})},setDetailGrid:function(e){return d(e)},setRowData:function(e){return C(e)},getGui:function(){return y.current}},n=o.getInstance("detailCellRenderer");if(n)return a.createBean(n),n.init(t,r),g.current=n,i.isDetailRowAutoHeight()&&(e=s.observeResize(y.current,t=function(){var e;null!=y.current&&null!=(e=y.current.clientHeight)&&0<e&&setTimeout(function(){r.node.setRowHeight(e),u?u.onRowHeightChanged():c&&c.onRowHeightChanged()},0)}),t()),function(){a.destroyBean(n),e&&e()}}),ie.useCallback(function(e,t){g.current.registerDetailWithMaster(e,t)},[]));return ue.createElement("div",{className:t,ref:y},m&&ue.createElement(ne,ce({className:v},m,{rowData:h,setGridApi:e})))}),ge=(n(v,he=se.VanillaFrameworkOverrides),v.prototype.frameworkComponent=function(e){if(this.reactUi)return this.frameworkComponents[e]},v.prototype.isFrameworkComponent=function(e){return!!e&&!((e=e.prototype)&&"getGui"in e)},v);function v(e){var t=he.call(this)||this;return t.frameworkComponents={agGroupCellRenderer:D,agGroupRowRenderer:D,agDetailCellRenderer:Ce},t.reactUi=e,t}n(E,ye=ie.Component),E.prototype.render=function(){var t=this;return ue.createElement("div",{style:this.createStyleForDiv(),className:this.props.className,ref:function(e){t.eGridDiv=e}},this.portalManager.getPortals())},E.prototype.createStyleForDiv=function(){return ce({height:"100%"},this.props.containerStyle||{})},E.prototype.componentDidMount=function(){var e=this.props.modules||[],e={providedBeanInstances:{agGridReact:this,frameworkComponentWrapper:new Re(this,this.portalManager)},modules:e,frameworkOverrides:new ge(!1)},t=this.props.gridOptions||{},n=this.props.children;c.hasChildColumns(n)&&(t.columnDefs=c.mapChildColumnDefs(n)),this.gridOptions=se.ComponentUtil.copyAttributesToGridOptions(t,this.props),new se.Grid(this.eGridDiv,this.gridOptions,e),this.api=this.gridOptions.api,this.columnApi=this.gridOptions.columnApi,this.props.setGridApi(this.api,this.columnApi)},E.prototype.getStrategyTypeForProp=function(e){if("rowData"===e){if(this.props.rowDataChangeDetectionStrategy)return this.props.rowDataChangeDetectionStrategy;if(this.isImmutableDataActive())return t.ChangeDetectionStrategyType.IdentityCheck}return t.ChangeDetectionStrategyType.DeepValueCheck},E.prototype.isImmutableDataActive=function(){return this.props.deltaRowDataMode||this.props.immutableData||null!=this.props.getRowId||this.props.gridOptions&&(this.props.gridOptions.deltaRowDataMode||this.props.gridOptions.immutableData||null!=this.props.gridOptions.getRowId)},E.prototype.shouldComponentUpdate=function(e){return this.processPropsChanges(this.props,e),!1},E.prototype.componentDidUpdate=function(e){this.processPropsChanges(e,this.props)},E.prototype.processPropsChanges=function(e,t){var n={};this.extractGridPropertyChanges(e,t,n),this.extractDeclarativeColDefChanges(t,n),this.processSynchronousChanges(n),this.processAsynchronousChanges(n)},E.prototype.extractDeclarativeColDefChanges=function(e,t){var n,r,o,a;this.props.gridOptions&&this.props.gridOptions.columnDefs||this.props.columnDefs||(n=!!e.debug,r="columnDefs",o=this.gridOptions.columnDefs,c.hasChildColumns(e.children)?(a=this.changeDetectionService.getStrategy(this.getStrategyTypeForProp(r)),e=c.mapChildColumnDefs(e.children),a.areEqual(o,e)||(n&&console.log("agGridReact: colDefs definitions changed"),t[r]={previousValue:o,currentValue:e})):o&&0<o.length&&(t[r]={previousValue:o,currentValue:[]}))},E.prototype.extractGridPropertyChanges=function(t,n,r){var o=this,a=!!n.debug;Object.keys(n).forEach(function(e){se._.includes(se.ComponentUtil.ALL_PROPERTIES,e)&&!o.changeDetectionService.getStrategy(o.getStrategyTypeForProp(e)).areEqual(t[e],n[e])&&(a&&console.log("agGridReact: ["+e+"] property changed"),r[e]={previousValue:t[e],currentValue:n[e]})}),se.ComponentUtil.getEventCallbacks().forEach(function(e){t[e]!==n[e]&&(a&&console.log("agGridReact: ["+e+"] event callback changed"),r[e]={previousValue:t[e],currentValue:n[e]})})},E.prototype.componentWillUnmount=function(){this.api&&(this.api.destroy(),this.api=null),this.destroyed=!0,this.portalManager.destroy()},E.prototype.isDisableStaticMarkup=function(){return!0===this.props.disableStaticMarkup},E.prototype.isLegacyComponentRendering=function(){return!0===this.props.legacyComponentRendering},E.prototype.processSynchronousChanges=function(e){var t,n=ce({},e);return 0<Object.keys(n).length&&(t={},this.SYNCHRONOUS_CHANGE_PROPERTIES.forEach(function(e){n[e]&&(t[e]=n[e],delete n[e])}),0<Object.keys(t).length&&this.api&&se.ComponentUtil.processOnChange(t,this.gridOptions,this.api,this.columnApi)),n},E.prototype.processAsynchronousChanges=function(e){var t=this;0<Object.keys(e).length&&window.setTimeout(function(){t.api&&se.ComponentUtil.processOnChange(e,t.gridOptions,t.api,t.columnApi)})},E.defaultProps={legacyComponentRendering:!1,disableStaticMarkup:!1,maxComponentCreationTimeMs:E.MAX_COMPONENT_CREATION_TIME_IN_MS=1e3};var ye,R=E;function E(e){var t=ye.call(this,e)||this;return t.props=e,t.changeDetectionService=new F,t.api=null,t.destroyed=!1,t.SYNCHRONOUS_CHANGE_PROPERTIES=["context"],t.portalManager=new L(t,e.componentWrappingElement,e.maxComponentCreationTimeMs),t}function S(e,t){e.forEach(function(e){R[e]=t})}R.propTypes={gridOptions:e.object},S(se.ComponentUtil.getEventCallbacks(),e.func),S(se.ComponentUtil.BOOLEAN_PROPERTIES,e.bool),S(se.ComponentUtil.STRING_PROPERTIES,e.string),S(se.ComponentUtil.OBJECT_PROPERTIES,e.object),S(se.ComponentUtil.ARRAY_PROPERTIES,e.array),S(se.ComponentUtil.NUMBER_PROPERTIES,e.number),S(se.ComponentUtil.FUNCTION_PROPERTIES,e.func);n(Ee,ve=se.BaseComponentWrapper),Ee.prototype.createWrapper=function(e,t){return this.agGridReact.isLegacyComponentRendering()?new b(e,this.agGridReact,this.portalManager,t):new U(e,this.portalManager,t)};var ve,Re=Ee;function Ee(e,t){var n=ve.call(this)||this;return n.agGridReact=e,n.portalManager=t,n}n(we,Se=ie.Component),we.prototype.render=function(){return this.props.suppressReactUi?ue.createElement(R,ce({},this.props,{setGridApi:this.setGridApi})):ue.createElement(ne,ce({},this.props,{setGridApi:this.setGridApi}))};var Se,o=we;function we(){var n=null!==Se&&Se.apply(this,arguments)||this;return n.setGridApi=function(e,t){n.api=e,n.columnApi=t},n}t.AgGridReact=o,t.AgGridReactLegacy=R,t.AgGridReactFire=ne,t.AgGridColumn=c,Object.defineProperty(t,"__esModule",{value:!0})}); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("prop-types"),require("react-dom/server"),require("react-dom"),require("react"),require("ag-grid-community")):"function"==typeof define&&define.amd?define(["exports","prop-types","react-dom/server","react-dom","react","ag-grid-community"],t):t(e.AgGridReact={},e.PropTypes,e.ReactDOMServer,e.ReactDOM,e.React,e.agGrid)}(this,function(t,e,w,r,ie,se){"use strict";e=e&&e.hasOwnProperty("default")?e.default:e;var ue="default"in ie?ie.default:ie,O=function(e,t){return(O=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function n(e,t){function n(){this.constructor=e}O(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ce=function(){return(ce=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function G(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var a=arguments[t],i=0,s=a.length;i<s;i++,o++)r[o]=a[i];return r}n(a,T=function(){}),a.prototype.getGui=function(){return this.eParentElement},a.prototype.destroy=function(){return this.componentInstance&&"function"==typeof this.componentInstance.destroy&&this.componentInstance.destroy(),this.portalManager.destroyPortal(this.portal)},a.prototype.createParentElement=function(e){var t=this.portalManager.getComponentWrappingElement(),t=document.createElement(t||"div");return t.classList.add("ag-react-container"),e.reactContainer=t},a.prototype.addParentContainerStyleAndClasses=function(){var t=this;this.componentInstance&&(this.componentInstance.getReactContainerStyle&&this.componentInstance.getReactContainerStyle()&&Object.assign(this.eParentElement.style,this.componentInstance.getReactContainerStyle()),this.componentInstance.getReactContainerClasses&&this.componentInstance.getReactContainerClasses()&&this.componentInstance.getReactContainerClasses().forEach(function(e){return t.eParentElement.classList.add(e)}))},a.prototype.statelessComponentRendered=function(){return 0<this.eParentElement.childElementCount||0<this.eParentElement.childNodes.length},a.prototype.getFrameworkComponentInstance=function(){return this.componentInstance},a.prototype.isStatelessComponent=function(){return this.statelessComponent},a.prototype.getReactComponentName=function(){return this.reactComponent.name},a.prototype.getMemoType=function(){return this.hasSymbol()?Symbol.for("react.memo"):60115},a.prototype.hasSymbol=function(){return"function"==typeof Symbol&&Symbol.for},a.prototype.isStateless=function(e){return"function"==typeof e&&!(e.prototype&&e.prototype.isReactComponent)||"object"==typeof e&&e.$$typeof===this.getMemoType()},a.prototype.hasMethod=function(e){var t=this.getFrameworkComponentInstance();return!!t&&null!==t[e]||this.fallbackMethodAvailable(e)},a.prototype.callMethod=function(e,t){var n,r=this,o=this.getFrameworkComponentInstance();return this.isStatelessComponent()?this.fallbackMethod(e,t&&t[0]?t[0]:{}):o?(n=o[e])?n.apply(o,t):this.fallbackMethodAvailable(e)?this.fallbackMethod(e,t&&t[0]?t[0]:{}):void 0:void setTimeout(function(){return r.callMethod(e,t)})},a.prototype.addMethod=function(e,t){this[e]=t};var T,o=a;function a(e,t,n){var r=T.call(this)||this;return r.portal=null,r.reactComponent=e,r.portalManager=t,r.componentType=n,r.statelessComponent=r.isStateless(r.reactComponent),r}var M=0;function i(){return"agPortalKey_"+ ++M}n(s,I=o),s.prototype.init=function(t){var n=this;return this.eParentElement=this.createParentElement(t),this.renderStaticMarkup(t),new se.AgPromise(function(e){return n.createReactComponent(t,e)})},s.prototype.createReactComponent=function(e,t){var n=this,e=(this.isStatelessComponent()||(e.ref=function(e){n.componentInstance=e,n.addParentContainerStyleAndClasses(),n.removeStaticMarkup()}),ie.createElement(this.reactComponent,e)),e=r.createPortal(e,this.eParentElement,i());this.portal=e,this.portalManager.mountReactPortal(e,this,function(e){t(e),n.isStatelessComponent()&&(n.isSlowRenderer()&&n.removeStaticMarkup(),setTimeout(function(){n.removeStaticMarkup()}))})},s.prototype.fallbackMethodAvailable=function(e){return!1},s.prototype.fallbackMethod=function(e,t){},s.prototype.isSlowRenderer=function(){return this.staticRenderTime>=s.SLOW_RENDERING_THRESHOLD},s.prototype.isNullValue=function(){return""===this.staticMarkup},s.prototype.renderStaticMarkup=function(e){if(!this.parentComponent.isDisableStaticMarkup()&&this.componentType.cellRenderer){var t=console.error,e=ie.createElement(this.reactComponent,e);try{console.error=function(){};var n=Date.now(),r=w.renderToStaticMarkup(e);this.staticRenderTime=Date.now()-n,console.error=t,""===r?this.staticMarkup=r:r&&(this.staticMarkup=document.createElement("span"),this.staticMarkup.innerHTML=r,this.eParentElement.appendChild(this.staticMarkup))}catch(e){}finally{console.error=t}}},s.prototype.removeStaticMarkup=function(){!this.parentComponent.isDisableStaticMarkup()&&this.componentType.cellRenderer&&this.staticMarkup&&(this.staticMarkup.remove?(this.staticMarkup.remove(),this.staticMarkup=null):this.eParentElement.removeChild&&(this.eParentElement.removeChild(this.staticMarkup),this.staticMarkup=null))},s.prototype.rendered=function(){return this.isNullValue()||!!this.staticMarkup||this.isStatelessComponent()&&this.statelessComponentRendered()||!(this.isStatelessComponent()||!this.getFrameworkComponentInstance())},s.SLOW_RENDERING_THRESHOLD=3;var I,b=s;function s(e,t,n,r){e=I.call(this,e,n,r)||this;return e.staticMarkup=null,e.staticRenderTime=0,e.parentComponent=t,e}n(l,u=ie.Component),l.prototype.render=function(){return null},l.mapChildColumnDefs=function(e){return ue.Children.map(e,function(e){return e?l.toColDef(e.props):null})},l.toColDef=function(e){var t=e.children,e=function(e,t){var n={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}(e,["children"]);return l.hasChildColumns(t)&&(e.children=l.mapChildColumnDefs(t)),e},l.hasChildColumns=function(e){return 0<ue.Children.count(e)};var u,c=l;function l(){return null!==u&&u.apply(this,arguments)||this}function p(e,t){e.forEach(function(e){c[e]=t})}p(se.ColDefUtil.BOOLEAN_PROPERTIES,e.bool),p(se.ColDefUtil.STRING_PROPERTIES,e.string),p(se.ColDefUtil.OBJECT_PROPERTIES,e.object),p(se.ColDefUtil.ARRAY_PROPERTIES,e.array),p(se.ColDefUtil.NUMBER_PROPERTIES,e.number),p(se.ColDefUtil.FUNCTION_PROPERTIES,e.func),(g=t.ChangeDetectionStrategyType||(t.ChangeDetectionStrategyType={})).IdentityCheck="IdentityCheck",g.DeepValueCheck="DeepValueCheck",g.NoCheck="NoCheck";k.prototype.areEqual=function(e,t){return this.strategy(e,t)};var N=k;function k(e){this.strategy=e}f.prototype.areEqual=function(e,t){return f.areEquivalent(f.copy(e),f.copy(t))},f.unwrapStringOrNumber=function(e){return e instanceof Number||e instanceof String?e.valueOf():e},f.copy=function(e){if(!e)return e;if(Array.isArray(e)){for(var t=[],n=0;n<e.length;n++)t.push(this.copy(e[n]));return t}return"object"!=typeof e?e:[{},e].reduce(function(t,n){return Object.keys(n).forEach(function(e){t[e]=n[e]}),t},{})},f.isNaN=function(e){return Number.isNaN?Number.isNaN(e):"number"==typeof e&&isNaN(e)},f.areEquivalent=function(t,n){if(t=f.unwrapStringOrNumber(t),n=f.unwrapStringOrNumber(n),t===n)return!0;if(null===t||null===n||typeof t!=typeof n)return!1;if(f.isNaN(t)&&f.isNaN(n))return!0;if(t instanceof Date)return n instanceof Date&&t.valueOf()===n.valueOf();if("function"==typeof t)return!1;if("object"!=typeof t||t.$$typeof&&"Symbol(react.element)"===t.$$typeof.toString())return t==n;if(Object.isFrozen(t)||Object.isFrozen(n))return t===n;var e=void 0===t.areEquivPropertyTracking,r=void 0===n.areEquivPropertyTracking;try{var o=void 0;if(e)t.areEquivPropertyTracking=[];else if(t.areEquivPropertyTracking.some(function(e){return e===n}))return!0;if(r)n.areEquivPropertyTracking=[];else if(n.areEquivPropertyTracking.some(function(e){return e===t}))return!0;t.areEquivPropertyTracking.push(n),n.areEquivPropertyTracking.push(t);var a={};for(o in t)"areEquivPropertyTracking"!=o&&(a[o]=null);for(o in n)"areEquivPropertyTracking"!=o&&(a[o]=null);for(o in a)if(!this.areEquivalent(t[o],n[o]))return!1;return!0}finally{e&&delete t.areEquivPropertyTracking,r&&delete n.areEquivPropertyTracking}};var A=f;function f(){}x.prototype.getStrategy=function(e){return this.strategyMap[e]};var F=x;function x(){var e;this.strategyMap=((e={})[t.ChangeDetectionStrategyType.DeepValueCheck]=new A,e[t.ChangeDetectionStrategyType.IdentityCheck]=new N(function(e,t){return e===t}),e[t.ChangeDetectionStrategyType.NoCheck]=new N(function(e,t){return!1}),e)}n(m,B=o),m.prototype.init=function(e){var t=this;return this.eParentElement=this.createParentElement(e),this.params=e,this.createOrUpdatePortal(e),new se.AgPromise(function(e){return t.createReactComponent(e)})},m.prototype.createOrUpdatePortal=function(e){var t=this;this.isStatelessComponent()||(e.ref=function(e){t.componentInstance=e,t.addParentContainerStyleAndClasses()}),this.reactElement=ie.createElement(this.reactComponent,ce(ce({},e),{key:this.key})),this.portal=r.createPortal(this.reactElement,this.eParentElement,this.portalKey)},m.prototype.createReactComponent=function(t){this.portalManager.mountReactPortal(this.portal,this,function(e){t(e)})},m.prototype.isNullValue=function(){return this.valueRenderedIsNull(this.params)},m.prototype.rendered=function(){return this.isStatelessComponent()&&this.statelessComponentRendered()||!(this.isStatelessComponent()||!this.getFrameworkComponentInstance())},m.prototype.valueRenderedIsNull=function(e){if(this.componentType.cellRenderer){var t=console.error;try{return console.error=function(){},""===w.renderToStaticMarkup(ie.createElement(this.reactComponent,e))}catch(e){}finally{console.error=t}}return!1},m.prototype.refreshComponent=function(e){this.oldPortal=this.portal,this.createOrUpdatePortal(e),this.portalManager.updateReactPortal(this.oldPortal,this.portal)},m.prototype.fallbackMethod=function(e,t){e=this[e+"Component"];if(e)return e.bind(this)(t)},m.prototype.fallbackMethodAvailable=function(e){return!!this[e+"Component"]};var B,U=m;function m(e,t,n){e=B.call(this,e,t,n)||this;return e.oldPortal=null,e.key=i(),e.portalKey=i(),e}d.prototype.getPortals=function(){return this.portals},d.prototype.destroy=function(){this.destroyed=!0},d.prototype.destroyPortal=function(t){this.portals=this.portals.filter(function(e){return e!==t}),this.batchUpdate()},d.prototype.getComponentWrappingElement=function(){return this.wrappingElement},d.prototype.mountReactPortal=function(e,t,n){this.portals=G(this.portals,[e]),this.waitForInstance(t,n),this.batchUpdate()},d.prototype.updateReactPortal=function(e,t){this.portals[this.portals.indexOf(e)]=t,this.batchUpdate()},d.prototype.batchUpdate=function(){var e=this;this.hasPendingPortalUpdate||(setTimeout(function(){e.destroyed||e.parent.forceUpdate(function(){e.hasPendingPortalUpdate=!1})}),this.hasPendingPortalUpdate=!0)},d.prototype.waitForInstance=function(e,t,n){var r=this;if(void 0===n&&(n=Date.now()),this.destroyed)t(null);else if(e.rendered())t(e);else{if(Date.now()-n>=this.maxComponentCreationTimeMs&&!this.hasPendingPortalUpdate)return e.isNullValue()?void t(e):void console.error("AG Grid: React Component '"+e.getReactComponentName()+"' not created within "+this.maxComponentCreationTimeMs+"ms");window.setTimeout(function(){r.waitForInstance(e,t,n)})}},d.MAX_COMPONENT_CREATION_TIME_IN_MS=1e3;var L=d;function d(e,t,n){this.destroyed=!1,this.portals=[],this.hasPendingPortalUpdate=!1,this.wrappingElement=t||"div",this.parent=e,this.maxComponentCreationTimeMs=n||d.MAX_COMPONENT_CREATION_TIME_IN_MS}function _(e,t,n,r){var o=!e||e.componentFromFramework;if(!o){var a,i,s,o=e.newAgStackInstance();if(o)return s=!1,o.then(function(e){s?t.destroyBean(e):(i=(a=e).getGui(),n.appendChild(i),H(r,a))}),function(){s=!0,a&&(i&&i.parentElement&&i.parentElement.removeChild(i),t.destroyBean(a),r&&H(r,void 0))}}}function H(e,t){e&&(e instanceof Function?e(t):e.current=t)}function me(e){var t=ie.useRef(e),n=ie.useRef(),r=ie.useRef(!1),o=ie.useRef(!1),a=ie.useState(0)[1];r.current&&(o.current=!0),ie.useLayoutEffect(function(){return r.current||(n.current=t.current(),r.current=!0),a(function(e){return e+1}),function(){o.current&&n.current&&n.current()}},[])}function z(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.filter(function(e){return null!=e&&""!==e}).join(" ")}var le=ue.createContext({}),pe=function(e){var t=ie.useRef(e),n=ie.useRef(),r=ie.useRef(!1),o=ie.useRef(!1),a=ie.useState(0)[1];r.current&&(o.current=!0),ie.useEffect(function(){return r.current||(n.current=t.current(),r.current=!0),a(function(e){return e+1}),function(){o.current&&n.current&&n.current()}},[])},P=(h.prototype.setClass=function(e,t){var n;return!!this.classesMap[e]==t?this:((n=new h).classesMap=ce({},this.classesMap),n.classesMap[e]=t,n)},h.prototype.toString=function(){var t=this;return Object.keys(this.classesMap).filter(function(e){return t.classesMap[e]}).join(" ")},h);function h(){for(var t=this,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];this.classesMap={},e.forEach(function(e){t.classesMap[e]=!0})}function fe(e){return"function"==typeof e&&!(e.prototype&&e.prototype.isReactComponent)||"object"==typeof e&&e.$$typeof===("function"==typeof Symbol&&Symbol.for?Symbol.for("react.memo"):60115)}function $(r,o){pe(function(){var e,t=o.current,n=t.parentElement;if(n)return e=document.createComment(r),n.insertBefore(e,t),function(){n.removeChild(e)}})}var D=ie.forwardRef(function(n,e){var r=ie.useContext(le).context,o=ie.useRef(null),t=ie.useRef(null),a=ie.useRef(null),i=ie.useRef(null),s=ie.useRef(null),u=ie.useState(),c=u[0],l=u[1],u=ie.useState(),p=u[0],f=u[1],u=ie.useState(),m=u[0],d=u[1],u=ie.useState(new P),h=u[0],C=u[1],u=ie.useState(new P("ag-hidden")),g=u[0],y=u[1],u=ie.useState(new P("ag-hidden")),v=u[0],R=u[1],u=ie.useState(new P("ag-invisible")),E=u[0],S=u[1],u=(ie.useImperativeHandle(e,function(){return{refresh:function(){return!1}}}),ie.useEffect(function(){return _(c,r,t.current)},[c]),pe(function(){var e={setInnerRenderer:function(e,t){l(e),d(t)},setChildCount:function(e){return f(e)},addOrRemoveCssClass:function(t,n){return C(function(e){return e.setClass(t,n)})},setContractedDisplayed:function(t){return R(function(e){return e.setClass("ag-hidden",!t)})},setExpandedDisplayed:function(t){return y(function(e){return e.setClass("ag-hidden",!t)})},setCheckboxVisible:function(t){return S(function(e){return e.setClass("ag-invisible",!t)})}},t=r.createBean(new se.GroupCellRendererCtrl);return t.init(e,o.current,a.current,i.current,s.current,D,n),function(){r.destroyBean(t)}}),ie.useMemo(function(){return"ag-cell-wrapper "+h.toString()},[h])),e=ie.useMemo(function(){return"ag-group-expanded "+g.toString()},[g]),w=ie.useMemo(function(){return"ag-group-contracted "+v.toString()},[v]),O=ie.useMemo(function(){return"ag-group-checkbox "+E.toString()},[E]),T=c&&c.componentFromFramework,M=T?c.componentClass:void 0,I=null==c&&null!=m,m=se._.escapeString(m,!0);return ue.createElement("span",ce({className:u,ref:o},n.colDef?{}:{role:"gridcell"}),ue.createElement("span",{className:e,ref:i}),ue.createElement("span",{className:w,ref:s}),ue.createElement("span",{className:O,ref:a}),ue.createElement("span",{className:"ag-group-value",ref:t},I&&ue.createElement(ue.Fragment,null,m),T&&ue.createElement(M,ce({},c.params))),ue.createElement("span",{className:"ag-group-child-count"},p))}),j=ie.memo(function(e){var t=ie.useContext(le).context,n=ie.useState(),r=n[0],o=n[1],n=ie.useState(),a=n[0],i=n[1],n=ie.useState(),s=n[0],u=n[1],n=ie.useState(),c=n[0],l=n[1],n=ie.useState(),p=n[0],f=n[1],n=ie.useState(),m=n[0],d=n[1],h=ie.useRef(null),C=ie.useRef(null),g=ie.useRef(null),y=ie.useRef(),v=e.ctrl,R=ie.useMemo(function(){return new se.CssClassManager(function(){return h.current})},[]),n=(pe(function(){v.setComp({setWidth:function(e){return o(e)},addOrRemoveCssClass:function(e,t){return R.addOrRemoveCssClass(e,t)},setColId:function(e){return u(e)},setTitle:function(e){return i(e)},setAriaDescription:function(e){return f(e)},setAriaSort:function(e){return l(e)},setUserCompDetails:function(e){return d(e)},getUserCompInstance:function(){return y.current||void 0}},h.current,C.current,g.current);var e=v.getSelectAllGui();C.current.insertAdjacentElement("afterend",e)}),ie.useEffect(function(){return _(m,t,g.current,y)},[m]),ie.useEffect(function(){v.setDragSource(h.current)},[m]),ie.useMemo(function(){return{width:r}},[r])),e=ie.useMemo(function(){var e;return!!((null==(e=m)?void 0:e.componentFromFramework)&&fe(m.componentClass))},[m]),E=m&&m.componentFromFramework,S=m&&m.componentClass;return ue.createElement("div",{ref:h,className:"ag-header-cell",style:n,title:a,"col-id":s,"aria-sort":c,role:"columnheader",tabIndex:-1,"aria-description":p},ue.createElement("div",{ref:C,className:"ag-header-cell-resize",role:"presentation"}),ue.createElement("div",{ref:g,className:"ag-header-cell-comp-wrapper",role:"presentation"},E&&e&&ue.createElement(S,ce({},m.params)),E&&!e&&ue.createElement(S,ce({},m.params,{ref:y}))))}),W=ie.memo(function(e){var t=ie.useContext(le).context,n=ie.useState(new P),r=n[0],o=n[1],n=ie.useState(new P),a=n[0],i=n[1],n=ie.useState(),s=n[0],u=n[1],n=ie.useState(),c=n[0],l=n[1],n=ie.useState(),p=n[0],f=n[1],n=ie.useState(),m=n[0],d=n[1],n=ie.useState(),h=n[0],C=n[1],g=ie.useRef(null),y=ie.useRef(null),v=e.ctrl,n=(pe(function(){v.setComp({setWidth:function(e){return u(e)},addOrRemoveCssClass:function(t,n){return o(function(e){return e.setClass(t,n)})},setColId:function(e){return f(e)},setTitle:function(e){return l(e)},setUserCompDetails:function(e){return C(e)},addOrRemoveResizableCssClass:function(t,n){return i(function(e){return e.setClass(t,n)})},setAriaExpanded:function(e){return d(e)}},g.current,y.current)}),ie.useEffect(function(){return _(h,t,g.current)},[h]),ie.useEffect(function(){var t=void 0;g.current.childNodes.forEach(function(e){null!=e&&e!==y.current&&(t=e)}),t&&v.setDragSource(t)},[h]),ie.useMemo(function(){return{width:s}},[s])),e=ie.useMemo(function(){return"ag-header-group-cell "+r.toString()},[r]),R=ie.useMemo(function(){return"ag-header-cell-resize "+a.toString()},[a]),E=h&&h.componentFromFramework,S=h&&h.componentClass;return ue.createElement("div",{ref:g,className:e,style:n,title:c,"col-id":p,role:"columnheader",tabIndex:-1,"aria-expanded":m},E&&ue.createElement(S,ce({},h.params)),ue.createElement("div",{ref:y,className:R}))}),V=ie.memo(function(e){function t(e){g.current||null!=e&&(y.current&&y.current(e),g.current=!0)}var n=ie.useContext(le).context,r=ie.useState(new P),o=r[0],a=r[1],r=ie.useState(new P),i=r[0],s=r[1],r=ie.useState(new P),u=r[0],c=r[1],r=ie.useState(),l=r[0],p=r[1],r=ie.useState(),f=r[0],m=r[1],d=ie.useRef(null),h=ie.useRef(null),r=ie.useRef(null),C=ie.useRef(null),g=ie.useRef(!1),y=ie.useRef(),v=ie.useRef(),R=(pe(function(){v.current=new se.AgPromise(function(e){y.current=e})}),e.ctrl),e=(pe(function(){R.setComp({addOrRemoveCssClass:function(t,n){return a(function(e){return e.setClass(t,n)})},addOrRemoveBodyCssClass:function(t,n){return s(function(e){return e.setClass(t,n)})},addOrRemoveButtonWrapperCssClass:function(t,n){return c(function(e){return e.setClass(t,n)})},setWidth:function(e){return p(e)},setCompDetails:function(e){return m(e)},getFloatingFilterComp:function(){return v.current||null},setMenuIcon:function(e){return C.current.appendChild(e)}},d.current,C.current,h.current)}),ie.useEffect(function(){return _(f,n,h.current,t)},[f]),ie.useMemo(function(){return{width:l}},[l])),E=ie.useMemo(function(){return"ag-header-cell ag-floating-filter "+o.toString()},[o]),S=ie.useMemo(function(){return i.toString()},[i]),w=ie.useMemo(function(){return"ag-floating-filter-button "+u.toString()},[i]),O=ie.useMemo(function(){return!!(f&&f.componentFromFramework&&fe(f.componentClass))},[f]),T=f&&f.componentFromFramework,M=f&&f.componentClass;return ue.createElement("div",{ref:d,className:E,style:e,role:"gridcell",tabIndex:-1},ue.createElement("div",{ref:h,className:S,role:"presentation"},T&&O&&ue.createElement(M,ce({},f.params)),T&&!O&&ue.createElement(M,ce({},f.params,{ref:t}))),ue.createElement("div",{ref:r,className:w,role:"presentation"},ue.createElement("button",{ref:C,type:"button","aria-label":"Open Filter Menu",className:"ag-floating-filter-button-button",tabIndex:-1})))}),q=ie.memo(function(e){var o=ie.useContext(le).gridOptionsWrapper,t=ie.useState(),n=t[0],r=t[1],t=ie.useState(),a=t[0],i=t[1],t=ie.useState(),s=t[0],u=t[1],t=ie.useState(),c=t[0],l=t[1],t=ie.useState(),p=t[0],f=t[1],t=ie.useState([]),m=t[0],d=t[1],t=ie.useRef(null),h=e.ctrl,C=h.getType()===se.HeaderRowType.COLUMN,g=h.getType()===se.HeaderRowType.COLUMN_GROUP,y=h.getType()===se.HeaderRowType.FLOATING_FILTER,v=ie.useCallback(function(e,t){var n,r;return o.isEnsureDomOrder()?t:(n=se._.mapById(e,function(e){return e.getInstanceId()}),r=se._.mapById(t,function(e){return e.getInstanceId()}),G(e.filter(function(e){return r.has(e.getInstanceId())}),t.filter(function(e){return!n.has(e.getInstanceId())})))},[]),e=(pe(function(){h.setComp({setTransform:function(e){return r(e)},setHeight:function(e){return i(e)},setTop:function(e){return u(e)},setHeaderCtrls:function(t){return d(function(e){return v(e,t)})},setWidth:function(e){return l(e)},setAriaRowIndex:function(e){return f(e)}})}),ie.useMemo(function(){return{transform:n,height:a,top:s,width:c}},[n,a,s,c])),R=ie.useMemo(function(){var e=["ag-header-row"];return C&&e.push("ag-header-row-column"),g&&e.push("ag-header-row-column-group"),y&&e.push("ag-header-row-column-filter"),e.join(" ")},[]),E=ie.useCallback(function(e){switch(h.getType()){case se.HeaderRowType.COLUMN_GROUP:return ue.createElement(W,{ctrl:e,key:e.getInstanceId()});case se.HeaderRowType.FLOATING_FILTER:return ue.createElement(V,{ctrl:e,key:e.getInstanceId()});default:return ue.createElement(j,{ctrl:e,key:e.getInstanceId()})}},[]);return ue.createElement("div",{ref:t,className:R,role:"row",style:e,"aria-rowindex":p},m.map(E))}),C=ie.memo(function(n){function e(){return p.map(function(e){return ue.createElement(q,{ctrl:e,key:e.getInstanceId()})})}var t=ie.useState(new P),r=t[0],o=t[1],t=ie.useState(),a=t[0],i=t[1],t=ie.useState(),s=t[0],u=t[1],t=ie.useState(),c=t[0],l=t[1],t=ie.useState([]),p=t[0],f=t[1],m=ie.useContext(le).context,d=ie.useRef(null),t=n.pinned===se.Constants.PINNED_LEFT,h=n.pinned===se.Constants.PINNED_RIGHT,C=!t&&!h,g=(pe(function(){var e={addOrRemoveCssClass:function(t,n){return o(function(e){return e.setClass(t,n)})},setCtrls:function(e){return f(e)},setCenterWidth:function(e){return i(e)},setContainerTransform:function(e){return u(e)},setPinnedContainerWidth:function(e){return l(e)}},t=m.createBean(new se.HeaderRowContainerCtrl(n.pinned));return t.setComp(e,d.current),function(){m.destroyBean(t)}}),ie.useMemo(function(){return r.toString()},[r])),y=ie.useMemo(function(){return{width:a,transform:s}},[a,s]),v=ie.useMemo(function(){return{width:c,minWidth:c,maxWidth:c}},[c]);return ue.createElement(ue.Fragment,null,t&&ue.createElement("div",{ref:d,className:"ag-pinned-left-header "+g,role:"presentation",style:v},e()),h&&ue.createElement("div",{ref:d,className:"ag-pinned-right-header "+g,role:"presentation",style:v},e()),C&&ue.createElement("div",{ref:d,className:"ag-header-viewport "+g,role:"presentation"},ue.createElement("div",{className:"ag-header-container",role:"rowgroup",style:y},e())))}),X=ie.memo(function(){var e=ie.useState(new P),t=e[0],r=e[1],e=ie.useState(),n=e[0],o=e[1],a=ie.useContext(le).context,i=ie.useRef(null),e=(pe(function(){var e={addOrRemoveCssClass:function(t,n){return r(function(e){return e.setClass(t,n)})},setHeightAndMinHeight:function(e){return o(e)}},t=a.createBean(new se.GridHeaderCtrl);return t.setComp(e,i.current,i.current),function(){a.destroyBean(t)}}),ie.useMemo(function(){return"ag-header "+t.toString()},[t])),s=ie.useMemo(function(){return{height:n,minHeight:n}},[n]);return ue.createElement("div",{ref:i,className:e,style:s,role:"presentation"},ue.createElement(C,{pinned:se.Constants.PINNED_LEFT}),ue.createElement(C,{pinned:null}),ue.createElement(C,{pinned:se.Constants.PINNED_RIGHT}))}),de=ie.memo(function(u){var e=ie.useState(),t=e[0],c=e[1],e=ie.useContext(le),l=e.context,p=e.popupService,f=e.gridOptionsWrapper;return pe(function(){var e=u.editDetails,t=u.cellCtrl,n=u.eParentCell,r=e.compDetails,o=f.isStopEditingWhenCellsLoseFocus(),a=l.createBean(new se.PopupEditorWrapper(r.params)),r=a.getGui(),i=(!u.jsChildComp||(i=u.jsChildComp.getGui())&&r.appendChild(i),{column:t.getColumn(),rowNode:t.getRowNode(),type:"popupCellEditor",eventSource:n,ePopup:r,keepWithinBounds:!0}),e=("under"===e.popupPosition?p.positionPopupUnderComponent:p.positionPopupOverComponent).bind(p,i),i=f.getLocaleTextFunc(),o=p.addPopup({modal:o,eChild:r,closeOnEsc:!0,closedCallback:function(){t.onPopupEditorClosed()},anchorToElement:n,positionCallback:e,ariaLabel:i("ariaLabelCellEditor","Cell Editor")}),s=o?o.hideFunc:void 0;return c(a),u.jsChildComp&&u.jsChildComp.afterGuiAttached&&u.jsChildComp.afterGuiAttached(),function(){null!=s&&s(),l.destroyBean(a)}}),ue.createElement(ue.Fragment,null,t&&u.wrappedContent&&r.createPortal(u.wrappedContent,t.getGui()))}),K=ie.memo(function(e){function t(){return ue.createElement(ue.Fragment,null,null!=R&&(i=S,s=ae,u=O,c=k,l=oe,p=te,m=(a=R).compDetails,a=a.value,d=!m,h=m&&m.componentFromFramework,C=m&&m.componentClass,g=null!=(f=a)&&f.toString?a.toString():a,ue.createElement(ue.Fragment,null,c?ue.createElement("span",{role:"presentation",id:"cell-"+s,className:"ag-cell-value",ref:p},y()):y())),null!=E&&(f=E,a=re,c=ne,s=w.current,p=v,e=Z,t=f.compDetails,n=t.componentClass,r=t.componentFromFramework&&!f.popup,o=t.componentFromFramework&&f.popup,t=!t.componentFromFramework&&f.popup,ue.createElement(ue.Fragment,null,r&&ue.createElement(n,ce({},f.compDetails.params,{ref:a})),o&&ue.createElement(de,{editDetails:f,cellCtrl:p,eParentCell:s,wrappedContent:ue.createElement(n,ce({},f.compDetails.params,{ref:c}))}),t&&e&&ue.createElement(de,{editDetails:f,cellCtrl:p,eParentCell:s,jsChildComp:e}))));var e,t,n,r,o,a,i,s,u,c,l,p,f,m,d,h,C,g;function y(){return ue.createElement(ue.Fragment,null,d&&ue.createElement(ue.Fragment,null,g),h&&!l&&ue.createElement(C,ce({},m.params,{key:i,ref:u})),h&&l&&ue.createElement(C,ce({},m.params,{key:i})))}}var n,r,o,a,i,s,u,c=ie.useContext(le).context,v=e.cellCtrl,l=e.printLayout,p=e.editingRow,e=ie.useState(),R=e[0],f=e[1],e=ie.useState(),E=e[0],m=e[1],e=ie.useState(1),S=e[0],d=e[1],e=ie.useState(),_=e[0],x=e[1],e=ie.useState(),B=e[0],U=e[1],e=ie.useState(),L=e[0],H=e[1],e=ie.useState(),j=e[0],W=e[1],e=ie.useState(),V=e[0],q=e[1],e=ie.useState(),K=e[0],Y=e[1],e=ie.useState(!1),h=e[0],z=e[1],e=ie.useState(!1),C=e[0],$=e[1],e=ie.useState(!1),g=e[0],X=e[1],e=ie.useState(),Z=e[0],y=e[1],e=ie.useMemo(function(){return v.isForceWrapper()},[]),w=ie.useRef(null),O=ie.useRef(null),T=ie.useRef(),M=ie.useRef(),I=ie.useRef(),P=ie.useState(0),D=P[0],J=P[1],P=ie.useCallback(function(e){I.current=e,J(function(e){return e+1})},[]),b=ie.useRef(),N=ie.useState(0),Q=N[0],ee=N[1],te=ie.useCallback(function(e){b.current=e,ee(function(e){return e+1})},[]),N=null!=R&&(h||g||C),k=e&&!v.isEditing()||N,A=ie.useCallback(function(e,t){var n,r,o,a,i;(M.current=t)&&(e=e,n=t,i=(r=v).getColumn(),!e&&n.isPopup&&n.isPopup()&&(o="AG Grid: Found an issue in column "+i.getColId()+". If using React, specify an editor is a popup using colDef.cellEditorPopup=true. AG Grid React cannot depend on the editor component specifying if it's in a popup (via the isPopup() method on the editor), as React needs to know this information BEFORE the component is created.",se._.doOnce(function(){return console.warn(o)},"jsEditorComp-isPopup-"+r.getColumn().getColId())),e&&n.getPopupPosition&&null!=n.getPopupPosition()&&(a="AG Grid: Found an issue in column "+i.getColId()+". If using React, specify an editor popup position using colDef.cellEditorPopupPosition=true. AG Grid React cannot depend on the editor component specifying it's position (via the getPopupPosition() method on the editor), as React needs to know this information BEFORE the component is created.",se._.doOnce(function(){return console.warn(a)},"jsEditorComp-getPopupPosition-"+r.getColumn().getColId())),t.isCancelBeforeStart&&t.isCancelBeforeStart()&&setTimeout(function(){return v.stopEditing()},0))},[]),ne=ie.useCallback(function(e){return A(!0,e)},[]),re=ie.useCallback(function(e){return A(!1,e)},[]),F=ie.useMemo(function(){return new se.CssClassManager(function(){return w.current})},[]),G=(n=R,r=k,o=b.current,e=Q,a=T,i=w,N=ie.useContext(le),s=N.context,N.userComponentFactory,u=ie.useCallback(function(){var e,t=a.current;t&&((e=t.getGui())&&e.parentElement&&e.parentElement.removeChild(e),s.destroyBean(t),a.current=void 0)},[]),ie.useEffect(function(){var e=n&&n.compDetails&&!n.compDetails.componentFromFramework;if(null!=n&&e&&!(r&&null==o)){e=n.compDetails;if(a.current){var t=a.current,t=null!=t.refresh&&0==n.force&&t.refresh(e.params);if(!0===t||void 0===t)return;u()}t=e.newAgStackInstance();t&&(e=t.resolveNow(null,function(e){return e}))&&(t=e.getGui())&&((r?o:i.current).appendChild(t),a.current=e)}else u()},[n,r,e]),pe(function(){return u}),ie.useRef()),oe=(ie.useEffect(function(){var e=G.current,t=R;G.current=R,null!=e&&null!=e.compDetails&&null!=t&&null!=t.compDetails&&(e=e.compDetails,t=t.compDetails,e.componentClass==t.componentClass&&null!=O.current&&null!=O.current.refresh&&1!=O.current.refresh(t.params)&&d(function(e){return e+1}))},[R]),ie.useEffect(function(){if(E&&!E.compDetails.componentFromFramework){var e,t=E.compDetails,n=!0===E.popup,r=function(e){e=e.newAgStackInstance();if(e)return e.resolveNow(null,function(e){return e})}(t);if(r)return e=r.getGui(),A(n,r),n||(w.current.appendChild(e),r.afterGuiAttached&&r.afterGuiAttached()),y(r),function(){c.destroyBean(r),A(n,void 0),y(void 0),e&&e.parentElement&&e.parentElement.removeChild(e)}}},[E]),ie.useEffect(function(){var n,e;if(v&&c&&(H(I.current?"cell-"+v.getInstanceId():void 0),I.current&&k))return n=[],e=function(e){var t;return e&&(t=e.getGui(),I.current.insertAdjacentElement("afterbegin",t),n.push(function(){c.destroyBean(e),se._.removeFromParent(t)})),e},h&&e(v.createSelectionCheckbox()),g&&e(v.createDndSource()),C&&e(v.createRowDragComp()),function(){return n.forEach(function(e){return e()})}},[k,g,C,h,D]),ie.useEffect(function(){0<D&&I.current&&v.refreshAutoHeight(I.current)},[I,D]),me(function(){var e;v&&(e=I.current||void 0,v.setComp({addOrRemoveCssClass:function(e,t){return F.addOrRemoveCssClass(e,t)},setUserStyles:function(e){return x(e)},getFocusableElement:function(){return w.current},setTabIndex:function(e){return U(e)},setRole:function(e){return W(e)},setColId:function(e){return q(e)},setTitle:function(e){return Y(e)},setIncludeSelection:function(e){return z(e)},setIncludeRowDrag:function(e){return $(e)},setIncludeDndSource:function(e){return X(e)},getCellEditor:function(){return M.current||null},getCellRenderer:function(){return O.current||T.current},getParentOfValue:function(){return b.current||I.current||w.current},setRenderDetails:function(e,t,n){f({value:t,compDetails:e,force:n})},setEditDetails:function(e,t,n){e?(m({compDetails:e,popup:t,popupPosition:n}),t||f(void 0)):m(void 0)}},w.current,e,l,p))}),ie.useMemo(function(){return!!(R&&R.compDetails&&R.compDetails.componentFromFramework&&fe(R.compDetails.componentClass))},[R])),ae=(w.current&&!k&&F.addOrRemoveCssClass("ag-cell-value",!k),ie.useMemo(function(){return v.getInstanceId()},[]));return ue.createElement("div",{ref:w,style:_,tabIndex:B,role:j,"col-id":V,title:K,"aria-describedby":L},k?ue.createElement("div",{className:"ag-cell-wrapper",role:"presentation",ref:P},t()):t())}),Y=ie.memo(function(e){var t=ie.useContext(le).context,n=e.rowCtrl,r=e.containerType,e=ie.useState(),o=e[0],a=e[1],e=ie.useState(),i=e[0],s=e[1],e=ie.useState(),u=e[0],c=e[1],e=ie.useState(),l=e[0],p=e[1],e=ie.useState(),f=e[0],m=e[1],e=ie.useState(),d=e[0],h=e[1],e=ie.useState({list:[],instanceIdMap:new Map}),C=e[0],g=e[1],e=ie.useState(),y=e[0],v=e[1],e=ie.useState(!1),R=e[0],E=e[1],e=ie.useState(n.getInitialRowTop()),S=e[0],w=e[1],e=ie.useState(n.getInitialTransform()),O=e[0],T=e[1],M=ie.useRef(null),I=ie.useRef(),P=ie.useRef(!1),e=ie.useState(0),D=e[0],b=e[1],N=(ie.useEffect(function(){var e;P.current||!y||10<D||((e=null==(e=M.current)?void 0:e.firstChild)?(n.setupDetailRowAutoHeight(e),P.current=!0):b(function(e){return e+1}))},[y,D]),ie.useMemo(function(){return new se.CssClassManager(function(){return M.current})},[])),e=(me(function(){n.isAlive()&&n.setComp({setTop:function(e){return w(e)},setTransform:function(e){return T(e)},addOrRemoveCssClass:function(e,t){return N.addOrRemoveCssClass(e,t)},setDomOrder:function(e){return E(e)},setRowIndex:function(e){return a(e)},setRowId:function(e){return s(e)},setRowBusinessKey:function(e){return p(e)},setTabIndex:function(e){return m(e)},setUserStyles:function(e){return h(e)},setRole:function(e){return c(e)},setCellCtrls:function(s){return g(function(e){return n=e,e=s,R?(t={list:e,instanceIdMap:new Map},e.forEach(function(e){return t.instanceIdMap.set(e.getInstanceId(),e)}),t):(r=[],o=[],a=new Map,i=new Map,e.forEach(function(e){return i.set(e.getInstanceId(),e)}),n.list.forEach(function(e){var t=e.getInstanceId();i.has(t)&&(r.push(e),a.set(t,e))}),e.forEach(function(e){var t=e.getInstanceId();n.instanceIdMap.has(t)||(o.push(e),a.set(t,e))}),{list:G(r,o),instanceIdMap:a});var n,t,r,o,a,i})},showFullWidth:function(e){return v(e)},getFullWidthCellRenderer:function(){return I.current}},M.current,r)}),ie.useEffect(function(){return _(y,t,M.current,I)},[y]),ie.useMemo(function(){var e={top:S,transform:O};return Object.assign(e,d),e},[S,O,d])),k=y&&y.componentFromFramework,A=null!=C,F=ie.useMemo(function(){var e;return!!((null==(e=y)?void 0:e.componentFromFramework)&&fe(y.componentClass))},[y]);return ue.createElement("div",{ref:M,role:u,style:e,"row-index":o,"row-id":i,"row-business-key":l,tabIndex:f},A&&C.list.map(function(e){return ue.createElement(K,{cellCtrl:e,editingRow:n.isEditing(),printLayout:n.isPrintLayout(),key:e.getInstanceId()})}),k&&(u=y.componentClass,ue.createElement(ue.Fragment,null,F&&ue.createElement(u,ce({},y.params)),!F&&ue.createElement(u,ce({},y.params,{ref:I})))))}),Z=ie.memo(function(e){function t(){return ue.createElement("div",{className:R,ref:y,role:u.length?"rowgroup":"presentation",style:T},i.map(function(e){return ue.createElement(Y,{rowCtrl:e,containerType:h,key:e.getInstanceId()})}))}var r=ie.useContext(le).context,n=ie.useState(""),o=n[0],a=n[1],n=ie.useState([]),i=n[0],s=n[1],n=ie.useState([]),u=n[0],c=n[1],n=ie.useState(!1),l=n[0],p=n[1],n=ie.useState(""),f=n[0],m=n[1],d=e.name,h=ie.useMemo(function(){return se.getRowContainerTypeForName(d)},[d]),C=ie.useRef(null),g=ie.useRef(null),y=ie.useRef(null),v=ie.useMemo(function(){return se.RowContainerCtrl.getRowContainerCssClasses(d)},[d]),n=ie.useMemo(function(){return z(v.wrapper)},[]),e=ie.useMemo(function(){return z(v.viewport)},[]),R=ie.useMemo(function(){return z(v.container)},[]),E=d===se.RowContainerName.CENTER,S=d===se.RowContainerName.TOP_CENTER||d===se.RowContainerName.BOTTOM_CENTER||d===se.RowContainerName.STICKY_TOP_CENTER,w=!E&&!S,O=($(" AG Row Container "+d+" ",E?C:S?g:y),ie.useEffect(function(){s(function(e){var t;return l?u:(t=e.filter(function(e){return 0<=u.indexOf(e)}),e=u.filter(function(e){return t.indexOf(e)<0}),G(t,e))})},[l,u]),pe(function(){var e=[],t={setViewportHeight:a,setRowCtrls:function(e){return c(e)},setDomOrder:function(e){return p(e)},setContainerWidth:function(e){return m(e)}},n=r.createBean(new se.RowContainerCtrl(d));return e.push(n),n.setComp(t,y.current,g.current,C.current),function(){r.destroyBeans(e)}}),ie.useMemo(function(){return{height:o}},[o])),T=ie.useMemo(function(){return{width:f}},[f]);return ue.createElement(ue.Fragment,null,E&&ue.createElement("div",{className:n,ref:C,role:"presentation"},ue.createElement("div",{className:e,ref:g,role:"presentation",style:O},t())),S&&ue.createElement("div",{className:e,ref:g,role:"presentation",style:O},t()),w&&t())}),J=ie.memo(function(){function o(e){return ue.createElement(Z,{name:e,key:e+"-container"})}function e(e){var t=e.section,n=e.children,r=e.className,e=e.style;return ue.createElement("div",{ref:t,className:r,role:"presentation",style:e},n.map(o))}var t=ie.useContext(le),a=t.context,i=t.agStackComponentsRegistry,s=t.resizeObserverService,t=ie.useState(""),n=t[0],u=t[1],t=ie.useState(0),r=t[0],c=t[1],t=ie.useState(0),l=t[0],p=t[1],t=ie.useState(0),f=t[0],m=t[1],t=ie.useState(0),d=t[0],h=t[1],t=ie.useState("0px"),C=t[0],g=t[1],t=ie.useState("0px"),y=t[0],v=t[1],t=ie.useState("100%"),R=t[0],E=t[1],t=ie.useState(""),S=t[0],w=t[1],t=ie.useState(""),O=t[0],T=t[1],t=ie.useState(null),M=t[0],_=t[1],t=ie.useState(null),I=t[0],x=t[1],t=ie.useState(""),P=t[0],B=t[1],t=ie.useState(null),D=t[0],U=t[1],t=ie.useState("ag-layout-normal"),b=t[0],L=t[1],N=ie.useRef(null),k=ie.useRef(null),A=ie.useRef(null),F=ie.useRef(null),G=ie.useRef(null),t=($(" AG Grid Body ",N),$(" AG Pinned Top ",k),$(" AG Sticky Top ",A),$(" AG Middle ",F),$(" AG Pinned Bottom ",G),pe(function(){var e,t,n=[],r=[];if(a)return e=function(e){e=i.getComponentClass(e),e=a.createBean(new e);return n.push(e),e},N.current.appendChild(document.createComment(" AG Fake Horizontal Scroll ")),N.current.appendChild(e("AG-FAKE-HORIZONTAL-SCROLL").getGui()),N.current.appendChild(document.createComment(" AG Overlay Wrapper ")),N.current.appendChild(e("AG-OVERLAY-WRAPPER").getGui()),e={setRowAnimationCssOnBodyViewport:u,setColumnCount:c,setRowCount:p,setTopHeight:m,setBottomHeight:h,setStickyTopHeight:g,setStickyTopTop:v,setStickyTopWidth:E,setTopDisplay:w,setBottomDisplay:T,setColumnMovingCss:_,updateLayoutClasses:L,setAlwaysVerticalScrollClass:x,setPinnedTopBottomOverflowY:B,setCellSelectableCss:U,registerBodyViewportResizeListener:function(e){var t=s.observeResize(F.current,e);r.push(function(){return t()})}},t=a.createBean(new se.GridBodyCtrl),n.push(t),t.setComp(e,N.current,F.current,k.current,G.current,A.current),function(){a.destroyBeans(n),r.forEach(function(e){return e()})}}),ie.useMemo(function(){return z("ag-root","ag-unselectable",M,b)},[M,b])),H=ie.useMemo(function(){return z("ag-body-viewport",n,b,I,D)},[n,b,I,D]),j=ie.useMemo(function(){return z("ag-floating-top",D)},[D]),W=ie.useMemo(function(){return z("ag-sticky-top",D)},[D]),V=ie.useMemo(function(){return z("ag-floating-bottom",D)},[D]),q=ie.useMemo(function(){return{height:f,minHeight:f,display:S,overflowY:P}},[f,S,P]),K=ie.useMemo(function(){return{height:C,top:y,width:R}},[C,y,R]),Y=ie.useMemo(function(){return{height:d,minHeight:d,display:O,overflowY:P}},[d,O,P]);return ue.createElement("div",{ref:N,className:t,role:"grid","aria-colcount":r,"aria-rowcount":l},ue.createElement(X,null),e({section:k,className:j,style:q,children:[se.RowContainerName.TOP_LEFT,se.RowContainerName.TOP_CENTER,se.RowContainerName.TOP_RIGHT,se.RowContainerName.TOP_FULL_WIDTH]}),e({section:F,className:H,children:[se.RowContainerName.LEFT,se.RowContainerName.CENTER,se.RowContainerName.RIGHT,se.RowContainerName.FULL_WIDTH]}),e({section:A,className:W,style:K,children:[se.RowContainerName.STICKY_TOP_LEFT,se.RowContainerName.STICKY_TOP_CENTER,se.RowContainerName.STICKY_TOP_RIGHT,se.RowContainerName.STICKY_TOP_FULL_WIDTH]}),e({section:G,className:V,style:Y,children:[se.RowContainerName.BOTTOM_LEFT,se.RowContainerName.BOTTOM_CENTER,se.RowContainerName.BOTTOM_RIGHT,se.RowContainerName.BOTTOM_FULL_WIDTH]}))}),g=ie.forwardRef(function(e,t){function n(e){return ue.createElement("div",{className:"ag-tab-guard ag-tab-guard-"+e,role:"presentation",tabIndex:p,ref:"top"===e?u:c})}var r=e.children,o=e.eFocusableElement,a=e.onTabKeyDown,i=e.gridCtrl,s=ie.useContext(le).context,u=ie.useRef(null),c=ie.useRef(null),l=ie.useRef(),e=ie.useState(),p=e[0],f=e[1];ie.useImperativeHandle(t,function(){return{forceFocusOutOfContainer:function(){l.current.forceFocusOutOfContainer()}}}),pe(function(){var e=u.current,t=c.current,n=l.current=s.createBean(new se.TabGuardCtrl({comp:{setTabIndex:function(e){return f(null==e?void 0:parseInt(e,10))}},eTopGuard:e,eBottomGuard:t,eFocusableElement:o,onTabKeyDown:a,focusInnerElement:function(e){return i.focusInnerElement(e)}}));return function(){s.destroyBean(n)}});return ue.createElement(ue.Fragment,null,n("top"),r,n("bottom"))}),Q=ie.memo(g),ee=ie.memo(function(e){var p=e.context,e=ie.useState(""),t=e[0],n=e[1],e=ie.useState(""),r=e[0],o=e[1],e=ie.useState(""),a=e[0],i=e[1],e=ie.useState(null),s=e[0],u=e[1],e=ie.useState(null),c=e[0],l=e[1],e=ie.useState(!1),f=e[0],m=e[1],e=ie.useState(),d=e[0],h=e[1],C=ie.useRef(null),g=ie.useRef(null),y=ie.useRef(),v=ie.useRef(null),R=ie.useRef(function(){}),e=ie.useCallback(function(){},[]),E=ie.useMemo(function(){return p.getBean("beans")},[]),S=($(" AG Grid ",g),pe(function(){var e=C.current=p.createBean(new se.GridCtrl);return function(){p.destroyBean(e),C.current=null}}),pe(function(){var e=C.current,t=(R.current=e.focusInnerElement.bind(e),{destroyGridUi:function(){},setRtlClass:n,addOrRemoveKeyboardFocusClass:function(e){return o(e?se.FocusService.AG_KEYBOARD_FOCUS:"")},forceFocusOutOfContainer:function(){y.current.forceFocusOutOfContainer()},updateLayoutClasses:i,getFocusableContainers:function(){var e=[],t=g.current.querySelector(".ag-root"),n=g.current.querySelector(".ag-side-bar");return t&&e.push(t),n&&e.push(n),e},setCursor:u,setUserSelect:l});e.setComp(t,g.current,g.current),m(!0)}),ie.useEffect(function(){var e,t,n,r,o,a,i,s,u,c,l;if(d)return e=C.current,t=[],c=(o=E.agStackComponentsRegistry).getComponentClass("AG-GRID-HEADER-DROP-ZONES"),u=o.getComponentClass("AG-SIDE-BAR"),n=o.getComponentClass("AG-STATUS-BAR"),r=o.getComponentClass("AG-WATERMARK"),o=o.getComponentClass("AG-PAGINATION"),a=[],i=g.current,s=v.current,e.showDropZones()&&c&&(l=(c=p.createBean(new c)).getGui(),i.insertAdjacentElement("afterbegin",l),a.push(l),t.push(c)),e.showSideBar()&&u&&(l=(c=p.createBean(new u)).getGui(),(u=s.querySelector(".ag-tab-guard-bottom"))&&(u.insertAdjacentElement("beforebegin",l),a.push(l)),t.push(c)),e.showStatusBar()&&n&&(l=(s=p.createBean(new n)).getGui(),i.insertAdjacentElement("beforeend",l),a.push(l),t.push(s)),o&&(l=(u=p.createBean(new o)).getGui(),i.insertAdjacentElement("beforeend",l),a.push(l),t.push(u)),e.showWatermark()&&r&&(l=(c=p.createBean(new r)).getGui(),i.insertAdjacentElement("beforeend",l),a.push(l),t.push(c)),function(){p.destroyBeans(t),a.forEach(function(e){e.parentElement&&e.parentElement.removeChild(e)})}},[d]),ie.useMemo(function(){return z("ag-root-wrapper",t,r,a)},[t,r,a])),w=ie.useMemo(function(){return z("ag-root-wrapper-body","ag-focus-managed",a)},[a]),O=ie.useMemo(function(){return{userSelect:null!=c?c:"",WebkitUserSelect:null!=c?c:"",cursor:null!=s?s:""}},[c,s]),T=v.current,M=ie.useCallback(function(e){y.current=e,h(!0)},[]);return ue.createElement("div",{ref:g,className:S,style:O,role:"presentation"},ue.createElement("div",{className:w,ref:v,role:"presentation"},f&&T&&ue.createElement(le.Provider,{value:E},ue.createElement(Q,{ref:M,eFocusableElement:T,onTabKeyDown:e,gridCtrl:C.current},ue.createElement(J,null)))))});n(y,te=ie.Component),y.prototype.render=function(){return this.state.context,this.state.context&&(this.renderedAfterMount=!0),ue.createElement("div",{style:this.createStyleForDiv(),className:this.props.className,ref:this.eGui},this.state.context&&ue.createElement(ee,{context:this.state.context}),this.portalManager.getPortals())},y.prototype.createStyleForDiv=function(){return ce({height:"100%"},this.props.containerStyle||{})},y.prototype.componentDidMount=function(){var e,t,n=this;this.mounted||(this.mounted=!0,e=this.props.modules||[],e={providedBeanInstances:{frameworkComponentWrapper:new oe(this.portalManager)},modules:e,frameworkOverrides:new ge(!0)},this.gridOptions=this.props.gridOptions||{},t=this.props.children,c.hasChildColumns(t)&&(this.gridOptions.columnDefs=c.mapChildColumnDefs(t)),this.gridOptions=se.ComponentUtil.copyAttributesToGridOptions(this.gridOptions,this.props),(new se.GridCoreCreator).create(this.eGui.current,this.gridOptions,function(e){n.setState({context:e}),e.getBean(se.CtrlsService.NAME).whenReady(function(){n.api=n.gridOptions.api,n.columnApi=n.gridOptions.columnApi,n.props.setGridApi(n.api,n.columnApi),n.destroyFuncs.push(function(){return n.api.destroy()})})},function(e){e.getBean(se.CtrlsService.NAME).whenReady(function(){n.whenReadyFuncs.forEach(function(e){return e()}),n.whenReadyFuncs.length=0,n.ready=!0})},e))},y.prototype.componentWillUnmount=function(){this.renderedAfterMount&&(this.destroyFuncs.forEach(function(e){return e()}),this.destroyFuncs.length=0)},y.prototype.componentDidUpdate=function(e){this.processPropsChanges(e,this.props)},y.prototype.processPropsChanges=function(e,t){var n={};this.extractGridPropertyChanges(e,t,n),this.extractDeclarativeColDefChanges(t,n),this.processChanges(n)},y.prototype.extractDeclarativeColDefChanges=function(e,t){var n,r,o,a;this.props.gridOptions&&this.props.gridOptions.columnDefs||this.props.columnDefs||(n=!!e.debug,r="columnDefs",o=this.gridOptions.columnDefs,c.hasChildColumns(e.children)?(a=this.changeDetectionService.getStrategy(this.getStrategyTypeForProp(r)),e=c.mapChildColumnDefs(e.children),a.areEqual(o,e)||(n&&console.log("agGridReact: colDefs definitions changed"),t[r]={previousValue:o,currentValue:e})):o&&0<o.length&&(t[r]={previousValue:o,currentValue:[]}))},y.prototype.extractGridPropertyChanges=function(t,n,r){var o=this,a=!!n.debug;Object.keys(n).forEach(function(e){se._.includes(se.ComponentUtil.ALL_PROPERTIES,e)&&!o.changeDetectionService.getStrategy(o.getStrategyTypeForProp(e)).areEqual(t[e],n[e])&&(a&&console.log("agGridReact: ["+e+"] property changed"),r[e]={previousValue:t[e],currentValue:n[e]})}),se.ComponentUtil.getEventCallbacks().forEach(function(e){t[e]!==n[e]&&(a&&console.log("agGridReact: ["+e+"] event callback changed"),r[e]={previousValue:t[e],currentValue:n[e]})})},y.prototype.processChanges=function(e){var t=this;this.processWhenReady(function(){return se.ComponentUtil.processOnChange(e,t.gridOptions,t.api,t.columnApi)})},y.prototype.processWhenReady=function(e){this.ready?e():this.whenReadyFuncs.push(e)},y.prototype.getStrategyTypeForProp=function(e){if("rowData"===e){if(this.props.rowDataChangeDetectionStrategy)return this.props.rowDataChangeDetectionStrategy;if(this.isImmutableDataActive())return t.ChangeDetectionStrategyType.IdentityCheck}return t.ChangeDetectionStrategyType.DeepValueCheck},y.prototype.isImmutableDataActive=function(){return this.props.deltaRowDataMode||this.props.immutableData||null!=this.props.getRowId||this.props.gridOptions&&(this.props.gridOptions.deltaRowDataMode||this.props.gridOptions.immutableData||null!=this.props.gridOptions.getRowId)};var te,ne=y;function y(e){var t=te.call(this,e)||this;return t.props=e,t.destroyFuncs=[],t.changeDetectionService=new F,t.eGui=ue.createRef(),t.whenReadyFuncs=[],t.ready=!1,t.renderedAfterMount=!1,t.mounted=!1,t.state={context:void 0},t.portalManager=new L(t,e.componentWrappingElement,e.maxComponentCreationTimeMs),t.destroyFuncs.push(function(){return t.portalManager.destroy()}),t}n(ae,re=se.BaseComponentWrapper),ae.prototype.createWrapper=function(e,t){return new U(e,this.parent,t)};var re,oe=ae;function ae(e){var t=re.call(this)||this;return t.parent=e,t}var he,Ce=ie.forwardRef(function(r,e){var t=ie.useContext(le),o=t.ctrlsFactory,a=t.context,i=t.gridOptionsWrapper,s=t.resizeObserverService,u=t.clientSideRowModel,c=t.serverSideRowModel,t=ie.useState(new P),n=t[0],l=t[1],t=ie.useState(new P),p=t[0],f=t[1],t=ie.useState(),m=t[0],d=t[1],t=ie.useState(),h=t[0],C=t[1],g=ie.useRef(),y=ie.useRef(null),t=ie.useMemo(function(){return n.toString()+" ag-details-row"},[n]),v=ie.useMemo(function(){return p.toString()+" ag-details-grid"},[p]),e=(e&&ie.useImperativeHandle(e,function(){return{refresh:function(){return g.current.refresh()}}}),pe(function(){r.template&&"string"==typeof r.template&&console.warn("AG Grid: detailCellRendererParams.template is not supported by React - this only works with frameworks that work against String templates. To change the template, please provide your own React Detail Cell Renderer.")}),pe(function(){var e,t={addOrRemoveCssClass:function(t,n){return l(function(e){return e.setClass(t,n)})},addOrRemoveDetailGridCssClass:function(t,n){return f(function(e){return e.setClass(t,n)})},setDetailGrid:function(e){return d(e)},setRowData:function(e){return C(e)},getGui:function(){return y.current}},n=o.getInstance("detailCellRenderer");if(n)return a.createBean(n),n.init(t,r),g.current=n,i.isDetailRowAutoHeight()&&(e=s.observeResize(y.current,t=function(){var e;null!=y.current&&null!=(e=y.current.clientHeight)&&0<e&&setTimeout(function(){r.node.setRowHeight(e),u?u.onRowHeightChanged():c&&c.onRowHeightChanged()},0)}),t()),function(){a.destroyBean(n),e&&e()}}),ie.useCallback(function(e,t){g.current.registerDetailWithMaster(e,t)},[]));return ue.createElement("div",{className:t,ref:y},m&&ue.createElement(ne,ce({className:v},m,{rowData:h,setGridApi:e})))}),ge=(n(v,he=se.VanillaFrameworkOverrides),v.prototype.frameworkComponent=function(e){if(this.reactUi)return this.frameworkComponents[e]},v.prototype.isFrameworkComponent=function(e){return!!e&&!((e=e.prototype)&&"getGui"in e)},v);function v(e){var t=he.call(this)||this;return t.frameworkComponents={agGroupCellRenderer:D,agGroupRowRenderer:D,agDetailCellRenderer:Ce},t.reactUi=e,t}n(E,ye=ie.Component),E.prototype.render=function(){var t=this;return ue.createElement("div",{style:this.createStyleForDiv(),className:this.props.className,ref:function(e){t.eGridDiv=e}},this.portalManager.getPortals())},E.prototype.createStyleForDiv=function(){return ce({height:"100%"},this.props.containerStyle||{})},E.prototype.componentDidMount=function(){var e=this.props.modules||[],e={providedBeanInstances:{agGridReact:this,frameworkComponentWrapper:new Re(this,this.portalManager)},modules:e,frameworkOverrides:new ge(!1)},t=this.props.gridOptions||{},n=this.props.children;c.hasChildColumns(n)&&(t.columnDefs=c.mapChildColumnDefs(n)),this.gridOptions=se.ComponentUtil.copyAttributesToGridOptions(t,this.props),new se.Grid(this.eGridDiv,this.gridOptions,e),this.api=this.gridOptions.api,this.columnApi=this.gridOptions.columnApi,this.props.setGridApi(this.api,this.columnApi)},E.prototype.getStrategyTypeForProp=function(e){if("rowData"===e){if(this.props.rowDataChangeDetectionStrategy)return this.props.rowDataChangeDetectionStrategy;if(this.isImmutableDataActive())return t.ChangeDetectionStrategyType.IdentityCheck}return t.ChangeDetectionStrategyType.DeepValueCheck},E.prototype.isImmutableDataActive=function(){return this.props.deltaRowDataMode||this.props.immutableData||null!=this.props.getRowId||this.props.gridOptions&&(this.props.gridOptions.deltaRowDataMode||this.props.gridOptions.immutableData||null!=this.props.gridOptions.getRowId)},E.prototype.shouldComponentUpdate=function(e){return this.processPropsChanges(this.props,e),!1},E.prototype.componentDidUpdate=function(e){this.processPropsChanges(e,this.props)},E.prototype.processPropsChanges=function(e,t){var n={};this.extractGridPropertyChanges(e,t,n),this.extractDeclarativeColDefChanges(t,n),this.processSynchronousChanges(n),this.processAsynchronousChanges(n)},E.prototype.extractDeclarativeColDefChanges=function(e,t){var n,r,o,a;this.props.gridOptions&&this.props.gridOptions.columnDefs||this.props.columnDefs||(n=!!e.debug,r="columnDefs",o=this.gridOptions.columnDefs,c.hasChildColumns(e.children)?(a=this.changeDetectionService.getStrategy(this.getStrategyTypeForProp(r)),e=c.mapChildColumnDefs(e.children),a.areEqual(o,e)||(n&&console.log("agGridReact: colDefs definitions changed"),t[r]={previousValue:o,currentValue:e})):o&&0<o.length&&(t[r]={previousValue:o,currentValue:[]}))},E.prototype.extractGridPropertyChanges=function(t,n,r){var o=this,a=!!n.debug;Object.keys(n).forEach(function(e){se._.includes(se.ComponentUtil.ALL_PROPERTIES,e)&&!o.changeDetectionService.getStrategy(o.getStrategyTypeForProp(e)).areEqual(t[e],n[e])&&(a&&console.log("agGridReact: ["+e+"] property changed"),r[e]={previousValue:t[e],currentValue:n[e]})}),se.ComponentUtil.getEventCallbacks().forEach(function(e){t[e]!==n[e]&&(a&&console.log("agGridReact: ["+e+"] event callback changed"),r[e]={previousValue:t[e],currentValue:n[e]})})},E.prototype.componentWillUnmount=function(){this.api&&(this.api.destroy(),this.api=null),this.destroyed=!0,this.portalManager.destroy()},E.prototype.isDisableStaticMarkup=function(){return!0===this.props.disableStaticMarkup},E.prototype.isLegacyComponentRendering=function(){return!0===this.props.legacyComponentRendering},E.prototype.processSynchronousChanges=function(e){var t,n=ce({},e);return 0<Object.keys(n).length&&(t={},this.SYNCHRONOUS_CHANGE_PROPERTIES.forEach(function(e){n[e]&&(t[e]=n[e],delete n[e])}),0<Object.keys(t).length&&this.api&&se.ComponentUtil.processOnChange(t,this.gridOptions,this.api,this.columnApi)),n},E.prototype.processAsynchronousChanges=function(e){var t=this;0<Object.keys(e).length&&window.setTimeout(function(){t.api&&se.ComponentUtil.processOnChange(e,t.gridOptions,t.api,t.columnApi)})},E.defaultProps={legacyComponentRendering:!1,disableStaticMarkup:!1,maxComponentCreationTimeMs:E.MAX_COMPONENT_CREATION_TIME_IN_MS=1e3};var ye,R=E;function E(e){var t=ye.call(this,e)||this;return t.props=e,t.changeDetectionService=new F,t.api=null,t.destroyed=!1,t.SYNCHRONOUS_CHANGE_PROPERTIES=["context"],t.portalManager=new L(t,e.componentWrappingElement,e.maxComponentCreationTimeMs),t}function S(e,t){e.forEach(function(e){R[e]=t})}R.propTypes={gridOptions:e.object},S(se.ComponentUtil.getEventCallbacks(),e.func),S(se.ComponentUtil.BOOLEAN_PROPERTIES,e.bool),S(se.ComponentUtil.STRING_PROPERTIES,e.string),S(se.ComponentUtil.OBJECT_PROPERTIES,e.object),S(se.ComponentUtil.ARRAY_PROPERTIES,e.array),S(se.ComponentUtil.NUMBER_PROPERTIES,e.number),S(se.ComponentUtil.FUNCTION_PROPERTIES,e.func);n(Ee,ve=se.BaseComponentWrapper),Ee.prototype.createWrapper=function(e,t){return this.agGridReact.isLegacyComponentRendering()?new b(e,this.agGridReact,this.portalManager,t):new U(e,this.portalManager,t)};var ve,Re=Ee;function Ee(e,t){var n=ve.call(this)||this;return n.agGridReact=e,n.portalManager=t,n}n(we,Se=ie.Component),we.prototype.render=function(){return this.props.suppressReactUi?ue.createElement(R,ce({},this.props,{setGridApi:this.setGridApi})):ue.createElement(ne,ce({},this.props,{setGridApi:this.setGridApi}))};var Se,o=we;function we(){var n=null!==Se&&Se.apply(this,arguments)||this;return n.setGridApi=function(e,t){n.api=e,n.columnApi=t},n}t.AgGridReact=o,t.AgGridReactLegacy=R,t.AgGridReactFire=ne,t.AgGridColumn=c,Object.defineProperty(t,"__esModule",{value:!0})}); |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { Component } from 'react'; | ||
@@ -3,0 +3,0 @@ import { AgGridReactProps, AgReactUiProps } from './shared/interfaces'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __extends = (this && this.__extends) || (function () { |
@@ -1,3 +0,3 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import '@ag-grid-community/styles/ag-grid.css'; | ||
import '@ag-grid-community/styles/ag-theme-alpine.css'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __spreadArrays = (this && this.__spreadArrays) || function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { ColumnApi, GridApi, GridOptions } from 'ag-grid-community'; | ||
@@ -3,0 +3,0 @@ import React, { Component } from 'react'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __extends = (this && this.__extends) || (function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { AgPromise, ComponentType } from 'ag-grid-community'; | ||
@@ -3,0 +3,0 @@ import { ReactComponent } from '../shared/reactComponent'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __extends = (this && this.__extends) || (function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
export { AgGridReact } from './agGridReact'; | ||
@@ -3,0 +3,0 @@ export { AgGridReactLegacy } from './legacy/agGridReactLegacy'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { ColumnApi, Context, GridApi } from 'ag-grid-community'; | ||
@@ -3,0 +3,0 @@ import { Component } from 'react'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __extends = (this && this.__extends) || (function () { |
@@ -1,4 +0,4 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import React from 'react'; | ||
import { Beans } from 'ag-grid-community'; | ||
export declare const BeansContext: React.Context<Beans>; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __importDefault = (this && this.__importDefault) || function (mod) { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import React from "react"; | ||
@@ -3,0 +3,0 @@ import { IDetailCellRendererParams } from "ag-grid-community"; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __assign = (this && this.__assign) || function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { GroupCellRendererParams } from "ag-grid-community"; | ||
@@ -3,0 +3,0 @@ import React from 'react'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -74,2 +74,3 @@ var __assign = (this && this.__assign) || function () { | ||
var useValue = innerCompDetails == null && value != null; | ||
var escapedValue = ag_grid_community_1._.escapeString(value, true); | ||
return (react_1.default.createElement("span", __assign({ className: className, ref: eGui }, (!props.colDef ? { role: 'gridcell' } : {})), | ||
@@ -80,3 +81,3 @@ react_1.default.createElement("span", { className: expandedClassName, ref: eExpandedRef }), | ||
react_1.default.createElement("span", { className: "ag-group-value", ref: eValueRef }, | ||
useValue && react_1.default.createElement(react_1.default.Fragment, null, value), | ||
useValue && react_1.default.createElement(react_1.default.Fragment, null, escapedValue), | ||
useFwRenderer && react_1.default.createElement(FwRenderer, __assign({}, innerCompDetails.params))), | ||
@@ -83,0 +84,0 @@ react_1.default.createElement("span", { className: "ag-group-child-count" }, childCount))); |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { CellCtrl, UserCompDetails } from 'ag-grid-community'; | ||
@@ -3,0 +3,0 @@ import React from 'react'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -229,2 +229,7 @@ var __assign = (this && this.__assign) || function () { | ||
}, [showCellWrapper, includeDndSource, includeRowDrag, includeSelection, cellWrapperVersion]); | ||
react_1.useEffect(function () { | ||
if (cellWrapperVersion > 0 && eCellWrapper.current) { | ||
cellCtrl.refreshAutoHeight(eCellWrapper.current); | ||
} | ||
}, [eCellWrapper, cellWrapperVersion]); | ||
// we use layout effect here as we want to synchronously process setComp and it's side effects | ||
@@ -231,0 +236,0 @@ // to ensure the component is fully initialised prior to the first browser paint. See AG-7018. |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { CellCtrl } from 'ag-grid-community'; | ||
@@ -3,0 +3,0 @@ import React from 'react'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __importStar = (this && this.__importStar) || function (mod) { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { ICellRendererComp } from 'ag-grid-community'; | ||
@@ -3,0 +3,0 @@ import { MutableRefObject } from 'react'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -1,4 +0,4 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import React from 'react'; | ||
declare const _default: React.MemoExoticComponent<() => JSX.Element>; | ||
export default _default; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __importStar = (this && this.__importStar) || function (mod) { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { Context } from 'ag-grid-community'; | ||
@@ -3,0 +3,0 @@ import React from 'react'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __importStar = (this && this.__importStar) || function (mod) { |
@@ -1,4 +0,4 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import React from 'react'; | ||
declare const _default: React.MemoExoticComponent<() => JSX.Element>; | ||
export default _default; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __importStar = (this && this.__importStar) || function (mod) { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import React from 'react'; | ||
@@ -3,0 +3,0 @@ import { HeaderCellCtrl } from 'ag-grid-community'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __assign = (this && this.__assign) || function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import React from 'react'; | ||
@@ -3,0 +3,0 @@ import { HeaderFilterCellCtrl } from 'ag-grid-community'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __assign = (this && this.__assign) || function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { HeaderGroupCellCtrl } from 'ag-grid-community'; | ||
@@ -3,0 +3,0 @@ import React from 'react'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __assign = (this && this.__assign) || function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { HeaderRowCtrl } from 'ag-grid-community'; | ||
@@ -3,0 +3,0 @@ import React from 'react'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __spreadArrays = (this && this.__spreadArrays) || function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import React from 'react'; | ||
@@ -3,0 +3,0 @@ import { ColumnPinnedType } from 'ag-grid-community'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __importStar = (this && this.__importStar) || function (mod) { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { Context, UserCompDetails } from 'ag-grid-community'; | ||
@@ -3,0 +3,0 @@ import { MutableRefObject } from 'react'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -1,4 +0,4 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { RefObject } from 'react'; | ||
declare const useReactCommentEffect: (comment: string, eForCommentRef: RefObject<HTMLElement>) => void; | ||
export default useReactCommentEffect; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { VanillaFrameworkOverrides } from "ag-grid-community"; | ||
@@ -3,0 +3,0 @@ export declare class ReactFrameworkOverrides extends VanillaFrameworkOverrides { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __extends = (this && this.__extends) || (function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import React from 'react'; | ||
@@ -3,0 +3,0 @@ import { RowContainerType, RowCtrl } from 'ag-grid-community'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __assign = (this && this.__assign) || function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { RowContainerName } from 'ag-grid-community'; | ||
@@ -3,0 +3,0 @@ import React from 'react'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __spreadArrays = (this && this.__spreadArrays) || function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import React from 'react'; | ||
@@ -3,0 +3,0 @@ import { GridCtrl } from 'ag-grid-community'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __importStar = (this && this.__importStar) || function (mod) { |
@@ -1,3 +0,3 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
export declare const useEffectOnce: (effect: () => void | (() => void)) => void; | ||
export declare const useLayoutEffectOnce: (effect: () => void | (() => void)) => void; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
export declare const classesList: (...list: string[]) => string; | ||
@@ -3,0 +3,0 @@ export declare class CssClasses { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __assign = (this && this.__assign) || function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { Component } from 'react'; | ||
@@ -3,0 +3,0 @@ import { ColDef, ColGroupDef } from 'ag-grid-community'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __extends = (this && this.__extends) || (function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
export declare enum ChangeDetectionStrategyType { | ||
@@ -3,0 +3,0 @@ IdentityCheck = "IdentityCheck", |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { ColumnApi, GridApi, GridOptions, ICellEditor, ICellRenderer, IDate, IFilter, IFloatingFilter, IHeader, IHeaderGroup, IStatusPanel, IToolPanel, Module } from 'ag-grid-community'; | ||
@@ -3,0 +3,0 @@ import { ChangeDetectionStrategyType } from './changeDetectionService'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
export default function generateNewKey(): string; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { ComponentType, AgPromise } from 'ag-grid-community'; | ||
@@ -3,0 +3,0 @@ import { ReactComponent } from './reactComponent'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __extends = (this && this.__extends) || (function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { Component, ReactPortal } from "react"; | ||
@@ -3,0 +3,0 @@ import { ReactComponent } from "./reactComponent"; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __spreadArrays = (this && this.__spreadArrays) || function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { ReactPortal } from 'react'; | ||
@@ -3,0 +3,0 @@ import { ComponentType, IComponent, WrappableInterface } from 'ag-grid-community'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __extends = (this && this.__extends) || (function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { VanillaFrameworkOverrides } from "ag-grid-community"; | ||
@@ -3,0 +3,0 @@ export declare class ReactFrameworkOverrides extends VanillaFrameworkOverrides { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ var __extends = (this && this.__extends) || (function () { |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
import { RefObject } from 'react'; | ||
@@ -3,0 +3,0 @@ import { ColumnApi, GridApi } from 'ag-grid-community'; |
@@ -1,2 +0,2 @@ | ||
// ag-grid-react v28.1.1 | ||
// ag-grid-react v28.2.0 | ||
"use strict"; | ||
@@ -3,0 +3,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
export * from './lib/agGridReact'; | ||
export * from './lib/shared/agGridColumn'; | ||
export * from "./lib/shared/interfaces"; | ||
export * from './lib/shared/changeDetectionService' | ||
export * from "./lib/shared/interfaces"; |
{ | ||
"name": "ag-grid-react", | ||
"version": "28.1.1", | ||
"version": "28.2.0", | ||
"description": "AG Grid React Component", | ||
@@ -41,6 +41,6 @@ "main": "main.js", | ||
"prop-types": "^15.6.2", | ||
"ag-grid-community": "~28.1.0", | ||
"@ag-grid-community/react": "~28.1.0", | ||
"@ag-grid-community/client-side-row-model": "~28.1.0", | ||
"@ag-grid-community/core": "~28.1.0", | ||
"ag-grid-community": "~28.2.0", | ||
"@ag-grid-community/react": "~28.2.0", | ||
"@ag-grid-community/client-side-row-model": "~28.2.0", | ||
"@ag-grid-community/core": "~28.2.0", | ||
"gulp": "^4.0.0", | ||
@@ -83,3 +83,3 @@ "gulp-clean": "^0.4.0", | ||
"peerDependencies": { | ||
"ag-grid-community": "~28.1.0", | ||
"ag-grid-community": "~28.2.0", | ||
"react": "^16.3.0 || ^17.0.0 || ^18.0.0", | ||
@@ -86,0 +86,0 @@ "react-dom": "^16.3.0 || ^17.0.0 || ^18.0.0" |
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
320138
4374