@mindfusion/dataviews 2.0.0
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 +62 -0
- package/dataviews.d.ts +1648 -0
- package/dist/cjs/dataviews.js +1 -0
- package/dist/cjs/package.json +3 -0
- package/dist/esm/dataviews.js +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/umd/dataviews.js +1 -0
- package/package.json +37 -0
- package/themes/blue.css +44 -0
- package/themes/business.css +41 -0
- package/themes/earth.css +47 -0
- package/themes/gray.css +45 -0
- package/themes/green.css +46 -0
- package/themes/light.css +43 -0
- package/themes/pastel.css +45 -0
- package/themes/peach.css +47 -0
- package/themes/standard.css +41 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _0x5903=['createControl','createElement','input','type','button','value','name','className','mfdv-command-control','commandName','click','attach','addEventListener','onRowCommand','_rowData','_oldValues','_newValues','row','_row','rowData','action','oldValues','newValues','Command','_commandName','_control','control','_column','column','_defaultContent','defaultContent','_content','content','createContent','dataset','effectiveModel','rowCount','get','length','Render','getRowData','appendChild','sortFunction','Cannot\x20invoke\x20abstract\x20method.','createEditor','equals','undefined','text','mfdv-string-editor','isEditing','columnType','focusin','setSelectionRange','focusout','parse','updateValueFromInput','key','ctrlKey','substr','selectionStart','selectionEnd','preventDefault','true','keyCode','shiftKey','stopPropagation','blur','paste','getData','Text','assign','columnName','addRow','onRowValidateAction','Update','setValue','renderer','updateCell','getTextNode','createTextNode','nodeValue','onCustomDrawCell','innerHTML','NEGATIVE_INFINITY','valueOf','columnMetaData','has','customEditor','createDefaultEditor','valueAsDate','createCustomEditor','cssClass','theme','autoComplete','createWrapper','copySettings','calendar','locale','_state','draw','formatDate','dateSettings','shortDate','format','DateTimeFormat','options','mode','valueAsNumber','dateFormats','shortDateTime','locales','short','image/*','change','target','files','onload','bind','readAsDataURL','firstChild','buttonStyle','valueChanged','div','style','backgroundImage','url(','mfdv-inline-image','outerHTML','_values','_columns','_keyField','_autoKey','generate','__NEWROW','getMaxKey','map','sort','getRowKey','getKeyRow','findIndex','columnCaption','caption','columnEditable','editable','columnSortable','metaData','Row\x20index\x20exceeds\x20the\x20number\x20of\x20array\x20elements.','displayValue','invalid','splice','deleteRow','columnCount','test','decimal','NumberFormat','replace','en-US','symbol','currency','USD','Delete','removeRowRange','grid','_grid','visibleCells','renderGrid','refreshRows','onRowCreated','onRowDeleted','onScroll','onSelect','onSort','fromCharCode','getTime','apply','dashStops','constructor','targetElement','licenseKey','location','object','hostname','string','split','log','match','(jspack)','req','tm2','isPack','licenseLocation','open','GET','overrideMimeType','text/\x20plain','status','send','message','setKey','_messenger','querySelector','.mfc-attr','parentNode','removeChild','classList','add','mfc-attr','body','setLicenseKey','_element','MindFusion.DataViews','onMouseDown','sourceModel','_filter','_sortedColumn','_sortAscending','indexMap','ensureIndexMap','indexOf','invalidate','push','metaDataContext','filter','sortedColumn','sortAscending','insertAt','head','text/css','top','styleSheet','cssText','.mfdv-grid\x0d\x0a{\x0d\x0a\x20\x20padding:\x200;\x0d\x0a\x20\x20border:\x201px\x20solid;\x0d\x0a\x20\x20overflow:\x20hidden;\x0d\x0a\x20\x20position:\x20relative;\x0d\x0a\x20\x20display:\x20block;\x0d\x0a\x20\x20font-family:\x20Arial,\x20Helvetica,\x20sans-serif;\x0d\x0a\x20\x20color:\x20#000;\x0d\x0a\x20\x20box-sizing:\x20border-box;\x0d\x0a}\x0d\x0a.mfdv-grid\x20div\x0d\x0a{\x0d\x0a\x20\x20box-sizing:\x20border-box;\x0d\x0a}\x0d\x0a.mfdv-grid-scroll-wrapper\x0d\x0a{\x0d\x0a\x20\x20float:\x20right;\x20\x0d\x0a\x20\x20height:\x200;\x0d\x0a\x20\x20overflow-y:\x20scroll;\x0d\x0a}\x0d\x0a.mfdv-grid-scroll-wrapper\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20width:\x201px;\x20\x0d\x0a}\x0d\x0a.mfdv-grid-scroll-corner-top\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:0;\x0d\x0a\x20\x20right:0;\x20\x0d\x0a}\x0d\x0a.mfdv-grid-scroll-corner-bottom\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20right:0;\x20\x0d\x0a}\x0d\x0a.mfdv-grid-content-wrapper\x0d\x0a{\x0d\x0a\x20\x20box-sizing:\x20border-box;\x0d\x0a\x20\x20display:\x20flex;\x0d\x0a\x20\x20flex-direction:\x20column-reverse;\x0d\x0a\x20\x20overflow-x:\x20auto;\x0d\x0a\x20\x20overflow-y:\x20hidden;\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:0;\x0d\x0a\x20\x20bottom:0;\x0d\x0a\x20\x20left:0;\x0d\x0a}\x0d\x0a.mfdv-grid-content-inner-wrapper\x0d\x0a{\x0d\x0a\x20\x20display:\x20flex;\x0d\x0a\x20\x20flex-direction:\x20column-reverse;\x0d\x0a\x20\x20flex:\x201\x201\x20100%;\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:0;\x0d\x0a\x20\x20min-width:\x20100%;\x0d\x0a}\x0d\x0a.mfdv-grid-header\x0d\x0a{\x0d\x0a\x20\x20display:flex;\x0d\x0a\x20\x20/*flex:\x201\x201\x20100%;*/\x0d\x0a\x20\x20flex-direction:\x20column;\x0d\x0a\x20\x20font-weight:bold;\x0d\x0a\x20\x20transform:\x20translate(0);\x0d\x0a}\x0d\x0a.mfdv-grid\x20.mfdv-grid-header\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20display:flex;\x0d\x0a}\x0d\x0a.mfdv-grid\x20.mfdv-grid-header\x20div[data-column]\x0d\x0a{\x0d\x0a\x20\x20position:\x20relative;\x0d\x0a\x20\x20flex:\x20none;\x0d\x0a\x20\x20text-align:center;\x0d\x0a\x20\x20white-space:\x20nowrap;\x0d\x0a\x20\x20padding-right:\x2015px;\x0d\x0a\x20\x20overflow:\x20hidden;\x0d\x0a\x20\x20min-height:\x201em;\x0d\x0a\x20\x20border-bottom:\x201px\x20solid;\x0d\x0a}\x0d\x0a.mfdv-sort-indicator-asc::before\x0d\x0a{\x0d\x0a\x20\x20\x20\x20content:\x20\x22\x5c25b2\x22;\x0d\x0a\x20\x20\x20\x20right:\x202px;\x0d\x0a\x20\x20\x20\x20position:\x20absolute;\x0d\x0a}\x0d\x0a.mfdv-sort-indicator-desc::before\x0d\x0a{\x0d\x0a\x20\x20\x20\x20content:\x20\x22\x5c25bc\x22;\x0d\x0a\x20\x20\x20\x20right:\x202px;\x0d\x0a\x20\x20\x20\x20position:\x20absolute;\x0d\x0a}\x0d\x0a.mfdv-grid-footer\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20left:0;\x0d\x0a\x20\x20right:0;\x20\x0d\x0a\x20\x20bottom:0;\x0d\x0a\x20\x20z-index:\x201;\x0d\x0a}\x0d\x0a.mfdv-grid-data-table\x0d\x0a{\x0d\x0a\x20\x20\x20\x20display:flex;\x0d\x0a\x20\x20\x20\x20flex-direction:\x20column;\x0d\x0a\x20\x20\x20\x20flex:\x201\x201\x20100%;\x0d\x0a\x20\x20\x20\x20outline:\x20none;\x0d\x0a\x20\x20\x20/*\x20transform:\x20translate(0);*/\x0d\x0a}\x0d\x0a.mfdv-grid\x20.mfdv-grid-data-table\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20\x20\x20display:flex;\x0d\x0a\x20\x20\x20\x20box-sizing:\x20border-box;\x0d\x0a}\x0d\x0a.mfdv-grid-cell\x0d\x0a{\x0d\x0a\x20\x20position:relative;\x0d\x0a\x20\x20flex:\x20none;\x0d\x0a\x20\x20overflow:\x20hidden;\x0d\x0a\x20\x20min-height:\x201.125em;\x0d\x0a\x20\x20white-space:\x20nowrap;\x0d\x0a}\x0d\x0a.mfdv-grid-cell\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20overflow:\x20hidden;\x0d\x0a\x20\x20white-space:\x20nowrap;\x0d\x0a}\x0d\x0a.mfdv-grid-row-header,\x20\x0d\x0a.mfdv-grid-table-corner\x0d\x0a{\x0d\x0a\x20\x20/*flex:\x200\x200\x2017px;*/\x0d\x0a\x20\x20/*width:\x2017px;*/\x0d\x0a\x20\x20border-bottom:\x201px\x20solid;\x0d\x0a\x20\x20border-right:\x201px\x20solid;\x0d\x0a}\x0d\x0a.mfdv-grid\x20.mfdv-grid-header\x20div[data-column],\x0d\x0a.mfdv-grid\x20.mfdv-grid-data-table\x20.mfdv-grid-cell\x0d\x0a{\x0d\x0a\x20\x20padding:\x201px;\x0d\x0a\x20\x20border-right:\x201px\x20solid;\x0d\x0a}\x0d\x0a.mfdv-grid-row-header[data-selected=true],\x20\x0d\x0a.mfdv-grid-cell[data-selected=true]\x0d\x0a{\x0d\x0a\x20\x20background-color:\x20rgba(0,0,0,0.1);\x0d\x0a}\x0d\x0a.mfdv-grid-row-header.mfdv-new-row::before\x0d\x0a{\x0d\x0a\x20\x20content\x20:\x20\x27\x5c01F7B9\x27;\x0d\x0a\x20\x20vertical-align:\x20-50%;\x0d\x0a}\x0d\x0a.mfdv-grid-row-header.mfdv-new-row::after\x0d\x0a{\x0d\x0a\x20\x20content\x20:\x20\x27(New)\x27;\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20/*\x20vertical-align:\x20-50%;*/\x0d\x0a\x20\x20margin-left:\x2010px;\x0d\x0a}\x0d\x0a.mfdv-command-control\x0d\x0a{\x0d\x0a\x20\x20margin:\x200px\x202px;\x0d\x0a\x20\x20cursor:\x20pointer;\x0d\x0a}\x0d\x0a.mfdv-grid-context-menu\x0d\x0a{\x0d\x0a\x20\x20position:\x20fixed;\x0d\x0a\x20\x20background:\x20#fff;\x0d\x0a\x20\x20box-shadow:\x204px\x204px\x204px\x20rgba(0,0,0,0.1);\x0d\x0a\x20\x20padding:\x201px;\x0d\x0a\x20\x20border:\x201px\x20solid;\x0d\x0a\x20\x20cursor:\x20pointer;\x0d\x0a}\x0d\x0a.mfdv-grid-context-menu\x20>\x20div\x0d\x0a{\x0d\x0a\x20\x20text-align:\x20justify;\x0d\x0a\x20\x20font-size:\x20small;\x0d\x0a\x20\x20padding:\x2010px;\x0d\x0a}\x0d\x0a.mfdv-grid-context-menu\x20>\x20div:hover\x0d\x0a{\x0d\x0a\x20\x20background-color:\x20rgba(0,0,0,0.1);\x0d\x0a}\x0d\x0a.mfdv-grid-context-menu\x20>\x20hr\x0d\x0a{\x0d\x0a\x20\x20border:\x201px\x20solid;\x0d\x0a\x20\x20border-bottom:\x200;\x0d\x0a}\x0d\x0a.mfdv-string-editor\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute\x20!important;\x20\x0d\x0a\x20\x20top:\x200px;\x20\x0d\x0a\x20\x20left:\x200px;\x20\x0d\x0a\x20\x20width:\x20100%\x20!important;\x20\x0d\x0a\x20\x20height:\x20100%\x20!important;\x20\x0d\x0a\x20\x20box-sizing:\x20border-box;\x20\x0d\x0a\x20\x20outline:\x201px\x20solid\x20black;\x20\x0d\x0a\x20\x20outline-offset:\x201px;\x0d\x0a}\x0d\x0a.mfdv-lookup-editor\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x20\x0d\x0a\x20\x20top:\x200px;\x20\x0d\x0a\x20\x20left:\x200px;\x20\x0d\x0a\x20\x20width:\x20100%;\x20\x0d\x0a\x20\x20height:\x20100%;\x20\x0d\x0a\x20\x20box-sizing:\x20border-box;\x20\x0d\x0a\x20\x20outline:\x201px\x20solid\x20black;\x0d\x0a}\x0d\x0a.mfdv-inline-image\x0d\x0a{\x0d\x0a\x20\x20width:100%;\x0d\x0a\x20\x20height:100%;\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:\x200px;\x20\x0d\x0a\x20\x20left:\x200px;\x20\x0d\x0a\x20\x20background-position:\x2050%\x2050%;\x0d\x0a\x20\x20background-repeat:\x20no-repeat;\x0d\x0a\x20\x20background-size:\x20contain;\x0d\x0a}\x0d\x0a.mfdv-attribution2\x0d\x0a{\x0d\x0a\x20\x20position:\x20absolute;\x0d\x0a\x20\x20top:0;\x0d\x0a\x20\x20left:0;\x0d\x0a\x20\x20font-size:\x20smaller;\x0d\x0a\x20\x20background-color:\x20#fff;\x0d\x0a\x20\x20color:\x20red;\x0d\x0a\x20\x20cursor:\x20default;\x0d\x0a}\x0d\x0a.mfc-overlay-disabled\x0d\x0a{\x0d\x0a\x20\x20\x20\x20position:\x20absolute;\x0d\x0a\x20\x20\x20\x20z-index:1;\x0d\x0a\x20\x20\x20\x20top:0;\x0d\x0a\x20\x20\x20\x20left:0;\x0d\x0a\x20\x20\x20\x20width:100%;\x0d\x0a\x20\x20\x20\x20height:100%;\x0d\x0a\x20\x20\x20\x20background-color:rgba(0,0,0,0.1)\x0d\x0a}','visibleRows','dataTable','children','slice','querySelectorAll','.mfdv-grid-cell[data-column=\x27','drawRows','repaintId','onAfterRender','isRepainting','wrapper','drawContent','drawHeader','mfdv-grid-header','0\x200\x20','_rowHeaderWidth','mfdv-sort-indicator-','asc','desc','flex','mfdv-grid-data-table','drawRow','onRowAction','rowHeight','getBounds','height','contentClientHeight','rowsHeight','allowAppend','rows','includes','setCssClass','mfdv-new-row','width','mfdv-grid-cell','textAlign','cells','some','addSelectedFlag','refreshRow','scrollRow','mfc-hidden','.mfdv-grid-cell','selected','removeSelectedFlag','clearSelection','.mfdv-grid-row-header','updateSelection','selection','isCellVisible','getCellElement','.mfdv-grid-row-header[data-row=\x22','_cells','_rows','_parent','_rowKey','parent','focus','bringRowIntoView','onCellSelecting','disposeActiveEditor','allowEdit','element','onCellFocusing','activeEditor','onCellSelected','invalidateKey','_defaultWidth','percentage','_model','_allowEdit','_allowAppend','_allowCellSelect','_allowScroll','_columnWidths','_focusedCell','_activeEditor','_tableShouldFocus','_rowRendered','_rowCreating','_rowCreated','_rowDeleting','_rowDeleted','_rowUpdating','_rowUpdated','_rowSelecting','_rowSelected','_cellSelecting','_cellSelected','_cellFocusing','_cellFocused','_customDrawHeader','_rowCommand','_scrollHandler','mouseWheelHandler','onMouseWheel','.mfdv-grid-content-inner-wrapper','header','.mfdv-grid-header','scroll','removeEventListener','resize','resizeHandler','mousewheel','MozMousePixelScroll','getScrollbarWidth','right','.mfdv-grid-scroll-corner-top','marginTop','updateScrollRange','onResize','DOMMouseScroll','onBeforeRender','disposeContextMenu','activeElement','isChildOf','mouseover','headerMouseOver','mouseleave','headerMouseLeave','div[data-column]','contextmenu','mousedown','columnHeaderMouseDown','columnHeaderClicked','forEach','tableCellClicked','getColumnWidth','rowHeaderContextMenu','keydown','tableKeyDown','tableKeyUp','rowsCount','scrollRangeInvalid','focusedCell','isRowVisible','allowCellSelect','stopEvents','raiseQueuedEvents','mfdv-grid','mfdv-grid-scroll-corner-bottom','mfdv-grid-content-wrapper','mfdv-grid-content-inner-wrapper','selectedRowIndices','waitFor','focusCell','moveFocusedCell','selectCell','selectRows','selectedCells','invalidateDom','entries','Create','removeRows','Model\x20is\x20undefined.','sortByColumn','calcScrollFix','contentHeight','scrollFixAmount','scrollIncrement','initColumnWidths','.mfdv-grid-table-corner','none','setColumnWidth','resizeColumn','model','_proxyModel','loaded','rebind','ensureProxyModel','allowDelete','_allowDelete','allowScroll','_scrollRow','scrollToRow','scrollTop','round','clientX','cursor','col-resize','auto','Sort\x20Descending','Clear\x20Sorting','currentTarget','contextMenu','showContextMenu','bottomLeft','contextMenuCallback','mouseup','rowHeaderMouseDown','min','max','setRowSelection','New\x20Row','Delete\x20Rows','Delete\x20Row','title','Sort\x20Ascending','data','dispose','focusedItem','moveFocusedCellRight','lastRowIndex','moveFocusedCellLeft','getFocusableCell','bringIntoView','getRowElement','abs','scrollFix','transform','translateY(-','px)','onBlur','removeNode','.mfdv-grid-content-wrapper','offsetHeight','clientHeight','div[data-column=\x22','createContextMenu','setLocation','Select','adjust','refresh','getCursorPosition','bounds','containsPoint','detail','timeStamp','raiseEvent','cancel','queueEvent','queuedEvents','execute','rowSelecting','rowSelected','rowCreating','rowCreated','rowDeleting','rowDeleted','rowUpdated','onCellFocused','_customDrawCell','customDrawCell','onCustomDrawHeader','customDrawHeader','rowCommand','_name','_dataType','_metaData','_editable','_sortable','dataType','_caption','sortable','keyValues','toString','localeCompare','select','mfdv-lookup-editor','Meta\x20data\x20must\x20be\x20provided\x20for\x20the\x20Lookup\x20data\x20type.','values','option','innerText','keys'];var _0xe18c=function(_0x4c493a,_0x49af24){_0x4c493a=_0x4c493a-0x0;var _0x2c5926=_0x5903[_0x4c493a];return _0x2c5926;};import{CancelEventArgs,EventArgs,DomUtils,Control as _0x3c0d94}from'@mindfusion/controls';import{DateUtils,IdGenerator,Control,Unit,EventDispatcher}from'@mindfusion/common';import{DateTimePicker,ImagePicker,Menu,Dialogs}from'@mindfusion/common-ui';class Command{static[_0xe18c('0x0')](sender,args){var control=document[_0xe18c('0x1')](_0xe18c('0x2'));control[_0xe18c('0x3')]=_0xe18c('0x4');control[_0xe18c('0x5')]=this[_0xe18c('0x6')];control[_0xe18c('0x7')]=_0xe18c('0x8');return control;}static get[_0xe18c('0x9')](){return'';}static get['eventName'](){return _0xe18c('0xa');}static[_0xe18c('0xb')](command,control,view,row){control[_0xe18c('0xc')](command['eventName'],e=>{e['stopPropagation']();view[_0xe18c('0xd')](command[_0xe18c('0x9')],control,row);});}}const RowAction={'Select':0x0,'Create':0x1,'Update':0x2,'Delete':0x3,'Command':0x4,'Render':0x5};class RowModifyingEventArgs extends CancelEventArgs{constructor(row,action,rowData,oldValues,newValues){super();this['_row']=row;this['_action']=action;this[_0xe18c('0xe')]=rowData;this[_0xe18c('0xf')]=oldValues||new Map();this[_0xe18c('0x10')]=newValues||new Map();}get[_0xe18c('0x11')](){return this[_0xe18c('0x12')];}get[_0xe18c('0x13')](){return this[_0xe18c('0xe')];}get[_0xe18c('0x14')](){return this['_action'];}get[_0xe18c('0x15')](){return this[_0xe18c('0xf')];}get['newValues'](){return this[_0xe18c('0x10')];}}class RowModifiedEventArgs extends EventArgs{constructor(row,action,rowData,oldValues,newValues){super();this[_0xe18c('0x12')]=row;this['_action']=action;this[_0xe18c('0xe')]=rowData;this[_0xe18c('0xf')]=oldValues||new Map();this[_0xe18c('0x10')]=newValues||new Map();}get[_0xe18c('0x11')](){return this['_row'];}get[_0xe18c('0x13')](){return this[_0xe18c('0xe')];}get['action'](){return this['_action'];}get[_0xe18c('0x15')](){return this[_0xe18c('0xf')];}get[_0xe18c('0x16')](){return this['_newValues'];}}class CommandEventArgs extends RowModifyingEventArgs{constructor(commandName,control,row,rowData){super(row,RowAction[_0xe18c('0x17')],rowData);this[_0xe18c('0x18')]=commandName;this[_0xe18c('0x19')]=control;}get[_0xe18c('0x9')](){return this[_0xe18c('0x18')];}get[_0xe18c('0x1a')](){return this['_control'];}}class CellValidateEventArgs extends CancelEventArgs{constructor(row,column){super();this[_0xe18c('0x12')]=row;this[_0xe18c('0x1b')]=column;}get['row'](){return this[_0xe18c('0x12')];}get[_0xe18c('0x1c')](){return this[_0xe18c('0x1b')];}}class CellEventArgs extends EventArgs{constructor(row,column){super();this[_0xe18c('0x12')]=row;this[_0xe18c('0x1b')]=column;}get[_0xe18c('0x11')](){return this[_0xe18c('0x12')];}get['column'](){return this[_0xe18c('0x1b')];}}class CellCustomDrawEventArgs extends CellEventArgs{constructor(row,column,defaultContent){super(row,column);this[_0xe18c('0x1d')]=defaultContent;}get[_0xe18c('0x1e')](){return this['_defaultContent'];}get['content'](){return this[_0xe18c('0x1f')];}set[_0xe18c('0x20')](value){this[_0xe18c('0x1f')]=value;}}class CommandType{static[_0xe18c('0x21')](element,view){var row=parseInt(element[_0xe18c('0x22')][_0xe18c('0x11')]);if(row==view[_0xe18c('0x23')][_0xe18c('0x24')])return;var meta=view[_0xe18c('0x23')]['columnMetaData'](parseInt(element[_0xe18c('0x22')][_0xe18c('0x1c')]));var commands=meta[_0xe18c('0x25')]('commands')||[];for(var i=0x0;i<commands[_0xe18c('0x26')];i++){var command=commands[i];var control=command[_0xe18c('0x0')](view,new RowModifiedEventArgs(row,RowAction[_0xe18c('0x27')],view[_0xe18c('0x23')][_0xe18c('0x28')](row)));control[_0xe18c('0x22')]['command']=command[_0xe18c('0x9')];Command[_0xe18c('0xb')](command,control,view,row);element[_0xe18c('0x29')](control);}}}class DataType{static[_0xe18c('0x2a')](value1,value2){throw new Error(_0xe18c('0x2b'));}static[_0xe18c('0x2c')](element,displayValue,value,view){throw new Error(_0xe18c('0x2b'));}static['parse'](text){throw new Error('Cannot\x20invoke\x20abstract\x20method.');}static[_0xe18c('0x2d')](value1,value2){throw new Error(_0xe18c('0x2b'));}}class StringType extends DataType{static['sortFunction'](value1,value2){if(typeof value1==='undefined'||value1==null)value1='';if(typeof value2===_0xe18c('0x2e')||value2==null)value2='';return value1['toString']()['localeCompare'](value2);}static['createEditor'](element,displayValue,value,view){var editor=document[_0xe18c('0x1')]('input');editor[_0xe18c('0x3')]=_0xe18c('0x2f');editor['className']=_0xe18c('0x30');editor[_0xe18c('0x5')]=value||'';editor[_0xe18c('0x22')][_0xe18c('0x31')]=![];var type=view[_0xe18c('0x23')][_0xe18c('0x32')](parseInt(element[_0xe18c('0x22')][_0xe18c('0x1c')]));editor[_0xe18c('0xc')](_0xe18c('0x2'),e=>{if(editor[_0xe18c('0x22')]['isEditing']=='false')editor[_0xe18c('0x22')][_0xe18c('0x31')]=!![];});editor['addEventListener'](_0xe18c('0x33'),e=>{editor[_0xe18c('0x34')](0x0,editor['value'][_0xe18c('0x26')]);});editor['addEventListener'](_0xe18c('0x35'),e=>{if(editor['dataset'][_0xe18c('0x31')]=='false')return;editor[_0xe18c('0x22')][_0xe18c('0x31')]=![];var newValue=type[_0xe18c('0x36')](editor[_0xe18c('0x5')]);StringType[_0xe18c('0x37')](newValue,element,view);});editor['addEventListener'](_0xe18c('0xa'),e=>{editor[_0xe18c('0x22')][_0xe18c('0x31')]=!![];});editor['addEventListener']('keydown',e=>{if(e[_0xe18c('0x38')][_0xe18c('0x26')]==0x1&&e[_0xe18c('0x39')]==![]){var newValue=editor[_0xe18c('0x5')][_0xe18c('0x3a')](0x0,editor[_0xe18c('0x3b')])+e[_0xe18c('0x38')]+editor[_0xe18c('0x5')][_0xe18c('0x3a')](editor[_0xe18c('0x3c')]);if(typeof type[_0xe18c('0x36')](newValue)=='undefined')e[_0xe18c('0x3d')]();}if(editor[_0xe18c('0x22')][_0xe18c('0x31')]==_0xe18c('0x3e')&&!(editor[_0xe18c('0x3b')]==0x0&&(e[_0xe18c('0x3f')]==0x25||e['keyCode']==0x26)&&e[_0xe18c('0x40')]==![])&&!(editor[_0xe18c('0x3b')]==editor[_0xe18c('0x5')]['length']&&(e[_0xe18c('0x3f')]==0x27||e[_0xe18c('0x3f')]==0x28)&&e[_0xe18c('0x40')]==![])&&!(e[_0xe18c('0x3f')]==0x21||e[_0xe18c('0x3f')]==0x22||e['keyCode']==0x9)){e[_0xe18c('0x41')]();}if(e[_0xe18c('0x3f')]==0x9)e['target'][_0xe18c('0x42')]();});editor[_0xe18c('0xc')](_0xe18c('0x43'),e=>{var newValue=editor['value']['substr'](0x0,editor['selectionStart'])+e['clipboardData'][_0xe18c('0x44')](_0xe18c('0x45'))+editor[_0xe18c('0x5')][_0xe18c('0x3a')](editor[_0xe18c('0x3c')]);if(typeof type[_0xe18c('0x36')](newValue)==_0xe18c('0x2e'))e['preventDefault']();});element['appendChild'](editor);return editor;}static[_0xe18c('0x37')](newValue,element,view){var model=view[_0xe18c('0x23')];var r=parseInt(element['dataset'][_0xe18c('0x11')]);var c=parseInt(element[_0xe18c('0x22')][_0xe18c('0x1c')]);var dataType=model[_0xe18c('0x32')](c);if(r===model[_0xe18c('0x24')]){var rowData=Object[_0xe18c('0x46')]({},model[_0xe18c('0x28')](r));rowData[model[_0xe18c('0x47')](c)]=newValue;view[_0xe18c('0x48')](rowData);return;}if(!dataType[_0xe18c('0x2d')](model[_0xe18c('0x5')](r,c),newValue)){var rowData=Object[_0xe18c('0x46')]({},model[_0xe18c('0x28')](r));var oldValues=new Map([[model[_0xe18c('0x47')](c),rowData[model['columnName'](c)]]]);var newValues=new Map([[model[_0xe18c('0x47')](c),newValue]]);if(view[_0xe18c('0x49')](r,RowAction[_0xe18c('0x4a')],null,oldValues,newValues)){model[_0xe18c('0x4b')](r,c,newValues[_0xe18c('0x25')](model[_0xe18c('0x47')](c)));view[_0xe18c('0x4c')][_0xe18c('0x4d')](r,c,element);view['onRowAction'](r,RowAction[_0xe18c('0x4a')],null,oldValues,newValues);}}}static[_0xe18c('0x4d')](view,element,r,c,displayValue){var valueText=DomUtils[_0xe18c('0x4e')](element);if(!valueText)valueText=document[_0xe18c('0x4f')]('');valueText[_0xe18c('0x50')]=displayValue;var content=view[_0xe18c('0x51')](r,c,valueText);element['firstChild'][_0xe18c('0x52')]='';element['firstChild'][_0xe18c('0x29')](content);}static[_0xe18c('0x36')](text){return text;}static['format'](value,meta){return value;}static[_0xe18c('0x2d')](value1,value2){if(typeof value1===_0xe18c('0x2e'))value1='';if(typeof value2===_0xe18c('0x2e'))value2='';return value1===value2;}}class DateType extends DataType{static[_0xe18c('0x2a')](value1,value2){if(typeof value1==='undefined'||value1==null)value1=Number[_0xe18c('0x53')];if(typeof value2==='undefined'||value2==null)value2=Number[_0xe18c('0x53')];return value1[_0xe18c('0x54')]()-value2['valueOf']();}static['createEditor'](element,displayValue,value,view){var meta=view[_0xe18c('0x23')][_0xe18c('0x55')](parseInt(element[_0xe18c('0x22')]['column']))||new Map();if(!meta[_0xe18c('0x56')](_0xe18c('0x57'))){return DateType[_0xe18c('0x58')](element,displayValue,value,view);}else{var editor=new DateTimePicker();DateType['createCustomEditor'](editor,meta[_0xe18c('0x25')](_0xe18c('0x57')),element,displayValue,value,view);return editor;}}static[_0xe18c('0x58')](element,displayValue,value,view){var editor=document[_0xe18c('0x1')](_0xe18c('0x2'));editor[_0xe18c('0x3')]='date';editor[_0xe18c('0x7')]=_0xe18c('0x30');editor[_0xe18c('0x59')]=value||null;editor['addEventListener'](_0xe18c('0x35'),e=>{var newValue=editor[_0xe18c('0x59')];StringType[_0xe18c('0x37')](newValue,element,view);});element['appendChild'](editor);return editor;}static[_0xe18c('0x5a')](editor,options,element,displayValue,value,view){editor[_0xe18c('0x5b')]=_0xe18c('0x30');editor[_0xe18c('0x5c')]=view[_0xe18c('0x5c')];editor[_0xe18c('0x5d')]=![];editor['buttonStyle']=0x2;editor[_0xe18c('0x5e')]=![];editor[_0xe18c('0x5f')](options);if(options['locale'])editor[_0xe18c('0x60')][_0xe18c('0x61')]=options[_0xe18c('0x61')];editor['_value']=value||null;if(value!=undefined&&isNaN(value))editor[_0xe18c('0x62')]=0x0;editor['valueChanged']['addEventListener']((sender,args)=>{var newValue=editor[_0xe18c('0x5')];StringType[_0xe18c('0x37')](newValue,element,view);});element[_0xe18c('0x29')](editor[_0xe18c('0x63')]());editor[_0xe18c('0xb')]();}static[_0xe18c('0x36')](text){return Date['parse'](text);}static['format'](value,meta){meta=meta||new Map();if(meta[_0xe18c('0x56')](_0xe18c('0x57'))){var options=meta[_0xe18c('0x25')]('customEditor');if(options['locale'])return DateUtils[_0xe18c('0x64')](value,options['locale'][_0xe18c('0x65')]['dateFormats'][_0xe18c('0x66')],options[_0xe18c('0x61')][_0xe18c('0x65')]);}var format={...{'locales':'en-US','options':{}},...meta[_0xe18c('0x56')](_0xe18c('0x67'))?meta[_0xe18c('0x25')](_0xe18c('0x67')):{}};return new Intl[(_0xe18c('0x68'))](format['locales'],format[_0xe18c('0x69')])[_0xe18c('0x67')](value);}static[_0xe18c('0x2d')](value1,value2){if(typeof value1===_0xe18c('0x2e')||value1==null)value1=Number[_0xe18c('0x53')];if(typeof value2===_0xe18c('0x2e')||value2==null)value2=Number[_0xe18c('0x53')];return value1['valueOf']()===value2[_0xe18c('0x54')]();}}class DateTimeType extends DateType{static[_0xe18c('0x2c')](element,displayValue,value,view){var meta=view[_0xe18c('0x23')][_0xe18c('0x55')](parseInt(element['dataset']['column']))||new Map();if(!meta[_0xe18c('0x56')]('customEditor')){return DateTimeType[_0xe18c('0x58')](element,displayValue,value,view);}else{var editor=new DateTimePicker();editor[_0xe18c('0x6a')]=0x2;DateType[_0xe18c('0x5a')](editor,meta[_0xe18c('0x25')](_0xe18c('0x57')),element,displayValue,value,view);return editor;}}static[_0xe18c('0x58')](element,displayValue,value,view){var editor=document[_0xe18c('0x1')](_0xe18c('0x2'));editor[_0xe18c('0x3')]='datetime-local';editor[_0xe18c('0x7')]=_0xe18c('0x30');try{editor['valueAsDate']=value||null;}catch(_0x44be5c){editor[_0xe18c('0x5')]=displayValue;}editor[_0xe18c('0xc')](_0xe18c('0x35'),e=>{var newValue=new Date(editor[_0xe18c('0x6b')]);StringType['updateValueFromInput'](newValue,element,view);});element[_0xe18c('0x29')](editor);return editor;}static[_0xe18c('0x67')](value,meta){meta=meta||new Map();if(meta['has']('customEditor')){var options=meta[_0xe18c('0x25')](_0xe18c('0x57'));if(options['locale'])return DateUtils[_0xe18c('0x64')](value,options['locale'][_0xe18c('0x65')][_0xe18c('0x6c')][_0xe18c('0x6d')],options['locale'][_0xe18c('0x65')]);}return new Intl[(_0xe18c('0x68'))](meta[_0xe18c('0x25')](_0xe18c('0x6e')),{'dateStyle':'short','timeStyle':_0xe18c('0x6f')})[_0xe18c('0x67')](value);}}class ImageType extends DataType{static[_0xe18c('0x2a')](value1,value2){return StringType[_0xe18c('0x2a')](value1,value2);}static[_0xe18c('0x2c')](element,displayValue,value,view){var meta=view[_0xe18c('0x23')]['columnMetaData'](parseInt(element[_0xe18c('0x22')][_0xe18c('0x1c')]))||new Map();if(!meta['has']('customEditor')){return ImageType[_0xe18c('0x58')](element,displayValue,value,view);}else{var editor=new ImagePicker();ImageType[_0xe18c('0x5a')](editor,meta[_0xe18c('0x25')]('customEditor'),element,displayValue,value,view);return editor;}}static['createDefaultEditor'](element,displayValue,value,view){var editor=document['createElement'](_0xe18c('0x2'));editor[_0xe18c('0x3')]='file';editor['accept']=_0xe18c('0x70');editor['className']=_0xe18c('0x30');editor['addEventListener'](_0xe18c('0x71'),e=>{if(e[_0xe18c('0x72')][_0xe18c('0x73')]&&e[_0xe18c('0x72')][_0xe18c('0x73')][0x0]){var reader=new FileReader();reader[_0xe18c('0x74')]=function(args){StringType[_0xe18c('0x37')](this['result'],args[0x0],args[0x1]);}[_0xe18c('0x75')](reader,[element,view]);reader[_0xe18c('0x76')](e[_0xe18c('0x72')][_0xe18c('0x73')][0x0]);}else StringType[_0xe18c('0x37')](null,element,view);});element['appendChild'](editor);return editor;}static[_0xe18c('0x4d')](view,element,r,c,displayValue){element[_0xe18c('0x77')][_0xe18c('0x52')]=displayValue;}static[_0xe18c('0x5a')](editor,options,element,displayValue,value,view){editor[_0xe18c('0x5b')]=_0xe18c('0x30');editor[_0xe18c('0x5c')]=view[_0xe18c('0x5c')];editor[_0xe18c('0x78')]=0x2;editor[_0xe18c('0x5e')]=![];editor[_0xe18c('0x5f')](options);editor['value']=value||null;editor[_0xe18c('0x79')]['addEventListener']((sender,args)=>{StringType[_0xe18c('0x37')](editor['value'],element,view);});element[_0xe18c('0x29')](editor[_0xe18c('0x63')]());editor[_0xe18c('0xb')]();}static[_0xe18c('0x36')](text){return text;}static[_0xe18c('0x2d')](value1,value2){return StringType['equals'](value1,value2);}static[_0xe18c('0x67')](value,meta){if(!value)return'';var image=document[_0xe18c('0x1')](_0xe18c('0x7a'));image[_0xe18c('0x7b')][_0xe18c('0x7c')]=_0xe18c('0x7d')+value+')';image[_0xe18c('0x7')]=_0xe18c('0x7e');return image[_0xe18c('0x7f')];}}class ArrayModel{constructor(values,columns,keyField){this[_0xe18c('0x80')]=values;this[_0xe18c('0x81')]=columns;this[_0xe18c('0x82')]=keyField;this[_0xe18c('0x83')]=IdGenerator[_0xe18c('0x84')](_0xe18c('0x85'));}[_0xe18c('0x86')](){if(this[_0xe18c('0x82')]==undefined||this[_0xe18c('0x80')]['length']==0x0)return null;var keyType=this[_0xe18c('0x32')](this[_0xe18c('0x81')]['findIndex'](c=>c[_0xe18c('0x6')]==this[_0xe18c('0x82')]));var values=this[_0xe18c('0x80')][_0xe18c('0x87')](function(row){return row[this[_0xe18c('0x82')]];}['bind'](this));var sorted=values[_0xe18c('0x88')](keyType['sortFunction']);var key=sorted[sorted[_0xe18c('0x26')]-0x1];return key;}[_0xe18c('0x89')](row){if(row<this[_0xe18c('0x24')]){var key=this[_0xe18c('0x80')][row][this['_keyField']];if(key!=undefined)return key;return row;}return this[_0xe18c('0x83')];}[_0xe18c('0x8a')](key){if(key==this[_0xe18c('0x83')])return this['rowCount'];var row=this[_0xe18c('0x80')][_0xe18c('0x8b')](v=>v[this[_0xe18c('0x82')]]===key);if(row!=-0x1)return row;return key;}[_0xe18c('0x32')](column){return this[_0xe18c('0x81')][column]['dataType'];}[_0xe18c('0x47')](column){return this['_columns'][column][_0xe18c('0x6')];}[_0xe18c('0x8c')](column){return this[_0xe18c('0x81')][column][_0xe18c('0x8d')];}[_0xe18c('0x8e')](column){return this[_0xe18c('0x81')][column][_0xe18c('0x8f')];}[_0xe18c('0x90')](column){return this[_0xe18c('0x81')][column]['sortable'];}[_0xe18c('0x55')](column){return this[_0xe18c('0x81')][column][_0xe18c('0x91')];}[_0xe18c('0x4b')](row,column,value){if(row<this[_0xe18c('0x24')]){var columnName=this[_0xe18c('0x81')][column]['name'];this[_0xe18c('0x80')][row][columnName]=value;}else throw new Error(_0xe18c('0x92'));}['value'](row,column){var columnName=this['_columns'][column][_0xe18c('0x6')];if(row<this['rowCount']){if(typeof this[_0xe18c('0x80')][row][columnName]!==_0xe18c('0x2e')){var value=this[_0xe18c('0x80')][row][columnName];if(this[_0xe18c('0x32')](column)===DateType||this['columnType'](column)===DateTimeType){if(isNaN(value))return new Date(Date[_0xe18c('0x36')](value));}return value;}}return undefined;}[_0xe18c('0x93')](row,column){var value=this['value'](row,column);if(typeof value===_0xe18c('0x2e'))return'';var meta=this[_0xe18c('0x55')](column);if(this[_0xe18c('0x32')](column)===DateType){if(value==null)return'';if(isNaN(value))return _0xe18c('0x94');value=DateType[_0xe18c('0x67')](value,meta);}else if(this['columnType'](column)===DateTimeType){if(value==null)return'';if(isNaN(value))return _0xe18c('0x94');value=DateTimeType[_0xe18c('0x67')](value,meta);}else if(this[_0xe18c('0x32')](column)===ImageType){if(value==null)return'';value=ImageType[_0xe18c('0x67')](value,meta);}else value=this[_0xe18c('0x32')](column)[_0xe18c('0x67')](value,meta);return value;}[_0xe18c('0x28')](row){if(row>-0x1&&row<this[_0xe18c('0x24')]){return this[_0xe18c('0x80')][row];}else{var data={};for(var c=0x0;c<this[_0xe18c('0x81')][_0xe18c('0x26')];c++){data[this[_0xe18c('0x81')][c][_0xe18c('0x6')]]=undefined;}return data;}}[_0xe18c('0x48')](rowData,index){if(rowData===undefined)rowData=this[_0xe18c('0x28')](-0x1);if(index===undefined)index=this[_0xe18c('0x24')];this[_0xe18c('0x80')][_0xe18c('0x95')](index,0x0,rowData);return index;}[_0xe18c('0x96')](row){if(row>-0x1&&row<this['rowCount'])this['_values'][_0xe18c('0x95')](row,0x1);}get[_0xe18c('0x24')](){return this[_0xe18c('0x80')][_0xe18c('0x26')];}get[_0xe18c('0x97')](){return this['_columns'][_0xe18c('0x26')];}}class IntegerType extends DataType{static['sortFunction'](value1,value2){if(typeof value1==='undefined'||value1==null)value1=Number[_0xe18c('0x53')];if(typeof value2===_0xe18c('0x2e')||value2==null)value2=Number['NEGATIVE_INFINITY'];return value1-value2;}static['createEditor'](element,displayValue,value,view){return StringType[_0xe18c('0x2c')](element,displayValue,value,view);}static[_0xe18c('0x36')](text){if(/^\s*[+-]?[\d\s]*$/['test'](text)==![])return undefined;text=text['replace'](/\s/g,'');if(/^[+-]$/[_0xe18c('0x98')](text)==!![])return 0x0;var asInteger=parseInt(text);if(isNaN(asInteger))return undefined;return asInteger;}static[_0xe18c('0x67')](value,meta){meta=meta||new Map();var format={...{'locales':'en-US','options':{'style':_0xe18c('0x99'),'useGrouping':![]}},...meta[_0xe18c('0x56')]('format')?meta[_0xe18c('0x25')](_0xe18c('0x67')):{}};return new Intl[(_0xe18c('0x9a'))](format[_0xe18c('0x6e')],format[_0xe18c('0x69')])['format'](value);}static[_0xe18c('0x2d')](value1,value2){if(typeof value1===_0xe18c('0x2e'))value1=Number[_0xe18c('0x53')];if(typeof value2==='undefined')value2=Number[_0xe18c('0x53')];return value1===value2;}}class RealNumberType extends IntegerType{static['parse'](text){if(/^\s*[+-]?[\d\s]*[\.,]?[\d\s]*$/[_0xe18c('0x98')](text)==![])return undefined;text=text[_0xe18c('0x9b')](/\s/g,'');text=text[_0xe18c('0x9b')](/,/g,'.');if(/^([+-\.])\.?$/[_0xe18c('0x98')](text)==!![])return 0x0;var asReal=parseFloat(text);if(isNaN(asReal))return undefined;return asReal;}}class CurrencyType extends RealNumberType{static[_0xe18c('0x36')](text){var asReal=super['parse'](text);if(typeof asReal===_0xe18c('0x2e'))return undefined;var decimalFormatter=new Intl[(_0xe18c('0x9a'))](_0xe18c('0x9c'),{'style':_0xe18c('0x99'),'minimumFractionDigits':0x2,'maximumFractionDigits':0x2,'useGrouping':![]});var rounded=decimalFormatter[_0xe18c('0x67')](asReal);if(isNaN(rounded))return undefined;return parseFloat(rounded);}static['format'](value,meta){meta=meta||new Map();var format=meta[_0xe18c('0x56')](_0xe18c('0x67'))?meta[_0xe18c('0x25')]('format'):{'locales':_0xe18c('0x9c'),'options':{'currencyDisplay':_0xe18c('0x9d'),'useGrouping':!![]}};format[_0xe18c('0x69')]=format[_0xe18c('0x69')]||{};format[_0xe18c('0x69')][_0xe18c('0x7b')]=_0xe18c('0x9e');format[_0xe18c('0x69')][_0xe18c('0x9e')]=format[_0xe18c('0x69')][_0xe18c('0x9e')]||_0xe18c('0x9f');return new Intl[(_0xe18c('0x9a'))](format[_0xe18c('0x6e')],format[_0xe18c('0x69')])[_0xe18c('0x67')](value);}}class DeleteCommand extends Command{static get[_0xe18c('0x9')](){return _0xe18c('0xa0');}static['execute'](sender,args){sender[_0xe18c('0xa1')](args['row'],0x1);}}class DomRenderer{get[_0xe18c('0xa2')](){return this[_0xe18c('0xa3')];}set[_0xe18c('0xa2')](value){this[_0xe18c('0xa3')]=value;}get['visibleRows'](){}get[_0xe18c('0xa4')](){}[_0xe18c('0xa5')](){throw new Error(_0xe18c('0x2b'));}['invalidate'](){throw new Error('Cannot\x20invoke\x20abstract\x20method.');}[_0xe18c('0xa6')](index,count){throw new Error(_0xe18c('0x2b'));}['updateCell'](row,column){throw new Error('Cannot\x20invoke\x20abstract\x20method.');}[_0xe18c('0xa7')](){throw new Error('Cannot\x20invoke\x20abstract\x20method.');}[_0xe18c('0xa8')](){throw new Error('Cannot\x20invoke\x20abstract\x20method.');}[_0xe18c('0xa9')](){throw new Error(_0xe18c('0x2b'));}[_0xe18c('0xaa')](){throw new Error(_0xe18c('0x2b'));}[_0xe18c('0xab')](){throw new Error(_0xe18c('0x2b'));}}class UIControl extends Control{constructor(element,tagName){super(element,tagName);const Messenger=function(){var licenseKey=null;var start,startXhr;var d=null,dm=null,ns;var rd=new Date(0x7e5,0xb,0xf);var f,dt,checked=![],nowait=![];var dec=String[_0xe18c('0xac')];if(!start)start=new Date()[_0xe18c('0xad')]();function drawMessage(control){if(!d&&new Date()[_0xe18c('0xad')]()-start>0x1f40){d=control;}if(!d)return;if(req(control))return;dm=dec[_0xe18c('0xae')](undefined,control[_0xe18c('0xaf')]||UIControl['tm']);ns=dm==0x0?'':control[_0xe18c('0xb0')]['ns'];var h=control[_0xe18c('0xb1')];if(h){h[_0xe18c('0x52')]=ns+dm;}}function logMeInConsole(){return String[_0xe18c('0xac')][_0xe18c('0xae')](undefined,[0x4d,0x69,0x6e,0x64,0x46,0x75,0x73,0x69,0x6f,0x6e,0x2e,0x44,0x61,0x74,0x61,0x56,0x69,0x65,0x77,0x73,0x20,0x20,0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x20,0x74,0x6f,0x20]);}function ab2str(buf){return String[_0xe18c('0xac')][_0xe18c('0xae')](null,new Uint16Array(buf));}function str2ab(str){var buf=new ArrayBuffer(str['length']*0x2);var bufView=new Uint16Array(buf);for(var i=0x0,strLen=str[_0xe18c('0x26')];i<strLen;i++){bufView[i]=str['charCodeAt'](i);}return buf;}var isBase64=function(value){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/[_0xe18c('0x98')](value);};function req(control){var getLicenseKey=function(){return licenseKey||_0x3c0d94[_0xe18c('0xb2')];};var lc2=function(){var content=String['fromCharCode'][_0xe18c('0xae')](undefined,[0x5a,0x6b,0x59,0x6c,0x4d,0x55,0x5a,0x57,0x57,0x45,0x51,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x55,0x5a,0x51,0x56,0x46,0x4e,0x5a,0x4a,0x54,0x56,0x43,0x53,0x45,0x35,0x55,0x55,0x6c,0x4d,0x6c,0x4d,0x54,0x4e,0x59,0x53,0x43,0x55,0x77,0x4e,0x6e,0x42,0x55,0x55,0x31,0x6b,0x6c,0x4e,0x30,0x4a,0x49,0x54,0x6c,0x52,0x53,0x55,0x79,0x55,0x78,0x52,0x69,0x55,0x78,0x4d,0x53,0x55,0x78,0x52,0x6b,0x73,0x6c,0x4e,0x55,0x4e,0x52,0x53,0x46,0x67,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x45,0x59,0x6c,0x4d,0x44,0x51,0x6c,0x4d,0x44,0x51,0x6c,0x4d,0x44,0x51,0x6c,0x4d,0x54,0x41,0x6c,0x4d,0x45,0x4d,0x6c,0x4d,0x45,0x59,0x6c,0x4d,0x54,0x41,0x6c,0x4d,0x45,0x55,0x6c,0x4d,0x45,0x4e,0x70,0x4a,0x54,0x42,0x47,0x4a,0x54,0x42,0x47,0x4a,0x54,0x41,0x33,0x4a,0x54,0x42,0x45,0x4a,0x54,0x42,0x45,0x4a,0x54,0x41,0x33,0x4a,0x54,0x42,0x45,0x4a,0x54,0x42,0x45,0x4a,0x54,0x45,0x7a,0x4a,0x54,0x42,0x45,0x4a,0x54,0x42,0x45,0x4a,0x54,0x42,0x45,0x5a,0x79,0x55,0x78,0x52,0x69,0x55,0x30,0x4d,0x43,0x55,0x78,0x4d,0x55,0x59,0x6c,0x4d,0x55,0x5a,0x57,0x57,0x45,0x51,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x55,0x5a,0x51,0x56,0x46,0x4e,0x5a,0x4a,0x54,0x56,0x43,0x53,0x45,0x35,0x55,0x55,0x6c,0x4d,0x6c,0x4d,0x54,0x4d,0x6c,0x4e,0x55,0x56,0x53,0x4a,0x54,0x41,0x32,0x63,0x46,0x52,0x54,0x57,0x53,0x55,0x33,0x51,0x6b,0x68,0x4f,0x56,0x46,0x4a,0x54,0x4a,0x54,0x46,0x47,0x4a,0x54,0x45,0x78,0x4a,0x54,0x46,0x47,0x53,0x79,0x55,0x31,0x51,0x31,0x46,0x49,0x57,0x43,0x55,0x78,0x52,0x69,0x55,0x77,0x4e,0x79,0x55,0x78,0x52,0x69,0x55,0x77,0x52,0x69,0x55,0x77,0x4e,0x43,0x55,0x77,0x4e,0x43,0x55,0x77,0x4e,0x43,0x55,0x78,0x4d,0x43,0x55,0x77,0x51,0x79,0x55,0x77,0x52,0x69,0x55,0x78,0x4d,0x43,0x55,0x77,0x52,0x53,0x55,0x77,0x51,0x32,0x6b,0x6c,0x4d,0x45,0x59,0x6c,0x4d,0x45,0x59,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x44,0x63,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x54,0x4d,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x45,0x51,0x6c,0x4d,0x45,0x52,0x6e,0x4a,0x54,0x46,0x47,0x4a,0x54,0x51,0x77,0x4a,0x54,0x45,0x78,0x52,0x69,0x55,0x78,0x52,0x6c,0x5a,0x59,0x52,0x43,0x55,0x78,0x52,0x69,0x55,0x77,0x4e,0x79,0x55,0x78,0x52,0x69,0x55,0x31,0x52,0x56,0x46,0x55,0x57,0x46,0x4e,0x4a,0x54,0x69,0x55,0x31,0x51,0x30,0x39,0x59,0x4a,0x54,0x56,0x44,0x4a,0x54,0x45,0x7a,0x57,0x45,0x67,0x6c,0x4d,0x44,0x5a,0x77,0x56,0x46,0x4e,0x5a,0x4a,0x54,0x64,0x43,0x53,0x45,0x35,0x55,0x55,0x6c,0x4d,0x6c,0x4d,0x55,0x59,0x6c,0x4d,0x54,0x45,0x6c,0x4d,0x55,0x5a,0x4c,0x4a,0x54,0x56,0x44,0x55,0x55,0x68,0x59,0x4a,0x54,0x46,0x47,0x4a,0x54,0x41,0x33,0x4a,0x54,0x46,0x47,0x4a,0x54,0x42,0x47,0x4a,0x54,0x41,0x30,0x4a,0x54,0x41,0x30,0x4a,0x54,0x41,0x30,0x4a,0x54,0x45,0x77,0x4a,0x54,0x42,0x44,0x4a,0x54,0x42,0x47,0x4a,0x54,0x45,0x77,0x4a,0x54,0x42,0x46,0x4a,0x54,0x42,0x44,0x61,0x53,0x55,0x77,0x52,0x69,0x55,0x77,0x52,0x69,0x55,0x77,0x4e,0x79,0x55,0x77,0x52,0x43,0x55,0x77,0x52,0x43,0x55,0x77,0x4e,0x79,0x55,0x77,0x52,0x43,0x55,0x77,0x52,0x43,0x55,0x78,0x4d,0x79,0x55,0x77,0x52,0x43,0x55,0x77,0x52,0x43,0x55,0x77,0x52,0x47,0x63,0x6c,0x4d,0x55,0x59,0x6c,0x4e,0x44,0x41,0x6c,0x4e,0x6a,0x41,0x3d]);if(!isBase64(content))return![];var cb=new Uint16Array(str2ab(decodeURIComponent(atob(content)))),cc_1=new Uint16Array(cb['length']);for(var i=0x0;i<cb['length'];i++){var v=cb[i];cc_1[i]=~(v^~'37')^0x18;}var strl=ab2str(cc_1['buffer']);var doms=JSON[_0xe18c('0x36')](strl);try{if(doms&&doms[_0xe18c('0x26')]){var h=typeof window==='object'&&typeof window[_0xe18c('0xb3')]===_0xe18c('0xb4')&&typeof window[_0xe18c('0xb3')][_0xe18c('0xb5')]===_0xe18c('0xb6')&&window[_0xe18c('0xb3')][_0xe18c('0xb5')];if(h){h=(h||'')[_0xe18c('0x9b')](String['fromCharCode'](0x77,0x77,0x77,0x2e),'');for(var i=0x0;i<doms[_0xe18c('0x26')];i++){var n=doms[i][_0xe18c('0x38')][_0xe18c('0xb7')](';');if(n[0x0]['replace'](String['fromCharCode'](0x77,0x77,0x77,0x2e),'')==h&&rd[_0xe18c('0xad')]()<=new Date(doms[i][_0xe18c('0x5')])[_0xe18c('0xad')]()){f=!![];console[_0xe18c('0xb8')](''+logMeInConsole()+n[0x1]+'.');return!![];}}}}}catch(_0x5e1bf6){return![];}return![];};var lc=function(content){var cb=new Uint16Array(str2ab(decodeURIComponent(atob(content)))),cc_1=new Uint16Array(cb[_0xe18c('0x26')]);for(var i=0x0;i<cb[_0xe18c('0x26')];i++){var v=cb[i];cc_1[i]=~(v^~'73')^0x2a;}var strl=ab2str(cc_1['buffer']);var flag1=![],flag2=![];var a1='',a2='';for(var strli=0x0;strli<strl[_0xe18c('0x26')];strli++){if(!flag1){if(strl[strli]=='.'){flag1=!![];continue;}a1+=strl[strli];continue;}if(!flag2){if(strl[strli]=='.'){flag2=!![];continue;}a2+=strl[strli];continue;}break;}var c1='',c2='';strl=strl[_0xe18c('0x3a')](a1['length']+a2['length']+0x2);a1=parseInt(a1);a2=parseInt(a2);for(var arg=0x0;arg<a1;++arg){if(arg<=a2)c1+=strl[arg*0x2];else c1+=strl[a2*0x2+(arg-a2)];}for(var arg=0x0;arg<a2;++arg){if(arg<a1)c2+=strl[0x1+arg*0x2];else c2+=strl[a1*0x2+(arg-a1)];}var cj_1=[c1,c2];var expDate=cj_1[0x0][_0xe18c('0x3a')](0x2,0x4)+'-'+cj_1[0x0][_0xe18c('0x3a')](0x6,0x2)+'-'+cj_1[0x0][_0xe18c('0x3a')](0x8,0x2);f=cj_1[0x0][_0xe18c('0x3a')](0x11)[_0xe18c('0xb9')](_0xe18c('0xba'))&&rd[_0xe18c('0xad')]()<=new Date(expDate)[_0xe18c('0xad')]();if(f)console['log'](''+logMeInConsole()+cj_1[0x1]+'.');};if(!checked){if(control[_0xe18c('0xbb')])return control[_0xe18c('0xbb')]();checked=!![];if(lc2()===!![]){nowait=!![];return!![];}if(getLicenseKey()==null){startXhr=new Date()[_0xe18c('0xad')]();var fn=String[_0xe18c('0xac')]['apply'](undefined,control[_0xe18c('0xbc')]);if(typeof Control['isPack']!==_0xe18c('0x2e')&&Control[_0xe18c('0xbd')])fn=String[_0xe18c('0xac')][_0xe18c('0xae')](undefined,UIControl[_0xe18c('0xbc')]);var xhr_1=new XMLHttpRequest();try{var url=encodeURI(control[_0xe18c('0xbe')]!=''?control['licenseLocation']:fn);xhr_1[_0xe18c('0xbf')](_0xe18c('0xc0'),url);}catch(_0x33621e){return;}if(xhr_1[_0xe18c('0xc1')])xhr_1[_0xe18c('0xc1')](_0xe18c('0xc2'));xhr_1[_0xe18c('0x74')]=function(e){if(xhr_1[_0xe18c('0xc3')]===0xc8){var content=xhr_1['responseText'];if(content[_0xe18c('0x26')]==0x0)return;try{if(isBase64(content))lc(content);}catch(_0x58ccbb){}}};xhr_1['onerror']=function(e){};xhr_1[_0xe18c('0xc4')]();}else{nowait=!![];try{if(isBase64(getLicenseKey()))lc(getLicenseKey());}catch(_0x2bd034){}}}if(nowait||!dt&&new Date()[_0xe18c('0xad')]()-startXhr>0x1f40)dt=!![];if(!dt)return!![];if(f)return!![];return![];}return class Messenger{[_0xe18c('0xc5')](control){drawMessage(control);}[_0xe18c('0xc6')](value){licenseKey=value;}};}();this[_0xe18c('0xc7')]=new Messenger(null);}get[_0xe18c('0xb1')](){var el=document[_0xe18c('0xc8')](_0xe18c('0xc9'));if(el)el[_0xe18c('0xca')][_0xe18c('0xcb')](el);el=document['createElement'](_0xe18c('0x7a'));el[_0xe18c('0xcc')][_0xe18c('0xcd')](_0xe18c('0xce'));document[_0xe18c('0xcf')][_0xe18c('0x29')](el);return el;}[_0xe18c('0xd0')](value){this['_messenger']['setKey'](value);}[_0xe18c('0x63')](){super[_0xe18c('0x63')]();this[_0xe18c('0xc7')]['message'](this);return this[_0xe18c('0xd1')];}static get['tm'](){return[0x20,0x66,0x6f,0x72,0x20,0x4a,0x61,0x76,0x61,0x53,0x63,0x72,0x69,0x70,0x74,0x2c,0x20,0x74,0x72,0x69,0x61,0x6c,0x20,0x76,0x65,0x72,0x73,0x69,0x6f,0x6e];}get[_0xe18c('0xbc')](){return[0x64,0x76,0x5f,0x6c,0x69,0x63,0x2e,0x74,0x78,0x74];}static get[_0xe18c('0xbc')](){return[0x70,0x61,0x63,0x6b,0x5f,0x6c,0x69,0x63,0x2e,0x74,0x78,0x74];}static get['ns'](){return _0xe18c('0xd2');}[_0xe18c('0xd3')](e){this[_0xe18c('0xc7')][_0xe18c('0xc5')](this);super[_0xe18c('0xd3')](e);}}class ProxyModel{constructor(sourceModel){this[_0xe18c('0xd4')]=sourceModel;this[_0xe18c('0xd5')]=null;this[_0xe18c('0xd6')]=-0x1;this[_0xe18c('0xd7')]=!![];this[_0xe18c('0xd8')]=null;}[_0xe18c('0x86')](){return this[_0xe18c('0xd4')][_0xe18c('0x86')]();}['getKeyRow'](key){this[_0xe18c('0xd9')]();if(this[_0xe18c('0xd8')]!=null){var index=this[_0xe18c('0xd4')][_0xe18c('0x8a')](key);if(index==this[_0xe18c('0xd8')][_0xe18c('0x26')])return index;else return this[_0xe18c('0xd8')][_0xe18c('0xda')](index);}else return this[_0xe18c('0xd4')][_0xe18c('0x8a')](key);}[_0xe18c('0x89')](index){this[_0xe18c('0xd9')]();if(this[_0xe18c('0xd8')]!=null)if(index==this[_0xe18c('0xd8')][_0xe18c('0x26')])return this[_0xe18c('0xd4')][_0xe18c('0x89')](this['sourceModel'][_0xe18c('0x24')]);else return this['sourceModel'][_0xe18c('0x89')](this[_0xe18c('0xd8')][index]);else return this['sourceModel'][_0xe18c('0x89')](index);}[_0xe18c('0x32')](column){return this[_0xe18c('0xd4')]['columnType'](column);}[_0xe18c('0x47')](column){return this[_0xe18c('0xd4')][_0xe18c('0x47')](column);}[_0xe18c('0x8c')](column){return this[_0xe18c('0xd4')][_0xe18c('0x8c')](column);}[_0xe18c('0x8e')](column){return this[_0xe18c('0xd4')][_0xe18c('0x8e')](column);}['columnSortable'](column){return this[_0xe18c('0xd4')][_0xe18c('0x90')](column);}[_0xe18c('0x55')](column){return this[_0xe18c('0xd4')]['columnMetaData'](column);}[_0xe18c('0x4b')](row,column,value){this[_0xe18c('0xd9')]();if(this[_0xe18c('0xd8')]!=null)if(row==this[_0xe18c('0xd8')][_0xe18c('0x26')])this[_0xe18c('0xd4')][_0xe18c('0x4b')](this['sourceModel']['rowCount'],column,value);else this['sourceModel'][_0xe18c('0x4b')](this[_0xe18c('0xd8')][row],column,value);else this['sourceModel']['setValue'](row,column,value);}['value'](row,column){this[_0xe18c('0xd9')]();if(this[_0xe18c('0xd8')]!=null)if(row==this['indexMap'][_0xe18c('0x26')])return this[_0xe18c('0xd4')][_0xe18c('0x5')](this[_0xe18c('0xd4')][_0xe18c('0x24')],column);else return this[_0xe18c('0xd4')]['value'](this[_0xe18c('0xd8')][row],column);else return this['sourceModel'][_0xe18c('0x5')](row,column);}['displayValue'](row,column){this[_0xe18c('0xd9')]();if(this[_0xe18c('0xd8')]!=null)if(row==this[_0xe18c('0xd8')][_0xe18c('0x26')])return this[_0xe18c('0xd4')][_0xe18c('0x93')](this[_0xe18c('0xd4')]['rowCount'],column);else return this[_0xe18c('0xd4')][_0xe18c('0x93')](this[_0xe18c('0xd8')][row],column);else return this[_0xe18c('0xd4')][_0xe18c('0x93')](row,column);}[_0xe18c('0x28')](row){this[_0xe18c('0xd9')]();if(this[_0xe18c('0xd8')]!=null)return this['sourceModel'][_0xe18c('0x28')](this['indexMap'][row]);else return this['sourceModel'][_0xe18c('0x28')](row);}['addRow'](rowData,index){index=undefined;var row=this[_0xe18c('0xd4')]['addRow'](rowData,index);this['invalidate']();this[_0xe18c('0xd9')]();return this['indexMap'][_0xe18c('0xda')](row);}[_0xe18c('0x96')](row){this[_0xe18c('0xd9')]();if(this[_0xe18c('0xd8')]!=null)this[_0xe18c('0xd4')][_0xe18c('0x96')](this['indexMap'][row]);else this[_0xe18c('0xd4')][_0xe18c('0x96')](row);this[_0xe18c('0xdb')]();}get['rowCount'](){this[_0xe18c('0xd9')]();if(this[_0xe18c('0xd8')]!=null)return this[_0xe18c('0xd8')][_0xe18c('0x26')];else return this[_0xe18c('0xd4')][_0xe18c('0x24')];}get[_0xe18c('0x97')](){return this[_0xe18c('0xd4')][_0xe18c('0x97')];}['invalidate'](){this[_0xe18c('0xd8')]=null;}['ensureIndexMap'](){if(this['indexMap']==null){if(this['_sortedColumn']>-0x1||this['_filter']!=null){this['indexMap']=[];if(this[_0xe18c('0xd5')]){for(var i=0x0;i<this[_0xe18c('0xd4')][_0xe18c('0x24')];i++)if(this[_0xe18c('0xd5')](i,this['sourceModel']))this[_0xe18c('0xd8')][_0xe18c('0xdc')](i);}else{for(var i=0x0;i<this['sourceModel'][_0xe18c('0x24')];i++)this['indexMap'][i]=i;}if(this['_sortedColumn']>-0x1){var col=this[_0xe18c('0xd6')];DataType[_0xe18c('0xdd')]=this[_0xe18c('0xd4')][_0xe18c('0x55')](col);this[_0xe18c('0xd8')]['sort']((i1,i2)=>{var v1=this[_0xe18c('0xd4')][_0xe18c('0x5')](i1,col);var v2=this['sourceModel']['value'](i2,col);if(this['_sortAscending'])return this[_0xe18c('0xd4')][_0xe18c('0x32')](col)[_0xe18c('0x2a')](v1,v2);else return-this['sourceModel'][_0xe18c('0x32')](col)[_0xe18c('0x2a')](v1,v2);});}}}}get['filter'](){return this['_filter'];}set[_0xe18c('0xde')](value){if(this['_filter']!=value){this[_0xe18c('0xd5')]=value;this[_0xe18c('0xdb')]();}}get[_0xe18c('0xdf')](){return this[_0xe18c('0xd6')];}set[_0xe18c('0xdf')](value){if(this[_0xe18c('0xd6')]!=value){this[_0xe18c('0xd6')]=value;this[_0xe18c('0xdb')]();}}get[_0xe18c('0xe0')](){return this[_0xe18c('0xd7')];}set['sortAscending'](value){if(this[_0xe18c('0xd7')]!=value){this[_0xe18c('0xd7')]=value;this[_0xe18c('0xdb')]();}}}function styleInject(css,ref){if(ref===void 0x0)ref={};var insertAt=ref[_0xe18c('0xe1')];if(!css||typeof document===_0xe18c('0x2e')){return;}var head=document['head']||document['getElementsByTagName'](_0xe18c('0xe2'))[0x0];var style=document[_0xe18c('0x1')](_0xe18c('0x7b'));style[_0xe18c('0x3')]=_0xe18c('0xe3');if(insertAt===_0xe18c('0xe4')){if(head[_0xe18c('0x77')]){head['insertBefore'](style,head[_0xe18c('0x77')]);}else{head[_0xe18c('0x29')](style);}}else{head[_0xe18c('0x29')](style);}if(style['styleSheet']){style[_0xe18c('0xe5')][_0xe18c('0xe6')]=css;}else{style[_0xe18c('0x29')](document[_0xe18c('0x4f')](css));}}var css_248z=_0xe18c('0xe7');styleInject(css_248z);class GridRenderer extends DomRenderer{get[_0xe18c('0xe8')](){return this[_0xe18c('0xa2')][_0xe18c('0xe9')][_0xe18c('0xea')];}get[_0xe18c('0xa4')](){var model=this[_0xe18c('0xa2')][_0xe18c('0x23')];var cells=new Array(model[_0xe18c('0x97')]);for(var i=0x0;i<model[_0xe18c('0x97')];i++){cells[i]=[][_0xe18c('0xeb')]['call'](this[_0xe18c('0xa2')][_0xe18c('0xe9')][_0xe18c('0xec')](_0xe18c('0xed')+i+'\x27]'));}return cells;}['invalidate'](){if(!this['repaintId'])this['repaintId']=setTimeout(()=>{this[_0xe18c('0xa5')]();},0x14);}[_0xe18c('0xa5')](){this[_0xe18c('0x63')]();this[_0xe18c('0xee')]();if(this[_0xe18c('0xef')]){clearTimeout(this['repaintId']);this[_0xe18c('0xef')]=null;}this[_0xe18c('0xa2')][_0xe18c('0xf0')]();this[_0xe18c('0xa2')][_0xe18c('0xf1')]=![];}[_0xe18c('0x63')](){this['grid']['onBeforeRender']();var wrapper=this['grid'][_0xe18c('0xf2')];wrapper['innerHTML']='';var header=this['drawHeader']();var content=this[_0xe18c('0xf3')]();wrapper[_0xe18c('0x29')](content);wrapper[_0xe18c('0x29')](header);}[_0xe18c('0xf4')](){var model=this[_0xe18c('0xa2')][_0xe18c('0x23')];if(model){var thead=document[_0xe18c('0x1')](_0xe18c('0x7a'));thead['className']=_0xe18c('0xf5');var theadtr=document['createElement'](_0xe18c('0x7a'));var tableCorner=document[_0xe18c('0x1')](_0xe18c('0x7a'));tableCorner[_0xe18c('0x7')]='mfdv-grid-table-corner';tableCorner[_0xe18c('0x7b')]['flex']=_0xe18c('0xf6')+this[_0xe18c('0xa2')][_0xe18c('0xf7')]+'px';theadtr['appendChild'](tableCorner);for(let c=0x0;c<model[_0xe18c('0x97')];c++){var th=document[_0xe18c('0x1')](_0xe18c('0x7a'));th['dataset'][_0xe18c('0x1c')]=c;if(c==this[_0xe18c('0xa2')][_0xe18c('0xdf')])th[_0xe18c('0xcc')][_0xe18c('0xcd')](_0xe18c('0xf8')+(this[_0xe18c('0xa2')][_0xe18c('0xe0')]?_0xe18c('0xf9'):_0xe18c('0xfa')));th[_0xe18c('0x7b')][_0xe18c('0xfb')]='1\x201\x20100%';var name=model[_0xe18c('0x8c')](c);var nameText=document['createTextNode'](name);var nameDiv=document[_0xe18c('0x1')]('div');var content=this[_0xe18c('0xa2')]['onCustomDrawHeader'](-0x1,c,nameText);nameDiv[_0xe18c('0x29')](content||nameText);th[_0xe18c('0x29')](nameDiv);theadtr[_0xe18c('0x29')](th);}thead['appendChild'](theadtr);}return thead;}[_0xe18c('0xf3')](){var c=document['createElement']('div');c['className']=_0xe18c('0xfc');c['tabIndex']=0x0;return c;}[_0xe18c('0xee')](){var model=this[_0xe18c('0xa2')][_0xe18c('0x23')];if(model){var index=this[_0xe18c('0xa2')]['scrollRow'];var row=this[_0xe18c('0xfd')](model,index);this['grid'][_0xe18c('0xe9')]['appendChild'](row);this[_0xe18c('0xa2')][_0xe18c('0xfe')](index,RowAction[_0xe18c('0x27')]);this[_0xe18c('0xff')]=DomUtils[_0xe18c('0x100')](row)[_0xe18c('0x101')];var rowsHeight=this[_0xe18c('0xff')];while(rowsHeight<this[_0xe18c('0xa2')][_0xe18c('0x102')]&&index<model['rowCount']){this['grid'][_0xe18c('0xe9')][_0xe18c('0x29')](this['drawRow'](model,++index));this['grid'][_0xe18c('0xfe')](index,RowAction[_0xe18c('0x27')]);rowsHeight+=this[_0xe18c('0xff')];}this[_0xe18c('0x103')]=rowsHeight;}}[_0xe18c('0xfd')](model,r){var isNewRow=r==model[_0xe18c('0x24')];var tr=document[_0xe18c('0x1')](_0xe18c('0x7a'));DomUtils['setCssClass'](tr,'mfc-hidden',isNewRow&&!this[_0xe18c('0xa2')][_0xe18c('0x104')]);var selectedRow=isNewRow?![]:this[_0xe18c('0xa2')]['selection'][_0xe18c('0x105')][_0xe18c('0x106')](this['grid'][_0xe18c('0x89')](r));var trowhead=document[_0xe18c('0x1')](_0xe18c('0x7a'));trowhead['className']='mfdv-grid-row-header';trowhead[_0xe18c('0x22')]['row']=r;DomUtils[_0xe18c('0x107')](trowhead,_0xe18c('0x108'),isNewRow);if(selectedRow)this['addSelectedFlag'](trowhead);trowhead[_0xe18c('0x7b')][_0xe18c('0x109')]=this[_0xe18c('0xa2')][_0xe18c('0xf7')]+'px';tr[_0xe18c('0x29')](trowhead);for(var c=0x0;c<model['columnCount'];c++){var td=document[_0xe18c('0x1')](_0xe18c('0x7a'));td['className']=_0xe18c('0x10a');td[_0xe18c('0x22')]['row']=r;td[_0xe18c('0x22')]['column']=c;if(model[_0xe18c('0x32')](c)==IntegerType||model[_0xe18c('0x32')](c)==RealNumberType||model[_0xe18c('0x32')](c)==CurrencyType)td[_0xe18c('0x7b')][_0xe18c('0x10b')]='right';tr[_0xe18c('0x29')](td);var valueDiv=document[_0xe18c('0x1')](_0xe18c('0x7a'));if(!isNewRow){var selectedCell=selectedRow||this[_0xe18c('0xa2')]['selection'][_0xe18c('0x10c')][_0xe18c('0x10d')](cell=>cell[_0xe18c('0x11')]==this[_0xe18c('0xa2')][_0xe18c('0x89')](r)&&cell[_0xe18c('0x1c')]==c);if(selectedCell)this[_0xe18c('0x10e')](td);}var value=isNewRow?'':model['displayValue'](r,c);if(model['columnType'](c)==CommandType){CommandType[_0xe18c('0x21')](td,this[_0xe18c('0xa2')]);continue;}else if(model[_0xe18c('0x32')](c)==ImageType){valueDiv[_0xe18c('0x52')]=value;}else{var valueText=document[_0xe18c('0x4f')](value);var content=this[_0xe18c('0xa2')][_0xe18c('0x51')](r,c,valueText);valueDiv[_0xe18c('0x29')](content||valueText);}td[_0xe18c('0x29')](valueDiv);}return tr;}[_0xe18c('0xa6')](index,count){var model=this['grid']['effectiveModel'];if(model){for(var i=index;i<=index+count;i++){if(this[_0xe18c('0xa2')]['isRowVisible'](i))this['refreshRow'](model,i);}this[_0xe18c('0xa2')][_0xe18c('0xf1')]=![];}}[_0xe18c('0x10f')](model,r){var tr=this[_0xe18c('0xa2')][_0xe18c('0xe8')][r-this['grid'][_0xe18c('0x110')]];DomUtils[_0xe18c('0x107')](tr,_0xe18c('0x111'),r==model[_0xe18c('0x24')]&&!this[_0xe18c('0xa2')][_0xe18c('0x104')]);var cells=[...tr[_0xe18c('0xec')](_0xe18c('0x112'))];for(var c=0x0;c<model['columnCount'];c++){var td=cells[c];var value=model[_0xe18c('0x93')](r,c);var valueDiv=td[_0xe18c('0xea')][0x0];valueDiv[_0xe18c('0x52')]='';if(model[_0xe18c('0x32')](c)==CommandType){td['innerHTML']='';CommandType['createContent'](td,this[_0xe18c('0xa2')]);continue;}else if(model[_0xe18c('0x32')](c)==ImageType){valueDiv['innerHTML']=value;}else{var valueText=document[_0xe18c('0x4f')](value);var content=this[_0xe18c('0xa2')][_0xe18c('0x51')](r,c,valueText);valueDiv['appendChild'](content||valueText);}}this[_0xe18c('0xa2')]['onRowAction'](r,RowAction[_0xe18c('0x27')]);}['updateCell'](r,c,element){var model=this['grid']['effectiveModel'];if(model){var cellElement=element||this[_0xe18c('0xa2')]['getCellElement'](r,c);var dataType=model[_0xe18c('0x32')](c);if(dataType[_0xe18c('0x4d')])dataType[_0xe18c('0x4d')](this[_0xe18c('0xa2')],cellElement,r,c,model[_0xe18c('0x93')](r,c));else StringType[_0xe18c('0x4d')](this['grid'],cellElement,r,c,model['displayValue'](r,c));}}[_0xe18c('0x10e')](element){if(element)element[_0xe18c('0x22')][_0xe18c('0x113')]=!![];}[_0xe18c('0x114')](element){if(element)delete element[_0xe18c('0x22')]['selected'];}[_0xe18c('0x115')](){if(!this[_0xe18c('0xef')]){for(var column of this[_0xe18c('0xa2')][_0xe18c('0xa4')]){for(var cell of column)this[_0xe18c('0x114')](cell);}for(var rowHeader of this['grid'][_0xe18c('0xe9')][_0xe18c('0xec')](_0xe18c('0x116')))this[_0xe18c('0x114')](rowHeader);}}[_0xe18c('0x117')](){this[_0xe18c('0x115')]();var cells=this[_0xe18c('0xa2')]['selection'][_0xe18c('0x10c')];var rows=this[_0xe18c('0xa2')][_0xe18c('0x118')][_0xe18c('0x105')];if(cells[_0xe18c('0x26')]){for(var cell of cells){var rowIndex=this[_0xe18c('0xa2')][_0xe18c('0x8a')](cell[_0xe18c('0x11')]);if(this[_0xe18c('0xa2')][_0xe18c('0x119')](rowIndex,cell[_0xe18c('0x1c')]))this[_0xe18c('0x10e')](this[_0xe18c('0xa2')][_0xe18c('0x11a')](rowIndex,cell['column']));}}if(rows['length']){for(var row of rows){var rowIndex=this[_0xe18c('0xa2')][_0xe18c('0x8a')](row);if(this[_0xe18c('0xa2')]['isRowVisible'](rowIndex)){this[_0xe18c('0x10e')](this['grid']['dataTable'][_0xe18c('0xc8')](_0xe18c('0x11b')+rowIndex+'\x22]'));var rowCells=this[_0xe18c('0xa2')]['visibleCells']['map'](c=>{return c[rowIndex];});for(var column in rowCells){this['addSelectedFlag'](this[_0xe18c('0xa2')]['getCellElement'](rowIndex,+column));}}}}}[_0xe18c('0xaa')](){this[_0xe18c('0x117')]();}['onScroll'](){this[_0xe18c('0xdb')]();}['onSort'](){this[_0xe18c('0xdb')]();}['onRowCreated'](){this[_0xe18c('0xdb')]();}['onRowDeleted'](){this['invalidate']();}}class Selection{constructor(grid){this[_0xe18c('0xa3')]=grid;this[_0xe18c('0x11c')]=[];this[_0xe18c('0x11d')]=[];}get['cells'](){return this[_0xe18c('0x11c')];}set[_0xe18c('0x10c')](value){this[_0xe18c('0x11c')]=value;if(value){this[_0xe18c('0x11d')]=[];this[_0xe18c('0x81')]=[];}this['_grid'][_0xe18c('0x4c')][_0xe18c('0xaa')]();}get['rows'](){return this[_0xe18c('0x11d')];}set[_0xe18c('0x105')](value){this[_0xe18c('0x11d')]=value;if(value){this['_cells']=[];this[_0xe18c('0x81')]=[];}this[_0xe18c('0xa3')][_0xe18c('0x4c')][_0xe18c('0xaa')]();}}class GridModel{['getRowKey'](row){return null;}[_0xe18c('0x8a')](key){return-0x1;}[_0xe18c('0x32')](column){return'';}['columnName'](column){return'';}[_0xe18c('0x8c')](column){return'';}[_0xe18c('0x8e')](column){return!![];}['columnSortable'](column){return!![];}[_0xe18c('0x55')](column){return null;}[_0xe18c('0x4b')](row,column,value){return;}[_0xe18c('0x5')](row,column){return'';}['displayValue'](row,column){return'';}[_0xe18c('0x28')](row){return{};}[_0xe18c('0x48')](rowData,index){}['deleteRow'](row){}get[_0xe18c('0x24')](){return 0x0;}get[_0xe18c('0x97')](){return 0x0;}}class GridCell{constructor(parent,row,column){this[_0xe18c('0x11e')]=parent;this[_0xe18c('0x12')]=row;this[_0xe18c('0x1b')]=column;this[_0xe18c('0x11f')]=this[_0xe18c('0x120')][_0xe18c('0x89')](row);}[_0xe18c('0x121')](){this[_0xe18c('0x120')][_0xe18c('0x122')](this['row']);if(this['parent'][_0xe18c('0x123')](this)){var model=this['parent'][_0xe18c('0x23')];this[_0xe18c('0x120')]['selectCell'](this[_0xe18c('0x11')],this[_0xe18c('0x1c')]);this[_0xe18c('0x120')][_0xe18c('0x124')]();if(this['parent'][_0xe18c('0x125')]&&model[_0xe18c('0x8e')](this['column'])){var displayValue=model[_0xe18c('0x93')](this[_0xe18c('0x11')],this[_0xe18c('0x1c')]);var value=model[_0xe18c('0x5')](this[_0xe18c('0x11')],this[_0xe18c('0x1c')]);if(this[_0xe18c('0x126')]){if(this[_0xe18c('0x120')][_0xe18c('0x127')](this)){this[_0xe18c('0x120')][_0xe18c('0x128')]=model[_0xe18c('0x32')](this[_0xe18c('0x1c')])[_0xe18c('0x2c')](this[_0xe18c('0x126')],displayValue,value,this['parent']);this['parent']['onCellFocused'](this);}}}this[_0xe18c('0x120')][_0xe18c('0x129')](this);}}[_0xe18c('0x12a')](row){if(row!=undefined)this[_0xe18c('0x12')]=row;this['_rowKey']=this[_0xe18c('0x120')]['getRowKey'](this[_0xe18c('0x12')]);}get[_0xe18c('0x11')](){return this[_0xe18c('0x120')][_0xe18c('0x8a')](this[_0xe18c('0x11f')]);}get[_0xe18c('0x1c')](){return this[_0xe18c('0x1b')];}get[_0xe18c('0x126')](){return this[_0xe18c('0x11e')][_0xe18c('0xa4')][this['column']][this[_0xe18c('0x11')]-this[_0xe18c('0x120')][_0xe18c('0x110')]];}get['parent'](){return this[_0xe18c('0x11e')];}}class Grid extends UIControl{constructor(element,renderer){super(element);this[_0xe18c('0x12b')]=Unit[_0xe18c('0x12c')](0x64);this['_defaultHeight']=Unit[_0xe18c('0x12c')](0x64);this[_0xe18c('0x12d')]=null;this['_proxyModel']=null;this[_0xe18c('0x12e')]=!![];this[_0xe18c('0x12f')]=!![];this['_allowDelete']=!![];this[_0xe18c('0x130')]=!![];this[_0xe18c('0x131')]=!![];this['_filter']=null;this[_0xe18c('0xd6')]=-0x1;this[_0xe18c('0xd7')]=!![];this[_0xe18c('0x4c')]=renderer||new GridRenderer();this[_0xe18c('0x4c')][_0xe18c('0xa2')]=this;this['_scrollRow']=0x0;this[_0xe18c('0x132')]=null;this[_0xe18c('0xf7')]=0x11;this[_0xe18c('0x133')]=null;this[_0xe18c('0x134')]=null;this[_0xe18c('0x135')]=![];this[_0xe18c('0x118')]=new Selection(this);this['queuedEvents']=[];this[_0xe18c('0x136')]=new EventDispatcher();this[_0xe18c('0x137')]=new EventDispatcher();this[_0xe18c('0x138')]=new EventDispatcher();this[_0xe18c('0x139')]=new EventDispatcher();this[_0xe18c('0x13a')]=new EventDispatcher();this[_0xe18c('0x13b')]=new EventDispatcher();this[_0xe18c('0x13c')]=new EventDispatcher();this[_0xe18c('0x13d')]=new EventDispatcher();this[_0xe18c('0x13e')]=new EventDispatcher();this[_0xe18c('0x13f')]=new EventDispatcher();this[_0xe18c('0x140')]=new EventDispatcher();this[_0xe18c('0x141')]=new EventDispatcher();this[_0xe18c('0x142')]=new EventDispatcher();this['_customDrawCell']=new EventDispatcher();this[_0xe18c('0x143')]=new EventDispatcher();this[_0xe18c('0x144')]=new EventDispatcher();this[_0xe18c('0x145')]=e=>this['onScroll'](e);this[_0xe18c('0x146')]=e=>this[_0xe18c('0x147')](e);}get[_0xe18c('0xf2')](){return this['_element'][_0xe18c('0xc8')](_0xe18c('0x148'));}get[_0xe18c('0x149')](){return this[_0xe18c('0xd1')]['querySelector'](_0xe18c('0x14a'));}get[_0xe18c('0xe9')](){return this[_0xe18c('0xd1')][_0xe18c('0xc8')]('.mfdv-grid-data-table');}get['visibleRows'](){return this[_0xe18c('0x4c')][_0xe18c('0xe8')];}get[_0xe18c('0xa4')](){return this[_0xe18c('0x4c')]['visibleCells'];}['detach'](){this[_0xe18c('0x14b')][_0xe18c('0x14c')](_0xe18c('0x14b'),this['_scrollHandler']);window[_0xe18c('0x14c')](_0xe18c('0x14d'),this[_0xe18c('0x14e')]);document[_0xe18c('0x14c')](_0xe18c('0x14f'),this[_0xe18c('0x146')]);document['removeEventListener']('DOMMouseScroll',this[_0xe18c('0x146')]);document['removeEventListener'](_0xe18c('0x150'),this['mouseWheelHandler']);super['detach']();}[_0xe18c('0xb')](element){if(element)this[_0xe18c('0xd1')]=element;this[_0xe18c('0x4c')]['renderGrid']();var headerHeight=DomUtils[_0xe18c('0x100')](this[_0xe18c('0x149')])[_0xe18c('0x101')];var sbSize=DomUtils[_0xe18c('0x151')]();var wrapper=this['_element']['querySelector']('.mfdv-grid-content-wrapper');wrapper[_0xe18c('0x7b')][_0xe18c('0x152')]=sbSize+'px';var ctop=this[_0xe18c('0xd1')][_0xe18c('0xc8')](_0xe18c('0x153'));ctop[_0xe18c('0x7b')]['width']=sbSize+'px';ctop[_0xe18c('0x7b')]['height']=headerHeight+'px';this[_0xe18c('0x14b')]=this[_0xe18c('0xd1')][_0xe18c('0xc8')]('.mfdv-grid-scroll-wrapper');this['scroll'][_0xe18c('0x7b')][_0xe18c('0x109')]=sbSize+'px';this['scroll']['style'][_0xe18c('0x154')]=headerHeight+'px';this['calcScrollFix']();this[_0xe18c('0x155')]();this[_0xe18c('0x14b')]['addEventListener'](_0xe18c('0x14b'),this[_0xe18c('0x145')]);this['initColumnWidths']();this[_0xe18c('0x14e')]=e=>this[_0xe18c('0x156')](e);window[_0xe18c('0xc')](_0xe18c('0x14d'),this[_0xe18c('0x14e')]);document[_0xe18c('0xc')](_0xe18c('0x14f'),this['mouseWheelHandler'],{'passive':![]});document['addEventListener'](_0xe18c('0x157'),this['mouseWheelHandler'],{'passive':![]});document[_0xe18c('0xc')](_0xe18c('0x150'),this[_0xe18c('0x146')],{'passive':![]});super[_0xe18c('0xb')]();}[_0xe18c('0x158')](){this[_0xe18c('0x159')]();this[_0xe18c('0x124')]();this[_0xe18c('0x135')]=document[_0xe18c('0x15a')]===this[_0xe18c('0xe9')]||DomUtils[_0xe18c('0x15b')](document['activeElement'],this['dataTable']);}[_0xe18c('0xf0')](){var model=this[_0xe18c('0x23')];if(model){var header=this[_0xe18c('0xd1')][_0xe18c('0xc8')](_0xe18c('0x14a'));header[_0xe18c('0xc')](_0xe18c('0x15c'),e=>{this[_0xe18c('0x15d')](e);});header['addEventListener'](_0xe18c('0x15e'),e=>{this[_0xe18c('0x15f')](e);});var columnHeaders=[...header[_0xe18c('0xec')](_0xe18c('0x160'))];for(let c=0x0;c<model[_0xe18c('0x97')];c++){var th=columnHeaders[c];th['addEventListener'](_0xe18c('0x161'),e=>{this['columnHeaderContextMenu'](e);});th[_0xe18c('0xc')](_0xe18c('0x162'),e=>{this[_0xe18c('0x163')](e);});th[_0xe18c('0xc')](_0xe18c('0xa'),e=>{this[_0xe18c('0x164')](e);});var cells=[...this[_0xe18c('0xd1')][_0xe18c('0xec')](_0xe18c('0xed')+c+'\x27]')];cells[_0xe18c('0x165')](cell=>{cell[_0xe18c('0xc')](_0xe18c('0xa'),e=>{this[_0xe18c('0x166')](e);});});this['setColumnWidth'](c,this[_0xe18c('0x167')](c));}var table=this['_element'][_0xe18c('0xc8')]('.mfdv-grid-data-table');var rowHeaders=[...table['querySelectorAll'](_0xe18c('0x116'))];rowHeaders[_0xe18c('0x165')](r=>{r[_0xe18c('0xc')](_0xe18c('0x161'),e=>{this[_0xe18c('0x168')](e);});r['addEventListener'](_0xe18c('0x162'),e=>{this['rowHeaderMouseDown'](e);});});table[_0xe18c('0xc')](_0xe18c('0x169'),e=>{this[_0xe18c('0x16a')](e,model);});table[_0xe18c('0xc')]('keyup',e=>{this[_0xe18c('0x16b')](e,model);});}this['rowHeight']=DomUtils['getBounds'](this['dataTable'][_0xe18c('0xea')][0x0])[_0xe18c('0x101')];this[_0xe18c('0x16c')]=this['dataTable'][_0xe18c('0xea')][_0xe18c('0x26')];if(!this['allowAppend'])this[_0xe18c('0x16c')]--;if(this[_0xe18c('0x16d')])this[_0xe18c('0x155')]();if(this[_0xe18c('0x135')])this[_0xe18c('0xe9')][_0xe18c('0x121')]();if(this[_0xe18c('0x16e')]!=null&&this[_0xe18c('0x16f')](this[_0xe18c('0x16e')][_0xe18c('0x11')])){this['scrollFix'](this[_0xe18c('0x16e')]['row']-this[_0xe18c('0x110')]);if(this[_0xe18c('0x170')])this[_0xe18c('0x16e')][_0xe18c('0x121')]();}this[_0xe18c('0x171')]=![];this[_0xe18c('0x172')]();}[_0xe18c('0x63')](){super[_0xe18c('0x63')]();DomUtils['addCssClass'](this['_element'],_0xe18c('0x173'));var grid=this[_0xe18c('0xd1')];var scroll=document[_0xe18c('0x1')](_0xe18c('0x7a'));scroll['className']='mfdv-grid-scroll-wrapper';grid[_0xe18c('0x29')](scroll);var scrollSpacer=document[_0xe18c('0x1')]('div');scroll[_0xe18c('0x29')](scrollSpacer);var scrollCorner=document[_0xe18c('0x1')](_0xe18c('0x7a'));scrollCorner[_0xe18c('0x7')]='mfdv-grid-scroll-corner-top';scroll[_0xe18c('0x29')](scrollCorner);var scrollCorner=document['createElement'](_0xe18c('0x7a'));scrollCorner['className']=_0xe18c('0x174');scroll['appendChild'](scrollCorner);var body=document[_0xe18c('0x1')](_0xe18c('0x7a'));body[_0xe18c('0x7')]=_0xe18c('0x175');var wrap=document['createElement'](_0xe18c('0x7a'));wrap['className']=_0xe18c('0x176');body[_0xe18c('0x29')](wrap);grid['appendChild'](body);return this[_0xe18c('0xd1')];}async['refresh'](selected){return new Promise(function(resolve,reject){this['isRepainting']=!![];if(selected)this[_0xe18c('0x4c')]['refreshRows'](this[_0xe18c('0x177')][0x0],this[_0xe18c('0x177')][_0xe18c('0x26')]-0x1);else this['invalidateDom']();DomUtils[_0xe18c('0x178')](()=>{return this[_0xe18c('0xf1')]==![];},()=>{resolve();});}[_0xe18c('0x75')](this));}[_0xe18c('0x179')](row,column,moveBackwards){this[_0xe18c('0x17a')](row,column,moveBackwards);}[_0xe18c('0x17b')](row,column){this[_0xe18c('0x118')]['cells']=[{'row':this[_0xe18c('0x89')](row),'column':column}];}[_0xe18c('0x17c')](index,count){if(index===undefined||index==null)return;var selection=[];for(var i=index;i<index+(count||0x1);i++){selection[_0xe18c('0xdc')](this['getRowKey'](i));}this['setRowSelection'](selection);}get[_0xe18c('0x177')](){if(this[_0xe18c('0x118')][_0xe18c('0x10c')][_0xe18c('0x26')])return[this[_0xe18c('0x8a')](this['selection'][_0xe18c('0x10c')][0x0]['row'])];var indices=[];this[_0xe18c('0x118')][_0xe18c('0x105')][_0xe18c('0x165')](r=>{indices[_0xe18c('0xdc')](this['getKeyRow'](r));});return indices;}get[_0xe18c('0x17d')](){if(this[_0xe18c('0x118')][_0xe18c('0x10c')][_0xe18c('0x26')]){var row=this[_0xe18c('0x8a')](this[_0xe18c('0x118')][_0xe18c('0x10c')][0x0]['row']);return[new GridCell(this,row,this[_0xe18c('0x118')][_0xe18c('0x10c')][0x0][_0xe18c('0x1c')])];}return[];}[_0xe18c('0x17e')](){this[_0xe18c('0x4c')][_0xe18c('0xdb')]();}async[_0xe18c('0xa6')](index,count){return new Promise(function(resolve,reject){var model=this['effectiveModel'];if(model){this[_0xe18c('0xf1')]=!![];this[_0xe18c('0x4c')][_0xe18c('0xa6')](index,count||0x1);DomUtils['waitFor'](()=>{return this[_0xe18c('0xf1')]==![];},()=>{resolve();});}else reject('Model\x20is\x20undefined.');}[_0xe18c('0x75')](this));}async[_0xe18c('0x48')](rowData,index){return new Promise(function(resolve,reject){var model=this[_0xe18c('0x23')];if(model){var newValues=new Map(Object[_0xe18c('0x17f')](rowData)[_0xe18c('0xde')](e=>e[0x1]!=undefined));if(this[_0xe18c('0x49')](model[_0xe18c('0x24')],RowAction['Create'],rowData,null,newValues)){this[_0xe18c('0xf1')]=!![];var newRow=model['addRow'](rowData,index);if(this[_0xe18c('0x16e')])this[_0xe18c('0x16e')][_0xe18c('0x12a')](newRow);newValues=new Map(Object['entries'](rowData)['filter'](e=>e[0x1]!=undefined));this[_0xe18c('0xfe')](newRow,RowAction[_0xe18c('0x180')],null,null,newValues);this['updateScrollRange']();this['bringRowIntoView'](newRow);this['renderer']['onRowCreated']();DomUtils[_0xe18c('0x178')](()=>{return this[_0xe18c('0xf1')]==![];},()=>{if(!this['focusedCell']){this[_0xe18c('0x17a')](newRow,0x0);}resolve(newRow);});}else resolve();}else reject('Model\x20is\x20undefined.');}[_0xe18c('0x75')](this));}async[_0xe18c('0x181')](index,count){return new Promise(function(resolve,reject){var model=this[_0xe18c('0x23')];if(model){this[_0xe18c('0xf1')]=!![];this[_0xe18c('0xa1')](index,count||0x1);DomUtils[_0xe18c('0x178')](()=>{return this[_0xe18c('0xf1')]==![];},()=>{resolve();});}else reject(_0xe18c('0x182'));}['bind'](this));}['removeRowRange'](index,count){var model=this[_0xe18c('0x23')];if(model){var i=index+count-0x1;while(i>=index){var rowData=this[_0xe18c('0x23')][_0xe18c('0x28')](i);if(this[_0xe18c('0x49')](i,RowAction[_0xe18c('0xa0')])){var row=this['getRowKey'](i);if(this[_0xe18c('0x118')][_0xe18c('0x105')][_0xe18c('0x106')](row))this[_0xe18c('0x118')][_0xe18c('0x105')][_0xe18c('0x95')](this[_0xe18c('0x118')][_0xe18c('0x105')][_0xe18c('0xda')](row),0x1);model[_0xe18c('0x96')](i);var oldValues=new Map(Object[_0xe18c('0x17f')](rowData));this[_0xe18c('0xfe')](-0x1,RowAction[_0xe18c('0xa0')],null,oldValues);}i--;}this['scrollRangeInvalid']=!![];this[_0xe18c('0x4c')][_0xe18c('0xa8')]();}}[_0xe18c('0x183')](index,sortAscending){if(index==null){this[_0xe18c('0xdf')]=-0x1;return;}if(this[_0xe18c('0xdf')]==index){this[_0xe18c('0xe0')]=sortAscending!==undefined?sortAscending:!this[_0xe18c('0xe0')];}else{this[_0xe18c('0xdf')]=index;this[_0xe18c('0xe0')]=sortAscending!==undefined?sortAscending:!![];}}[_0xe18c('0x184')](){this[_0xe18c('0x14b')][_0xe18c('0x7b')][_0xe18c('0x101')]=this[_0xe18c('0x185')]+'px';this[_0xe18c('0x186')]=this[_0xe18c('0xff')]-this['contentClientHeight']%this['rowHeight'];}[_0xe18c('0x155')](){var model=this[_0xe18c('0x23')];if(model){var scrollRange=this['rowHeight']*(model[_0xe18c('0x24')]+0x1);this[_0xe18c('0x14b')][_0xe18c('0xea')][0x0][_0xe18c('0x7b')][_0xe18c('0x101')]=scrollRange+'px';this[_0xe18c('0x187')]=this['rowHeight'];this[_0xe18c('0x16d')]=![];}}[_0xe18c('0x188')](){if(!this[_0xe18c('0x132')]){var columnHeaders=[...this['header'][_0xe18c('0xec')](_0xe18c('0x160'))];var w=DomUtils[_0xe18c('0x100')](columnHeaders[0x0])[_0xe18c('0x109')];var c=this[_0xe18c('0x149')]['querySelector'](_0xe18c('0x189'));c['style'][_0xe18c('0xfb')]=_0xe18c('0x18a');c[_0xe18c('0x7b')][_0xe18c('0x109')]=this[_0xe18c('0xf7')]+'px';this[_0xe18c('0x132')]=new Array(this[_0xe18c('0x23')][_0xe18c('0x97')]);for(var i=0x0;i<this[_0xe18c('0x132')][_0xe18c('0x26')];i++){this[_0xe18c('0x18b')](i,w);}}}[_0xe18c('0x18c')](clientX,column){var columnHeaders=[...this[_0xe18c('0x149')][_0xe18c('0xec')](_0xe18c('0x160'))];var dx=clientX-DomUtils[_0xe18c('0x100')](columnHeaders[column])['left']();this[_0xe18c('0x18b')](column,dx);this['onResize']();}get[_0xe18c('0x18d')](){return this[_0xe18c('0x23')];}set[_0xe18c('0x18d')](value){if(this[_0xe18c('0x12d')]!=value){if(this[_0xe18c('0x16e')]){this['focusedCell'][_0xe18c('0x12a')]();}this[_0xe18c('0x18e')]=null;this[_0xe18c('0x12d')]=value;if(this[_0xe18c('0x18f')]){this[_0xe18c('0x16d')]=!![];this[_0xe18c('0x17e')]();}}}[_0xe18c('0x190')](){this[_0xe18c('0x110')]=0x0;var model=this[_0xe18c('0x12d')];this[_0xe18c('0x18d')]=null;this['model']=model;}get[_0xe18c('0x23')](){this[_0xe18c('0x191')]();if(this[_0xe18c('0x18e')]!=null)return this['_proxyModel'];return this[_0xe18c('0x12d')];}[_0xe18c('0x191')](){if(this[_0xe18c('0x18e')]==null&&this['_model']!=null){if(this[_0xe18c('0xd6')]>-0x1||this[_0xe18c('0xd5')]!=null){this[_0xe18c('0x18e')]=new ProxyModel(this[_0xe18c('0x12d')]);this[_0xe18c('0x18e')]['filter']=this[_0xe18c('0xd5')];this['_proxyModel']['sortedColumn']=this[_0xe18c('0xd6')];this[_0xe18c('0x18e')][_0xe18c('0xe0')]=this[_0xe18c('0xd7')];}}}get[_0xe18c('0x125')](){return this[_0xe18c('0x12e')];}set[_0xe18c('0x125')](value){if(this[_0xe18c('0x12e')]!=value){this[_0xe18c('0x12e')]=value;}}get['allowAppend'](){return this[_0xe18c('0x12f')];}set[_0xe18c('0x104')](value){if(this[_0xe18c('0x12f')]!=value){this[_0xe18c('0x12f')]=value;}}get[_0xe18c('0x192')](){return this[_0xe18c('0x193')];}set[_0xe18c('0x192')](value){if(this[_0xe18c('0x193')]!=value){this[_0xe18c('0x193')]=value;}}get[_0xe18c('0x170')](){return this['_allowCellSelect'];}set['allowCellSelect'](value){if(this[_0xe18c('0x130')]!=value){this[_0xe18c('0x130')]=value;}}get[_0xe18c('0x194')](){return this['_allowScroll'];}set['allowScroll'](value){if(this[_0xe18c('0x131')]!=value){this[_0xe18c('0x131')]=value;}}get[_0xe18c('0xde')](){return this[_0xe18c('0xd5')];}set[_0xe18c('0xde')](value){if(this[_0xe18c('0xd5')]!=value){this[_0xe18c('0x18e')]=null;this[_0xe18c('0xd5')]=value;this[_0xe18c('0x16d')]=!![];this['invalidateDom']();}}get[_0xe18c('0xdf')](){return this[_0xe18c('0xd6')];}set['sortedColumn'](value){if(this['_sortedColumn']!=value){this['_proxyModel']=null;this[_0xe18c('0xd6')]=value;this[_0xe18c('0x4c')]['onSort']();}}get[_0xe18c('0xe0')](){return this['_sortAscending'];}set[_0xe18c('0xe0')](value){if(this['_sortAscending']!=value){this[_0xe18c('0x18e')]=null;this[_0xe18c('0xd7')]=value;if(this[_0xe18c('0xd6')]>-0x1)this[_0xe18c('0x4c')][_0xe18c('0xab')]();}}get[_0xe18c('0x110')](){return this['_scrollRow'];}set[_0xe18c('0x110')](value){if(this[_0xe18c('0x195')]!=value){if(value>-0x1&&value<this[_0xe18c('0x18d')][_0xe18c('0x24')])this[_0xe18c('0x195')]=value;if(this[_0xe18c('0x18f')]){this[_0xe18c('0x196')](this['_scrollRow']);this[_0xe18c('0x4c')][_0xe18c('0xa9')]();}}}[_0xe18c('0xa9')](e){if(!this[_0xe18c('0x194')]){e[_0xe18c('0x3d')]();return![];}var scrollPos=this['scroll'][_0xe18c('0x197')];var row=Math[_0xe18c('0x198')](scrollPos/this[_0xe18c('0x187')]);this['scrollRow']=row;}['headerMouseOver'](e){if(typeof e[_0xe18c('0x72')][_0xe18c('0x22')][_0xe18c('0x1c')]!==_0xe18c('0x2e')&&e[_0xe18c('0x199')]>DomUtils[_0xe18c('0x100')](e[_0xe18c('0x72')])[_0xe18c('0x152')]()-0x14)e[_0xe18c('0x72')][_0xe18c('0x7b')][_0xe18c('0x19a')]=_0xe18c('0x19b');else e[_0xe18c('0x72')][_0xe18c('0x7b')][_0xe18c('0x19a')]='auto';}[_0xe18c('0x15f')](e){e[_0xe18c('0x72')][_0xe18c('0x7b')]['cursor']=_0xe18c('0x19c');}['columnHeaderContextMenu'](e){e[_0xe18c('0x3d')]();var c=parseInt(e['currentTarget']['dataset'][_0xe18c('0x1c')]);if(!this[_0xe18c('0x23')][_0xe18c('0x90')](c))return;var items=[{'title':'Sort\x20Ascending','data':c},{'title':_0xe18c('0x19d'),'data':c},{'title':_0xe18c('0x19e'),'data':c}];this[_0xe18c('0x159')]();var b=DomUtils['getRelativeBounds'](e[_0xe18c('0x19f')],this[_0xe18c('0x149')]);new Menu();this[_0xe18c('0x1a0')]=Dialogs[_0xe18c('0x1a1')](items,b[_0xe18c('0x1a2')](),this[_0xe18c('0x1a3')][_0xe18c('0x75')](this),this[_0xe18c('0x126')],this[_0xe18c('0x5c')]);}[_0xe18c('0x163')](e){var c=parseInt(e[_0xe18c('0x19f')]['dataset']['column']);if(e[_0xe18c('0x199')]>DomUtils[_0xe18c('0x100')](e[_0xe18c('0x19f')])['right']()-0x14){e[_0xe18c('0x3d')]();let resizeHandler=e=>this['resizeColumn'](e[_0xe18c('0x199')],c);var resizeEndHandler=()=>{window[_0xe18c('0x14c')]('mousemove',resizeHandler);window[_0xe18c('0x14c')](_0xe18c('0x1a4'),resizeEndHandler);};window[_0xe18c('0xc')]('mousemove',resizeHandler);window['addEventListener'](_0xe18c('0x1a4'),resizeEndHandler);}}[_0xe18c('0x164')](e){var c=parseInt(e[_0xe18c('0x19f')]['dataset'][_0xe18c('0x1c')]);this['focusedCell']=null;this[_0xe18c('0x124')]();if(!this[_0xe18c('0x23')]['columnSortable'](c))return;this[_0xe18c('0x183')](c);}[_0xe18c('0x1a5')](e){if(e['button']===0x2)return;e[_0xe18c('0x3d')]();this[_0xe18c('0x16e')]=null;var index=parseInt(e[_0xe18c('0x72')]['dataset'][_0xe18c('0x11')]);var selection=this[_0xe18c('0x118')][_0xe18c('0x105')];var row=this['getRowKey'](index);if(e[_0xe18c('0x40')]&&selection[_0xe18c('0x26')]){var sindex=this[_0xe18c('0x8a')](selection[0x0]);var s=Math[_0xe18c('0x1a6')](sindex,index);var e=Math[_0xe18c('0x1a7')](sindex,index);selection=[];for(var i=s;i<=e;i++){selection[_0xe18c('0xdc')](this['getRowKey'](i));}this[_0xe18c('0x1a8')](selection);}else if(e[_0xe18c('0x39')]){if(!selection['includes'](row))selection['push'](row);else selection[_0xe18c('0x95')](selection['indexOf'](row),0x1);this[_0xe18c('0x1a8')](selection);}else{this[_0xe18c('0x1a8')]([row]);}}['rowHeaderContextMenu'](e){if(!this['_allowAppend']&&!this[_0xe18c('0x193')])return;e[_0xe18c('0x3d')]();var items=[];var items=[{'title':_0xe18c('0x1a9'),'enabled':this[_0xe18c('0x104')]},{'title':this[_0xe18c('0x177')][_0xe18c('0x26')]>0x1?_0xe18c('0x1aa'):_0xe18c('0x1ab'),'enabled':this[_0xe18c('0x192')]&&this[_0xe18c('0x177')]['length']}];this[_0xe18c('0x159')]();var b=DomUtils[_0xe18c('0x100')](e[_0xe18c('0x19f')],this['element']);this[_0xe18c('0x1a0')]=Dialogs[_0xe18c('0x1a1')](items,b['topRight'](),this[_0xe18c('0x1a3')][_0xe18c('0x75')](this),this['element'],this[_0xe18c('0x5c')]);}[_0xe18c('0x1a3')](item){if(item){var model=this[_0xe18c('0x23')];if(model){if(item[_0xe18c('0x1ac')]==_0xe18c('0x1a9')){this[_0xe18c('0x17a')](model['rowCount'],0x0);this[_0xe18c('0x16d')]=!![];this['invalidateDom']();}else if(item[_0xe18c('0x1ac')]['indexOf'](_0xe18c('0x1ab'))>-0x1){var indices=this[_0xe18c('0x177')];indices['sort']((a,b)=>a-b);var i=indices[_0xe18c('0x26')];while(i--){this[_0xe18c('0xa1')](indices[i],0x1);}}else if(item[_0xe18c('0x1ac')]==_0xe18c('0x1ad')){this[_0xe18c('0x183')](item[_0xe18c('0x1ae')],!![]);}else if(item[_0xe18c('0x1ac')]==_0xe18c('0x19d')){this[_0xe18c('0x183')](item['data'],![]);}else if(item[_0xe18c('0x1ac')]==_0xe18c('0x19e')){this[_0xe18c('0x183')](null);}}this['contextMenu'][_0xe18c('0x1af')]();}this['contextMenu']=null;}[_0xe18c('0x16a')](e){var model=this[_0xe18c('0x23')];var keys=[0x9,0x21,0x22,0x23,0x24,0x25,0x26,0x27,0x28];if(keys[_0xe18c('0x106')](e['keyCode']))e[_0xe18c('0x3d')]();switch(e[_0xe18c('0x3f')]){case 0x9:{if(e['shiftKey']==!![]){if(this[_0xe18c('0x1b0')]){if(this[_0xe18c('0x170')])this['moveFocusedCellLeft']();else this[_0xe18c('0x17a')](this['focusedItem'][_0xe18c('0x11')]-0x1,this[_0xe18c('0x1b0')][_0xe18c('0x1c')]);}}else{if(this[_0xe18c('0x1b0')]){if(this[_0xe18c('0x170')])this[_0xe18c('0x1b1')]();else this['moveFocusedCell'](this[_0xe18c('0x1b0')][_0xe18c('0x11')]+0x1,this[_0xe18c('0x1b0')][_0xe18c('0x1c')]);}}break;}case 0x21:{if(this[_0xe18c('0x1b0')]){if(this[_0xe18c('0x1b0')][_0xe18c('0x11')]-this[_0xe18c('0x16c')]<=0x0)this[_0xe18c('0x17a')](0x0,this[_0xe18c('0x1b0')][_0xe18c('0x1c')]);else{this[_0xe18c('0x17a')](this[_0xe18c('0x1b0')][_0xe18c('0x11')]-this[_0xe18c('0x16c')],this[_0xe18c('0x1b0')][_0xe18c('0x1c')]);this[_0xe18c('0x196')](this['focusedItem']['row']);}}break;}case 0x22:{if(this[_0xe18c('0x1b0')]){if(this[_0xe18c('0x1b0')][_0xe18c('0x11')]+this['rowsCount']>=this[_0xe18c('0x1b2')])this['moveFocusedCell'](this[_0xe18c('0x1b2')],this[_0xe18c('0x1b0')]['column']);else{this[_0xe18c('0x17a')](this['focusedItem'][_0xe18c('0x11')]+this[_0xe18c('0x16c')],this['focusedItem'][_0xe18c('0x1c')]);this['scrollToRow'](this['focusedItem'][_0xe18c('0x11')]);}}break;}case 0x23:{if(e[_0xe18c('0x39')]==!![]){this[_0xe18c('0x17a')](this[_0xe18c('0x1b2')],model[_0xe18c('0x97')]-0x1);break;}if(this[_0xe18c('0x1b0')]){this[_0xe18c('0x17a')](this['focusedItem']['row'],model['columnCount']-0x1);}break;}case 0x24:{if(e[_0xe18c('0x39')]==!![]){this[_0xe18c('0x17a')](0x0,0x0);break;}if(this[_0xe18c('0x16e')]){this['moveFocusedCell'](this[_0xe18c('0x1b0')][_0xe18c('0x11')],0x0);}break;}case 0x25:{if(this[_0xe18c('0x1b0')]){if(this[_0xe18c('0x170')])this[_0xe18c('0x1b3')]();else this[_0xe18c('0x17a')](this[_0xe18c('0x1b0')][_0xe18c('0x11')]-0x1,this[_0xe18c('0x1b0')][_0xe18c('0x1c')]);}break;}case 0x27:{if(this[_0xe18c('0x1b0')]){if(this[_0xe18c('0x170')])this[_0xe18c('0x1b1')]();else{if(this[_0xe18c('0x1b0')][_0xe18c('0x11')]<this[_0xe18c('0x1b2')])this[_0xe18c('0x17a')](this[_0xe18c('0x1b0')][_0xe18c('0x11')]+0x1,this['focusedItem'][_0xe18c('0x1c')]);}}break;}case 0x26:{if(this[_0xe18c('0x1b0')]){if(e[_0xe18c('0x39')]==!![]){this['moveFocusedCell'](0x0,this['focusedItem']['column']);break;}if(this[_0xe18c('0x1b0')][_0xe18c('0x11')]>0x0)this[_0xe18c('0x17a')](this[_0xe18c('0x1b0')][_0xe18c('0x11')]-0x1,this[_0xe18c('0x1b0')][_0xe18c('0x1c')]);}break;}case 0x28:{if(this[_0xe18c('0x1b0')]){if(e[_0xe18c('0x39')]==!![]){this[_0xe18c('0x17a')](this[_0xe18c('0x1b2')],this[_0xe18c('0x1b0')][_0xe18c('0x1c')]);break;}if(this[_0xe18c('0x1b0')][_0xe18c('0x11')]<this['lastRowIndex'])this['moveFocusedCell'](this[_0xe18c('0x1b0')]['row']+0x1,this[_0xe18c('0x1b0')]['column']);}break;}}}[_0xe18c('0x16b')](e){var model=this['effectiveModel'];if(e[_0xe18c('0x39')]==!![]&&this[_0xe18c('0x16e')]){if(e['keyCode']==0x21){e[_0xe18c('0x3d')]();this[_0xe18c('0x17a')](this[_0xe18c('0x16e')][_0xe18c('0x11')],0x0);}else if(e[_0xe18c('0x3f')]==0x22){e[_0xe18c('0x3d')]();this['moveFocusedCell'](this[_0xe18c('0x16e')][_0xe18c('0x11')],model[_0xe18c('0x97')]-0x1);}}}[_0xe18c('0x166')](e){var row=parseInt(e[_0xe18c('0x19f')][_0xe18c('0x22')][_0xe18c('0x11')]);if(!this[_0xe18c('0x170')]){this['focusedCell']=null;this['selectRows'](row);return;}if(this[_0xe18c('0x16e')]&&e[_0xe18c('0x19f')]===this[_0xe18c('0x16e')][_0xe18c('0x126')])return;this[_0xe18c('0x16e')]=new GridCell(this,row,parseInt(e['currentTarget'][_0xe18c('0x22')]['column']));this[_0xe18c('0x16e')][_0xe18c('0x121')]();}['getFocusableCell'](row,column,back){var c;var count=this[_0xe18c('0x23')][_0xe18c('0x97')];while(!![]){if(column>=count){column=0x0;back?row--:row++;}if(column<0x0){column=count-0x1;back?row--:row++;}if(this[_0xe18c('0x23')][_0xe18c('0x8e')](column)){c=column;break;}back?column--:column++;}if(c!=null){var nc={'row':row,'column':c};if(row>-0x1&&row<=this[_0xe18c('0x1b2')])return nc;}return null;}[_0xe18c('0x17a')](row,column,back){if(this[_0xe18c('0x170')]){var newCell=this[_0xe18c('0x1b4')](row,column,back);if(newCell){this[_0xe18c('0x16e')]=new GridCell(this,newCell['row'],newCell[_0xe18c('0x1c')]);if(this[_0xe18c('0xf1')])return;this[_0xe18c('0x16e')][_0xe18c('0x121')]();}}else{if(this['isRepainting'])this[_0xe18c('0x17c')](row);else this[_0xe18c('0x1b5')](row)['then'](()=>{this[_0xe18c('0x17c')](row);});}}[_0xe18c('0x1b3')](){if(this[_0xe18c('0x16e')])this[_0xe18c('0x17a')](this['focusedCell']['row'],this[_0xe18c('0x16e')][_0xe18c('0x1c')]-0x1,!![]);}[_0xe18c('0x1b1')](){if(this['focusedCell'])this[_0xe18c('0x17a')](this[_0xe18c('0x16e')][_0xe18c('0x11')],this['focusedCell'][_0xe18c('0x1c')]+0x1);}get[_0xe18c('0x1b0')](){if(this[_0xe18c('0x16e')])return this[_0xe18c('0x16e')];if(this[_0xe18c('0x177')]['length'])return{'row':this[_0xe18c('0x177')][0x0],'column':0x0};return null;}[_0xe18c('0x11a')](row,column){return this[_0xe18c('0xa4')][column][row-this[_0xe18c('0x110')]];}[_0xe18c('0x1b6')](row){return this[_0xe18c('0xe8')][row-this[_0xe18c('0x110')]];}['isRowVisible'](row){if(row>=this[_0xe18c('0x110')]&&row<this[_0xe18c('0x110')]+this[_0xe18c('0x16c')])return!![];return![];}[_0xe18c('0x119')](row,column){return this[_0xe18c('0x16f')](row);}[_0xe18c('0x122')](row){var relRow=Math[_0xe18c('0x1b7')](this['scrollRow']-row);if(!this[_0xe18c('0x16f')](row)){this[_0xe18c('0xf1')]=!![];if(relRow==0x1){this[_0xe18c('0x196')](row);}else{this[_0xe18c('0x196')](row-this[_0xe18c('0x16c')]+0x1);}}this[_0xe18c('0x1b8')](Math['abs'](this['scrollRow']-row));}async[_0xe18c('0x1b5')](row){return new Promise(function(resolve,reject){var relRow=Math[_0xe18c('0x1b7')](this['scrollRow']-row);if(!this['isRowVisible'](row)){this['isRepainting']=!![];if(relRow==0x1){this[_0xe18c('0x196')](row);}else{this[_0xe18c('0x196')](row-this[_0xe18c('0x16c')]+0x1);}}if(this[_0xe18c('0xf1')]){DomUtils[_0xe18c('0x178')](()=>{return this['isRepainting']==![];},()=>{this[_0xe18c('0x1b8')](Math['abs'](this[_0xe18c('0x110')]-row));resolve();});}else{resolve();}}[_0xe18c('0x75')](this));}[_0xe18c('0x1b8')](row){if(row!=0x0&&row!=this[_0xe18c('0x16c')]-0x1)return;if(row==0x0)this[_0xe18c('0xe9')][_0xe18c('0x7b')][_0xe18c('0x1b9')]='';if(row==this[_0xe18c('0x16c')]-0x1){if(this[_0xe18c('0xff')]*(row+0x1)>this[_0xe18c('0x102')]){this[_0xe18c('0xe9')][_0xe18c('0x7b')]['transform']=_0xe18c('0x1ba')+this[_0xe18c('0x186')]+_0xe18c('0x1bb');}else this[_0xe18c('0xe9')][_0xe18c('0x7b')][_0xe18c('0x1b9')]='';}}[_0xe18c('0x196')](row){this['scroll'][_0xe18c('0x197')]=row*this[_0xe18c('0x187')];}get[_0xe18c('0x16e')](){return this[_0xe18c('0x133')];}set[_0xe18c('0x16e')](value){if(this[_0xe18c('0x133')]==value)return;this[_0xe18c('0x133')]=value;}[_0xe18c('0x124')](){if(this[_0xe18c('0x134')]!=null){if(this[_0xe18c('0x134')]['dispose']){if(this['_activeEditor'][_0xe18c('0x1bc')])this[_0xe18c('0x134')][_0xe18c('0x1bc')]();this[_0xe18c('0x134')][_0xe18c('0x1af')]();}else{this['_activeEditor'][_0xe18c('0x42')]();DomUtils[_0xe18c('0x1bd')](this[_0xe18c('0x134')]);}}this[_0xe18c('0x134')]=null;}get[_0xe18c('0x128')](){return this['_activeEditor'];}set[_0xe18c('0x128')](value){this[_0xe18c('0x124')]();this[_0xe18c('0x134')]=value;if(this[_0xe18c('0x134')]){if(this[_0xe18c('0x134')][_0xe18c('0x126')])this[_0xe18c('0x134')][_0xe18c('0x126')][_0xe18c('0x121')]();else this['_activeEditor']['focus']();}}get[_0xe18c('0x1b2')](){var r=this[_0xe18c('0x23')][_0xe18c('0x24')];if(!this[_0xe18c('0x104')])r--;return r;}get['contentHeight'](){var header=this[_0xe18c('0xd1')][_0xe18c('0xc8')](_0xe18c('0x14a'));var h=DomUtils['getBounds'](header);return this[_0xe18c('0xd1')][_0xe18c('0xc8')](_0xe18c('0x1be'))[_0xe18c('0x1bf')]-h[_0xe18c('0x101')];}get[_0xe18c('0x102')](){var header=this['_element'][_0xe18c('0xc8')](_0xe18c('0x14a'));var h=DomUtils[_0xe18c('0x100')](header);return this[_0xe18c('0xd1')][_0xe18c('0xc8')](_0xe18c('0x1be'))[_0xe18c('0x1c0')]-h[_0xe18c('0x101')];}[_0xe18c('0x167')](column){if(this[_0xe18c('0x132')])return this['_columnWidths'][column];return null;}[_0xe18c('0x18b')](column,width){if(!this[_0xe18c('0x149')]||width==null)return;width=Math[_0xe18c('0x1a7')](0x0,width);var header=this['header']['querySelector'](_0xe18c('0x1c1')+column+'\x22]');header[_0xe18c('0x7b')][_0xe18c('0x109')]=width+'px';header[_0xe18c('0x7b')][_0xe18c('0xfb')]=_0xe18c('0x18a');var cells=[...this[_0xe18c('0xd1')]['querySelectorAll'](_0xe18c('0xed')+column+'\x27]')];for(var cell of cells)cell[_0xe18c('0x7b')][_0xe18c('0x109')]=width+'px';this[_0xe18c('0x132')][column]=width;}[_0xe18c('0x1c2')](x,y,items){this['disposeContextMenu']();var menu=document[_0xe18c('0x1')](_0xe18c('0x7a'));menu[_0xe18c('0x7')]='mfdv-grid-context-menu';DomUtils[_0xe18c('0x1c3')](menu,{'x':x,'y':y});for(var item of items){if(item){var content=document[_0xe18c('0x1')]('div');content[_0xe18c('0x29')](document['createTextNode'](item['displayText']));content[_0xe18c('0xc')](_0xe18c('0x162'),item[_0xe18c('0xd3')]);menu[_0xe18c('0x29')](content);}else{menu[_0xe18c('0x29')](document[_0xe18c('0x1')]('hr'));}}var disposeMenuHandler=()=>{this[_0xe18c('0x159')]();this[_0xe18c('0x126')][_0xe18c('0x14c')](_0xe18c('0x162'),disposeMenuHandler);};this[_0xe18c('0x126')][_0xe18c('0xc')](_0xe18c('0x162'),disposeMenuHandler);this[_0xe18c('0x1a0')]=menu;this[_0xe18c('0x126')]['appendChild'](menu);}[_0xe18c('0x159')](){if(this[_0xe18c('0x1a0')]){this['contextMenu']['dispose']();this[_0xe18c('0x1a0')]=null;}}['setRowSelection'](value){this[_0xe18c('0x124')]();var s=[];for(var i=0x0;i<value[_0xe18c('0x26')];i++){var row=this['getKeyRow'](value[i]);if(this[_0xe18c('0x49')](row,RowAction[_0xe18c('0x1c4')])){s[_0xe18c('0xdc')](value[i]);this[_0xe18c('0xfe')](row,RowAction['Select']);}}this[_0xe18c('0x118')][_0xe18c('0x105')]=s;}[_0xe18c('0x8a')](key){if(this[_0xe18c('0x23')])return this[_0xe18c('0x23')][_0xe18c('0x8a')](key);return-0x1;}[_0xe18c('0x89')](index){if(this[_0xe18c('0x23')])return this[_0xe18c('0x23')][_0xe18c('0x89')](index);return null;}[_0xe18c('0x1c5')](){this[_0xe18c('0x156')]();}[_0xe18c('0x156')](){if(this[_0xe18c('0x18f')]){if(this[_0xe18c('0x23')]){this[_0xe18c('0x184')]();this[_0xe18c('0x1c6')]();}}}[_0xe18c('0x147')](e){if(!this['enabled']||!this[_0xe18c('0x18f')]||!this[_0xe18c('0x194')])return;var currentPoint=DomUtils[_0xe18c('0x1c7')](e);var bounds=this[_0xe18c('0x1c8')];if(bounds[_0xe18c('0x1c9')](currentPoint)){var timeNow=new Date()['getTime']();e[_0xe18c('0x3d')]();var delta=parseInt(e['wheelDelta']||-e[_0xe18c('0x1ca')]);if(timeNow-this['timeStamp']<0x64){this[_0xe18c('0x1cb')]=timeNow;return;}else{this[_0xe18c('0x1cb')]=timeNow;var scrollDelta=this[_0xe18c('0x187')]*(delta>0x0?-0x1:0x1);this[_0xe18c('0x14b')][_0xe18c('0x197')]+=scrollDelta;}}}[_0xe18c('0x49')](row,action,rowData,oldValues,newValues){if(this[_0xe18c('0x23')]){var rowData=rowData||this[_0xe18c('0x23')][_0xe18c('0x28')](row);var args=new RowModifyingEventArgs(row,action,rowData,oldValues,newValues);switch(action){case RowAction[_0xe18c('0x1c4')]:this[_0xe18c('0x13d')][_0xe18c('0x1cc')](this,args);break;case RowAction['Create']:this[_0xe18c('0x137')][_0xe18c('0x1cc')](this,args);break;case RowAction['Update']:this[_0xe18c('0x13b')]['raiseEvent'](this,args);break;case RowAction['Delete']:this[_0xe18c('0x139')]['raiseEvent'](this,args);break;}return!args[_0xe18c('0x1cd')];}}[_0xe18c('0xfe')](row,action,rowData,oldValues,newValues){if(this['effectiveModel']){if(rowData==null&&action!=RowAction['Delete'])rowData=this[_0xe18c('0x23')][_0xe18c('0x28')](row);var args=new RowModifiedEventArgs(row,action,rowData,oldValues,newValues);switch(action){case RowAction['Select']:this[_0xe18c('0x13e')][_0xe18c('0x1cc')](this,args);break;case RowAction[_0xe18c('0x180')]:this['queueEvent'](()=>this[_0xe18c('0x138')][_0xe18c('0x1cc')](this,args));break;case RowAction['Update']:this[_0xe18c('0x13c')][_0xe18c('0x1cc')](this,args);break;case RowAction[_0xe18c('0xa0')]:this[_0xe18c('0x13a')]['raiseEvent'](this,args);break;case RowAction[_0xe18c('0x27')]:this[_0xe18c('0x136')][_0xe18c('0x1cc')](this,args);break;}}}[_0xe18c('0x1ce')](callback){this[_0xe18c('0x1cf')][_0xe18c('0xdc')](callback);}[_0xe18c('0x172')](){this['queuedEvents'][_0xe18c('0x165')](e=>e());this['queuedEvents']=[];}[_0xe18c('0xd')](commandName,control,row){this[_0xe18c('0x124')]();var rowData=this[_0xe18c('0x23')][_0xe18c('0x28')](row);var args=new CommandEventArgs(commandName,control,row,rowData);this[_0xe18c('0x144')][_0xe18c('0x1cc')](this,args);if(!args[_0xe18c('0x1cd')]){if(commandName===_0xe18c('0xa0')){DeleteCommand[_0xe18c('0x1d0')](this,args);}}}get['rowRendered'](){return this[_0xe18c('0x136')];}get[_0xe18c('0x1d1')](){return this['_rowSelecting'];}get[_0xe18c('0x1d2')](){return this[_0xe18c('0x13e')];}get[_0xe18c('0x1d3')](){return this['_rowCreating'];}get[_0xe18c('0x1d4')](){return this[_0xe18c('0x138')];}get[_0xe18c('0x1d5')](){return this['_rowDeleting'];}get[_0xe18c('0x1d6')](){return this[_0xe18c('0x13a')];}get['rowUpdating'](){return this[_0xe18c('0x13b')];}get[_0xe18c('0x1d7')](){return this['_rowUpdated'];}get['cellSelecting'](){return this['_cellSelecting'];}[_0xe18c('0x123')](cell){var args=new CellValidateEventArgs(cell[_0xe18c('0x11')],cell[_0xe18c('0x1c')]);this[_0xe18c('0x13f')][_0xe18c('0x1cc')](this,args);return!args[_0xe18c('0x1cd')];}get['cellSelected'](){return this[_0xe18c('0x140')];}['onCellSelected'](cell){var args=new CellEventArgs(cell['row'],cell['column']);this[_0xe18c('0x140')][_0xe18c('0x1cc')](this,args);}get['cellFocusing'](){return this[_0xe18c('0x141')];}[_0xe18c('0x127')](cell){if(this['stopEvents'])return!![];var args=new CellValidateEventArgs(cell[_0xe18c('0x11')],cell[_0xe18c('0x1c')]);this['_cellFocusing'][_0xe18c('0x1cc')](this,args);return!args['cancel'];}get['cellFocused'](){return this[_0xe18c('0x142')];}[_0xe18c('0x1d8')](cell){if(this[_0xe18c('0x171')])return!![];var args=new CellEventArgs(cell['row'],cell['column']);this[_0xe18c('0x142')][_0xe18c('0x1cc')](this,args);}[_0xe18c('0x51')](row,column,defaultContent){var args=new CellCustomDrawEventArgs(row,column,defaultContent);this[_0xe18c('0x1d9')][_0xe18c('0x1cc')](this,args);return args[_0xe18c('0x20')]||args[_0xe18c('0x1e')];}get[_0xe18c('0x1da')](){return this[_0xe18c('0x1d9')];}[_0xe18c('0x1db')](row,column,defaultContent){var args=new CellCustomDrawEventArgs(row,column,defaultContent);this['_customDrawHeader'][_0xe18c('0x1cc')](this,args);return args[_0xe18c('0x20')]||args[_0xe18c('0x1e')];}get[_0xe18c('0x1dc')](){return this['_customDrawHeader'];}get[_0xe18c('0x1dd')](){return this[_0xe18c('0x144')];}}class GridColumn{constructor(name,dataType,editable){if(name)this[_0xe18c('0x1de')]=name;if(dataType)this[_0xe18c('0x1df')]=dataType;this[_0xe18c('0x1e0')]=new Map();this[_0xe18c('0x1e1')]=editable!=undefined?editable:!![];this[_0xe18c('0x1e2')]=!![];}get[_0xe18c('0x6')](){return this[_0xe18c('0x1de')];}set[_0xe18c('0x6')](value){this[_0xe18c('0x1de')]=value;}get['dataType'](){return this['_dataType'];}set[_0xe18c('0x1e3')](value){this[_0xe18c('0x1df')]=value;}get[_0xe18c('0x91')](){return this[_0xe18c('0x1e0')];}set[_0xe18c('0x91')](value){this[_0xe18c('0x1e0')]=value;}get['caption'](){if(this[_0xe18c('0x1df')]==CommandType)return'';return this[_0xe18c('0x1e4')]||this[_0xe18c('0x1de')];}set[_0xe18c('0x8d')](value){this[_0xe18c('0x1e4')]=value;}get['editable'](){if(this[_0xe18c('0x1df')]==CommandType)return![];return this[_0xe18c('0x1e1')];}set[_0xe18c('0x8f')](value){this[_0xe18c('0x1e1')]=value;}get[_0xe18c('0x1e5')](){if(this[_0xe18c('0x1df')]==CommandType)return![];return this[_0xe18c('0x1e2')];}set['sortable'](value){this[_0xe18c('0x1e2')]=value;}}class LookupType extends DataType{static[_0xe18c('0x2a')](value1,value2){var ctx=DataType[_0xe18c('0xdd')];if(typeof ctx!=='undefined'&&ctx[_0xe18c('0x1e6')]instanceof Map){value1=ctx[_0xe18c('0x1e6')]['get'](value1);value2=ctx[_0xe18c('0x1e6')][_0xe18c('0x25')](value2);}if(typeof value1===_0xe18c('0x2e')||value1==null)value1='';if(typeof value2===_0xe18c('0x2e')||value2==null)value2='';return value1[_0xe18c('0x1e7')]()[_0xe18c('0x1e8')](value2);}static[_0xe18c('0x2c')](element,displayValue,value,view){var editor=document[_0xe18c('0x1')](_0xe18c('0x1e9'));editor[_0xe18c('0x7')]=_0xe18c('0x1ea');var model=view[_0xe18c('0x23')];if(model!=null){var meta=model[_0xe18c('0x55')](parseInt(element[_0xe18c('0x22')][_0xe18c('0x1c')]));if(typeof meta===_0xe18c('0x2e'))throw new Error(_0xe18c('0x1eb'));var values;if(meta[_0xe18c('0x25')](_0xe18c('0x1e6'))instanceof Map)values=meta[_0xe18c('0x25')](_0xe18c('0x1e6'))[_0xe18c('0x1ec')]();else if(meta[_0xe18c('0x25')](_0xe18c('0x1ec'))instanceof Array)values=meta[_0xe18c('0x25')]('values');else throw new Error('Meta\x20data\x20must\x20either\x20have\x20a\x20\x27keyValues\x27\x20property\x20of\x20type\x20Map\x20or\x20a\x20\x27values\x27\x20property\x20of\x20type\x20Array.');for(let value of values){let option=document[_0xe18c('0x1')](_0xe18c('0x1ed'));option['value']=value;option[_0xe18c('0x1ee')]=value;editor['appendChild'](option);}}editor['value']=displayValue;editor[_0xe18c('0xc')]('change',e=>{var model=view[_0xe18c('0x23')];if(model!=null){if(meta['get'](_0xe18c('0x1e6'))instanceof Map){for(let key of meta['get'](_0xe18c('0x1e6'))[_0xe18c('0x1ef')]()){if(meta[_0xe18c('0x25')](_0xe18c('0x1e6'))['get'](key)===editor['value']){StringType[_0xe18c('0x37')](key,element,view);break;}}}else if(meta['get'](_0xe18c('0x1ec'))instanceof Array){StringType[_0xe18c('0x37')](editor[_0xe18c('0x5')],element,view);}}});element['appendChild'](editor);return editor;}static['format'](value,meta){meta=meta||new Map();if(meta[_0xe18c('0x25')](_0xe18c('0x1e6')))return meta[_0xe18c('0x25')]('keyValues')[_0xe18c('0x25')](value);return value==null||value==undefined?'':value;}static['equals'](value1,value2){var ctx=DataType[_0xe18c('0xdd')];if(typeof ctx!==_0xe18c('0x2e')&&ctx[_0xe18c('0x1e6')]instanceof Map){value1=ctx[_0xe18c('0x1e6')]['get'](value1);value2=ctx[_0xe18c('0x1e6')][_0xe18c('0x25')](value2);}if(typeof value1===_0xe18c('0x2e'))value1='';if(typeof value2===_0xe18c('0x2e'))value2='';return value1===value2;}}export{ArrayModel,CellCustomDrawEventArgs,CellEventArgs,CellValidateEventArgs,Command,CommandEventArgs,CommandType,CurrencyType,DateTimeType,DateType,DeleteCommand,DomRenderer,Grid,GridCell,GridColumn,GridModel,ImageType,IntegerType,LookupType,RealNumberType,RowAction,RowModifiedEventArgs,RowModifyingEventArgs,StringType,UIControl};
|