ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
8 lines • 1.05 MB
JavaScript
/**
* @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
define("agGrid",[],(function(){return function(e){var t={};function i(o){if(t[o])return t[o].exports;var s=t[o]={i:o,l:!1,exports:{}};return e[o].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=e,i.c=t,i.d=function(e,t,o){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(i.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)i.d(o,s,function(t){return e[t]}.bind(null,s));return o},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=4)}([function(e,t,i){"use strict";i.r(t),i.d(t,"ColumnFactory",(function(){return mt})),i.d(t,"ColumnModel",(function(){return xt})),i.d(t,"ColumnKeyCreator",(function(){return M})),i.d(t,"ColumnUtils",(function(){return Vt})),i.d(t,"DisplayedGroupCreator",(function(){return kt})),i.d(t,"GroupInstanceIdCreator",(function(){return St})),i.d(t,"GROUP_AUTO_COLUMN_ID",(function(){return yt})),i.d(t,"ComponentUtil",(function(){return zt})),i.d(t,"AgStackComponentsRegistry",(function(){return ei})),i.d(t,"UserComponentRegistry",(function(){return Rn})),i.d(t,"UserComponentFactory",(function(){return Un})),i.d(t,"ColDefUtil",(function(){return zn})),i.d(t,"BeanStub",(function(){return ut})),i.d(t,"Context",(function(){return me})),i.d(t,"Autowired",(function(){return we})),i.d(t,"PostConstruct",(function(){return ve})),i.d(t,"PreConstruct",(function(){return Ce})),i.d(t,"Optional",(function(){return ye})),i.d(t,"Bean",(function(){return Se})),i.d(t,"Qualifier",(function(){return Re})),i.d(t,"PreDestroy",(function(){return fe})),i.d(t,"QuerySelector",(function(){return bs})),i.d(t,"RefSelector",(function(){return Ds})),i.d(t,"ExcelFactoryMode",(function(){return jn})),i.d(t,"DragAndDropService",(function(){return qr})),i.d(t,"DragSourceType",(function(){return Yr})),i.d(t,"DragService",(function(){return Yn})),i.d(t,"VirtualListDragFeature",(function(){return Xn})),i.d(t,"Column",(function(){return Me})),i.d(t,"ColumnGroup",(function(){return vt})),i.d(t,"ProvidedColumnGroup",(function(){return Ie})),i.d(t,"RowNode",(function(){return Br})),i.d(t,"RowHighlightPosition",(function(){return Jn})),i.d(t,"FilterManager",(function(){return nl})),i.d(t,"ProvidedFilter",(function(){return Vs})),i.d(t,"SimpleFilter",(function(){return Js})),i.d(t,"ScalarFilter",(function(){return Zs})),i.d(t,"NumberFilter",(function(){return ur})),i.d(t,"TextFilter",(function(){return gr})),i.d(t,"DateFilter",(function(){return ir})),i.d(t,"TextFloatingFilter",(function(){return wr})),i.d(t,"HeaderFilterCellComp",(function(){return dl})),i.d(t,"FloatingFilterMapper",(function(){return Bn})),i.d(t,"GridBodyComp",(function(){return da})),i.d(t,"GridBodyCtrl",(function(){return yl})),i.d(t,"RowAnimationCssClasses",(function(){return Sl})),i.d(t,"ScrollVisibleService",(function(){return ha})),i.d(t,"MouseEventService",(function(){return ga})),i.d(t,"NavigationService",(function(){return Ca})),i.d(t,"RowContainerComp",(function(){return Ea})),i.d(t,"RowContainerName",(function(){return ea})),i.d(t,"RowContainerCtrl",(function(){return na})),i.d(t,"RowContainerType",(function(){return ta})),i.d(t,"getRowContainerTypeForName",(function(){return oa})),i.d(t,"BodyDropPivotTarget",(function(){return Ta})),i.d(t,"BodyDropTarget",(function(){return Aa})),i.d(t,"CssClassApplier",(function(){return Il})),i.d(t,"HeaderRowContainerComp",(function(){return cd})),i.d(t,"GridHeaderComp",(function(){return vd})),i.d(t,"GridHeaderCtrl",(function(){return md})),i.d(t,"HeaderRowComp",(function(){return xa})),i.d(t,"HeaderRowType",(function(){return Ia})),i.d(t,"HeaderRowCtrl",(function(){return nd})),i.d(t,"HeaderCellCtrl",(function(){return Xa})),i.d(t,"SortIndicatorComp",(function(){return Rr})),i.d(t,"HeaderFilterCellCtrl",(function(){return ja})),i.d(t,"HeaderGroupCellCtrl",(function(){return od})),i.d(t,"AbstractHeaderCellCtrl",(function(){return Ha})),i.d(t,"HeaderRowContainerCtrl",(function(){return ad})),i.d(t,"HorizontalResizeService",(function(){return Sd})),i.d(t,"MoveColumnFeature",(function(){return Oa})),i.d(t,"StandardMenuFactory",(function(){return yd})),i.d(t,"TabbedLayout",(function(){return Rd})),i.d(t,"ResizeObserverService",(function(){return bd})),i.d(t,"AnimationFrameService",(function(){return Od})),i.d(t,"ExpansionService",(function(){return Fd})),i.d(t,"LargeTextCellEditor",(function(){return Fr})),i.d(t,"PopupEditorWrapper",(function(){return fa})),i.d(t,"SelectCellEditor",(function(){return Mr})),i.d(t,"TextCellEditor",(function(){return xr})),i.d(t,"NumberCellEditor",(function(){return un})),i.d(t,"DateCellEditor",(function(){return gn})),i.d(t,"DateStringCellEditor",(function(){return vn})),i.d(t,"CheckboxCellEditor",(function(){return yn})),i.d(t,"Beans",(function(){return Al})),i.d(t,"AnimateShowChangeCellRenderer",(function(){return Vr})),i.d(t,"AnimateSlideCellRenderer",(function(){return kr})),i.d(t,"GroupCellRenderer",(function(){return rn})),i.d(t,"GroupCellRendererCtrl",(function(){return on})),i.d(t,"SetLeftFeature",(function(){return Ba})),i.d(t,"PositionableFeature",(function(){return xs})),i.d(t,"AutoWidthCalculator",(function(){return Md})),i.d(t,"CheckboxSelectionComponent",(function(){return jr})),i.d(t,"CellComp",(function(){return Sa})),i.d(t,"CellCtrl",(function(){return xl})),i.d(t,"RowCtrl",(function(){return Hl})),i.d(t,"RowRenderer",(function(){return xd})),i.d(t,"ValueFormatterService",(function(){return Hd})),i.d(t,"CssClassManager",(function(){return ys})),i.d(t,"CheckboxCellRenderer",(function(){return Sn})),i.d(t,"PinnedRowModel",(function(){return Bd})),i.d(t,"ServerSideTransactionResultStatus",(function(){return Wd})),i.d(t,"ChangedPath",(function(){return Ud})),i.d(t,"RowNodeBlock",(function(){return zd})),i.d(t,"RowNodeBlockLoader",(function(){return $d})),i.d(t,"PaginationProxy",(function(){return Qd})),i.d(t,"ClientSideRowModelSteps",(function(){return Pd})),i.d(t,"StylingService",(function(){return Jd})),i.d(t,"LayoutCssClasses",(function(){return cl})),i.d(t,"AgAbstractField",(function(){return Bs})),i.d(t,"AgCheckbox",(function(){return qs})),i.d(t,"AgRadioButton",(function(){return Qs})),i.d(t,"AgToggleButton",(function(){return Zd})),i.d(t,"AgInputTextField",(function(){return ar})),i.d(t,"AgInputTextArea",(function(){return ec})),i.d(t,"AgInputNumberField",(function(){return dr})),i.d(t,"AgInputDateField",(function(){return tc})),i.d(t,"AgInputRange",(function(){return ic})),i.d(t,"AgRichSelect",(function(){return uc})),i.d(t,"AgSelect",(function(){return Ks})),i.d(t,"AgSlider",(function(){return gc})),i.d(t,"AgGroupComponent",(function(){return Cc})),i.d(t,"AgMenuItemComponent",(function(){return Ec})),i.d(t,"AgMenuList",(function(){return fc})),i.d(t,"AgMenuPanel",(function(){return wc})),i.d(t,"AgDialog",(function(){return Dc})),i.d(t,"AgPanel",(function(){return Tc})),i.d(t,"Component",(function(){return Ts})),i.d(t,"ManagedFocusFeature",(function(){return Is})),i.d(t,"TabGuardComp",(function(){return ac})),i.d(t,"TabGuardCtrl",(function(){return lc})),i.d(t,"TabGuardClassNames",(function(){return rc})),i.d(t,"PopupComponent",(function(){return Pr})),i.d(t,"PopupService",(function(){return Lc})),i.d(t,"TouchListener",(function(){return yr})),i.d(t,"VirtualList",(function(){return cc})),i.d(t,"AgAbstractLabel",(function(){return ks})),i.d(t,"AgPickerField",(function(){return Us})),i.d(t,"AgAutocomplete",(function(){return xc})),i.d(t,"CellRangeType",(function(){return Rl})),i.d(t,"SelectionHandleType",(function(){return El})),i.d(t,"AutoScrollService",(function(){return $n})),i.d(t,"VanillaFrameworkOverrides",(function(){return Hc})),i.d(t,"CellNavigationService",(function(){return Bc})),i.d(t,"AlignedGridsService",(function(){return zc})),i.d(t,"KeyCode",(function(){return os})),i.d(t,"VerticalDirection",(function(){return Wr})),i.d(t,"HorizontalDirection",(function(){return Ur})),i.d(t,"Grid",(function(){return Ju})),i.d(t,"GridCoreCreator",(function(){return ep})),i.d(t,"createGrid",(function(){return Xu})),i.d(t,"GridApi",(function(){return tl})),i.d(t,"Events",(function(){return ft})),i.d(t,"FocusService",(function(){return Ch})),i.d(t,"GridOptionsService",(function(){return Pu})),i.d(t,"EventService",(function(){return Oe})),i.d(t,"SelectableService",(function(){return Hh})),i.d(t,"RowNodeSorter",(function(){return nu})),i.d(t,"CtrlsService",(function(){return du})),i.d(t,"GridComp",(function(){return ch})),i.d(t,"GridCtrl",(function(){return ah})),i.d(t,"Logger",(function(){return nh})),i.d(t,"LoggerFactory",(function(){return rh})),i.d(t,"SortController",(function(){return ph})),i.d(t,"TemplateService",(function(){return ih})),i.d(t,"LocaleService",(function(){return Fu})),i.d(t,"_",(function(){return us})),i.d(t,"NumberSequence",(function(){return ps})),i.d(t,"AgPromiseStatus",(function(){return gs})),i.d(t,"AgPromise",(function(){return ms})),i.d(t,"Timer",(function(){return Cs})),i.d(t,"ValueService",(function(){return Xc})),i.d(t,"ValueCache",(function(){return Th})),i.d(t,"ExpressionService",(function(){return eh})),i.d(t,"ValueParserService",(function(){return Vu})),i.d(t,"CellPositionUtils",(function(){return Yh})),i.d(t,"RowPositionUtils",(function(){return jh})),i.d(t,"HeaderPositionUtils",(function(){return eu})),i.d(t,"HeaderNavigationService",(function(){return pd})),i.d(t,"HeaderNavigationDirection",(function(){return hd})),i.d(t,"DataTypeService",(function(){return xu})),i.d(t,"PropertyKeys",(function(){return Wt})),i.d(t,"ColumnApi",(function(){return qc})),i.d(t,"BaseComponentWrapper",(function(){return tp})),i.d(t,"Environment",(function(){return Ih})),i.d(t,"TooltipFeature",(function(){return Ol})),i.d(t,"CustomTooltipFeature",(function(){return ws})),i.d(t,"DEFAULT_CHART_GROUPS",(function(){return ip})),i.d(t,"CHART_TOOL_PANEL_ALLOW_LIST",(function(){return op})),i.d(t,"CHART_TOOLBAR_ALLOW_LIST",(function(){return sp})),i.d(t,"CHART_TOOL_PANEL_MENU_OPTIONS",(function(){return rp})),i.d(t,"__FORCE_MODULE_DETECTION",(function(){return np})),i.d(t,"BarColumnLabelPlacement",(function(){return lp})),i.d(t,"ModuleNames",(function(){return pe})),i.d(t,"ModuleRegistry",(function(){return ge}));var o={};i.r(o),i.d(o,"makeNull",(function(){return y})),i.d(o,"exists",(function(){return E})),i.d(o,"missing",(function(){return R})),i.d(o,"missingOrEmpty",(function(){return T})),i.d(o,"toStringOrNull",(function(){return b})),i.d(o,"attrToNumber",(function(){return D})),i.d(o,"attrToBoolean",(function(){return O})),i.d(o,"attrToString",(function(){return P})),i.d(o,"jsonEquals",(function(){return A})),i.d(o,"defaultComparator",(function(){return F})),i.d(o,"values",(function(){return L}));var s={};i.r(s),i.d(s,"iterateObject",(function(){return N})),i.d(s,"cloneObject",(function(){return I})),i.d(s,"deepCloneObject",(function(){return G})),i.d(s,"deepCloneDefinition",(function(){return x})),i.d(s,"getProperty",(function(){return _})),i.d(s,"setProperty",(function(){return V})),i.d(s,"copyPropertiesIfPresent",(function(){return H})),i.d(s,"copyPropertyIfPresent",(function(){return k})),i.d(s,"getAllKeysInObjects",(function(){return B})),i.d(s,"getAllValuesInObject",(function(){return W})),i.d(s,"mergeDeep",(function(){return U})),i.d(s,"missingOrEmptyObject",(function(){return z})),i.d(s,"get",(function(){return j})),i.d(s,"set",(function(){return K})),i.d(s,"getValueUsingField",(function(){return Y})),i.d(s,"removeAllReferences",(function(){return $})),i.d(s,"isNonNullObject",(function(){return q}));var r={};i.r(r),i.d(r,"doOnce",(function(){return X})),i.d(r,"warnOnce",(function(){return J})),i.d(r,"errorOnce",(function(){return Z})),i.d(r,"getFunctionName",(function(){return ee})),i.d(r,"isFunction",(function(){return te})),i.d(r,"executeInAWhile",(function(){return ie})),i.d(r,"executeNextVMTurn",(function(){return re})),i.d(r,"executeAfter",(function(){return ne})),i.d(r,"debounce",(function(){return le})),i.d(r,"throttle",(function(){return ae})),i.d(r,"waitUntil",(function(){return de})),i.d(r,"compose",(function(){return ce})),i.d(r,"callIfPresent",(function(){return he})),i.d(r,"noop",(function(){return ue}));var n={};i.r(n),i.d(n,"firstExistingValue",(function(){return xe})),i.d(n,"existsAndNotEmpty",(function(){return _e})),i.d(n,"last",(function(){return Ve})),i.d(n,"areEqual",(function(){return He})),i.d(n,"shallowCompare",(function(){return ke})),i.d(n,"sortNumerically",(function(){return Be})),i.d(n,"removeRepeatsFromArray",(function(){return We})),i.d(n,"removeFromUnorderedArray",(function(){return Ue})),i.d(n,"removeFromArray",(function(){return ze})),i.d(n,"removeAllFromUnorderedArray",(function(){return je})),i.d(n,"removeAllFromArray",(function(){return Ke})),i.d(n,"insertIntoArray",(function(){return Ye})),i.d(n,"insertArrayIntoArray",(function(){return $e})),i.d(n,"moveInArray",(function(){return qe})),i.d(n,"includes",(function(){return Qe})),i.d(n,"flatten",(function(){return Xe})),i.d(n,"pushAll",(function(){return Je})),i.d(n,"toStrings",(function(){return Ze})),i.d(n,"forEachReverse",(function(){return et}));var l={};i.r(l),i.d(l,"stopPropagationForAgGrid",(function(){return ot})),i.d(l,"isStopPropagationForAgGrid",(function(){return st})),i.d(l,"isEventSupported",(function(){return rt})),i.d(l,"getCtrlForEventTarget",(function(){return nt})),i.d(l,"isElementInEventPath",(function(){return lt})),i.d(l,"createEventPath",(function(){return at})),i.d(l,"getEventPath",(function(){return dt})),i.d(l,"addSafePassiveEventListener",(function(){return ct}));var a={};i.r(a),i.d(a,"utf8_encode",(function(){return bt})),i.d(a,"capitalise",(function(){return Dt})),i.d(a,"escapeString",(function(){return Ot})),i.d(a,"camelCaseToHumanText",(function(){return Pt})),i.d(a,"camelCaseToHyphenated",(function(){return At}));var d={};i.r(d),i.d(d,"convertToMap",(function(){return Ft})),i.d(d,"mapById",(function(){return Lt})),i.d(d,"keys",(function(){return Mt}));var c={};i.r(c),i.d(c,"setAriaRole",(function(){return ri})),i.d(c,"getAriaSortState",(function(){return ni})),i.d(c,"getAriaLevel",(function(){return li})),i.d(c,"getAriaPosInSet",(function(){return ai})),i.d(c,"getAriaLabel",(function(){return di})),i.d(c,"setAriaLabel",(function(){return ci})),i.d(c,"setAriaLabelledBy",(function(){return hi})),i.d(c,"setAriaDescription",(function(){return ui})),i.d(c,"setAriaDescribedBy",(function(){return pi})),i.d(c,"setAriaLive",(function(){return gi})),i.d(c,"setAriaAtomic",(function(){return mi})),i.d(c,"setAriaRelevant",(function(){return Ci})),i.d(c,"setAriaLevel",(function(){return vi})),i.d(c,"setAriaDisabled",(function(){return fi})),i.d(c,"setAriaHidden",(function(){return Si})),i.d(c,"setAriaActiveDescendant",(function(){return wi})),i.d(c,"setAriaExpanded",(function(){return yi})),i.d(c,"removeAriaExpanded",(function(){return Ei})),i.d(c,"setAriaSetSize",(function(){return Ri})),i.d(c,"setAriaPosInSet",(function(){return Ti})),i.d(c,"setAriaMultiSelectable",(function(){return bi})),i.d(c,"setAriaRowCount",(function(){return Di})),i.d(c,"setAriaRowIndex",(function(){return Oi})),i.d(c,"setAriaColCount",(function(){return Pi})),i.d(c,"setAriaColIndex",(function(){return Ai})),i.d(c,"setAriaColSpan",(function(){return Fi})),i.d(c,"setAriaSort",(function(){return Li})),i.d(c,"removeAriaSort",(function(){return Mi})),i.d(c,"setAriaSelected",(function(){return Ni})),i.d(c,"setAriaChecked",(function(){return Ii})),i.d(c,"setAriaControls",(function(){return Gi})),i.d(c,"getAriaCheckboxStateName",(function(){return xi}));var h={};i.r(h),i.d(h,"isBrowserSafari",(function(){return _i})),i.d(h,"getSafariVersion",(function(){return Vi})),i.d(h,"isBrowserChrome",(function(){return Hi})),i.d(h,"isBrowserFirefox",(function(){return ki})),i.d(h,"isMacOsUserAgent",(function(){return Bi})),i.d(h,"isIOSUserAgent",(function(){return Wi})),i.d(h,"browserSupportsPreventScroll",(function(){return Ui})),i.d(h,"getTabIndex",(function(){return zi})),i.d(h,"getMaxDivHeight",(function(){return ji})),i.d(h,"getBodyWidth",(function(){return Ki})),i.d(h,"getBodyHeight",(function(){return Yi})),i.d(h,"getScrollbarWidth",(function(){return $i})),i.d(h,"isInvisibleScrollbar",(function(){return Qi}));var u={};i.r(u),i.d(u,"padStartWidthZeros",(function(){return Xi})),i.d(u,"createArrayOfNumbers",(function(){return Ji})),i.d(u,"cleanNumber",(function(){return Zi})),i.d(u,"decToHex",(function(){return eo})),i.d(u,"formatNumberTwoDecimalPlacesAndCommas",(function(){return to})),i.d(u,"formatNumberCommas",(function(){return io})),i.d(u,"sum",(function(){return oo}));var p={};i.r(p),i.d(p,"serialiseDate",(function(){return so})),i.d(p,"dateToFormattedString",(function(){return no})),i.d(p,"parseDateTimeFromString",(function(){return lo}));var g={};i.r(g),i.d(g,"radioCssClass",(function(){return co})),i.d(g,"FOCUSABLE_SELECTOR",(function(){return ho})),i.d(g,"FOCUSABLE_EXCLUDE",(function(){return uo})),i.d(g,"isFocusableFormField",(function(){return po})),i.d(g,"setDisplayed",(function(){return go})),i.d(g,"setVisible",(function(){return mo})),i.d(g,"setDisabled",(function(){return Co})),i.d(g,"isElementChildOfClass",(function(){return vo})),i.d(g,"getElementSize",(function(){return fo})),i.d(g,"getInnerHeight",(function(){return So})),i.d(g,"getInnerWidth",(function(){return wo})),i.d(g,"getAbsoluteHeight",(function(){return yo})),i.d(g,"getAbsoluteWidth",(function(){return Eo})),i.d(g,"getElementRectWithOffset",(function(){return Ro})),i.d(g,"isRtlNegativeScroll",(function(){return To})),i.d(g,"getScrollLeft",(function(){return bo})),i.d(g,"setScrollLeft",(function(){return Do})),i.d(g,"clearElement",(function(){return Oo})),i.d(g,"removeFromParent",(function(){return Po})),i.d(g,"isVisible",(function(){return Ao})),i.d(g,"loadTemplate",(function(){return Fo})),i.d(g,"appendHtml",(function(){return Lo})),i.d(g,"offsetHeight",(function(){return Mo})),i.d(g,"offsetWidth",(function(){return No})),i.d(g,"ensureDomOrder",(function(){return Io})),i.d(g,"setDomChildOrder",(function(){return Go})),i.d(g,"insertWithDomOrder",(function(){return xo})),i.d(g,"addStylesToElement",(function(){return _o})),i.d(g,"isHorizontalScrollShowing",(function(){return Vo})),i.d(g,"isVerticalScrollShowing",(function(){return Ho})),i.d(g,"setElementWidth",(function(){return ko})),i.d(g,"setFixedWidth",(function(){return Bo})),i.d(g,"setElementHeight",(function(){return Wo})),i.d(g,"setFixedHeight",(function(){return Uo})),i.d(g,"formatSize",(function(){return zo})),i.d(g,"isNodeOrElement",(function(){return jo})),i.d(g,"copyNodeList",(function(){return Ko})),i.d(g,"iterateNamedNodeMap",(function(){return Yo})),i.d(g,"addOrRemoveAttribute",(function(){return $o})),i.d(g,"nodeListForEach",(function(){return qo})),i.d(g,"bindCellRendererToHtmlElement",(function(){return Qo}));var m={};i.r(m),i.d(m,"fuzzyCheckStrings",(function(){return Xo})),i.d(m,"fuzzySuggestions",(function(){return Jo}));var C={};i.r(C),i.d(C,"iconNameClassMap",(function(){return es})),i.d(C,"createIcon",(function(){return ts})),i.d(C,"createIconNoSpan",(function(){return is}));var v={};i.r(v),i.d(v,"isEventFromPrintableCharacter",(function(){return ss})),i.d(v,"isUserSuppressingKeyboardEvent",(function(){return rs})),i.d(v,"isUserSuppressingHeaderKeyboardEvent",(function(){return ns})),i.d(v,"normaliseQwertyAzerty",(function(){return ls})),i.d(v,"isDeleteKey",(function(){return as}));var f={};i.r(f),i.d(f,"areEventsNear",(function(){return ds}));var S={};i.r(S),i.d(S,"sortRowNodesByOrder",(function(){return cs}));var w={};function y(e){return null==e||""===e?null:e}function E(e,t=!1){return null!=e&&(""!==e||t)}function R(e){return!E(e)}function T(e){return null==e||0===e.length}function b(e){return null!=e&&"function"==typeof e.toString?e.toString():null}function D(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 O(e){if(void 0!==e)return null!==e&&""!==e&&("boolean"==typeof e?e:/true/i.test(e))}function P(e){if(null!=e&&""!==e)return e}function A(e,t){return(e?JSON.stringify(e):null)===(t?JSON.stringify(t):null)}function F(e,t,i=!1){const o=null==e,s=null==t;if(e&&e.toNumber&&(e=e.toNumber()),t&&t.toNumber&&(t=t.toNumber()),o&&s)return 0;if(o)return-1;if(s)return 1;function r(e,t){return e>t?1:e<t?-1:0}if("string"!=typeof e)return r(e,t);if(!i)return r(e,t);try{return e.localeCompare(t)}catch(i){return r(e,t)}}function L(e){if(e instanceof Set||e instanceof Map){const t=[];return e.forEach(e=>t.push(e)),t}return Object.values(e)}i.r(w),i.d(w,"convertToSet",(function(){return hs}));class M{constructor(){this.existingKeys={}}addExistingKeys(e){for(let t=0;t<e.length;t++)this.existingKeys[e[t]]=!0}getUniqueKey(e,t){e=b(e);let i=0;for(;;){let o;if(e?(o=e,0!==i&&(o+="_"+i)):t?(o=t,0!==i&&(o+="_"+i)):o=i,!this.existingKeys[o])return this.existingKeys[o]=!0,String(o);i++}}}function N(e,t){if(null!=e)if(Array.isArray(e))for(let i=0;i<e.length;i++)t(i.toString(),e[i]);else for(const[i,o]of Object.entries(e))t(i,o)}function I(e){const t={},i=Object.keys(e);for(let o=0;o<i.length;o++){const s=i[o],r=e[s];t[s]=r}return t}function G(e){return JSON.parse(JSON.stringify(e))}function x(e,t){if(!e)return;const i=e,o={};return Object.keys(i).forEach(e=>{if(t&&t.indexOf(e)>=0)return;const s=i[e],r=q(s)&&s.constructor===Object;o[e]=r?x(s):s}),o}function _(e,t){return e[t]}function V(e,t,i){e[t]=i}function H(e,t,...i){i.forEach(i=>k(e,t,i))}function k(e,t,i,o){const s=_(e,i);void 0!==s&&V(t,i,o?o(s):s)}function B(e){const t={};return e.filter(e=>null!=e).forEach(e=>{Object.keys(e).forEach(e=>t[e]=null)}),Object.keys(t)}function W(e){if(!e)return[];const t=Object;if("function"==typeof t.values)return t.values(e);const i=[];for(const t in e)e.hasOwnProperty(t)&&e.propertyIsEnumerable(t)&&i.push(e[t]);return i}function U(e,t,i=!0,o=!1){E(t)&&N(t,(t,s)=>{let r=e[t];if(r!==s){if(o){if(null==r&&null!=s){"object"==typeof s&&s.constructor===Object&&(r={},e[t]=r)}}q(s)&&q(r)&&!Array.isArray(r)?U(r,s,i,o):(i||void 0!==s)&&(e[t]=s)}})}function z(e){return R(e)||0===Object.keys(e).length}function j(e,t,i){if(null==e)return i;const o=t.split(".");let s=e;for(;o.length>1;)if(s=s[o.shift()],null==s)return i;const r=s[o[0]];return null!=r?r:i}function K(e,t,i){if(null==e)return;const o=t.split(".");let s=e;o.forEach((e,t)=>{s[e]||(s[e]={}),t<o.length-1&&(s=s[e])}),s[o[o.length-1]]=i}function Y(e,t,i){if(!t||!e)return;if(!i)return e[t];const o=t.split(".");let s=e;for(let e=0;e<o.length;e++){if(null==s)return;s=s[o[e]]}return s}function $(e,t=[],i){Object.keys(e).forEach(i=>{"object"!=typeof e[i]||t.includes(i)||(e[i]=void 0)});const o=Object.getPrototypeOf(e),s={};Object.getOwnPropertyNames(o).forEach(e=>{if("function"==typeof o[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: ${i}`)(e))};s[e]={value:t,writable:!0}}}),Object.defineProperties(e,s)}function q(e){return"object"==typeof e&&null!==e}const Q={};function X(e,t){Q[t]||(e(),Q[t]=!0)}function J(e){X(()=>console.warn("AG Grid: "+e),e)}function Z(e){X(()=>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 ie(e){ne(e,400)}const oe=[];let se=!1;function re(e){oe.push(e),se||(se=!0,window.setTimeout(()=>{const e=oe.slice();oe.length=0,se=!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 i;return function(...o){const s=this;window.clearTimeout(i),i=window.setTimeout((function(){e.apply(s,o)}),t)}}function ae(e,t){let i=0;return function(...o){const s=(new Date).getTime();s-i<t||(i=s,e.apply(this,o))}}function de(e,t,i=100,o){const s=(new Date).getTime();let r=null,n=!1;const l=()=>{const l=(new Date).getTime()-s>i;(e()||l)&&(t(),n=!0,null!=r&&(window.clearInterval(r),r=null),l&&o&&console.warn(o))};l(),n||(r=window.setInterval(l,10))}function ce(...e){return t=>e.reduce((e,t)=>t(e),t)}function he(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 ge{static register(e){ge.__register(e,!0,void 0)}static registerModules(e){ge.__registerModules(e,!0,void 0)}static __register(e,t,i){ge.runVersionChecks(e),void 0!==i?(ge.areGridScopedModules=!0,void 0===ge.gridModulesMap[i]&&(ge.gridModulesMap[i]={}),ge.gridModulesMap[i][e.moduleName]=e):ge.globalModulesMap[e.moduleName]=e,ge.setModuleBased(t)}static __unRegisterGridModules(e){delete ge.gridModulesMap[e]}static __registerModules(e,t,i){ge.setModuleBased(t),e&&e.forEach(e=>ge.__register(e,t,i))}static isValidModuleVersion(e){const[t,i]=e.version.split(".")||[],[o,s]=ge.currentModuleVersion.split(".")||[];return t===o&&i===s}static runVersionChecks(e){if(ge.currentModuleVersion||(ge.currentModuleVersion=e.version),e.version?ge.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===ge.moduleBased?ge.moduleBased=e:ge.moduleBased!==e&&X(()=>{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(){ge.isBundled=!0}static __assertRegistered(e,t,i){var o;if(this.__isRegistered(e,i))return!0;const s=t+e;let r;if(ge.isBundled)r=`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(ge.moduleBased||void 0===ge.moduleBased){let s=null===(o=Object.entries(pe).find(([t,i])=>i===e))||void 0===o?void 0:o[0];r=`AG Grid: unable to use ${t} as the ${s} is not registered${ge.areGridScopedModules?" for gridId: "+i:""}. Check if you have registered the module:\n \n import { ModuleRegistry } from '@ag-grid-community/core';\n import { ${s} } from '${e}';\n \n ModuleRegistry.registerModules([ ${s} ]);\n\nFor more info see: https://www.ag-grid.com/javascript-grid/modules/`}else r=`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 X(()=>{console.warn(r)},s),!1}static __isRegistered(e,t){var i;return!!ge.globalModulesMap[e]||!!(null===(i=ge.gridModulesMap[t])||void 0===i?void 0:i[e])}static __getRegisteredModules(e){return[...L(ge.globalModulesMap),...L(ge.gridModulesMap[e]||{})]}static __getGridRegisteredModules(e){var t;return L(null!==(t=ge.gridModulesMap[e])&&void 0!==t?t:{})||[]}static __isPackageBased(){return!ge.moduleBased}}ge.globalModulesMap={},ge.gridModulesMap={},ge.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 i=this.getBeanInstances();this.wireBeans(i),this.logger.log(">> ag-Application Context ready - component is alive")}getBeanInstances(){return L(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"),E(t)&&e.forEach(t),this.callLifeCycleMethods(e,"postConstructMethods")}createBeans(){this.contextParams.beanClasses.forEach(this.createBeanWrapper.bind(this)),N(this.beanWrappers,(e,t)=>{let i;t.bean.__agBeanMetaData&&t.bean.__agBeanMetaData.autowireMethods&&t.bean.__agBeanMetaData.autowireMethods.agConstructor&&(i=t.bean.__agBeanMetaData.autowireMethods.agConstructor);const o=this.getBeansForParameters(i,t.bean.name),s=new(t.bean.bind.apply(t.bean,[null,...o]));t.beanInstance=s});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 i={bean:e,beanInstance:null,beanName:t.beanName};this.beanWrappers[t.beanName]=i}autoWireBeans(e){e.forEach(e=>{this.forEachMetaDataInHierarchy(e,(t,i)=>{const o=t.agClassAttributes;o&&o.forEach(t=>{const o=this.lookupBeanInstance(i,t.beanName,t.optional);e[t.attributeName]=o})})})}methodWireBeans(e){e.forEach(e=>{this.forEachMetaDataInHierarchy(e,(t,i)=>{N(t.autowireMethods,(t,o)=>{if("agConstructor"===t)return;const s=this.getBeansForParameters(o,i);e[t].apply(e,s)})})})}forEachMetaDataInHierarchy(e,t){let i=Object.getPrototypeOf(e);for(;null!=i;){const e=i.constructor;if(e.hasOwnProperty("__agBeanMetaData")){t(e.__agBeanMetaData,this.getBeanName(e))}i=Object.getPrototypeOf(i)}}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 i=[];return e&&N(e,(e,o)=>{const s=this.lookupBeanInstance(t,o);i[Number(e)]=s}),i}lookupBeanInstance(e,t,i=!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 o=this.beanWrappers[t];return o?o.beanInstance:(i||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,i){const o={};this.forEachMetaDataInHierarchy(e,e=>{const s=e[t];s&&s.forEach(e=>{e!=i&&(o[e]=!0)})});Object.keys(o).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,ge.__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 Ce(e,t,i){const o=Te(e.constructor);o.preConstructMethods||(o.preConstructMethods=[]),o.preConstructMethods.push(t)}function ve(e,t,i){const o=Te(e.constructor);o.postConstructMethods||(o.postConstructMethods=[]),o.postConstructMethods.push(t)}function fe(e,t,i){const o=Te(e.constructor);o.preDestroyMethods||(o.preDestroyMethods=[]),o.preDestroyMethods.push(t)}function Se(e){return t=>{Te(t).beanName=e}}function we(e){return(t,i,o)=>{Ee(t,e,!1,t,i,null)}}function ye(e){return(t,i,o)=>{Ee(t,e,!0,t,i,null)}}function Ee(e,t,i,o,s,r){if(null===t)return void console.error("AG Grid: Autowired name should not be null");if("number"==typeof r)return void console.error("AG Grid: Autowired should be on an attribute");const n=Te(e.constructor);n.agClassAttributes||(n.agClassAttributes=[]),n.agClassAttributes.push({attributeName:s,beanName:t,optional:i})}function Re(e){return(t,i,o)=>{const s="function"==typeof t?t:t.constructor;let r;if("number"==typeof o){let t;i?(r=Te(s),t=i):(r=Te(s),t="agConstructor"),r.autowireMethods||(r.autowireMethods={}),r.autowireMethods[t]||(r.autowireMethods[t]={}),r.autowireMethods[t][o]=e}}}function Te(e){return e.hasOwnProperty("__agBeanMetaData")||(e.__agBeanMetaData={}),e.__agBeanMetaData}var be=function(e,t,i,o){var s,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(n=(r<3?s(n):r>3?s(t,i,n):s(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n},De=function(e,t){return function(i,o){t(i,o,e)}};let Oe=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,i,o=null,s=null){if(this.frameworkOverrides=i,this.gridOptionsService=t,o){const e=t.useAsyncEvents();this.addGlobalListener(o,e)}s&&this.addGlobalListener(s,!1)}getListeners(e,t,i){const o=t?this.allAsyncListeners:this.allSyncListeners;let s=o.get(e);return!s&&i&&(s=new Set,o.set(e,s)),s}noRegisteredListenersExist(){return 0===this.allSyncListeners.size&&0===this.allAsyncListeners.size&&0===this.globalSyncListeners.size&&0===this.globalAsyncListeners.size}addEventListener(e,t,i=!1){this.getListeners(e,i,!0).add(t)}removeEventListener(e,t,i=!1){const o=this.getListeners(e,i,!1);if(o&&(o.delete(t),0===o.size)){(i?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:i,context:o}=this.gridOptionsService;t.api=e,t.columnApi=i,t.context=o}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 i;const o=e.type;if(t&&"event"in e){const t=e.event;t instanceof Event&&(e.eventPath=t.composedPath())}const s=(i,o)=>i.forEach(i=>{o.has(i)&&(t?this.dispatchAsync(()=>i(e)):i(e))}),r=null!==(i=this.getListeners(o,t,!1))&&void 0!==i?i:new Set,n=new Set(r);n.size>0&&s(n,r);new Set(t?this.globalAsyncListeners:this.globalSyncListeners).forEach(i=>{t?this.dispatchAsync(()=>this.frameworkOverrides.dispatchEvent(o,()=>i(o,e),!0)):this.frameworkOverrides.dispatchEvent(o,()=>i(o,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())}};be([De(0,Re("loggerFactory")),De(1,Re("gridOptionsService")),De(2,Re("frameworkOverrides")),De(3,Re("globalEventListener")),De(4,Re("globalSyncEventListener"))],Oe.prototype,"setBeans",null),Oe=be([Se("eventService")],Oe);var Pe=function(e,t,i,o){var s,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(n=(r<3?s(n):r>3?s(t,i,n):s(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};const Ae={resizable:!0,sortable:!0};let Fe=0;function Le(){return Fe++}class Me{constructor(e,t,i,o){this.instanceId=Le(),this.autoHeaderHeight=null,this.moving=!1,this.menuVisible=!1,this.lastLeftPinned=!1,this.firstRightPinned=!1,this.filterActive=!1,this.eventService=new Oe,this.tooltipEnabled=!1,this.rowGroupActive=!1,this.pivotActive=!1,this.aggregationActive=!1,this.colDef=e,this.userProvidedColDef=t,this.colId=i,this.primary=o,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,i=e.initialSortIndex;void 0!==t?null!==t&&(this.sortIndex=t):null!==i&&(this.sortIndex=i);const o=e.hide,s=e.initialHide;this.visible=void 0!==o?!o:!s,void 0!==e.pinned?this.setPinned(e.pinned):this.setPinned(e.initialPinned);const r=e.flex,n=e.initialFlex;void 0!==r?this.flex=r:void 0!==n&&(this.flex=n)}setColDef(e,t,i="api"){this.colDef=e,this.userProvidedColDef=t,this.initMinAndMaxWidths(),this.initDotNotation(),this.initTooltip(),this.eventService.dispatchEvent(this.createColumnEvent("colDefChanged",i))}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=E(this.colDef.field)&&this.colDef.field.indexOf(".")>=0&&!e,this.tooltipFieldContainsDots=E(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=E(this.colDef.tooltipField)||E(this.colDef.tooltipValueGetter)||E(this.colDef.tooltipComponent)}resetActualWidth(e="api"){const t=this.columnUtils.calculateColInitialWidth(this.colDef);this.setActualWidth(t,e,!0)}isEmptyGroup(){return!1}isRowGroupDisplayed(e){if(R(this.colDef)||R(this.colDef.showRowGroup))return!1;const t=!0===this.colDef.showRowGroup,i=this.colDef.showRowGroup===e;return t||i}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 R(this.sort)}isSorting(){return E(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",i){this.filterActive!==e&&(this.filterActive=e,this.eventService.dispatchEvent(this.createColumnEvent("filterActiveChanged",t)));const o=this.createColumnEvent("filterChanged",t);i&&U(o,i),this.eventService.dispatchEvent(o)}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 i=!0===e;this.visible!==i&&(this.visible=i,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(R(this.colDef.colSpan))return 1;const t=this.createBaseColDefParams(e),i=this.colDef.colSpan(t);return Math.max(i,1)}getRowSpan(e){if(R(this.colDef.rowSpan))return 1;const t=this.createBaseColDefParams(e),i=this.colDef.rowSpan(t);return Math.max(i,1)}setActualWidth(e,t="api",i=!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),i||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"){E(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",Pe([we("gridOptionsService")],Me.prototype,"gridOptionsService",void 0),Pe([we("columnUtils")],Me.prototype,"columnUtils",void 0),Pe([we("columnHoverService")],Me.prototype,"columnHoverService",void 0),Pe([ve],Me.prototype,"initialise",null);var Ne=function(e,t,i,o){var s,r=arguments.length,n=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,o);else for(var l=e.length-1;l>=0;l--)(s=e[l])&&(n=(r<3?s(n):r>3?s(t,i,n):s(t,i))||n);return r>3&&n&&Object.defineProperty(t,i,n),n};class Ie{constructor(e,t,i,o){this.localEventService=new Oe,this.expandable=!1,this.instanceId=Le(),this.expandableListenerRemoveCallback=null,this.colGroupDef=e,this.groupId=t,this.expanded=!!e&&!!e.openByDefault,this.padding=i,this.level=o}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){this.expanded=void 0!==e&&e;const t={type:Ie.EVENT_EXPANDED_CHANGED};this.localEventService.dispatchEvent(t)}isExpandable(){return this.expandable}isExpanded(){return this.expanded}