UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

8 lines 1.74 MB
/** * @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v31.0.0 * @link https://www.ag-grid.com/ * @license MIT */ // @ag-grid-community/all-modules v31.0.0 !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.agGrid=t():e.agGrid=t()}(window,(function(){return function(e){var t={};function r(a){if(t[a])return t[a].exports;var i=t[a]={i:a,l:!1,exports:{}};return e[a].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(a,i,function(t){return e[t]}.bind(null,i));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6)}([function(e,t,r){"use strict";r.r(t),r.d(t,"ColumnFactory",(function(){return mt})),r.d(t,"ColumnModel",(function(){return Ft})),r.d(t,"ColumnKeyCreator",(function(){return M})),r.d(t,"ColumnUtils",(function(){return Gt})),r.d(t,"DisplayedGroupCreator",(function(){return Ht})),r.d(t,"GroupInstanceIdCreator",(function(){return bt})),r.d(t,"GROUP_AUTO_COLUMN_ID",(function(){return yt})),r.d(t,"ComponentUtil",(function(){return jt})),r.d(t,"AgStackComponentsRegistry",(function(){return er})),r.d(t,"UserComponentRegistry",(function(){return En})),r.d(t,"UserComponentFactory",(function(){return qn})),r.d(t,"ColDefUtil",(function(){return jn})),r.d(t,"BeanStub",(function(){return ut})),r.d(t,"Context",(function(){return me})),r.d(t,"Autowired",(function(){return Ce})),r.d(t,"PostConstruct",(function(){return fe})),r.d(t,"PreConstruct",(function(){return ve})),r.d(t,"Optional",(function(){return ye})),r.d(t,"Bean",(function(){return be})),r.d(t,"Qualifier",(function(){return Ee})),r.d(t,"PreDestroy",(function(){return we})),r.d(t,"QuerySelector",(function(){return Ri})),r.d(t,"RefSelector",(function(){return xi})),r.d(t,"ExcelFactoryMode",(function(){return Wn})),r.d(t,"DragAndDropService",(function(){return Qo})),r.d(t,"DragSourceType",(function(){return Ko})),r.d(t,"DragService",(function(){return Kn})),r.d(t,"VirtualListDragFeature",(function(){return Jn})),r.d(t,"Column",(function(){return Me})),r.d(t,"ColumnGroup",(function(){return ft})),r.d(t,"ProvidedColumnGroup",(function(){return Le})),r.d(t,"RowNode",(function(){return _o})),r.d(t,"RowHighlightPosition",(function(){return Zn})),r.d(t,"FilterManager",(function(){return nl})),r.d(t,"ProvidedFilter",(function(){return Ii})),r.d(t,"SimpleFilter",(function(){return Ji})),r.d(t,"ScalarFilter",(function(){return Zi})),r.d(t,"NumberFilter",(function(){return uo})),r.d(t,"TextFilter",(function(){return ho})),r.d(t,"DateFilter",(function(){return to})),r.d(t,"TextFloatingFilter",(function(){return Co})),r.d(t,"HeaderFilterCellComp",(function(){return gl})),r.d(t,"FloatingFilterMapper",(function(){return _n})),r.d(t,"GridBodyComp",(function(){return gs})),r.d(t,"GridBodyCtrl",(function(){return yl})),r.d(t,"RowAnimationCssClasses",(function(){return bl})),r.d(t,"ScrollVisibleService",(function(){return cs})),r.d(t,"MouseEventService",(function(){return hs})),r.d(t,"NavigationService",(function(){return vs})),r.d(t,"RowContainerComp",(function(){return Ss})),r.d(t,"RowContainerName",(function(){return es})),r.d(t,"RowContainerCtrl",(function(){return ns})),r.d(t,"RowContainerType",(function(){return ts})),r.d(t,"getRowContainerTypeForName",(function(){return as})),r.d(t,"BodyDropPivotTarget",(function(){return Rs})),r.d(t,"BodyDropTarget",(function(){return As})),r.d(t,"CssClassApplier",(function(){return Ll})),r.d(t,"HeaderRowContainerComp",(function(){return dg})),r.d(t,"GridHeaderComp",(function(){return fg})),r.d(t,"GridHeaderCtrl",(function(){return mg})),r.d(t,"HeaderRowComp",(function(){return Fs})),r.d(t,"HeaderRowType",(function(){return Ls})),r.d(t,"HeaderRowCtrl",(function(){return ng})),r.d(t,"HeaderCellCtrl",(function(){return Js})),r.d(t,"SortIndicatorComp",(function(){return Eo})),r.d(t,"HeaderFilterCellCtrl",(function(){return Ws})),r.d(t,"HeaderGroupCellCtrl",(function(){return ag})),r.d(t,"AbstractHeaderCellCtrl",(function(){return Vs})),r.d(t,"HeaderRowContainerCtrl",(function(){return sg})),r.d(t,"HorizontalResizeService",(function(){return bg})),r.d(t,"MoveColumnFeature",(function(){return Ts})),r.d(t,"StandardMenuFactory",(function(){return yg})),r.d(t,"TabbedLayout",(function(){return Eg})),r.d(t,"ResizeObserverService",(function(){return xg})),r.d(t,"AnimationFrameService",(function(){return Tg})),r.d(t,"ExpansionService",(function(){return Dg})),r.d(t,"LargeTextCellEditor",(function(){return Do})),r.d(t,"PopupEditorWrapper",(function(){return ws})),r.d(t,"SelectCellEditor",(function(){return Mo})),r.d(t,"TextCellEditor",(function(){return Fo})),r.d(t,"NumberCellEditor",(function(){return un})),r.d(t,"DateCellEditor",(function(){return hn})),r.d(t,"DateStringCellEditor",(function(){return fn})),r.d(t,"CheckboxCellEditor",(function(){return yn})),r.d(t,"Beans",(function(){return Al})),r.d(t,"AnimateShowChangeCellRenderer",(function(){return Go})),r.d(t,"AnimateSlideCellRenderer",(function(){return Ho})),r.d(t,"GroupCellRenderer",(function(){return on})),r.d(t,"GroupCellRendererCtrl",(function(){return rn})),r.d(t,"SetLeftFeature",(function(){return _s})),r.d(t,"PositionableFeature",(function(){return Ni})),r.d(t,"AutoWidthCalculator",(function(){return Mg})),r.d(t,"CheckboxSelectionComponent",(function(){return Wo})),r.d(t,"CellComp",(function(){return bs})),r.d(t,"CellCtrl",(function(){return Fl})),r.d(t,"RowCtrl",(function(){return Vl})),r.d(t,"RowRenderer",(function(){return Fg})),r.d(t,"ValueFormatterService",(function(){return Vg})),r.d(t,"CssClassManager",(function(){return Ci})),r.d(t,"CheckboxCellRenderer",(function(){return bn})),r.d(t,"PinnedRowModel",(function(){return _g})),r.d(t,"ServerSideTransactionResultStatus",(function(){return Bg})),r.d(t,"ChangedPath",(function(){return qg})),r.d(t,"RowNodeBlock",(function(){return jg})),r.d(t,"RowNodeBlockLoader",(function(){return Yg})),r.d(t,"PaginationProxy",(function(){return Xg})),r.d(t,"ClientSideRowModelSteps",(function(){return kg})),r.d(t,"StylingService",(function(){return Zg})),r.d(t,"LayoutCssClasses",(function(){return dl})),r.d(t,"AgAbstractField",(function(){return Hi})),r.d(t,"AgCheckbox",(function(){return Yi})),r.d(t,"AgRadioButton",(function(){return Qi})),r.d(t,"AgToggleButton",(function(){return $g})),r.d(t,"AgInputTextField",(function(){return lo})),r.d(t,"AgInputTextArea",(function(){return ed})),r.d(t,"AgInputNumberField",(function(){return so})),r.d(t,"AgInputDateField",(function(){return td})),r.d(t,"AgInputRange",(function(){return rd})),r.d(t,"AgRichSelect",(function(){return ud})),r.d(t,"AgSelect",(function(){return Wi})),r.d(t,"AgSlider",(function(){return hd})),r.d(t,"AgGroupComponent",(function(){return vd})),r.d(t,"AgMenuItemComponent",(function(){return Sd})),r.d(t,"AgMenuList",(function(){return wd})),r.d(t,"AgMenuPanel",(function(){return Cd})),r.d(t,"AgDialog",(function(){return zd})),r.d(t,"AgPanel",(function(){return Rd})),r.d(t,"Component",(function(){return Ei})),r.d(t,"ManagedFocusFeature",(function(){return Pi})),r.d(t,"TabGuardComp",(function(){return sd})),r.d(t,"TabGuardCtrl",(function(){return ld})),r.d(t,"TabGuardClassNames",(function(){return od})),r.d(t,"PopupComponent",(function(){return ko})),r.d(t,"PopupService",(function(){return Od})),r.d(t,"TouchListener",(function(){return yo})),r.d(t,"VirtualList",(function(){return dd})),r.d(t,"AgAbstractLabel",(function(){return Vi})),r.d(t,"AgPickerField",(function(){return Bi})),r.d(t,"AgAutocomplete",(function(){return Fd})),r.d(t,"CellRangeType",(function(){return El})),r.d(t,"SelectionHandleType",(function(){return Sl})),r.d(t,"AutoScrollService",(function(){return Yn})),r.d(t,"VanillaFrameworkOverrides",(function(){return Vd})),r.d(t,"CellNavigationService",(function(){return _d})),r.d(t,"AlignedGridsService",(function(){return jd})),r.d(t,"KeyCode",(function(){return ri})),r.d(t,"VerticalDirection",(function(){return Bo})),r.d(t,"HorizontalDirection",(function(){return qo})),r.d(t,"Grid",(function(){return Zu})),r.d(t,"GridCoreCreator",(function(){return ep})),r.d(t,"createGrid",(function(){return Ju})),r.d(t,"GridApi",(function(){return tl})),r.d(t,"Events",(function(){return wt})),r.d(t,"FocusService",(function(){return vc})),r.d(t,"GridOptionsService",(function(){return ku})),r.d(t,"EventService",(function(){return Te})),r.d(t,"SelectableService",(function(){return Vc})),r.d(t,"RowNodeSorter",(function(){return nu})),r.d(t,"CtrlsService",(function(){return gu})),r.d(t,"GridComp",(function(){return dc})),r.d(t,"GridCtrl",(function(){return sc})),r.d(t,"Logger",(function(){return nc})),r.d(t,"LoggerFactory",(function(){return oc})),r.d(t,"SortController",(function(){return pc})),r.d(t,"TemplateService",(function(){return rc})),r.d(t,"LocaleService",(function(){return Du})),r.d(t,"_",(function(){return ci})),r.d(t,"NumberSequence",(function(){return ui})),r.d(t,"AgPromiseStatus",(function(){return pi})),r.d(t,"AgPromise",(function(){return hi})),r.d(t,"Timer",(function(){return mi})),r.d(t,"ValueService",(function(){return Jd})),r.d(t,"ValueCache",(function(){return Rc})),r.d(t,"ExpressionService",(function(){return ec})),r.d(t,"ValueParserService",(function(){return Gu})),r.d(t,"CellPositionUtils",(function(){return Kc})),r.d(t,"RowPositionUtils",(function(){return Wc})),r.d(t,"HeaderPositionUtils",(function(){return eu})),r.d(t,"HeaderNavigationService",(function(){return pg})),r.d(t,"HeaderNavigationDirection",(function(){return cg})),r.d(t,"DataTypeService",(function(){return Fu})),r.d(t,"PropertyKeys",(function(){return Bt})),r.d(t,"ColumnApi",(function(){return Qd})),r.d(t,"BaseComponentWrapper",(function(){return tp})),r.d(t,"Environment",(function(){return Lc})),r.d(t,"TooltipFeature",(function(){return Tl})),r.d(t,"CustomTooltipFeature",(function(){return bi})),r.d(t,"DEFAULT_CHART_GROUPS",(function(){return rp})),r.d(t,"CHART_TOOL_PANEL_ALLOW_LIST",(function(){return ap})),r.d(t,"CHART_TOOLBAR_ALLOW_LIST",(function(){return ip})),r.d(t,"CHART_TOOL_PANEL_MENU_OPTIONS",(function(){return op})),r.d(t,"__FORCE_MODULE_DETECTION",(function(){return np})),r.d(t,"BarColumnLabelPlacement",(function(){return lp})),r.d(t,"ModuleNames",(function(){return pe})),r.d(t,"ModuleRegistry",(function(){return he}));var a={};r.r(a),r.d(a,"makeNull",(function(){return y})),r.d(a,"exists",(function(){return S})),r.d(a,"missing",(function(){return E})),r.d(a,"missingOrEmpty",(function(){return R})),r.d(a,"toStringOrNull",(function(){return x})),r.d(a,"attrToNumber",(function(){return z})),r.d(a,"attrToBoolean",(function(){return T})),r.d(a,"attrToString",(function(){return k})),r.d(a,"jsonEquals",(function(){return A})),r.d(a,"defaultComparator",(function(){return D})),r.d(a,"values",(function(){return O}));var i={};r.r(i),r.d(i,"iterateObject",(function(){return P})),r.d(i,"cloneObject",(function(){return L})),r.d(i,"deepCloneObject",(function(){return N})),r.d(i,"deepCloneDefinition",(function(){return F})),r.d(i,"getProperty",(function(){return I})),r.d(i,"setProperty",(function(){return G})),r.d(i,"copyPropertiesIfPresent",(function(){return V})),r.d(i,"copyPropertyIfPresent",(function(){return H})),r.d(i,"getAllKeysInObjects",(function(){return _})),r.d(i,"getAllValuesInObject",(function(){return B})),r.d(i,"mergeDeep",(function(){return q})),r.d(i,"missingOrEmptyObject",(function(){return j})),r.d(i,"get",(function(){return W})),r.d(i,"set",(function(){return U})),r.d(i,"getValueUsingField",(function(){return K})),r.d(i,"removeAllReferences",(function(){return Y})),r.d(i,"isNonNullObject",(function(){return Q}));var o={};r.r(o),r.d(o,"doOnce",(function(){return J})),r.d(o,"warnOnce",(function(){return Z})),r.d(o,"errorOnce",(function(){return $})),r.d(o,"getFunctionName",(function(){return ee})),r.d(o,"isFunction",(function(){return te})),r.d(o,"executeInAWhile",(function(){return re})),r.d(o,"executeNextVMTurn",(function(){return oe})),r.d(o,"executeAfter",(function(){return ne})),r.d(o,"debounce",(function(){return le})),r.d(o,"throttle",(function(){return se})),r.d(o,"waitUntil",(function(){return ge})),r.d(o,"compose",(function(){return de})),r.d(o,"callIfPresent",(function(){return ce})),r.d(o,"noop",(function(){return ue}));var n={};r.r(n),r.d(n,"firstExistingValue",(function(){return Fe})),r.d(n,"existsAndNotEmpty",(function(){return Ie})),r.d(n,"last",(function(){return Ge})),r.d(n,"areEqual",(function(){return Ve})),r.d(n,"shallowCompare",(function(){return He})),r.d(n,"sortNumerically",(function(){return _e})),r.d(n,"removeRepeatsFromArray",(function(){return Be})),r.d(n,"removeFromUnorderedArray",(function(){return qe})),r.d(n,"removeFromArray",(function(){return je})),r.d(n,"removeAllFromUnorderedArray",(function(){return We})),r.d(n,"removeAllFromArray",(function(){return Ue})),r.d(n,"insertIntoArray",(function(){return Ke})),r.d(n,"insertArrayIntoArray",(function(){return Ye})),r.d(n,"moveInArray",(function(){return Qe})),r.d(n,"includes",(function(){return Xe})),r.d(n,"flatten",(function(){return Je})),r.d(n,"pushAll",(function(){return Ze})),r.d(n,"toStrings",(function(){return $e})),r.d(n,"forEachReverse",(function(){return et}));var l={};r.r(l),r.d(l,"stopPropagationForAgGrid",(function(){return at})),r.d(l,"isStopPropagationForAgGrid",(function(){return it})),r.d(l,"isEventSupported",(function(){return ot})),r.d(l,"getCtrlForEventTarget",(function(){return nt})),r.d(l,"isElementInEventPath",(function(){return lt})),r.d(l,"createEventPath",(function(){return st})),r.d(l,"getEventPath",(function(){return gt})),r.d(l,"addSafePassiveEventListener",(function(){return dt}));var s={};r.r(s),r.d(s,"utf8_encode",(function(){return xt})),r.d(s,"capitalise",(function(){return zt})),r.d(s,"escapeString",(function(){return Tt})),r.d(s,"camelCaseToHumanText",(function(){return kt})),r.d(s,"camelCaseToHyphenated",(function(){return At}));var g={};r.r(g),r.d(g,"convertToMap",(function(){return Dt})),r.d(g,"mapById",(function(){return Ot})),r.d(g,"keys",(function(){return Mt}));var d={};r.r(d),r.d(d,"setAriaRole",(function(){return or})),r.d(d,"getAriaSortState",(function(){return nr})),r.d(d,"getAriaLevel",(function(){return lr})),r.d(d,"getAriaPosInSet",(function(){return sr})),r.d(d,"getAriaLabel",(function(){return gr})),r.d(d,"setAriaLabel",(function(){return dr})),r.d(d,"setAriaLabelledBy",(function(){return cr})),r.d(d,"setAriaDescription",(function(){return ur})),r.d(d,"setAriaDescribedBy",(function(){return pr})),r.d(d,"setAriaLive",(function(){return hr})),r.d(d,"setAriaAtomic",(function(){return mr})),r.d(d,"setAriaRelevant",(function(){return vr})),r.d(d,"setAriaLevel",(function(){return fr})),r.d(d,"setAriaDisabled",(function(){return wr})),r.d(d,"setAriaHidden",(function(){return br})),r.d(d,"setAriaActiveDescendant",(function(){return Cr})),r.d(d,"setAriaExpanded",(function(){return yr})),r.d(d,"removeAriaExpanded",(function(){return Sr})),r.d(d,"setAriaSetSize",(function(){return Er})),r.d(d,"setAriaPosInSet",(function(){return Rr})),r.d(d,"setAriaMultiSelectable",(function(){return xr})),r.d(d,"setAriaRowCount",(function(){return zr})),r.d(d,"setAriaRowIndex",(function(){return Tr})),r.d(d,"setAriaColCount",(function(){return kr})),r.d(d,"setAriaColIndex",(function(){return Ar})),r.d(d,"setAriaColSpan",(function(){return Dr})),r.d(d,"setAriaSort",(function(){return Or})),r.d(d,"removeAriaSort",(function(){return Mr})),r.d(d,"setAriaSelected",(function(){return Pr})),r.d(d,"setAriaChecked",(function(){return Lr})),r.d(d,"setAriaControls",(function(){return Nr})),r.d(d,"getAriaCheckboxStateName",(function(){return Fr}));var c={};r.r(c),r.d(c,"isBrowserSafari",(function(){return Ir})),r.d(c,"getSafariVersion",(function(){return Gr})),r.d(c,"isBrowserChrome",(function(){return Vr})),r.d(c,"isBrowserFirefox",(function(){return Hr})),r.d(c,"isMacOsUserAgent",(function(){return _r})),r.d(c,"isIOSUserAgent",(function(){return Br})),r.d(c,"browserSupportsPreventScroll",(function(){return qr})),r.d(c,"getTabIndex",(function(){return jr})),r.d(c,"getMaxDivHeight",(function(){return Wr})),r.d(c,"getBodyWidth",(function(){return Ur})),r.d(c,"getBodyHeight",(function(){return Kr})),r.d(c,"getScrollbarWidth",(function(){return Yr})),r.d(c,"isInvisibleScrollbar",(function(){return Xr}));var u={};r.r(u),r.d(u,"padStartWidthZeros",(function(){return Jr})),r.d(u,"createArrayOfNumbers",(function(){return Zr})),r.d(u,"cleanNumber",(function(){return $r})),r.d(u,"decToHex",(function(){return ea})),r.d(u,"formatNumberTwoDecimalPlacesAndCommas",(function(){return ta})),r.d(u,"formatNumberCommas",(function(){return ra})),r.d(u,"sum",(function(){return aa}));var p={};r.r(p),r.d(p,"serialiseDate",(function(){return ia})),r.d(p,"dateToFormattedString",(function(){return na})),r.d(p,"parseDateTimeFromString",(function(){return la}));var h={};r.r(h),r.d(h,"radioCssClass",(function(){return ga})),r.d(h,"FOCUSABLE_SELECTOR",(function(){return da})),r.d(h,"FOCUSABLE_EXCLUDE",(function(){return ca})),r.d(h,"isFocusableFormField",(function(){return ua})),r.d(h,"setDisplayed",(function(){return pa})),r.d(h,"setVisible",(function(){return ha})),r.d(h,"setDisabled",(function(){return ma})),r.d(h,"isElementChildOfClass",(function(){return va})),r.d(h,"getElementSize",(function(){return fa})),r.d(h,"getInnerHeight",(function(){return wa})),r.d(h,"getInnerWidth",(function(){return ba})),r.d(h,"getAbsoluteHeight",(function(){return Ca})),r.d(h,"getAbsoluteWidth",(function(){return ya})),r.d(h,"getElementRectWithOffset",(function(){return Sa})),r.d(h,"isRtlNegativeScroll",(function(){return Ea})),r.d(h,"getScrollLeft",(function(){return Ra})),r.d(h,"setScrollLeft",(function(){return xa})),r.d(h,"clearElement",(function(){return za})),r.d(h,"removeFromParent",(function(){return Ta})),r.d(h,"isVisible",(function(){return ka})),r.d(h,"loadTemplate",(function(){return Aa})),r.d(h,"appendHtml",(function(){return Da})),r.d(h,"offsetHeight",(function(){return Oa})),r.d(h,"offsetWidth",(function(){return Ma})),r.d(h,"ensureDomOrder",(function(){return Pa})),r.d(h,"setDomChildOrder",(function(){return La})),r.d(h,"insertWithDomOrder",(function(){return Na})),r.d(h,"addStylesToElement",(function(){return Fa})),r.d(h,"isHorizontalScrollShowing",(function(){return Ia})),r.d(h,"isVerticalScrollShowing",(function(){return Ga})),r.d(h,"setElementWidth",(function(){return Va})),r.d(h,"setFixedWidth",(function(){return Ha})),r.d(h,"setElementHeight",(function(){return _a})),r.d(h,"setFixedHeight",(function(){return Ba})),r.d(h,"formatSize",(function(){return qa})),r.d(h,"isNodeOrElement",(function(){return ja})),r.d(h,"copyNodeList",(function(){return Wa})),r.d(h,"iterateNamedNodeMap",(function(){return Ua})),r.d(h,"addOrRemoveAttribute",(function(){return Ka})),r.d(h,"nodeListForEach",(function(){return Ya})),r.d(h,"bindCellRendererToHtmlElement",(function(){return Qa}));var m={};r.r(m),r.d(m,"fuzzyCheckStrings",(function(){return Xa})),r.d(m,"fuzzySuggestions",(function(){return Ja}));var v={};r.r(v),r.d(v,"iconNameClassMap",(function(){return $a})),r.d(v,"createIcon",(function(){return ei})),r.d(v,"createIconNoSpan",(function(){return ti}));var f={};r.r(f),r.d(f,"isEventFromPrintableCharacter",(function(){return ai})),r.d(f,"isUserSuppressingKeyboardEvent",(function(){return ii})),r.d(f,"isUserSuppressingHeaderKeyboardEvent",(function(){return oi})),r.d(f,"normaliseQwertyAzerty",(function(){return ni})),r.d(f,"isDeleteKey",(function(){return li}));var w={};r.r(w),r.d(w,"areEventsNear",(function(){return si}));var b={};r.r(b),r.d(b,"sortRowNodesByOrder",(function(){return gi}));var C={};function y(e){return null==e||""===e?null:e}function S(e,t=!1){return null!=e&&(""!==e||t)}function E(e){return!S(e)}function R(e){return null==e||0===e.length}function x(e){return null!=e&&"function"==typeof e.toString?e.toString():null}function z(e){if(void 0===e)return;if(null===e||""===e)return null;if("number"==typeof e)return isNaN(e)?void 0:e;const t=parseInt(e,10);return isNaN(t)?void 0:t}function T(e){if(void 0!==e)return null!==e&&""!==e&&("boolean"==typeof e?e:/true/i.test(e))}function k(e){if(null!=e&&""!==e)return e}function A(e,t){return(e?JSON.stringify(e):null)===(t?JSON.stringify(t):null)}function D(e,t,r=!1){const a=null==e,i=null==t;if(e&&e.toNumber&&(e=e.toNumber()),t&&t.toNumber&&(t=t.toNumber()),a&&i)return 0;if(a)return-1;if(i)return 1;function o(e,t){return e>t?1:e<t?-1:0}if("string"!=typeof e)return o(e,t);if(!r)return o(e,t);try{return e.localeCompare(t)}catch(r){return o(e,t)}}function O(e){if(e instanceof Set||e instanceof Map){const t=[];return e.forEach(e=>t.push(e)),t}return Object.values(e)}r.r(C),r.d(C,"convertToSet",(function(){return di}));class M{constructor(){this.existingKeys={}}addExistingKeys(e){for(let t=0;t<e.length;t++)this.existingKeys[e[t]]=!0}getUniqueKey(e,t){e=x(e);let r=0;for(;;){let a;if(e?(a=e,0!==r&&(a+="_"+r)):t?(a=t,0!==r&&(a+="_"+r)):a=r,!this.existingKeys[a])return this.existingKeys[a]=!0,String(a);r++}}}function P(e,t){if(null!=e)if(Array.isArray(e))for(let r=0;r<e.length;r++)t(r.toString(),e[r]);else for(const[r,a]of Object.entries(e))t(r,a)}function L(e){const t={},r=Object.keys(e);for(let a=0;a<r.length;a++){const i=r[a],o=e[i];t[i]=o}return t}function N(e){return JSON.parse(JSON.stringify(e))}function F(e,t){if(!e)return;const r=e,a={};return Object.keys(r).forEach(e=>{if(t&&t.indexOf(e)>=0)return;const i=r[e],o=Q(i)&&i.constructor===Object;a[e]=o?F(i):i}),a}function I(e,t){return e[t]}function G(e,t,r){e[t]=r}function V(e,t,...r){r.forEach(r=>H(e,t,r))}function H(e,t,r,a){const i=I(e,r);void 0!==i&&G(t,r,a?a(i):i)}function _(e){const t={};return e.filter(e=>null!=e).forEach(e=>{Object.keys(e).forEach(e=>t[e]=null)}),Object.keys(t)}function B(e){if(!e)return[];const t=Object;if("function"==typeof t.values)return t.values(e);const r=[];for(const t in e)e.hasOwnProperty(t)&&e.propertyIsEnumerable(t)&&r.push(e[t]);return r}function q(e,t,r=!0,a=!1){S(t)&&P(t,(t,i)=>{let o=e[t];if(o!==i){if(a){if(null==o&&null!=i){"object"==typeof i&&i.constructor===Object&&(o={},e[t]=o)}}Q(i)&&Q(o)&&!Array.isArray(o)?q(o,i,r,a):(r||void 0!==i)&&(e[t]=i)}})}function j(e){return E(e)||0===Object.keys(e).length}function W(e,t,r){if(null==e)return r;const a=t.split(".");let i=e;for(;a.length>1;)if(i=i[a.shift()],null==i)return r;const o=i[a[0]];return null!=o?o:r}function U(e,t,r){if(null==e)return;const a=t.split(".");let i=e;a.forEach((e,t)=>{i[e]||(i[e]={}),t<a.length-1&&(i=i[e])}),i[a[a.length-1]]=r}function K(e,t,r){if(!t||!e)return;if(!r)return e[t];const a=t.split(".");let i=e;for(let e=0;e<a.length;e++){if(null==i)return;i=i[a[e]]}return i}function Y(e,t=[],r){Object.keys(e).forEach(r=>{"object"!=typeof e[r]||t.includes(r)||(e[r]=void 0)});const a=Object.getPrototypeOf(e),i={};Object.getOwnPropertyNames(a).forEach(e=>{if("function"==typeof a[e]&&!t.includes(e)){const t=()=>{console.warn((e=>`AG Grid: Grid API function ${e}() cannot be called as the grid has been destroyed.\n It is recommended to remove local references to the grid api. Alternatively, check gridApi.isDestroyed() to avoid calling methods against a destroyed grid.\n To run logic when the grid is about to be destroyed use the gridPreDestroy event. See: ${r}`)(e))};i[e]={value:t,writable:!0}}}),Object.defineProperties(e,i)}function Q(e){return"object"==typeof e&&null!==e}const X={};function J(e,t){X[t]||(e(),X[t]=!0)}function Z(e){J(()=>console.warn("AG Grid: "+e),e)}function $(e){J(()=>console.error("AG Grid: "+e),e)}function ee(e){if(e.name)return e.name;const t=/function\s+([^\(]+)/.exec(e.toString());return t&&2===t.length?t[1].trim():null}function te(e){return!!(e&&e.constructor&&e.call&&e.apply)}function re(e){ne(e,400)}const ae=[];let ie=!1;function oe(e){ae.push(e),ie||(ie=!0,window.setTimeout(()=>{const e=ae.slice();ae.length=0,ie=!1,e.forEach(e=>e())},0))}function ne(e,t=0){e.length>0&&window.setTimeout(()=>e.forEach(e=>e()),t)}function le(e,t){let r;return function(...a){const i=this;window.clearTimeout(r),r=window.setTimeout((function(){e.apply(i,a)}),t)}}function se(e,t){let r=0;return function(...a){const i=(new Date).getTime();i-r<t||(r=i,e.apply(this,a))}}function ge(e,t,r=100,a){const i=(new Date).getTime();let o=null,n=!1;const l=()=>{const l=(new Date).getTime()-i>r;(e()||l)&&(t(),n=!0,null!=o&&(window.clearInterval(o),o=null),l&&a&&console.warn(a))};l(),n||(o=window.setInterval(l,10))}function de(...e){return t=>e.reduce((e,t)=>t(e),t)}function ce(e){e&&e()}const ue=()=>{};var pe;!function(e){e.CommunityCoreModule="@ag-grid-community/core",e.InfiniteRowModelModule="@ag-grid-community/infinite-row-model",e.ClientSideRowModelModule="@ag-grid-community/client-side-row-model",e.CsvExportModule="@ag-grid-community/csv-export",e.EnterpriseCoreModule="@ag-grid-enterprise/core",e.RowGroupingModule="@ag-grid-enterprise/row-grouping",e.ColumnsToolPanelModule="@ag-grid-enterprise/column-tool-panel",e.FiltersToolPanelModule="@ag-grid-enterprise/filter-tool-panel",e.MenuModule="@ag-grid-enterprise/menu",e.SetFilterModule="@ag-grid-enterprise/set-filter",e.MultiFilterModule="@ag-grid-enterprise/multi-filter",e.StatusBarModule="@ag-grid-enterprise/status-bar",e.SideBarModule="@ag-grid-enterprise/side-bar",e.RangeSelectionModule="@ag-grid-enterprise/range-selection",e.MasterDetailModule="@ag-grid-enterprise/master-detail",e.RichSelectModule="@ag-grid-enterprise/rich-select",e.GridChartsModule="@ag-grid-enterprise/charts",e.ViewportRowModelModule="@ag-grid-enterprise/viewport-row-model",e.ServerSideRowModelModule="@ag-grid-enterprise/server-side-row-model",e.ExcelExportModule="@ag-grid-enterprise/excel-export",e.ClipboardModule="@ag-grid-enterprise/clipboard",e.SparklinesModule="@ag-grid-enterprise/sparklines",e.AdvancedFilterModule="@ag-grid-enterprise/advanced-filter",e.AngularModule="@ag-grid-community/angular",e.ReactModule="@ag-grid-community/react",e.VueModule="@ag-grid-community/vue"}(pe||(pe={}));class he{static register(e){he.__register(e,!0,void 0)}static registerModules(e){he.__registerModules(e,!0,void 0)}static __register(e,t,r){he.runVersionChecks(e),void 0!==r?(he.areGridScopedModules=!0,void 0===he.gridModulesMap[r]&&(he.gridModulesMap[r]={}),he.gridModulesMap[r][e.moduleName]=e):he.globalModulesMap[e.moduleName]=e,he.setModuleBased(t)}static __unRegisterGridModules(e){delete he.gridModulesMap[e]}static __registerModules(e,t,r){he.setModuleBased(t),e&&e.forEach(e=>he.__register(e,t,r))}static isValidModuleVersion(e){const[t,r]=e.version.split(".")||[],[a,i]=he.currentModuleVersion.split(".")||[];return t===a&&r===i}static runVersionChecks(e){if(he.currentModuleVersion||(he.currentModuleVersion=e.version),e.version?he.isValidModuleVersion(e)||console.error(`AG Grid: You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. '${e.moduleName}' is version ${e.version} but the other modules are version ${this.currentModuleVersion}. Please update all modules to the same version.`):console.error(`AG Grid: You are using incompatible versions of AG Grid modules. Major and minor versions should always match across modules. '${e.moduleName}' is incompatible. Please update all modules to the same version.`),e.validate){const t=e.validate();if(!t.isValid){const e=t;console.error("AG Grid: "+e.message)}}}static setModuleBased(e){void 0===he.moduleBased?he.moduleBased=e:he.moduleBased!==e&&J(()=>{console.warn("AG Grid: You are mixing modules (i.e. @ag-grid-community/core) and packages (ag-grid-community) - you can only use one or the other of these mechanisms."),console.warn("Please see https://www.ag-grid.com/javascript-grid/packages-modules/ for more information.")},"ModulePackageCheck")}static __setIsBundled(){he.isBundled=!0}static __assertRegistered(e,t,r){var a;if(this.__isRegistered(e,r))return!0;const i=t+e;let o;if(he.isBundled)o=`AG Grid: unable to use ${t} as 'ag-grid-enterprise' has not been loaded. Check you are using the Enterprise bundle:\n \n <script src="https://cdn.jsdelivr.net/npm/ag-grid-enterprise@AG_GRID_VERSION/dist/ag-grid-enterprise.min.js"><\/script>\n \nFor more info see: https://ag-grid.com/javascript-data-grid/getting-started/#getting-started-with-ag-grid-enterprise`;else if(he.moduleBased||void 0===he.moduleBased){let i=null===(a=Object.entries(pe).find(([t,r])=>r===e))||void 0===a?void 0:a[0];o=`AG Grid: unable to use ${t} as the ${i} is not registered${he.areGridScopedModules?" for gridId: "+r:""}. Check if you have registered the module:\n \n import { ModuleRegistry } from '@ag-grid-community/core';\n import { ${i} } from '${e}';\n \n ModuleRegistry.registerModules([ ${i} ]);\n\nFor more info see: https://www.ag-grid.com/javascript-grid/modules/`}else o=`AG Grid: unable to use ${t} as package 'ag-grid-enterprise' has not been imported. Check that you have imported the package:\n \n import 'ag-grid-enterprise';\n \nFor more info see: https://www.ag-grid.com/javascript-grid/packages/`;return J(()=>{console.warn(o)},i),!1}static __isRegistered(e,t){var r;return!!he.globalModulesMap[e]||!!(null===(r=he.gridModulesMap[t])||void 0===r?void 0:r[e])}static __getRegisteredModules(e){return[...O(he.globalModulesMap),...O(he.gridModulesMap[e]||{})]}static __getGridRegisteredModules(e){var t;return O(null!==(t=he.gridModulesMap[e])&&void 0!==t?t:{})||[]}static __isPackageBased(){return!he.moduleBased}}he.globalModulesMap={},he.gridModulesMap={},he.areGridScopedModules=!1;class me{constructor(e,t){if(this.beanWrappers={},this.destroyed=!1,!e||!e.beanClasses)return;this.contextParams=e,this.logger=t,this.logger.log(">> creating ag-Application Context"),this.createBeans();const r=this.getBeanInstances();this.wireBeans(r),this.logger.log(">> ag-Application Context ready - component is alive")}getBeanInstances(){return O(this.beanWrappers).map(e=>e.beanInstance)}createBean(e,t){if(!e)throw Error("Can't wire to bean since it is null");return this.wireBeans([e],t),e}wireBeans(e,t){this.autoWireBeans(e),this.methodWireBeans(e),this.callLifeCycleMethods(e,"preConstructMethods"),S(t)&&e.forEach(t),this.callLifeCycleMethods(e,"postConstructMethods")}createBeans(){this.contextParams.beanClasses.forEach(this.createBeanWrapper.bind(this)),P(this.beanWrappers,(e,t)=>{let r;t.bean.__agBeanMetaData&&t.bean.__agBeanMetaData.autowireMethods&&t.bean.__agBeanMetaData.autowireMethods.agConstructor&&(r=t.bean.__agBeanMetaData.autowireMethods.agConstructor);const a=this.getBeansForParameters(r,t.bean.name),i=new(t.bean.bind.apply(t.bean,[null,...a]));t.beanInstance=i});const e=Object.keys(this.beanWrappers).join(", ");this.logger.log("created beans: "+e)}createBeanWrapper(e){const t=e.__agBeanMetaData;if(!t){let t;return t=e.prototype.constructor?ee(e.prototype.constructor):""+e,void console.error(`Context item ${t} is not a bean`)}const r={bean:e,beanInstance:null,beanName:t.beanName};this.beanWrappers[t.beanName]=r}autoWireBeans(e){e.forEach(e=>{this.forEachMetaDataInHierarchy(e,(t,r)=>{const a=t.agClassAttributes;a&&a.forEach(t=>{const a=this.lookupBeanInstance(r,t.beanName,t.optional);e[t.attributeName]=a})})})}methodWireBeans(e){e.forEach(e=>{this.forEachMetaDataInHierarchy(e,(t,r)=>{P(t.autowireMethods,(t,a)=>{if("agConstructor"===t)return;const i=this.getBeansForParameters(a,r);e[t].apply(e,i)})})})}forEachMetaDataInHierarchy(e,t){let r=Object.getPrototypeOf(e);for(;null!=r;){const e=r.constructor;if(e.hasOwnProperty("__agBeanMetaData")){t(e.__agBeanMetaData,this.getBeanName(e))}r=Object.getPrototypeOf(r)}}getBeanName(e){if(e.__agBeanMetaData&&e.__agBeanMetaData.beanName)return e.__agBeanMetaData.beanName;const t=e.toString();return t.substring(9,t.indexOf("("))}getBeansForParameters(e,t){const r=[];return e&&P(e,(e,a)=>{const i=this.lookupBeanInstance(t,a);r[Number(e)]=i}),r}lookupBeanInstance(e,t,r=!1){if(this.destroyed)return this.logger.log(`AG Grid: bean reference ${t} is used after the grid is destroyed!`),null;if("context"===t)return this;if(this.contextParams.providedBeanInstances&&this.contextParams.providedBeanInstances.hasOwnProperty(t))return this.contextParams.providedBeanInstances[t];const a=this.beanWrappers[t];return a?a.beanInstance:(r||console.error(`AG Grid: unable to find bean reference ${t} while initialising ${e}`),null)}callLifeCycleMethods(e,t){e.forEach(e=>this.callLifeCycleMethodsOnBean(e,t))}callLifeCycleMethodsOnBean(e,t,r){const a={};this.forEachMetaDataInHierarchy(e,e=>{const i=e[t];i&&i.forEach(e=>{e!=r&&(a[e]=!0)})});Object.keys(a).forEach(t=>e[t]())}getBean(e){return this.lookupBeanInstance("getBean",e,!0)}destroy(){if(this.destroyed)return;this.destroyed=!0,this.logger.log(">> Shutting down ag-Application Context");const e=this.getBeanInstances();this.destroyBeans(e),this.contextParams.providedBeanInstances=null,he.__unRegisterGridModules(this.contextParams.gridId),this.logger.log(">> ag-Application Context shut down - component is dead")}destroyBean(e){e&&this.destroyBeans([e])}destroyBeans(e){return e?(e.forEach(e=>{this.callLifeCycleMethodsOnBean(e,"preDestroyMethods","destroy");const t=e;"function"==typeof t.destroy&&t.destroy()}),[]):[]}isDestroyed(){return this.destroyed}getGridId(){return this.contextParams.gridId}}function ve(e,t,r){const a=Re(e.constructor);a.preConstructMethods||(a.preConstructMethods=[]),a.preConstructMethods.push(t)}function fe(e,t,r){const a=Re(e.constructor);a.postConstructMethods||(a.postConstructMethods=[]),a.postConstructMethods.push(t)}function we(e,t,r){const a=Re(e.constructor);a.preDestroyMethods||(a.preDestroyMethods=[]),a.preDestroyMethods.push(t)}function be(e){return t=>{Re(t).beanName=e}}function Ce(e){return(t,r,a)=>{Se(t,e,!1,t,r,null)}}function ye(e){return(t,r,a)=>{Se(t,e,!0,t,r,null)}}function Se(e,t,r,a,i,o){if(null===t)return void console.error("AG Grid: Autowired name should not be null");if("number"==typeof o)return void console.error("AG Grid: Autowired should be on an attribute");const n=Re(e.constructor);n.agClassAttributes||(n.agClassAttributes=[]),n.agClassAttributes.push({attributeName:i,beanName:t,optional:r})}function Ee(e){return(t,r,a)=>{const i="function"==typeof t?t:t.constructor;let o;if("number"==typeof a){let t;r?(o=Re(i),t=r):(o=Re(i),t="agConstructor"),o.autowireMethods||(o.autowireMethods={}),o.autowireMethods[t]||(o.autowireMethods[t]={}),o.autowireMethods[t][a]=e}}}function Re(e){return e.hasOwnProperty("__agBeanMetaData")||(e.__agBeanMetaData={}),e.__agBeanMetaData}var xe=function(e,t,r,a){var i,o=arguments.length,n=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,a);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(n=(o<3?i(n):o>3?i(t,r,n):i(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n},ze=function(e,t){return function(r,a){t(r,a,e)}};let Te=class{constructor(){this.allSyncListeners=new Map,this.allAsyncListeners=new Map,this.globalSyncListeners=new Set,this.globalAsyncListeners=new Set,this.asyncFunctionsQueue=[],this.scheduled=!1,this.firedEvents={}}setBeans(e,t,r,a=null,i=null){if(this.frameworkOverrides=r,this.gridOptionsService=t,a){const e=t.useAsyncEvents();this.addGlobalListener(a,e)}i&&this.addGlobalListener(i,!1)}getListeners(e,t,r){const a=t?this.allAsyncListeners:this.allSyncListeners;let i=a.get(e);return!i&&r&&(i=new Set,a.set(e,i)),i}noRegisteredListenersExist(){return 0===this.allSyncListeners.size&&0===this.allAsyncListeners.size&&0===this.globalSyncListeners.size&&0===this.globalAsyncListeners.size}addEventListener(e,t,r=!1){this.getListeners(e,r,!0).add(t)}removeEventListener(e,t,r=!1){const a=this.getListeners(e,r,!1);if(a&&(a.delete(t),0===a.size)){(r?this.allAsyncListeners:this.allSyncListeners).delete(e)}}addGlobalListener(e,t=!1){(t?this.globalAsyncListeners:this.globalSyncListeners).add(e)}removeGlobalListener(e,t=!1){(t?this.globalAsyncListeners:this.globalSyncListeners).delete(e)}dispatchEvent(e){let t=e;if(this.gridOptionsService){const{api:e,columnApi:r,context:a}=this.gridOptionsService;t.api=e,t.columnApi=r,t.context=a}this.dispatchToListeners(t,!0),this.dispatchToListeners(t,!1),this.firedEvents[t.type]=!0}dispatchEventOnce(e){this.firedEvents[e.type]||this.dispatchEvent(e)}dispatchToListeners(e,t){var r;const a=e.type;if(t&&"event"in e){const t=e.event;t instanceof Event&&(e.eventPath=t.composedPath())}const i=(r,a)=>r.forEach(r=>{a.has(r)&&(t?this.dispatchAsync(()=>r(e)):r(e))}),o=null!==(r=this.getListeners(a,t,!1))&&void 0!==r?r:new Set,n=new Set(o);n.size>0&&i(n,o);new Set(t?this.globalAsyncListeners:this.globalSyncListeners).forEach(r=>{t?this.dispatchAsync(()=>this.frameworkOverrides.dispatchEvent(a,()=>r(a,e),!0)):this.frameworkOverrides.dispatchEvent(a,()=>r(a,e),!0)})}dispatchAsync(e){this.asyncFunctionsQueue.push(e),this.scheduled||(window.setTimeout(this.flushAsyncQueue.bind(this),0),this.scheduled=!0)}flushAsyncQueue(){this.scheduled=!1;const e=this.asyncFunctionsQueue.slice();this.asyncFunctionsQueue=[],e.forEach(e=>e())}};xe([ze(0,Ee("loggerFactory")),ze(1,Ee("gridOptionsService")),ze(2,Ee("frameworkOverrides")),ze(3,Ee("globalEventListener")),ze(4,Ee("globalSyncEventListener"))],Te.prototype,"setBeans",null),Te=xe([be("eventService")],Te);var ke=function(e,t,r,a){var i,o=arguments.length,n=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,a);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(n=(o<3?i(n):o>3?i(t,r,n):i(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n};const Ae={resizable:!0,sortable:!0};let De=0;function Oe(){return De++}class Me{constructor(e,t,r,a){this.instanceId=Oe(),this.autoHeaderHeight=null,this.moving=!1,this.menuVisible=!1,this.lastLeftPinned=!1,this.firstRightPinned=!1,this.filterActive=!1,this.eventService=new Te,this.tooltipEnabled=!1,this.rowGroupActive=!1,this.pivotActive=!1,this.aggregationActive=!1,this.colDef=e,this.userProvidedColDef=t,this.colId=r,this.primary=a,this.setState(e)}getInstanceId(){return this.instanceId}setState(e){void 0!==e.sort?"asc"!==e.sort&&"desc"!==e.sort||(this.sort=e.sort):"asc"!==e.initialSort&&"desc"!==e.initialSort||(this.sort=e.initialSort);const t=e.sortIndex,r=e.initialSortIndex;void 0!==t?null!==t&&(this.sortIndex=t):null!==r&&(this.sortIndex=r);const a=e.hide,i=e.initialHide;this.visible=void 0!==a?!a:!i,void 0!==e.pinned?this.setPinned(e.pinned):this.setPinned(e.initialPinned);const o=e.flex,n=e.initialFlex;void 0!==o?this.flex=o:void 0!==n&&(this.flex=n)}setColDef(e,t,r="api"){this.colDef=e,this.userProvidedColDef=t,this.initMinAndMaxWidths(),this.initDotNotation(),this.initTooltip(),this.eventService.dispatchEvent(this.createColumnEvent("colDefChanged",r))}getUserProvidedColDef(){return this.userProvidedColDef}setParent(e){this.parent=e}getParent(){return this.parent}setOriginalParent(e){this.originalParent=e}getOriginalParent(){return this.originalParent}initialise(){this.initMinAndMaxWidths(),this.resetActualWidth("gridInitializing"),this.initDotNotation(),this.initTooltip()}initDotNotation(){const e=this.gridOptionsService.get("suppressFieldDotNotation");this.fieldContainsDots=S(this.colDef.field)&&this.colDef.field.indexOf(".")>=0&&!e,this.tooltipFieldContainsDots=S(this.colDef.tooltipField)&&this.colDef.tooltipField.indexOf(".")>=0&&!e}initMinAndMaxWidths(){const e=this.colDef;this.minWidth=this.columnUtils.calculateColMinWidth(e),this.maxWidth=this.columnUtils.calculateColMaxWidth(e)}initTooltip(){this.tooltipEnabled=S(this.colDef.tooltipField)||S(this.colDef.tooltipValueGetter)||S(this.colDef.tooltipComponent)}resetActualWidth(e="api"){const t=this.columnUtils.calculateColInitialWidth(this.colDef);this.setActualWidth(t,e,!0)}isEmptyGroup(){return!1}isRowGroupDisplayed(e){if(E(this.colDef)||E(this.colDef.showRowGroup))return!1;const t=!0===this.colDef.showRowGroup,r=this.colDef.showRowGroup===e;return t||r}isPrimary(){return this.primary}isFilterAllowed(){return!!this.colDef.filter}isFieldContainsDots(){return this.fieldContainsDots}isTooltipEnabled(){return this.tooltipEnabled}isTooltipFieldContainsDots(){return this.tooltipFieldContainsDots}addEventListener(e,t){this.eventService.addEventListener(e,t)}removeEventListener(e,t){this.eventService.removeEventListener(e,t)}createColumnFunctionCallbackParams(e){return{node:e,data:e.data,column:this,colDef:this.colDef,context:this.gridOptionsService.context,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi}}isSuppressNavigable(e){if("boolean"==typeof this.colDef.suppressNavigable)return this.colDef.suppressNavigable;if("function"==typeof this.colDef.suppressNavigable){const t=this.createColumnFunctionCallbackParams(e);return(0,this.colDef.suppressNavigable)(t)}return!1}isCellEditable(e){return!(e.group&&!this.gridOptionsService.get("enableGroupEdit"))&&this.isColumnFunc(e,this.colDef.editable)}isSuppressFillHandle(){return!!this.colDef.suppressFillHandle}isAutoHeight(){return!!this.colDef.autoHeight}isAutoHeaderHeight(){return!!this.colDef.autoHeaderHeight}isRowDrag(e){return this.isColumnFunc(e,this.colDef.rowDrag)}isDndSource(e){return this.isColumnFunc(e,this.colDef.dndSource)}isCellCheckboxSelection(e){return this.isColumnFunc(e,this.colDef.checkboxSelection)}isSuppressPaste(e){return this.isColumnFunc(e,this.colDef?this.colDef.suppressPaste:null)}isResizable(){return!!this.getColDefValue("resizable")}getColDefValue(e){var t;return null!==(t=this.colDef[e])&&void 0!==t?t:Ae[e]}isColumnFunc(e,t){if("boolean"==typeof t)return t;if("function"==typeof t){return t(this.createColumnFunctionCallbackParams(e))}return!1}setMoving(e,t="api"){this.moving=e,this.eventService.dispatchEvent(this.createColumnEvent("movingChanged",t))}createColumnEvent(e,t){return{type:e,column:this,columns:[this],source:t,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context}}isMoving(){return this.moving}getSort(){return this.sort}setSort(e,t="api"){this.sort!==e&&(this.sort=e,this.eventService.dispatchEvent(this.createColumnEvent("sortChanged",t))),this.dispatchStateUpdatedEvent("sort")}setMenuVisible(e,t="api"){this.menuVisible!==e&&(this.menuVisible=e,this.eventService.dispatchEvent(this.createColumnEvent("menuVisibleChanged",t)))}isMenuVisible(){return this.menuVisible}isSortable(){return!!this.getColDefValue("sortable")}isSortAscending(){return"asc"===this.sort}isSortDescending(){return"desc"===this.sort}isSortNone(){return E(this.sort)}isSorting(){return S(this.sort)}getSortIndex(){return this.sortIndex}setSortIndex(e){this.sortIndex=e,this.dispatchStateUpdatedEvent("sortIndex")}setAggFunc(e){this.aggFunc=e,this.dispatchStateUpdatedEvent("aggFunc")}getAggFunc(){return this.aggFunc}getLeft(){return this.left}getOldLeft(){return this.oldLeft}getRight(){return this.left+this.actualWidth}setLeft(e,t="api"){this.oldLeft=this.left,this.left!==e&&(this.left=e,this.eventService.dispatchEvent(this.createColumnEvent("leftChanged",t)))}isFilterActive(){return this.filterActive}setFilterActive(e,t="api",r){this.filterActive!==e&&(this.filterActive=e,this.eventService.dispatchEvent(this.createColumnEvent("filterActiveChanged",t)));const a=this.createColumnEvent("filterChanged",t);r&&q(a,r),this.eventService.dispatchEvent(a)}isHovered(){return this.columnHoverService.isHovered(this)}setPinned(e){this.pinned=!0===e||"left"===e?"left":"right"===e?"right":null,this.dispatchStateUpdatedEvent("pinned")}setFirstRightPinned(e,t="api"){this.firstRightPinned!==e&&(this.firstRightPinned=e,this.eventService.dispatchEvent(this.createColumnEvent("firstRightPinnedChanged",t)))}setLastLeftPinned(e,t="api"){this.lastLeftPinned!==e&&(this.lastLeftPinned=e,this.eventService.dispatchEvent(this.createColumnEvent("lastLeftPinnedChanged",t)))}isFirstRightPinned(){return this.firstRightPinned}isLastLeftPinned(){return this.lastLeftPinned}isPinned(){return"left"===this.pinned||"right"===this.pinned}isPinnedLeft(){return"left"===this.pinned}isPinnedRight(){return"right"===this.pinned}getPinned(){return this.pinned}setVisible(e,t="api"){const r=!0===e;this.visible!==r&&(this.visible=r,this.eventService.dispatchEvent(this.createColumnEvent("visibleChanged",t))),this.dispatchStateUpdatedEvent("hide")}isVisible(){return this.visible}isSpanHeaderHeight(){const e=this.getColDef();return!e.suppressSpanHeaderHeight&&!e.autoHeaderHeight}getColDef(){return this.colDef}getColumnGroupShow(){return this.colDef.columnGroupShow}getColId(){return this.colId}getId(){return this.colId}getUniqueId(){return this.colId}getDefinition(){return this.colDef}getActualWidth(){return this.actualWidth}getAutoHeaderHeight(){return this.autoHeaderHeight}setAutoHeaderHeight(e){const t=e!==this.autoHeaderHeight;return this.autoHeaderHeight=e,t}createBaseColDefParams(e){return{node:e,data:e.data,colDef:this.colDef,column:this,api:this.gridOptionsService.api,columnApi:this.gridOptionsService.columnApi,context:this.gridOptionsService.context}}getColSpan(e){if(E(this.colDef.colSpan))return 1;const t=this.createBaseColDefParams(e),r=this.colDef.colSpan(t);return Math.max(r,1)}getRowSpan(e){if(E(this.colDef.rowSpan))return 1;const t=this.createBaseColDefParams(e),r=this.colDef.rowSpan(t);return Math.max(r,1)}setActualWidth(e,t="api",r=!1){null!=this.minWidth&&(e=Math.max(e,this.minWidth)),null!=this.maxWidth&&(e=Math.min(e,this.maxWidth)),this.actualWidth!==e&&(this.actualWidth=e,this.flex&&"flex"!==t&&"gridInitializing"!==t&&(this.flex=null),r||this.fireColumnWidthChangedEvent(t)),this.dispatchStateUpdatedEvent("width")}fireColumnWidthChangedEvent(e){this.eventService.dispatchEvent(this.createColumnEvent("widthChanged",e))}isGreaterThanMax(e){return null!=this.maxWidth&&e>this.maxWidth}getMinWidth(){return this.minWidth}getMaxWidth(){return this.maxWidth}getFlex(){return this.flex||0}setFlex(e){this.flex!==e&&(this.flex=e),this.dispatchStateUpdatedEvent("flex")}setMinimum(e="api"){S(this.minWidth)&&this.setActualWidth(this.minWidth,e)}setRowGroupActive(e,t="api"){this.rowGroupActive!==e&&(this.rowGroupActive=e,this.eventService.dispatchEvent(this.createColumnEvent("columnRowGroupChanged",t))),this.dispatchStateUpdatedEvent("rowGroup")}isRowGroupActive(){return this.rowGroupActive}setPivotActive(e,t="api"){this.pivotActive!==e&&(this.pivotActive=e,this.eventService.dispatchEvent(this.createColumnEvent("columnPivotChanged",t))),this.dispatchStateUpdatedEvent("pivot")}isPivotActive(){return this.pivotActive}isAnyFunctionActive(){return this.isPivotActive()||this.isRowGroupActive()||this.isValueActive()}isAnyFunctionAllowed(){return this.isAllowPivot()||this.isAllowRowGroup()||this.isAllowValue()}setValueActive(e,t="api"){this.aggregationActive!==e&&(this.aggregationActive=e,this.eventService.dispatchEvent(this.createColumnEvent("columnValueChanged",t)))}isValueActive(){return this.aggregationActive}isAllowPivot(){return!0===this.colDef.enablePivot}isAllowValue(){return!0===this.colDef.enableValue}isAllowRowGroup(){return!0===this.colDef.enableRowGroup}getMenuTabs(e){let t=this.getColDef().menuTabs;return null==t&&(t=e),t}dispatchStateUpdatedEvent(e){this.eventService.dispatchEvent({type:Me.EVENT_STATE_UPDATED,key:e})}}Me.EVENT_MOVING_CHANGED="movingChanged",Me.EVENT_LEFT_CHANGED="leftChanged",Me.EVENT_WIDTH_CHANGED="widthChanged",Me.EVENT_LAST_LEFT_PINNED_CHANGED="lastLeftPinnedChanged",Me.EVENT_FIRST_RIGHT_PINNED_CHANGED="firstRightPinnedChanged",Me.EVENT_VISIBLE_CHANGED="visibleChanged",Me.EVENT_FILTER_CHANGED="filterChanged",Me.EVENT_FILTER_ACTIVE_CHANGED="filterActiveChanged",Me.EVENT_SORT_CHANGED="sortChanged",Me.EVENT_COL_DEF_CHANGED="colDefChanged",Me.EVENT_MENU_VISIBLE_CHANGED="menuVisibleChanged",Me.EVENT_ROW_GROUP_CHANGED="columnRowGroupChanged",Me.EVENT_PIVOT_CHANGED="columnPivotChanged",Me.EVENT_VALUE_CHANGED="columnValueChanged",Me.EVENT_STATE_UPDATED="columnStateUpdated",ke([Ce("gridOptionsService")],Me.prototype,"gridOptionsService",void 0),ke([Ce("columnUtils")],Me.prototype,"columnUtils",void 0),ke([Ce("columnHoverService")],Me.prototype,"columnHoverService",void 0),ke([fe],Me.prototype,"initialise",null);var Pe=function(e,t,r,a){var i,o=arguments.length,n=o<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,r):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,r,a);else for(var l=e.length-1;l>=0;l--)(i=e[l])&&(n=(o<3?i(n):o>3?i(t,r,n):i(t,r))||n);return o>3&&n&&Object.defineProperty(t,r,n),n};class Le{constructor(e,t,r,a){this.localEventService=new Te,this.expandable=!1,this.instanceId=Oe(),this.expandableListenerRemoveCallback=null,this.colGroupDef=e,this.groupId=t,this.expanded=!!e&&!!e.openByDefault,this.padding=r,this.level=a}destroy(){this.expandableListenerRemoveCallback&&this.reset(null,void 0)}reset(e,t){this.colGroupDef=e,this.level=t,this.originalParent=null,this.expandableListenerRemoveCallback&&this.expandableListenerRemoveCallback(),this.children=void 0,this.expandable=void 0}getInstanceId(){return this.instanceId}setOriginalParent(e){this.originalParent=e}getOriginalParent(){return this.originalParent}getLevel(){return this.level}isVisible(){return!!this.children&&this.children.some(e=>e.isVisible())}isPadding(){return this.padding}setExpanded(e){