@bryntum/grid-thin-trial 7.2.4 → 7.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/fluent2-dark.css +16 -0
- package/grid.css +21 -30
- package/grid.css.map +2 -2
- package/grid.d.ts +4079 -6055
- package/high-contrast-dark.css +16 -0
- package/lib/column/ActionColumn.js +1 -1
- package/lib/column/AggregateColumn.js +1 -1
- package/lib/column/ChartColumn.js +1 -1
- package/lib/column/CheckColumn.js +1 -1
- package/lib/column/ColorColumn.js +1 -1
- package/lib/column/Column.js +1 -1
- package/lib/column/CurrencyColumn.js +1 -1
- package/lib/column/DateColumn.js +1 -1
- package/lib/column/NumberColumn.js +1 -1
- package/lib/column/PercentColumn.css +5 -0
- package/lib/column/PercentColumn.js +1 -1
- package/lib/column/RatingColumn.js +1 -1
- package/lib/column/RowNumberColumn.js +1 -1
- package/lib/column/SparklineColumn.js +1 -1
- package/lib/column/TemplateColumn.js +1 -1
- package/lib/column/TimeColumn.js +1 -1
- package/lib/column/TreeColumn.css +9 -1
- package/lib/column/TreeColumn.js +1 -1
- package/lib/column/WidgetColumn.js +1 -1
- package/lib/column/mixin/TreeColumnMixin.js +1 -1
- package/lib/customElements/GridTag.js +1 -1
- package/lib/data/ColumnStore.js +1 -1
- package/lib/data/GridRowModel.js +1 -1
- package/lib/feature/AI.js +1 -1
- package/lib/feature/CellCopyPaste.js +1 -1
- package/lib/feature/CellEdit.js +1 -1
- package/lib/feature/CellMenu.js +1 -1
- package/lib/feature/CellTooltip.js +1 -1
- package/lib/feature/Charts.js +1 -1
- package/lib/feature/ColumnAutoWidth.js +1 -1
- package/lib/feature/ColumnDragToolbar.js +7 -7
- package/lib/feature/ColumnPicker.js +1 -1
- package/lib/feature/ColumnRename.js +1 -1
- package/lib/feature/ColumnReorder.js +1 -1
- package/lib/feature/ColumnResize.js +1 -1
- package/lib/feature/FillHandle.js +1 -1
- package/lib/feature/Filter.js +1 -1
- package/lib/feature/FilterBar.js +1 -1
- package/lib/feature/GridFeatureManager.js +1 -1
- package/lib/feature/Group.js +1 -1
- package/lib/feature/GroupSummary.js +1 -1
- package/lib/feature/HeaderMenu.js +1 -1
- package/lib/feature/LockRows.js +1 -1
- package/lib/feature/MergeCells.js +1 -1
- package/lib/feature/PinColumns.js +1 -1
- package/lib/feature/QuickFind.js +1 -1
- package/lib/feature/RegionResize.css +4 -4
- package/lib/feature/RegionResize.js +1 -1
- package/lib/feature/RowCopyPaste.js +1 -1
- package/lib/feature/RowEdit.js +1 -1
- package/lib/feature/RowExpander.js +1 -1
- package/lib/feature/RowReorder.js +1 -1
- package/lib/feature/RowResize.js +1 -1
- package/lib/feature/Search.js +1 -1
- package/lib/feature/Sort.js +1 -1
- package/lib/feature/Split.js +1 -1
- package/lib/feature/StickyCells.css +12 -28
- package/lib/feature/StickyCells.js +1 -1
- package/lib/feature/Stripe.js +1 -1
- package/lib/feature/Summary.js +1 -1
- package/lib/feature/Tree.js +1 -1
- package/lib/feature/TreeGroup.js +1 -1
- package/lib/feature/ai/AIFilter.js +1 -1
- package/lib/feature/ai/agents/DefaultGridAgent.js +3 -3
- package/lib/feature/ai/agents/trainingData.js +1 -1
- package/lib/feature/base/CopyPasteBase.js +1 -1
- package/lib/feature/base/GridEditBase.js +1 -1
- package/lib/feature/experimental/ExcelExporter.js +1 -1
- package/lib/feature/experimental/FileDrop.js +1 -1
- package/lib/feature/experimental/xlsproviders/XlsProviderBase.js +1 -1
- package/lib/feature/export/PdfExport.js +4 -4
- package/lib/feature/export/Print.js +1 -1
- package/lib/feature/export/exporter/Exporter.js +1 -1
- package/lib/feature/export/exporter/ExporterBase.js +6 -6
- package/lib/feature/export/exporter/MultiPageExporter.js +1 -1
- package/lib/feature/export/exporter/MultiPageVerticalExporter.js +1 -1
- package/lib/feature/export/exporter/SinglePageExporter.js +1 -1
- package/lib/feature/export/exporter/SinglePageUnscaledExporter.js +1 -1
- package/lib/feature/export/mixin/PrintMixin.js +1 -1
- package/lib/row/Row.js +1 -1
- package/lib/row/RowManager.js +1 -1
- package/lib/util/GridLocation.js +1 -1
- package/lib/util/TableExporter.js +1 -1
- package/lib/view/Bar.js +1 -1
- package/lib/view/Grid.js +1 -1
- package/lib/view/GridBase.css +0 -10
- package/lib/view/GridBase.js +1 -1
- package/lib/view/SubGrid.js +1 -1
- package/lib/view/TreeGrid.js +1 -1
- package/lib/view/export/ExportDialog.js +1 -1
- package/lib/view/mixin/GridElementEvents.js +1 -1
- package/lib/view/mixin/GridFeatures.js +1 -1
- package/lib/view/mixin/GridNavigation.js +1 -1
- package/lib/view/mixin/GridResponsive.js +1 -1
- package/lib/view/mixin/GridSelection.js +1 -1
- package/lib/view/mixin/GridState.js +1 -1
- package/lib/view/mixin/GridSubGrids.js +1 -1
- package/lib/widget/AIFilterField.js +1 -1
- package/lib/widget/ChecklistFilterCombo.js +1 -1
- package/lib/widget/GridChartDesigner.js +1 -1
- package/lib/widget/GridFieldFilterPicker.js +1 -1
- package/lib/widget/GridFieldFilterPickerGroup.js +1 -1
- package/lib/widget/GroupBar.js +1 -1
- package/lib/widget/TreeCombo.js +1 -1
- package/locales/grid.locale.Ar.js +1 -1
- package/locales/grid.locale.Bg.js +1 -1
- package/locales/grid.locale.Ca.js +1 -1
- package/locales/grid.locale.Cs.js +1 -1
- package/locales/grid.locale.Da.js +1 -1
- package/locales/grid.locale.De.js +1 -1
- package/locales/grid.locale.El.js +1 -1
- package/locales/grid.locale.En.js +1 -1
- package/locales/grid.locale.EnGb.js +1 -1
- package/locales/grid.locale.Es.js +1 -1
- package/locales/grid.locale.Et.js +1 -1
- package/locales/grid.locale.Eu.js +1 -1
- package/locales/grid.locale.Fi.js +1 -1
- package/locales/grid.locale.FrFr.js +1 -1
- package/locales/grid.locale.Gl.js +1 -1
- package/locales/grid.locale.He.js +1 -1
- package/locales/grid.locale.Hi.js +1 -1
- package/locales/grid.locale.Hr.js +1 -1
- package/locales/grid.locale.Hu.js +1 -1
- package/locales/grid.locale.Id.js +1 -1
- package/locales/grid.locale.It.js +1 -1
- package/locales/grid.locale.Ja.js +1 -1
- package/locales/grid.locale.Kk.js +1 -1
- package/locales/grid.locale.Ko.js +1 -1
- package/locales/grid.locale.Lt.js +1 -1
- package/locales/grid.locale.Lv.js +1 -1
- package/locales/grid.locale.Ms.js +1 -1
- package/locales/grid.locale.Nl.js +1 -1
- package/locales/grid.locale.No.js +1 -1
- package/locales/grid.locale.Pl.js +1 -1
- package/locales/grid.locale.Pt.js +1 -1
- package/locales/grid.locale.PtBr.js +1 -1
- package/locales/grid.locale.Ro.js +1 -1
- package/locales/grid.locale.Ru.js +1 -1
- package/locales/grid.locale.Sk.js +1 -1
- package/locales/grid.locale.Sl.js +1 -1
- package/locales/grid.locale.Sr.js +1 -1
- package/locales/grid.locale.SrRs.js +1 -1
- package/locales/grid.locale.SvSE.js +1 -1
- package/locales/grid.locale.Th.js +1 -1
- package/locales/grid.locale.Tr.js +1 -1
- package/locales/grid.locale.Uk.js +1 -1
- package/locales/grid.locale.Vi.js +1 -1
- package/locales/grid.locale.ZhCn.js +1 -1
- package/locales/grid.locale.ZhTw.js +1 -1
- package/material3-dark.css +16 -0
- package/package.json +1 -1
- package/stockholm-dark.css +16 -0
- package/svalbard-dark.css +16 -0
- package/visby-dark.css +16 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
function _gra(){const O=['measureElement','scrollable','title','lastVisibleRow','5WgihwK','footerContainer','exportMeta','$name','horizontalPages','scrollHeight','\x20.b-grid-header-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}','1112921AYsrtr','3374648wlbIra','getPaperHeight','</div>','rowManager','getVirtualScrollerHeight','140PCnQNf','.b-page-','totalWidth','footerHeight','rowOffsetHeight','totalPages','visible','in;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20direction:\x20','prepareHTML','rtl','pagesExtractor','set','headerHeight',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-page-','renderRows','hasActiveFeature','\x20.b-export-body\x20.b-export-viewport\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20','totalHeight','stateNextPage','slice','onRowsCollected','firstVisibleRow','exportingPageText','inchToPx','renderMergedCells','client','finishRowIndex','currentPage','3239847KwjChn','exactGridHeight','getAt','offsetHeight',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','8DzTmAS','forEach','lastRowIndex','2530412lAVAkB','prepareComponent','prepareExportElement','buildPageHtml','rowsRange','render','4819590OCVyAN','trigger','horizontalPosition','lastRowExported','px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','top','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','values','in,\x200)','prototype','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-page-wrap\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','translate(','height','<div\x20class=\x22b-grid-merged-cells-container\x22>','mergeCells','buildPage','bodyHeight','571635jYdnAt','verticalPosition','bottom','getPaperWidth','MultiPageExporter','count','store','floor','verticalPages','orientation','assign','ltr','lastTop','pageTpl','round','push','ceil','join','dataIndex','max','2351881gqQOQW','translate','outerHTML','length','type'];_gra=function(){return O;};return _gra();}(function(a,b){const c=a();function F(a,b){return _grb(a-0x2e9,b);}while(!![]){try{const d=-parseInt(F(0x42a,0x402))/0x1+-parseInt(F(0x42b,0x409))/0x2+-parseInt(F(0x406,0x429))/0x3+-parseInt(F(0x3ef,0x3dd))/0x4*(parseInt(F(0x423,0x412))/0x5)+-parseInt(F(0x3f5,0x40d))/0x6+parseInt(F(0x41a,0x3fc))/0x7*(parseInt(F(0x3ec,0x3fe))/0x8)+-parseInt(F(0x3e7,0x3c7))/0x9*(-parseInt(F(0x3cb,0x3cf))/0xa);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0xe7b5f));import _grc from'./Exporter.js';function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0xde;let f=c[d];return f;};return _grb(a,b);}function _grG(a,b){return _grb(b-0x169,a);}import{Orientation,PaperFormat,RowsRange}from'../Utils.js';export default class MultiPageExporter extends _grc{static [_grG(0x29f,0x2a6)]=_grG(0x26f,0x28a);static [_grG(0x2c2,0x29e)]='multipage';static get[_grG(0x29c,0x2a1)](){return this['L']('L{multipage}');}static get[_grG(0x289,0x261)](){return'L{exportingPage}';}async[_grG(0x262,0x25d)]({client:a,rowsRange:b}){const {exportMeta:c}=this;++c[H(0xfc,0xe7)];++c['verticalPosition'];if(c[H(0x104,0xe7)]>=c[H(0xfb,0x129)]){c[H(0x124,0x11c)]=c[H(0x11d,0x14d)];c[H(0xe6,0xdd)]=c[H(0x124,0x106)]*c['horizontalPages'];}else{c[H(0x124,0x118)]=Math[H(0x12f,0x131)](c['verticalPages'],c[H(0x11d,0x11e)]+0x1);}function H(a,b){return _grG(b,a- -0x16a);}if(c[H(0x11d,0x137)]>=c[H(0x124,0x152)]&&c[H(0x10d,0xfa)]<c[H(0x13d,0x161)]-0x1){Object[H(0x126,0x114)](c,{'verticalPosition':0x0,'horizontalPosition':c['horizontalPosition']+0x1,'lastTop':0x0,'lastRowIndex':b===RowsRange[H(0xe7,0xd7)]?a[H(0xdf,0xc0)]['firstVisibleRow']['dataIndex']:0x0,'lastRowExported':![]});}}async['prepareComponent'](a){function I(a,b){return _grG(b,a- -0x11a);}await super[I(0x156,0x137)](a);const b=this,{exportMeta:c}=b,{client:d,headerTpl:e,footerTpl:f,alignRows:g,rowsRange:h}=a,i=PaperFormat[a['paperFormat']],j=a[I(0x175,0x16b)]===Orientation['portrait'],k=b[I(0x16f,0x155)](i,j),l=b[I(0x12d,0x133)](i,j),m=b[I(0x148,0x124)](k),n=b[I(0x148,0x137)](l),o=h===RowsRange[I(0x137,0x139)],p=Math[I(0x17c,0x17c)](c['totalWidth']/m);let q=n;if(e){q-=b['measureElement'](e({'totalWidth':c[I(0x133,0x164)],'totalPages':-0x1,'currentPage':-0x1}),'b-export-header');}if(f){q-=b[I(0x185,0x18b)](f({'totalWidth':c['totalWidth'],'totalPages':-0x1,'currentPage':-0x1}),'b-export-footer');}let r,s,t=d['store'][I(0x171,0x1a0)];if(o){t=b['getVisibleRowsCount'](d);r=c[I(0x142,0x161)]+d['headerHeight']+d[I(0x134,0x12e)]+d[I(0x16b,0x198)];c[I(0x14b,0x13a)]=d[I(0x12f,0x140)][I(0x188,0x19d)][I(0x17e,0x14b)];}else{r=c[I(0x142,0x168)]+d[I(0x13d,0x16d)]+d[I(0x134,0x144)]+d[I(0x186,0x154)][I(0x18e,0x186)];c['finishRowIndex']=d[I(0x172,0x177)][I(0x171,0x171)]-0x1;}if(g&&!o){const u=d[I(0x12f,0x129)][I(0x135,0x15c)],v=Math[I(0x173,0x14a)]((q-d['headerHeight'])/u),w=Math[I(0x173,0x160)](q/u),x=t-v;s=0x1+Math[I(0x17c,0x149)](x/w);}else{s=Math[I(0x17c,0x199)](r/q);}Object[I(0x176,0x19b)](c,{'paperWidth':k,'paperHeight':l,'pageWidth':m,'pageHeight':n,'horizontalPages':p,'verticalPages':s,'totalHeight':r,'contentHeight':q,'totalRows':t,'totalPages':p*s,'currentPage':0x0,'verticalPosition':0x0,'horizontalPosition':0x0,'lastTop':0x0,'lastRowIndex':o?d['rowManager'][I(0x146,0x162)][I(0x17e,0x1a3)]:0x0,'lastRowExported':![]});}async[_grG(0x22c,0x259)](a){var b;const c=this,{exportMeta:d}=c,{client:e,alignRows:f,repeatHeader:g}=a,{verticalPosition:h,contentHeight:j,lastRowIndex:k,fakeRows:l,rowsMap:m,finishRowIndex:n}=d,o=[],p=g?0x0:e[J(0x19a,0x1bc)],{store:q}=e,r=e[J(0x1b9,0x1bf)](J(0x1d9,0x1e8));let s=k+(!f||h===0x0?0x0:0x1),t=0x0,u=d[J(0x1b6,0x1dd)]=n===-0x1,v=j,w,x,y;if(h===0x0){v-=p;}while(v>0x0&&!u){let z=0x0;for(;z<l['length']&&v>0x0;z++,s++){const B=q[J(0x1e7,0x1ce)](s),C=l[z];C[J(0x1af,0x1d9)](s,B,!![],![],!![]);if(f&&v<C[J(0x19c,0x1cf)]){u=!![];break;}else{w=t;t=C[J(0x215,0x200)](t);d[J(0x1ef,0x1d3)]=C[J(0x1f4,0x1fd)];v-=C['offsetHeight'];const D={'top':C[J(0x206,0x1df)],'bottom':C[J(0x219,0x1ed)],'offsetHeight':C[J(0x1ff,0x1cf)],'dataIndex':C[J(0x20b,0x1fd)]};o[J(0x1fa,0x1fa)](D);m[J(0x1c7,0x1bb)](B['id'],D);y=C;x=z;if(C['dataIndex']===d[J(0x1f1,0x1ca)]){if(v>=0x0){d['lastRowExported']=!![];u=!![];break;}}}}const A=l[J(0x1ee,0x1c3)](0x0,x+0x1);if(a['rowReadyCondition']){await c['rowReadyCondition'](a,{'fromIndex':A[0x0][J(0x201,0x1fd)],'toIndex':A[A[J(0x1d9,0x202)]-0x1]['dataIndex'],'fakeRows':A});}A[J(0x1fe,0x1d2)](E=>c['collectRow'](E));}if(r){c[J(0x1c0,0x1c8)](a,k,s,o);}d[J(0x21c,0x1f7)]=f?t:w;d[J(0x1ef,0x1cd)]=(((b=y)===null||b===void 0x0?void 0x0:b[J(0x20b,0x1ed)])||0x0)+e[J(0x1e0,0x209)]['offsetHeight']+(h===0x0||g?p:0x0);function J(a,b){return _grG(a,b- -0x9b);}await c[J(0x19b,0x1c4)](o,a);}async['buildPage'](a){const b=this,{exportMeta:c}=b,{client:d,headerTpl:e,footerTpl:f}=a,{totalWidth:g,totalPages:h,currentPage:i,subGrids:j}=c;Object['values'](j)['forEach'](n=>n['rows']=[]);if(a[K(-0x2a4,-0x2bb)]===RowsRange['all']){c['totalHeight']=d[K(-0x291,-0x2ad)]-d[K(-0x296,-0x2a9)]+d['scrollable'][K(-0x288,-0x286)]-b[K(-0x315,-0x2e4)](d);}function K(a,b){return _grG(a,b- -0x52e);}let k,l;if(e){k=b[K(-0x30b,-0x2db)](e({'totalWidth':g,'totalPages':h,'currentPage':i}));}if(f){l=b[K(-0x2d1,-0x2db)](f({'totalWidth':g,'totalPages':h,'currentPage':i}));}await b[K(-0x2fe,-0x2d5)](a);const m=b[K(-0x299,-0x2bc)](a);return{'html':m,'header':k,'footer':l};}async['onRowsCollected'](){}['buildPageHtml'](){function L(a,b){return _grG(b,a- -0x496);}const a=this,{subGrids:b}=a[L(-0x1f1,-0x1e5)];let c=a[L(-0x225,-0x254)]();Object[L(-0x21a,-0x201)](b)[L(-0x229,-0x21f)](({placeHolder:d,rows:e,mergedCellsHtml:f})=>{function M(a,b){return L(b-0x4a9,a);}const g=d[M(0x2d8,0x2af)];let h=e[M(0x2ae,0x2aa)]('');if(f!==null&&f!==void 0x0&&f[M(0x280,0x2b0)]){h+=M(0x2ad,0x295)+f['join']('')+M(0x254,0x25b);}c=c['replace'](g,h);});return c;}}MultiPageExporter[_grG(0x273,0x27e)][_grG(0x237,0x255)]=async function*pagesExtractor(a){const b=this,{exportMeta:c,stylesheets:d}=b,{totalWidth:e,totalPages:f,paperWidth:g,paperHeight:h,realPaperWidth:i,realPaperHeight:j,title:k,client:l}=c;function N(a,b){return _grG(b,a-0x248);}let m;while(!c[N(0x4c0,0x4e4)]){m=c[N(0x4ae,0x4c9)];b[N(0x4be,0x495)]('exportStep',{'text':b['L'](MultiPageExporter[N(0x4a9,0x4d4)],{'currentPage':m,'totalPages':f}),'progress':Math[N(0x4dc,0x4d5)]((m+0x1)/f*0x5a)});const {html:n,header:o,footer:p}=await b[N(0x4cc,0x4bd)](a),q=N(0x4c8,0x4a7)+(l[N(0x49c,0x496)]?0x1:-0x1)*g*c[N(0x4bf,0x4eb)]+N(0x4c5,0x499);const r=[...d,N(0x4c7,0x4c9)+g+'in;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+h+N(0x49a,0x48f)+(l[N(0x49c,0x4a5)]?'rtl':N(0x4d9,0x4bb))+N(0x4a0,0x4a8)+m+'\x20#'+a[N(0x4ac,0x4d6)]['id']+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+c[N(0x4b0,0x484)]+N(0x4c1,0x4c3)+e+'px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-page-'+m+N(0x4a3,0x47f)+q+N(0x4b3,0x4be)+(c[N(0x4cf,0x4b6)]===0x0?'':N(0x494,0x499)+m+N(0x4f1,0x4da))+N(0x4c3,0x4cb)];await b[N(0x4a5,0x4a4)](a);yield{'html':b[N(0x4db,0x503)]({'html':n,'title':k,'header':o,'footer':p,'styles':r,'paperWidth':g,'paperHeight':h,'realPaperWidth':i,'realPaperHeight':j,'currentPage':m})};}};
|
|
1
|
+
(function(a,b){const c=a();function F(a,b){return _grb(a-0x3b8,b);}while(!![]){try{const d=-parseInt(F(0x590,0x560))/0x1+-parseInt(F(0x59b,0x5c8))/0x2+parseInt(F(0x5b4,0x586))/0x3+parseInt(F(0x59a,0x5a4))/0x4*(parseInt(F(0x577,0x574))/0x5)+parseInt(F(0x581,0x593))/0x6+-parseInt(F(0x5ba,0x5ae))/0x7+parseInt(F(0x5c7,0x5b9))/0x8;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0x653d5));import _grc from'./Exporter.js';import{Orientation,PaperFormat,RowsRange}from'../Utils.js';function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x1b4;let f=c[d];return f;};return _grb(a,b);}function _gra(){const P=['981712BijcUS','pageTpl','prepareExportElement','assign','round','rtl','rowsRange','lastRowExported','footerContainer','getVirtualScrollerHeight','renderRows','in;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','prototype','measureElement','ltr','count','pagesExtractor','4965IKwjZh','px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','join','</div>','onRowsCollected','length','getPaperHeight','orientation','horizontalPages','ceil','4284354IkQLQb','rowManager','\x20.b-export-body\x20.b-export-viewport\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform:\x20','.b-page-','px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-page-','currentPage','bottom',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','store','exportingPageText','exportMeta','footerHeight','slice','totalWidth','bodyHeight','218581Gzfrwx','title','scrollable','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','visible','type','L{multipage}','firstVisibleRow','floor','getAt','3140ABaSeC','800818QsnQNd','translate(','lastRowIndex','push','lastTop','scrollHeight','hasActiveFeature','totalPages','stateNextPage','inchToPx',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-page-','trigger','horizontalPosition','verticalPosition','values','finishRowIndex','in,\x200)','totalHeight','top','getPaperWidth','headerHeight','\x20.b-grid-header-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','offsetHeight','mergeCells','397047GjPKLN','collectRow','<div\x20class=\x22b-grid-merged-cells-container\x22>','dataIndex','exactGridHeight','max','5004720Jrqqug','prepareHTML','paperFormat','MultiPageExporter','outerHTML','verticalPages','buildPage','prepareComponent','forEach','renderMergedCells','rowReadyCondition','buildPageHtml','all'];_gra=function(){return P;};return _gra();}export default class MultiPageExporter extends _grc{static ['$name']=_grG(0x54f,0x547);static [_grG(0x527,0x51b)]='multipage';static get[_grG(0x523,0x505)](){function H(a,b){return _grG(a- -0x2c7,b);}return this['L'](H(0x261,0x27c));}static get[_grG(0x51c,0x509)](){return'L{exportingPage}';}async['stateNextPage']({client:a,rowsRange:b}){const {exportMeta:c}=this;++c['currentPage'];++c[I(0xa6,0x7c)];function I(a,b){return _grG(b- -0x4be,a);}if(c[I(0x63,0x71)]>=c['finishRowIndex']){c[I(0x67,0x93)]=c[I(0x7e,0x7c)];c[I(0xa2,0x76)]=c[I(0x99,0x93)]*c['horizontalPages'];}else{c[I(0x8a,0x93)]=Math[I(0xa0,0x8d)](c[I(0x7b,0x93)],c[I(0x64,0x7c)]+0x1);}if(c[I(0xa3,0x7c)]>=c[I(0xb0,0x93)]&&c[I(0x5a,0x7b)]<c[I(0x56,0x53)]-0x1){Object[I(0x7b,0x9e)](c,{'verticalPosition':0x0,'horizontalPosition':c[I(0x62,0x7b)]+0x1,'lastTop':0x0,'lastRowIndex':b===RowsRange[I(0x5c,0x68)]?a[I(0x4f,0x56)][I(0x9b,0x6b)][I(0x7c,0x8b)]:0x0,'lastRowExported':![]});}}async[_grG(0x553,0x582)](a){await super[J(0x262,0x28a)](a);const b=this,{exportMeta:c}=b,{client:d,headerTpl:e,footerTpl:f,alignRows:g,rowsRange:h}=a,i=PaperFormat[a[J(0x266,0x285)]],j=a[J(0x265,0x247)]===Orientation['portrait'],k=b[J(0x27c,0x277)](i,j),l=b[J(0x21f,0x246)](i,j),m=b['inchToPx'](k),n=b[J(0x260,0x26d)](l),o=h===RowsRange[J(0x281,0x25d)],p=Math[J(0x24a,0x249)](c[J(0x281,0x257)]/m);let q=n;if(e){q-=b[J(0x265,0x23c)](e({'totalWidth':c['totalWidth'],'totalPages':-0x1,'currentPage':-0x1}),'b-export-header');}function J(a,b){return _grG(b- -0x2c9,a);}if(f){q-=b[J(0x245,0x23c)](f({'totalWidth':c[J(0x247,0x257)],'totalPages':-0x1,'currentPage':-0x1}),'b-export-footer');}let r,s,t=d[J(0x251,0x252)][J(0x232,0x23e)];if(o){t=b['getVisibleRowsCount'](d);r=c[J(0x26e,0x275)]+d[J(0x279,0x278)]+d[J(0x23d,0x255)]+d[J(0x284,0x258)];c['finishRowIndex']=d[J(0x233,0x24b)]['lastVisibleRow'][J(0x279,0x280)];}else{r=c[J(0x29a,0x275)]+d['headerHeight']+d['footerHeight']+d['scrollable'][J(0x24d,0x269)];c[J(0x28c,0x273)]=d[J(0x27c,0x252)][J(0x22f,0x23e)]-0x1;}if(g&&!o){const u=d['rowManager']['rowOffsetHeight'],v=Math[J(0x257,0x261)]((q-d['headerHeight'])/u),w=Math['floor'](q/u),x=t-v;s=0x1+Math[J(0x23b,0x249)](x/w);}else{s=Math[J(0x25b,0x249)](r/q);}Object[J(0x2ad,0x293)](c,{'paperWidth':k,'paperHeight':l,'pageWidth':m,'pageHeight':n,'horizontalPages':p,'verticalPages':s,'totalHeight':r,'contentHeight':q,'totalRows':t,'totalPages':p*s,'currentPage':0x0,'verticalPosition':0x0,'horizontalPosition':0x0,'lastTop':0x0,'lastRowIndex':o?d[J(0x248,0x24b)][J(0x281,0x260)][J(0x25b,0x280)]:0x0,'lastRowExported':![]});}async[_grG(0x502,0x528)](a){var b;function K(a,b){return _grG(a- -0x4f8,b);}const c=this,{exportMeta:d}=c,{client:e,alignRows:f,repeatHeader:g}=a,{verticalPosition:h,contentHeight:j,lastRowIndex:k,fakeRows:l,rowsMap:m,finishRowIndex:n}=d,o=[],p=g?0x0:e[K(0x49,0x50)],{store:q}=e,r=e[K(0x3b,0x2a)](K(0x4d,0x3b));let s=k+(!f||h===0x0?0x0:0x1),t=0x0,u=d[K(0x7,0x1)]=n===-0x1,v=j,w,x,y;if(h===0x0){v-=p;}while(v>0x0&&!u){let z=0x0;for(;z<l[K(0x16,-0x2)]&&v>0x0;z++,s++){const B=q[K(0x33,0x12)](s),C=l[z];C['render'](s,B,!![],![],!![]);if(f&&v<C[K(0x4c,0x7b)]){u=!![];break;}else{w=t;t=C['translate'](t);d[K(0x37,0x60)]=C[K(0x51,0x6d)];v-=C[K(0x4c,0x78)];const D={'top':C[K(0x47,0x27)],'bottom':C[K(0x21,-0xc)],'offsetHeight':C['offsetHeight'],'dataIndex':C[K(0x51,0x70)]};o[K(0x38,0x36)](D);m['set'](B['id'],D);y=C;x=z;if(C[K(0x51,0x2f)]===d[K(0x44,0x28)]){if(v>=0x0){d[K(0x7,-0xb)]=!![];u=!![];break;}}}}const A=l[K(0x27,0x5)](0x0,x+0x1);if(a['rowReadyCondition']){await c[K(0x5e,0x8d)](a,{'fromIndex':A[0x0][K(0x51,0x7e)],'toIndex':A[A[K(0x16,-0xd)]-0x1]['dataIndex'],'fakeRows':A});}A[K(0x5c,0x55)](E=>c[K(0x4f,0x68)](E));}if(r){c[K(0x5d,0x75)](a,k,s,o);}d[K(0x39,0x4c)]=f?t:w;d[K(0x52,0x6c)]=(((b=y)===null||b===void 0x0?void 0x0:b[K(0x21,0x35)])||0x0)+e[K(0x8,-0xb)][K(0x4c,0x4d)]+(h===0x0||g?p:0x0);await c[K(0x15,-0x1b)](o,a);}async['buildPage'](a){const b=this,{exportMeta:c}=b,{client:d,headerTpl:e,footerTpl:f}=a,{totalWidth:g,totalPages:h,currentPage:i,subGrids:j}=c;Object['values'](j)[L(0x37f,0x3ae)](n=>n['rows']=[]);if(a[L(0x386,0x358)]===RowsRange[L(0x3c1,0x3b2)]){c[L(0x38f,0x398)]=d['height']-d[L(0x3a6,0x37b)]+d[L(0x35e,0x37e)]['scrollHeight']-b[L(0x366,0x35b)](d);}function L(a,b){return _grG(b- -0x1a6,a);}let k,l;if(e){k=b['prepareHTML'](e({'totalWidth':g,'totalPages':h,'currentPage':i}));}if(f){l=b[L(0x37b,0x3a7)](f({'totalWidth':g,'totalPages':h,'currentPage':i}));}await b[L(0x36b,0x35c)](a);const m=b[L(0x385,0x3b1)](a);return{'html':m,'header':k,'footer':l};}async[_grG(0x50d,0x4ef)](){}['buildPageHtml'](){const a=this,{subGrids:b}=a[M(0x39f,0x398)];let c=a[M(0x3dd,0x3f6)]();function M(a,b){return _grG(a- -0x17e,b);}Object[M(0x3bd,0x3e2)](b)[M(0x3d6,0x3cf)](({placeHolder:d,rows:e,mergedCellsHtml:f})=>{const g=d[N(0x8e,0x99)];let h=e[N(0x3c,0x54)]('');function N(a,b){return M(b- -0x339,a);}if(f!==null&&f!==void 0x0&&f[N(0x2b,0x57)]){h+=N(0x67,0x91)+f['join']('')+N(0x26,0x55);}c=c['replace'](g,h);});return c;}}function _grG(a,b){return _grb(a-0x34a,b);}MultiPageExporter[_grG(0x504,0x4fc)][_grG(0x508,0x528)]=async function*pagesExtractor(a){const b=this,{exportMeta:c,stylesheets:d}=b,{totalWidth:e,totalPages:f,paperWidth:g,paperHeight:h,realPaperWidth:i,realPaperHeight:j,title:k,client:l}=c;function O(a,b){return _grG(a- -0x530,b);}let m;while(!c[O(-0x31,-0x32)]){m=c[O(-0x18,-0x22)];b[O(0x8,0x33)]('exportStep',{'text':b['L'](MultiPageExporter[O(-0x14,-0x27)],{'currentPage':m,'totalPages':f}),'progress':Math[O(0x2d,-0x4)]((m+0x1)/f*0x5a)});const {html:n,header:o,footer:p}=await b[O(0x22,0x5)](a),q=O(-0x2,0x6)+(l['rtl']?0x1:-0x1)*g*c['horizontalPosition']+O(0xd,-0x5);const r=[...d,'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-page-wrap\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+g+O(-0x2d,-0x3b)+h+'in;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20direction:\x20'+(l[O(0x2e,0x1a)]?O(0x2e,0x32):O(-0x2a,-0x24))+O(0x7,0xb)+m+'\x20#'+a['client']['id']+O(0x13,0x23)+c['exactGridHeight']+O(-0x26,-0x50)+e+O(-0x19,0x7)+m+O(-0x1b,-0xe)+q+O(-0x16,-0x31)+(c[O(0xa,0xf)]===0x0?'':O(-0x1a,-0x27)+m+O(0x12,0x7))+O(-0xb,-0x38)];await b[O(0x5,-0x8)](a);yield{'html':b[O(0x2a,0x4d)]({'html':n,'title':k,'header':o,'footer':p,'styles':r,'paperWidth':g,'paperHeight':h,'realPaperWidth':i,'realPaperHeight':j,'currentPage':m})};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function _grG(a,b){return _grb(b- -0x2de,a);}(function(a,b){function F(a,b){return _grb(a- -0x3a3,b);}const c=a();while(!![]){try{const d=-parseInt(F(-0x160,-0x17f))/0x1*(-parseInt(F(-0x1ac,-0x1a9))/0x2)+-parseInt(F(-0x197,-0x1a5))/0x3*(parseInt(F(-0x19a,-0x1bb))/0x4)+-parseInt(F(-0x159,-0x14b))/0x5*(-parseInt(F(-0x157,-0x17b))/0x6)+-parseInt(F(-0x1a6,-0x1bd))/0x7+-parseInt(F(-0x190,-0x189))/0x8*(-parseInt(F(-0x1a1,-0x1b7))/0x9)+-parseInt(F(-0x1b1,-0x1a7))/0xa*(-parseInt(F(-0x191,-0x1a2))/0xb)+-parseInt(F(-0x198,-0x1a0))/0xc;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0xcc931));function _gra(){const R=['91176bVuGsx','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','totalPages','assign','paperFormat','in;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','set','prepareHTML','orientation','bottom','values','ltr','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-page-wrap\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','pagesExtractor','scale','rtl','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','top','left','getScaleValue','max','lastVisibleRow','px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getPaperWidth','prototype','rowReadyCondition','nextPageTop','buildPageHtml',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20calc(100%\x20/\x20','lastRowExported','offsetHeight','currentPage','add','exportMeta','finishRowIndex','</style>','@page\x20{\x20size:\x20','px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','repeatHeader','prepareExportElement','join','forEach','scrollable','rows','replace','floor','getPaperHeight','size','32031tYHlLJ','bodyElement','push','\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-page-','mergeCells','measureElement','ceil','30mBtXRx','rowOffsetHeight','220194tHEYmh','renderRows','<style>','title','footerHeight','length','stateNextPage','count','</div>','client','buildPage','calculateScale','370sBEUhW','firstVisibleRow','in;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20direction:\x20','estimateTotalPages','prepareComponent','58ASuWnI','\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-export-body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','onRowsCollected','rowManager','pageTpl','visible','5634503rXUPAg','MultiPageVerticalExporter',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform-origin:\x20top\x20','exportingPageText','inchToPx','513NaBSPT','type','hasActiveFeature','multipagevertical','verticalPosition','trigger','collectRow','56byrZjz','footerContainer','8924628zLgXOA','117159TPwwbx','processedRows','<div\x20class=\x22b-grid-merged-cells-container\x22>','L{multipagevertical}','dataIndex','headerHeight','337315hZIIEC'];_gra=function(){return R;};return _gra();}function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x1eb;let f=c[d];return f;};return _grb(a,b);}import _grc from'./Exporter.js';import{Orientation,PaperFormat,RowsRange,isPaperSizeSupported}from'../Utils.js';export default class MultiPageVerticalExporter extends _grc{static ['$name']=_grG(-0xc4,-0xe0);static [_grG(-0xf5,-0xdb)]=_grG(-0xb2,-0xd9);static get[_grG(-0xb7,-0x8f)](){function H(a,b){return _grG(b,a-0x3ca);}return this['L'](H(0x2fb,0x2d2));}static get['exportingPageText'](){return'L{exportingPage}';}async['stateNextPage'](){function I(a,b){return _grG(b,a-0x662);}const {exportMeta:a}=this,{totalRows:b,processedRows:c,totalPages:d}=a;++a[I(0x5b6,0x586)];++a[I(0x58a,0x576)];if(a[I(0x5b6,0x5d0)]===d&&c[I(0x5c6,0x5c0)]!==b){++a[I(0x599,0x5b0)];++a['verticalPages'];}}[_grG(-0x11b,-0xed)](){function J(a,b){return _grG(a,b-0x131);}const a=this,{exportMeta:b}=a,{pageWidth:c,totalWidth:d}=b,e=a[J(0x54,0x79)](c,d);a[J(0x74,0x87)][J(0xa1,0x74)]=e;return e;}[_grG(-0xe7,-0xe9)](a){const b=this,{exportMeta:c}=b,{client:d,headerTpl:e,footerTpl:f,alignRows:g,rowsRange:h,repeatHeader:i}=a,{pageWidth:j,pageHeight:k,totalWidth:l}=c,m=b[K(0x3cc,0x3d8)](j,l);let n=d['store'][K(0x3c5,0x3d4)],o=n?0x0-b['getVirtualScrollerHeight'](d)+d['height']-d[K(0x429,0x42b)][K(0x3e6,0x418)]+d[K(0x410,0x424)]['scrollHeight']:0x0,p=k/m,q=o,r;if(e){p-=b[K(0x454,0x42f)](e({'totalWidth':l,'totalPages':-0x1,'currentPage':-0x1}),'b-export-header');}if(f){p-=b[K(0x434,0x42f)](f({'totalWidth':l,'totalPages':-0x1,'currentPage':-0x1}),'b-export-footer');}if(i){p-=d[K(0x411,0x3f8)]+d[K(0x411,0x437)];o-=d[K(0x408,0x3f8)]+d[K(0x407,0x437)];}if(h===RowsRange[K(0x412,0x3e3)]){const s=d[K(0x3bf,0x3e1)],t=s[K(0x3b6,0x3da)],u=s[K(0x412,0x40f)];n=b['getVisibleRowsCount'](d);q=u[K(0x432,0x403)]-t[K(0x433,0x40b)];o=d['headerHeight']+d[K(0x443,0x437)]+q;c['lastRowIndex']=t[K(0x3d3,0x3f7)];c[K(0x3ec,0x41c)]=u[K(0x411,0x3f7)];}else{c[K(0x3f1,0x41c)]=d['store'][K(0x3bf,0x3d4)]-0x1;}function K(a,b){return _grG(a,b-0x4c5);}if(g&&!i&&h!==RowsRange[K(0x3b4,0x3e3)]){const v=d[K(0x411,0x3e1)][K(0x448,0x432)],w=Math[K(0x439,0x427)]((p-d[K(0x3d0,0x3f8)])/v),x=Math[K(0x43a,0x427)](p/v),y=n-w;r=0x1+Math[K(0x409,0x430)](y/x);}else{r=Math[K(0x405,0x430)](q/p);}Object[K(0x3d0,0x3fd)](c,{'scale':m,'contentHeight':p,'totalRows':n,'totalHeight':o,'verticalPages':r,'initialScroll':0x0,'horizontalPages':0x1,'totalPages':r,'lastRowExported':![]});}async[_grG(-0xc1,-0xe8)](a){function L(a,b){return _grG(b,a- -0x5f);}await super['prepareComponent'](a);const b=this,{exportMeta:c}=b,d=PaperFormat[a[L(-0x126,-0x156)]],e=a['orientation']===Orientation['portrait'],f=b[L(-0x113,-0x122)](d,e),g=b[L(-0xfc,-0xe0)](d,e),h=b[L(-0x13c,-0x111)](f),i=b[L(-0x13c,-0x117)](g),j=0x1;Object[L(-0x127,-0x10f)](c,{'paperWidth':f,'paperHeight':g,'realPaperWidth':b[L(-0x113,-0x107)](d,e),'realPaperHeight':b[L(-0xfc,-0xca)](d,e),'pageWidth':h,'pageHeight':i,'horizontalPages':j,'currentPage':0x0,'verticalPosition':0x0,'horizontalPosition':0x0,'lastTop':0x0,'lastRowIndex':-0x1,'processedRows':new Set()});b[L(-0x148,-0x159)](a);}async[_grG(-0x61,-0x91)](a){const b=this,{exportMeta:c}=b,{client:d,alignRows:e,repeatHeader:f}=a,{verticalPosition:g,contentHeight:h,lastRowIndex:j,fakeRows:k,rowsMap:l,finishRowIndex:m,nextPageTop:nextPageTop=0x0}=c,n=[],o=f||g>0x0?0x0:d[M(-0x10e,-0x132)],{store:p}=d,q=d[M(-0x11b,-0x11f)](M(-0xd8,-0xc4));let r=Math[M(-0xf8,-0x100)](0x0,j)+(nextPageTop>0x0||!e||g===0x0?0x0:0x1),s=h+nextPageTop,t=-nextPageTop,u=![],v=0x0,w=0x0,x=c[M(-0xef,-0xc0)]=m===-0x1,y;c[M(-0xf2,-0xff)]=0x0;function M(a,b){return _grG(b,a- -0x41);}if(g===0x0){u=!![];s-=o;}while(s>0x0&&!x){w=-0x1;v=0x0;for(;v<k[M(-0x134,-0x155)]&&s>0x0;v++,r++){const A=p['getAt'](r),B=k[v];B['render'](r,A,!![],![],!![]);const {offsetHeight:C}=B;if(e&&C<h&&s<C){x=!![];break;}else{t=B['translate'](t);s-=C;y=B[M(-0x103,-0x12a)];if(y>h&&C>h){c[M(-0xf2,-0xd8)]=h-B['top']-(u?o:0x0);s=h-y;}c['lastRowIndex']=B[M(-0x10f,-0x12c)];const D={'top':B[M(-0xfb,-0xf0)],'bottom':y,'dataIndex':B[M(-0x10f,-0xfc)],'offsetHeight':C};n[M(-0xda,-0xc3)](D);l[M(-0x106,-0x120)](A['id'],D);w=v;if(s>0x0){c[M(-0x112,-0x12c)][M(-0xec,-0x106)](r);}if(B[M(-0x10f,-0x115)]===c[M(-0xea,-0xd5)]){if(s>=0x0){c[M(-0xef,-0xc2)]=!![];x=!![];break;}c['verticalPages']=c[M(-0x119,-0x147)];c[M(-0x10a,-0x10e)]=c['verticalPages']&c['horizontalPages'];b[M(-0x12e,-0x112)]();}}}const z=k['slice'](0x0,w+0x1);if(a[M(-0xf3,-0xe0)]){await b[M(-0xf3,-0xc7)](a,{'fromIndex':z[0x0][M(-0x10f,-0x109)],'toIndex':z[z[M(-0x134,-0x131)]-0x1][M(-0x10f,-0xff)],'fakeRows':z});}z[M(-0xe3,-0xe9)](E=>b[M(-0x117,-0xf6)](E));}if(q){b['renderMergedCells'](a,j,r,n);}c['exactGridHeight']=y+d[M(-0x115,-0x10e)][M(-0xee,-0xd8)]+(g===0x0||f?d['headerHeight']:0x0);await b[M(-0x126,-0x129)](n,a);}async[_grG(-0x10f,-0xee)](a){const b=this,{exportMeta:c}=b,{headerTpl:d,footerTpl:e}=a,{totalWidth:f,totalPages:g,currentPage:h,subGrids:i}=c;Object[N(0x4fb,0x4fd)](i)[N(0x51a,0x4ea)](m=>m[N(0x51c,0x52e)]=[]);function N(a,b){return _grG(b,a-0x5bc);}let j,k;if(d){j=b[N(0x4f8,0x522)](d({'totalWidth':f,'totalPages':g,'currentPage':h}));}if(e){k=b[N(0x4f8,0x4ef)](e({'totalWidth':f,'totalPages':g,'currentPage':h}));}await b[N(0x52b,0x50c)](a);const l=b[N(0x50c,0x4f7)](a);return{'html':l,'header':j,'footer':k};}async[_grG(-0xdc,-0xe5)](){}['buildPageHtml'](){function O(a,b){return _grG(b,a-0x552);}const a=this,{subGrids:b}=a['exportMeta'];let c=a[O(0x4ae,0x4c9)]();Object[O(0x491,0x49a)](b)[O(0x4b0,0x4c1)](({placeHolder:d,rows:e,mergedCellsHtml:f})=>{function P(a,b){return O(a-0x87,b);}const g=d['outerHTML'];let h=e[P(0x536,0x53a)]('');if(f!==null&&f!==void 0x0&&f['length']){h+=P(0x509,0x529)+f['join']('')+P(0x4e9,0x4fc);}c=c[P(0x53a,0x511)](g,h);});return c;}}MultiPageVerticalExporter[_grG(-0xe4,-0xb3)][_grG(-0xf1,-0xbe)]=async function*pagesExtractor(a){const b=this,{exportMeta:c,stylesheets:d}=b,{client:e,totalWidth:f,paperWidth:g,paperHeight:h,realPaperWidth:i,realPaperHeight:j,title:k}=c,l=e[Q(0x14a,0x14a)],m=a['lockPaperSize']&&isPaperSizeSupported(a[Q(0x13f,0x15f)])?Q(0x15f,0x143)+a[Q(0x13f,0x133)]+'\x20'+a[Q(0x143,0x165)]+'\x20}':'';function Q(a,b){return _grG(b,a-0x206);}let {totalPages:n}=c,o,p;while(!c[Q(0x158,0x151)]){o=c[Q(0x15a,0x147)];b[Q(0x12f,0x140)]('exportStep',{'text':b['L'](MultiPageVerticalExporter[Q(0x128,0x13d)],{'currentPage':o,'totalPages':n}),'progress':Math['round']((o+0x1)/n*0x5a)});const {html:q,header:r,footer:s}=await b[Q(0x118,0x12f)](a),{scale:t}=b['exportMeta'];p='\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+m+Q(0x147,0x157)+i+Q(0x140,0x125)+j+Q(0x11c,0x137)+(l?Q(0x14a,0x16b):Q(0x146,0x15a))+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-print\x20.b-export-content\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scale:\x20'+t+Q(0x127,0x103)+(l?'right':Q(0x14d,0x133))+Q(0x157,0x14c)+t+');\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20calc(100%\x20/\x20'+t+');\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20';if(a[Q(0x161,0x14c)]){p=Q(0x14b,0x148)+p+Q(0x16e,0x158)+o+'\x20#'+a[Q(0x117,0x10f)]['id']+Q(0x13c,0x161)+c['exactGridHeight']+Q(0x160,0x180)+f+'px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-export-body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-export-viewport\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20';}else{p=Q(0x14b,0x13c)+p+'\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-page-'+o+'\x20#'+a['client']['id']+Q(0x13c,0x13a)+c['exactGridHeight']+Q(0x160,0x172)+f+Q(0x151,0x158)+(o===0x0?'':'.b-page-'+o+'\x20.b-grid-header-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}')+Q(0x120,0x11f);}const u=[...d,Q(0x176,0x17b)+p+Q(0x15e,0x137)];await b[Q(0x114,0xef)]();({totalPages:n}=c);yield{'html':b[Q(0x123,0x14d)]({'html':q,'title':k,'header':r,'footer':s,'styles':u,'paperWidth':g,'paperHeight':h,'realPaperWidth':i,'realPaperHeight':j,'currentPage':o})};}};
|
|
1
|
+
(function(a,b){function F(a,b){return _grb(b-0x186,a);}const c=a();while(!![]){try{const d=-parseInt(F(0x2fa,0x2d4))/0x1+parseInt(F(0x283,0x29d))/0x2+parseInt(F(0x293,0x29c))/0x3+parseInt(F(0x29f,0x297))/0x4+parseInt(F(0x2f1,0x2de))/0x5+-parseInt(F(0x2d7,0x2ce))/0x6*(parseInt(F(0x29f,0x2bc))/0x7)+-parseInt(F(0x2bc,0x2bf))/0x8*(-parseInt(F(0x2a1,0x2c8))/0x9);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0x2c977));import _grc from'./Exporter.js';function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0xfc;let f=c[d];return f;};return _grb(a,b);}import{Orientation,PaperFormat,RowsRange,isPaperSizeSupported}from'../Utils.js';function _grG(a,b){return _grb(a-0x3b6,b);}export default class MultiPageVerticalExporter extends _grc{static [_grG(0x511,0x4e1)]=_grG(0x4e0,0x4c8);static [_grG(0x4bb,0x49c)]='multipagevertical';static get[_grG(0x505,0x504)](){function H(a,b){return _grG(a- -0x211,b);}return this['L'](H(0x2e9,0x2b8));}static get[_grG(0x4bf,0x4ec)](){return'L{exportingPage}';}async[_grG(0x512,0x52a)](){const {exportMeta:a}=this,{totalRows:b,processedRows:c,totalPages:d}=a;++a[I(0x432,0x406)];++a[I(0x46d,0x465)];function I(a,b){return _grG(a- -0x93,b);}if(a[I(0x432,0x44a)]===d&&c[I(0x445,0x472)]!==b){++a[I(0x422,0x3f7)];++a['verticalPages'];}}[_grG(0x4b6,0x48b)](){const a=this,{exportMeta:b}=a,{pageWidth:c,totalWidth:d}=b,e=a[J(0x5b,0x3d)](c,d);a['exportMeta']['scale']=e;function J(a,b){return _grG(a- -0x493,b);}return e;}[_grG(0x4ce,0x4fa)](a){const b=this,{exportMeta:c}=b,{client:d,headerTpl:e,footerTpl:f,alignRows:g,rowsRange:h,repeatHeader:i}=a,{pageWidth:j,pageHeight:k,totalWidth:l}=c,m=b['calculateScale'](j,l);let n=d['store']['count'],o=n?0x0-b['getVirtualScrollerHeight'](d)+d[K(0x482,0x44f)]-d[K(0x3fb,0x419)][K(0x3fe,0x3fe)]+d['scrollable']['scrollHeight']:0x0,p=k/m,q=o,r;if(e){p-=b[K(0x470,0x450)](e({'totalWidth':l,'totalPages':-0x1,'currentPage':-0x1}),'b-export-header');}if(f){p-=b[K(0x423,0x450)](f({'totalWidth':l,'totalPages':-0x1,'currentPage':-0x1}),'b-export-footer');}function K(a,b){return _grG(b- -0xc5,a);}if(i){p-=d[K(0x40e,0x42f)]+d[K(0x455,0x431)];o-=d[K(0x45f,0x42f)]+d[K(0x453,0x431)];}if(h===RowsRange[K(0x444,0x441)]){const s=d['rowManager'],t=s[K(0x451,0x444)],u=s[K(0x3ef,0x405)];n=b[K(0x413,0x422)](d);q=u[K(0x422,0x447)]-t['top'];o=d['headerHeight']+d[K(0x40d,0x431)]+q;c[K(0x3e9,0x3ed)]=t[K(0x43b,0x40c)];c[K(0x42b,0x42b)]=u[K(0x43c,0x40c)];}else{c[K(0x3fd,0x42b)]=d[K(0x454,0x443)][K(0x419,0x432)]-0x1;}if(g&&!i&&h!==RowsRange['visible']){const v=d['rowManager']['rowOffsetHeight'],w=Math[K(0x420,0x41e)]((p-d['headerHeight'])/v),x=Math[K(0x43b,0x41e)](p/v),y=n-w;r=0x1+Math['ceil'](y/x);}else{r=Math[K(0x477,0x445)](q/p);}Object[K(0x435,0x411)](c,{'scale':m,'contentHeight':p,'totalRows':n,'totalHeight':o,'verticalPages':r,'initialScroll':0x0,'horizontalPages':0x1,'totalPages':r,'lastRowExported':![]});}async[_grG(0x4e8,0x4ba)](a){await super[L(0x46a,0x49b)](a);function L(a,b){return _grG(b- -0x4d,a);}const b=this,{exportMeta:c}=b,d=PaperFormat[a[L(0x46e,0x46d)]],e=a[L(0x464,0x485)]===Orientation[L(0x48e,0x47c)],f=b[L(0x469,0x494)](d,e),g=b[L(0x49a,0x4b2)](d,e),h=b[L(0x4a8,0x477)](f),i=b[L(0x461,0x477)](g),j=0x1;Object['assign'](c,{'paperWidth':f,'paperHeight':g,'realPaperWidth':b['getPaperWidth'](d,e),'realPaperHeight':b[L(0x48e,0x4b2)](d,e),'pageWidth':h,'pageHeight':i,'horizontalPages':j,'currentPage':0x0,'verticalPosition':0x0,'horizontalPosition':0x0,'lastTop':0x0,'lastRowIndex':-0x1,'processedRows':new Set()});b[L(0x455,0x481)](a);}async['renderRows'](a){const b=this,{exportMeta:c}=b,{client:d,alignRows:e,repeatHeader:f}=a,{verticalPosition:g,contentHeight:h,lastRowIndex:j,fakeRows:k,rowsMap:l,finishRowIndex:m,nextPageTop:nextPageTop=0x0}=c,n=[],o=f||g>0x0?0x0:d[M(0x443,0x450)],{store:p}=d,q=d[M(0x47c,0x458)](M(0x42e,0x44e));let r=Math['max'](0x0,j)+(nextPageTop>0x0||!e||g===0x0?0x0:0x1),s=h+nextPageTop,t=-nextPageTop,u=![],v=0x0,w=0x0,x=c['lastRowExported']=m===-0x1,y;c['nextPageTop']=0x0;function M(a,b){return _grG(b- -0xa4,a);}if(g===0x0){u=!![];s-=o;}while(s>0x0&&!x){w=-0x1;v=0x0;for(;v<k['length']&&s>0x0;v++,r++){const A=p[M(0x41b,0x435)](r),B=k[v];B[M(0x414,0x445)](r,A,!![],![],!![]);const {offsetHeight:C}=B;if(e&&C<h&&s<C){x=!![];break;}else{t=B[M(0x45c,0x42b)](t);s-=C;y=B[M(0x484,0x468)];if(y>h&&C>h){c['nextPageTop']=h-B[M(0x431,0x440)]-(u?o:0x0);s=h-y;}c[M(0x42a,0x40e)]=B[M(0x401,0x42d)];const D={'top':B[M(0x417,0x440)],'bottom':y,'dataIndex':B[M(0x423,0x42d)],'offsetHeight':C};n[M(0x406,0x422)](D);l[M(0x47b,0x45d)](A['id'],D);w=v;if(s>0x0){c[M(0x451,0x457)][M(0x47d,0x46b)](r);}if(B['dataIndex']===c[M(0x451,0x44c)]){if(s>=0x0){c[M(0x42b,0x419)]=!![];x=!![];break;}c[M(0x490,0x473)]=c[M(0x447,0x45c)];c[M(0x41e,0x411)]=c[M(0x493,0x473)]&c[M(0x418,0x447)];b[M(0x3e2,0x412)]();}}}const z=k[M(0x467,0x45e)](0x0,w+0x1);if(a[M(0x46e,0x44f)]){await b['rowReadyCondition'](a,{'fromIndex':z[0x0]['dataIndex'],'toIndex':z[z[M(0x46d,0x469)]-0x1][M(0x42d,0x42d)],'fakeRows':z});}z[M(0x3f5,0x413)](E=>b[M(0x47c,0x459)](E));}if(q){b[M(0x43f,0x449)](a,j,r,n);}c['exactGridHeight']=y+d['footerContainer'][M(0x3f9,0x41f)]+(g===0x0||f?d[M(0x45d,0x450)]:0x0);await b[M(0x446,0x46c)](n,a);}async[_grG(0x4c8,0x49a)](a){const b=this,{exportMeta:c}=b,{headerTpl:d,footerTpl:e}=a,{totalWidth:f,totalPages:g,currentPage:h,subGrids:i}=c;function N(a,b){return _grG(b- -0x75f,a);}Object[N(-0x2c3,-0x294)](i)[N(-0x291,-0x2a8)](m=>m[N(-0x298,-0x285)]=[]);let j,k;if(d){j=b[N(-0x25f,-0x266)](d({'totalWidth':f,'totalPages':g,'currentPage':h}));}if(e){k=b['prepareHTML'](e({'totalWidth':f,'totalPages':g,'currentPage':h}));}await b[N(-0x2c1,-0x2a7)](a);const l=b[N(-0x258,-0x28a)](a);return{'html':l,'header':j,'footer':k};}async[_grG(0x510,0x4e2)](){}['buildPageHtml'](){const a=this,{subGrids:b}=a['exportMeta'];function O(a,b){return _grG(b- -0x793,a);}let c=a[O(-0x29c,-0x2b8)]();Object['values'](b)[O(-0x2ed,-0x2dc)](({placeHolder:d,rows:e,mergedCellsHtml:f})=>{const g=d['outerHTML'];let h=e[P(-0x10f,-0xf4)]('');if(f!==null&&f!==void 0x0&&f[P(-0xbe,-0x96)]){h+=P(-0xc0,-0x96)+f['join']('')+P(-0xfb,-0xfa);}function P(a,b){return O(b,a-0x1c8);}c=c['replace'](g,h);});return c;}}MultiPageVerticalExporter[_grG(0x4f1,0x4c5)][_grG(0x4dd,0x4cb)]=async function*pagesExtractor(a){const b=this,{exportMeta:c,stylesheets:d}=b,{client:e,totalWidth:f,paperWidth:g,paperHeight:h,realPaperWidth:i,realPaperHeight:j,title:k}=c,l=e[Q(0x3c0,0x3c9)],m=a['lockPaperSize']&&isPaperSizeSupported(a[Q(0x385,0x393)])?'@page\x20{\x20size:\x20'+a[Q(0x385,0x382)]+'\x20'+a['orientation']+'\x20}':'';let {totalPages:n}=c,o,p;function Q(a,b){return _grG(a- -0x135,b);}while(!c[Q(0x388,0x356)]){o=c[Q(0x390,0x3c2)];b[Q(0x39e,0x385)]('exportStep',{'text':b['L'](MultiPageVerticalExporter[Q(0x38a,0x3a0)],{'currentPage':o,'totalPages':n}),'progress':Math['round']((o+0x1)/n*0x5a)});const {html:q,header:r,footer:s}=await b[Q(0x393,0x367)](a),{scale:t}=b[Q(0x38c,0x36d)];p=Q(0x3b5,0x3a3)+m+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-page-wrap\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+i+'in;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+j+'in;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20direction:\x20'+(l?'rtl':Q(0x38b,0x393))+Q(0x39f,0x398)+t+Q(0x38d,0x3b5)+(l?Q(0x3a7,0x3b8):Q(0x3d2,0x3be))+Q(0x3ad,0x3dd)+t+Q(0x37f,0x36d)+t+');\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20';if(a[Q(0x3a2,0x3cb)]){p='\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+p+Q(0x3ce,0x3a2)+o+'\x20#'+a[Q(0x384,0x351)]['id']+Q(0x3aa,0x3bf)+c[Q(0x3de,0x3c6)]+Q(0x3e1,0x40f)+f+Q(0x3b0,0x3b0);}else{p='\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+p+'\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-page-'+o+'\x20#'+a[Q(0x384,0x35b)]['id']+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+c[Q(0x3de,0x3c9)]+Q(0x3e1,0x3c1)+f+Q(0x389,0x39b)+(o===0x0?'':Q(0x3b1,0x3d3)+o+'\x20.b-grid-header-container\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20none;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}')+'\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-export-body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20hidden;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20';}const u=[...d,Q(0x37e,0x37f)+p+'</style>'];await b[Q(0x3dd,0x400)]();({totalPages:n}=c);yield{'html':b['pageTpl']({'html':q,'title':k,'header':r,'footer':s,'styles':u,'paperWidth':g,'paperHeight':h,'realPaperWidth':i,'realPaperHeight':j,'currentPage':o})};}};function _gra(){const R=['trigger',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-print\x20.b-export-content\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scale:\x20','buildPageHtml','assign','repeatHeader','size','getAt','rows','prepareExportElement','right','pagesExtractor','bodyElement','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','MultiPageVerticalExporter','getPaperWidth',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20calc(100%\x20/\x20','floor','top','px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-export-body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display:\x20flex;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-export-viewport\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','.b-page-','getVisibleRowsCount','prepareComponent','render','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','horizontalPages','569079ogmAgP','renderMergedCells','getScaleValue','24XaMWBK','finishRowIndex','prototype','mergeCells','rowReadyCondition','headerHeight','rtl','footerHeight','count','173403qnTVvg','prepareHTML','L{multipagevertical}','processedRows','hasActiveFeature','collectRow','18XSyKHN','getPaperHeight','verticalPosition','set','slice','\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-page-','305461KZUTMG','title','visible','left','store','firstVisibleRow','ceil','<div\x20class=\x22b-grid-merged-cells-container\x22>','bottom','length','891400ROEoRd','add','onRowsCollected','$name','stateNextPage','exactGridHeight','height','measureElement','px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','verticalPages','lastRowIndex','<style>',');\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20calc(100%\x20/\x20','totalPages','calculateScale','forEach','renderRows','client','paperFormat','type','join','lastRowExported','px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','exportingPageText','ltr','exportMeta',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform-origin:\x20top\x20','offsetHeight','inchToPx','currentPage','push','415828XAwsYh','buildPage','portrait','lastVisibleRow','values','893853MgvBPr','188020TJFuWo','estimateTotalPages','translate','</div>','dataIndex','orientation'];_gra=function(){return R;};return _gra();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x1d4;let f=c[d];return f;};return _grb(a,b);}(function(a,b){function y(a,b){return _grb(b- -0x260,a);}const c=a();while(!![]){try{const d=-parseInt(y(-0x5b,-0x57))/0x1+-parseInt(y(-0x3c,-0x45))/0x2+parseInt(y(-0x78,-0x50))/0x3*(-parseInt(y(-0x6e,-0x80))/0x4)+-parseInt(y(-0x43,-0x40))/0x5*(-parseInt(y(-0x2d,-0x48))/0x6)+-parseInt(y(-0x6b,-0x5c))/0x7+parseInt(y(-0x6c,-0x4f))/0x8+-parseInt(y(-0x30,-0x49))/0x9*(-parseInt(y(-0x80,-0x61))/0xa);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0x97840));function _gra(){const G=['rtl','right','getPaperWidth','portrait','length','render','offsetHeight','ltr','join','SinglePageExporter','bottom','lastVisibleRow','renderRows','centerContentHorizontally','getAt',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20calc(100%\x20/\x20','inchToPx','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#','footerHeight',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-print\x20.b-export-content\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20100%;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','footerTpl','client','rowReadyCondition','count','assign','left','renderMergedCells','replace','store','buildPageHtml','10600190wKRPND','outerHTML','cells','L{singlepage}','stylesheets','6585019syZYRr','headerTpl',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20transform-origin:\x20top\x20','measureElement','<div\x20class=\x22b-grid-merged-cells-container\x22>','827289tUBsdD','</div>','prepareComponent','lockPaperSize','orientation','getScaleValue','min','135402upBKjq','3872528CIVTYO','getPaperHeight','paperFormat','exportMeta',');\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20calc(100%\x20/\x20','onRowsCollected','18VtTbFG','1418298BHUkSM','pageTpl','forEach','1621326BioFzg','prepareExportElement','values','in;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20direction:\x20','set','25dHzunv','px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-page-wrap\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','configurable','visible','in;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','dataIndex',');\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20</style>','localize','top','push','headerHeight','<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','translate','title','hasActiveFeature','exactGridHeight','52LnTrjP'];_gra=function(){return G;};return _gra();}import _grc from'./Exporter.js';function _grz(a,b){return _grb(b- -0x210,a);}import{isPaperSizeSupported,Orientation,PaperFormat,RowsRange}from'../Utils.js';export default class SinglePageExporter extends _grc{static ['$name']=_grz(-0x3c,-0x26);static ['type']='singlepage';static get[_grz(-0x4e,-0x33)](){function A(a,b){return _grz(a,b- -0x181);}return this[A(-0x1c2,-0x1ba)](A(-0x1b4,-0x18f));}static [_grz(0x26,0x12)]={'centerContentHorizontally':![]};async[_grz(-0x2b,-0x5)](a){await super['prepareComponent'](a);const b=Math[B(-0x95,-0x79)](a[B(-0xae,-0xbe)][B(-0xa7,-0xa3)]['count'],0x1);function B(a,b){return _grz(b,a- -0x94);}Object[B(-0xab,-0x88)](this[B(-0x90,-0x94)],{'verticalPages':b,'horizontalPages':b,'totalPages':b,'currentPage':0x0,'verticalPosition':0x0,'horizontalPosition':0x0});}async[_grz(0x2a,0x6)](){}async['renderRows'](a){function C(a,b){return _grz(b,a-0x363);}const b=this,{client:c,rowsRange:d}=a,{rowManager:e,store:f}=c,g=c[C(0x331,0x339)]('mergeCells'),h=d===RowsRange[C(0x376,0x387)],{fakeRows:k,rowsMap:l}=b[C(0x367,0x36f)];let {totalHeight:m}=b['exportMeta'];if(f[C(0x34b,0x364)]&&k[C(0x338,0x357)]){const {firstVisibleRow:n}=e,o=h?n['dataIndex']:0x0,p=h?e[C(0x33f,0x33e)][C(0x328,0x305)]:f[C(0x34b,0x368)]-0x1,q=[];let r=0x0;if(k[0x0][C(0x354,0x376)][C(0x338,0x34d)]){for(let s=o;s<=p;){let t;for(t=0x0;t<k[C(0x338,0x351)]&&s<=p;){const u=f[C(0x342,0x33b)](s),v=k[t];v[C(0x339,0x313)](s,u,!![],![],!![]);r=v[C(0x32f,0x33c)](r);const w={'top':v[C(0x32b,0x34e)],'bottom':v[C(0x33e,0x33c)],'offsetHeight':v[C(0x33a,0x33e)],'dataIndex':v[C(0x328,0x34e)]};q[C(0x32c,0x32c)](w);l[C(0x372,0x36e)](u['id'],w);s++;t++;}if(a[C(0x34a,0x32d)]){await b[C(0x34a,0x36b)](a,{'fromIndex':o,'toIndex':p,'fakeRows':k['slice'](0x0,t)});}k['slice'](0x0,t)['forEach'](x=>b['collectRow'](x));}await b['onRowsCollected'](q,a);}m+=r;if(g){b[C(0x34e,0x346)](a,o,p,q);}}b[C(0x367,0x369)][C(0x332,0x351)]=m;return m;}[_grz(-0x31,-0x12)](a){const b=this,{subGrids:c}=b[D(-0xae,-0xbc)];let d=b[D(-0xa6,-0x85)]();function D(a,b){return _grz(b,a- -0xb2);}Object[D(-0xa5,-0x8a)](c)[D(-0xa8,-0x97)](({placeHolder:e,rows:f,mergedCellsHtml:g})=>{const h=e[E(0x45c,0x470)];let i=f[E(0x464,0x459)]('');if(g!==null&&g!==void 0x0&&g[E(0x449,0x455)]){i+=E(0x45a,0x478)+g['join']('')+E(0x489,0x47a);}function E(a,b){return D(b-0x532,a);}d=d[E(0x456,0x46c)](h,i);});return d;}}SinglePageExporter['prototype']['pagesExtractor']=async function*pagesExtractor(a){const b=this,{client:c}=a,{totalWidth:d}=b['exportMeta'],e=b[F(0x183,0x1a8)],f=a['orientation']===Orientation[F(0x194,0x189)],g=PaperFormat[a['paperFormat']],h=b[F(0x1ac,0x188)](g,f),i=b['getPaperHeight'](g,f),j=b['getPaperWidth'](g,f),k=b[F(0x1a6,0x1b7)](g,f),l=a[F(0x18a,0x1b1)]&&isPaperSizeSupported(a['paperFormat'])?'@page\x20{\x20size:\x20'+a[F(0x1a9,0x1b8)]+'\x20'+a[F(0x192,0x1b2)]+'\x20}':'';let m,n;const o=await b[F(0x181,0x192)](a)+c[F(0x174,0x17f)]+c[F(0x18f,0x198)];const p=b[F(0x189,0x1a3)](a);let q=b['inchToPx'](i);if(a[F(0x1b7,0x1aa)]){m=b['prepareHTML'](a[F(0x1a6,0x1aa)]({'totalWidth':d}));const v=b[F(0x193,0x1ac)](m,'b-export-header');q-=v;}if(a[F(0x178,0x19a)]){n=b['prepareHTML'](a[F(0x196,0x19a)]({'totalWidth':d}));const w=b['measureElement'](n,'b-export-footer');q-=w;}const r=Math['min'](0x1,b[F(0x18d,0x1b3)](b[F(0x1b7,0x196)](h),d)),s=Math[F(0x1b0,0x1b4)](0x1,b[F(0x1d4,0x1b3)](q,o)),t=Math[F(0x1a9,0x1b4)](r,s),u=c['rtl'];function F(a,b){return _grz(a,b-0x1b5);}e[F(0x17f,0x17e)](F(0x18c,0x180)+l+F(0x178,0x197)+c['id']+'\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20'+o+'px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20'+d+F(0x1a8,0x1c6)+j+F(0x1a0,0x179)+k+F(0x1cf,0x1c3)+(u?F(0x16b,0x186):F(0x18b,0x18d))+F(0x174,0x199)+(b[F(0x17d,0x193)]?'.b-export-viewport > .b-widget { transform: translateX(-50%); left: 50%; }':'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.b-print\x20.b-export-viewport\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scale:\x20'+t+F(0x1a0,0x1ab)+(u?F(0x16f,0x187):F(0x19b,0x19f))+F(0x1b6,0x195)+t+F(0x1b5,0x1ba)+t+F(0x194,0x17b));yield{'html':b[F(0x1d3,0x1be)]({'html':p,'header':m,'footer':n,'styles':e,'paperWidth':h,'paperHeight':i,'realPaperHeight':k,'realPaperWidth':j,'currentPage':0x0})};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _grn(a,b){return _grb(a-0x131,b);}(function(a,b){const c=a();function m(a,b){return _grb(b-0xea,a);}while(!![]){try{const d=-parseInt(m(0x180,0x17d))/0x1+parseInt(m(0x181,0x188))/0x2+-parseInt(m(0x181,0x17a))/0x3+parseInt(m(0x17d,0x18f))/0x4*(parseInt(m(0x199,0x199))/0x5)+-parseInt(m(0x191,0x185))/0x6*(parseInt(m(0x17f,0x180))/0x7)+-parseInt(m(0x177,0x17b))/0x8+-parseInt(m(0x180,0x186))/0x9*(-parseInt(m(0x17c,0x182))/0xa);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0xd8b61));function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x8e;let f=c[d];return f;};return _grb(a,b);}function _gra(){const q=['135kfQRrz','headerTpl','2931720EhPNNh','pagesExtractor','px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20</style>','headerHeight','$name','stylesheets','pageTpl','17796cDXgrr','singlepageunscaled','prepareHTML','px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20.b-page-wrap\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20direction:\x20','px\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20','\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','L{singlepageunscaled}','paperFormat','measureElement','footerTpl','230yamsUR','type','title','<style>\x0a\x20\x20\x20\x20\x20\x20\x20\x20html,\x0a\x20\x20\x20\x20\x20\x20\x20\x20.b-print-root\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20overflow:\x20auto\x20!important;\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20body\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20','rtl','1135608ODLNOp','6576632bkbBxz','buildPageHtml','219635quwivj','orientation','prototype','2632tQtlIM','ltr','731990ImIyvD','exportMeta','localize','7350qeieNO'];_gra=function(){return q;};return _gra();}import _grc from'./SinglePageExporter.js';export default class SinglePageUnscaledExporter extends _grc{static [_grn(0x1d3,0x1e0)]='SinglePageUnscaledExporter';static [_grn(0x1e1,0x1e5)]=_grn(0x1d7,0x1d6);static get[_grn(0x1e2,0x1d8)](){function o(a,b){return _grn(a- -0x336,b);}return this[o(-0x16b,-0x16a)](o(-0x15a,-0x158));}}SinglePageUnscaledExporter[_grn(0x1c6,0x1cd)][_grn(0x1d0,0x1d2)]=async function*pagesExtractor(a){const b=this,{client:c}=a,{totalWidth:d}=b[p(0x9b,0x90)],e=b[p(0xa5,0xa9)];let f,g,h;f=await b['renderRows'](a)+c[p(0xa3,0xa6)]+c['footerHeight'];const i=b[p(0x94,0x8f)](a);const j=f;if(a['headerTpl']){g=b['prepareHTML'](a[p(0x9f,0x9d)]({'totalWidth':d}));const k=b[p(0xaf,0xb9)](g,'b-export-header');f+=k;}function p(a,b){return _grn(a- -0x12f,b);}if(a[p(0xb0,0xb7)]){h=b[p(0xa9,0xa5)](a[p(0xb0,0xb7)]({'totalWidth':d}));const l=b[p(0xaf,0xa6)](h,'b-export-footer');f+=l;}a[p(0xae,0xa3)]=d+'*'+f;a[p(0x96,0x92)]=undefined;e['push'](p(0x90,0x92)+f+p(0xab,0xbb)+d+p(0xaa,0xb9)+(c[p(0x91,0x86)]?p(0x91,0x83):p(0x99,0xa5))+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x0a\x20\x20\x20\x20\x20\x20\x20\x20#'+c['id']+p(0xac,0x9f)+j+p(0xab,0xb3)+d+p(0xa2,0xab));yield{'html':b[p(0xa6,0xaa)]({'html':i,'header':g,'footer':h,'styles':e,'currentPage':0x0})};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){function x(a,b){return _grb(a-0x1ed,b);}const c=a();while(!![]){try{const d=parseInt(x(0x27c,0x264))/0x1*(parseInt(x(0x28d,0x292))/0x2)+parseInt(x(0x295,0x2b5))/0x3*(parseInt(x(0x2a0,0x2b4))/0x4)+parseInt(x(0x28b,0x2aa))/0x5+parseInt(x(0x2af,0x2b4))/0x6+-parseInt(x(0x2b2,0x2ac))/0x7*(-parseInt(x(0x291,0x271))/0x8)+parseInt(x(0x2b7,0x2c0))/0x9+-parseInt(x(0x28f,0x286))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0xedc15));function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x8e;let f=c[d];return f;};return _grb(a,b);}function _gry(a,b){return _grb(b-0x34c,a);}export default a=>class b extends a{static [_gry(0x421,0x41a)]='PrintMixin';static ['configurable']={'useBrowserPrint':!![],'exporterType':_gry(0x40f,0x3f8),'test':![]};static get['pluginConfig'](){function z(a,b){return _gry(b,a- -0x24b);}return{'assign':[z(0x1c9,0x1be),'showPrintDialog']};}[_gry(0x426,0x404)](){return this['showExportDialog']();}[_gry(0x405,0x414)](c){function A(a,b){return _gry(a,b- -0x700);}return this[A(-0x33c,-0x31a)](c);}async[_gry(0x3e7,0x3e3)](c){}async[_gry(0x402,0x410)](c,d){await this['onPrintIFrameLoad'](c);function B(a,b){return _gry(b,a- -0x2eb);}if(await this[B(0xf6,0xff)][B(0x11d,0x135)](B(0xf4,0xec),{'iframe':c})!==![]){const e=()=>{function C(a,b){return B(a- -0x43a,b);}c[C(-0x332,-0x34e)]();d();};if(this[B(0x12a,0x132)]){d();}else{const {contentWindow:f}=c;f[B(0x133,0x11c)]=e;f[B(0x129,0x117)]();}}else{c['remove']();d();}}[_gry(0x3eb,0x3f5)](c,d,e){function D(a,b){return _gry(a,b- -0x1ed);}d[D(0x1fe,0x1f7)][D(0x1f8,0x1f1)](D(0x1fc,0x202))[D(0x218,0x213)](f=>{const g=c[E(0x1c6,0x1d1)](f);function E(a,b){return D(b,a- -0x3f);}c[E(0x1b8,0x1bc)][E(0x1f1,0x1cf)](g);});}[_gry(0x3cd,0x3dc)](c,d){function F(a,b){return _gry(b,a- -0x3dd);}d[F(0x7,-0x6)][F(0x1,-0x2)](F(0x0,-0x11))[F(0x23,0x21)](e=>{const f=c[G(0x462,0x46f)](e);function G(a,b){return F(a-0x44d,b);}c[G(0x454,0x44e)][G(0x48d,0x483)](f);});}[_gry(0x3d0,0x3e7)](c){const d=this;return new Promise((e,f)=>{const g=document[H(-0x181,-0x17a)](H(-0x19f,-0x17c));g[H(-0x182,-0x169)]=H(-0x170,-0x18f);g[H(-0x18f,-0x1a8)][H(-0x17d,-0x189)]=H(-0x15c,-0x17e);g[H(-0x1a7,-0x1a8)][H(-0x189,-0x198)]='0';g[H(-0x181,-0x16a)]=()=>{var h;const i=g['contentWindow'],j=i[I(0x475,0x47f)],{body:k}=j,l=new DOMParser(),m=[];for(const q of document[I(0x464,0x476)]){const r=new g['contentWindow'][(I(0x453,0x46c))](),s=[...q['cssRules']][I(0x484,0x48c)](t=>t['cssText'])[I(0x462,0x481)]('\x0a');r[I(0x480,0x477)](s);m[I(0x48a,0x487)](r);}j[I(0x478,0x476)]=m;let n,o;c['forEach'](({html:t},u)=>{function J(a,b){return I(a,b- -0x2dd);}const v=l['parseFromString'](t,J(0x182,0x19d)),w=j[J(0x1a8,0x18a)](v['body']['firstChild']);if(u===0x0){d['addStylesToDocument'](j,v,t);n=parseFloat(v[J(0x16c,0x189)][J(0x157,0x175)][J(0x1a5,0x185)]);o=parseFloat(v[J(0x19e,0x189)][J(0x18c,0x175)][J(0x187,0x17d)]);}d[J(0x18f,0x174)](j,v);k[J(0x1a5,0x1b5)](w);});const {html:p}=c[0x0];k[I(0x488,0x491)]=((h=p[I(0x4a1,0x484)](/<body class="(.+?)"/))===null||h===void 0x0?void 0x0:h[0x1])||'';k[I(0x44a,0x45d)][I(0x47f,0x473)][I(0x4a1,0x48e)](I(0x47e,0x482));k[I(0x460,0x452)][I(0x458,0x462)]=n*c[I(0x47f,0x45e)]+'in';function I(a,b){return H(a,b-0x5fa);}k[I(0x45f,0x452)][I(0x45d,0x45a)]=o+'in';Promise[I(0x493,0x488)](Array[I(0x43b,0x455)](j['head']['querySelectorAll'](I(0x493,0x47b)))[I(0x47c,0x48c)](t=>{return new Promise((u,v)=>{function K(a,b){return _grb(a- -0xdc,b);}t[K(-0xd,-0x1f)]=u;t[K(-0x9,0xb)]=v;});}))[I(0x46e,0x46e)](()=>j[I(0x492,0x48d)][I(0x48d,0x46f)])[I(0x480,0x46e)](()=>d[I(0x47b,0x485)](g,e))[I(0x480,0x472)](t=>{console[L(0x2f8,0x30d)](L(0x314,0x2fc)+(t[L(0x337,0x325)]?':\x20'+t['message']:''));function L(a,b){return I(a,b- -0x153);}f(d['L'](L(0x306,0x304)));});};function H(a,b){return _grb(b- -0x239,a);}d[H(-0x19d,-0x1a4)][H(-0x170,-0x18a)][H(-0x1bd,-0x19d)]['appendChild'](g);});}};function _gra(){const M=['message','showPrintDialog','text/html','link[rel=\x22stylesheet\x22]','hidden','trigger','iframe','document','createElement','join','b-print-root','3133278kLYxUd','match','showBrowserPrintDialog','631484HVQRmv','push','all','print','test','5186079kcaofb','map','fonts','add','$name','onload','className','appendChild','onafterprint','onerror','Failed\x20to\x20load\x20stylesheets\x20','3TATrEI','addInlineStylesToDocument','style','querySelectorAll','beforeShowPrintDialog','from','client','L{PdfExport.Export\x20failed}','onPrintIFrameLoad','head','width','export','doPrint','parentElement','length','4566225NPVLSr','warn','706138ufcUXg','height','45994960IzZpRz','link[rel=\x22stylesheet\x22],link[as=\x22style\x22]','64rMlWPs','body','adoptNode','remove','7389GzpTvI','addStylesToDocument','b-print-wrapper','CSSStyleSheet','multipagevertical','then','ready','element','visibility','catch','classList','2892Oqmvxu','forEach','adoptedStyleSheets','replaceSync'];_gra=function(){return M;};return _gra();}
|
package/lib/row/Row.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){const c=a();function L(a,b){return _grb(b- -0x24,a);}while(!![]){try{const d=parseInt(L(0x100,0x162))/0x1+parseInt(L(0x133,0x17e))/0x2*(-parseInt(L(0x1e4,0x209))/0x3)+parseInt(L(0x1aa,0x1b4))/0x4+-parseInt(L(0x194,0x1a7))/0x5*(parseInt(L(0x16c,0x1a9))/0x6)+-parseInt(L(0x202,0x1f4))/0x7*(-parseInt(L(0x230,0x1fe))/0x8)+-parseInt(L(0x170,0x164))/0x9+parseInt(L(0x22d,0x20c))/0xa;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0x98189));function _grM(a,b){return _grb(b-0x1d1,a);}import _grc from'@bryntum/core-thin/lib/Base.js';function _gra(){const aA=['getCells','_rowHeight','index','bottom','b-loading-cell','isExpanded','top','contains','b-measuring-auto-height','column','sync','div','_allCells','setAttribute','remove','_elementsArray','hasFrameworkRenderer','eachCell','isModel','Row','editorContext','dataIndex','bufferedTranslateFromRow','fwComponent','isLinked','aria-expanded','trigger','rendererReturningContent','setTimeout','rowManager','addElement','removeElements','248018GFoDTI','htmlEncode','1291833jAqRfd','setInnerText','lastTop','aria-owns','setStart','_record','_elements','get','ariaRowIndex','lastHeight','initClass','$name','from','b-last','isDomClassList','isSpecialRow','cells','slice','doDestroy','alwaysClearCell','getRawValue','then','length','parent','b-row-expander-row-expanded','_hasHtml','6fvWCIe','map','aria-readonly','autoHeight','renderCell','equals','rowHeight','isDestroying','object','render','addCls','updateElementsHeight','print','children','style','keys','renderRow','_cells','indexOf','processRowHeight','innerHTML','tree','afterRenderRow','updateRow','extractContents','removeAttribute','_index','setTop','_height','getCellClass','autoSyncHtml','columns','getRecordFromElement','processCellContent','offsetHeight','translate','removeCls','positionElements','readOnly','editor','_column','27955DzlEnc','fixedRowHeight','714uDRkUe','getElement','store','cellElement','set','hideHeaders','eachElement','moveContentFromCell','call','_dataIndex','createRange','2135708OZUkBM','push','join','$lastRow','classList','_id','removeRow','setAttributes','elements','b-grid-row-updating','_columnId','createElement','columnId','element','b-row-placeholder','canEdit','beforeRenderCell','setBottom','construct','renderer','parentIndex','isTree','changeCls','lastRecordCls','find','isFirst','isSelected','nextElementSibling','add','--b-grid-row-height','toggleCls','transitionDuration','grid','width','isPromise','lastDomConfig','callback','_regions','rendererHtml','isLeaf','maxRequestedHeight','_columnIndex','max','b-focused','positionCells','firstElementChild','translateRow','region','idMap','syncClassList','row','parentNode','forceInnerHTML','afterRenderCell','height','updatingSingleRow','isDestroyed','b-showing','assign','setProperty','count','translateFromRow','appendChild','beforeRenderRow','70NRLqXD','meta','storeKnownHeight','renderPlaceholder','getById','renderDone','_content','b-editing','dataset','fieldMap','184088sxQHdr','_top','forEach','cellEdit','lazyLoad','transient','setEndBefore','getCell','asArray','_rowIndex','cls','1153137VYYUPW','updateCellContent','updateCls','15729330otMIVg'];_gra=function(){return aA;};return _gra();}function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x175;let f=c[d];return f;};return _grb(a,b);}import _grd from'@bryntum/core-thin/lib/data/DomDataStore.js';import _gre from'@bryntum/core-thin/lib/helper/ArrayHelper.js';import _grf from'@bryntum/core-thin/lib/helper/DomHelper.js';import _grg from'@bryntum/core-thin/lib/helper/DomSync.js';import _grh from'@bryntum/core-thin/lib/helper/util/Objects.js';import _gri from'@bryntum/core-thin/lib/helper/util/DomClassList.js';import _grj from'../util/GridLocation.js';import _grk from'@bryntum/core-thin/lib/helper/util/Rectangle.js';const cellContentRange=document[_grM(0x3ce,0x3a8)]();export default class Row extends _grc{static [_grM(0x356,0x364)]=_grM(0x327,0x34a);static ['configurable']={'cls':{'$config':{'equal':(c1,c2)=>(c1===null||c1===void 0x0?void 0x0:c1[_grM(0x338,0x367)])&&(c2===null||c2===void 0x0?void 0x0:c2[_grM(0x359,0x367)])&&c1['isEqual'](c2)}}};[_grM(0x3eb,0x3bb)](a){function N(a,b){return _grM(a,b- -0x21b);}Object[N(0x205,0x1c8)](this,{'_elements':{},'_elementsArray':[],'_cells':{},'_allCells':[],'_regions':[],'lastHeight':0x0,'lastTop':-0x1,'_dataIndex':0x0,'_top':0x0,'_height':0x0,'_id':null,'forceInnerHTML':![],'isGroupFooter':![],'isGroupHeader':![],'cellContext':new _grj({'grid':a[N(0x186,0x1ae)],'id':null,'columnIndex':0x0})});super['construct'](a);}[_grM(0x32b,0x36b)](){function O(a,b){return _grM(b,a- -0x164);}const a=this;if(!a[O(0x1f0,0x1d1)][O(0x216,0x1ee)]){a['removeElements']();if(a[O(0x1f0,0x1da)][O(0x275,0x2c7)][a['id']]===a){delete a[O(0x1f0,0x1ca)][O(0x275,0x24d)][a['id']];}}super[O(0x207,0x232)]();}get[_grM(0x40a,0x404)](){return this['_index'];}set[_grM(0x39f,0x404)](a){function P(a,b){return _grM(b,a-0x11e);}this[P(0x4ab,0x4f2)]=a;}get['dataIndex'](){function Q(a,b){return _grM(b,a- -0x2c8);}return this[Q(0xdf,0xe5)];}set[_grM(0x33b,0x34c)](a){function R(a,b){return _grM(b,a-0x133);}if(this[R(0x4da,0x4b0)]!==a){this[R(0x4da,0x4a1)]=a;this[R(0x4d7,0x508)](b=>{b[S(0x81,0xdc)][S(0x94,0x48)]=a;function S(a,b){return R(a- -0x4a3,b);}b[S(-0xf,-0x42)]=this['grid'][S(0x33,0x7e)]?a+0x1:a+0x2;});}}get['id'](){function T(a,b){return _grM(a,b- -0x23);}return this[T(0x3e7,0x38b)];}set['id'](a){function U(a,b){return _grM(a,b- -0x3a1);}const b=this,c={'id':a},d=b[U(-0xf,-0x4d)][U(0xc,0x38)];if(b[U(-0x3f,0xd)]!==a||d[a]!==b){if(d[b[U(-0x25,0xd)]]===b)delete d[b['_id']];d[a]=b;b['_id']=a;b[U(0x3c,0x3)](e=>{function V(a,b){return U(a,b-0x3a8);}_grd[V(0x409,0x3ea)](e,c);e[V(0x3b5,0x3f8)]['id']=a;});b['eachCell'](e=>_grd[U(0x85,0x42)](e,c));}}[_grM(0x384,0x355)](a,b){const c=this,{dataIndex:d}=c;function W(a,b){return _grM(a,b- -0x28a);}let e=b['firstElementChild'];c[W(0x110,0xd5)][a]=b;c[W(0xc8,0xbc)]['push'](b);c['_regions'][W(0x166,0x120)](a);_grd[W(0x11e,0x159)](b,{'index':c[W(0x13a,0x17a)]});c['_cells'][a]=[];while(e){const {column:f,columnId:g}=e[W(0x1c4,0x167)];c[W(0x12b,0xfa)][a]['push'](e);c[W(0x166,0x184)]['push'](e);_grd[W(0x166,0x118)](e,{'column':f,'columnId':g,'rowElement':e['parentNode'],'row':c});e=e[W(0x147,0x13a)];}b[W(0x111,0x167)][W(0x19a,0x17a)]=d;b[W(0x116,0xd7)]=c['grid'][W(0x142,0x119)]?d+0x1:d+0x2;c[W(0x74,0xd1)]=null;if(c[W(0x19b,0x17e)]!==null){c['positionElements'](!![]);}}[_grM(0x3a5,0x39f)](a){function X(a,b){return _grM(a,b- -0x479);}return this[X(-0xfe,-0x11a)][a];}['getRectangle'](a){function Y(a,b){return _grM(a,b- -0x1b4);}return _grk[Y(0x1e1,0x1b1)](this['getElement'](a));}[_grM(0x3ff,0x3a4)](a){function Z(a,b){return _grM(a,b-0x53);}this[Z(0x3c7,0x399)][Z(0x408,0x448)](a);}[_grM(0x393,0x348)](a){function a0(a,b){return _grM(a,b- -0x4f8);}this[a0(-0xd5,-0xea)][a0(-0x117,-0x103)](a);}get[_grM(0x36e,0x3b1)](){function a1(a,b){return _grM(b,a- -0x2c2);}return this[a1(0x9d,0xe4)];}get[_grM(0x3c4,0x3b6)](){const a=Object[a2(0x164,0x196)](this['_elements'])[0x0];function a2(a,b){return _grM(a,b- -0x1ec);}return this[a2(0x130,0x173)][a];}get[_grM(0x35c,0x369)](){function a3(a,b){return _grM(b,a-0x1f6);}return this[a3(0x604,0x63c)];}[_grM(0x40b,0x402)](a){return this['_cells'][a];}[_grM(0x410,0x3fa)](a,b=![]){function a4(a,b){return _grM(b,a- -0x352);}return this['_allCells'][a4(0x6f,0x28)](c=>{const d=_grd[a5(0x3d7,0x3b8)](c);function a5(a,b){return a4(b-0x3aa,a);}return d[a5(0x3e3,0x40d)]==a||!b&&d[a5(0x4b3,0x463)]==a;});}[_grM(0x32c,0x356)](a=![]){function a6(a,b){return _grM(a,b- -0x1b6);}const b=this;b['rowManager']['trigger'](a6(0x19c,0x1f9),{'row':b});if(!a){b[a6(0x20d,0x1ee)](c=>c[a6(0x1fd,0x25a)]());}b[a6(0x183,0x1a9)]={};b[a6(0x1da,0x1ce)]={};b[a6(0x1ee,0x190)][a6(0x1b8,0x1b9)]=b[a6(0x264,0x218)]['length']=b[a6(0x262,0x258)][a6(0x1c9,0x1b9)]=b[a6(0x151,0x1ac)]=b[a6(0x21a,0x229)]=0x0;b[a6(0x1c8,0x1a5)]=-0x1;}get[_grM(0x41a,0x3df)](){function a7(a,b){return _grM(b,a- -0xc8);}return this[a7(0x2c7,0x325)];}set[_grM(0x3e2,0x3df)](a){function a8(a,b){return _grM(b,a-0x70);}if(!this[a8(0x46d,0x4b1)][a8(0x3e1,0x37c)]){this[a8(0x454,0x460)](a8(0x436,0x45a),a===this[a8(0x439,0x3ff)]['rowHeight']?'':_grf['setLength'](a));}this[a8(0x3ff,0x3ed)]=a;}get[_grM(0x36c,0x395)](){function a9(a,b){return _grM(a,b- -0x4c);}return this[a9(0x369,0x393)];}[_grM(0x3d1,0x37e)](a){function aa(a,b){return _grM(b,a- -0xfd);}const b=this;if(!a){b['rowManager'][aa(0x2ee,0x308)](b['id'],b[aa(0x2e2,0x33f)]);}if(b[aa(0x265,0x2ba)]!==b[aa(0x2e2,0x2e5)]){this[aa(0x2a7,0x2c0)](c=>{function ab(a,b){return aa(a- -0x29a,b);}c[ab(-0x16,-0x39)]['height']=b[ab(-0x2,0x55)]+'px';});b[aa(0x265,0x2b2)]=b[aa(0x2e2,0x285)];}}[_grM(0x389,0x37d)](a){function ac(a,b){return _grM(b,a- -0x438);}this['updateCls'](this[ac(-0x3b,-0x2c)]['add'](a));}[_grM(0x3ea,0x397)](a){function ad(a,b){return _grM(b,a- -0x4ee);}this[ad(-0xee,-0xc0)](this['cls'][ad(-0xde,-0xaa)](a));}[_grM(0x417,0x3c7)](a,b){function ae(a,b){return _grM(a,b- -0x9b);}this[ae(0x3b2,0x365)](this[ae(0x32f,0x362)][b?'add':ae(0x3a8,0x375)](a));}['assignCls'](a){function af(a,b){return _grM(b,a-0x1f6);}this[af(0x5f6,0x5d8)](this[af(0x5f3,0x650)][af(0x5d9,0x5ec)](a));}[_grM(0x413,0x3bf)](a){return new _gri(a);}[_grM(0x41f,0x400)](a){function ag(a,b){return _grM(a,b-0x198);}this[ag(0x540,0x53c)](b=>_grf[ag(0x53c,0x572)](b,a));}[_grM(0x461,0x40f)](a,b){function ah(a,b){return _grM(a,b- -0x212);}this[ah(0x1f6,0x192)](c=>c[ah(0x23a,0x1fd)](a,b));}[_grM(0x387,0x38c)](a){function ai(a,b){return _grM(b,a- -0x4d9);}this['eachElement'](b=>b[ai(-0x14d,-0x195)](a));}[_grM(0x441,0x3e4)](a,b){function aj(a,b){return _grM(a,b-0x98);}this[aj(0x481,0x43c)](c=>c[aj(0x47b,0x419)][aj(0x460,0x47c)](a,b));}get[_grM(0x412,0x3c2)](){function ak(a,b){return _grM(a,b-0x124);}return this[ak(0x478,0x470)]===0x0;}get[_grM(0x3e0,0x408)](){function al(a,b){return _grM(b,a- -0x1cf);}return this[al(0x225,0x1c9)];}get[_grM(0x42c,0x405)](){function am(a,b){return _grM(a,b- -0x27c);}return this['_top']+this[am(0x176,0x113)];}['setTop'](a,b){function an(a,b){return _grM(a,b-0x87);}if(this[an(0x4c5,0x47b)]!==a){this[an(0x4df,0x47b)]=a;this[an(0x3fd,0x41f)](b);}}[_grM(0x371,0x3ba)](a,b){function ao(a,b){return _grM(a,b- -0x507);}this[ao(-0x18b,-0x179)](a-this[ao(-0x10e,-0x172)],b);}[_grM(0x377,0x396)](a,b=![]){this['setTop'](a,b);function ap(a,b){return _grM(a,b- -0x257);}return a+this[ap(0xd8,0x13e)];}[_grM(0x369,0x398)](a){const b=this,{top:c,_elementsArray:d}=b;function aq(a,b){return _grM(a,b- -0x24);}if(b[aq(0x32e,0x337)]!==c){for(let e=0x0,{length:f}=d;e<f;e++){d[e][aq(0x300,0x35d)]['top']=c+'px';}!a&&b[aq(0x389,0x330)][aq(0x370,0x32d)](aq(0x3de,0x3b3),{'row':b});b[aq(0x315,0x337)]=c;}}['offset'](a){let b=this['_top']+a;if(b<0x0){a-=b;b=0x0;}this['setTop'](b);return a;}[_grM(0x423,0x3d5)](){function ar(a,b){return _grM(a,b- -0x1f4);}const a={};for(const b of this[ar(0x172,0x175)]){const c=this[ar(0x1f3,0x1d5)][ar(0x193,0x19e)][ar(0x220,0x1f9)](b['dataset'][ar(0x1b7,0x1c1)]),{classList:d,style:e}=b,{width:f}=d[ar(0x262,0x215)]('b-hiding')||d[ar(0x205,0x215)](ar(0x1f1,0x1ee))?c:c[ar(0x244,0x1f6)];e['insetInlineStart']=c[ar(0x231,0x1f6)]['x']+'px';e[ar(0x20a,0x1d6)]=f+'px';a[c[ar(0x1a3,0x1e4)]]=c[ar(0x256,0x1f6)]['x']+c[ar(0x258,0x1f6)]['width'];}for(const g in a){this['getElement'](g)[ar(0x169,0x18d)]['width']=a[g]+'px';}}[_grM(0x435,0x3ec)](a,b,c,d,e){function as(a,b){return _grM(a,b- -0x126);}const f=this,{rowManager:g}=f,{rowHeight:h}=g;f['addCls'](as(0x22f,0x291));if(f[as(0x26e,0x2b9)]!==h){f['height']=h;f[as(0x28c,0x258)](!![]);g[as(0x28a,0x227)](f);}f['dataIndex']=a;b['then'](i=>{function at(a,b){return as(a,b- -0x68);}if(i&&f[at(0x209,0x1be)]===a&&f[at(0x213,0x23b)][at(0x231,0x212)][at(0x1a8,0x1f7)](i)===a){f[at(0x22f,0x1ee)](a,i,c,d,e,!![]);}});}[_grM(0x338,0x37c)](a,b,c=!![],d=![],e=![],f=![]){var g,h;const j=this,{cellContext:k,cls:l,elements:m,grid:n,rowManager:o,height:p,_id:q}=j,r=_grd[au(0x204,0x240)](j['_elementsArray'][0x0]),s=o[au(0x2a7,0x259)],{store:t}=n,u=n['features'][au(0x22c,0x24e)]&&t[au(0x262,0x295)];let v=0x0,w;if(!b&&b!==![]){if(a!=null){var x;b=(x=t[au(0x29b,0x290)])===null||x===void 0x0?void 0x0:x['getAt'](a);if(b&&!b[au(0x1ed,0x22b)]){return j[au(0x290,0x2c7)](a,b,c,d,e);}}if(!b){b=t['getById'](r['id']);a=t['indexOf'](b);}}if(!b){return;}o[au(0x284,0x2d5)]=c;j['removeCls']('b-row-placeholder');const y=(g=b)===null||g===void 0x0?void 0x0:g['cls'],z=y?y[au(0x20b,0x1f7)]?y:new _gri(y):null,A=a===t[au(0x289,0x22f)]-0x1;l[au(0x287,0x229)]({'b-grid-row-updating':c&&n['transitionDuration']&&!e,'b-selected':n[au(0x267,0x274)]((h=b)===null||h===void 0x0?void 0x0:h['id']),'b-read-only':b[au(0x23d,0x285)],'b-linked':b[au(0x1f3,0x1ab)],'b-original':b['hasLinks'],'b-last':A});if(A&&o[au(0x250,0x240)]!==j){var B,C;(B=o['$lastRow'])===null||B===void 0x0||(C=B[au(0x23b,0x1fd)])===null||C===void 0x0||C['call'](B,au(0x20a,0x1f1));o[au(0x250,0x1ed)]=j;}if(j[au(0x264,0x2a9)]){l[au(0x2b4,0x25f)](j[au(0x264,0x24a)]);}if(z){l[au(0x269,0x26b)](z);j[au(0x264,0x268)]={...z};}else{j[au(0x264,0x23d)]=null;}o[au(0x1f5,0x1f5)](au(0x28c,0x2e1),{'row':j,'record':b,'recordIndex':a,'oldId':q});n[au(0x28c,0x2ac)]({'row':j,'record':b,'recordIndex':a,'oldId':q,'cls':l});j['updateCls'](l);if(c&&n[au(0x26c,0x210)]&&!e){n[au(0x1f7,0x227)](()=>{function av(a,b){return au(a-0xbb,b);}if(!j[av(0x340,0x2e4)]){l[av(0x36f,0x33e)](av(0x311,0x2b4));j[av(0x35f,0x34d)](l);}},n[au(0x26c,0x29c)]+0x32);}j['id']=b['id'];j[au(0x1f0,0x1eb)]=a;const D=!n['fixedRowHeight']&&n['getRowHeight'](b)||s;let E=j['maxRequestedHeight']=null;if(u){for(const I in m){const J=m[I];J['id']=n['id']+'-'+I+'-'+j['id'];_grf['setAttributes'](J,{'aria-level':b['childLevel']+0x1,'aria-setsize':b[au(0x214,0x207)][au(0x224,0x26e)][au(0x213,0x1e9)],'aria-posinset':b[au(0x261,0x25e)]+0x1});if(b[au(0x2ab,0x2cd)](t)){var F,G;_grf[au(0x254,0x20c)](J,{'aria-expanded':!![],'aria-owns':(F=b[au(0x224,0x1d9)])!==null&&F!==void 0x0&&F[au(0x213,0x1d7)]?(G=b[au(0x224,0x23f)])===null||G===void 0x0?void 0x0:G[au(0x20e,0x242)](0x0,0x32)[au(0x218,0x1b2)](K=>n['id']+'-'+I+'-'+K['id'])[au(0x24f,0x236)]('\x20'):null});}else{if(b[au(0x274,0x20f)]){J[au(0x230,0x1d9)](au(0x1f4,0x1fb));}else{J[au(0x2b3,0x286)](au(0x1f4,0x234),![]);}J[au(0x230,0x209)](au(0x200,0x1d6));}}}k[au(0x202,0x1f5)]=b;k[au(0x252,0x215)]=b['id'];function au(a,b){return _grM(b,a- -0x15c);}k[au(0x2a0,0x2f7)]=a;for(v=0x0;v<n[au(0x236,0x21d)]['visibleColumns'][au(0x213,0x248)];v++){const K=n[au(0x236,0x1fd)]['visibleColumns'][v];k[au(0x257,0x23a)]=K['id'];k[au(0x23f,0x2a2)]=K;k[au(0x276,0x250)]=v;k['_cell']=j[au(0x29e,0x2f7)](K['id'],!![]);k[au(0x283,0x280)]=D;k[au(0x275,0x275)]=E;k[au(0x284,0x297)]=c;w=j[au(0x21b,0x226)](k);if(!o[au(0x241,0x253)]){if(w[au(0x283,0x287)]!=null){E=Math[au(0x277,0x286)](E,w[au(0x283,0x2ae)]);if(!w[au(0x29c,0x2df)]){j['maxRequestedHeight']=E;}}}}const H=E??D;j[au(0x283,0x24f)]=n[au(0x22a,0x273)](b,H)??H;j[au(0x222,0x23e)](e);if(f&&p!==j['height']){o[au(0x1f1,0x214)](j,d);}if(c&&!e){if(p!==j[au(0x283,0x221)]){o[au(0x28a,0x29c)](j,d);}o['trigger'](au(0x22e,0x1e4),{'row':j,'record':b,'recordIndex':a,'oldId':q});o[au(0x1f5,0x21e)](au(0x292,0x262));}n[au(0x22d,0x25e)]({'row':j,'record':b,'recordIndex':a,'oldId':q,'oldHeight':p,'isExport':e});o[au(0x1f5,0x220)](au(0x227,0x210),{'row':j,'record':b,'recordIndex':a,'oldId':q,'isExport':e});if(p&&j[au(0x283,0x268)]!==p){o[au(0x1f5,0x222)]('rowRowHeight',{'row':j,'record':b,'height':j[au(0x283,0x248)],'oldHeight':p});}j[au(0x281,0x2a9)]=![];o[au(0x284,0x239)]=![];}[_grM(0x357,0x377)](a){var b;if(!a['isLocation']){a=new _grj(a);}let {cell:c,record:d}=a;const {grid:e,column:f,height:g,maxRequestedHeight:h,updatingSingleRow:updatingSingleRow=!![],isMeasuring:isMeasuring=![]}=a,i=(b=e['features'])===null||b===void 0x0?void 0x0:b[aw(0x470,0x451)],j=_grd[aw(0x3da,0x39b)](c),k=j['rowElement'],l=_grd[aw(0x3da,0x3dd)](k);if(!d){d=a[aw(0x3d8,0x3a1)]=e[aw(0x41a,0x3ea)][aw(0x467,0x44f)](l['id']);if(!d){return;}}if(!e[aw(0x3c8,0x385)]){e['fwComponent']=e[aw(0x3c1,0x3c5)]?e:e['up'](u=>Boolean(u['hasFrameworkRenderer']))||{};}let m=f[aw(0x3e7,0x3a9)](d);const n=d[aw(0x46c,0x445)][f['field']],o={'configuredHeight':g,'height':null,'maxRequestedHeight':h},p=f[aw(0x40a,0x42f)](a),q={'cellElement':c,'cellCls':p,'dataField':n,'rowElement':k,'value':m,'record':d,'column':f,'size':o,'grid':e,'row':j[aw(0x455,0x40b)],'updatingSingleRow':updatingSingleRow,'isMeasuring':isMeasuring,'isExport':![]},r=f[aw(0x436,0x433)];if(e['readOnly']||d[aw(0x413,0x476)]||!f[aw(0x432,0x3fc)](d)){c[aw(0x489,0x462)]('aria-readonly',!![]);}else{c[aw(0x406,0x3d9)](aw(0x3ef,0x3ad));}function aw(a,b){return _grM(b,a-0x7a);}e[aw(0x433,0x419)](q,a);if(q[aw(0x41b,0x480)]!==c){c=q[aw(0x41b,0x3d9)];}_grf['syncClassList'](c,p);let s=!![];if(!_grh[aw(0x445,0x469)](m)){if(r){m=f[aw(0x447,0x433)](r,f,[q]);if(m===undefined){if(d['generatedParent']&&f[aw(0x3cc,0x3d9)]){m='';}else if(f[aw(0x3e6,0x431)]===![]){s=![];}}}else if(n){m=n[aw(0x3f9,0x3ff)](m);}}const t={'cellContent':m,'size':o,'grid':e,'isMeasuring':isMeasuring,'cellContext':a,'cellElementData':j,'rendererData':q,'shouldSetContent':s,'cellEdit':i,'record':d,'column':f,'cellElement':c};if(_grh[aw(0x445,0x403)](m)){c[aw(0x427,0x425)][aw(0x43f,0x3e7)](aw(0x480,0x439));m[aw(0x3e8,0x3e5)](u=>{function ax(a,b){return aw(a- -0x349,b);}if(!this['isDestroyed']){c['classList']['remove']('b-loading-cell');if(e[ax(0xc4,0x89)](c)===d){this[ax(0x130,0x131)]({...t,'cellContent':u});}}});return o;}return this[aw(0x479,0x438)](t);}[_grM(0x462,0x3ff)]({cellContent:a,size:b,grid:c,isMeasuring:d,cellContext:e,cellElementData:f,rendererData:g,shouldSetContent:h,cellEdit:i,record:j,column:k,cellElement:l}){var m,n;const o=(m=c[ay(0x4b,0x1c)])===null||m===void 0x0||(n=m[ay(0x44,0x68)])===null||n===void 0x0?void 0x0:n[ay(0xa3,0x77)](m,{'cellContent':a,'column':k});if(o&&j[ay(0x65,0xb0)]){a='';}const p=o&&!k['data'][ay(0x85,0x76)]&&!j[ay(0x65,0x49)];if(p){var q,r;(q=c['fwComponent'])===null||q===void 0x0||(r=q[ay(0x91,0xec)])===null||r===void 0x0||r[ay(0xa3,0x88)](q,{'reactComponent':c['fwComponent'],'cellElementData':f,'rendererData':g,'rendererHtml':g[ay(0xcc,0x11c)]||a});}if(h&&!p){var s;let u=l;if((i===null||i===void 0x0||(s=i[ay(0x48,0x2e)])===null||s===void 0x0?void 0x0:s[ay(0x108,0x119)])===k&&!i[ay(0x97,0xdb)]['isFinishing']){if(i!==null&&i!==void 0x0&&i[ay(0x48,0x9b)][ay(0x75,0xa6)](e)){u=this[ay(0xa2,0x9d)](l,i[ay(0x97,0xdd)]['element']);}else{u['classList'][ay(0x10d,0x106)](ay(0xed,0xf5));}}const v=a!=null&&typeof a===ay(0x78,0xc3),w=typeof a==='string',x=v||a==null?'':String(a);if(this[ay(0xda,0x84)]){u[ay(0x84,0xd2)]='';delete u[ay(0xec,0x95)];l[ay(0xc9,0xc5)]=null;}if(!v&&k[ay(0x55,0x84)]&&!k['disableHtmlEncode']){if(l['_hasHtml']){u['innerText']=x;l[ay(0x6f,0xb4)]=![];}else{_grf[ay(0x57,0x69)](u,x);}delete u['_content'];}else if(k[ay(0x8e,0x43)]&&(!w||_grf['getChildElementCount'](u))){if(w){_grf[ay(0x109,0x11a)](x,u[ay(0xd3,0xf8)]);}else if(v){_grg[ay(0x109,0xe6)]({'domConfig':a,'targetElement':u});delete u[ay(0xec,0x13f)];}}else if(v){_grg[ay(0x109,0x165)]({'targetElement':u,'domConfig':{'onlyChildren':!![],'children':_gre[ay(0xf8,0x107)](a)}});delete u[ay(0xec,0x129)];}else if(u[ay(0xec,0xed)]!==x){u[ay(0x84,0xb0)]=u[ay(0xec,0x112)]=x;}if(u!==l){const {firstChild:y}=l;for(const z of[...u['childNodes']]){l['insertBefore'](z,y);}l[ay(0xaa,0x5c)]['add']('b-editing',ay(0xd1,0xc4));}}if(!j[ay(0x65,0xc4)]){var t;(t=c[ay(0x91,0xbb)])===null||t===void 0x0||t[ay(0xa3,0x108)](c,{'cellElementData':f,'rendererData':g,'rendererHtml':g[ay(0xcc,0x69)]||a});}if(k[ay(0x73,0x19)]&&!j['rowHeight']&&b[ay(0xdc,0x109)]==null){l[ay(0xaa,0xa0)][ay(0xc2,0xa5)](ay(0x107,0xd2));b[ay(0xdc,0xac)]=Math['max'](l[ay(0x92,0x9c)],c[ay(0x76,0xac)]);l[ay(0xaa,0xf3)][ay(0x10d,0xd2)]('b-measuring-auto-height');}if(!d){this[ay(0x51,0xa6)]['trigger'](ay(0x74,0x77),g);}function ay(a,b){return _grM(b,a- -0x303);}if(k[ay(0xdb,0x122)]){k['callback'](k['afterRenderCell'],k,[g]);}return b;}['moveContentFromCell'](a,b){if(!b[az(-0x1a0,-0x1c5)]){a[az(-0x195,-0x1eb)](b);}cellContentRange[az(-0x21f,-0x1e9)](a,0x0);function az(a,b){return _grM(b,a- -0x57c);}cellContentRange[az(-0x183,-0x1b8)](b);const c=document[az(-0x1c8,-0x1b6)](az(-0x16f,-0x173));c[az(-0x195,-0x154)](cellContentRange[az(-0x1f1,-0x18d)]());c[az(-0x1cf,-0x228)][az(-0x1b7,-0x215)]('b-editing');return c;}}Row[_grM(0x3a8,0x363)]();
|
|
1
|
+
function _gra(){const av=['forEach','parent','idMap','isFinishing','remove','addCls','getRecordFromElement','rendererHtml','aria-owns','isDestroying','getCells','index','lastRecordCls','row','insertBefore','setTop','1540462srYLXO','meta','bufferedTranslateFromRow','10utDxGV','isTree','then','push','element','getCell','construct','doDestroy','createElement','isPromise','length','object','cellEdit','renderPlaceholder','b-showing','alwaysClearCell','get','columns','autoSyncHtml','b-row-expander-row-expanded','maxRequestedHeight','beforeRenderRow','_columnIndex','--b-grid-row-height','_hasHtml','b-editing','afterRenderCell','setProperty','hasFrameworkRenderer','1325376igdLwy','getAt','style','_record','storeKnownHeight','removeElements','344bmelGm','lazyLoad','generatedParent','call','string','isDestroyed','set','childLevel','sync','firstElementChild','indexOf','_id','region','addElement','beforeRenderCell','disableHtmlEncode','isLinked','readOnly','width','dataset','max','aria-readonly','add','data','columnId','fwComponent','appendChild','isSelected','setLength','transitionDuration','eachElement','rowManager','eachCell','_content','isDomClassList','field','_top','rendererReturningContent','_dataIndex','updateElementsHeight','translateFromRow','fieldMap','join','_elementsArray','lastTop','lastHeight','rowHeight','positionCells','assign','updateCellContent','fixedRowHeight','hideHeaders','1544088WUOnfl','height','updateCls','visibleColumns','renderDone','b-focused','parentNode','isEqual','translateRow','offsetHeight','features','aria-expanded','_index','translate','_rowHeight','forceInnerHTML','from','getElement','getRawValue','_elements','cellElement','setAttribute','autoHeight','createRange','getChildElementCount','configurable','children','setAttributes','childNodes','toggleCls','tree','210269tNywoB','trigger','b-loading-cell','cls','_cells','grid','isFirst','bottom','transient','getById','column','dataIndex','store','find','setStart','processRowHeight','setTimeout','editor','equals','229365LaakwR','processCellContent','extractContents','removeCls','syncClassList','removeAttribute','rowRowHeight','setEndBefore','callback','classList','2174910PZmwio','map','positionElements','innerHTML','renderCell','innerText','offset','render','assignCls','keys','lastDomConfig','initClass','isExpanded','setBottom','top','1540976zROKfs','_column','renderer','_allCells','slice','b-row-placeholder','moveContentFromCell','isSpecialRow','isModel','changeCls','ariaRowIndex','cells','editorContext','insetInlineStart','$name','$lastRow','updateRow','_rowIndex','_cell','canEdit','updatingSingleRow','Row','_regions','contains','_height'];_gra=function(){return av;};return _gra();}(function(a,b){const c=a();function L(a,b){return _grb(a- -0x97,b);}while(!![]){try{const d=-parseInt(L(0x21c,0x275))/0x1+-parseInt(L(0x1a3,0x1b7))/0x2+parseInt(L(0x1c3,0x1e0))/0x3+parseInt(L(0x17a,0x161))/0x4+parseInt(L(0x1a6,0x1c2))/0x5*(-parseInt(L(0x16b,0x123))/0x6)+parseInt(L(0x1fd,0x1eb))/0x7+-parseInt(L(0x1c9,0x174))/0x8*(-parseInt(L(0x161,0x139))/0x9);if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0x6aef5));import _grc from'@bryntum/core-thin/lib/Base.js';import _grd from'@bryntum/core-thin/lib/data/DomDataStore.js';import _gre from'@bryntum/core-thin/lib/helper/ArrayHelper.js';import _grf from'@bryntum/core-thin/lib/helper/DomHelper.js';import _grg from'@bryntum/core-thin/lib/helper/DomSync.js';import _grh from'@bryntum/core-thin/lib/helper/util/Objects.js';import _gri from'@bryntum/core-thin/lib/helper/util/DomClassList.js';import _grj from'../util/GridLocation.js';function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x1e8;let f=c[d];return f;};return _grb(a,b);}function _grM(a,b){return _grb(b-0x9d,a);}import _grk from'@bryntum/core-thin/lib/helper/util/Rectangle.js';const cellContentRange=document[_grM(0x311,0x348)]();export default class Row extends _grc{static [_grM(0x2d3,0x2bc)]=_grM(0x26f,0x2c3);static [_grM(0x33b,0x34a)]={'cls':{'$config':{'equal':(c1,c2)=>(c1===null||c1===void 0x0?void 0x0:c1[_grM(0x357,0x31f)])&&(c2===null||c2===void 0x0?void 0x0:c2[_grM(0x310,0x31f)])&&c1[_grM(0x2d4,0x338)](c2)}}};[_grM(0x2b3,0x2e0)](a){Object[N(0x5d,0x6e)](this,{'_elements':{},'_elementsArray':[],'_cells':{},'_allCells':[],'_regions':[],'lastHeight':0x0,'lastTop':-0x1,'_dataIndex':0x0,'_top':0x0,'_height':0x0,'_id':null,'forceInnerHTML':![],'isGroupFooter':![],'isGroupHeader':![],'cellContext':new _grj({'grid':a[N(0x16,-0x38)],'id':null,'columnIndex':0x0})});function N(a,b){return _grM(a,b- -0x2bf);}super['construct'](a);}[_grM(0x2d9,0x2e1)](){function O(a,b){return _grM(b,a- -0x1d9);}const a=this;if(!a['rowManager'][O(0xf7,0x107)]){a[O(0x123,0x143)]();if(a[O(0x143,0x15e)][O(0xf0,0x156)][a['id']]===a){delete a[O(0x143,0x196)][O(0xf0,0xfc)][a['id']];}}super[O(0x108,0x120)]();}get[_grM(0x282,0x2d2)](){function P(a,b){return _grM(b,a- -0x1ec);}return this[P(0x151,0x144)];}set[_grM(0x32f,0x2d2)](a){function Q(a,b){return _grM(a,b-0xe3);}this[Q(0x40c,0x420)]=a;}get[_grM(0x281,0x28d)](){function R(a,b){return _grM(b,a- -0x357);}return this[R(-0x34,0xc)];}set['dataIndex'](a){if(this['_dataIndex']!==a){this['_dataIndex']=a;this['eachElement'](b=>{b[S(0x1b2,0x157)]['index']=a;function S(a,b){return _grb(b- -0x11c,a);}b[S(0xee,0xff)]=this[S(0xd4,0xce)][S(0x1a4,0x177)]?a+0x1:a+0x2;});}}get['id'](){function T(a,b){return _grM(b,a-0x306);}return this[T(0x60e,0x668)];}set['id'](a){const b=this,c={'id':a},d=b['rowManager'][U(0x432,0x3dd)];function U(a,b){return _grM(b,a-0x169);}if(b[U(0x471,0x495)]!==a||d[a]!==b){if(d[b[U(0x471,0x449)]]===b)delete d[b[U(0x471,0x494)]];d[a]=b;b[U(0x471,0x455)]=a;b[U(0x484,0x44b)](e=>{_grd[V(0x25b,0x29d)](e,c);function V(a,b){return U(b- -0x1f9,a);}e[V(0x25a,0x280)]['id']=a;});b[U(0x486,0x467)](e=>_grd[U(0x496,0x4d2)](e,c));}}[_grM(0x2d1,0x30a)](a,b){const c=this,{dataIndex:d}=c;let e=b[W(0x297,0x2f5)];c[W(0x352,0x333)][a]=b;c[W(0x2dc,0x317)][W(0x304,0x2cc)](b);c['_regions']['push'](a);_grd['assign'](b,{'index':c[W(0x2c3,0x2c1)]});c['_cells'][a]=[];while(e){const {column:f,columnId:g}=e[W(0x2ae,0x2ff)];c['_cells'][a]['push'](e);c[W(0x2c9,0x2a0)][W(0x2c7,0x2cc)](e);_grd[W(0x32f,0x2f2)](e,{'column':f,'columnId':g,'rowElement':e['parentNode'],'row':c});e=e['nextElementSibling'];}b[W(0x2a5,0x2ff)]['index']=d;b[W(0x242,0x2a7)]=c['grid']['hideHeaders']?d+0x1:d+0x2;function W(a,b){return _grM(a,b- -0x11);}c['lastTop']=null;if(c[W(0x263,0x29c)]!==null){c['positionElements'](!![]);}}[_grM(0x319,0x342)](a){function X(a,b){return _grM(a,b- -0x345);}return this[X(-0x1f,-0x1)][a];}['getRectangle'](a){function Y(a,b){return _grM(b,a- -0x1ad);}return _grk[Y(0x194,0x14d)](this[Y(0x195,0x1c0)](a));}['eachElement'](a){function Z(a,b){return _grM(a,b-0x166);}this[Z(0x4a0,0x48e)][Z(0x452,0x42d)](a);}['eachCell'](a){this['_allCells']['forEach'](a);}get['elements'](){function a0(a,b){return _grM(a,b- -0xe);}return this[a0(0x382,0x336)];}get[_grM(0x2da,0x2de)](){const a=Object[a1(0x532,0x52b)](this[a1(0x5ce,0x5d3)])[0x0];function a1(a,b){return _grM(b,a-0x28a);}return this[a1(0x5ce,0x584)][a];}get[_grM(0x30e,0x2b9)](){return this['_allCells'];}[_grM(0x312,0x2d1)](a){function a2(a,b){return _grM(a,b- -0x284);}return this[a2(-0x52,0x2)][a];}[_grM(0x2ae,0x2df)](a,b=![]){function a3(a,b){return _grM(b,a-0x164);}return this[a3(0x415,0x3dc)][a3(0x3f3,0x457)](c=>{function a4(a,b){return a3(a- -0x54e,b);}const d=_grd[a4(-0x100,-0xe1)](c);return d[a4(-0xd5,-0x104)]==a||!b&&d[a4(-0x15e,-0x167)]==a;});}['removeElements'](a=![]){function a5(a,b){return _grM(a,b- -0x3dd);}const b=this;b['rowManager'][a5(-0x86,-0x8c)]('removeRow',{'row':b});if(!a){b['eachElement'](c=>c['remove']());}b['_elements']={};b[a5(-0x171,-0x157)]={};b[a5(-0x8e,-0xb5)][a5(-0xf0,-0xf9)]=b[a5(-0x162,-0x119)][a5(-0xc7,-0xf9)]=b[a5(-0x158,-0x12c)][a5(-0xea,-0xf9)]=b[a5(-0xcf,-0xb3)]=b[a5(-0xb2,-0xab)]=0x0;b[a5(-0x9b,-0xb4)]=-0x1;}get[_grM(0x2e3,0x332)](){function a6(a,b){return _grM(a,b- -0x58);}return this[a6(0x268,0x26e)];}set[_grM(0x373,0x332)](a){function a7(a,b){return _grM(a,b-0x1e4);}if(!this['cls'][a7(0x51a,0x4d1)]){this[a7(0x4bc,0x4d9)](a7(0x4e4,0x4d5),a===this['grid'][a7(0x4b1,0x50f)]?'':_grf[a7(0x4f2,0x4fd)](a));}this[a7(0x469,0x4aa)]=a;}get['offsetHeight'](){return this['height'];}[_grM(0x366,0x324)](a){function a8(a,b){return _grM(a,b- -0x417);}const b=this;if(!a){b[a8(-0x15c,-0xfb)][a8(-0x179,-0x11c)](b['id'],b[a8(-0x120,-0xe5)]);}if(b[a8(-0xf2,-0xed)]!==b[a8(-0x131,-0xe5)]){this[a8(-0xfe,-0xfc)](c=>{function a9(a,b){return a8(a,b-0x169);}c[a9(-0x14,0x4b)]['height']=b['offsetHeight']+'px';});b[a8(-0xcb,-0xed)]=b[a8(-0xc7,-0xe5)];}}[_grM(0x281,0x2cc)](a){function aa(a,b){return _grM(a,b-0x1bc);}this[aa(0x552,0x4ef)](this['cls'][aa(0x509,0x4cf)](a));}[_grM(0x2e8,0x298)](a){this['updateCls'](this['cls']['remove'](a));}[_grM(0x34c,0x34e)](a,b){function ab(a,b){return _grM(a,b- -0x95);}this['updateCls'](this[ab(0x1f6,0x1f0)][b?'add':ab(0x205,0x236)](a));}[_grM(0x257,0x2a7)](a){function ac(a,b){return _grM(b,a-0x1f4);}this[ac(0x527,0x510)](this[ac(0x479,0x49c)][ac(0x521,0x4f1)](a));}[_grM(0x2df,0x2b7)](a){return new _gri(a);}[_grM(0x321,0x333)](a){this['eachElement'](b=>_grf['syncClassList'](b,a));}[_grM(0x2f0,0x346)](a,b){function ad(a,b){return _grM(b,a- -0x201);}this[ad(0x11a,0xf5)](c=>c[ad(0x145,0x198)](a,b));}['removeAttribute'](a){function ae(a,b){return _grM(a,b- -0x422);}this['eachElement'](b=>b[ae(-0x1b7,-0x188)](a));}[_grM(0x328,0x2f5)](a,b){function af(a,b){return _grM(a,b-0x33d);}this['eachElement'](c=>c['style'][af(0x673,0x632)](a,b));}get[_grM(0x2a9,0x288)](){return this['dataIndex']===0x0;}get['top'](){function ag(a,b){return _grM(b,a-0x2e7);}return this[ag(0x608,0x5f4)];}get[_grM(0x277,0x289)](){function ah(a,b){return _grM(a,b- -0x2df);}return this[ah(0x32,0x42)]+this[ah(-0x20,-0x19)];}[_grM(0x330,0x2d6)](a,b){function ai(a,b){return _grM(a,b- -0x56);}if(this[ai(0x316,0x2cb)]!==a){this['_top']=a;this[ai(0x249,0x24b)](b);}}[_grM(0x2c3,0x2ac)](a,b){function aj(a,b){return _grM(b,a- -0x248);}this['setTop'](a-this[aj(0xf2,0x124)],b);}[_grM(0x31b,0x33e)](a,b=![]){function ak(a,b){return _grM(a,b- -0x428);}this[ak(-0x15a,-0x152)](a,b);return a+this[ak(-0x122,-0xee)];}[_grM(0x258,0x2a1)](a){function al(a,b){return _grM(a,b-0x345);}const b=this,{top:c,_elementsArray:d}=b;if(b[al(0x67f,0x66e)]!==c){for(let e=0x0,{length:f}=d;e<f;e++){d[e][al(0x67f,0x63e)][al(0x5ab,0x5f2)]=c+'px';}!a&&b[al(0x611,0x661)][al(0x6d6,0x696)](al(0x6af,0x67e),{'row':b});b['lastTop']=c;}}[_grM(0x2f2,0x2a5)](a){let b=this['_top']+a;if(b<0x0){a-=b;b=0x0;}this['setTop'](b);return a;}[_grM(0x36d,0x32c)](){function am(a,b){return _grM(a,b- -0x4d);}const a={};for(const b of this[am(0x226,0x26c)]){const c=this[am(0x242,0x23a)][am(0x25b,0x29e)][am(0x236,0x23e)](b[am(0x28c,0x2c3)][am(0x291,0x2c8)]),{classList:d,style:e}=b,{width:f}=d[am(0x2b6,0x278)]('b-hiding')||d[am(0x23c,0x278)](am(0x2d6,0x29b))?c:c[am(0x2c2,0x28b)];e[am(0x294,0x26e)]=c['meta']['x']+'px';e['width']=f+'px';a[c[am(0x2ed,0x2bc)]]=c[am(0x2a9,0x28b)]['x']+c[am(0x25d,0x28b)][am(0x2dc,0x2c2)];}for(const g in a){this[am(0x35c,0x2f5)](g)[am(0x267,0x2ac)]['width']=a[g]+'px';}}[_grM(0x343,0x2e7)](a,b,c,d,e){const f=this,{rowManager:g}=f,{rowHeight:h}=g;function an(a,b){return _grM(a,b-0x30a);}f['addCls'](an(0x5ca,0x5bd));if(f[an(0x643,0x63c)]!==h){f[an(0x64d,0x63c)]=h;f['updateElementsHeight'](!![]);g[an(0x5b3,0x5e3)](f);}f[an(0x5a4,0x597)]=a;b[an(0x5b8,0x5e6)](i=>{function ao(a,b){return an(a,b- -0x242);}if(i&&f[ao(0x3ac,0x355)]===a&&f['grid'][ao(0x3a5,0x356)][ao(0x390,0x3cf)](i)===a){f['render'](a,i,c,d,e,!![]);}});}[_grM(0x2be,0x2a6)](a,b,c=!![],d=![],e=![],f=![]){var g,h;const j=this,{cellContext:k,cls:l,elements:m,grid:n,rowManager:o,height:p,_id:q}=j,r=_grd[ap(0x612,0x61d)](j[ap(0x650,0x677)][0x0]),s=o[ap(0x667,0x695)],{store:t}=n,u=n[ap(0x663,0x60f)]['tree']&&t[ap(0x603,0x608)];let v=0x0,w;if(!b&&b!==![]){if(a!=null){var x;b=(x=t[ap(0x626,0x607)])===null||x===void 0x0?void 0x0:x[ap(0x620,0x5c7)](a);if(b&&!b[ap(0x5de,0x5ae)]){return j[ap(0x60f,0x5c5)](a,b,c,d,e);}}if(!b){b=t[ap(0x5b3,0x5a6)](r['id']);a=t[ap(0x62f,0x661)](b);}}if(!b){return;}o[ap(0x5ea,0x585)]=c;j[ap(0x5c0,0x5f3)]('b-row-placeholder');const y=(g=b)===null||g===void 0x0?void 0x0:g[ap(0x5ad,0x5a4)],z=y?y['isDomClassList']?y:new _gri(y):null,A=a===t['count']-0x1;l[ap(0x655,0x688)]({'b-grid-row-updating':c&&n[ap(0x642,0x62f)]&&!e,'b-selected':n[ap(0x640,0x66e)]((h=b)===null||h===void 0x0?void 0x0:h['id']),'b-read-only':b[ap(0x636,0x685)],'b-linked':b[ap(0x635,0x685)],'b-original':b['hasLinks'],'b-last':A});if(A&&o[ap(0x5e5,0x593)]!==j){var B,C;(B=o[ap(0x5e5,0x603)])===null||B===void 0x0||(C=B['removeCls'])===null||C===void 0x0||C[ap(0x628,0x5ce)](B,'b-last');o[ap(0x5e5,0x5bd)]=j;}if(j[ap(0x5fb,0x65e)]){l[ap(0x5f3,0x5f4)](j[ap(0x5fb,0x60d)]);}if(z){l[ap(0x63b,0x60c)](z);j[ap(0x5fb,0x62d)]={...z};}else{j['lastRecordCls']=null;}function ap(a,b){return _grM(b,a-0x328);}o['trigger'](ap(0x617,0x5b2),{'row':j,'record':b,'recordIndex':a,'oldId':q});n[ap(0x617,0x5fb)]({'row':j,'record':b,'recordIndex':a,'oldId':q,'cls':l});j[ap(0x65b,0x663)](l);if(c&&n['transitionDuration']&&!e){n[ap(0x5ba,0x5cb)](()=>{function aq(a,b){return ap(b- -0x12c,a);}if(!j[aq(0x4ad,0x4fe)]){l[aq(0x4b8,0x4c7)]('b-grid-row-updating');j[aq(0x539,0x52f)](l);}},n[ap(0x642,0x644)]+0x32);}j['id']=b['id'];j[ap(0x5b5,0x60e)]=a;const D=!n['fixedRowHeight']&&n['getRowHeight'](b)||s;let E=j['maxRequestedHeight']=null;if(u){for(const I in m){const J=m[I];J['id']=n['id']+'-'+I+'-'+j['id'];_grf[ap(0x674,0x68b)](J,{'aria-level':b[ap(0x62c,0x68a)]+0x1,'aria-setsize':b[ap(0x5f0,0x5a6)][ap(0x673,0x632)]['length'],'aria-posinset':b['parentIndex']+0x1});if(b[ap(0x5d3,0x5c2)](t)){var F,G;_grf[ap(0x674,0x660)](J,{'aria-expanded':!![],'aria-owns':(F=b[ap(0x673,0x612)])!==null&&F!==void 0x0&&F[ap(0x60c,0x5c0)]?(G=b['children'])===null||G===void 0x0?void 0x0:G[ap(0x5da,0x5d0)](0x0,0x32)[ap(0x5c8,0x604)](K=>n['id']+'-'+I+'-'+K['id'])[ap(0x64f,0x61f)]('\x20'):null});}else{if(b['isLeaf']){J[ap(0x5c2,0x5bf)](ap(0x664,0x615));}else{J[ap(0x66e,0x61e)](ap(0x664,0x65c),![]);}J[ap(0x5c2,0x5b2)](ap(0x5f7,0x628));}}}k[ap(0x622,0x5bf)]=b;k['_id']=b['id'];k[ap(0x5e7,0x5a3)]=a;for(v=0x0;v<n['columns'][ap(0x65c,0x620)]['length'];v++){const K=n[ap(0x613,0x63e)][ap(0x65c,0x65d)][v];k['_columnId']=K['id'];k[ap(0x5d7,0x5cb)]=K;k[ap(0x618,0x5d9)]=v;k[ap(0x5e8,0x5d2)]=j[ap(0x607,0x5eb)](K['id'],!![]);k['height']=D;k['maxRequestedHeight']=E;k[ap(0x5ea,0x5c0)]=c;w=j[ap(0x5cb,0x579)](k);if(!o[ap(0x657,0x648)]){if(w[ap(0x65a,0x615)]!=null){E=Math[ap(0x639,0x5e9)](E,w[ap(0x65a,0x64c)]);if(!w[ap(0x5b2,0x55d)]){j[ap(0x616,0x61d)]=E;}}}}const H=E??D;j[ap(0x65a,0x5f5)]=n[ap(0x5b9,0x563)](b,H)??H;j['updateElementsHeight'](e);if(f&&p!==j[ap(0x65a,0x69c)]){o['bufferedTranslateFromRow'](j,d);}if(c&&!e){if(p!==j[ap(0x65a,0x6b2)]){o[ap(0x64d,0x673)](j,d);}o[ap(0x679,0x6cc)](ap(0x5e6,0x5e1),{'row':j,'record':b,'recordIndex':a,'oldId':q});o[ap(0x679,0x6cf)](ap(0x65d,0x678));}n['afterRenderRow']({'row':j,'record':b,'recordIndex':a,'oldId':q,'oldHeight':p,'isExport':e});o['trigger']('renderRow',{'row':j,'record':b,'recordIndex':a,'oldId':q,'isExport':e});if(p&&j[ap(0x65a,0x624)]!==p){o[ap(0x679,0x65e)](ap(0x5c3,0x625),{'row':j,'record':b,'height':j[ap(0x65a,0x68f)],'oldHeight':p});}j[ap(0x668,0x6a8)]=![];o[ap(0x5ea,0x615)]=![];}[_grM(0x258,0x2a3)](a){var b;if(!a['isLocation']){a=new _grj(a);}let {cell:c,record:d}=a;const {grid:e,column:f,height:g,maxRequestedHeight:h,updatingSingleRow:updatingSingleRow=!![],isMeasuring:isMeasuring=![]}=a,i=(b=e[ar(-0xb1,-0xeb)])===null||b===void 0x0?void 0x0:b[ar(-0x141,-0x140)],j=_grd['get'](c),k=j['rowElement'],l=_grd[ar(-0x188,-0x13c)](k);if(!d){d=a['_record']=e[ar(-0x173,-0x198)][ar(-0x19b,-0x19b)](l['id']);if(!d){return;}}function ar(a,b){return _grM(a,b- -0x426);}if(!e[ar(-0xb3,-0x110)]){e[ar(-0xc6,-0x110)]=e[ar(-0x160,-0x130)]?e:e['up'](u=>Boolean(u[ar(-0x18f,-0x130)]))||{};}let m=f[ar(-0xa0,-0xe3)](d);const n=d[ar(-0x14f,-0x100)][f[ar(-0xd4,-0x106)]],o={'configuredHeight':g,'height':null,'maxRequestedHeight':h},p=f['getCellClass'](a),q={'cellElement':c,'cellCls':p,'dataField':n,'rowElement':k,'value':m,'record':d,'column':f,'size':o,'grid':e,'row':j[ar(-0x135,-0x152)],'updatingSingleRow':updatingSingleRow,'isMeasuring':isMeasuring,'isExport':![]},r=f[ar(-0x17d,-0x176)];if(e['readOnly']||d[ar(-0x14b,-0x118)]||!f[ar(-0x104,-0x165)](d)){c[ar(-0x8a,-0xe0)]('aria-readonly',!![]);}else{c[ar(-0x1e8,-0x18c)](ar(-0x12c,-0x114));}e[ar(-0xf7,-0x11b)](q,a);_grf[ar(-0x16d,-0x18d)](q['cellClsTarget']||c,p);if(q[ar(-0xe2,-0xe1)]!==c){c=q[ar(-0xc4,-0xe1)];}let s=!![];if(!_grh[ar(-0xe4,-0x143)](m)){if(r){m=f[ar(-0x13b,-0x189)](r,f,[q]);if(m===undefined){if(d[ar(-0x153,-0x127)]&&f[ar(-0x13d,-0x104)]){m='';}else if(f[ar(-0x118,-0x13d)]===![]){s=![];}}}else if(n){m=n['print'](m);}}const t={'cellContent':m,'size':o,'grid':e,'isMeasuring':isMeasuring,'cellContext':a,'cellElementData':j,'rendererData':q,'shouldSetContent':s,'cellEdit':i,'record':d,'column':f,'cellElement':c};if(_grh[ar(-0x14b,-0x143)](m)){c[ar(-0x161,-0x188)]['add'](ar(-0x82,-0xd4));m[ar(-0x192,-0x14a)](u=>{function as(a,b){return ar(b,a-0x579);}if(!this[as(0x455,0x410)]){c[as(0x3f1,0x3ac)]['remove'](as(0x4a5,0x445));if(e[as(0x420,0x456)](c)===d){this[as(0x481,0x4c7)]({...t,'cellContent':u});}}});return o;}return this[ar(-0x14c,-0xf8)](t);}[_grM(0x2e8,0x32e)]({cellContent:a,size:b,grid:c,isMeasuring:d,cellContext:e,cellElementData:f,rendererData:g,shouldSetContent:h,cellEdit:i,record:j,column:k,cellElement:l}){var m,n;const o=(m=c['fwComponent'])===null||m===void 0x0||(n=m[at(0x5e7,0x5a8)])===null||n===void 0x0?void 0x0:n[at(0x5f1,0x60f)](m,{'cellContent':a,'column':k});if(o&&j[at(0x5a6,0x592)]){a='';}const p=o&&!k[at(0x605,0x648)][at(0x640,0x689)]&&!j[at(0x5a6,0x5fb)];function at(a,b){return _grM(b,a-0x2f1);}if(p){var q,r;(q=c[at(0x607,0x5a7)])===null||q===void 0x0||(r=q[at(0x587,0x532)])===null||r===void 0x0||r[at(0x5f1,0x59d)](q,{'reactComponent':c['fwComponent'],'cellElementData':f,'rendererData':g,'rendererHtml':g[at(0x5bf,0x600)]||a});}if(h&&!p){var s;let u=l;if((i===null||i===void 0x0||(s=i[at(0x5ab,0x56d)])===null||s===void 0x0?void 0x0:s['column'])===k&&!i[at(0x584,0x5dd)][at(0x5bb,0x5e6)]){if(i!==null&&i!==void 0x0&&i[at(0x5ab,0x604)][at(0x585,0x582)](e)){u=this[at(0x5a5,0x5b4)](l,i[at(0x584,0x5b8)][at(0x5cf,0x618)]);}else{u[at(0x58f,0x55b)][at(0x5bc,0x5d8)](at(0x5e4,0x611));}}const v=a!=null&&typeof a===at(0x5d6,0x57e),w=typeof a===at(0x5f2,0x5de),x=v||a==null?'':String(a);if(this['forceInnerHTML']){u[at(0x593,0x543)]='';delete u[at(0x60f,0x66f)];l[at(0x59a,0x5df)]=null;}if(!v&&k['htmlEncode']&&!k[at(0x5fd,0x64d)]){if(l['_hasHtml']){u[at(0x595,0x563)]=x;l[at(0x5e3,0x5af)]=![];}else{_grf['setInnerText'](u,x);}delete u[at(0x60f,0x5d9)];}else if(k[at(0x5dd,0x5ca)]&&(!w||_grf[at(0x63a,0x67d)](u))){if(w){_grf['sync'](x,u['firstElementChild']);}else if(v){_grg[at(0x5f6,0x647)]({'domConfig':a,'targetElement':u});delete u['_content'];}}else if(v){_grg['sync']({'targetElement':u,'domConfig':{'onlyChildren':!![],'children':_gre['asArray'](a)}});delete u[at(0x60f,0x5c6)];}else if(u[at(0x60f,0x5e2)]!==x){u[at(0x593,0x581)]=u[at(0x60f,0x5d0)]=x;}if(u!==l){const {firstChild:y}=l;for(const z of[...u[at(0x63e,0x625)]]){l[at(0x5c6,0x61a)](z,y);}l[at(0x58f,0x58e)][at(0x604,0x5b0)](at(0x5e4,0x5f8),at(0x627,0x619));}}if(!j[at(0x5a6,0x5d7)]){var t;(t=c[at(0x587,0x570)])===null||t===void 0x0||t[at(0x5f1,0x608)](c,{'cellElementData':f,'rendererData':g,'rendererHtml':g[at(0x5bf,0x614)]||a});}if(k[at(0x638,0x671)]&&!j[at(0x61c,0x610)]&&b[at(0x623,0x61f)]==null){l['classList'][at(0x604,0x5e9)]('b-measuring-auto-height');b[at(0x623,0x681)]=Math[at(0x602,0x619)](l[at(0x62b,0x669)],c[at(0x61c,0x5f4)]);l['classList']['remove']('b-measuring-auto-height');}if(!d){this[at(0x60d,0x671)][at(0x642,0x663)](at(0x594,0x554),g);}if(k[at(0x5e5,0x59b)]){k[at(0x58e,0x5ec)](k[at(0x5e5,0x5e9)],k,[g]);}return b;}['moveContentFromCell'](a,b){if(!b[au(-0x76,-0x7d)]){a[au(-0xba,-0x9d)](b);}cellContentRange[au(-0xbf,-0x124)](a,0x0);function au(a,b){return _grM(a,b- -0x3b4);}cellContentRange[au(-0xb8,-0x118)](b);const c=document[au(-0x137,-0xd2)]('div');c[au(-0xad,-0x9d)](cellContentRange[au(-0x123,-0x11d)]());c[au(-0x176,-0x116)][au(-0x8d,-0xa1)](au(-0x120,-0xc1));return c;}}Row[_grM(0x2dc,0x2aa)]();
|
package/lib/row/RowManager.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){const c=a();function W(a,b){return _grb(b- -0x3a,a);}while(!![]){try{const d=-parseInt(W(0x21a,0x1f6))/0x1+parseInt(W(0x227,0x266))/0x2+parseInt(W(0x17a,0x1b6))/0x3*(parseInt(W(0x271,0x26d))/0x4)+-parseInt(W(0x26f,0x27a))/0x5+parseInt(W(0x1b4,0x206))/0x6*(parseInt(W(0x23b,0x1d6))/0x7)+parseInt(W(0x1a6,0x1b9))/0x8+-parseInt(W(0x25d,0x21d))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0xc9543));import _grc from'@bryntum/core-thin/lib/helper/util/Rectangle.js';import _grd from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0x1ef;let f=c[d];return f;};return _grb(a,b);}import _gre from'./Row.js';import _grf from'@bryntum/core-thin/lib/helper/ArrayHelper.js';function _gra(){const b7=['executeAndAwaitAnimations','correctError','_elementsArray','removeCls','columns','height','fixIndices','element','apply','b-adding','grid','rowCount','virtual','totalCount','translate','rowHeight','lastScrollTop','heightMap','getRowHeight','isModel','width','_rows','client','focus','b-removing','rowCls','859845KBYYvi','includes','find','topRow','invalidateKnownHeight','new','beforeTranslateRow','refreshSuspended','getRowFromElement','offsetHeight','b-repositioning','totalHeight','displayRecordAtBottom','size','autoHeight','defaultScrollOptions','6BoRiER','calculateRowCount','displayRecordAtTop','estimateTotalHeight','_bodyRectangle','idMap','render','_rowManager','setPosition','abs','ceil','\x20b-adding','allHeightsKnown','b-splicing-rows-','_totalHeight','.b-grid-row','averageRowHeight','destroy','from','getRow','positionCells','getOffsetHeight','scrollTargetRecordId','3186576RjHEmH','fillAbove','renderFromRow','getRecordCoords','beforeRowHeight','topIndex','onFocusedRowDerender','scrollTop','addRows','scrollable','refreshCell','getRecordCoordsByIndex','count','bottomRow','-remove','construct','splice','changeRowHeight','offsetRows','translateFromRow','updateRowHeight','getRowById','_rowHeight','nodeAnimationCleanup','delete','viewHeight','get','columnIndex','unshift','call','fillBelow','isDestroyed','iterator','initWithHeight','getAt','pluginConfig','afterPositionCells','scrollHeight','findLast','max','classList','top','chunkSize','clear','removeRows','changeTotalHeight','estimatedTop','minRowOffsetHeight','lastVisibleRow','getActiveElement','beforeAnimatedRowRemoval','shift','_top','reinitialize','bodyContainer','doDestroy','clearKnownHeights','floor','closest','min','visibleRowCount','setBottom','ensureRowVisibility','add','round','onRecordIdChange','calculateTop','row','appendRowBuffer','bottom','cells','raf','trigger','1592914jZzlIG','mixin','asArray','block','slice','bodyHeight','totalKnownHeight','4HZkdyE','some','removeAllRows','setTop','sort','refreshDetails','configurable','dataIndex','fixedRowHeight','length','center','prependRowBuffer','start','3480040yWFpps','addCls','preciseRowOffsetHeight','clientHeight','warpIfNeeded','push','number','firstFullyVisibleRow','focusedCell','forEach','store','81726iAqNVy','delayable','zIndex','11994232vJctXj','getBoundingClientRect','renderDone','minRowHeight','index','firstVisibleRow','has','jumpToPosition','appendBufferHeight','parentElement','matchRowCount','lastFullyVisibleRow','inserting','indexOf','deltaTop','end','storeCount','assertNumber','set','insert','newScrollTop','refresh','rowIndex','getRowAt','rows','b-splicing-rows','properties','cloneNode','rowOffsetHeight','2881074RxBwIj','viewport','renderCell','getNextRow','prependBufferHeight','roundPx'];_gra=function(){return b7;};return _gra();}import _grg from'@bryntum/core-thin/lib/helper/DomHelper.js';import _grh from'@bryntum/core-thin/lib/helper/ObjectHelper.js';function _grY(a,b){return _grb(a- -0x11e,b);}import _gri from'@bryntum/core-thin/lib/helper/VersionHelper.js';import _grj from'@bryntum/core-thin/lib/mixin/Delayable.js';import _grk from'../util/GridLocation.js';const cloneRowEl=a=>{function X(a,b){return _grb(b- -0x216,a);}const b=a[X(0xc,-0x1a)],c=a[X(0x10,-0x8)](!![]);c[X(0x91,0x69)][X(0xe2,0x80)](X(0x20,0x18));b['insertBefore'](c,a);return c;};export default class RowManager extends _grd[_grY(0x183,0x163)](_grj){static get[_grY(0x15c,0x14e)](){function Z(a,b){return _grY(a-0x33c,b);}return{'after':[Z(0x46f,0x4cb)],'assign':[Z(0x451,0x45a),'bottomRow',Z(0x416,0x44e),Z(0x4a5,0x4f6),Z(0x4d9,0x52f),'lastFullyVisibleRow',Z(0x48a,0x487),Z(0x478,0x458),Z(0x471,0x4a4),'getRowFor',Z(0x456,0x48f)]};}static [_grY(0x18f,0x1ba)]={'rowClass':_gre,'prependRowBuffer':0x5,'appendRowBuffer':0x5,'rowHeight':null,'fixedRowHeight':null,'autoHeight':![]};static get[_grY(0xef,0x115)](){return{'idMap':{},'topIndex':0x0,'lastScrollTop':0x0,'_rows':[],'heightMap':new Map(),'totalKnownHeight':0x0,'_totalHeight':0x0,'averageRowHeight':0x0,'scrollTargetRecordId':null,'refreshDetails':{'topRowIndex':0x0,'topRowTop':0x0}};}static [_grY(0xd3,0x111)]={'bufferedTranslateFromRow':_grY(0x180,0x124)};[_grY(0x148,0x170)](a){a[a0(0x144,0x1a6)][a0(0x207,0x1cd)]=this;function a0(a,b){return _grY(b-0xa4,a);}super[a0(0x234,0x1ec)](a[a0(0x166,0x1a6)],a);}[_grY(0x170,0x18f)](){function a1(a,b){return _grY(a- -0x197,b);}this['removeAllRows']();super[a1(-0x27,0x2b)]();}[_grY(0x15a,0x170)](a,b=![]){const c=this;function a2(a,b){return _grY(b-0x120,a);}if(c[a2(0x228,0x240)]){a=c[a2(0x1cc,0x1f1)][a2(0x2a1,0x265)]*c['preciseRowOffsetHeight'];}c[a2(0x228,0x272)]=a;c['calculateRowCount'](b);return a;}[_grY(0x16e,0x157)](a=![]){const b=this,c={};b[a3(0x3c3,0x35e)](![],!![],!![]);function a3(a,b){return _grY(b-0x23b,a);}if(a){b[a3(0x3a0,0x379)]=b[a3(0x34e,0x343)]=0x0;}if(b[a3(0x39d,0x379)]+b[a3(0x36a,0x33e)]-0x1>b[a3(0x370,0x320)]){b[a3(0x353,0x379)]=Math[a3(0x3cc,0x39b)](0x0,b[a3(0x2e0,0x320)]-b[a3(0x355,0x33e)]);}b[a3(0x3ce,0x373)]=null;const {topRow:d}=b;if(d){d[a3(0x42f,0x3cb)]=b[a3(0x316,0x379)];d['setTop'](b[a3(0x3cd,0x3b6)](b[a3(0x375,0x379)]),!![]);}b[a3(0x387,0x360)]();b[a3(0x3d6,0x376)](d);if(b[a3(0x2f3,0x350)]){b[a3(0x3be,0x3b2)](c);}return c;}[_grY(0x177,0x1a2)](a){function a4(a,b){return _grY(b-0x366,a);}const b=this,{topRow:c,bottomRow:d}=b,{scrollable:e}=b[a4(0x45e,0x468)];if(c[a4(0x4d6,0x4c8)]>b[a4(0x4ac,0x45c)]&&c['top']>e['y']||d['bottom']<e[a4(0x470,0x4c4)]-b[a4(0x46a,0x443)]&&d[a4(0x4ec,0x4e4)]<e['y']+e['clientHeight']){a[a4(0x4b0,0x4a6)]=c['top']+b[a4(0x3f9,0x45c)];}}['matchRowCount'](a=![]){function a5(a,b){return _grY(b- -0x1ca,a);}const b=this,{rows:c,grid:d,rowClass:e}=b,f=c[a5(-0x51,-0x38)],g=f-b['rowCount'];if(g){if(g<0x0){const i=[];for(let j=f,k=f?c[f-0x1][a5(-0x3f,-0x3a)]+0x1:0x0;j<b['rowCount'];j++,k++){i[a5(-0x16,-0x2f)](e[a5(-0x98,-0xb3)]({'cls':d[a5(-0x6b,-0xb9)],'rowManager':b,'grid':d,'index':j,'dataIndex':k}));}c[a5(-0x3c,-0x2f)][a5(-0x10d,-0xca)](c,i);b[a5(-0xa7,-0x49)](a5(-0xce,-0x89),{'rows':i});b['positionCells']();if(!a){b['renderFromRow'](c[Math['max'](0x0,f-0x1)]);}}else{var h;const l=(h=_grg[a5(0x1,-0x60)](d))===null||h===void 0x0?void 0x0:h[a5(-0x91,-0x57)]('.b-grid-cell'),m=c[a5(-0xd3,-0x81)](f-g,g);if(f!==g&&m[a5(-0x60,-0x40)](n=>n[a5(-0xa2,-0x4b)][a5(-0x61,-0xb7)](l))){c[c['length']-0x1]['cells'][d[a5(0x36,-0x2c)][a5(-0x3c,-0x76)]][a5(-0x104,-0xbb)]();}b['trigger'](a5(-0xba,-0x65),{'rows':m});m[a5(-0x12,-0x2b)](n=>n[a5(-0x3f,-0x97)]());!a&&c[a5(-0x4b,-0x38)]&&b[a5(-0x10,-0x73)](b[a5(-0x10e,-0xc2)]);}}}[_grY(0x123,0x131)](a=![],b=!![],c=![]){var d;const e=this,{storeCount:f}=e,g=Math['ceil'](e['viewHeight']/e[a6(0xcc,0x132)]),h=g+e['prependRowBuffer']+e[a6(0xe2,0x147)];if(!((d=e[a6(0x82,0xcc)][a6(0x12e,0xc6)])!==null&&d!==void 0x0&&d[a6(0x16e,0x10f)])||isNaN(g)){e[a6(0x12a,0xcd)]=0x0;return 0x0;}if(h<e[a6(0x6a,0xcd)]&&!b){return e[a6(0x68,0xcd)];}e[a6(0x16b,0x13f)]=g;e[a6(0x124,0xcd)]=Math[a6(0x151,0x13e)](f,h);if(!a){if(e['rows']&&e[a6(0xa2,0xcd)]!==e[a6(0x109,0xb7)][a6(0x154,0x15c)]){var i;e[a6(0x8d,0xa9)](c);if(((i=e[a6(0xd2,0x110)])===null||i===void 0x0?void 0x0:i[a6(0x194,0x15a)])>=f&&e[a6(0xfe,0xdf)]['dataIndex']!==0x0){const j=e[a6(0x140,0x110)][a6(0x110,0x15a)]-f+0x1;for(const k of e[a6(0x59,0xb7)]){k[a6(0x177,0x15a)]-=j;}e[a6(0x149,0x108)]-=j;}}else if(!e[a6(0xd8,0xcd)]){e['trigger'](a6(0x178,0x130),{'totalHeight':e[a6(0x14f,0xe7)]});}e[a6(0x79,0xcc)]['toggleEmptyText']();}function a6(a,b){return _grY(b- -0x36,a);}return e[a6(0x101,0xcd)];}async[_grY(0xe8,0x105)](a,b,c){var d,e,f,g;(d=this['nodeAnimationCleanup'])===null||d===void 0x0||d[a7(0x5b2,0x59f)](this);const h=this,{rows:i,rowCount:j,rowClass:k,grid:l}=h,{element:m}=l,{rowCls:n}=l,o=((e=i[a-0x1])===null||e===void 0x0?void 0x0:e[a7(0x5ec,0x629)])+0x1||0x0,p=[],q=(((f=h['lastVisibleRow'])===null||f===void 0x0?void 0x0:f[a7(0x535,0x4f2)])??0x0)+0x1-a;h[a7(0x53d,0x589)]=c;let r;await l[a7(0x554,0x53e)](m,()=>{function a8(a,b){return a7(a- -0x248,b);}let s=null,t=0x0;if(b<0x0){var u;b=Math[a8(0x33f,0x2fe)](b);h[a8(0x2f5,0x2a3)]+=a8(0x35b,0x335);const z=o>=l['store'][a8(0x359,0x371)]?b:Math[a8(0x388,0x323)](b,q),A=i[a8(0x39a,0x3f2)](a,a+z),B=z?A[A[a8(0x3a6,0x3ec)]-0x1][a8(0x392,0x376)]-A[0x0]['top']:0x0,C=[],D=[],E=[];s=A['map'](F=>F['id']);t=B;for(let F=0x0,{length:G}=A;F<G;F++){const H=A[F],I=H[a8(0x30e,0x2c8)]['map'](cloneRowEl),J=k[a8(0x32b,0x38d)]({'rowManager':h,'_elementsArray':I,'_top':H['top'],'grid':l});if(H['isGroupHeader']){I[a8(0x3b3,0x352)](K=>{function a9(a,b){return a8(a- -0x19a,b);}K['style'][a9(0x14e,0x168)]='-1';});}D[a8(0x3af,0x3b9)](J);C[a8(0x3af,0x3be)](...I);}for(let K=a;K<j;K++){E[a8(0x3af,0x38d)](i[K]);i[K][a8(0x3ab,0x3b0)](a8(0x330,0x334));i[K]['setTop'](i[K][a8(0x376,0x38f)]+B);}r=i[a8(0x3a6,0x3f4)]>l[a8(0x2e5,0x2ad)]['count'];(u=C[0x0])===null||u===void 0x0||u[a8(0x2ea,0x283)]();l[a8(0x3ab,0x3db)](a8(0x302,0x2c4),a8(0x343,0x2f8)+c);for(let L=0x0,{length:M}=A;L<M;L++){var v;D[L][a8(0x3a0,0x3e8)](((v=i[a-0x2])===null||v===void 0x0?void 0x0:v[a8(0x392,0x375)])||0x0,!![]);}h['nodeAnimationCleanup']=()=>{function aa(a,b){return a8(b- -0x2b3,a);}if(!h[aa(0xb5,0xb9)]){h[aa(0x4a,0xb1)]=null;l[aa(0x4a,0x5c)](aa(-0x14,0x4f),aa(0x92,0x90)+c);C[aa(0x14b,0x100)](N=>N['remove']());E[aa(0x14c,0x100)](N=>{function ab(a,b){return aa(a,b-0x1b7);}var O;return(O=N[ab(0x26c,0x213)])===null||O===void 0x0?void 0x0:O[ab(0x2cb,0x26e)](N,ab(0x218,0x234));});}};}else if(b>0x0){var w,x,y;const N=[],O=a-(c==='expand'?0x2:0x1),P=((w=i[O])===null||w===void 0x0?void 0x0:w[a8(0x376,0x3ab)])||0x0;h[a8(0x2f5,0x347)]+='-add';b=l['overflowingVertically']?Math[a8(0x388,0x354)](b,(((x=h[a8(0x37d,0x3dc)])===null||x===void 0x0?void 0x0:x[a8(0x2ed,0x354)])??0x0)+0x1-a):Math[a8(0x388,0x365)](b,Math[a8(0x340,0x2ea)]((l['scrollable'][a8(0x3ad,0x3d2)]-(((y=i[a-0x1])===null||y===void 0x0?void 0x0:y['bottom'])||0x0))/h[a8(0x31b,0x2e6)]));let Q=a,R=o;for(let S=0x0;S<b;S++,Q++,R++){p[a8(0x3af,0x358)](k[a8(0x32b,0x371)]({'cls':n+a8(0x341,0x378),'rowManager':h,'_top':P,'grid':l,'index':Q,'dataIndex':R}));}t=b*h[a8(0x305,0x30f)];for(let T=a;T<h['rowCount'];T++,Q++,R++){N[a8(0x3af,0x3cc)](i[T]);i[T][a8(0x3ab,0x3e6)](a8(0x330,0x2dd));i[T]['index']=Q;i[T]['dataIndex']=R;}r=p[a8(0x3a6,0x399)];h[a8(0x364,0x3bc)]=()=>{function ac(a,b){return a8(b- -0x29d,a);}if(!h[ac(0xaf,0xcf)]){h['nodeAnimationCleanup']=null;l['removeCls'](ac(0x58,0x65),ac(0xef,0xa6)+c);p[ac(0x12d,0x116)](U=>!U[ac(0xe2,0xcf)]&&U[ac(0x76,0x72)](ac(0x4d,0x78)));N['forEach'](U=>{var V;function ad(a,b){return ac(b,a-0x588);}return(V=U[ad(0x5fa,0x655)])===null||V===void 0x0?void 0x0:V[ad(0x655,0x6b6)](U,ad(0x61b,0x67b));});}};i['splice'](a,0x0,...p);if(b>0x0){h[a8(0x317,0x312)]+=b;h['trigger'](a8(0x355,0x37d),{'rows':p});}l[a8(0x3ab,0x34b)]('b-splicing-rows',a8(0x343,0x319)+c);}l[a8(0x37f,0x36d)](s,t);h[a8(0x34a,0x2f5)]();h['renderFromRow'](i[a],!![]);l['afterAnimatedRowRemoval'](s,t);});function a7(a,b){return _grY(a-0x45c,b);}if(h[a7(0x5b4,0x5eb)]){return;}(g=h[a7(0x5ac,0x59e)])===null||g===void 0x0||g['call'](h);if(r){h[a7(0x57f,0x587)](![],!![],!![]);}h[a7(0x581,0x59f)]();h[a7(0x53d,0x52d)]=null;return p;}[_grY(0x18b,0x1d0)](){const a=this,{topRow:b}=a,c=b?a['refreshDetails']={'topRowIndex':b[ae(0x61e,0x623)],'topRowTop':b[ae(0x5f0,0x611)]}:a[ae(0x61c,0x63e)],d=a[ae(0x57b,0x5ac)][ae(0x614,0x660)]();a['trigger'](ae(0x5f3,0x631),{'rows':d});a['rows'][ae(0x62d,0x65a)](e=>e[ae(0x5c1,0x56e)]());a[ae(0x57b,0x51c)][ae(0x620,0x5eb)]=0x0;a['idMap']={};function ae(a,b){return _grY(a-0x48e,b);}return c;}[_grY(0x12a,0x10a)](a){const {topRow:b}=this,{topRowIndex:c,topRowTop:d}=a;function af(a,b){return _grY(a-0x18f,b);}if(b){b[af(0x31b,0x36a)](d);b[af(0x31f,0x347)]=c;}}get[_grY(0xd1,0x113)](){function ag(a,b){return _grY(a-0x22a,b);}return this[ag(0x338,0x390)][ag(0x2fb,0x2ea)];}get[_grY(0xe5,0xe5)](){function ah(a,b){return _grY(b- -0xb,a);}let {count:a,lazyLoad:b}=this[ah(0x60,0xc6)];if(a&&b&&b[ah(0xaa,0xfa)]==null){a+=b[ah(0x16c,0x158)];}return a;}get[_grY(0xed,0xcb)](){function ai(a,b){return _grY(a- -0x229,b);}return this[ai(-0x11c,-0x155)];}[_grY(0x135,0x19a)](a){function aj(a,b){return _grY(b-0x389,a);}if(this[aj(0x49c,0x48c)]){return this['rows'][a-this[aj(0x48f,0x4c7)]];}}[_grY(0x14e,0x138)](a){function ak(a,b){return _grY(b-0xc,a);}if(a&&a[ak(0xe4,0x117)]){a=a['id'];}return this[ak(0x14e,0x133)][a];}['getRowFromElement'](a){function al(a,b){return _grY(b- -0x21c,a);}a=a[al(-0x75,-0xa9)](al(-0x110,-0xeb));return a&&this[al(-0x97,-0xe7)](a['dataset'][al(-0xea,-0x143)]);}[_grY(0xec,0xf1)](a,b=![]){function am(a,b){return _grY(b- -0x148,a);}if(!b){a-=_grc[am(-0x38,-0x14)](this['grid'][am(0x1c,0x27)],null,!![])[am(-0x4c,-0x51)](0x1)[am(0x35,0x1a)];a+=this[am(-0x4,-0x46)][am(0x1c,-0x6)]['y'];}a=_grg[am(-0xab,-0x51)](a);return this[am(-0x35,-0x5b)][am(-0x2a,-0x34)](c=>a>=c[am(0x81,0x1a)]&&a<c['bottom']);}['getRowFor'](a){function an(a,b){return _grY(a- -0x7b,b);}if(a instanceof HTMLElement){return this[an(0x9f,0x4c)](a);}return this[an(0xd3,0x88)](a);}[_grY(0xf5,0x13d)](a){function ao(a,b){return _grY(a-0x3fa,b);}const b=typeof a===ao(0x596,0x5f0)?a:a['index'];return this[ao(0x52f,0x526)]((b+0x1)%this[ao(0x4fd,0x4cc)]);}get['topRow'](){return this['rows'][0x0];}get[_grY(0x146,0x153)](){function ap(a,b){return _grY(b-0x26,a);}const a=Math[ap(0x1d0,0x19a)](this[ap(0x174,0x129)],this[ap(0x12e,0x10b)]);return this['rows'][a-0x1];}get[_grY(0xda,0xc6)](){const a=Math[aq(-0xc6,-0x91)](this[aq(-0x115,-0xbb)][aq(-0xdb,-0x7b)]['y']);function aq(a,b){return _grY(b- -0x1bd,a);}return this[aq(-0x102,-0xd0)]['find'](b=>b[aq(-0x38,-0x3f)]>a);}get[_grY(0x19d,0x1a5)](){function ar(a,b){return _grY(a-0x2aa,b);}const a=Math[ar(0x3d6,0x3be)](this['grid'][ar(0x3ec,0x42b)]['y']);return this[ar(0x397,0x367)]['find'](b=>b[ar(0x40c,0x3e9)]>=a)||this[ar(0x397,0x3e4)][ar(0x3be,0x40a)](b=>b[ar(0x40c,0x408)]<a&&b[ar(0x428,0x45b)]>a);}get[_grY(0x169,0x184)](){function as(a,b){return _grY(b- -0x12d,a);}const {grid:a}=this;return _grf['findLast'](this['rows'],b=>b[as(0x66,0x35)]<a[as(-0x31,0x15)]['y']+a[as(0x8c,0x5a)]);}get[_grY(0xe0,0xcc)](){function at(a,b){return _grY(b-0x39e,a);}const {grid:a}=this;return _grf[at(0x514,0x4fd)](this[at(0x465,0x48b)],b=>b[at(0x510,0x51c)]<a['scrollable']['y']+a[at(0x587,0x525)]);}['offsetRows'](a){if(a!==0x0){const {rows:b}=this,{length:c}=b;for(let d=0x0;d<c;d++){b[d]['offset'](a);}}function au(a,b){return _grY(b-0x14c,a);}this[au(0x2cf,0x2cd)](au(0x28a,0x297),{'offset':a});}get[_grY(0xf6,0x123)](){function av(a,b){return _grY(b- -0x115,a);}return this[av(0x4a,0x7f)]*this['rowOffsetHeight'];}get[_grY(0xdd,0xd7)](){function aw(a,b){return _grY(a-0x1fa,b);}return this[aw(0x377,0x338)]*this[aw(0x2eb,0x312)];}[_grY(0x14a,0x149)](a){_grh[ax(0x467,0x42c)](a,ax(0x420,0x44d),!![]);if(a<0xa){a=0xa;}function ax(a,b){return _grY(b-0x346,a);}return a;}[_grY(0x14d,0x102)](a,b){const c=this,{grid:d,fixedRowHeight:e}=c;c['trigger'](ay(0x1da,0x1cb),{'height':a});c['minRowHeight']=a;function ay(a,b){return _grY(a-0x9d,b);}if(e){c[ay(0x1cf,0x1eb)]=a;}if(c[ay(0x18a,0x159)][ay(0x22f,0x1d3)]){const f=d[ay(0x1df,0x1c1)]['y'],g=c[ay(0x189,0x13e)](f,!![]),h=g?g[ay(0x1ff,0x255)]-f:0x0;let i,j;if(e){i=a;j=b;}else{j=i=c[ay(0x1cf,0x1a8)];c['clearKnownHeights']();i*=a/b;}c['calculateRowCount'](![],!![],!![]);c[ay(0x1b2,0x1f2)][ay(0x229,0x27c)](c[ay(0x1b2,0x208)][ay(0x22d,0x26a)]*i,!![]);c[ay(0x187,0x12d)]();const k=f*(i/j);if(k!==f){d['scrollRowIntoView'](g['id'],{...d[ay(0x1be,0x194)],'block':ay(0x232,0x231),'edgeOffset':h});}}c[ay(0x21e,0x1eb)](ay(0x1a4,0x1a0),{'height':a,'oldHeight':b});}get[_grY(0xf1,0x127)](){function az(a,b){return _grY(a-0x475,b);}return Math['floor'](this[az(0x60d,0x5dd)]);}get[_grY(0x198,0x1b6)](){function aA(a,b){return _grY(a- -0xae,b);}return this['averageRowHeight']||this[aA(0xa1,0xfc)];}get[_grY(0x168,0x1ce)](){function aB(a,b){return _grY(a-0x13a,b);}return this[aB(0x212,0x201)]||this[aB(0x289,0x28d)];}get['allHeightsKnown'](){function aC(a,b){return _grY(b- -0x12b,a);}return this[aC(0x54,0x66)]||this[aC(-0x5f,-0x22)]['size']>=this[aC(-0x52,-0x46)];}['storeKnownHeight'](a,b){function aD(a,b){return _grY(a-0x6a,b);}const c=this,{heightMap:d}=c;if(!c[aD(0x1fb,0x1f7)]){if(d['has'](a)){c['totalKnownHeight']-=d[aD(0x1bd,0x210)](a);}d[aD(0x151,0x183)](a,b);c[aD(0x1f2,0x1d0)]+=b;if(b<c[aD(0x142,0xe2)]){c[aD(0x142,0x15c)]=b;}c[aD(0x19c,0x159)]=c[aD(0x1f2,0x1c5)]/d[aD(0x189,0x1d9)];}}[_grY(0x137,0x14e)](a){const b=this;function aE(a,b){return _grY(b- -0x1ea,a);}return a&&b[aE(-0xb3,-0xe1)]['get'](a['id'])||a&&b[aE(-0xbe,-0xe8)][aE(-0xa6,-0xe0)](a)||b[aE(-0xc5,-0xb8)]||b[aE(-0xdd,-0xe3)];}[_grY(0x116,0xea)](a){const b=this;function aF(a,b){return _grY(a-0x34e,b);}if(!b['fixedRowHeight']){const {heightMap:c}=b;a=_grf[aF(0x4d2,0x52e)](a);a[aF(0x4ed,0x52c)](d=>{function aG(a,b){return aF(b-0x29,a);}if(d){if(c[aG(0x449,0x452)](d['id'])){b[aG(0x4d9,0x4ff)]-=c[aG(0x50e,0x4ca)](d['id']);c[aG(0x498,0x4c8)](d['id']);}}});b[aF(0x480,0x4aa)]=b[aF(0x4d6,0x477)]/c['size'];}}[_grY(0x171,0x1a5)](){this[aH(-0x36,-0x6e)][aH(0x25,-0x25)]();function aH(a,b){return _grY(a- -0x13f,b);}this[aH(-0xd,-0x3)]=this[aH(0x49,0x58)]=0x0;}[_grY(0x17a,0x19f)]({record:a,oldValue:b,value:c}){const {heightMap:d}=this;function aI(a,b){return _grY(a-0x3b8,b);}if(!this[aI(0x549,0x5a5)]&&d[aI(0x493,0x4c7)](b)){const f=d[aI(0x50b,0x509)](b);d['delete'](b);d[aI(0x49f,0x4f8)](c,f);}const e=this[aI(0x4df,0x477)][b];if(e){e['id']=c;}}['calculateTop'](a){function aJ(a,b){return _grY(b- -0xb2,a);}if(this[aJ(0x12d,0xdf)]){return a*this['rowOffsetHeight'];}const {storage:b}=this['store'];let c=0x0;for(let d=0x0;d<a;d++){const e=b['getAt'](d);c+=this[aJ(0xe5,0x85)](e);}return Math[aJ(0xe6,0xc0)](c);}[_grY(0x13c,0xf3)](a,b=![],c=![]){function aK(a,b){return _grY(b- -0x134,a);}const d=this,e=d['getRowById'](a);let f=d['client']['_bodyRectangle'];if(!b){f=d[aK(-0x5f,-0x26)]['refreshBodyRectangle']();}if(e){return new _grc(f['x'],b?Math[aK(0x79,0x45)](e[aK(0x1d,0x2e)]):Math[aK(0x14,0x45)](e[aK(-0x11,0x2e)]+f['y']-d[aK(-0x58,-0x26)][aK(0x56,0xe)]['y']),Math['max'](f[aK(0x2b,-0x28)],0x0),e[aK(-0x26,-0x19)]);}const g=d[aK(-0x82,-0x63)]['indexOf'](a);return g!==-0x1?d['getRecordCoordsByIndex'](g,b,c):null;}[_grY(0x144,0x105)](a,b=![],c=![]){const d=this,{topRow:e,bottomRow:f}=d,g=d['client']['_bodyRectangle'],{id:h}=d['store'][aL(-0x1,-0x4b)](a),i=d['preciseRowOffsetHeight'],j=e[aL(0x34,-0x28)],k=f[aL(0x34,-0x29)],l=Math[aL(0x16,-0x2e)](d[aL(-0x53,-0x10)][aL(-0x9,-0x8)](h)??i);function aL(a,b){return _grY(a- -0x15c,b);}let m;if(d[aL(-0x2e,-0x26)]&&!c){const o=d[aL(0x1f,0x81)](a);m=b?o:o+g['y']-d[aL(-0x4e,-0x8b)][aL(-0x1a,-0x44)]['y'];}else{const p=a>k?{'index':a-k-0x1,'y':f[aL(0x22,0x5f)],'from':aL(-0x16,-0x3a)}:a>j/0x2?{'index':a-j,'y':e[aL(0x6,0x24)],'from':'topRow'}:{'index':a,'y':0x0,'from':aL(0x6,0x9)},q=Math['floor'](p['y']+p[aL(-0x83,-0x50)]*i);m=b?p[aL(-0x28,0x12)]===aL(-0x47,-0xb)?q+i-l:q:q+g['y']-d[aL(-0x4e,-0x86)][aL(-0x1a,0x2)]['y'];}const n=new _grc(g['x'],m,g[aL(-0x50,-0x34)],l);n[aL(-0x58,-0x56)]=!![];n[aL(0x29,-0x1a)]=n['bottom']<g['y']?aL(0x39,0x91):n['y']>g[aL(0x22,0x24)]?aL(-0x78,-0x2e):'nearest';return n;}get[_grY(0x11d,0x10c)](){function aM(a,b){return _grY(a-0x8d,b);}return this[aM(0x1bd,0x1d4)];}[_grY(0x19f,0x206)](a){function aN(a,b){return _grY(b-0x235,a);}this['rows'][aN(0x36f,0x3d4)](a);}[Symbol['iterator']](){function aO(a,b){return _grY(a- -0x25b,b);}return this[aO(-0x16e,-0x1be)][Symbol[aO(-0x102,-0x138)]]();}[_grY(0x136,0x17b)](){for(const a of this['rows']){a[aP(-0x39,0xe)]();}this[aP(-0x5b,-0x26)][aP(0x94,0x35)]();function aP(a,b){return _grY(b- -0x128,a);}this[aP(0x8d,0x59)]('positionCells');}[_grY(0x143,0x169)](a,b){function aQ(a,b){return _grY(b- -0x20c,a);}const c=new _grk({'grid':this['grid'],'record':a,'columnId':b});return Boolean(c['cell']&&c[aQ(-0x47,-0x90)][aQ(-0xfc,-0x118)](c));}['returnToTop'](){const a=this;a['topIndex']=0x0;function aR(a,b){return _grY(b-0x3c5,a);}a[aR(0x4e7,0x4cd)]=0x0;if(a[aR(0x4c7,0x4da)]){a[aR(0x4e3,0x4da)]['dataIndex']=0x0;a[aR(0x4c0,0x4da)]['setTop'](0x0,!![]);}a['refresh']();a[aR(0x503,0x4c7)][aR(0x55b,0x507)]['y']=0x0;}['renderFromRecord'](a){const b=this[aS(0x39b,0x350)](a['id']);function aS(a,b){return _grY(b-0x202,a);}if(b){this[aS(0x375,0x33d)](b);}}[_grY(0x13b,0x105)](a=null,b=![]){const c=this,{rows:d,store:e,topIndex:f,topRow:g,storeCount:h}=c;let j=a?d[aT(0x2ea,0x300)](a):0x0;if(c[aT(0x32b,0x367)](![],h<d[aT(0x39a,0x37a)]&&!b,!![])===0x0||j>=d[aT(0x39a,0x3d3)]){c[aT(0x32d,0x33e)](!![]);return;}if(c[aT(0x346,0x311)]<f){c['topRow']['setTop'](c['calculateTop'](c[aT(0x346,0x38e)]),!![]);j=0x0;a=c[aT(0x31d,0x333)];}else if(a&&d[aT(0x2ea,0x2ad)](a)<0x0){a=d[j]||g;}let k=a?a[aT(0x398,0x3ee)]:d[0x0]['dataIndex'];const l=h-k-0x1,m=Math['min'](d[aT(0x39a,0x34e)]-0x1,j+l);let n=d['length']-m-0x1,o=j>0x0?d[j-0x1][aT(0x386,0x334)]:d[j][aT(0x36a,0x386)],p;const q=[];if(j===0x0&&c['topIndex']===0x0)o=0x0;for(let r=j;r<=m;r++){p=d[r];p[aT(0x398,0x3f0)]=k;if(b){q[r]=o;}else{p[aT(0x394,0x350)](o,!![]);}p[aT(0x330,0x34a)](k,e[aT(0x363,0x36b)](k++),![]);o+=p[aT(0x323,0x386)];}if(b){d[j][aT(0x307,0x2f3)][aT(0x2de,0x2e1)]();for(let s=j;s<=m;s++){d[s][aT(0x394,0x34c)](q[s],!![]);}}while(n-->0x0){c[aT(0x32c,0x2d7)]();}function aT(a,b){return _grY(a-0x208,b);}if(c['bottomRow'][aT(0x386,0x34f)]<c[aT(0x35a,0x36c)]+c[aT(0x310,0x2cd)]){c[aT(0x32b,0x33a)]();}c[aT(0x32d,0x2d2)](!![]);c[aT(0x389,0x3b3)]('renderDone');}['renderRows'](a){let b,c=![];a=Array[aU(0x467,0x498)](a);function aU(a,b){return _grY(b-0x364,a);}a[aU(0x4e3,0x4f1)]((d,e)=>d[aU(0x548,0x4f4)]-e[aU(0x54b,0x4f4)]);for(const d of a){b=d['height'];d[aU(0x4f0,0x48c)](null,null,![]);c|=d[aU(0x470,0x461)]!==b;}if(c){this[aU(0x516,0x4b0)](a[0x0]);}this[aU(0x4e2,0x4e5)]('renderDone');}['bufferedTranslateFromRow'](){function aV(a,b){return _grY(a-0x4ff,b);}this[aV(0x64b,0x634)](this[aV(0x614,0x5d3)]);}[_grY(0x14c,0x183)](a,b=![]){const c=this;let d=a[aW(0x187,0x1e7)],e,f;for(f=a['dataIndex']+0x1,e=c[aW(0x149,0x19e)](f);e;e=c[aW(0x1da,0x19e)](++f)){d=e[aW(0x197,0x16f)](d);}function aW(a,b){return _grY(b-0x69,a);}if(!b){c[aW(0x170,0x18e)](!![]);}}['refresh'](a=![]){const b=this,{topRow:c}=b;if(!c&&!a||b['grid'][aX(0x4eb,0x4e1)]){return;}function aX(a,b){return _grY(a-0x3d2,b);}b[aX(0x4f9,0x4d4)]={};b[aX(0x50d,0x4f6)](c);b['trigger']('refresh');}[_grY(0xdc,0xb9)](a,b){const c=this,{store:d,heightMap:e,storeCount:f}=c;if(c[aY(0x55b,0x502)]&&!c[aY(0x501,0x565)]){const g=a-c[aY(0x524,0x4ca)],h=0x0;let i=0x0,j=0x0;while(i<g){const l=d['records'][j];i+=e[aY(0x52c,0x527)](l['id'])+h;j++;}const k=Math['max'](Math[aY(0x54b,0x548)](j,f-c[aY(0x4df,0x4d7)]),0x0);c[aY(0x4c0,0x4dc)]=a;c[aY(0x539,0x4e9)][aY(0x52b,0x564)]=c[aY(0x4bd,0x512)]=k;c['topRow'][aY(0x552,0x560)](c[aY(0x571,0x54f)](k),![]);c[aY(0x4dd,0x4be)]();}else{const m=c[aY(0x531,0x56c)],n=b==null?Math[aY(0x518,0x546)](a/m)-c[aY(0x53d,0x568)]:b-Math['floor'](c[aY(0x53e,0x4d7)]/0x2),o=Math[aY(0x546,0x534)](Math[aY(0x518,0x548)](n,f-c[aY(0x4bf,0x4d7)]),0x0),p=c[aY(0x481,0x4e2)][aY(0x53f,0x516)]['y'],q=Math['min'](c['client'][aY(0x4ac,0x4fa)][aY(0x481,0x4d1)]+p+c[aY(0x4a6,0x4b1)],c[aY(0x4fc,0x4f1)]);c['lastScrollTop']=a;c[aY(0x486,0x4e9)]['dataIndex']=c[aY(0x53f,0x512)]=o;c[aY(0x485,0x4e9)][aY(0x53d,0x560)](Math[aY(0x56d,0x546)](o*m),![]);c['refresh']();if(c[aY(0x52d,0x51a)][aY(0x538,0x552)]<q){c[aY(0x518,0x4f7)](![],![],![]);while(c[aY(0x55d,0x51a)][aY(0x540,0x552)]<q&&c[aY(0x4fc,0x4e1)][c['prependRowBuffer']][aY(0x558,0x536)]<p&&c['bottomRow'][aY(0x50d,0x564)]<f-0x1){c['displayRecordAtBottom']();}}c[aY(0x4b7,0x4f9)]();}function aY(a,b){return _grY(b-0x3d4,a);}if(b!=null){const {scrollable:r}=c['grid'],s=c[aY(0x53c,0x509)](b),t=s&&_grc['from'](s['_elementsArray'][0x0])[aY(0x577,0x567)]['y'],u=r[aY(0x4d3,0x4c7)][aY(0x59e,0x567)]['y'];if(s){r['y']=a=Math[aY(0x59b,0x546)](r['y']+(t-u));}}return a;}[_grY(0x19a,0x1f9)](a){const b=this,c={'newScrollTop':a,'deltaTop':a-b[aZ(0x2b9,0x290)]};function aZ(a,b){return _grY(b-0x188,a);}if(Math[aZ(0x2c6,0x2b3)](c['deltaTop'])>b['rowCount']*b[aZ(0x234,0x279)]*0x3){let d;if(b[aZ(0x27b,0x2c0)]){d=b['store'][aZ(0x247,0x26a)](b['scrollTargetRecordId']);}b[aZ(0x2e8,0x28a)]['onFocusedRowDerender']();c['newScrollTop']=b['jumpToPosition'](a,d);c[aZ(0x246,0x26b)]=0x0;}return c;}['updateRenderedRows'](a,b,c=![]){const d=this;function b0(a,b){return _grY(b- -0x12,a);}if(d[b0(0x9f,0xf1)]===0x0){return 0x0;}let e=d[b0(0x143,0x10b)];if(b||Math[b0(0xe9,0x119)](a-d['lastScrollTop'])>=d[b0(0xac,0xdf)]||d[b0(0x126,0x103)][b0(0x1b2,0x150)]>a||d[b0(0x117,0x134)]['bottom']<a+d[b0(0x1a6,0x140)]){const f=d['warpIfNeeded'](a);d[b0(0x15a,0x126)]=null;d[b0(0x105,0xf6)]=f[b0(0x99,0xd7)];if(f[b0(0x74,0xd1)]>0x0){d['fillBelow'](f[b0(0x11c,0xd7)]);}else if(f[b0(0xce,0xd1)]<0x0){d[b0(0x158,0x128)](f['newScrollTop']);}if(!d['fixedRowHeight']&&!c){d[b0(0x118,0xe7)](f,a);}e=d[b0(0x103,0x113)]();}return e;}['correctError'](a,b){const c=this;let d=0x0;function b1(a,b){return _grY(b-0xa,a);}if(c[b1(0x143,0x138)]){d=c[b1(0x13b,0x11f)][b1(0x1cc,0x16c)]-c[b1(0x14f,0x185)](c[b1(0x16c,0x11f)][b1(0x175,0x19a)]);}else if(a[b1(0x99,0xed)]<0x0&&b<c[b1(0x10f,0x15c)]*0x2||a[b1(0xc5,0xed)]>0x0&&b>c[b1(0x106,0x127)]-c[b1(0x19a,0x15c)]*0x2-0x3){d=c['topRow']['top']-c[b1(0x1a2,0x185)](c[b1(0x147,0x11f)]['dataIndex']);}if(d){c[b1(0x120,0x155)](-d);c['grid']['scrollable']['y']=c[b1(0x145,0x112)]=c['grid']['scrollable']['y']-d;}}['fillAbove'](a){const b=this,{rows:c}=b,d=Math[b2(0x214,0x1c1)](b[b2(0x1c2,0x1e1)],c[b2(0x1d8,0x1df)]-0x1);function b2(a,b){return _grY(b-0x4d,a);}while(c[d]['top']>a&&b[b2(0x1de,0x18b)]>0x0){b['displayRecordAtTop']();}b[b2(0x172,0x1ce)](b2(0x15d,0x124));}['fillBelow'](a){const b=this,{rows:c,storeCount:d}=b,{length:e}=c,f=Math[b3(0x33e,0x313)](e-Math['min'](b[b3(0x347,0x305)],e-0x1),e-0x1),g=a+b[b3(0x31c,0x2f9)];while(c[f][b3(0x32c,0x32c)]<g&&b[b3(0x310,0x300)]['dataIndex']<d-0x1){b[b3(0x2e8,0x2e5)]();}function b3(a,b){return _grY(a-0x1ca,b);}b[b3(0x34b,0x369)](b3(0x2a1,0x254));}[_grY(0x125,0xbe)](a=![]){function b4(a,b){return _grY(a-0x38f,b);}const b=this;if(b[b4(0x491,0x44d)]['renderingRows']){return;}const {bottomRow:c,storeCount:d}=b,e=d-b[b4(0x498,0x49e)][b4(0x4ae,0x455)];let f;if(b[b4(0x520,0x4f2)]){f=d*b[b4(0x480,0x4e2)];}else{f=b['totalKnownHeight']+e*b[b4(0x527,0x558)];if(c&&e){const g=c[b4(0x50d,0x4ad)];if(g>f||b[b4(0x4cd,0x4b0)]+b[b4(0x492,0x4a1)]>=d&&f>g&&g>0x0){f=g;if(c['dataIndex']<d-0x1){f+=(d-0x1-c[b4(0x51f,0x4d8)])*b[b4(0x527,0x4d9)];}}}f=Math[b4(0x501,0x4db)](f);}if(f!==b[b4(0x4ac,0x4b9)]){if(b[b4(0x510,0x573)](b4(0x4f5,0x495),{'totalHeight':f,'immediate':a})!==![]){b[b4(0x4bf,0x517)]=f;}}return f;}['displayRecordAtTop'](){var a;const b=this,{grid:c}=b,d=b['topIndex']-0x1,e=b['store'][b5(0x5b9,0x57d)](d),f=b['bottomRow'],g=f[b5(0x5e2,0x584)];b[b5(0x5c2,0x5a3)](b5(0x547,0x53a),{'row':f,'newRecord':e});if(f[b5(0x618,0x5b2)]===((a=c[b5(0x5f7,0x5c0)])===null||a===void 0x0?void 0x0:a['rowIndex'])){c[b5(0x513,0x561)]();}f[b5(0x5ea,0x58f)]=b[b5(0x510,0x537)][b5(0x569,0x584)]-b[b5(0x53c,0x559)](e);f[b5(0x54e,0x589)]=!b[b5(0x5a7,0x5b3)];f[b5(0x5b1,0x5b2)]=d;f['render'](d,e,![]);f['_top']=g;f[b5(0x593,0x598)](b[b5(0x52e,0x537)]['top']);f[b5(0x5e3,0x589)]=![];b[b5(0x534,0x560)]--;function b5(a,b){return _grY(b-0x422,a);}b[b5(0x579,0x52f)][b5(0x5bb,0x577)](b[b5(0x543,0x52f)]['pop']());b['fixIndices']();return f[b5(0x563,0x53d)];}[_grY(0x11e,0xdc)](){var a;const b=this,{grid:c}=b,d=b[b6(-0x9f,-0x6e)]+b['rowCount'],e=b[b6(-0x10c,-0x10c)]['getAt'](d),f=b[b6(-0xc8,-0xde)];b[b6(-0x5c,-0xbe)](b6(-0xc5,-0x67),{'row':f,'newRecord':e});if(f[b6(-0x4d,-0x50)]===((a=c[b6(-0x3f,-0x45)])===null||a===void 0x0?void 0x0:a[b6(-0xf2,-0xaa)])){c[b6(-0x9e,-0x86)]();}f[b6(-0x4d,-0x2)]=d;f[b6(-0x51,0x5)](b[b6(-0x97,-0x46)][b6(-0x5f,-0x16)]);function b6(a,b){return _grY(a- -0x1dd,b);}f['render'](d,e,![]);b[b6(-0x9f,-0xe4)]++;b[b6(-0xd0,-0xfd)]['push'](b['_rows'][b6(-0x71,-0x3b)]());b[b6(-0xdf,-0xd7)]();return f[b6(-0xc2,-0x9d)];}['fixIndices'](){for(let a=0x0,{rows:b}=this,{length:c}=b;a<c;a++){b[a]['index']=a;}}}RowManager['featureClass']='';
|
|
1
|
+
(function(a,b){function W(a,b){return _grb(a-0x2cb,b);}const c=a();while(!![]){try{const d=parseInt(W(0x409,0x434))/0x1*(parseInt(W(0x3d5,0x3a2))/0x2)+parseInt(W(0x424,0x3e3))/0x3+-parseInt(W(0x404,0x450))/0x4+parseInt(W(0x44b,0x419))/0x5+parseInt(W(0x44a,0x49d))/0x6*(-parseInt(W(0x421,0x473))/0x7)+-parseInt(W(0x407,0x424))/0x8+parseInt(W(0x43c,0x45e))/0x9;if(d===b){break;}else{c['push'](c['shift']());}}catch(e){c['push'](c['shift']());}}}(_gra,0x4d424));import _grc from'@bryntum/core-thin/lib/helper/util/Rectangle.js';import _grd from'@bryntum/core-thin/lib/mixin/InstancePlugin.js';import _gre from'./Row.js';import _grf from'@bryntum/core-thin/lib/helper/ArrayHelper.js';function _grb(a,b){const c=_gra();_grb=function(d,e){d=d-0xcf;let f=c[d];return f;};return _grb(a,b);}function _grY(a,b){return _grb(a- -0x170,b);}import _grg from'@bryntum/core-thin/lib/helper/DomHelper.js';import _grh from'@bryntum/core-thin/lib/helper/ObjectHelper.js';import _gri from'@bryntum/core-thin/lib/helper/VersionHelper.js';import _grj from'@bryntum/core-thin/lib/mixin/Delayable.js';function _gra(){const b7=['2248BgFHYd','viewport','unshift','properties','add','pop','new','rowOffsetHeight','renderRows','top','slice','client','viewHeight','getRowHeight','getRowFor','featureClass','totalCount','overflowingVertically','removeRows','bufferedTranslateFromRow','calculateRowCount','round','initWithHeight','storeCount','rows','raf','style','find','fixIndices','offsetHeight','bodyContainer','rowIndex','max','getActiveElement','_totalHeight','zIndex','refreshCell','reinitialize','columnIndex','getOffsetHeight','classList','forEach','getRecordCoordsByIndex','length','fixedRowHeight','appendRowBuffer','getRecordCoords','1256204xMNJhR','bottom','chunkSize','2530288wndhJY','focus','104BYCkVH','insert','get','nodeAnimationCleanup','floor','getRowById','sort','count','ceil','renderCell','clientHeight','cell','_rows','minRowHeight','.b-grid-cell','scrollTop','store','deltaTop','translate','estimatedTop','pluginConfig','firstVisibleRow','scrollable','offsetRows','7gDXMXG','scrollTargetRecordId','isGroupHeader','1416825IZZePg','refreshSuspended','removeCls','offset','prependRowBuffer','fillBelow','isModel','prependBufferHeight','closest','b-adding','delete','lastVisibleRow','mixin','b-splicing-rows','visibleRowCount','positionCells','getBoundingClientRect','newScrollTop','clearKnownHeights','lastFullyVisibleRow','-remove','getRowAt','roundPx','start','3242304RXZIJU','estimateTotalHeight','dataIndex','setBottom','getRow','set','map','clear','inserting','has','toggleEmptyText','renderFromRecord','\x20b-adding','delayable','165210IeuFco','124485AVlTTB','_rowManager','-add','push','averageRowHeight','remove','idMap','preciseRowOffsetHeight','apply','_top','cells','totalKnownHeight','autoHeight','displayRecordAtBottom','totalHeight','doDestroy','changeTotalHeight','firstFullyVisibleRow','getRowFromElement','focusedCell','from','b-splicing-rows-','destroy','defaultScrollOptions','jumpToPosition','rowCount','addCls','topIndex','calculateTop','translateFromRow','min','abs','render','splice','center','onRecordIdChange','displayRecordAtTop','scrollHeight','refresh','minRowOffsetHeight','b-removing','rowHeight','beforeAnimatedRowRemoval','some','renderFromRow','bottomRow','b-repositioning','lastScrollTop','fillAbove','allHeightsKnown','updateRowHeight','cloneNode','refreshDetails','grid','afterPositionCells','scrollRowIntoView','renderDone','call','size','setPosition','setTop','columns','beforeTranslateRow','ensureRowVisibility','addRows','warpIfNeeded','width','beforeRowHeight','isDestroyed','matchRowCount','executeAndAwaitAnimations','returnToTop','onFocusedRowDerender','nearest','index','invalidateKnownHeight','.b-grid-row','asArray','trigger','_bodyRectangle','heightMap','indexOf','topRow','findLast','element','getAt'];_gra=function(){return b7;};return _gra();}import _grk from'../util/GridLocation.js';const cloneRowEl=a=>{const b=a['parentElement'],c=a[X(-0x25c,-0x24c)](!![]);function X(a,b){return _grb(a- -0x343,b);}c[X(-0x211,-0x1ce)][X(-0x235,-0x26c)](X(-0x267,-0x2ad));b['insertBefore'](c,a);return c;};export default class RowManager extends _grd[_grY(-0xb,-0x6f)](_grj){static get[_grY(-0x1e,-0x6)](){function Z(a,b){return _grY(b-0x16,a);}return{'after':['destroy'],'assign':['topRow','bottomRow',Z(0x57,-0x7),Z(-0x1e,0xa),Z(0x4f,0x37),Z(0x42,0x12),Z(-0x45,-0x17),'getRecordCoords',Z(0x4,0x1b),Z(0x19,-0x42),Z(-0x8,0x38)]};}static ['configurable']={'rowClass':_gre,'prependRowBuffer':0x5,'appendRowBuffer':0x5,'rowHeight':null,'fixedRowHeight':null,'autoHeight':![]};static get[_grY(-0x63,-0xb2)](){return{'idMap':{},'topIndex':0x0,'lastScrollTop':0x0,'_rows':[],'heightMap':new Map(),'totalKnownHeight':0x0,'_totalHeight':0x0,'averageRowHeight':0x0,'scrollTargetRecordId':null,'refreshDetails':{'topRowIndex':0x0,'topRowTop':0x0}};}static [_grY(0xe,0x9)]={'bufferedTranslateFromRow':_grY(-0x4d,-0x70)};['construct'](a){function a0(a,b){return _grY(a-0x9e,b);}a[a0(0x17,0x38)][a0(0xaf,0x10f)]=this;super['construct'](a[a0(0x17,-0x3)],a);}['doDestroy'](){function a1(a,b){return _grY(b-0x1e5,a);}this['removeAllRows']();super[a1(0x265,0x204)]();}[_grY(-0x50,-0x94)](a,b=![]){const c=this;if(c[a2(-0x19f,-0x19f)]){a=c[a2(-0x1dd,-0x1ed)]['count']*c[a2(-0x1a4,-0x141)];}c[a2(-0x215,-0x1d3)]=a;function a2(a,b){return _grY(a- -0x1bb,b);}c[a2(-0x20d,-0x233)](b);return a;}[_grY(-0x41,-0xc)](a=![]){const b=this,c={};b[a3(0x352,0x3b7)](![],!![],!![]);function a3(a,b){return _grY(b-0x409,a);}if(a){b[a3(0x3cb,0x368)]=b[a3(0x395,0x37c)]=0x0;}if(b[a3(0x30c,0x368)]+b[a3(0x428,0x432)]-0x1>b[a3(0x3ef,0x3ba)]){b[a3(0x37b,0x368)]=Math[a3(0x3fd,0x3c3)](0x0,b['storeCount']-b['rowCount']);}b[a3(0x3ba,0x3f0)]=null;const {topRow:d}=b;if(d){d['dataIndex']=b[a3(0x364,0x368)];d['setTop'](b['calculateTop'](b['topIndex']),!![]);}b['estimateTotalHeight']();b[a3(0x3ac,0x379)](d);if(b[a3(0x3ac,0x39f)]){b[a3(0x391,0x38c)](c);}return c;}['ensureRowVisibility'](a){function a4(a,b){return _grY(a-0x4a2,b);}const b=this,{topRow:c,bottomRow:d}=b,{scrollable:e}=b[a4(0x41b,0x412)];if(c[a4(0x445,0x488)]>b[a4(0x492,0x4d9)]&&c[a4(0x445,0x3e5)]>e['y']||d['bottom']<e[a4(0x40b,0x459)]-b['appendBufferHeight']&&d[a4(0x46c,0x43f)]<e['y']+e['clientHeight']){a[a4(0x47f,0x428)]=c['top']+b[a4(0x492,0x4a3)];}}[_grY(-0x77,-0x49)](a=![]){const b=this,{rows:c,grid:d,rowClass:e}=b,f=c[a5(0x21b,0x278)],g=f-b[a5(0x281,0x2dc)];function a5(a,b){return _grY(b-0x2b3,a);}if(g){if(g<0x0){const i=[];for(let j=f,k=f?c[f-0x1]['dataIndex']+0x1:0x0;j<b[a5(0x281,0x2dc)];j++,k++){i[a5(0x2c6,0x2c6)](e[a5(0x2b7,0x253)]({'cls':d['rowCls'],'rowManager':b,'grid':d,'index':j,'dataIndex':k}));}c[a5(0x2e0,0x2c6)][a5(0x329,0x2cb)](c,i);b[a5(0x2a3,0x245)](a5(0x23f,0x237),{'rows':i});b[a5(0x2c0,0x2ab)]();if(!a){b[a5(0x275,0x223)](c[Math[a5(0x244,0x26d)](0x0,f-0x1)]);}}else{var h;const l=(h=_grg[a5(0x209,0x26e)](d))===null||h===void 0x0?void 0x0:h['closest'](a5(0x298,0x28f)),m=c[a5(0x212,0x218)](f-g,g);if(f!==g&&m[a5(0x1f7,0x222)](n=>n[a5(0x311,0x2cd)]['includes'](l))){c[c['length']-0x1][a5(0x321,0x2cd)][d[a5(0x338,0x2d6)][a5(0x281,0x273)]][a5(0x2e2,0x280)]();}b[a5(0x2ab,0x245)](a5(0x22c,0x25f),{'rows':m});m['forEach'](n=>n[a5(0x2a5,0x2d9)]());!a&&c[a5(0x27a,0x278)]&&b['fillBelow'](b['lastScrollTop']);}}}['calculateRowCount'](a=![],b=!![],c=![]){var d;const e=this,{storeCount:f}=e,g=Math[a6(-0x1fe,-0x1bc)](e[a6(-0x1a4,-0x1ec)]/e[a6(-0x275,-0x227)]),h=g+e[a6(-0x142,-0x1a5)]+e[a6(-0x1ee,-0x1cb)];function a6(a,b){return _grY(b- -0x192,a);}if(!((d=e[a6(-0x20d,-0x219)][a6(-0x1cf,-0x211)])!==null&&d!==void 0x0&&d['count'])||isNaN(g)){e['rowCount']=0x0;return 0x0;}if(h<e[a6(-0x1ae,-0x169)]&&!b){return e[a6(-0x13c,-0x169)];}e[a6(-0x1b0,-0x19b)]=g;e[a6(-0x154,-0x169)]=Math[a6(-0x25f,-0x230)](f,h);if(!a){if(e['rows']&&e['rowCount']!==e['rows']['length']){var i;e[a6(-0x1d4,-0x209)](c);if(((i=e[a6(-0x278,-0x221)])===null||i===void 0x0?void 0x0:i[a6(-0x14e,-0x18f)])>=f&&e[a6(-0x1a2,-0x1fc)][a6(-0x135,-0x18f)]!==0x0){const j=e['bottomRow']['dataIndex']-f+0x1;for(const k of e[a6(-0x239,-0x1e0)]){k[a6(-0x1bb,-0x18f)]-=j;}e[a6(-0x1ee,-0x233)]-=j;}}else if(!e[a6(-0x167,-0x169)]){e[a6(-0x21d,-0x200)](a6(-0x17f,-0x172),{'totalHeight':e[a6(-0x1c0,-0x174)]});}e[a6(-0x22e,-0x219)][a6(-0x146,-0x187)]();}return e[a6(-0x188,-0x169)];}async[_grY(-0x31,-0x26)](a,b,c){var d,e,f,g;(d=this[a7(0x15e,0x197)])===null||d===void 0x0||d[a7(0x10a,0xf8)](this);const h=this,{rows:i,rowCount:j,rowClass:k,grid:l}=h,{element:m}=l,{rowCls:n}=l,o=((e=i[a-0x1])===null||e===void 0x0?void 0x0:e[a7(0x190,0x15f)])+0x1||0x0,p=[],q=(((f=h[a7(0x181,0x148)])===null||f===void 0x0?void 0x0:f[a7(0x11b,0x11e)])??0x0)+0x1-a;h[a7(0x196,0x1a9)]=c;let r;function a7(a,b){return _grY(a-0x18d,b);}await l[a7(0x117,0x101)](m,()=>{let s=null,t=0x0;if(b<0x0){var u;b=Math['abs'](b);h['inserting']+=a8(0x15e,0xff);const z=o>=l['store'][a8(0x86,0xd7)]?b:Math[a8(0x8c,0x64)](b,q),A=i[a8(0x99,0xa6)](a,a+z),B=z>0x0?A[A[a8(0xcd,0xc7)]-0x1]['bottom']-A[0x0][a8(0x4e,0xa5)]:0x0,C=[],D=[],E=[];s=A[a8(0x117,0x109)](F=>F['id']);t=B;for(let F=0x0,{length:G}=A;F<G;F++){const H=A[F],I=H['_elementsArray'][a8(0xfd,0x109)](cloneRowEl),J=k[a8(0xb9,0xa2)]({'rowManager':h,'_elementsArray':I,'_top':H['top'],'grid':l});if(H[a8(0x139,0xea)]){I[a8(0x89,0xc5)](K=>{function a9(a,b){return a8(a,b-0xc5);}K[a9(0x1b6,0x17b)][a9(0x14a,0x184)]='-1';});}D['push'](J);C['push'](...I);}for(let K=a;K<j;K++){E['push'](i[K]);i[K][a8(0x138,0x12c)](a8(0x75,0x74));i[K][a8(0x55,0x82)](i[K][a8(0xab,0xa5)]+B);}r=i['length']>l[a8(0x13a,0xe0)][a8(0xc9,0xd7)];(u=C[0x0])===null||u===void 0x0||u[a8(0x14b,0xfb)]();l[a8(0xd8,0x12c)](a8(0xd6,0xf8),a8(0x176,0x127)+c);for(let L=0x0,{length:M}=A;L<M;L++){var v;D[L][a8(0x4e,0x82)](((v=i[a-0x2])===null||v===void 0x0?void 0x0:v['bottom'])||0x0,!![]);}h[a8(0x121,0xd3)]=()=>{function aa(a,b){return a8(a,b- -0x185);}if(!h['isDestroyed']){h[aa(-0x5c,-0xb2)]=null;l[aa(-0xa6,-0x98)](aa(-0x6e,-0x8d),aa(-0x5a,-0x5e)+c);C[aa(-0xe0,-0xc0)](N=>N[aa(-0x32,-0x6e)]());E[aa(-0x90,-0xc0)](N=>{function ab(a,b){return aa(a,b-0x16f);}var O;return(O=N[ab(0x91,0xd7)])===null||O===void 0x0?void 0x0:O[ab(0xcb,0x69)](N,'b-repositioning');});}};}else if(b>0x0){var w,x,y;const N=[],O=a-(c==='expand'?0x2:0x1),P=((w=i[O])===null||w===void 0x0?void 0x0:w['top'])||0x0;h[a8(0x164,0x10b)]+=a8(0xe2,0x114);b=l[a8(0x5a,0xad)]?Math['min'](b,(((x=h[a8(0x128,0xf6)])===null||x===void 0x0?void 0x0:x[a8(0xa6,0x90)])??0x0)+0x1-a):Math['min'](b,Math[a8(0x106,0xd8)]((l[a8(0xac,0xe6)][a8(0x120,0xda)]-(((y=i[a-0x1])===null||y===void 0x0?void 0x0:y[a8(0xea,0xcc)])||0x0))/h[a8(0x9c,0x6f)]));let Q=a,R=o;for(let S=0x0;S<b;S++,Q++,R++){p[a8(0xf6,0x115)](k[a8(0xf9,0xa2)]({'cls':n+a8(0x169,0x10f),'rowManager':h,'_top':P,'grid':l,'index':Q,'dataIndex':R}));}t=b*h[a8(0xdb,0xa3)];for(let T=a;T<h[a8(0x111,0x12b)];T++,Q++,R++){N['push'](i[T]);i[T]['addCls'](a8(0x79,0x74));i[T][a8(0xa2,0x90)]=Q;i[T]['dataIndex']=R;}r=p[a8(0x95,0xc7)];h[a8(0xe4,0xd3)]=()=>{function ac(a,b){return a8(b,a- -0x16f);}if(!h[ac(-0xe5,-0x9d)]){h['nodeAnimationCleanup']=null;l['removeCls']('b-splicing-rows',ac(-0x48,-0xa0)+c);p[ac(-0xaa,-0x61)](U=>!U['isDestroyed']&&U['removeCls'](ac(-0x7b,-0xe1)));N[ac(-0xaa,-0x5a)](U=>{var V;function ad(a,b){return ac(a-0x39a,b);}return(V=U[ad(0x318,0x361)])===null||V===void 0x0?void 0x0:V[ad(0x2aa,0x277)](U,ad(0x29f,0x29a));});}};i[a8(0xbe,0x67)](a,0x0,...p);if(b>0x0){h['rowCount']+=b;h['trigger'](a8(0x83,0x86),{'rows':p});}l['addCls'](a8(0xd0,0xf8),a8(0x14a,0x127)+c);}l[a8(0x36,0x70)](s,t);function a8(a,b){return a7(b- -0x8b,a);}h[a8(0x13b,0xfa)]();h[a8(0x97,0x72)](i[a],!![]);l['afterAnimatedRowRemoval'](s,t);});if(h[a7(0x115,0x125)]){return;}(g=h[a7(0x15e,0x115)])===null||g===void 0x0||g[a7(0x10a,0x14b)](h);if(r){h[a7(0x13b,0x175)](![],!![],!![]);}h[a7(0x18f,0x181)]();h[a7(0x196,0x1b8)]=null;return p;}['removeAllRows'](){const a=this,{topRow:b}=a,c=b?a[ae(-0x13d,-0x135)]={'topRowIndex':b[ae(-0x61,-0xaa)],'topRowTop':b['top']}:a['refreshDetails'],d=a[ae(-0x153,-0xfb)]['slice']();a[ae(-0x14b,-0x11b)](ae(-0x12c,-0x101),{'rows':d});function ae(a,b){return _grY(b- -0xad,a);}a[ae(-0x149,-0xfb)][ae(-0xb9,-0xea)](e=>e[ae(-0x86,-0x87)]());a['rows']['length']=0x0;a[ae(-0xf6,-0x97)]={};return c;}[_grY(-0x81,-0x28)](a){const {topRow:b}=this,{topRowIndex:c,topRowTop:d}=a;function af(a,b){return _grY(a- -0x143,b);}if(b){b['setTop'](d);b[af(-0x140,-0x192)]=c;}}get[_grY(-0x22,-0x36)](){function ag(a,b){return _grY(a-0x404,b);}return this[ag(0x3a9,0x3f0)]['store'];}get[_grY(-0x4f,-0x59)](){function ah(a,b){return _grY(a- -0x123,b);}let {count:a,lazyLoad:b}=this[ah(-0x145,-0x14a)];if(a&&b&&b[ah(-0x179,-0x12b)]==null){a+=b[ah(-0x158,-0x11f)];}return a;}get[_grY(-0x4e,-0x32)](){return this['_rows'];}[_grY(0x5,-0x56)](a){function ai(a,b){return _grY(a-0x40a,b);}if(this[ai(0x433,0x3ec)]){return this['rows'][a-this['topIndex']];}}[_grY(-0x2d,0x25)](a){function aj(a,b){return _grY(a-0x42d,b);}if(a&&a[aj(0x41c,0x3df)]){a=a['id'];}return this[aj(0x443,0x3ee)][a];}[_grY(0x22,-0x5)](a){a=a[ak(-0x99,-0xc7)](ak(-0xfa,-0x127));function ak(a,b){return _grY(a- -0x8a,b);}return a&&this[ak(-0x85,-0xb7)](a['dataset'][ak(-0xfc,-0xf2)]);}[_grY(-0x2,-0x57)](a,b=![]){if(!b){a-=_grc[al(-0x2d,0x6)](this['grid'][al(-0x99,-0xc3)],null,!![])[al(-0x52,-0xad)](0x1)['top'];a+=this[al(-0xd8,-0x118)][al(-0x6d,-0x11)]['y'];}function al(a,b){return _grY(a- -0x51,b);}a=_grg[al(-0x52,-0x91)](a);return this[al(-0x9f,-0xbf)][al(-0x9c,-0x57)](c=>a>=c[al(-0xae,-0xf3)]&&a<c[al(-0x87,-0xd2)]);}[_grY(-0x58,-0x12)](a){if(a instanceof HTMLElement){return this[am(0x2e1,0x2e5)](a);}function am(a,b){return _grY(b-0x2c3,a);}return this['getRowById'](a);}['getNextRow'](a){function an(a,b){return _grY(a- -0x96,b);}const b=typeof a==='number'?a:a[an(-0x108,-0x12a)];return this[an(-0x91,-0xd6)]((b+0x1)%this[an(-0x6d,-0x86)]);}get[_grY(-0x6a,-0xc4)](){function ao(a,b){return _grY(b-0x119,a);}return this[ao(0xc6,0xcb)][0x0];}get[_grY(-0x8f,-0x38)](){const a=Math['min'](this[ap(0x539,0x4e3)],this['storeCount']);function ap(a,b){return _grY(b-0x4ba,a);}return this[ap(0x43f,0x46c)][a-0x1];}get['firstVisibleRow'](){const a=Math[aq(-0xeb,-0x10c)](this[aq(-0x178,-0x169)][aq(-0x10f,-0xfe)]['y']);function aq(a,b){return _grY(b- -0xe2,a);}return this[aq(-0x10f,-0x130)][aq(-0x187,-0x12d)](b=>b[aq(-0xd6,-0x118)]>a);}get[_grY(0x21,-0x28)](){const a=Math[ar(-0x298,-0x284)](this['grid'][ar(-0x2aa,-0x276)]['y']);function ar(a,b){return _grY(b- -0x25a,a);}return this[ar(-0x297,-0x2a8)][ar(-0x29e,-0x2a5)](b=>b[ar(-0x255,-0x2b7)]>=a)||this[ar(-0x249,-0x2a8)][ar(-0x26b,-0x2a5)](b=>b[ar(-0x295,-0x2b7)]<a&&b['bottom']>a);}get[_grY(-0xc,-0x50)](){const {grid:a}=this;function as(a,b){return _grY(b-0x1d7,a);}return _grf[as(0x16d,0x16e)](this[as(0x1db,0x189)],b=>b[as(0x136,0x17a)]<a['scrollable']['y']+a['bodyHeight']);}get[_grY(-0x4,0x61)](){function at(a,b){return _grY(a-0x457,b);}const {grid:a}=this;return _grf['findLast'](this[at(0x409,0x3a5)],b=>b[at(0x421,0x3ca)]<a['scrollable']['y']+a['bodyHeight']);}[_grY(-0x1b,-0x8)](a){if(a!==0x0){const {rows:b}=this,{length:c}=b;for(let d=0x0;d<c;d++){b[d][au(0xfe,0x123)](a);}}function au(a,b){return _grY(a-0x112,b);}this[au(0xa4,0xde)](au(0xf7,0xaa),{'offset':a});}get[_grY(-0x10,0x7)](){function av(a,b){return _grY(b-0xbf,a);}return this['prependRowBuffer']*this[av(0x23,0x60)];}get['appendBufferHeight'](){function aw(a,b){return _grY(b-0x132,a);}return this[aw(0x114,0xf9)]*this[aw(0xa1,0xd3)];}['changeRowHeight'](a){_grh['assertNumber'](a,ax(0x30,0x13),!![]);function ax(a,b){return _grY(a-0xc3,b);}if(a<0xa){a=0xa;}return a;}[_grY(-0x8a,-0x78)](a,b){const c=this,{grid:d,fixedRowHeight:e}=c;c[ay(-0x21e,-0x1ff)](ay(-0x229,-0x241),{'height':a});c['minRowHeight']=a;if(e){c['averageRowHeight']=a;}function ay(a,b){return _grY(a- -0x1b0,b);}if(c['rows'][ay(-0x1eb,-0x1e1)]){const f=d[ay(-0x1cc,-0x1e1)]['y'],g=c['getRowAt'](f,!![]),h=g?g[ay(-0x20d,-0x1d6)]-f:0x0;let i,j;if(e){i=a;j=b;}else{j=i=c['averageRowHeight'];c[ay(-0x1b5,-0x15f)]();i*=a/b;}c['calculateRowCount'](![],!![],!![]);c[ay(-0x21a,-0x24c)][ay(-0x230,-0x1ff)](c[ay(-0x21a,-0x260)][ay(-0x1ad,-0x19a)]*i,!![]);c[ay(-0x246,-0x1e6)]();const k=f*(i/j);if(k!==f){d[ay(-0x235,-0x29a)](g['id'],{...d[ay(-0x189,-0x1b7)],'block':ay(-0x1b0,-0x159),'edgeOffset':h});}}c['trigger']('rowHeight',{'height':a,'oldHeight':b});}get['rowOffsetHeight'](){function az(a,b){return _grY(a-0x47,b);}return Math[az(0x19,0x6)](this['preciseRowOffsetHeight']);}get['preciseRowOffsetHeight'](){function aA(a,b){return _grY(b- -0x1db,a);}return this[aA(-0x228,-0x1c7)]||this['_rowHeight'];}get[_grY(-0x95,-0xa9)](){return this['minRowHeight']||this['_rowHeight'];}get['allHeightsKnown'](){function aB(a,b){return _grY(b-0x189,a);}return this[aB(0xf9,0x14f)]||this[aB(0x120,0x11d)][aB(0x155,0x107)]>=this[aB(0x162,0x13a)];}['storeKnownHeight'](a,b){function aC(a,b){return _grY(a-0x13b,b);}const c=this,{heightMap:d}=c;if(!c[aC(0x101,0x12d)]){if(d[aC(0x145,0x12e)](a)){c[aC(0x156,0x15f)]-=d[aC(0x10b,0xee)](a);}d[aC(0x141,0x19c)](a,b);c[aC(0x156,0x137)]+=b;if(b<c['minRowHeight']){c[aC(0x116,0x100)]=b;}c[aC(0x14f,0x1a1)]=c[aC(0x156,0x13c)]/d['size'];}}[_grY(-0x3f,0x6)](a){const b=this;function aD(a,b){return _grY(b-0x2a9,a);}return a&&b[aD(0x24d,0x23d)][aD(0x2b6,0x279)](a['id'])||a&&b[aD(0x280,0x222)][aD(0x2b1,0x250)](a)||b['averageRowHeight']||b[aD(0x1c0,0x216)];}[_grY(-0x71,-0x87)](a){function aE(a,b){return _grY(a-0x299,b);}const b=this;if(!b[aE(0x25f,0x26f)]){const {heightMap:c}=b;a=_grf[aE(0x22a,0x1f2)](a);a[aE(0x25c,0x22a)](d=>{function aF(a,b){return aE(b-0x26c,a);}if(d){if(c[aF(0x4ea,0x50f)](d['id'])){b[aF(0x51e,0x520)]-=c[aF(0x4c2,0x4d5)](d['id']);c['delete'](d['id']);}}});b[aE(0x2ad,0x291)]=b[aE(0x2b4,0x266)]/c[aE(0x217,0x208)];}}[_grY(-0x5,-0x24)](){this[aG(0x3fb,0x3da)][aG(0x4a8,0x44e)]();function aG(a,b){return _grY(b-0x446,a);}this[aG(0x4b3,0x45a)]=this[aG(0x48b,0x461)]=0x0;}[_grY(-0x99,-0x39)]({record:a,oldValue:b,value:c}){const {heightMap:d}=this;if(!this[aH(0x15,0x0)]&&d['has'](b)){const f=d['get'](b);d[aH(0x3d,0x2d)](b);d[aH(0x2a,0x40)](c,f);}const e=this[aH(-0x5,0x50)][b];function aH(a,b){return _grY(b-0x3a,a);}if(e){e['id']=c;}}[_grY(-0xa0,-0x7e)](a){if(this['fixedRowHeight']){return a*this[aI(-0x40,-0x7a)];}const {storage:b}=this['store'];let c=0x0;for(let d=0x0;d<a;d++){const e=b[aI(-0xd3,-0x82)](d);c+=this[aI(-0xb3,-0x5a)](e);}function aI(a,b){return _grY(b- -0x1b,a);}return Math[aI(-0x3c,-0x49)](c);}[_grY(-0x38,-0x69)](a,b=![],c=![]){const d=this,e=d[aJ(0x191,0x1bd)](a);let f=d[aJ(0x16e,0x18f)][aJ(0x1bd,0x17d)];if(!b){f=d[aJ(0x1a5,0x18f)]['refreshBodyRectangle']();}function aJ(a,b){return _grY(b-0x1ea,a);}if(e){return new _grc(f['x'],b?Math['round'](e[aJ(0x18a,0x18d)]):Math[aJ(0x183,0x199)](e[aJ(0x1bb,0x18d)]+f['y']-d['client'][aJ(0x1ef,0x1ce)]['y']),Math[aJ(0x1a6,0x1a4)](f[aJ(0x1cd,0x170)],0x0),e[aJ(0x1ac,0x1a1)]);}const g=d[aJ(0x1f1,0x1c8)][aJ(0x1c3,0x17f)](a);return g!==-0x1?d[aJ(0x1bf,0x1ae)](g,b,c):null;}[_grY(-0x3c,-0x6b)](a,b=![],c=![]){const d=this,{topRow:e,bottomRow:f}=d,g=d[aK(0x437,0x461)][aK(0x445,0x44f)],{id:h}=d[aK(0x4c8,0x49a)]['getAt'](a),i=d[aK(0x4e7,0x4d3)],j=e[aK(0x4fd,0x4bf)],k=f[aK(0x464,0x4bf)],l=Math[aK(0x4dd,0x48e)](d[aK(0x474,0x450)][aK(0x4e4,0x48c)](h)??i);function aK(a,b){return _grY(b-0x4bc,a);}let m;if(d[aK(0x436,0x431)]&&!c){const o=d[aK(0x433,0x41c)](a);m=b?o:o+g['y']-d[aK(0x463,0x461)][aK(0x43e,0x4a0)]['y'];}else{const p=a>k?{'index':a-k-0x1,'y':f[aK(0x462,0x486)],'from':aK(0x3fa,0x42d)}:a>j/0x2?{'index':a-j,'y':e[aK(0x49c,0x45f)],'from':'topRow'}:{'index':a,'y':0x0,'from':aK(0x47e,0x45f)},q=Math[aK(0x4d0,0x48e)](p['y']+p[aK(0x431,0x44a)]*i);m=b?p[aK(0x53b,0x4e0)]===aK(0x493,0x452)?q+i-l:q:q+g['y']-d[aK(0x44c,0x461)][aK(0x4b9,0x4a0)]['y'];}const n=new _grc(g['x'],m,g[aK(0x3f1,0x442)],l);n['virtual']=!![];n['block']=n['bottom']<g['y']?aK(0x4ac,0x4bc):n['y']>g[aK(0x471,0x486)]?'end':aK(0x459,0x449);return n;}get[_grY(0x1e,-0xe)](){function aL(a,b){return _grY(b-0x4ee,a);}return this[aL(0x48f,0x4aa)];}[_grY(-0x3d,-0x75)](a){function aM(a,b){return _grY(b-0x4f5,a);}this['rows'][aM(0x514,0x4b8)](a);}[Symbol['iterator']](){function aN(a,b){return _grY(b-0x3c2,a);}return this[aN(0x3c5,0x374)][Symbol['iterator']]();}[_grY(-0x8,-0x30)](){for(const a of this[aO(-0x2f8,-0x2a6)]){a['positionCells']();}this[aO(-0x336,-0x2df)][aO(-0x2e0,-0x2de)]();function aO(a,b){return _grY(b- -0x258,a);}this[aO(-0x26f,-0x2c6)]('positionCells');}[_grY(-0x42,-0xa4)](a,b){const c=new _grk({'grid':this['grid'],'record':a,'columnId':b});function aP(a,b){return _grY(a-0x153,b);}return Boolean(c[aP(0x12c,0xfc)]&&c['row'][aP(0x12a,0x16b)](c));}[_grY(-0x75,-0x6f)](){const a=this;function aQ(a,b){return _grY(b- -0x1f2,a);}a[aQ(-0x2ef,-0x293)]=0x0;a['lastScrollTop']=0x0;if(a[aQ(-0x282,-0x25c)]){a[aQ(-0x281,-0x25c)][aQ(-0x232,-0x1ef)]=0x0;a[aQ(-0x27a,-0x25c)][aQ(-0x271,-0x272)](0x0,!![]);}a[aQ(-0x25f,-0x288)]();a[aQ(-0x27d,-0x279)][aQ(-0x22e,-0x20e)]['y']=0x0;}[_grY(0xc,0x42)](a){function aR(a,b){return _grY(a- -0x22d,b);}const b=this[aR(-0x25a,-0x229)](a['id']);if(b){this[aR(-0x2bd,-0x291)](b);}}[_grY(-0x90,-0xa6)](a=null,b=![]){const c=this,{rows:d,store:e,topIndex:f,topRow:g,storeCount:h}=c;let j=a?d[aS(-0x1a,-0x2b)](a):0x0;if(c['calculateRowCount'](![],h<d[aS(0x59,0x5)]&&!b,!![])===0x0){c[aS(-0x5,0x42)](!![]);return;}if(j>=d[aS(-0x2b,0x5)]||j<0x0){if(b){var k;(k=c['nodeAnimationCleanup'])===null||k===void 0x0||k['call'](c);b=![];}j=Math['max'](0x0,Math[aS(-0x15,-0x5e)](j,d['length']-0x1));a=d[j]||g;}if(c[aS(-0x6c,-0x61)]<f){c['topRow'][aS(-0x5d,-0x40)](c[aS(-0x40,-0x60)](c['topIndex']),!![]);j=0x0;a=c[aS(-0x1d,-0x2a)];}else if(a&&d[aS(0x32,-0x2b)](a)<0x0){a=d[j]||g;}let l=a?a[aS(0x5c,0x43)]:d[0x0][aS(0x6c,0x43)];const m=h-l-0x1,n=Math[aS(-0x50,-0x5e)](d[aS(-0x12,0x5)]-0x1,j+m);let o=d[aS(-0x5e,0x5)]-n-0x1,p=j>0x0?d[j-0x1][aS(0x3,0xa)]:d[j][aS(-0x9,-0x1d)],q;const r=[];if(j===0x0&&c['topIndex']===0x0)p=0x0;for(let s=j;s<=n;s++){q=d[s];q['dataIndex']=l;if(b){r[s]=p;}else{q[aS(0x7,-0x40)](p,!![]);}q[aS(-0xb,-0x5c)](l,e[aS(-0x74,-0x27)](l++),![]);p+=q[aS(0x57,-0x9)];}if(b){d[j][aS(0x22,-0x28)][aS(-0x26,0x39)]();for(let t=j;t<=n;t++){d[t][aS(-0x6b,-0x40)](r[t],!![]);}}while(o-->0x0&&c[aS(-0x79,-0x61)]>0x0){c[aS(-0x86,-0x58)]();}if(c[aS(0x0,-0x4f)][aS(0x20,0xa)]<c[aS(-0x6f,-0x1a)]+c[aS(-0x1d,-0x4d)]){c[aS(0x23,-0x12)]();}function aS(a,b){return _grY(b-0x40,a);}c['estimateTotalHeight'](!![]);c[aS(0x1c,-0x2e)](aS(-0x42,-0x44));}[_grY(-0x5e,-0x6b)](a){let b,c=![];a=Array[aT(0x82,0x5a)](a);a[aT(0x32,-0x19)]((d,e)=>d['dataIndex']-e[aT(0x61,0x23)]);function aT(a,b){return _grY(a-0x5e,b);}for(const d of a){b=d['height'];d[aT(-0x3e,-0x11)](null,null,![]);c|=d['height']!==b;}if(c){this[aT(-0x41,-0xb)](a[0x0]);}this[aT(-0x10,-0x14)](aT(-0x26,0xd));}[_grY(-0x53,-0x1f)](){function aU(a,b){return _grY(b-0xb6,a);}this[aU(-0x2c,0x17)](this['topRow']);}[_grY(-0x9f,-0x94)](a,b=![]){const c=this;function aV(a,b){return _grY(b-0x3c4,a);}let d=a[aV(0x3a9,0x38e)],e,f;for(f=a[aV(0x404,0x3c7)]+0x1,e=c[aV(0x3b2,0x3c9)](f);e;e=c['getRow'](++f)){d=e[aV(0x395,0x3a4)](d);}if(!b){c[aV(0x3bf,0x3c6)](!![]);}}[_grY(-0x96,-0x8e)](a=![]){function aW(a,b){return _grY(b-0x16,a);}const b=this,{topRow:c}=b;if(!c&&!a||b[aW(-0x72,-0x71)][aW(0x11,0x0)]){return;}b[aW(0x76,0x2c)]={};b['renderFromRow'](c);b[aW(-0xa,-0x58)](aW(-0xb0,-0x80));}[_grY(0x28,-0x1d)](a,b){const c=this,{store:d,heightMap:e,storeCount:f}=c;if(c[aX(-0xa7,-0x9d)]&&!c[aX(-0x56,-0xb7)]){const g=a-c[aX(-0x2c,-0x43)],h=0x0;let i=0x0,j=0x0;while(i<g){const l=d['records'][j];i+=e[aX(-0x4c,0x4)](l['id'])+h;j++;}const k=Math[aX(-0x62,-0xc7)](Math['min'](j,f-c[aX(0xd,0x71)]),0x0);c['lastScrollTop']=a;c[aX(-0x86,-0xd1)][aX(-0x19,0x10)]=c['topIndex']=k;c[aX(-0x86,-0x85)][aX(-0x9c,-0x50)](c[aX(-0xbc,-0x7b)](k),![]);c[aX(-0xb2,-0x53)]();}else{const m=c[aX(-0x5,0x6)],n=b==null?Math[aX(-0x4a,-0x31)](a/m)-c['prependRowBuffer']:b-Math[aX(-0x4a,0x18)](c['rowCount']/0x2),o=Math['max'](Math[aX(-0xba,-0xbd)](n,f-c[aX(0xd,0x5b)]),0x0),p=c['client'][aX(-0x38,0x24)]['y'],q=Math['min'](c[aX(-0x77,-0x50)][aX(-0x89,-0x46)]['height']+p+c['appendBufferHeight'],c[aX(0x2,0x5e)]);c[aX(-0xa9,-0xf3)]=a;c[aX(-0x86,-0x96)][aX(-0x19,-0x4c)]=c['topIndex']=o;c[aX(-0x86,-0x75)][aX(-0x9c,-0x63)](Math['floor'](o*m),![]);c[aX(-0xb2,-0x67)]();if(c['bottomRow'][aX(-0x52,-0x7f)]<q){c[aX(-0x6e,-0x7b)](![],![],![]);while(c[aX(-0xab,-0xd9)][aX(-0x52,-0x9)]<q&&c[aX(-0x42,-0x17)][c[aX(-0x2f,-0x64)]]['top']<p&&c[aX(-0xab,-0xe1)]['dataIndex']<f-0x1){c[aX(0x1,-0x48)]();}}c[aX(-0x1a,0x49)]();}if(b!=null){const {scrollable:r}=c[aX(-0xa3,-0x76)],s=c['getRow'](b),t=s&&_grc[aX(0x8,-0x3e)](s['_elementsArray'][0x0])['center']['y'],u=r[aX(-0x81,-0x8d)][aX(-0xb6,-0xb8)]['y'];if(s){r['y']=a=Math[aX(-0x4a,-0xc)](r['y']+(t-u));}}function aX(a,b){return _grY(a- -0x1c,b);}return a;}['warpIfNeeded'](a){function aY(a,b){return _grY(b- -0xd7,a);}const b=this,c={'newScrollTop':a,'deltaTop':a-b[aY(-0x1ab,-0x164)]};if(Math[aY(-0x156,-0x174)](c[aY(-0x134,-0xf8)])>b['rowCount']*b[aY(-0x156,-0x136)]*0x3){let d;if(b[aY(-0xb1,-0xf0)]){d=b[aY(-0x12a,-0xf9)][aY(-0x127,-0x142)](b[aY(-0xf6,-0xf0)]);}b[aY(-0x153,-0x15e)][aY(-0x10f,-0x14b)]();c[aY(-0x138,-0xdd)]=b[aY(-0xed,-0xaf)](a,d);c[aY(-0xb7,-0xf8)]=0x0;}return c;}['updateRenderedRows'](a,b,c=![]){const d=this;if(d[aZ(-0x1f8,-0x22d)]===0x0){return 0x0;}let e=d[aZ(-0x1e2,-0x238)];if(b||Math[aZ(-0x2f2,-0x2f3)](a-d[aZ(-0x2a0,-0x2e3)])>=d['rowOffsetHeight']||d['topRow'][aZ(-0x265,-0x2b3)]>a||d[aZ(-0x339,-0x2e5)][aZ(-0x2cf,-0x28c)]<a+d['viewHeight']){const f=d[aZ(-0x2d4,-0x2d1)](a);d[aZ(-0x2a2,-0x26f)]=null;d[aZ(-0x286,-0x2e3)]=f[aZ(-0x260,-0x25c)];if(f[aZ(-0x290,-0x277)]>0x0){d[aZ(-0x2a1,-0x268)](f['newScrollTop']);}else if(f['deltaTop']<0x0){d[aZ(-0x2b8,-0x2e2)](f[aZ(-0x29a,-0x25c)]);}if(!d[aZ(-0x282,-0x290)]&&!c){d['correctError'](f,a);}e=d[aZ(-0x27e,-0x254)]();}function aZ(a,b){return _grY(b- -0x256,a);}return e;}['correctError'](a,b){const c=this;function b0(a,b){return _grY(b-0x36d,a);}let d=0x0;if(c[b0(0x2cd,0x2e2)]){d=c['topRow'][b0(0x2e1,0x310)]-c[b0(0x29c,0x2cd)](c[b0(0x338,0x303)][b0(0x3a0,0x370)]);}else if(a['deltaTop']<0x0&&b<c[b0(0x322,0x313)]*0x2||a[b0(0x33b,0x34c)]>0x0&&b>c['totalHeight']-c[b0(0x2dc,0x313)]*0x2-0x3){d=c[b0(0x35f,0x303)]['top']-c[b0(0x310,0x2cd)](c[b0(0x33e,0x303)][b0(0x3d6,0x370)]);}if(d){c[b0(0x31e,0x352)](-d);c[b0(0x2d8,0x2e6)][b0(0x2f3,0x351)]['y']=c[b0(0x31d,0x2e0)]=c[b0(0x2dd,0x2e6)]['scrollable']['y']-d;}}[_grY(-0x8c,-0x79)](a){const b=this,{rows:c}=b,d=Math[b1(-0x155,-0x179)](b[b1(-0xab,-0xee)],c[b1(-0x140,-0x116)]-0x1);function b1(a,b){return _grY(b- -0xdb,a);}while(c[d][b1(-0x16f,-0x138)]>a&&b[b1(-0x189,-0x17c)]>0x0){b[b1(-0x115,-0x173)]();}b[b1(-0x124,-0x149)](b1(-0x10e,-0x15f));}[_grY(-0x12,-0x6a)](a){const b=this,{rows:c,storeCount:d}=b,{length:e}=c,f=Math[b2(-0x1bc,-0x173)](e-Math[b2(-0x1bc,-0x1e6)](b[b2(-0x157,-0x1b6)],e-0x1),e-0x1),g=a+b['viewHeight'];function b2(a,b){return _grY(a- -0x11e,b);}while(c[f]['top']<g&&b[b2(-0x1ad,-0x154)][b2(-0x11b,-0x115)]<d-0x1){b['displayRecordAtBottom']();}b[b2(-0x18c,-0x190)](b2(-0x1a2,-0x177));}[_grY(0x2,0x65)](a=![]){const b=this;if(b[b3(0x30f,0x30e)]['renderingRows']){return;}const {bottomRow:c,storeCount:d}=b,e=d-b[b3(0x33b,0x329)][b3(0x2ce,0x313)];let f;function b3(a,b){return _grY(b-0x395,a);}if(b[b3(0x30c,0x35b)]){f=d*b[b3(0x356,0x336)];}else{f=b[b3(0x364,0x3b0)]+e*b[b3(0x3aa,0x3ac)];if(c&&e){const g=c[b3(0x380,0x35f)];if(g>f||b[b3(0x318,0x2f4)]+b[b3(0x36c,0x3be)]>=d&&f>g&&g>0x0){f=g;if(c[b3(0x35f,0x398)]<d-0x1){f+=(d-0x1-c[b3(0x332,0x398)])*b[b3(0x3b0,0x3ac)];}}}f=Math[b3(0x3a8,0x367)](f);}if(f!==b[b3(0x3b6,0x3b3)]){if(b['trigger']('changeTotalHeight',{'totalHeight':f,'immediate':a})!==![]){b[b3(0x3b5,0x351)]=f;}}return f;}[_grY(-0x98,-0x39)](){var a;const b=this,{grid:c}=b,d=b[b4(0x2aa,0x2b7)]-0x1,e=b[b4(0x329,0x321)][b4(0x2e4,0x2db)](d),f=b[b4(0x2bc,0x2b5)],g=f[b4(0x2ee,0x292)];b[b4(0x2dd,0x291)](b4(0x2cd,0x31f),{'row':f,'newRecord':e});if(f[b4(0x34e,0x367)]===((a=c[b4(0x36e,0x359)])===null||a===void 0x0?void 0x0:a['rowIndex'])){c[b4(0x2d7,0x2bb)]();}f[b4(0x364,0x318)]=b[b4(0x2e1,0x309)][b4(0x2ee,0x34c)]-b[b4(0x30c,0x2f7)](e);f[b4(0x32c,0x30c)]=!b[b4(0x311,0x2e1)];f[b4(0x34e,0x3ae)]=d;f[b4(0x2af,0x2bc)](d,e,![]);f[b4(0x364,0x357)]=g;f[b4(0x34f,0x355)](b[b4(0x2e1,0x311)][b4(0x2ee,0x289)]);f['estimatedTop']=![];function b4(a,b){return _grY(a-0x34b,b);}b[b4(0x2aa,0x2ce)]--;b[b4(0x325,0x33d)][b4(0x2e7,0x31f)](b[b4(0x325,0x337)][b4(0x2ea,0x33d)]());b[b4(0x301,0x2a3)]();return f['offsetHeight'];}['displayRecordAtBottom'](){var a;const b=this,{grid:c}=b,d=b[b5(0x3d4,0x410)]+b[b5(0x49e,0x4e9)],e=b[b5(0x453,0x45c)][b5(0x40e,0x414)](d),f=b['topRow'];b['trigger'](b5(0x3f7,0x3be),{'row':f,'newRecord':e});if(f[b5(0x478,0x43d)]===((a=c[b5(0x498,0x4df)])===null||a===void 0x0?void 0x0:a[b5(0x42e,0x3fa)])){c[b5(0x401,0x463)]();}function b5(a,b){return _grY(a-0x475,b);}f[b5(0x478,0x497)]=d;f[b5(0x3f5,0x3ea)](b[b5(0x3e6,0x3aa)][b5(0x43f,0x420)]);f[b5(0x3d9,0x413)](d,e,![]);b[b5(0x3d4,0x436)]++;b['_rows']['push'](b['_rows']['shift']());b[b5(0x42b,0x45e)]();return f['offsetHeight'];}['fixIndices'](){function b6(a,b){return _grY(b- -0x1db,a);}for(let a=0x0,{rows:b}=this,{length:c}=b;a<c;a++){b[a][b6(-0x28a,-0x24d)]=a;}}}RowManager[_grY(-0x57,-0x1a)]='';
|