ag-grid-community
Version:
Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
8 lines • 1.08 MB
JavaScript
/**
* @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
* @version v31.1.1
* @link https://www.ag-grid.com/
* @license MIT
*/
// @ag-grid-community/all-modules v31.1.1
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 rt})),i.d(t,"ColumnModel",(function(){return Dt})),i.d(t,"ColumnKeyCreator",(function(){return M})),i.d(t,"ColumnUtils",(function(){return At})),i.d(t,"DisplayedGroupCreator",(function(){return Lt})),i.d(t,"GroupInstanceIdCreator",(function(){return dt})),i.d(t,"GROUP_AUTO_COLUMN_ID",(function(){return ht})),i.d(t,"ComponentUtil",(function(){return Gt})),i.d(t,"AgStackComponentsRegistry",(function(){return jt})),i.d(t,"UserComponentRegistry",(function(){return un})),i.d(t,"UserComponentFactory",(function(){return In})),i.d(t,"ColDefUtil",(function(){return Nn})),i.d(t,"BeanStub",(function(){return it})),i.d(t,"Context",(function(){return re})),i.d(t,"Autowired",(function(){return ce})),i.d(t,"PostConstruct",(function(){return le})),i.d(t,"PreConstruct",(function(){return ne})),i.d(t,"Optional",(function(){return he})),i.d(t,"Bean",(function(){return de})),i.d(t,"Qualifier",(function(){return pe})),i.d(t,"PreDestroy",(function(){return ae})),i.d(t,"QuerySelector",(function(){return ps})),i.d(t,"RefSelector",(function(){return gs})),i.d(t,"ExcelFactoryMode",(function(){return Gn})),i.d(t,"DragAndDropService",(function(){return _r})),i.d(t,"DragSourceType",(function(){return Gr})),i.d(t,"DragService",(function(){return _n})),i.d(t,"VirtualListDragFeature",(function(){return Bn})),i.d(t,"Column",(function(){return Re})),i.d(t,"ColumnGroup",(function(){return lt})),i.d(t,"ProvidedColumnGroup",(function(){return Te})),i.d(t,"RowNode",(function(){return Ar})),i.d(t,"RowHighlightPosition",(function(){return Wn})),i.d(t,"FilterManager",(function(){return Qn})),i.d(t,"ProvidedFilter",(function(){return Ds})),i.d(t,"SimpleFilter",(function(){return ks})),i.d(t,"ScalarFilter",(function(){return Bs})),i.d(t,"NumberFilter",(function(){return er})),i.d(t,"TextFilter",(function(){return ir})),i.d(t,"DateFilter",(function(){return zs})),i.d(t,"TextFloatingFilter",(function(){return ar})),i.d(t,"HeaderFilterCellComp",(function(){return Zn})),i.d(t,"FloatingFilterMapper",(function(){return Ln})),i.d(t,"GridBodyComp",(function(){return Zl})),i.d(t,"GridBodyCtrl",(function(){return hl})),i.d(t,"RowAnimationCssClasses",(function(){return dl})),i.d(t,"ScrollVisibleService",(function(){return ta})),i.d(t,"MouseEventService",(function(){return sa})),i.d(t,"NavigationService",(function(){return na})),i.d(t,"RowContainerComp",(function(){return ua})),i.d(t,"RowContainerName",(function(){return zl})),i.d(t,"RowContainerCtrl",(function(){return Ql})),i.d(t,"RowContainerType",(function(){return jl})),i.d(t,"getRowContainerTypeForName",(function(){return Yl})),i.d(t,"BodyDropPivotTarget",(function(){return ga})),i.d(t,"BodyDropTarget",(function(){return Sa})),i.d(t,"CssClassApplier",(function(){return bl})),i.d(t,"HeaderRowContainerComp",(function(){return Xa})),i.d(t,"GridHeaderComp",(function(){return sd})),i.d(t,"GridHeaderCtrl",(function(){return id})),i.d(t,"HeaderRowComp",(function(){return Da})),i.d(t,"HeaderRowType",(function(){return ba})),i.d(t,"HeaderRowCtrl",(function(){return Ya})),i.d(t,"HeaderCellCtrl",(function(){return Ha})),i.d(t,"SortIndicatorComp",(function(){return hr})),i.d(t,"HeaderFilterCellCtrl",(function(){return Na})),i.d(t,"HeaderGroupCellCtrl",(function(){return za})),i.d(t,"AbstractHeaderCellCtrl",(function(){return Aa})),i.d(t,"HeaderRowContainerCtrl",(function(){return qa})),i.d(t,"HorizontalResizeService",(function(){return nd})),i.d(t,"MoveColumnFeature",(function(){return va})),i.d(t,"StandardMenuFactory",(function(){return ad})),i.d(t,"TabbedLayout",(function(){return gd})),i.d(t,"ResizeObserverService",(function(){return Cd})),i.d(t,"AnimationFrameService",(function(){return fd})),i.d(t,"ExpansionService",(function(){return yd})),i.d(t,"MenuService",(function(){return Rd})),i.d(t,"LargeTextCellEditor",(function(){return fr})),i.d(t,"PopupEditorWrapper",(function(){return aa})),i.d(t,"SelectCellEditor",(function(){return wr})),i.d(t,"TextCellEditor",(function(){return br})),i.d(t,"NumberCellEditor",(function(){return Zr})),i.d(t,"DateCellEditor",(function(){return tn})),i.d(t,"DateStringCellEditor",(function(){return rn})),i.d(t,"CheckboxCellEditor",(function(){return dn})),i.d(t,"Beans",(function(){return Sl})),i.d(t,"AnimateShowChangeCellRenderer",(function(){return Dr})),i.d(t,"AnimateSlideCellRenderer",(function(){return Pr})),i.d(t,"GroupCellRenderer",(function(){return Kr})),i.d(t,"GroupCellRendererCtrl",(function(){return zr})),i.d(t,"SetLeftFeature",(function(){return La})),i.d(t,"PositionableFeature",(function(){return bs})),i.d(t,"AutoWidthCalculator",(function(){return Td})),i.d(t,"CheckboxSelectionComponent",(function(){return Ir})),i.d(t,"CellComp",(function(){return da})),i.d(t,"CellCtrl",(function(){return Dl})),i.d(t,"RowCtrl",(function(){return Al})),i.d(t,"RowRenderer",(function(){return Ad})),i.d(t,"ValueFormatterService",(function(){return Md})),i.d(t,"CssClassManager",(function(){return ds})),i.d(t,"CheckboxCellRenderer",(function(){return ln})),i.d(t,"PinnedRowModel",(function(){return Nd})),i.d(t,"ServerSideTransactionResultStatus",(function(){return Gd})),i.d(t,"ChangedPath",(function(){return xd})),i.d(t,"RowNodeBlock",(function(){return _d})),i.d(t,"RowNodeBlockLoader",(function(){return Bd})),i.d(t,"PaginationProxy",(function(){return Ud})),i.d(t,"ClientSideRowModelSteps",(function(){return Sd})),i.d(t,"StylingService",(function(){return jd})),i.d(t,"LayoutCssClasses",(function(){return el})),i.d(t,"AgAbstractField",(function(){return As})),i.d(t,"AgCheckbox",(function(){return _s})),i.d(t,"AgRadioButton",(function(){return Vs})),i.d(t,"AgToggleButton",(function(){return Kd})),i.d(t,"AgInputTextField",(function(){return Qs})),i.d(t,"AgInputTextArea",(function(){return Yd})),i.d(t,"AgInputNumberField",(function(){return Xs})),i.d(t,"AgInputDateField",(function(){return $d})),i.d(t,"AgInputRange",(function(){return qd})),i.d(t,"AgRichSelect",(function(){return tc})),i.d(t,"AgSelect",(function(){return Ns})),i.d(t,"AgSlider",(function(){return oc})),i.d(t,"AgGroupComponent",(function(){return rc})),i.d(t,"AgMenuItemRenderer",(function(){return cn})),i.d(t,"AgMenuItemComponent",(function(){return hc})),i.d(t,"AgMenuList",(function(){return lc})),i.d(t,"AgMenuPanel",(function(){return dc})),i.d(t,"AgDialog",(function(){return mc})),i.d(t,"AgPanel",(function(){return pc})),i.d(t,"Component",(function(){return us})),i.d(t,"ManagedFocusFeature",(function(){return Es})),i.d(t,"TabGuardComp",(function(){return ud})),i.d(t,"TabGuardCtrl",(function(){return hd})),i.d(t,"TabGuardClassNames",(function(){return dd})),i.d(t,"PopupComponent",(function(){return Cr})),i.d(t,"PopupService",(function(){return wc})),i.d(t,"TouchListener",(function(){return dr})),i.d(t,"VirtualList",(function(){return Zd})),i.d(t,"AgAbstractLabel",(function(){return Ps})),i.d(t,"AgPickerField",(function(){return Ls})),i.d(t,"AgAutocomplete",(function(){return Tc})),i.d(t,"CellRangeType",(function(){return pl})),i.d(t,"SelectionHandleType",(function(){return ul})),i.d(t,"AutoScrollService",(function(){return Vn})),i.d(t,"VanillaFrameworkOverrides",(function(){return Oc})),i.d(t,"CellNavigationService",(function(){return Ac})),i.d(t,"AlignedGridsService",(function(){return Mc})),i.d(t,"KeyCode",(function(){return jo})),i.d(t,"VerticalDirection",(function(){return Fr})),i.d(t,"HorizontalDirection",(function(){return Lr})),i.d(t,"Grid",(function(){return Bu})),i.d(t,"GridCoreCreator",(function(){return Uu})),i.d(t,"createGrid",(function(){return ku})),i.d(t,"GridApi",(function(){return jn})),i.d(t,"Events",(function(){return at})),i.d(t,"FocusService",(function(){return oh})),i.d(t,"GridOptionsService",(function(){return mu})),i.d(t,"EventService",(function(){return ve})),i.d(t,"SelectableService",(function(){return Dh})),i.d(t,"RowNodeSorter",(function(){return Yh})),i.d(t,"CtrlsService",(function(){return Qh})),i.d(t,"GridComp",(function(){return Xc})),i.d(t,"GridCtrl",(function(){return qc})),i.d(t,"Logger",(function(){return Yc})),i.d(t,"LoggerFactory",(function(){return Kc})),i.d(t,"SortController",(function(){return eh})),i.d(t,"TemplateService",(function(){return Uc})),i.d(t,"LocaleService",(function(){return vu})),i.d(t,"_",(function(){return es})),i.d(t,"NumberSequence",(function(){return ts})),i.d(t,"AgPromiseStatus",(function(){return is})),i.d(t,"AgPromise",(function(){return os})),i.d(t,"Timer",(function(){return ss})),i.d(t,"ValueService",(function(){return Vc})),i.d(t,"ValueCache",(function(){return hh})),i.d(t,"ExpressionService",(function(){return Bc})),i.d(t,"ValueParserService",(function(){return Tu})),i.d(t,"CellPositionUtils",(function(){return Nh})),i.d(t,"RowPositionUtils",(function(){return Mh})),i.d(t,"HeaderPositionUtils",(function(){return Bh})),i.d(t,"HeaderNavigationService",(function(){return ed})),i.d(t,"HeaderNavigationDirection",(function(){return Ja})),i.d(t,"DataTypeService",(function(){return Ru})),i.d(t,"PropertyKeys",(function(){return It})),i.d(t,"ColumnApi",(function(){return xc})),i.d(t,"BaseComponentWrapper",(function(){return zu})),i.d(t,"Environment",(function(){return yh})),i.d(t,"TooltipFeature",(function(){return vl})),i.d(t,"CustomTooltipFeature",(function(){return as})),i.d(t,"DEFAULT_CHART_GROUPS",(function(){return ju})),i.d(t,"CHART_TOOL_PANEL_ALLOW_LIST",(function(){return Ku})),i.d(t,"CHART_TOOLBAR_ALLOW_LIST",(function(){return Yu})),i.d(t,"CHART_TOOL_PANEL_MENU_OPTIONS",(function(){return $u})),i.d(t,"__FORCE_MODULE_DETECTION",(function(){return qu})),i.d(t,"BarColumnLabelPlacement",(function(){return Qu})),i.d(t,"ModuleNames",(function(){return oe})),i.d(t,"ModuleRegistry",(function(){return se}));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 b})),i.d(o,"toStringOrNull",(function(){return T})),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 I})),i.d(s,"cloneObject",(function(){return N})),i.d(s,"deepCloneDefinition",(function(){return G})),i.d(s,"getAllValuesInObject",(function(){return x})),i.d(s,"mergeDeep",(function(){return _})),i.d(s,"getValueUsingField",(function(){return V})),i.d(s,"removeAllReferences",(function(){return H})),i.d(s,"isNonNullObject",(function(){return k}));var r={};i.r(r),i.d(r,"doOnce",(function(){return W})),i.d(r,"warnOnce",(function(){return U})),i.d(r,"errorOnce",(function(){return z})),i.d(r,"getFunctionName",(function(){return j})),i.d(r,"isFunction",(function(){return K})),i.d(r,"executeInAWhile",(function(){return Y})),i.d(r,"executeNextVMTurn",(function(){return Q})),i.d(r,"executeAfter",(function(){return X})),i.d(r,"debounce",(function(){return J})),i.d(r,"throttle",(function(){return Z})),i.d(r,"waitUntil",(function(){return ee})),i.d(r,"compose",(function(){return te})),i.d(r,"noop",(function(){return ie}));var n={};i.r(n),i.d(n,"existsAndNotEmpty",(function(){return Oe})),i.d(n,"last",(function(){return Pe})),i.d(n,"areEqual",(function(){return Ae})),i.d(n,"shallowCompare",(function(){return Fe})),i.d(n,"sortNumerically",(function(){return Le})),i.d(n,"removeRepeatsFromArray",(function(){return Me})),i.d(n,"removeFromUnorderedArray",(function(){return Ie})),i.d(n,"removeFromArray",(function(){return Ne})),i.d(n,"removeAllFromUnorderedArray",(function(){return Ge})),i.d(n,"removeAllFromArray",(function(){return xe})),i.d(n,"insertIntoArray",(function(){return _e})),i.d(n,"insertArrayIntoArray",(function(){return Ve})),i.d(n,"moveInArray",(function(){return He})),i.d(n,"includes",(function(){return ke})),i.d(n,"flatten",(function(){return Be})),i.d(n,"pushAll",(function(){return We})),i.d(n,"toStrings",(function(){return Ue})),i.d(n,"forEachReverse",(function(){return ze}));var l={};i.r(l),i.d(l,"stopPropagationForAgGrid",(function(){return Ye})),i.d(l,"isStopPropagationForAgGrid",(function(){return $e})),i.d(l,"isEventSupported",(function(){return qe})),i.d(l,"getCtrlForEventTarget",(function(){return Qe})),i.d(l,"isElementInEventPath",(function(){return Xe})),i.d(l,"createEventPath",(function(){return Je})),i.d(l,"getEventPath",(function(){return Ze})),i.d(l,"addSafePassiveEventListener",(function(){return et}));var a={};i.r(a),i.d(a,"utf8_encode",(function(){return mt})),i.d(a,"capitalise",(function(){return Ct})),i.d(a,"escapeString",(function(){return vt})),i.d(a,"camelCaseToHumanText",(function(){return ft})),i.d(a,"camelCaseToHyphenated",(function(){return St}));var d={};i.r(d),i.d(d,"convertToMap",(function(){return wt})),i.d(d,"mapById",(function(){return yt})),i.d(d,"keys",(function(){return Et}));var c={};i.r(c),i.d(c,"setAriaRole",(function(){return Qt})),i.d(c,"getAriaSortState",(function(){return Xt})),i.d(c,"getAriaLevel",(function(){return Jt})),i.d(c,"getAriaPosInSet",(function(){return Zt})),i.d(c,"getAriaLabel",(function(){return ei})),i.d(c,"setAriaLabel",(function(){return ti})),i.d(c,"setAriaLabelledBy",(function(){return ii})),i.d(c,"setAriaDescribedBy",(function(){return oi})),i.d(c,"setAriaLive",(function(){return si})),i.d(c,"setAriaAtomic",(function(){return ri})),i.d(c,"setAriaRelevant",(function(){return ni})),i.d(c,"setAriaLevel",(function(){return li})),i.d(c,"setAriaDisabled",(function(){return ai})),i.d(c,"setAriaHidden",(function(){return di})),i.d(c,"setAriaActiveDescendant",(function(){return ci})),i.d(c,"setAriaExpanded",(function(){return hi})),i.d(c,"removeAriaExpanded",(function(){return ui})),i.d(c,"setAriaSetSize",(function(){return pi})),i.d(c,"setAriaPosInSet",(function(){return gi})),i.d(c,"setAriaMultiSelectable",(function(){return mi})),i.d(c,"setAriaRowCount",(function(){return Ci})),i.d(c,"setAriaRowIndex",(function(){return vi})),i.d(c,"setAriaColCount",(function(){return fi})),i.d(c,"setAriaColIndex",(function(){return Si})),i.d(c,"setAriaColSpan",(function(){return wi})),i.d(c,"setAriaSort",(function(){return yi})),i.d(c,"removeAriaSort",(function(){return Ei})),i.d(c,"setAriaSelected",(function(){return Ri})),i.d(c,"setAriaChecked",(function(){return bi})),i.d(c,"setAriaControls",(function(){return Ti})),i.d(c,"getAriaCheckboxStateName",(function(){return Di}));var h={};i.r(h),i.d(h,"isBrowserSafari",(function(){return Oi})),i.d(h,"getSafariVersion",(function(){return Pi})),i.d(h,"isBrowserChrome",(function(){return Ai})),i.d(h,"isBrowserFirefox",(function(){return Fi})),i.d(h,"isMacOsUserAgent",(function(){return Li})),i.d(h,"isIOSUserAgent",(function(){return Mi})),i.d(h,"browserSupportsPreventScroll",(function(){return Ii})),i.d(h,"getTabIndex",(function(){return Ni})),i.d(h,"getMaxDivHeight",(function(){return Gi})),i.d(h,"getBodyWidth",(function(){return xi})),i.d(h,"getBodyHeight",(function(){return _i})),i.d(h,"getScrollbarWidth",(function(){return Vi})),i.d(h,"isInvisibleScrollbar",(function(){return ki}));var u={};i.r(u),i.d(u,"padStartWidthZeros",(function(){return Bi})),i.d(u,"createArrayOfNumbers",(function(){return Wi})),i.d(u,"cleanNumber",(function(){return Ui})),i.d(u,"decToHex",(function(){return zi})),i.d(u,"formatNumberTwoDecimalPlacesAndCommas",(function(){return ji})),i.d(u,"formatNumberCommas",(function(){return Ki})),i.d(u,"sum",(function(){return Yi}));var p={};i.r(p),i.d(p,"serialiseDate",(function(){return $i})),i.d(p,"dateToFormattedString",(function(){return Qi})),i.d(p,"parseDateTimeFromString",(function(){return Xi}));var g={};i.r(g),i.d(g,"radioCssClass",(function(){return Zi})),i.d(g,"FOCUSABLE_SELECTOR",(function(){return eo})),i.d(g,"FOCUSABLE_EXCLUDE",(function(){return to})),i.d(g,"isFocusableFormField",(function(){return io})),i.d(g,"setDisplayed",(function(){return oo})),i.d(g,"setVisible",(function(){return so})),i.d(g,"setDisabled",(function(){return ro})),i.d(g,"isElementChildOfClass",(function(){return no})),i.d(g,"getElementSize",(function(){return lo})),i.d(g,"getInnerHeight",(function(){return ao})),i.d(g,"getInnerWidth",(function(){return co})),i.d(g,"getAbsoluteHeight",(function(){return ho})),i.d(g,"getAbsoluteWidth",(function(){return uo})),i.d(g,"getElementRectWithOffset",(function(){return po})),i.d(g,"isRtlNegativeScroll",(function(){return go})),i.d(g,"getScrollLeft",(function(){return mo})),i.d(g,"setScrollLeft",(function(){return Co})),i.d(g,"clearElement",(function(){return vo})),i.d(g,"removeFromParent",(function(){return fo})),i.d(g,"isInDOM",(function(){return So})),i.d(g,"isVisible",(function(){return wo})),i.d(g,"loadTemplate",(function(){return yo})),i.d(g,"ensureDomOrder",(function(){return Eo})),i.d(g,"setDomChildOrder",(function(){return Ro})),i.d(g,"insertWithDomOrder",(function(){return bo})),i.d(g,"addStylesToElement",(function(){return To})),i.d(g,"isHorizontalScrollShowing",(function(){return Do})),i.d(g,"isVerticalScrollShowing",(function(){return Oo})),i.d(g,"setElementWidth",(function(){return Po})),i.d(g,"setFixedWidth",(function(){return Ao})),i.d(g,"setElementHeight",(function(){return Fo})),i.d(g,"setFixedHeight",(function(){return Lo})),i.d(g,"formatSize",(function(){return Mo})),i.d(g,"isNodeOrElement",(function(){return Io})),i.d(g,"copyNodeList",(function(){return No})),i.d(g,"iterateNamedNodeMap",(function(){return Go})),i.d(g,"addOrRemoveAttribute",(function(){return xo})),i.d(g,"nodeListForEach",(function(){return _o})),i.d(g,"bindCellRendererToHtmlElement",(function(){return Vo}));var m={};i.r(m),i.d(m,"fuzzyCheckStrings",(function(){return Ho})),i.d(m,"fuzzySuggestions",(function(){return ko}));var C={};i.r(C),i.d(C,"iconNameClassMap",(function(){return Wo})),i.d(C,"createIcon",(function(){return Uo})),i.d(C,"createIconNoSpan",(function(){return zo}));var v={};i.r(v),i.d(v,"isEventFromPrintableCharacter",(function(){return Ko})),i.d(v,"isUserSuppressingKeyboardEvent",(function(){return Yo})),i.d(v,"isUserSuppressingHeaderKeyboardEvent",(function(){return $o})),i.d(v,"normaliseQwertyAzerty",(function(){return qo})),i.d(v,"isDeleteKey",(function(){return Qo}));var f={};i.r(f),i.d(f,"areEventsNear",(function(){return Xo}));var S={};i.r(S),i.d(S,"sortRowNodesByOrder",(function(){return Jo}));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 b(e){return null==e||0===e.length}function T(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 Zo}));class M{constructor(){this.existingKeys={}}addExistingKeys(e){for(let t=0;t<e.length;t++)this.existingKeys[e[t]]=!0}getUniqueKey(e,t){e=T(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 I(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 N(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,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=k(s)&&s.constructor===Object;o[e]=r?G(s):s}),o}function x(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 _(e,t,i=!0,o=!1){E(t)&&I(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)}}k(s)&&k(r)&&!Array.isArray(r)?_(r,s,i,o):(i||void 0!==s)&&(e[t]=s)}})}function V(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 H(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 k(e){return"object"==typeof e&&null!==e}const B={};function W(e,t){B[t]||(e(),B[t]=!0)}function U(e){W(()=>console.warn("AG Grid: "+e),e)}function z(e){W(()=>console.error("AG Grid: "+e),e)}function j(e){if(e.name)return e.name;const t=/function\s+([^\(]+)/.exec(e.toString());return t&&2===t.length?t[1].trim():null}function K(e){return!!(e&&e.constructor&&e.call&&e.apply)}function Y(e){X(e,400)}const $=[];let q=!1;function Q(e){$.push(e),q||(q=!0,window.setTimeout(()=>{const e=$.slice();$.length=0,q=!1,e.forEach(e=>e())},0))}function X(e,t=0){e.length>0&&window.setTimeout(()=>e.forEach(e=>e()),t)}function J(e,t){let i;return function(...o){const s=this;window.clearTimeout(i),i=window.setTimeout((function(){e.apply(s,o)}),t)}}function Z(e,t){let i=0;return function(...o){const s=(new Date).getTime();s-i<t||(i=s,e.apply(this,o))}}function ee(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 te(...e){return t=>e.reduce((e,t)=>t(e),t)}const ie=()=>{};var oe;!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"}(oe||(oe={}));class se{static register(e){se.__register(e,!0,void 0)}static registerModules(e){se.__registerModules(e,!0,void 0)}static __register(e,t,i){se.runVersionChecks(e),void 0!==i?(se.areGridScopedModules=!0,void 0===se.gridModulesMap[i]&&(se.gridModulesMap[i]={}),se.gridModulesMap[i][e.moduleName]=e):se.globalModulesMap[e.moduleName]=e,se.setModuleBased(t)}static __unRegisterGridModules(e){delete se.gridModulesMap[e]}static __registerModules(e,t,i){se.setModuleBased(t),e&&e.forEach(e=>se.__register(e,t,i))}static isValidModuleVersion(e){const[t,i]=e.version.split(".")||[],[o,s]=se.currentModuleVersion.split(".")||[];return t===o&&i===s}static runVersionChecks(e){if(se.currentModuleVersion||(se.currentModuleVersion=e.version),e.version?se.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===se.moduleBased?se.moduleBased=e:se.moduleBased!==e&&W(()=>{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(){se.isBundled=!0}static __assertRegistered(e,t,i){var o;if(this.__isRegistered(e,i))return!0;const s=t+e;let r;if(se.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(se.moduleBased||void 0===se.moduleBased){let s=null===(o=Object.entries(oe).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${se.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 W(()=>{console.warn(r)},s),!1}static __warnEnterpriseChartDisabled(e){const t=`AG Grid: the '${e}' chart type is not supported in AG Charts Community. See https://ag-grid.com/javascript-data-grid/integrated-charts/ for more details.`;W(()=>{console.warn(t)},"ag-charts-enterprise:"+e)}static __isRegistered(e,t){var i;return!!se.globalModulesMap[e]||!!(null===(i=se.gridModulesMap[t])||void 0===i?void 0:i[e])}static __getRegisteredModules(e){return[...L(se.globalModulesMap),...L(se.gridModulesMap[e]||{})]}static __getGridRegisteredModules(e){var t;return L(null!==(t=se.gridModulesMap[e])&&void 0!==t?t:{})||[]}static __isPackageBased(){return!se.moduleBased}}se.globalModulesMap={},se.gridModulesMap={},se.areGridScopedModules=!1;class re{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)),I(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?j(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)=>{I(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&&I(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,se.__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 ne(e,t,i){const o=ge(e.constructor);o.preConstructMethods||(o.preConstructMethods=[]),o.preConstructMethods.push(t)}function le(e,t,i){const o=ge(e.constructor);o.postConstructMethods||(o.postConstructMethods=[]),o.postConstructMethods.push(t)}function ae(e,t,i){const o=ge(e.constructor);o.preDestroyMethods||(o.preDestroyMethods=[]),o.preDestroyMethods.push(t)}function de(e){return t=>{ge(t).beanName=e}}function ce(e){return(t,i,o)=>{ue(t,e,!1,t,i,null)}}function he(e){return(t,i,o)=>{ue(t,e,!0,t,i,null)}}function ue(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=ge(e.constructor);n.agClassAttributes||(n.agClassAttributes=[]),n.agClassAttributes.push({attributeName:s,beanName:t,optional:i})}function pe(e){return(t,i,o)=>{const s="function"==typeof t?t:t.constructor;let r;if("number"==typeof o){let t;i?(r=ge(s),t=i):(r=ge(s),t="agConstructor"),r.autowireMethods||(r.autowireMethods={}),r.autowireMethods[t]||(r.autowireMethods[t]={}),r.autowireMethods[t][o]=e}}}function ge(e){return e.hasOwnProperty("__agBeanMetaData")||(e.__agBeanMetaData={}),e.__agBeanMetaData}var me=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},Ce=function(e,t){return function(i,o){t(i,o,e)}};let ve=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=null,o=null){if(this.frameworkOverrides=t,this.gridOptionsService=e,i){const t=e.useAsyncEvents();this.addGlobalListener(i,t)}o&&this.addGlobalListener(o,!1)}setFrameworkOverrides(e){this.frameworkOverrides=e}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;this.gridOptionsService&&this.gridOptionsService.addGridCommonParams(t),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=>{if(!o.has(i))return;const s=this.frameworkOverrides?()=>this.frameworkOverrides.wrapIncoming(()=>i(e)):()=>i(e);t?this.dispatchAsync(s):s()}),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=>{const s=this.frameworkOverrides?()=>this.frameworkOverrides.wrapIncoming(()=>i(o,e)):()=>i(o,e);t?this.dispatchAsync(s):s()})}dispatchAsync(e){this.asyncFunctionsQueue.push(e),this.scheduled||(this.frameworkOverrides.wrapIncoming(()=>{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())}};me([Ce(0,pe("gridOptionsService")),Ce(1,pe("frameworkOverrides")),Ce(2,pe("globalEventListener")),Ce(3,pe("globalSyncEventListener"))],ve.prototype,"setBeans",null),ve=me([de("eventService")],ve);class fe{constructor(e){this.frameworkOverrides=e,this.wrappedListeners=new Map,this.wrappedGlobalListeners=new Map}wrap(e){let t=e;return this.frameworkOverrides.shouldWrapOutgoing&&(t=t=>{this.frameworkOverrides.wrapOutgoing(()=>e(t))},this.wrappedListeners.set(e,t)),t}wrapGlobal(e){let t=e;return this.frameworkOverrides.shouldWrapOutgoing&&(t=(t,i)=>{this.frameworkOverrides.wrapOutgoing(()=>e(t,i))},this.wrappedGlobalListeners.set(e,t)),t}unwrap(e){var t;return null!==(t=this.wrappedListeners.get(e))&&void 0!==t?t:e}unwrapGlobal(e){var t;return null!==(t=this.wrappedGlobalListeners.get(e))&&void 0!==t?t:e}}var Se=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 we={resizable:!0,sortable:!0};let ye=0;function Ee(){return ye++}class Re{constructor(e,t,i,o){this.instanceId=Ee(),this.autoHeaderHeight=null,this.moving=!1,this.menuVisible=!1,this.lastLeftPinned=!1,this.firstRightPinned=!1,this.filterActive=!1,this.eventService=new ve,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){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){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){var i,o;this.frameworkOverrides.shouldWrapOutgoing&&!this.frameworkEventListenerService&&(this.eventService.setFrameworkOverrides(this.frameworkOverrides),this.frameworkEventListenerService=new fe(this.frameworkOverrides));const s=null!==(o=null===(i=this.frameworkEventListenerService)||void 0===i?void 0:i.wrap(t))&&void 0!==o?o:t;this.eventService.addEventListener(e,s)}removeEventListener(e,t){var i,o;const s=null!==(o=null===(i=this.frameworkEventListenerService)||void 0===i?void 0:i.unwrap(t))&&void 0!==o?o:t;this.eventService.removeEventListener(e,s)}createColumnFunctionCallbackParams(e){return this.gridOptionsService.addGridCommonParams({node:e,data:e.data,column:this,colDef:this.colDef})}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:we[e]}isColumnFunc(e,t){if("boolean"==typeof t)return t;if("function"==typeof t){return t(this.createColumnFunctionCallbackParams(e))}return!1}setMoving(e,t){this.moving=e,this.eventService.dispatchEvent(this.createColumnEvent("movingChanged",t))}createColumnEvent(e,t){return this.gridOptionsService.addGridCommonParams({type:e,column:this,columns:[this],source:t})}isMoving(){return this.moving}getSort(){return this.sort}setSort(e,t){this.sort!==e&&(this.sort=e,this.eventService.dispatchEvent(this.createColumnEvent("sortChanged",t))),this.dispatchStateUpdatedEvent("sort")}setMenuVisible(e,t){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){this.oldLeft=this.left,this.left!==e&&(this.left=e,this.eventService.dispatchEvent(this.createColumnEvent("leftChanged",t)))}isFilterActive(){return this.filterActive}setFilterActive(e,t,i){this.filterActive!==e&&(this.filterActive=e,this.eventService.dispatchEvent(this.createColumnEvent("filterActiveChanged",t)));const o=this.createColumnEvent("filterChanged",t);i&&_(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){this.firstRightPinned!==e&&(this.firstRightPinned=e,this.eventService.dispatchEvent(this.createColumnEvent("firstRightPinnedChanged",t)))}setLastLeftPinned(e,t){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){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}getColumnGroupPaddingInfo(){let e=this.getParent();if(!e||!e.isPadding())return{numberOfParents:0,isSpanningTotal:!1};const t=e.getPaddingLevel()+1;let i=!0;for(;e;){if(!e.isPadding()){i=!1;break}e=e.getParent()}return{numberOfParents:t,isSpanningTotal:i}}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 this.gridOptionsService.addGridCommonParams({node:e,data:e.data,colDef:this.colDef,column:this})}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,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){E(this.minWidth)&&this.setActualWidth(this.minWidth,e)}setRowGroupActive(e,t){this.rowGroupActive!==e&&(this.rowGroupActive=e,this.eventService.dispatchEvent(this.createColumnEvent("columnRowGroupChanged",t))),this.dispatchStateUpdatedEvent("rowGroup")}isRowGroupActive(){return this.rowGroupActive}setPivotActive(e,t){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){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){U("As of v31.1, 'getMenuTabs' is deprecated. Use 'getColDef().menuTabs ?? defaultValues' instead.");let t=this.getColDef().menuTabs;return null==t&&(t=e),t}dispatchStateUpdatedEvent(e){this.eventService.dispatchEvent({type:Re.EVENT_STATE_UPDATED,key:e})}}Re.EVENT_MOVING_CHANGED="movingChanged",Re.EVENT_LEFT_CHANGED="leftChanged",Re.EVENT_WIDTH_CHANGED="widthChanged",Re.EVENT_LAST_LEFT_PINNED_CHANGED="lastLeftPinnedChanged",Re.EVENT_FIRST_RIGHT_PINNED_CHANGED="firstRightPinnedChanged",Re.EVENT_VISIBLE_CHANGED="visibleChanged",Re.EVENT_FILTER_CHANGED="filterChanged",Re.EVENT_FILTER_ACTIVE_CHANGED="filterActiveChanged",Re.EVENT_SORT_CHANGED="sortChanged",Re.EVENT_COL_DEF_CHANGED="colDefChanged",Re.EVENT_MENU_VISIBLE_CHANGED="menuVisibleChanged",Re.EVENT_ROW_GROUP_CHANGED="columnRowGroupChanged",Re.EVENT_PIVOT_CHANGED="columnPivotChanged",Re.EVENT_VALUE_CHANGED="columnValueChanged",Re.EVENT_STATE_UPDATED="columnStateUpdated",Se([ce("gridOptionsService")],Re.prototype,"gridOptionsService",void 0),Se([ce("columnUtils")],Re.prototype,"columnUtils",void 0),Se([ce("columnHoverService")],Re.prototype,"columnHoverService",void 0),Se([ce("frameworkOverrides")],Re.prototype,"frameworkOverrides",void 0),Se([le],Re.prototype,"initialise",null);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};class Te{constructor(e,t,i,o){this.localEventService=new ve,this.expandable=!1,this.instanceId=Ee(),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.childr