ag-grid-angular.js 86 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598
  1. import { __decorate, __metadata } from 'tslib';
  2. import { ContentChildren, QueryList, Input, Component, NgZone, Injectable, EventEmitter, ElementRef, ViewContainerRef, ComponentFactoryResolver, Output, ViewEncapsulation, ANALYZE_FOR_ENTRY_COMPONENTS, NgModule } from '@angular/core';
  3. import { VanillaFrameworkOverrides, BaseComponentWrapper, Promise, ComponentUtil, Grid, _, Events, GridOptionsWrapper } from 'ag-grid-community';
  4. var AgGridColumn_1;
  5. let AgGridColumn = AgGridColumn_1 = class AgGridColumn {
  6. hasChildColumns() {
  7. if (this.childColumns && this.childColumns.length > 0) {
  8. // necessary because of https://github.com/angular/angular/issues/10098
  9. return !(this.childColumns.length === 1 && this.childColumns.first === this);
  10. }
  11. return false;
  12. }
  13. toColDef() {
  14. let colDef = this.createColDefFromGridColumn(this);
  15. if (this.hasChildColumns()) {
  16. colDef["children"] = this.getChildColDefs(this.childColumns);
  17. }
  18. return colDef;
  19. }
  20. getChildColDefs(childColumns) {
  21. return childColumns
  22. // necessary because of https://github.com/angular/angular/issues/10098
  23. .filter(column => !column.hasChildColumns())
  24. .map((column) => {
  25. return column.toColDef();
  26. });
  27. }
  28. ;
  29. createColDefFromGridColumn(from) {
  30. let colDef = {};
  31. Object.assign(colDef, from);
  32. delete colDef.childColumns;
  33. return colDef;
  34. }
  35. ;
  36. };
  37. __decorate([
  38. ContentChildren(AgGridColumn_1),
  39. __metadata("design:type", QueryList)
  40. ], AgGridColumn.prototype, "childColumns", void 0);
  41. __decorate([
  42. Input(),
  43. __metadata("design:type", Object)
  44. ], AgGridColumn.prototype, "children", void 0);
  45. __decorate([
  46. Input(),
  47. __metadata("design:type", Object)
  48. ], AgGridColumn.prototype, "sortingOrder", void 0);
  49. __decorate([
  50. Input(),
  51. __metadata("design:type", Object)
  52. ], AgGridColumn.prototype, "allowedAggFuncs", void 0);
  53. __decorate([
  54. Input(),
  55. __metadata("design:type", Object)
  56. ], AgGridColumn.prototype, "menuTabs", void 0);
  57. __decorate([
  58. Input(),
  59. __metadata("design:type", Object)
  60. ], AgGridColumn.prototype, "cellClassRules", void 0);
  61. __decorate([
  62. Input(),
  63. __metadata("design:type", Object)
  64. ], AgGridColumn.prototype, "icons", void 0);
  65. __decorate([
  66. Input(),
  67. __metadata("design:type", Object)
  68. ], AgGridColumn.prototype, "headerGroupComponent", void 0);
  69. __decorate([
  70. Input(),
  71. __metadata("design:type", Object)
  72. ], AgGridColumn.prototype, "headerGroupComponentFramework", void 0);
  73. __decorate([
  74. Input(),
  75. __metadata("design:type", Object)
  76. ], AgGridColumn.prototype, "headerGroupComponentParams", void 0);
  77. __decorate([
  78. Input(),
  79. __metadata("design:type", Object)
  80. ], AgGridColumn.prototype, "cellStyle", void 0);
  81. __decorate([
  82. Input(),
  83. __metadata("design:type", Object)
  84. ], AgGridColumn.prototype, "cellRendererParams", void 0);
  85. __decorate([
  86. Input(),
  87. __metadata("design:type", Object)
  88. ], AgGridColumn.prototype, "cellEditorFramework", void 0);
  89. __decorate([
  90. Input(),
  91. __metadata("design:type", Object)
  92. ], AgGridColumn.prototype, "cellEditorParams", void 0);
  93. __decorate([
  94. Input(),
  95. __metadata("design:type", Object)
  96. ], AgGridColumn.prototype, "pinnedRowCellRendererFramework", void 0);
  97. __decorate([
  98. Input(),
  99. __metadata("design:type", Object)
  100. ], AgGridColumn.prototype, "pinnedRowCellRendererParams", void 0);
  101. __decorate([
  102. Input(),
  103. __metadata("design:type", Object)
  104. ], AgGridColumn.prototype, "filterFramework", void 0);
  105. __decorate([
  106. Input(),
  107. __metadata("design:type", Object)
  108. ], AgGridColumn.prototype, "filterParams", void 0);
  109. __decorate([
  110. Input(),
  111. __metadata("design:type", Object)
  112. ], AgGridColumn.prototype, "headerComponent", void 0);
  113. __decorate([
  114. Input(),
  115. __metadata("design:type", Object)
  116. ], AgGridColumn.prototype, "headerComponentFramework", void 0);
  117. __decorate([
  118. Input(),
  119. __metadata("design:type", Object)
  120. ], AgGridColumn.prototype, "headerComponentParams", void 0);
  121. __decorate([
  122. Input(),
  123. __metadata("design:type", Object)
  124. ], AgGridColumn.prototype, "floatingFilterComponent", void 0);
  125. __decorate([
  126. Input(),
  127. __metadata("design:type", Object)
  128. ], AgGridColumn.prototype, "floatingFilterComponentParams", void 0);
  129. __decorate([
  130. Input(),
  131. __metadata("design:type", Object)
  132. ], AgGridColumn.prototype, "floatingFilterComponentFramework", void 0);
  133. __decorate([
  134. Input(),
  135. __metadata("design:type", Object)
  136. ], AgGridColumn.prototype, "tooltipComponent", void 0);
  137. __decorate([
  138. Input(),
  139. __metadata("design:type", Object)
  140. ], AgGridColumn.prototype, "tooltipComponentParams", void 0);
  141. __decorate([
  142. Input(),
  143. __metadata("design:type", Object)
  144. ], AgGridColumn.prototype, "tooltipComponentFramework", void 0);
  145. __decorate([
  146. Input(),
  147. __metadata("design:type", Object)
  148. ], AgGridColumn.prototype, "refData", void 0);
  149. __decorate([
  150. Input(),
  151. __metadata("design:type", Object)
  152. ], AgGridColumn.prototype, "headerName", void 0);
  153. __decorate([
  154. Input(),
  155. __metadata("design:type", Object)
  156. ], AgGridColumn.prototype, "columnGroupShow", void 0);
  157. __decorate([
  158. Input(),
  159. __metadata("design:type", Object)
  160. ], AgGridColumn.prototype, "headerClass", void 0);
  161. __decorate([
  162. Input(),
  163. __metadata("design:type", Object)
  164. ], AgGridColumn.prototype, "toolPanelClass", void 0);
  165. __decorate([
  166. Input(),
  167. __metadata("design:type", Object)
  168. ], AgGridColumn.prototype, "headerValueGetter", void 0);
  169. __decorate([
  170. Input(),
  171. __metadata("design:type", Object)
  172. ], AgGridColumn.prototype, "groupId", void 0);
  173. __decorate([
  174. Input(),
  175. __metadata("design:type", Object)
  176. ], AgGridColumn.prototype, "colId", void 0);
  177. __decorate([
  178. Input(),
  179. __metadata("design:type", Object)
  180. ], AgGridColumn.prototype, "sort", void 0);
  181. __decorate([
  182. Input(),
  183. __metadata("design:type", Object)
  184. ], AgGridColumn.prototype, "field", void 0);
  185. __decorate([
  186. Input(),
  187. __metadata("design:type", Object)
  188. ], AgGridColumn.prototype, "type", void 0);
  189. __decorate([
  190. Input(),
  191. __metadata("design:type", Object)
  192. ], AgGridColumn.prototype, "tooltipField", void 0);
  193. __decorate([
  194. Input(),
  195. __metadata("design:type", Object)
  196. ], AgGridColumn.prototype, "headerTooltip", void 0);
  197. __decorate([
  198. Input(),
  199. __metadata("design:type", Object)
  200. ], AgGridColumn.prototype, "cellClass", void 0);
  201. __decorate([
  202. Input(),
  203. __metadata("design:type", Object)
  204. ], AgGridColumn.prototype, "showRowGroup", void 0);
  205. __decorate([
  206. Input(),
  207. __metadata("design:type", Object)
  208. ], AgGridColumn.prototype, "filter", void 0);
  209. __decorate([
  210. Input(),
  211. __metadata("design:type", Object)
  212. ], AgGridColumn.prototype, "aggFunc", void 0);
  213. __decorate([
  214. Input(),
  215. __metadata("design:type", Object)
  216. ], AgGridColumn.prototype, "cellRenderer", void 0);
  217. __decorate([
  218. Input(),
  219. __metadata("design:type", Object)
  220. ], AgGridColumn.prototype, "cellEditor", void 0);
  221. __decorate([
  222. Input(),
  223. __metadata("design:type", Object)
  224. ], AgGridColumn.prototype, "pinned", void 0);
  225. __decorate([
  226. Input(),
  227. __metadata("design:type", Object)
  228. ], AgGridColumn.prototype, "chartDataType", void 0);
  229. __decorate([
  230. Input(),
  231. __metadata("design:type", Object)
  232. ], AgGridColumn.prototype, "sortedAt", void 0);
  233. __decorate([
  234. Input(),
  235. __metadata("design:type", Object)
  236. ], AgGridColumn.prototype, "flex", void 0);
  237. __decorate([
  238. Input(),
  239. __metadata("design:type", Object)
  240. ], AgGridColumn.prototype, "width", void 0);
  241. __decorate([
  242. Input(),
  243. __metadata("design:type", Object)
  244. ], AgGridColumn.prototype, "minWidth", void 0);
  245. __decorate([
  246. Input(),
  247. __metadata("design:type", Object)
  248. ], AgGridColumn.prototype, "maxWidth", void 0);
  249. __decorate([
  250. Input(),
  251. __metadata("design:type", Object)
  252. ], AgGridColumn.prototype, "rowGroupIndex", void 0);
  253. __decorate([
  254. Input(),
  255. __metadata("design:type", Object)
  256. ], AgGridColumn.prototype, "pivotIndex", void 0);
  257. __decorate([
  258. Input(),
  259. __metadata("design:type", Object)
  260. ], AgGridColumn.prototype, "dndSourceOnRowDrag", void 0);
  261. __decorate([
  262. Input(),
  263. __metadata("design:type", Object)
  264. ], AgGridColumn.prototype, "valueGetter", void 0);
  265. __decorate([
  266. Input(),
  267. __metadata("design:type", Object)
  268. ], AgGridColumn.prototype, "valueSetter", void 0);
  269. __decorate([
  270. Input(),
  271. __metadata("design:type", Object)
  272. ], AgGridColumn.prototype, "filterValueGetter", void 0);
  273. __decorate([
  274. Input(),
  275. __metadata("design:type", Object)
  276. ], AgGridColumn.prototype, "keyCreator", void 0);
  277. __decorate([
  278. Input(),
  279. __metadata("design:type", Object)
  280. ], AgGridColumn.prototype, "cellRendererFramework", void 0);
  281. __decorate([
  282. Input(),
  283. __metadata("design:type", Object)
  284. ], AgGridColumn.prototype, "pinnedRowCellRenderer", void 0);
  285. __decorate([
  286. Input(),
  287. __metadata("design:type", Object)
  288. ], AgGridColumn.prototype, "valueFormatter", void 0);
  289. __decorate([
  290. Input(),
  291. __metadata("design:type", Object)
  292. ], AgGridColumn.prototype, "pinnedRowValueFormatter", void 0);
  293. __decorate([
  294. Input(),
  295. __metadata("design:type", Object)
  296. ], AgGridColumn.prototype, "valueParser", void 0);
  297. __decorate([
  298. Input(),
  299. __metadata("design:type", Object)
  300. ], AgGridColumn.prototype, "comparator", void 0);
  301. __decorate([
  302. Input(),
  303. __metadata("design:type", Object)
  304. ], AgGridColumn.prototype, "equals", void 0);
  305. __decorate([
  306. Input(),
  307. __metadata("design:type", Object)
  308. ], AgGridColumn.prototype, "pivotComparator", void 0);
  309. __decorate([
  310. Input(),
  311. __metadata("design:type", Object)
  312. ], AgGridColumn.prototype, "suppressKeyboardEvent", void 0);
  313. __decorate([
  314. Input(),
  315. __metadata("design:type", Object)
  316. ], AgGridColumn.prototype, "colSpan", void 0);
  317. __decorate([
  318. Input(),
  319. __metadata("design:type", Object)
  320. ], AgGridColumn.prototype, "rowSpan", void 0);
  321. __decorate([
  322. Input(),
  323. __metadata("design:type", Object)
  324. ], AgGridColumn.prototype, "getQuickFilterText", void 0);
  325. __decorate([
  326. Input(),
  327. __metadata("design:type", Object)
  328. ], AgGridColumn.prototype, "newValueHandler", void 0);
  329. __decorate([
  330. Input(),
  331. __metadata("design:type", Object)
  332. ], AgGridColumn.prototype, "onCellValueChanged", void 0);
  333. __decorate([
  334. Input(),
  335. __metadata("design:type", Object)
  336. ], AgGridColumn.prototype, "onCellClicked", void 0);
  337. __decorate([
  338. Input(),
  339. __metadata("design:type", Object)
  340. ], AgGridColumn.prototype, "onCellDoubleClicked", void 0);
  341. __decorate([
  342. Input(),
  343. __metadata("design:type", Object)
  344. ], AgGridColumn.prototype, "onCellContextMenu", void 0);
  345. __decorate([
  346. Input(),
  347. __metadata("design:type", Object)
  348. ], AgGridColumn.prototype, "rowDragText", void 0);
  349. __decorate([
  350. Input(),
  351. __metadata("design:type", Object)
  352. ], AgGridColumn.prototype, "tooltip", void 0);
  353. __decorate([
  354. Input(),
  355. __metadata("design:type", Object)
  356. ], AgGridColumn.prototype, "tooltipValueGetter", void 0);
  357. __decorate([
  358. Input(),
  359. __metadata("design:type", Object)
  360. ], AgGridColumn.prototype, "cellRendererSelector", void 0);
  361. __decorate([
  362. Input(),
  363. __metadata("design:type", Object)
  364. ], AgGridColumn.prototype, "cellEditorSelector", void 0);
  365. __decorate([
  366. Input(),
  367. __metadata("design:type", Object)
  368. ], AgGridColumn.prototype, "suppressCellFlash", void 0);
  369. __decorate([
  370. Input(),
  371. __metadata("design:type", Object)
  372. ], AgGridColumn.prototype, "suppressColumnsToolPanel", void 0);
  373. __decorate([
  374. Input(),
  375. __metadata("design:type", Object)
  376. ], AgGridColumn.prototype, "suppressFiltersToolPanel", void 0);
  377. __decorate([
  378. Input(),
  379. __metadata("design:type", Object)
  380. ], AgGridColumn.prototype, "openByDefault", void 0);
  381. __decorate([
  382. Input(),
  383. __metadata("design:type", Object)
  384. ], AgGridColumn.prototype, "marryChildren", void 0);
  385. __decorate([
  386. Input(),
  387. __metadata("design:type", Object)
  388. ], AgGridColumn.prototype, "hide", void 0);
  389. __decorate([
  390. Input(),
  391. __metadata("design:type", Object)
  392. ], AgGridColumn.prototype, "rowGroup", void 0);
  393. __decorate([
  394. Input(),
  395. __metadata("design:type", Object)
  396. ], AgGridColumn.prototype, "pivot", void 0);
  397. __decorate([
  398. Input(),
  399. __metadata("design:type", Object)
  400. ], AgGridColumn.prototype, "checkboxSelection", void 0);
  401. __decorate([
  402. Input(),
  403. __metadata("design:type", Object)
  404. ], AgGridColumn.prototype, "headerCheckboxSelection", void 0);
  405. __decorate([
  406. Input(),
  407. __metadata("design:type", Object)
  408. ], AgGridColumn.prototype, "headerCheckboxSelectionFilteredOnly", void 0);
  409. __decorate([
  410. Input(),
  411. __metadata("design:type", Object)
  412. ], AgGridColumn.prototype, "suppressMenu", void 0);
  413. __decorate([
  414. Input(),
  415. __metadata("design:type", Object)
  416. ], AgGridColumn.prototype, "suppressSorting", void 0);
  417. __decorate([
  418. Input(),
  419. __metadata("design:type", Object)
  420. ], AgGridColumn.prototype, "suppressMovable", void 0);
  421. __decorate([
  422. Input(),
  423. __metadata("design:type", Object)
  424. ], AgGridColumn.prototype, "suppressFilter", void 0);
  425. __decorate([
  426. Input(),
  427. __metadata("design:type", Object)
  428. ], AgGridColumn.prototype, "lockPosition", void 0);
  429. __decorate([
  430. Input(),
  431. __metadata("design:type", Object)
  432. ], AgGridColumn.prototype, "lockVisible", void 0);
  433. __decorate([
  434. Input(),
  435. __metadata("design:type", Object)
  436. ], AgGridColumn.prototype, "lockPinned", void 0);
  437. __decorate([
  438. Input(),
  439. __metadata("design:type", Object)
  440. ], AgGridColumn.prototype, "unSortIcon", void 0);
  441. __decorate([
  442. Input(),
  443. __metadata("design:type", Object)
  444. ], AgGridColumn.prototype, "suppressSizeToFit", void 0);
  445. __decorate([
  446. Input(),
  447. __metadata("design:type", Object)
  448. ], AgGridColumn.prototype, "suppressResize", void 0);
  449. __decorate([
  450. Input(),
  451. __metadata("design:type", Object)
  452. ], AgGridColumn.prototype, "suppressAutoSize", void 0);
  453. __decorate([
  454. Input(),
  455. __metadata("design:type", Object)
  456. ], AgGridColumn.prototype, "enableRowGroup", void 0);
  457. __decorate([
  458. Input(),
  459. __metadata("design:type", Object)
  460. ], AgGridColumn.prototype, "enablePivot", void 0);
  461. __decorate([
  462. Input(),
  463. __metadata("design:type", Object)
  464. ], AgGridColumn.prototype, "enableValue", void 0);
  465. __decorate([
  466. Input(),
  467. __metadata("design:type", Object)
  468. ], AgGridColumn.prototype, "editable", void 0);
  469. __decorate([
  470. Input(),
  471. __metadata("design:type", Object)
  472. ], AgGridColumn.prototype, "suppressPaste", void 0);
  473. __decorate([
  474. Input(),
  475. __metadata("design:type", Object)
  476. ], AgGridColumn.prototype, "suppressNavigable", void 0);
  477. __decorate([
  478. Input(),
  479. __metadata("design:type", Object)
  480. ], AgGridColumn.prototype, "enableCellChangeFlash", void 0);
  481. __decorate([
  482. Input(),
  483. __metadata("design:type", Object)
  484. ], AgGridColumn.prototype, "rowDrag", void 0);
  485. __decorate([
  486. Input(),
  487. __metadata("design:type", Object)
  488. ], AgGridColumn.prototype, "dndSource", void 0);
  489. __decorate([
  490. Input(),
  491. __metadata("design:type", Object)
  492. ], AgGridColumn.prototype, "autoHeight", void 0);
  493. __decorate([
  494. Input(),
  495. __metadata("design:type", Object)
  496. ], AgGridColumn.prototype, "sortable", void 0);
  497. __decorate([
  498. Input(),
  499. __metadata("design:type", Object)
  500. ], AgGridColumn.prototype, "resizable", void 0);
  501. __decorate([
  502. Input(),
  503. __metadata("design:type", Object)
  504. ], AgGridColumn.prototype, "singleClickEdit", void 0);
  505. __decorate([
  506. Input(),
  507. __metadata("design:type", Object)
  508. ], AgGridColumn.prototype, "floatingFilter", void 0);
  509. AgGridColumn = AgGridColumn_1 = __decorate([
  510. Component({
  511. selector: 'ag-grid-column',
  512. template: ''
  513. })
  514. ], AgGridColumn);
  515. let AngularFrameworkOverrides = class AngularFrameworkOverrides extends VanillaFrameworkOverrides {
  516. constructor(_ngZone) {
  517. super();
  518. this._ngZone = _ngZone;
  519. }
  520. setTimeout(action, timeout) {
  521. this._ngZone.runOutsideAngular(() => {
  522. window.setTimeout(() => {
  523. action();
  524. }, timeout);
  525. });
  526. }
  527. addEventListenerOutsideAngular(element, type, listener, useCapture) {
  528. this._ngZone.runOutsideAngular(() => {
  529. super.addEventListenerOutsideAngular(element, type, listener, useCapture);
  530. });
  531. }
  532. };
  533. AngularFrameworkOverrides.ctorParameters = () => [
  534. { type: NgZone }
  535. ];
  536. AngularFrameworkOverrides = __decorate([
  537. Injectable(),
  538. __metadata("design:paramtypes", [NgZone])
  539. ], AngularFrameworkOverrides);
  540. let AngularFrameworkComponentWrapper = class AngularFrameworkComponentWrapper extends BaseComponentWrapper {
  541. setViewContainerRef(viewContainerRef) {
  542. this.viewContainerRef = viewContainerRef;
  543. }
  544. setComponentFactoryResolver(componentFactoryResolver) {
  545. this.componentFactoryResolver = componentFactoryResolver;
  546. }
  547. createWrapper(OriginalConstructor) {
  548. let that = this;
  549. class DynamicAgNg2Component extends BaseGuiComponent {
  550. init(params) {
  551. super.init(params);
  552. this._componentRef.changeDetectorRef.detectChanges();
  553. }
  554. createComponent() {
  555. return that.createComponent(OriginalConstructor);
  556. }
  557. hasMethod(name) {
  558. return wrapper.getFrameworkComponentInstance()[name] != null;
  559. }
  560. callMethod(name, args) {
  561. const componentRef = this.getFrameworkComponentInstance();
  562. return wrapper.getFrameworkComponentInstance()[name].apply(componentRef, args);
  563. }
  564. addMethod(name, callback) {
  565. wrapper[name] = callback;
  566. }
  567. }
  568. let wrapper = new DynamicAgNg2Component();
  569. return wrapper;
  570. }
  571. createComponent(componentType) {
  572. // used to cache the factory, but this a) caused issues when used with either webpack/angularcli with --prod
  573. // but more significantly, the underlying implementation of resolveComponentFactory uses a map too, so us
  574. // caching the factory here yields no performance benefits
  575. let factory = this.componentFactoryResolver.resolveComponentFactory(componentType);
  576. return this.viewContainerRef.createComponent(factory);
  577. }
  578. };
  579. AngularFrameworkComponentWrapper = __decorate([
  580. Injectable()
  581. ], AngularFrameworkComponentWrapper);
  582. class BaseGuiComponent {
  583. init(params) {
  584. this._params = params;
  585. this._componentRef = this.createComponent();
  586. this._agAwareComponent = this._componentRef.instance;
  587. this._frameworkComponentInstance = this._componentRef.instance;
  588. this._eGui = this._componentRef.location.nativeElement;
  589. this._agAwareComponent.agInit(this._params);
  590. }
  591. getGui() {
  592. return this._eGui;
  593. }
  594. destroy() {
  595. if (this._componentRef) {
  596. this._componentRef.destroy();
  597. }
  598. }
  599. getFrameworkComponentInstance() {
  600. return this._frameworkComponentInstance;
  601. }
  602. }
  603. let AgGridAngular = class AgGridAngular {
  604. constructor(elementDef, viewContainerRef, angularFrameworkOverrides, frameworkComponentWrapper, _componentFactoryResolver) {
  605. this.viewContainerRef = viewContainerRef;
  606. this.angularFrameworkOverrides = angularFrameworkOverrides;
  607. this.frameworkComponentWrapper = frameworkComponentWrapper;
  608. this._componentFactoryResolver = _componentFactoryResolver;
  609. this._initialised = false;
  610. this._destroyed = false;
  611. // in order to ensure firing of gridReady is deterministic
  612. this._fullyReady = Promise.resolve(true);
  613. // @START@
  614. this.slaveGrids = undefined;
  615. this.alignedGrids = undefined;
  616. this.rowData = undefined;
  617. this.columnDefs = undefined;
  618. this.excelStyles = undefined;
  619. this.pinnedTopRowData = undefined;
  620. this.pinnedBottomRowData = undefined;
  621. this.components = undefined;
  622. this.frameworkComponents = undefined;
  623. this.rowStyle = undefined;
  624. this.context = undefined;
  625. this.autoGroupColumnDef = undefined;
  626. this.groupColumnDef = undefined;
  627. this.localeText = undefined;
  628. this.icons = undefined;
  629. this.datasource = undefined;
  630. this.serverSideDatasource = undefined;
  631. this.viewportDatasource = undefined;
  632. this.groupRowRendererParams = undefined;
  633. this.aggFuncs = undefined;
  634. this.fullWidthCellRendererParams = undefined;
  635. this.defaultColGroupDef = undefined;
  636. this.defaultColDef = undefined;
  637. this.defaultExportParams = undefined;
  638. this.columnTypes = undefined;
  639. this.rowClassRules = undefined;
  640. this.detailGridOptions = undefined;
  641. this.detailCellRendererParams = undefined;
  642. this.loadingCellRendererParams = undefined;
  643. this.loadingOverlayComponentParams = undefined;
  644. this.noRowsOverlayComponentParams = undefined;
  645. this.popupParent = undefined;
  646. this.colResizeDefault = undefined;
  647. this.reduxStore = undefined;
  648. this.statusBar = undefined;
  649. this.sideBar = undefined;
  650. this.sortingOrder = undefined;
  651. this.rowClass = undefined;
  652. this.rowSelection = undefined;
  653. this.overlayLoadingTemplate = undefined;
  654. this.overlayNoRowsTemplate = undefined;
  655. this.quickFilterText = undefined;
  656. this.rowModelType = undefined;
  657. this.editType = undefined;
  658. this.domLayout = undefined;
  659. this.clipboardDeliminator = undefined;
  660. this.rowGroupPanelShow = undefined;
  661. this.multiSortKey = undefined;
  662. this.pivotColumnGroupTotals = undefined;
  663. this.pivotRowTotals = undefined;
  664. this.pivotPanelShow = undefined;
  665. this.rowHeight = undefined;
  666. this.detailRowHeight = undefined;
  667. this.rowBuffer = undefined;
  668. this.colWidth = undefined;
  669. this.headerHeight = undefined;
  670. this.groupHeaderHeight = undefined;
  671. this.floatingFiltersHeight = undefined;
  672. this.pivotHeaderHeight = undefined;
  673. this.pivotGroupHeaderHeight = undefined;
  674. this.groupDefaultExpanded = undefined;
  675. this.minColWidth = undefined;
  676. this.maxColWidth = undefined;
  677. this.viewportRowModelPageSize = undefined;
  678. this.viewportRowModelBufferSize = undefined;
  679. this.autoSizePadding = undefined;
  680. this.maxBlocksInCache = undefined;
  681. this.maxConcurrentDatasourceRequests = undefined;
  682. this.tooltipShowDelay = undefined;
  683. this.cacheOverflowSize = undefined;
  684. this.paginationPageSize = undefined;
  685. this.cacheBlockSize = undefined;
  686. this.infiniteInitialRowCount = undefined;
  687. this.scrollbarWidth = undefined;
  688. this.paginationStartPage = undefined;
  689. this.infiniteBlockSize = undefined;
  690. this.batchUpdateWaitMillis = undefined;
  691. this.asyncTransactionWaitMillis = undefined;
  692. this.blockLoadDebounceMillis = undefined;
  693. this.keepDetailRowsCount = undefined;
  694. this.undoRedoCellEditingLimit = undefined;
  695. this.cellFlashDelay = undefined;
  696. this.cellFadeDelay = undefined;
  697. this.localeTextFunc = undefined;
  698. this.groupRowInnerRenderer = undefined;
  699. this.groupRowInnerRendererFramework = undefined;
  700. this.dateComponent = undefined;
  701. this.dateComponentFramework = undefined;
  702. this.groupRowRenderer = undefined;
  703. this.groupRowRendererFramework = undefined;
  704. this.isExternalFilterPresent = undefined;
  705. this.getRowHeight = undefined;
  706. this.doesExternalFilterPass = undefined;
  707. this.getRowClass = undefined;
  708. this.getRowStyle = undefined;
  709. this.getRowClassRules = undefined;
  710. this.traverseNode = undefined;
  711. this.getContextMenuItems = undefined;
  712. this.getMainMenuItems = undefined;
  713. this.processRowPostCreate = undefined;
  714. this.processCellForClipboard = undefined;
  715. this.getNodeChildDetails = undefined;
  716. this.groupRowAggNodes = undefined;
  717. this.getRowNodeId = undefined;
  718. this.isFullWidthCell = undefined;
  719. this.fullWidthCellRenderer = undefined;
  720. this.fullWidthCellRendererFramework = undefined;
  721. this.doesDataFlower = undefined;
  722. this.processSecondaryColDef = undefined;
  723. this.processSecondaryColGroupDef = undefined;
  724. this.getBusinessKeyForNode = undefined;
  725. this.sendToClipboard = undefined;
  726. this.navigateToNextCell = undefined;
  727. this.tabToNextCell = undefined;
  728. this.getDetailRowData = undefined;
  729. this.processCellFromClipboard = undefined;
  730. this.getDocument = undefined;
  731. this.postProcessPopup = undefined;
  732. this.getChildCount = undefined;
  733. this.getDataPath = undefined;
  734. this.loadingCellRenderer = undefined;
  735. this.loadingCellRendererFramework = undefined;
  736. this.loadingOverlayComponent = undefined;
  737. this.loadingOverlayComponentFramework = undefined;
  738. this.noRowsOverlayComponent = undefined;
  739. this.noRowsOverlayComponentFramework = undefined;
  740. this.detailCellRenderer = undefined;
  741. this.detailCellRendererFramework = undefined;
  742. this.defaultGroupSortComparator = undefined;
  743. this.isRowMaster = undefined;
  744. this.isRowSelectable = undefined;
  745. this.postSort = undefined;
  746. this.processHeaderForClipboard = undefined;
  747. this.paginationNumberFormatter = undefined;
  748. this.processDataFromClipboard = undefined;
  749. this.getServerSideGroupKey = undefined;
  750. this.isServerSideGroup = undefined;
  751. this.suppressKeyboardEvent = undefined;
  752. this.createChartContainer = undefined;
  753. this.processChartOptions = undefined;
  754. this.getChartToolbarItems = undefined;
  755. this.fillOperation = undefined;
  756. this.toolPanelSuppressRowGroups = undefined;
  757. this.toolPanelSuppressValues = undefined;
  758. this.toolPanelSuppressPivots = undefined;
  759. this.toolPanelSuppressPivotMode = undefined;
  760. this.toolPanelSuppressSideButtons = undefined;
  761. this.toolPanelSuppressColumnFilter = undefined;
  762. this.toolPanelSuppressColumnSelectAll = undefined;
  763. this.toolPanelSuppressColumnExpandAll = undefined;
  764. this.suppressMakeColumnVisibleAfterUnGroup = undefined;
  765. this.suppressRowClickSelection = undefined;
  766. this.suppressCellSelection = undefined;
  767. this.suppressHorizontalScroll = undefined;
  768. this.alwaysShowVerticalScroll = undefined;
  769. this.debug = undefined;
  770. this.enableBrowserTooltips = undefined;
  771. this.enableColResize = undefined;
  772. this.enableCellExpressions = undefined;
  773. this.enableSorting = undefined;
  774. this.enableServerSideSorting = undefined;
  775. this.enableFilter = undefined;
  776. this.enableServerSideFilter = undefined;
  777. this.angularCompileRows = undefined;
  778. this.angularCompileFilters = undefined;
  779. this.angularCompileHeaders = undefined;
  780. this.groupSuppressAutoColumn = undefined;
  781. this.groupSelectsChildren = undefined;
  782. this.groupIncludeFooter = undefined;
  783. this.groupIncludeTotalFooter = undefined;
  784. this.groupUseEntireRow = undefined;
  785. this.groupSuppressRow = undefined;
  786. this.groupSuppressBlankHeader = undefined;
  787. this.forPrint = undefined;
  788. this.suppressMenuHide = undefined;
  789. this.rowDeselection = undefined;
  790. this.unSortIcon = undefined;
  791. this.suppressMultiSort = undefined;
  792. this.singleClickEdit = undefined;
  793. this.suppressLoadingOverlay = undefined;
  794. this.suppressNoRowsOverlay = undefined;
  795. this.suppressAutoSize = undefined;
  796. this.skipHeaderOnAutoSize = undefined;
  797. this.suppressParentsInRowNodes = undefined;
  798. this.showToolPanel = undefined;
  799. this.suppressColumnMoveAnimation = undefined;
  800. this.suppressMovableColumns = undefined;
  801. this.suppressFieldDotNotation = undefined;
  802. this.enableRangeSelection = undefined;
  803. this.enableRangeHandle = undefined;
  804. this.enableFillHandle = undefined;
  805. this.suppressClearOnFillReduction = undefined;
  806. this.deltaSort = undefined;
  807. this.suppressTouch = undefined;
  808. this.suppressAsyncEvents = undefined;
  809. this.allowContextMenuWithControlKey = undefined;
  810. this.suppressContextMenu = undefined;
  811. this.suppressMenuFilterPanel = undefined;
  812. this.suppressMenuMainPanel = undefined;
  813. this.suppressMenuColumnPanel = undefined;
  814. this.rememberGroupStateWhenNewData = undefined;
  815. this.enableCellChangeFlash = undefined;
  816. this.suppressDragLeaveHidesColumns = undefined;
  817. this.suppressMiddleClickScrolls = undefined;
  818. this.suppressPreventDefaultOnMouseWheel = undefined;
  819. this.suppressUseColIdForGroups = undefined;
  820. this.suppressCopyRowsToClipboard = undefined;
  821. this.copyHeadersToClipboard = undefined;
  822. this.pivotMode = undefined;
  823. this.suppressAggFuncInHeader = undefined;
  824. this.suppressColumnVirtualisation = undefined;
  825. this.suppressAggAtRootLevel = undefined;
  826. this.suppressFocusAfterRefresh = undefined;
  827. this.functionsPassive = undefined;
  828. this.functionsReadOnly = undefined;
  829. this.animateRows = undefined;
  830. this.groupSelectsFiltered = undefined;
  831. this.groupRemoveSingleChildren = undefined;
  832. this.groupRemoveLowestSingleChildren = undefined;
  833. this.enableRtl = undefined;
  834. this.suppressClickEdit = undefined;
  835. this.rowDragManaged = undefined;
  836. this.suppressRowDrag = undefined;
  837. this.suppressMoveWhenRowDragging = undefined;
  838. this.enableMultiRowDragging = undefined;
  839. this.enableGroupEdit = undefined;
  840. this.embedFullWidthRows = undefined;
  841. this.deprecatedEmbedFullWidthRows = undefined;
  842. this.suppressTabbing = undefined;
  843. this.suppressPaginationPanel = undefined;
  844. this.floatingFilter = undefined;
  845. this.groupHideOpenParents = undefined;
  846. this.groupMultiAutoColumn = undefined;
  847. this.pagination = undefined;
  848. this.stopEditingWhenGridLosesFocus = undefined;
  849. this.paginationAutoPageSize = undefined;
  850. this.suppressScrollOnNewData = undefined;
  851. this.purgeClosedRowNodes = undefined;
  852. this.cacheQuickFilter = undefined;
  853. this.deltaRowDataMode = undefined;
  854. this.ensureDomOrder = undefined;
  855. this.accentedSort = undefined;
  856. this.pivotTotals = undefined;
  857. this.suppressChangeDetection = undefined;
  858. this.valueCache = undefined;
  859. this.valueCacheNeverExpires = undefined;
  860. this.aggregateOnlyChangedColumns = undefined;
  861. this.suppressAnimationFrame = undefined;
  862. this.suppressExcelExport = undefined;
  863. this.suppressCsvExport = undefined;
  864. this.treeData = undefined;
  865. this.masterDetail = undefined;
  866. this.suppressMultiRangeSelection = undefined;
  867. this.enterMovesDownAfterEdit = undefined;
  868. this.enterMovesDown = undefined;
  869. this.suppressPropertyNamesCheck = undefined;
  870. this.rowMultiSelectWithClick = undefined;
  871. this.contractColumnSelection = undefined;
  872. this.suppressEnterpriseResetOnNewColumns = undefined;
  873. this.enableOldSetFilterModel = undefined;
  874. this.suppressRowHoverHighlight = undefined;
  875. this.gridAutoHeight = undefined;
  876. this.suppressRowTransform = undefined;
  877. this.suppressClipboardPaste = undefined;
  878. this.suppressLastEmptyLineOnPaste = undefined;
  879. this.serverSideSortingAlwaysResets = undefined;
  880. this.reactNext = undefined;
  881. this.suppressSetColumnStateEvents = undefined;
  882. this.enableCharts = undefined;
  883. this.deltaColumnMode = undefined;
  884. this.suppressMaintainUnsortedOrder = undefined;
  885. this.enableCellTextSelection = undefined;
  886. this.suppressBrowserResizeObserver = undefined;
  887. this.suppressMaxRenderedRowRestriction = undefined;
  888. this.excludeChildrenWhenTreeDataFiltering = undefined;
  889. this.tooltipMouseTrack = undefined;
  890. this.keepDetailRows = undefined;
  891. this.paginateChildRows = undefined;
  892. this.preventDefaultOnContextMenu = undefined;
  893. this.undoRedoCellEditing = undefined;
  894. this.allowDragFromColumnsToolPanel = undefined;
  895. this.immutableData = undefined;
  896. this.immutableColumns = undefined;
  897. this.pivotSuppressAutoColumn = undefined;
  898. this.columnEverythingChanged = new EventEmitter();
  899. this.newColumnsLoaded = new EventEmitter();
  900. this.columnPivotModeChanged = new EventEmitter();
  901. this.columnRowGroupChanged = new EventEmitter();
  902. this.expandOrCollapseAll = new EventEmitter();
  903. this.columnPivotChanged = new EventEmitter();
  904. this.gridColumnsChanged = new EventEmitter();
  905. this.columnValueChanged = new EventEmitter();
  906. this.columnMoved = new EventEmitter();
  907. this.columnVisible = new EventEmitter();
  908. this.columnPinned = new EventEmitter();
  909. this.columnGroupOpened = new EventEmitter();
  910. this.columnResized = new EventEmitter();
  911. this.displayedColumnsChanged = new EventEmitter();
  912. this.virtualColumnsChanged = new EventEmitter();
  913. this.rowGroupOpened = new EventEmitter();
  914. this.rowDataChanged = new EventEmitter();
  915. this.rowDataUpdated = new EventEmitter();
  916. this.pinnedRowDataChanged = new EventEmitter();
  917. this.rangeSelectionChanged = new EventEmitter();
  918. this.chartCreated = new EventEmitter();
  919. this.chartRangeSelectionChanged = new EventEmitter();
  920. this.chartOptionsChanged = new EventEmitter();
  921. this.chartDestroyed = new EventEmitter();
  922. this.toolPanelVisibleChanged = new EventEmitter();
  923. this.modelUpdated = new EventEmitter();
  924. this.pasteStart = new EventEmitter();
  925. this.pasteEnd = new EventEmitter();
  926. this.fillStart = new EventEmitter();
  927. this.fillEnd = new EventEmitter();
  928. this.cellClicked = new EventEmitter();
  929. this.cellDoubleClicked = new EventEmitter();
  930. this.cellMouseDown = new EventEmitter();
  931. this.cellContextMenu = new EventEmitter();
  932. this.cellValueChanged = new EventEmitter();
  933. this.rowValueChanged = new EventEmitter();
  934. this.cellFocused = new EventEmitter();
  935. this.rowSelected = new EventEmitter();
  936. this.selectionChanged = new EventEmitter();
  937. this.cellKeyDown = new EventEmitter();
  938. this.cellKeyPress = new EventEmitter();
  939. this.cellMouseOver = new EventEmitter();
  940. this.cellMouseOut = new EventEmitter();
  941. this.filterChanged = new EventEmitter();
  942. this.filterModified = new EventEmitter();
  943. this.filterOpened = new EventEmitter();
  944. this.sortChanged = new EventEmitter();
  945. this.virtualRowRemoved = new EventEmitter();
  946. this.rowClicked = new EventEmitter();
  947. this.rowDoubleClicked = new EventEmitter();
  948. this.gridReady = new EventEmitter();
  949. this.gridSizeChanged = new EventEmitter();
  950. this.viewportChanged = new EventEmitter();
  951. this.firstDataRendered = new EventEmitter();
  952. this.dragStarted = new EventEmitter();
  953. this.dragStopped = new EventEmitter();
  954. this.checkboxChanged = new EventEmitter();
  955. this.rowEditingStarted = new EventEmitter();
  956. this.rowEditingStopped = new EventEmitter();
  957. this.cellEditingStarted = new EventEmitter();
  958. this.cellEditingStopped = new EventEmitter();
  959. this.bodyScroll = new EventEmitter();
  960. this.animationQueueEmpty = new EventEmitter();
  961. this.heightScaleChanged = new EventEmitter();
  962. this.paginationChanged = new EventEmitter();
  963. this.componentStateChanged = new EventEmitter();
  964. this.bodyHeightChanged = new EventEmitter();
  965. this.displayedColumnsWidthChanged = new EventEmitter();
  966. this.scrollVisibilityChanged = new EventEmitter();
  967. this.columnHoverChanged = new EventEmitter();
  968. this.flashCells = new EventEmitter();
  969. this.rowDragEnter = new EventEmitter();
  970. this.rowDragMove = new EventEmitter();
  971. this.rowDragLeave = new EventEmitter();
  972. this.rowDragEnd = new EventEmitter();
  973. this.popupToFront = new EventEmitter();
  974. this.columnRowGroupChangeRequest = new EventEmitter();
  975. this.columnPivotChangeRequest = new EventEmitter();
  976. this.columnValueChangeRequest = new EventEmitter();
  977. this.columnAggFuncChangeRequest = new EventEmitter();
  978. this.keyboardFocus = new EventEmitter();
  979. this.mouseFocus = new EventEmitter();
  980. this._nativeElement = elementDef.nativeElement;
  981. this.frameworkComponentWrapper.setViewContainerRef(this.viewContainerRef);
  982. this.frameworkComponentWrapper.setComponentFactoryResolver(this._componentFactoryResolver);
  983. }
  984. ngAfterViewInit() {
  985. this.checkForDeprecatedEvents();
  986. this.gridOptions = ComponentUtil.copyAttributesToGridOptions(this.gridOptions, this, true);
  987. this.gridParams = {
  988. globalEventListener: this.globalEventListener.bind(this),
  989. frameworkOverrides: this.angularFrameworkOverrides,
  990. providedBeanInstances: {
  991. frameworkComponentWrapper: this.frameworkComponentWrapper
  992. },
  993. modules: (this.modules || [])
  994. };
  995. if (this.columns && this.columns.length > 0) {
  996. this.gridOptions.columnDefs = this.columns
  997. .map((column) => {
  998. return column.toColDef();
  999. });
  1000. }
  1001. new Grid(this._nativeElement, this.gridOptions, this.gridParams);
  1002. if (this.gridOptions.api) {
  1003. this.api = this.gridOptions.api;
  1004. }
  1005. if (this.gridOptions.columnApi) {
  1006. this.columnApi = this.gridOptions.columnApi;
  1007. }
  1008. this._initialised = true;
  1009. // sometimes, especially in large client apps gridReady can fire before ngAfterViewInit
  1010. // this ties these together so that gridReady will always fire after agGridAngular's ngAfterViewInit
  1011. // the actual containing component's ngAfterViewInit will fire just after agGridAngular's
  1012. this._fullyReady.resolveNow(null, resolve => resolve);
  1013. }
  1014. ngOnChanges(changes) {
  1015. if (this._initialised) {
  1016. ComponentUtil.processOnChange(changes, this.gridOptions, this.api, this.columnApi);
  1017. }
  1018. }
  1019. ngOnDestroy() {
  1020. if (this._initialised) {
  1021. // need to do this before the destroy, so we know not to emit any events
  1022. // while tearing down the grid.
  1023. this._destroyed = true;
  1024. if (this.api) {
  1025. this.api.destroy();
  1026. }
  1027. }
  1028. }
  1029. checkForDeprecatedEvents() {
  1030. _.iterateObject(Events, (key, eventName) => {
  1031. if (this[eventName] && this[eventName].observers.length > 0) {
  1032. GridOptionsWrapper.checkEventDeprecation(eventName);
  1033. }
  1034. });
  1035. }
  1036. globalEventListener(eventType, event) {
  1037. // if we are tearing down, don't emit angular events, as this causes
  1038. // problems with the angular router
  1039. if (this._destroyed) {
  1040. return;
  1041. }
  1042. // generically look up the eventType
  1043. let emitter = this[eventType];
  1044. if (emitter) {
  1045. if (eventType === 'gridReady') {
  1046. // if the user is listening for gridReady, wait for ngAfterViewInit to fire first, then emit the
  1047. // gridReady event
  1048. this._fullyReady.then((result => {
  1049. emitter.emit(event);
  1050. }));
  1051. }
  1052. else {
  1053. emitter.emit(event);
  1054. }
  1055. }
  1056. else {
  1057. console.log('ag-Grid-angular: could not find EventEmitter: ' + eventType);
  1058. }
  1059. }
  1060. };
  1061. AgGridAngular.ctorParameters = () => [
  1062. { type: ElementRef },
  1063. { type: ViewContainerRef },
  1064. { type: AngularFrameworkOverrides },
  1065. { type: AngularFrameworkComponentWrapper },
  1066. { type: ComponentFactoryResolver }
  1067. ];
  1068. __decorate([
  1069. ContentChildren(AgGridColumn),
  1070. __metadata("design:type", QueryList)
  1071. ], AgGridAngular.prototype, "columns", void 0);
  1072. __decorate([
  1073. Input(),
  1074. __metadata("design:type", Object)
  1075. ], AgGridAngular.prototype, "gridOptions", void 0);
  1076. __decorate([
  1077. Input(),
  1078. __metadata("design:type", Array)
  1079. ], AgGridAngular.prototype, "modules", void 0);
  1080. __decorate([
  1081. Input(),
  1082. __metadata("design:type", Object)
  1083. ], AgGridAngular.prototype, "slaveGrids", void 0);
  1084. __decorate([
  1085. Input(),
  1086. __metadata("design:type", Object)
  1087. ], AgGridAngular.prototype, "alignedGrids", void 0);
  1088. __decorate([
  1089. Input(),
  1090. __metadata("design:type", Object)
  1091. ], AgGridAngular.prototype, "rowData", void 0);
  1092. __decorate([
  1093. Input(),
  1094. __metadata("design:type", Object)
  1095. ], AgGridAngular.prototype, "columnDefs", void 0);
  1096. __decorate([
  1097. Input(),
  1098. __metadata("design:type", Object)
  1099. ], AgGridAngular.prototype, "excelStyles", void 0);
  1100. __decorate([
  1101. Input(),
  1102. __metadata("design:type", Object)
  1103. ], AgGridAngular.prototype, "pinnedTopRowData", void 0);
  1104. __decorate([
  1105. Input(),
  1106. __metadata("design:type", Object)
  1107. ], AgGridAngular.prototype, "pinnedBottomRowData", void 0);
  1108. __decorate([
  1109. Input(),
  1110. __metadata("design:type", Object)
  1111. ], AgGridAngular.prototype, "components", void 0);
  1112. __decorate([
  1113. Input(),
  1114. __metadata("design:type", Object)
  1115. ], AgGridAngular.prototype, "frameworkComponents", void 0);
  1116. __decorate([
  1117. Input(),
  1118. __metadata("design:type", Object)
  1119. ], AgGridAngular.prototype, "rowStyle", void 0);
  1120. __decorate([
  1121. Input(),
  1122. __metadata("design:type", Object)
  1123. ], AgGridAngular.prototype, "context", void 0);
  1124. __decorate([
  1125. Input(),
  1126. __metadata("design:type", Object)
  1127. ], AgGridAngular.prototype, "autoGroupColumnDef", void 0);
  1128. __decorate([
  1129. Input(),
  1130. __metadata("design:type", Object)
  1131. ], AgGridAngular.prototype, "groupColumnDef", void 0);
  1132. __decorate([
  1133. Input(),
  1134. __metadata("design:type", Object)
  1135. ], AgGridAngular.prototype, "localeText", void 0);
  1136. __decorate([
  1137. Input(),
  1138. __metadata("design:type", Object)
  1139. ], AgGridAngular.prototype, "icons", void 0);
  1140. __decorate([
  1141. Input(),
  1142. __metadata("design:type", Object)
  1143. ], AgGridAngular.prototype, "datasource", void 0);
  1144. __decorate([
  1145. Input(),
  1146. __metadata("design:type", Object)
  1147. ], AgGridAngular.prototype, "serverSideDatasource", void 0);
  1148. __decorate([
  1149. Input(),
  1150. __metadata("design:type", Object)
  1151. ], AgGridAngular.prototype, "viewportDatasource", void 0);
  1152. __decorate([
  1153. Input(),
  1154. __metadata("design:type", Object)
  1155. ], AgGridAngular.prototype, "groupRowRendererParams", void 0);
  1156. __decorate([
  1157. Input(),
  1158. __metadata("design:type", Object)
  1159. ], AgGridAngular.prototype, "aggFuncs", void 0);
  1160. __decorate([
  1161. Input(),
  1162. __metadata("design:type", Object)
  1163. ], AgGridAngular.prototype, "fullWidthCellRendererParams", void 0);
  1164. __decorate([
  1165. Input(),
  1166. __metadata("design:type", Object)
  1167. ], AgGridAngular.prototype, "defaultColGroupDef", void 0);
  1168. __decorate([
  1169. Input(),
  1170. __metadata("design:type", Object)
  1171. ], AgGridAngular.prototype, "defaultColDef", void 0);
  1172. __decorate([
  1173. Input(),
  1174. __metadata("design:type", Object)
  1175. ], AgGridAngular.prototype, "defaultExportParams", void 0);
  1176. __decorate([
  1177. Input(),
  1178. __metadata("design:type", Object)
  1179. ], AgGridAngular.prototype, "columnTypes", void 0);
  1180. __decorate([
  1181. Input(),
  1182. __metadata("design:type", Object)
  1183. ], AgGridAngular.prototype, "rowClassRules", void 0);
  1184. __decorate([
  1185. Input(),
  1186. __metadata("design:type", Object)
  1187. ], AgGridAngular.prototype, "detailGridOptions", void 0);
  1188. __decorate([
  1189. Input(),
  1190. __metadata("design:type", Object)
  1191. ], AgGridAngular.prototype, "detailCellRendererParams", void 0);
  1192. __decorate([
  1193. Input(),
  1194. __metadata("design:type", Object)
  1195. ], AgGridAngular.prototype, "loadingCellRendererParams", void 0);
  1196. __decorate([
  1197. Input(),
  1198. __metadata("design:type", Object)
  1199. ], AgGridAngular.prototype, "loadingOverlayComponentParams", void 0);
  1200. __decorate([
  1201. Input(),
  1202. __metadata("design:type", Object)
  1203. ], AgGridAngular.prototype, "noRowsOverlayComponentParams", void 0);
  1204. __decorate([
  1205. Input(),
  1206. __metadata("design:type", Object)
  1207. ], AgGridAngular.prototype, "popupParent", void 0);
  1208. __decorate([
  1209. Input(),
  1210. __metadata("design:type", Object)
  1211. ], AgGridAngular.prototype, "colResizeDefault", void 0);
  1212. __decorate([
  1213. Input(),
  1214. __metadata("design:type", Object)
  1215. ], AgGridAngular.prototype, "reduxStore", void 0);
  1216. __decorate([
  1217. Input(),
  1218. __metadata("design:type", Object)
  1219. ], AgGridAngular.prototype, "statusBar", void 0);
  1220. __decorate([
  1221. Input(),
  1222. __metadata("design:type", Object)
  1223. ], AgGridAngular.prototype, "sideBar", void 0);
  1224. __decorate([
  1225. Input(),
  1226. __metadata("design:type", Object)
  1227. ], AgGridAngular.prototype, "sortingOrder", void 0);
  1228. __decorate([
  1229. Input(),
  1230. __metadata("design:type", Object)
  1231. ], AgGridAngular.prototype, "rowClass", void 0);
  1232. __decorate([
  1233. Input(),
  1234. __metadata("design:type", Object)
  1235. ], AgGridAngular.prototype, "rowSelection", void 0);
  1236. __decorate([
  1237. Input(),
  1238. __metadata("design:type", Object)
  1239. ], AgGridAngular.prototype, "overlayLoadingTemplate", void 0);
  1240. __decorate([
  1241. Input(),
  1242. __metadata("design:type", Object)
  1243. ], AgGridAngular.prototype, "overlayNoRowsTemplate", void 0);
  1244. __decorate([
  1245. Input(),
  1246. __metadata("design:type", Object)
  1247. ], AgGridAngular.prototype, "quickFilterText", void 0);
  1248. __decorate([
  1249. Input(),
  1250. __metadata("design:type", Object)
  1251. ], AgGridAngular.prototype, "rowModelType", void 0);
  1252. __decorate([
  1253. Input(),
  1254. __metadata("design:type", Object)
  1255. ], AgGridAngular.prototype, "editType", void 0);
  1256. __decorate([
  1257. Input(),
  1258. __metadata("design:type", Object)
  1259. ], AgGridAngular.prototype, "domLayout", void 0);
  1260. __decorate([
  1261. Input(),
  1262. __metadata("design:type", Object)
  1263. ], AgGridAngular.prototype, "clipboardDeliminator", void 0);
  1264. __decorate([
  1265. Input(),
  1266. __metadata("design:type", Object)
  1267. ], AgGridAngular.prototype, "rowGroupPanelShow", void 0);
  1268. __decorate([
  1269. Input(),
  1270. __metadata("design:type", Object)
  1271. ], AgGridAngular.prototype, "multiSortKey", void 0);
  1272. __decorate([
  1273. Input(),
  1274. __metadata("design:type", Object)
  1275. ], AgGridAngular.prototype, "pivotColumnGroupTotals", void 0);
  1276. __decorate([
  1277. Input(),
  1278. __metadata("design:type", Object)
  1279. ], AgGridAngular.prototype, "pivotRowTotals", void 0);
  1280. __decorate([
  1281. Input(),
  1282. __metadata("design:type", Object)
  1283. ], AgGridAngular.prototype, "pivotPanelShow", void 0);
  1284. __decorate([
  1285. Input(),
  1286. __metadata("design:type", Object)
  1287. ], AgGridAngular.prototype, "rowHeight", void 0);
  1288. __decorate([
  1289. Input(),
  1290. __metadata("design:type", Object)
  1291. ], AgGridAngular.prototype, "detailRowHeight", void 0);
  1292. __decorate([
  1293. Input(),
  1294. __metadata("design:type", Object)
  1295. ], AgGridAngular.prototype, "rowBuffer", void 0);
  1296. __decorate([
  1297. Input(),
  1298. __metadata("design:type", Object)
  1299. ], AgGridAngular.prototype, "colWidth", void 0);
  1300. __decorate([
  1301. Input(),
  1302. __metadata("design:type", Object)
  1303. ], AgGridAngular.prototype, "headerHeight", void 0);
  1304. __decorate([
  1305. Input(),
  1306. __metadata("design:type", Object)
  1307. ], AgGridAngular.prototype, "groupHeaderHeight", void 0);
  1308. __decorate([
  1309. Input(),
  1310. __metadata("design:type", Object)
  1311. ], AgGridAngular.prototype, "floatingFiltersHeight", void 0);
  1312. __decorate([
  1313. Input(),
  1314. __metadata("design:type", Object)
  1315. ], AgGridAngular.prototype, "pivotHeaderHeight", void 0);
  1316. __decorate([
  1317. Input(),
  1318. __metadata("design:type", Object)
  1319. ], AgGridAngular.prototype, "pivotGroupHeaderHeight", void 0);
  1320. __decorate([
  1321. Input(),
  1322. __metadata("design:type", Object)
  1323. ], AgGridAngular.prototype, "groupDefaultExpanded", void 0);
  1324. __decorate([
  1325. Input(),
  1326. __metadata("design:type", Object)
  1327. ], AgGridAngular.prototype, "minColWidth", void 0);
  1328. __decorate([
  1329. Input(),
  1330. __metadata("design:type", Object)
  1331. ], AgGridAngular.prototype, "maxColWidth", void 0);
  1332. __decorate([
  1333. Input(),
  1334. __metadata("design:type", Object)
  1335. ], AgGridAngular.prototype, "viewportRowModelPageSize", void 0);
  1336. __decorate([
  1337. Input(),
  1338. __metadata("design:type", Object)
  1339. ], AgGridAngular.prototype, "viewportRowModelBufferSize", void 0);
  1340. __decorate([
  1341. Input(),
  1342. __metadata("design:type", Object)
  1343. ], AgGridAngular.prototype, "autoSizePadding", void 0);
  1344. __decorate([
  1345. Input(),
  1346. __metadata("design:type", Object)
  1347. ], AgGridAngular.prototype, "maxBlocksInCache", void 0);
  1348. __decorate([
  1349. Input(),
  1350. __metadata("design:type", Object)
  1351. ], AgGridAngular.prototype, "maxConcurrentDatasourceRequests", void 0);
  1352. __decorate([
  1353. Input(),
  1354. __metadata("design:type", Object)
  1355. ], AgGridAngular.prototype, "tooltipShowDelay", void 0);
  1356. __decorate([
  1357. Input(),
  1358. __metadata("design:type", Object)
  1359. ], AgGridAngular.prototype, "cacheOverflowSize", void 0);
  1360. __decorate([
  1361. Input(),
  1362. __metadata("design:type", Object)
  1363. ], AgGridAngular.prototype, "paginationPageSize", void 0);
  1364. __decorate([
  1365. Input(),
  1366. __metadata("design:type", Object)
  1367. ], AgGridAngular.prototype, "cacheBlockSize", void 0);
  1368. __decorate([
  1369. Input(),
  1370. __metadata("design:type", Object)
  1371. ], AgGridAngular.prototype, "infiniteInitialRowCount", void 0);
  1372. __decorate([
  1373. Input(),
  1374. __metadata("design:type", Object)
  1375. ], AgGridAngular.prototype, "scrollbarWidth", void 0);
  1376. __decorate([
  1377. Input(),
  1378. __metadata("design:type", Object)
  1379. ], AgGridAngular.prototype, "paginationStartPage", void 0);
  1380. __decorate([
  1381. Input(),
  1382. __metadata("design:type", Object)
  1383. ], AgGridAngular.prototype, "infiniteBlockSize", void 0);
  1384. __decorate([
  1385. Input(),
  1386. __metadata("design:type", Object)
  1387. ], AgGridAngular.prototype, "batchUpdateWaitMillis", void 0);
  1388. __decorate([
  1389. Input(),
  1390. __metadata("design:type", Object)
  1391. ], AgGridAngular.prototype, "asyncTransactionWaitMillis", void 0);
  1392. __decorate([
  1393. Input(),
  1394. __metadata("design:type", Object)
  1395. ], AgGridAngular.prototype, "blockLoadDebounceMillis", void 0);
  1396. __decorate([
  1397. Input(),
  1398. __metadata("design:type", Object)
  1399. ], AgGridAngular.prototype, "keepDetailRowsCount", void 0);
  1400. __decorate([
  1401. Input(),
  1402. __metadata("design:type", Object)
  1403. ], AgGridAngular.prototype, "undoRedoCellEditingLimit", void 0);
  1404. __decorate([
  1405. Input(),
  1406. __metadata("design:type", Object)
  1407. ], AgGridAngular.prototype, "cellFlashDelay", void 0);
  1408. __decorate([
  1409. Input(),
  1410. __metadata("design:type", Object)
  1411. ], AgGridAngular.prototype, "cellFadeDelay", void 0);
  1412. __decorate([
  1413. Input(),
  1414. __metadata("design:type", Object)
  1415. ], AgGridAngular.prototype, "localeTextFunc", void 0);
  1416. __decorate([
  1417. Input(),
  1418. __metadata("design:type", Object)
  1419. ], AgGridAngular.prototype, "groupRowInnerRenderer", void 0);
  1420. __decorate([
  1421. Input(),
  1422. __metadata("design:type", Object)
  1423. ], AgGridAngular.prototype, "groupRowInnerRendererFramework", void 0);
  1424. __decorate([
  1425. Input(),
  1426. __metadata("design:type", Object)
  1427. ], AgGridAngular.prototype, "dateComponent", void 0);
  1428. __decorate([
  1429. Input(),
  1430. __metadata("design:type", Object)
  1431. ], AgGridAngular.prototype, "dateComponentFramework", void 0);
  1432. __decorate([
  1433. Input(),
  1434. __metadata("design:type", Object)
  1435. ], AgGridAngular.prototype, "groupRowRenderer", void 0);
  1436. __decorate([
  1437. Input(),
  1438. __metadata("design:type", Object)
  1439. ], AgGridAngular.prototype, "groupRowRendererFramework", void 0);
  1440. __decorate([
  1441. Input(),
  1442. __metadata("design:type", Object)
  1443. ], AgGridAngular.prototype, "isExternalFilterPresent", void 0);
  1444. __decorate([
  1445. Input(),
  1446. __metadata("design:type", Object)
  1447. ], AgGridAngular.prototype, "getRowHeight", void 0);
  1448. __decorate([
  1449. Input(),
  1450. __metadata("design:type", Object)
  1451. ], AgGridAngular.prototype, "doesExternalFilterPass", void 0);
  1452. __decorate([
  1453. Input(),
  1454. __metadata("design:type", Object)
  1455. ], AgGridAngular.prototype, "getRowClass", void 0);
  1456. __decorate([
  1457. Input(),
  1458. __metadata("design:type", Object)
  1459. ], AgGridAngular.prototype, "getRowStyle", void 0);
  1460. __decorate([
  1461. Input(),
  1462. __metadata("design:type", Object)
  1463. ], AgGridAngular.prototype, "getRowClassRules", void 0);
  1464. __decorate([
  1465. Input(),
  1466. __metadata("design:type", Object)
  1467. ], AgGridAngular.prototype, "traverseNode", void 0);
  1468. __decorate([
  1469. Input(),
  1470. __metadata("design:type", Object)
  1471. ], AgGridAngular.prototype, "getContextMenuItems", void 0);
  1472. __decorate([
  1473. Input(),
  1474. __metadata("design:type", Object)
  1475. ], AgGridAngular.prototype, "getMainMenuItems", void 0);
  1476. __decorate([
  1477. Input(),
  1478. __metadata("design:type", Object)
  1479. ], AgGridAngular.prototype, "processRowPostCreate", void 0);
  1480. __decorate([
  1481. Input(),
  1482. __metadata("design:type", Object)
  1483. ], AgGridAngular.prototype, "processCellForClipboard", void 0);
  1484. __decorate([
  1485. Input(),
  1486. __metadata("design:type", Object)
  1487. ], AgGridAngular.prototype, "getNodeChildDetails", void 0);
  1488. __decorate([
  1489. Input(),
  1490. __metadata("design:type", Object)
  1491. ], AgGridAngular.prototype, "groupRowAggNodes", void 0);
  1492. __decorate([
  1493. Input(),
  1494. __metadata("design:type", Object)
  1495. ], AgGridAngular.prototype, "getRowNodeId", void 0);
  1496. __decorate([
  1497. Input(),
  1498. __metadata("design:type", Object)
  1499. ], AgGridAngular.prototype, "isFullWidthCell", void 0);
  1500. __decorate([
  1501. Input(),
  1502. __metadata("design:type", Object)
  1503. ], AgGridAngular.prototype, "fullWidthCellRenderer", void 0);
  1504. __decorate([
  1505. Input(),
  1506. __metadata("design:type", Object)
  1507. ], AgGridAngular.prototype, "fullWidthCellRendererFramework", void 0);
  1508. __decorate([
  1509. Input(),
  1510. __metadata("design:type", Object)
  1511. ], AgGridAngular.prototype, "doesDataFlower", void 0);
  1512. __decorate([
  1513. Input(),
  1514. __metadata("design:type", Object)
  1515. ], AgGridAngular.prototype, "processSecondaryColDef", void 0);
  1516. __decorate([
  1517. Input(),
  1518. __metadata("design:type", Object)
  1519. ], AgGridAngular.prototype, "processSecondaryColGroupDef", void 0);
  1520. __decorate([
  1521. Input(),
  1522. __metadata("design:type", Object)
  1523. ], AgGridAngular.prototype, "getBusinessKeyForNode", void 0);
  1524. __decorate([
  1525. Input(),
  1526. __metadata("design:type", Object)
  1527. ], AgGridAngular.prototype, "sendToClipboard", void 0);
  1528. __decorate([
  1529. Input(),
  1530. __metadata("design:type", Object)
  1531. ], AgGridAngular.prototype, "navigateToNextCell", void 0);
  1532. __decorate([
  1533. Input(),
  1534. __metadata("design:type", Object)
  1535. ], AgGridAngular.prototype, "tabToNextCell", void 0);
  1536. __decorate([
  1537. Input(),
  1538. __metadata("design:type", Object)
  1539. ], AgGridAngular.prototype, "getDetailRowData", void 0);
  1540. __decorate([
  1541. Input(),
  1542. __metadata("design:type", Object)
  1543. ], AgGridAngular.prototype, "processCellFromClipboard", void 0);
  1544. __decorate([
  1545. Input(),
  1546. __metadata("design:type", Object)
  1547. ], AgGridAngular.prototype, "getDocument", void 0);
  1548. __decorate([
  1549. Input(),
  1550. __metadata("design:type", Object)
  1551. ], AgGridAngular.prototype, "postProcessPopup", void 0);
  1552. __decorate([
  1553. Input(),
  1554. __metadata("design:type", Object)
  1555. ], AgGridAngular.prototype, "getChildCount", void 0);
  1556. __decorate([
  1557. Input(),
  1558. __metadata("design:type", Object)
  1559. ], AgGridAngular.prototype, "getDataPath", void 0);
  1560. __decorate([
  1561. Input(),
  1562. __metadata("design:type", Object)
  1563. ], AgGridAngular.prototype, "loadingCellRenderer", void 0);
  1564. __decorate([
  1565. Input(),
  1566. __metadata("design:type", Object)
  1567. ], AgGridAngular.prototype, "loadingCellRendererFramework", void 0);
  1568. __decorate([
  1569. Input(),
  1570. __metadata("design:type", Object)
  1571. ], AgGridAngular.prototype, "loadingOverlayComponent", void 0);
  1572. __decorate([
  1573. Input(),
  1574. __metadata("design:type", Object)
  1575. ], AgGridAngular.prototype, "loadingOverlayComponentFramework", void 0);
  1576. __decorate([
  1577. Input(),
  1578. __metadata("design:type", Object)
  1579. ], AgGridAngular.prototype, "noRowsOverlayComponent", void 0);
  1580. __decorate([
  1581. Input(),
  1582. __metadata("design:type", Object)
  1583. ], AgGridAngular.prototype, "noRowsOverlayComponentFramework", void 0);
  1584. __decorate([
  1585. Input(),
  1586. __metadata("design:type", Object)
  1587. ], AgGridAngular.prototype, "detailCellRenderer", void 0);
  1588. __decorate([
  1589. Input(),
  1590. __metadata("design:type", Object)
  1591. ], AgGridAngular.prototype, "detailCellRendererFramework", void 0);
  1592. __decorate([
  1593. Input(),
  1594. __metadata("design:type", Object)
  1595. ], AgGridAngular.prototype, "defaultGroupSortComparator", void 0);
  1596. __decorate([
  1597. Input(),
  1598. __metadata("design:type", Object)
  1599. ], AgGridAngular.prototype, "isRowMaster", void 0);
  1600. __decorate([
  1601. Input(),
  1602. __metadata("design:type", Object)
  1603. ], AgGridAngular.prototype, "isRowSelectable", void 0);
  1604. __decorate([
  1605. Input(),
  1606. __metadata("design:type", Object)
  1607. ], AgGridAngular.prototype, "postSort", void 0);
  1608. __decorate([
  1609. Input(),
  1610. __metadata("design:type", Object)
  1611. ], AgGridAngular.prototype, "processHeaderForClipboard", void 0);
  1612. __decorate([
  1613. Input(),
  1614. __metadata("design:type", Object)
  1615. ], AgGridAngular.prototype, "paginationNumberFormatter", void 0);
  1616. __decorate([
  1617. Input(),
  1618. __metadata("design:type", Object)
  1619. ], AgGridAngular.prototype, "processDataFromClipboard", void 0);
  1620. __decorate([
  1621. Input(),
  1622. __metadata("design:type", Object)
  1623. ], AgGridAngular.prototype, "getServerSideGroupKey", void 0);
  1624. __decorate([
  1625. Input(),
  1626. __metadata("design:type", Object)
  1627. ], AgGridAngular.prototype, "isServerSideGroup", void 0);
  1628. __decorate([
  1629. Input(),
  1630. __metadata("design:type", Object)
  1631. ], AgGridAngular.prototype, "suppressKeyboardEvent", void 0);
  1632. __decorate([
  1633. Input(),
  1634. __metadata("design:type", Object)
  1635. ], AgGridAngular.prototype, "createChartContainer", void 0);
  1636. __decorate([
  1637. Input(),
  1638. __metadata("design:type", Object)
  1639. ], AgGridAngular.prototype, "processChartOptions", void 0);
  1640. __decorate([
  1641. Input(),
  1642. __metadata("design:type", Object)
  1643. ], AgGridAngular.prototype, "getChartToolbarItems", void 0);
  1644. __decorate([
  1645. Input(),
  1646. __metadata("design:type", Object)
  1647. ], AgGridAngular.prototype, "fillOperation", void 0);
  1648. __decorate([
  1649. Input(),
  1650. __metadata("design:type", Object)
  1651. ], AgGridAngular.prototype, "toolPanelSuppressRowGroups", void 0);
  1652. __decorate([
  1653. Input(),
  1654. __metadata("design:type", Object)
  1655. ], AgGridAngular.prototype, "toolPanelSuppressValues", void 0);
  1656. __decorate([
  1657. Input(),
  1658. __metadata("design:type", Object)
  1659. ], AgGridAngular.prototype, "toolPanelSuppressPivots", void 0);
  1660. __decorate([
  1661. Input(),
  1662. __metadata("design:type", Object)
  1663. ], AgGridAngular.prototype, "toolPanelSuppressPivotMode", void 0);
  1664. __decorate([
  1665. Input(),
  1666. __metadata("design:type", Object)
  1667. ], AgGridAngular.prototype, "toolPanelSuppressSideButtons", void 0);
  1668. __decorate([
  1669. Input(),
  1670. __metadata("design:type", Object)
  1671. ], AgGridAngular.prototype, "toolPanelSuppressColumnFilter", void 0);
  1672. __decorate([
  1673. Input(),
  1674. __metadata("design:type", Object)
  1675. ], AgGridAngular.prototype, "toolPanelSuppressColumnSelectAll", void 0);
  1676. __decorate([
  1677. Input(),
  1678. __metadata("design:type", Object)
  1679. ], AgGridAngular.prototype, "toolPanelSuppressColumnExpandAll", void 0);
  1680. __decorate([
  1681. Input(),
  1682. __metadata("design:type", Object)
  1683. ], AgGridAngular.prototype, "suppressMakeColumnVisibleAfterUnGroup", void 0);
  1684. __decorate([
  1685. Input(),
  1686. __metadata("design:type", Object)
  1687. ], AgGridAngular.prototype, "suppressRowClickSelection", void 0);
  1688. __decorate([
  1689. Input(),
  1690. __metadata("design:type", Object)
  1691. ], AgGridAngular.prototype, "suppressCellSelection", void 0);
  1692. __decorate([
  1693. Input(),
  1694. __metadata("design:type", Object)
  1695. ], AgGridAngular.prototype, "suppressHorizontalScroll", void 0);
  1696. __decorate([
  1697. Input(),
  1698. __metadata("design:type", Object)
  1699. ], AgGridAngular.prototype, "alwaysShowVerticalScroll", void 0);
  1700. __decorate([
  1701. Input(),
  1702. __metadata("design:type", Object)
  1703. ], AgGridAngular.prototype, "debug", void 0);
  1704. __decorate([
  1705. Input(),
  1706. __metadata("design:type", Object)
  1707. ], AgGridAngular.prototype, "enableBrowserTooltips", void 0);
  1708. __decorate([
  1709. Input(),
  1710. __metadata("design:type", Object)
  1711. ], AgGridAngular.prototype, "enableColResize", void 0);
  1712. __decorate([
  1713. Input(),
  1714. __metadata("design:type", Object)
  1715. ], AgGridAngular.prototype, "enableCellExpressions", void 0);
  1716. __decorate([
  1717. Input(),
  1718. __metadata("design:type", Object)
  1719. ], AgGridAngular.prototype, "enableSorting", void 0);
  1720. __decorate([
  1721. Input(),
  1722. __metadata("design:type", Object)
  1723. ], AgGridAngular.prototype, "enableServerSideSorting", void 0);
  1724. __decorate([
  1725. Input(),
  1726. __metadata("design:type", Object)
  1727. ], AgGridAngular.prototype, "enableFilter", void 0);
  1728. __decorate([
  1729. Input(),
  1730. __metadata("design:type", Object)
  1731. ], AgGridAngular.prototype, "enableServerSideFilter", void 0);
  1732. __decorate([
  1733. Input(),
  1734. __metadata("design:type", Object)
  1735. ], AgGridAngular.prototype, "angularCompileRows", void 0);
  1736. __decorate([
  1737. Input(),
  1738. __metadata("design:type", Object)
  1739. ], AgGridAngular.prototype, "angularCompileFilters", void 0);
  1740. __decorate([
  1741. Input(),
  1742. __metadata("design:type", Object)
  1743. ], AgGridAngular.prototype, "angularCompileHeaders", void 0);
  1744. __decorate([
  1745. Input(),
  1746. __metadata("design:type", Object)
  1747. ], AgGridAngular.prototype, "groupSuppressAutoColumn", void 0);
  1748. __decorate([
  1749. Input(),
  1750. __metadata("design:type", Object)
  1751. ], AgGridAngular.prototype, "groupSelectsChildren", void 0);
  1752. __decorate([
  1753. Input(),
  1754. __metadata("design:type", Object)
  1755. ], AgGridAngular.prototype, "groupIncludeFooter", void 0);
  1756. __decorate([
  1757. Input(),
  1758. __metadata("design:type", Object)
  1759. ], AgGridAngular.prototype, "groupIncludeTotalFooter", void 0);
  1760. __decorate([
  1761. Input(),
  1762. __metadata("design:type", Object)
  1763. ], AgGridAngular.prototype, "groupUseEntireRow", void 0);
  1764. __decorate([
  1765. Input(),
  1766. __metadata("design:type", Object)
  1767. ], AgGridAngular.prototype, "groupSuppressRow", void 0);
  1768. __decorate([
  1769. Input(),
  1770. __metadata("design:type", Object)
  1771. ], AgGridAngular.prototype, "groupSuppressBlankHeader", void 0);
  1772. __decorate([
  1773. Input(),
  1774. __metadata("design:type", Object)
  1775. ], AgGridAngular.prototype, "forPrint", void 0);
  1776. __decorate([
  1777. Input(),
  1778. __metadata("design:type", Object)
  1779. ], AgGridAngular.prototype, "suppressMenuHide", void 0);
  1780. __decorate([
  1781. Input(),
  1782. __metadata("design:type", Object)
  1783. ], AgGridAngular.prototype, "rowDeselection", void 0);
  1784. __decorate([
  1785. Input(),
  1786. __metadata("design:type", Object)
  1787. ], AgGridAngular.prototype, "unSortIcon", void 0);
  1788. __decorate([
  1789. Input(),
  1790. __metadata("design:type", Object)
  1791. ], AgGridAngular.prototype, "suppressMultiSort", void 0);
  1792. __decorate([
  1793. Input(),
  1794. __metadata("design:type", Object)
  1795. ], AgGridAngular.prototype, "singleClickEdit", void 0);
  1796. __decorate([
  1797. Input(),
  1798. __metadata("design:type", Object)
  1799. ], AgGridAngular.prototype, "suppressLoadingOverlay", void 0);
  1800. __decorate([
  1801. Input(),
  1802. __metadata("design:type", Object)
  1803. ], AgGridAngular.prototype, "suppressNoRowsOverlay", void 0);
  1804. __decorate([
  1805. Input(),
  1806. __metadata("design:type", Object)
  1807. ], AgGridAngular.prototype, "suppressAutoSize", void 0);
  1808. __decorate([
  1809. Input(),
  1810. __metadata("design:type", Object)
  1811. ], AgGridAngular.prototype, "skipHeaderOnAutoSize", void 0);
  1812. __decorate([
  1813. Input(),
  1814. __metadata("design:type", Object)
  1815. ], AgGridAngular.prototype, "suppressParentsInRowNodes", void 0);
  1816. __decorate([
  1817. Input(),
  1818. __metadata("design:type", Object)
  1819. ], AgGridAngular.prototype, "showToolPanel", void 0);
  1820. __decorate([
  1821. Input(),
  1822. __metadata("design:type", Object)
  1823. ], AgGridAngular.prototype, "suppressColumnMoveAnimation", void 0);
  1824. __decorate([
  1825. Input(),
  1826. __metadata("design:type", Object)
  1827. ], AgGridAngular.prototype, "suppressMovableColumns", void 0);
  1828. __decorate([
  1829. Input(),
  1830. __metadata("design:type", Object)
  1831. ], AgGridAngular.prototype, "suppressFieldDotNotation", void 0);
  1832. __decorate([
  1833. Input(),
  1834. __metadata("design:type", Object)
  1835. ], AgGridAngular.prototype, "enableRangeSelection", void 0);
  1836. __decorate([
  1837. Input(),
  1838. __metadata("design:type", Object)
  1839. ], AgGridAngular.prototype, "enableRangeHandle", void 0);
  1840. __decorate([
  1841. Input(),
  1842. __metadata("design:type", Object)
  1843. ], AgGridAngular.prototype, "enableFillHandle", void 0);
  1844. __decorate([
  1845. Input(),
  1846. __metadata("design:type", Object)
  1847. ], AgGridAngular.prototype, "suppressClearOnFillReduction", void 0);
  1848. __decorate([
  1849. Input(),
  1850. __metadata("design:type", Object)
  1851. ], AgGridAngular.prototype, "deltaSort", void 0);
  1852. __decorate([
  1853. Input(),
  1854. __metadata("design:type", Object)
  1855. ], AgGridAngular.prototype, "suppressTouch", void 0);
  1856. __decorate([
  1857. Input(),
  1858. __metadata("design:type", Object)
  1859. ], AgGridAngular.prototype, "suppressAsyncEvents", void 0);
  1860. __decorate([
  1861. Input(),
  1862. __metadata("design:type", Object)
  1863. ], AgGridAngular.prototype, "allowContextMenuWithControlKey", void 0);
  1864. __decorate([
  1865. Input(),
  1866. __metadata("design:type", Object)
  1867. ], AgGridAngular.prototype, "suppressContextMenu", void 0);
  1868. __decorate([
  1869. Input(),
  1870. __metadata("design:type", Object)
  1871. ], AgGridAngular.prototype, "suppressMenuFilterPanel", void 0);
  1872. __decorate([
  1873. Input(),
  1874. __metadata("design:type", Object)
  1875. ], AgGridAngular.prototype, "suppressMenuMainPanel", void 0);
  1876. __decorate([
  1877. Input(),
  1878. __metadata("design:type", Object)
  1879. ], AgGridAngular.prototype, "suppressMenuColumnPanel", void 0);
  1880. __decorate([
  1881. Input(),
  1882. __metadata("design:type", Object)
  1883. ], AgGridAngular.prototype, "rememberGroupStateWhenNewData", void 0);
  1884. __decorate([
  1885. Input(),
  1886. __metadata("design:type", Object)
  1887. ], AgGridAngular.prototype, "enableCellChangeFlash", void 0);
  1888. __decorate([
  1889. Input(),
  1890. __metadata("design:type", Object)
  1891. ], AgGridAngular.prototype, "suppressDragLeaveHidesColumns", void 0);
  1892. __decorate([
  1893. Input(),
  1894. __metadata("design:type", Object)
  1895. ], AgGridAngular.prototype, "suppressMiddleClickScrolls", void 0);
  1896. __decorate([
  1897. Input(),
  1898. __metadata("design:type", Object)
  1899. ], AgGridAngular.prototype, "suppressPreventDefaultOnMouseWheel", void 0);
  1900. __decorate([
  1901. Input(),
  1902. __metadata("design:type", Object)
  1903. ], AgGridAngular.prototype, "suppressUseColIdForGroups", void 0);
  1904. __decorate([
  1905. Input(),
  1906. __metadata("design:type", Object)
  1907. ], AgGridAngular.prototype, "suppressCopyRowsToClipboard", void 0);
  1908. __decorate([
  1909. Input(),
  1910. __metadata("design:type", Object)
  1911. ], AgGridAngular.prototype, "copyHeadersToClipboard", void 0);
  1912. __decorate([
  1913. Input(),
  1914. __metadata("design:type", Object)
  1915. ], AgGridAngular.prototype, "pivotMode", void 0);
  1916. __decorate([
  1917. Input(),
  1918. __metadata("design:type", Object)
  1919. ], AgGridAngular.prototype, "suppressAggFuncInHeader", void 0);
  1920. __decorate([
  1921. Input(),
  1922. __metadata("design:type", Object)
  1923. ], AgGridAngular.prototype, "suppressColumnVirtualisation", void 0);
  1924. __decorate([
  1925. Input(),
  1926. __metadata("design:type", Object)
  1927. ], AgGridAngular.prototype, "suppressAggAtRootLevel", void 0);
  1928. __decorate([
  1929. Input(),
  1930. __metadata("design:type", Object)
  1931. ], AgGridAngular.prototype, "suppressFocusAfterRefresh", void 0);
  1932. __decorate([
  1933. Input(),
  1934. __metadata("design:type", Object)
  1935. ], AgGridAngular.prototype, "functionsPassive", void 0);
  1936. __decorate([
  1937. Input(),
  1938. __metadata("design:type", Object)
  1939. ], AgGridAngular.prototype, "functionsReadOnly", void 0);
  1940. __decorate([
  1941. Input(),
  1942. __metadata("design:type", Object)
  1943. ], AgGridAngular.prototype, "animateRows", void 0);
  1944. __decorate([
  1945. Input(),
  1946. __metadata("design:type", Object)
  1947. ], AgGridAngular.prototype, "groupSelectsFiltered", void 0);
  1948. __decorate([
  1949. Input(),
  1950. __metadata("design:type", Object)
  1951. ], AgGridAngular.prototype, "groupRemoveSingleChildren", void 0);
  1952. __decorate([
  1953. Input(),
  1954. __metadata("design:type", Object)
  1955. ], AgGridAngular.prototype, "groupRemoveLowestSingleChildren", void 0);
  1956. __decorate([
  1957. Input(),
  1958. __metadata("design:type", Object)
  1959. ], AgGridAngular.prototype, "enableRtl", void 0);
  1960. __decorate([
  1961. Input(),
  1962. __metadata("design:type", Object)
  1963. ], AgGridAngular.prototype, "suppressClickEdit", void 0);
  1964. __decorate([
  1965. Input(),
  1966. __metadata("design:type", Object)
  1967. ], AgGridAngular.prototype, "rowDragManaged", void 0);
  1968. __decorate([
  1969. Input(),
  1970. __metadata("design:type", Object)
  1971. ], AgGridAngular.prototype, "suppressRowDrag", void 0);
  1972. __decorate([
  1973. Input(),
  1974. __metadata("design:type", Object)
  1975. ], AgGridAngular.prototype, "suppressMoveWhenRowDragging", void 0);
  1976. __decorate([
  1977. Input(),
  1978. __metadata("design:type", Object)
  1979. ], AgGridAngular.prototype, "enableMultiRowDragging", void 0);
  1980. __decorate([
  1981. Input(),
  1982. __metadata("design:type", Object)
  1983. ], AgGridAngular.prototype, "enableGroupEdit", void 0);
  1984. __decorate([
  1985. Input(),
  1986. __metadata("design:type", Object)
  1987. ], AgGridAngular.prototype, "embedFullWidthRows", void 0);
  1988. __decorate([
  1989. Input(),
  1990. __metadata("design:type", Object)
  1991. ], AgGridAngular.prototype, "deprecatedEmbedFullWidthRows", void 0);
  1992. __decorate([
  1993. Input(),
  1994. __metadata("design:type", Object)
  1995. ], AgGridAngular.prototype, "suppressTabbing", void 0);
  1996. __decorate([
  1997. Input(),
  1998. __metadata("design:type", Object)
  1999. ], AgGridAngular.prototype, "suppressPaginationPanel", void 0);
  2000. __decorate([
  2001. Input(),
  2002. __metadata("design:type", Object)
  2003. ], AgGridAngular.prototype, "floatingFilter", void 0);
  2004. __decorate([
  2005. Input(),
  2006. __metadata("design:type", Object)
  2007. ], AgGridAngular.prototype, "groupHideOpenParents", void 0);
  2008. __decorate([
  2009. Input(),
  2010. __metadata("design:type", Object)
  2011. ], AgGridAngular.prototype, "groupMultiAutoColumn", void 0);
  2012. __decorate([
  2013. Input(),
  2014. __metadata("design:type", Object)
  2015. ], AgGridAngular.prototype, "pagination", void 0);
  2016. __decorate([
  2017. Input(),
  2018. __metadata("design:type", Object)
  2019. ], AgGridAngular.prototype, "stopEditingWhenGridLosesFocus", void 0);
  2020. __decorate([
  2021. Input(),
  2022. __metadata("design:type", Object)
  2023. ], AgGridAngular.prototype, "paginationAutoPageSize", void 0);
  2024. __decorate([
  2025. Input(),
  2026. __metadata("design:type", Object)
  2027. ], AgGridAngular.prototype, "suppressScrollOnNewData", void 0);
  2028. __decorate([
  2029. Input(),
  2030. __metadata("design:type", Object)
  2031. ], AgGridAngular.prototype, "purgeClosedRowNodes", void 0);
  2032. __decorate([
  2033. Input(),
  2034. __metadata("design:type", Object)
  2035. ], AgGridAngular.prototype, "cacheQuickFilter", void 0);
  2036. __decorate([
  2037. Input(),
  2038. __metadata("design:type", Object)
  2039. ], AgGridAngular.prototype, "deltaRowDataMode", void 0);
  2040. __decorate([
  2041. Input(),
  2042. __metadata("design:type", Object)
  2043. ], AgGridAngular.prototype, "ensureDomOrder", void 0);
  2044. __decorate([
  2045. Input(),
  2046. __metadata("design:type", Object)
  2047. ], AgGridAngular.prototype, "accentedSort", void 0);
  2048. __decorate([
  2049. Input(),
  2050. __metadata("design:type", Object)
  2051. ], AgGridAngular.prototype, "pivotTotals", void 0);
  2052. __decorate([
  2053. Input(),
  2054. __metadata("design:type", Object)
  2055. ], AgGridAngular.prototype, "suppressChangeDetection", void 0);
  2056. __decorate([
  2057. Input(),
  2058. __metadata("design:type", Object)
  2059. ], AgGridAngular.prototype, "valueCache", void 0);
  2060. __decorate([
  2061. Input(),
  2062. __metadata("design:type", Object)
  2063. ], AgGridAngular.prototype, "valueCacheNeverExpires", void 0);
  2064. __decorate([
  2065. Input(),
  2066. __metadata("design:type", Object)
  2067. ], AgGridAngular.prototype, "aggregateOnlyChangedColumns", void 0);
  2068. __decorate([
  2069. Input(),
  2070. __metadata("design:type", Object)
  2071. ], AgGridAngular.prototype, "suppressAnimationFrame", void 0);
  2072. __decorate([
  2073. Input(),
  2074. __metadata("design:type", Object)
  2075. ], AgGridAngular.prototype, "suppressExcelExport", void 0);
  2076. __decorate([
  2077. Input(),
  2078. __metadata("design:type", Object)
  2079. ], AgGridAngular.prototype, "suppressCsvExport", void 0);
  2080. __decorate([
  2081. Input(),
  2082. __metadata("design:type", Object)
  2083. ], AgGridAngular.prototype, "treeData", void 0);
  2084. __decorate([
  2085. Input(),
  2086. __metadata("design:type", Object)
  2087. ], AgGridAngular.prototype, "masterDetail", void 0);
  2088. __decorate([
  2089. Input(),
  2090. __metadata("design:type", Object)
  2091. ], AgGridAngular.prototype, "suppressMultiRangeSelection", void 0);
  2092. __decorate([
  2093. Input(),
  2094. __metadata("design:type", Object)
  2095. ], AgGridAngular.prototype, "enterMovesDownAfterEdit", void 0);
  2096. __decorate([
  2097. Input(),
  2098. __metadata("design:type", Object)
  2099. ], AgGridAngular.prototype, "enterMovesDown", void 0);
  2100. __decorate([
  2101. Input(),
  2102. __metadata("design:type", Object)
  2103. ], AgGridAngular.prototype, "suppressPropertyNamesCheck", void 0);
  2104. __decorate([
  2105. Input(),
  2106. __metadata("design:type", Object)
  2107. ], AgGridAngular.prototype, "rowMultiSelectWithClick", void 0);
  2108. __decorate([
  2109. Input(),
  2110. __metadata("design:type", Object)
  2111. ], AgGridAngular.prototype, "contractColumnSelection", void 0);
  2112. __decorate([
  2113. Input(),
  2114. __metadata("design:type", Object)
  2115. ], AgGridAngular.prototype, "suppressEnterpriseResetOnNewColumns", void 0);
  2116. __decorate([
  2117. Input(),
  2118. __metadata("design:type", Object)
  2119. ], AgGridAngular.prototype, "enableOldSetFilterModel", void 0);
  2120. __decorate([
  2121. Input(),
  2122. __metadata("design:type", Object)
  2123. ], AgGridAngular.prototype, "suppressRowHoverHighlight", void 0);
  2124. __decorate([
  2125. Input(),
  2126. __metadata("design:type", Object)
  2127. ], AgGridAngular.prototype, "gridAutoHeight", void 0);
  2128. __decorate([
  2129. Input(),
  2130. __metadata("design:type", Object)
  2131. ], AgGridAngular.prototype, "suppressRowTransform", void 0);
  2132. __decorate([
  2133. Input(),
  2134. __metadata("design:type", Object)
  2135. ], AgGridAngular.prototype, "suppressClipboardPaste", void 0);
  2136. __decorate([
  2137. Input(),
  2138. __metadata("design:type", Object)
  2139. ], AgGridAngular.prototype, "suppressLastEmptyLineOnPaste", void 0);
  2140. __decorate([
  2141. Input(),
  2142. __metadata("design:type", Object)
  2143. ], AgGridAngular.prototype, "serverSideSortingAlwaysResets", void 0);
  2144. __decorate([
  2145. Input(),
  2146. __metadata("design:type", Object)
  2147. ], AgGridAngular.prototype, "reactNext", void 0);
  2148. __decorate([
  2149. Input(),
  2150. __metadata("design:type", Object)
  2151. ], AgGridAngular.prototype, "suppressSetColumnStateEvents", void 0);
  2152. __decorate([
  2153. Input(),
  2154. __metadata("design:type", Object)
  2155. ], AgGridAngular.prototype, "enableCharts", void 0);
  2156. __decorate([
  2157. Input(),
  2158. __metadata("design:type", Object)
  2159. ], AgGridAngular.prototype, "deltaColumnMode", void 0);
  2160. __decorate([
  2161. Input(),
  2162. __metadata("design:type", Object)
  2163. ], AgGridAngular.prototype, "suppressMaintainUnsortedOrder", void 0);
  2164. __decorate([
  2165. Input(),
  2166. __metadata("design:type", Object)
  2167. ], AgGridAngular.prototype, "enableCellTextSelection", void 0);
  2168. __decorate([
  2169. Input(),
  2170. __metadata("design:type", Object)
  2171. ], AgGridAngular.prototype, "suppressBrowserResizeObserver", void 0);
  2172. __decorate([
  2173. Input(),
  2174. __metadata("design:type", Object)
  2175. ], AgGridAngular.prototype, "suppressMaxRenderedRowRestriction", void 0);
  2176. __decorate([
  2177. Input(),
  2178. __metadata("design:type", Object)
  2179. ], AgGridAngular.prototype, "excludeChildrenWhenTreeDataFiltering", void 0);
  2180. __decorate([
  2181. Input(),
  2182. __metadata("design:type", Object)
  2183. ], AgGridAngular.prototype, "tooltipMouseTrack", void 0);
  2184. __decorate([
  2185. Input(),
  2186. __metadata("design:type", Object)
  2187. ], AgGridAngular.prototype, "keepDetailRows", void 0);
  2188. __decorate([
  2189. Input(),
  2190. __metadata("design:type", Object)
  2191. ], AgGridAngular.prototype, "paginateChildRows", void 0);
  2192. __decorate([
  2193. Input(),
  2194. __metadata("design:type", Object)
  2195. ], AgGridAngular.prototype, "preventDefaultOnContextMenu", void 0);
  2196. __decorate([
  2197. Input(),
  2198. __metadata("design:type", Object)
  2199. ], AgGridAngular.prototype, "undoRedoCellEditing", void 0);
  2200. __decorate([
  2201. Input(),
  2202. __metadata("design:type", Object)
  2203. ], AgGridAngular.prototype, "allowDragFromColumnsToolPanel", void 0);
  2204. __decorate([
  2205. Input(),
  2206. __metadata("design:type", Object)
  2207. ], AgGridAngular.prototype, "immutableData", void 0);
  2208. __decorate([
  2209. Input(),
  2210. __metadata("design:type", Object)
  2211. ], AgGridAngular.prototype, "immutableColumns", void 0);
  2212. __decorate([
  2213. Input(),
  2214. __metadata("design:type", Object)
  2215. ], AgGridAngular.prototype, "pivotSuppressAutoColumn", void 0);
  2216. __decorate([
  2217. Output(),
  2218. __metadata("design:type", EventEmitter)
  2219. ], AgGridAngular.prototype, "columnEverythingChanged", void 0);
  2220. __decorate([
  2221. Output(),
  2222. __metadata("design:type", EventEmitter)
  2223. ], AgGridAngular.prototype, "newColumnsLoaded", void 0);
  2224. __decorate([
  2225. Output(),
  2226. __metadata("design:type", EventEmitter)
  2227. ], AgGridAngular.prototype, "columnPivotModeChanged", void 0);
  2228. __decorate([
  2229. Output(),
  2230. __metadata("design:type", EventEmitter)
  2231. ], AgGridAngular.prototype, "columnRowGroupChanged", void 0);
  2232. __decorate([
  2233. Output(),
  2234. __metadata("design:type", EventEmitter)
  2235. ], AgGridAngular.prototype, "expandOrCollapseAll", void 0);
  2236. __decorate([
  2237. Output(),
  2238. __metadata("design:type", EventEmitter)
  2239. ], AgGridAngular.prototype, "columnPivotChanged", void 0);
  2240. __decorate([
  2241. Output(),
  2242. __metadata("design:type", EventEmitter)
  2243. ], AgGridAngular.prototype, "gridColumnsChanged", void 0);
  2244. __decorate([
  2245. Output(),
  2246. __metadata("design:type", EventEmitter)
  2247. ], AgGridAngular.prototype, "columnValueChanged", void 0);
  2248. __decorate([
  2249. Output(),
  2250. __metadata("design:type", EventEmitter)
  2251. ], AgGridAngular.prototype, "columnMoved", void 0);
  2252. __decorate([
  2253. Output(),
  2254. __metadata("design:type", EventEmitter)
  2255. ], AgGridAngular.prototype, "columnVisible", void 0);
  2256. __decorate([
  2257. Output(),
  2258. __metadata("design:type", EventEmitter)
  2259. ], AgGridAngular.prototype, "columnPinned", void 0);
  2260. __decorate([
  2261. Output(),
  2262. __metadata("design:type", EventEmitter)
  2263. ], AgGridAngular.prototype, "columnGroupOpened", void 0);
  2264. __decorate([
  2265. Output(),
  2266. __metadata("design:type", EventEmitter)
  2267. ], AgGridAngular.prototype, "columnResized", void 0);
  2268. __decorate([
  2269. Output(),
  2270. __metadata("design:type", EventEmitter)
  2271. ], AgGridAngular.prototype, "displayedColumnsChanged", void 0);
  2272. __decorate([
  2273. Output(),
  2274. __metadata("design:type", EventEmitter)
  2275. ], AgGridAngular.prototype, "virtualColumnsChanged", void 0);
  2276. __decorate([
  2277. Output(),
  2278. __metadata("design:type", EventEmitter)
  2279. ], AgGridAngular.prototype, "rowGroupOpened", void 0);
  2280. __decorate([
  2281. Output(),
  2282. __metadata("design:type", EventEmitter)
  2283. ], AgGridAngular.prototype, "rowDataChanged", void 0);
  2284. __decorate([
  2285. Output(),
  2286. __metadata("design:type", EventEmitter)
  2287. ], AgGridAngular.prototype, "rowDataUpdated", void 0);
  2288. __decorate([
  2289. Output(),
  2290. __metadata("design:type", EventEmitter)
  2291. ], AgGridAngular.prototype, "pinnedRowDataChanged", void 0);
  2292. __decorate([
  2293. Output(),
  2294. __metadata("design:type", EventEmitter)
  2295. ], AgGridAngular.prototype, "rangeSelectionChanged", void 0);
  2296. __decorate([
  2297. Output(),
  2298. __metadata("design:type", EventEmitter)
  2299. ], AgGridAngular.prototype, "chartCreated", void 0);
  2300. __decorate([
  2301. Output(),
  2302. __metadata("design:type", EventEmitter)
  2303. ], AgGridAngular.prototype, "chartRangeSelectionChanged", void 0);
  2304. __decorate([
  2305. Output(),
  2306. __metadata("design:type", EventEmitter)
  2307. ], AgGridAngular.prototype, "chartOptionsChanged", void 0);
  2308. __decorate([
  2309. Output(),
  2310. __metadata("design:type", EventEmitter)
  2311. ], AgGridAngular.prototype, "chartDestroyed", void 0);
  2312. __decorate([
  2313. Output(),
  2314. __metadata("design:type", EventEmitter)
  2315. ], AgGridAngular.prototype, "toolPanelVisibleChanged", void 0);
  2316. __decorate([
  2317. Output(),
  2318. __metadata("design:type", EventEmitter)
  2319. ], AgGridAngular.prototype, "modelUpdated", void 0);
  2320. __decorate([
  2321. Output(),
  2322. __metadata("design:type", EventEmitter)
  2323. ], AgGridAngular.prototype, "pasteStart", void 0);
  2324. __decorate([
  2325. Output(),
  2326. __metadata("design:type", EventEmitter)
  2327. ], AgGridAngular.prototype, "pasteEnd", void 0);
  2328. __decorate([
  2329. Output(),
  2330. __metadata("design:type", EventEmitter)
  2331. ], AgGridAngular.prototype, "fillStart", void 0);
  2332. __decorate([
  2333. Output(),
  2334. __metadata("design:type", EventEmitter)
  2335. ], AgGridAngular.prototype, "fillEnd", void 0);
  2336. __decorate([
  2337. Output(),
  2338. __metadata("design:type", EventEmitter)
  2339. ], AgGridAngular.prototype, "cellClicked", void 0);
  2340. __decorate([
  2341. Output(),
  2342. __metadata("design:type", EventEmitter)
  2343. ], AgGridAngular.prototype, "cellDoubleClicked", void 0);
  2344. __decorate([
  2345. Output(),
  2346. __metadata("design:type", EventEmitter)
  2347. ], AgGridAngular.prototype, "cellMouseDown", void 0);
  2348. __decorate([
  2349. Output(),
  2350. __metadata("design:type", EventEmitter)
  2351. ], AgGridAngular.prototype, "cellContextMenu", void 0);
  2352. __decorate([
  2353. Output(),
  2354. __metadata("design:type", EventEmitter)
  2355. ], AgGridAngular.prototype, "cellValueChanged", void 0);
  2356. __decorate([
  2357. Output(),
  2358. __metadata("design:type", EventEmitter)
  2359. ], AgGridAngular.prototype, "rowValueChanged", void 0);
  2360. __decorate([
  2361. Output(),
  2362. __metadata("design:type", EventEmitter)
  2363. ], AgGridAngular.prototype, "cellFocused", void 0);
  2364. __decorate([
  2365. Output(),
  2366. __metadata("design:type", EventEmitter)
  2367. ], AgGridAngular.prototype, "rowSelected", void 0);
  2368. __decorate([
  2369. Output(),
  2370. __metadata("design:type", EventEmitter)
  2371. ], AgGridAngular.prototype, "selectionChanged", void 0);
  2372. __decorate([
  2373. Output(),
  2374. __metadata("design:type", EventEmitter)
  2375. ], AgGridAngular.prototype, "cellKeyDown", void 0);
  2376. __decorate([
  2377. Output(),
  2378. __metadata("design:type", EventEmitter)
  2379. ], AgGridAngular.prototype, "cellKeyPress", void 0);
  2380. __decorate([
  2381. Output(),
  2382. __metadata("design:type", EventEmitter)
  2383. ], AgGridAngular.prototype, "cellMouseOver", void 0);
  2384. __decorate([
  2385. Output(),
  2386. __metadata("design:type", EventEmitter)
  2387. ], AgGridAngular.prototype, "cellMouseOut", void 0);
  2388. __decorate([
  2389. Output(),
  2390. __metadata("design:type", EventEmitter)
  2391. ], AgGridAngular.prototype, "filterChanged", void 0);
  2392. __decorate([
  2393. Output(),
  2394. __metadata("design:type", EventEmitter)
  2395. ], AgGridAngular.prototype, "filterModified", void 0);
  2396. __decorate([
  2397. Output(),
  2398. __metadata("design:type", EventEmitter)
  2399. ], AgGridAngular.prototype, "filterOpened", void 0);
  2400. __decorate([
  2401. Output(),
  2402. __metadata("design:type", EventEmitter)
  2403. ], AgGridAngular.prototype, "sortChanged", void 0);
  2404. __decorate([
  2405. Output(),
  2406. __metadata("design:type", EventEmitter)
  2407. ], AgGridAngular.prototype, "virtualRowRemoved", void 0);
  2408. __decorate([
  2409. Output(),
  2410. __metadata("design:type", EventEmitter)
  2411. ], AgGridAngular.prototype, "rowClicked", void 0);
  2412. __decorate([
  2413. Output(),
  2414. __metadata("design:type", EventEmitter)
  2415. ], AgGridAngular.prototype, "rowDoubleClicked", void 0);
  2416. __decorate([
  2417. Output(),
  2418. __metadata("design:type", EventEmitter)
  2419. ], AgGridAngular.prototype, "gridReady", void 0);
  2420. __decorate([
  2421. Output(),
  2422. __metadata("design:type", EventEmitter)
  2423. ], AgGridAngular.prototype, "gridSizeChanged", void 0);
  2424. __decorate([
  2425. Output(),
  2426. __metadata("design:type", EventEmitter)
  2427. ], AgGridAngular.prototype, "viewportChanged", void 0);
  2428. __decorate([
  2429. Output(),
  2430. __metadata("design:type", EventEmitter)
  2431. ], AgGridAngular.prototype, "firstDataRendered", void 0);
  2432. __decorate([
  2433. Output(),
  2434. __metadata("design:type", EventEmitter)
  2435. ], AgGridAngular.prototype, "dragStarted", void 0);
  2436. __decorate([
  2437. Output(),
  2438. __metadata("design:type", EventEmitter)
  2439. ], AgGridAngular.prototype, "dragStopped", void 0);
  2440. __decorate([
  2441. Output(),
  2442. __metadata("design:type", EventEmitter)
  2443. ], AgGridAngular.prototype, "checkboxChanged", void 0);
  2444. __decorate([
  2445. Output(),
  2446. __metadata("design:type", EventEmitter)
  2447. ], AgGridAngular.prototype, "rowEditingStarted", void 0);
  2448. __decorate([
  2449. Output(),
  2450. __metadata("design:type", EventEmitter)
  2451. ], AgGridAngular.prototype, "rowEditingStopped", void 0);
  2452. __decorate([
  2453. Output(),
  2454. __metadata("design:type", EventEmitter)
  2455. ], AgGridAngular.prototype, "cellEditingStarted", void 0);
  2456. __decorate([
  2457. Output(),
  2458. __metadata("design:type", EventEmitter)
  2459. ], AgGridAngular.prototype, "cellEditingStopped", void 0);
  2460. __decorate([
  2461. Output(),
  2462. __metadata("design:type", EventEmitter)
  2463. ], AgGridAngular.prototype, "bodyScroll", void 0);
  2464. __decorate([
  2465. Output(),
  2466. __metadata("design:type", EventEmitter)
  2467. ], AgGridAngular.prototype, "animationQueueEmpty", void 0);
  2468. __decorate([
  2469. Output(),
  2470. __metadata("design:type", EventEmitter)
  2471. ], AgGridAngular.prototype, "heightScaleChanged", void 0);
  2472. __decorate([
  2473. Output(),
  2474. __metadata("design:type", EventEmitter)
  2475. ], AgGridAngular.prototype, "paginationChanged", void 0);
  2476. __decorate([
  2477. Output(),
  2478. __metadata("design:type", EventEmitter)
  2479. ], AgGridAngular.prototype, "componentStateChanged", void 0);
  2480. __decorate([
  2481. Output(),
  2482. __metadata("design:type", EventEmitter)
  2483. ], AgGridAngular.prototype, "bodyHeightChanged", void 0);
  2484. __decorate([
  2485. Output(),
  2486. __metadata("design:type", EventEmitter)
  2487. ], AgGridAngular.prototype, "displayedColumnsWidthChanged", void 0);
  2488. __decorate([
  2489. Output(),
  2490. __metadata("design:type", EventEmitter)
  2491. ], AgGridAngular.prototype, "scrollVisibilityChanged", void 0);
  2492. __decorate([
  2493. Output(),
  2494. __metadata("design:type", EventEmitter)
  2495. ], AgGridAngular.prototype, "columnHoverChanged", void 0);
  2496. __decorate([
  2497. Output(),
  2498. __metadata("design:type", EventEmitter)
  2499. ], AgGridAngular.prototype, "flashCells", void 0);
  2500. __decorate([
  2501. Output(),
  2502. __metadata("design:type", EventEmitter)
  2503. ], AgGridAngular.prototype, "rowDragEnter", void 0);
  2504. __decorate([
  2505. Output(),
  2506. __metadata("design:type", EventEmitter)
  2507. ], AgGridAngular.prototype, "rowDragMove", void 0);
  2508. __decorate([
  2509. Output(),
  2510. __metadata("design:type", EventEmitter)
  2511. ], AgGridAngular.prototype, "rowDragLeave", void 0);
  2512. __decorate([
  2513. Output(),
  2514. __metadata("design:type", EventEmitter)
  2515. ], AgGridAngular.prototype, "rowDragEnd", void 0);
  2516. __decorate([
  2517. Output(),
  2518. __metadata("design:type", EventEmitter)
  2519. ], AgGridAngular.prototype, "popupToFront", void 0);
  2520. __decorate([
  2521. Output(),
  2522. __metadata("design:type", EventEmitter)
  2523. ], AgGridAngular.prototype, "columnRowGroupChangeRequest", void 0);
  2524. __decorate([
  2525. Output(),
  2526. __metadata("design:type", EventEmitter)
  2527. ], AgGridAngular.prototype, "columnPivotChangeRequest", void 0);
  2528. __decorate([
  2529. Output(),
  2530. __metadata("design:type", EventEmitter)
  2531. ], AgGridAngular.prototype, "columnValueChangeRequest", void 0);
  2532. __decorate([
  2533. Output(),
  2534. __metadata("design:type", EventEmitter)
  2535. ], AgGridAngular.prototype, "columnAggFuncChangeRequest", void 0);
  2536. __decorate([
  2537. Output(),
  2538. __metadata("design:type", EventEmitter)
  2539. ], AgGridAngular.prototype, "keyboardFocus", void 0);
  2540. __decorate([
  2541. Output(),
  2542. __metadata("design:type", EventEmitter)
  2543. ], AgGridAngular.prototype, "mouseFocus", void 0);
  2544. AgGridAngular = __decorate([
  2545. Component({
  2546. selector: 'ag-grid-angular',
  2547. template: '',
  2548. providers: [
  2549. AngularFrameworkOverrides,
  2550. AngularFrameworkComponentWrapper
  2551. ],
  2552. // tell angular we don't want view encapsulation, we don't want a shadow root
  2553. encapsulation: ViewEncapsulation.None
  2554. }),
  2555. __metadata("design:paramtypes", [ElementRef,
  2556. ViewContainerRef,
  2557. AngularFrameworkOverrides,
  2558. AngularFrameworkComponentWrapper,
  2559. ComponentFactoryResolver])
  2560. ], AgGridAngular);
  2561. var AgGridModule_1;
  2562. let AgGridModule = AgGridModule_1 = class AgGridModule {
  2563. static withComponents(components) {
  2564. return {
  2565. ngModule: AgGridModule_1,
  2566. providers: [
  2567. { provide: ANALYZE_FOR_ENTRY_COMPONENTS, useValue: components, multi: true }
  2568. ],
  2569. };
  2570. }
  2571. static forRoot(components) {
  2572. return {
  2573. ngModule: AgGridModule_1,
  2574. providers: [
  2575. { provide: ANALYZE_FOR_ENTRY_COMPONENTS, useValue: components, multi: true }
  2576. ],
  2577. };
  2578. }
  2579. };
  2580. AgGridModule = AgGridModule_1 = __decorate([
  2581. NgModule({
  2582. declarations: [AgGridAngular, AgGridColumn],
  2583. imports: [],
  2584. exports: [AgGridAngular, AgGridColumn]
  2585. })
  2586. ], AgGridModule);
  2587. /**
  2588. * Generated bundle index. Do not edit.
  2589. */
  2590. export { AgGridAngular, AgGridColumn, AgGridModule, AngularFrameworkOverrides as ɵa, AngularFrameworkComponentWrapper as ɵb };
  2591. //# sourceMappingURL=ag-grid-angular.js.map