UNPKG

@syncfusion/ej2-vue-grids

Version:

Feature-rich JavaScript datagrid (datatable) control with built-in support for editing, filtering, grouping, paging, sorting, and exporting to Excel. for Vue

12 lines (11 loc) 23.1 kB
/*! * filename: ej2-vue-grids.umd.min.js * version : 21.1.37 * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved. * Use of this code is subject to the terms of our license. * A copy of the current license can be obtained at any time by e-mailing * licensing@syncfusion.com. Any infringement will be prosecuted under * applicable laws. */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-grids"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-grids","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Grids,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,s){"use strict";var i=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},i)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-stacked-columns"}}}),o={name:"e-stacked-columns",install:function(e){e.component(o.name,i)}},r=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-stacked-column"}}}),a={name:"e-stacked-column",install:function(e){e.component(a.name,r)}},c=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},i)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-columns"}}}),u={name:"e-columns",install:function(e){e.component(u.name,c)}},l=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-column"}}}),d={name:"e-column",install:function(e){e.component(d.name,l)}},h=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},i)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-columns"}}}),g={name:"e-columns",install:function(e){e.component(g.name,h)}},m=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-column"}}}),f={name:"e-column",install:function(e){e.component(f.name,m)}},p=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},i)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-aggregates"}}}),I={name:"e-aggregates",install:function(e){e.component(I.name,p)}},j=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-aggregate"}}}),C={name:"e-aggregate",install:function(e){e.component(C.name,j)}},x=["isLazyUpdate","plugins","aggregates","allowExcelExport","allowFiltering","allowGrouping","allowKeyboard","allowMultiSorting","allowPaging","allowPdfExport","allowReordering","allowResizing","allowRowDragAndDrop","allowSelection","allowSorting","allowTextWrap","autoFit","childGrid","clipMode","columnChooserSettings","columnMenuItems","columnQueryMode","columns","contextMenuItems","cssClass","currencyCode","currentAction","currentViewData","dataSource","detailTemplate","editSettings","ej2StatePersistenceVersion","enableAdaptiveUI","enableAltRow","enableAutoFill","enableColumnVirtualization","enableHeaderFocus","enableHover","enableHtmlSanitizer","enableImmutableMode","enableInfiniteScrolling","enablePersistence","enableRtl","enableStickyHeader","enableVirtualMaskRow","enableVirtualization","filterSettings","frozenColumns","frozenRows","gridLines","groupSettings","height","hierarchyPrintMode","infiniteScrollSettings","loadingIndicator","locale","pageSettings","pagerTemplate","parentDetails","printMode","query","queryString","resizeSettings","rowDropSettings","rowHeight","rowRenderingMode","rowTemplate","searchSettings","selectedRowIndex","selectionSettings","showColumnChooser","showColumnMenu","showHider","sortSettings","textWrapSettings","toolbar","toolbarTemplate","width","actionBegin","actionComplete","actionFailure","batchAdd","batchCancel","batchDelete","beforeAutoFill","beforeBatchAdd","beforeBatchDelete","beforeBatchSave","beforeCopy","beforeDataBound","beforeExcelExport","beforeOpenAdaptiveDialog","beforeOpenColumnChooser","beforePaste","beforePdfExport","beforePrint","beginEdit","cellDeselected","cellDeselecting","cellEdit","cellSave","cellSaved","cellSelected","cellSelecting","checkBoxChange","columnDataStateChange","columnDeselected","columnDeselecting","columnDrag","columnDragStart","columnDrop","columnMenuClick","columnMenuOpen","columnSelected","columnSelecting","commandClick","contextMenuClick","contextMenuOpen","created","dataBound","dataSourceChanged","dataStateChange","destroyed","detailDataBound","excelAggregateQueryCellInfo","excelExportComplete","excelHeaderQueryCellInfo","excelQueryCellInfo","exportDetailDataBound","exportGroupCaption","headerCellInfo","keyPressed","lazyLoadGroupCollapse","lazyLoadGroupExpand","load","pdfAggregateQueryCellInfo","pdfExportComplete","pdfHeaderQueryCellInfo","pdfQueryCellInfo","printComplete","queryCellInfo","recordClick","recordDoubleClick","resizeStart","resizeStop","resizing","rowDataBound","rowDeselected","rowDeselecting","rowDrag","rowDragStart","rowDragStartHelper","rowDrop","rowSelected","rowSelecting","toolbarClick"],v=["dataSource"],y=n.getProps({props:x}),w=y[0],R=y[1],b=Object.keys(R);b.push("modelchanged","update:modelValue");for(var S=0,D=v;S<D.length;S++){var E=D[S];b.push("update:"+E)}var P=n.vueDefineComponent({name:"GridComponent",mixins:[n.ComponentBase],props:w,watch:R,emits:b,model:{event:"modelchanged"},provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.Grid({}),propKeys:x,models:v,hasChildDirective:!0,hasInjectedModules:!0,tagMapper:{"e-columns":{"e-column":{"e-stacked-columns":"e-stacked-column"}},"e-aggregates":{"e-aggregate":{"e-columns":"e-column"}}},tagNameMapper:{"e-stacked-columns":"e-columns"},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.ej2Instances._trigger=this.ej2Instances.trigger,this.ej2Instances.trigger=this.trigger,this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",i)},methods:{clearTemplate:function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var i=n[t],o=this.templateCollection[i];if(o&&o.length){for(var r=0,a=o;r<a.length;r++){var c=a[r];s.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[i]}}},setProperties:function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},trigger:function(e,t,i){if(n.isExecute||(this.models=this.models?this.models:this.ej2Instances.referModels),"change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){r=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!s.isUndefined(t[r])&&(n.isExecute?(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r])))}}else{var o,r=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!s.isUndefined(t[r])&&(n.isExecute?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r]),this.ej2Instances.vueInstance.$emit("update:modelValue",t[r])))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,i)},custom:function(){this.updated()},addRecord:function(e,t){return this.ej2Instances.addRecord(e,t)},addShimmerEffect:function(){return this.ej2Instances.addShimmerEffect()},autoFitColumns:function(e){return this.ej2Instances.autoFitColumns(e)},batchAsyncUpdate:function(e){return this.ej2Instances.batchAsyncUpdate(e)},batchUpdate:function(e){return this.ej2Instances.batchUpdate(e)},calculatePageSizeByParentHeight:function(e){return this.ej2Instances.calculatePageSizeByParentHeight(e)},changeDataSource:function(e,t){return this.ej2Instances.changeDataSource(e,t)},clearCellSelection:function(){return this.ej2Instances.clearCellSelection()},clearFiltering:function(e){return this.ej2Instances.clearFiltering(e)},clearGrouping:function(){return this.ej2Instances.clearGrouping()},clearRowSelection:function(){return this.ej2Instances.clearRowSelection()},clearSelection:function(){return this.ej2Instances.clearSelection()},clearSorting:function(){return this.ej2Instances.clearSorting()},closeEdit:function(){return this.ej2Instances.closeEdit()},copy:function(e){return this.ej2Instances.copy(e)},csvExport:function(e,t,n,s){return this.ej2Instances.csvExport(e,t,n,s)},dataReady:function(){return this.ej2Instances.dataReady()},deleteRecord:function(e,t){return this.ej2Instances.deleteRecord(e,t)},deleteRow:function(e){return this.ej2Instances.deleteRow(e)},destroyTemplate:function(e,t){return this.ej2Instances.destroyTemplate(e,t)},detailCollapseAll:function(){return this.ej2Instances.detailCollapseAll()},detailExpandAll:function(){return this.ej2Instances.detailExpandAll()},editCell:function(e,t){return this.ej2Instances.editCell(e,t)},enableToolbarItems:function(e,t){return this.ej2Instances.enableToolbarItems(e,t)},endEdit:function(){return this.ej2Instances.endEdit()},excelExport:function(e,t,n,s){return this.ej2Instances.excelExport(e,t,n,s)},extendRequiredModules:function(e){return this.ej2Instances.extendRequiredModules(e)},filterByColumn:function(e,t,n,s,i,o,r,a){return this.ej2Instances.filterByColumn(e,t,n,s,i,o,r,a)},getBatchChanges:function(){return this.ej2Instances.getBatchChanges()},getCellFromIndex:function(e,t){return this.ej2Instances.getCellFromIndex(e,t)},getColumnByField:function(e){return this.ej2Instances.getColumnByField(e)},getColumnByUid:function(e){return this.ej2Instances.getColumnByUid(e)},getColumnFieldNames:function(){return this.ej2Instances.getColumnFieldNames()},getColumnHeaderByField:function(e){return this.ej2Instances.getColumnHeaderByField(e)},getColumnHeaderByIndex:function(e){return this.ej2Instances.getColumnHeaderByIndex(e)},getColumnHeaderByUid:function(e){return this.ej2Instances.getColumnHeaderByUid(e)},getColumnIndexByField:function(e){return this.ej2Instances.getColumnIndexByField(e)},getColumnIndexByUid:function(e){return this.ej2Instances.getColumnIndexByUid(e)},getColumns:function(e){return this.ej2Instances.getColumns(e)},getContent:function(){return this.ej2Instances.getContent()},getContentTable:function(){return this.ej2Instances.getContentTable()},getCurrentViewRecords:function(){return this.ej2Instances.getCurrentViewRecords()},getDataModule:function(){return this.ej2Instances.getDataModule()},getDataRows:function(){return this.ej2Instances.getDataRows()},getFilterUIInfo:function(){return this.ej2Instances.getFilterUIInfo()},getFilteredRecords:function(){return this.ej2Instances.getFilteredRecords()},getFooterContent:function(){return this.ej2Instances.getFooterContent()},getFooterContentTable:function(){return this.ej2Instances.getFooterContentTable()},getForeignKeyColumns:function(){return this.ej2Instances.getForeignKeyColumns()},getFrozenDataRows:function(){return this.ej2Instances.getFrozenDataRows()},getFrozenLeftColumnHeaderByIndex:function(e){return this.ej2Instances.getFrozenLeftColumnHeaderByIndex(e)},getFrozenLeftCount:function(){return this.ej2Instances.getFrozenLeftCount()},getFrozenMode:function(){return this.ej2Instances.getFrozenMode()},getFrozenRightCellFromIndex:function(e,t){return this.ej2Instances.getFrozenRightCellFromIndex(e,t)},getFrozenRightColumnHeaderByIndex:function(e){return this.ej2Instances.getFrozenRightColumnHeaderByIndex(e)},getFrozenRightDataRows:function(){return this.ej2Instances.getFrozenRightDataRows()},getFrozenRightRowByIndex:function(e){return this.ej2Instances.getFrozenRightRowByIndex(e)},getFrozenRightRows:function(){return this.ej2Instances.getFrozenRightRows()},getFrozenRowByIndex:function(e){return this.ej2Instances.getFrozenRowByIndex(e)},getHeaderContent:function(){return this.ej2Instances.getHeaderContent()},getHeaderTable:function(){return this.ej2Instances.getHeaderTable()},getHiddenColumns:function(){return this.ej2Instances.getHiddenColumns()},getMediaColumns:function(){return this.ej2Instances.getMediaColumns()},getMovableCellFromIndex:function(e,t){return this.ej2Instances.getMovableCellFromIndex(e,t)},getMovableColumnHeaderByIndex:function(e){return this.ej2Instances.getMovableColumnHeaderByIndex(e)},getMovableDataRows:function(){return this.ej2Instances.getMovableDataRows()},getMovableRowByIndex:function(e){return this.ej2Instances.getMovableRowByIndex(e)},getMovableRows:function(){return this.ej2Instances.getMovableRows()},getPager:function(){return this.ej2Instances.getPager()},getPrimaryKeyFieldNames:function(){return this.ej2Instances.getPrimaryKeyFieldNames()},getRowByIndex:function(e){return this.ej2Instances.getRowByIndex(e)},getRowIndexByPrimaryKey:function(e){return this.ej2Instances.getRowIndexByPrimaryKey(e)},getRowInfo:function(e){return this.ej2Instances.getRowInfo(e)},getRows:function(){return this.ej2Instances.getRows()},getSelectedColumnsUid:function(){return this.ej2Instances.getSelectedColumnsUid()},getSelectedRecords:function(){return this.ej2Instances.getSelectedRecords()},getSelectedRowCellIndexes:function(){return this.ej2Instances.getSelectedRowCellIndexes()},getSelectedRowIndexes:function(){return this.ej2Instances.getSelectedRowIndexes()},getSelectedRows:function(){return this.ej2Instances.getSelectedRows()},getSummaryValues:function(e,t){return this.ej2Instances.getSummaryValues(e,t)},getUidByColumnField:function(e){return this.ej2Instances.getUidByColumnField(e)},getVisibleColumns:function(){return this.ej2Instances.getVisibleColumns()},goToPage:function(e){return this.ej2Instances.goToPage(e)},groupCollapseAll:function(){return this.ej2Instances.groupCollapseAll()},groupColumn:function(e){return this.ej2Instances.groupColumn(e)},groupExpandAll:function(){return this.ej2Instances.groupExpandAll()},hideColumns:function(e,t){return this.ej2Instances.hideColumns(e,t)},hideScroll:function(){return this.ej2Instances.hideScroll()},hideSpinner:function(){return this.ej2Instances.hideSpinner()},isFrozenGrid:function(){return this.ej2Instances.isFrozenGrid()},openColumnChooser:function(e,t){return this.ej2Instances.openColumnChooser(e,t)},pdfExport:function(e,t,n,s){return this.ej2Instances.pdfExport(e,t,n,s)},print:function(){return this.ej2Instances.print()},refresh:function(){return this.ej2Instances.refresh()},refreshColumns:function(){return this.ej2Instances.refreshColumns()},refreshHeader:function(){return this.ej2Instances.refreshHeader()},removeMaskRow:function(){return this.ej2Instances.removeMaskRow()},reorderColumnByIndex:function(e,t){return this.ej2Instances.reorderColumnByIndex(e,t)},reorderColumnByTargetIndex:function(e,t){return this.ej2Instances.reorderColumnByTargetIndex(e,t)},reorderColumns:function(e,t){return this.ej2Instances.reorderColumns(e,t)},reorderRows:function(e,t){return this.ej2Instances.reorderRows(e,t)},saveCell:function(){return this.ej2Instances.saveCell()},search:function(e){return this.ej2Instances.search(e)},selectCell:function(e,t){return this.ej2Instances.selectCell(e,t)},selectCells:function(e){return this.ej2Instances.selectCells(e)},selectCellsByRange:function(e,t){return this.ej2Instances.selectCellsByRange(e,t)},selectRow:function(e,t){return this.ej2Instances.selectRow(e,t)},selectRows:function(e){return this.ej2Instances.selectRows(e)},selectRowsByRange:function(e,t){return this.ej2Instances.selectRowsByRange(e,t)},serverCsvExport:function(e){return this.ej2Instances.serverCsvExport(e)},serverExcelExport:function(e){return this.ej2Instances.serverExcelExport(e)},serverPdfExport:function(e){return this.ej2Instances.serverPdfExport(e)},setCellValue:function(e,t,n){return this.ej2Instances.setCellValue(e,t,n)},setGridContent:function(e){return this.ej2Instances.setGridContent(e)},setGridContentTable:function(e){return this.ej2Instances.setGridContentTable(e)},setGridHeaderContent:function(e){return this.ej2Instances.setGridHeaderContent(e)},setGridHeaderTable:function(e){return this.ej2Instances.setGridHeaderTable(e)},setGridPager:function(e){return this.ej2Instances.setGridPager(e)},setRowData:function(e,t){return this.ej2Instances.setRowData(e,t)},showAdaptiveFilterDialog:function(){return this.ej2Instances.showAdaptiveFilterDialog()},showAdaptiveSortDialog:function(){return this.ej2Instances.showAdaptiveSortDialog()},showColumns:function(e,t){return this.ej2Instances.showColumns(e,t)},showMaskRow:function(e,t){return this.ej2Instances.showMaskRow(e,t)},showSpinner:function(){return this.ej2Instances.showSpinner()},sortColumn:function(e,t,n){return this.ej2Instances.sortColumn(e,t,n)},startEdit:function(){return this.ej2Instances.startEdit()},ungroupColumn:function(e){return this.ej2Instances.ungroupColumn(e)},updateCell:function(e,t,n){return this.ej2Instances.updateCell(e,t,n)},updateExternalMessage:function(e){return this.ej2Instances.updateExternalMessage(e)},updateRow:function(e,t){return this.ej2Instances.updateRow(e,t)},updateRowValue:function(e,t){return this.ej2Instances.updateRowValue(e,t)}}}),B={name:"ejs-grid",install:function(e){e.component(B.name,P),e.component(d.name,l),e.component(u.name,c),e.component(a.name,r),e.component(o.name,i),e.component(C.name,j),e.component(I.name,p),e.component(f.name,m),e.component(g.name,h)}},F=["isLazyUpdate","plugins","cssClass","currentPage","customText","enableExternalMessage","enablePagerMessage","enablePersistence","enableQueryString","enableRtl","externalMessage","locale","pageCount","pageSize","pageSizes","template","totalRecordsCount","click","created","dropDownChanged"],M=["currentPage","pageSize","pageCount","pageSizes"],$=n.getProps({props:F}),T=$[0],z=$[1],H=Object.keys(z);H.push("modelchanged","update:modelValue");for(var k=0,A=M;k<A.length;k++){var U=A[k];H.push("update:"+U)}var V=n.vueDefineComponent({name:"PagerComponent",mixins:[n.ComponentBase],props:T,watch:z,emits:H,model:{event:"modelchanged"},provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.Pager({}),propKeys:F,models:M,hasChildDirective:!1,hasInjectedModules:!1,tagMapper:{},tagNameMapper:{},isVue3:!n.isExecute,templateCollection:{}}},created:function(){this.ej2Instances._trigger=this.ej2Instances.trigger,this.ej2Instances.trigger=this.trigger,this.bindProperties(),this.ej2Instances._setProperties=this.ej2Instances.setProperties,this.ej2Instances.setProperties=this.setProperties,this.ej2Instances.clearTemplate=this.clearTemplate,this.updated=this.updated},render:function(e){var t=n.isExecute?e:n.gh,i=null;return s.isNullOrUndefined(this.$slots.default)||(i=n.isExecute?this.$slots.default:this.$slots.default()),t("div",i)},methods:{clearTemplate:function(e){if(e||(e=Object.keys(this.templateCollection||{})),e.length&&this.templateCollection)for(var t=0,n=e;t<n.length;t++){var i=n[t],o=this.templateCollection[i];if(o&&o.length){for(var r=0,a=o;r<a.length;r++){var c=a[r];s.getValue("__vue__.$destroy",c)&&c.__vue__.$destroy(),c.innerHTML&&(c.innerHTML="")}delete this.templateCollection[i]}}},setProperties:function(e,t){var n=this;this.isVue3&&(this.models=this.models?this.models:this.ej2Instances.referModels),this.ej2Instances&&this.ej2Instances._setProperties&&this.ej2Instances._setProperties(e,t),e&&this.models&&this.models.length&&Object.keys(e).map(function(t){n.models.map(function(s){t!==s||/datasource/i.test(t)||(n.isVue3?n.ej2Instances.vueInstance.$emit("update:"+t,e[t]):(n.$emit("update:"+t,e[t]),n.$emit("modelchanged",e[t])))})})},trigger:function(e,t,i){if(n.isExecute||(this.models=this.models?this.models:this.ej2Instances.referModels),"change"!==e&&"input"!==e||!this.models||0===this.models.length){if("actionBegin"===e&&"dateNavigate"===t.requestType&&this.models&&0!==this.models.length){r=(o=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&o&&!s.isUndefined(t[r])&&(n.isExecute?(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r])))}}else{var o,r=(o=this.models.toString().match(/checked|value/)||[])[0];t&&o&&!s.isUndefined(t[r])&&(n.isExecute?("change"===e||this.$props&&!this.$props.isLazyUpdate)&&(this.$emit("update:"+r,t[r]),this.$emit("modelchanged",t[r])):(this.ej2Instances.vueInstance.$emit("update:"+r,t[r]),this.ej2Instances.vueInstance.$emit("modelchanged",t[r]),this.ej2Instances.vueInstance.$emit("update:modelValue",t[r])))}this.ej2Instances&&this.ej2Instances._trigger&&this.ej2Instances._trigger(e,t,i)},custom:function(){this.updated()},destroyTemplate:function(e,t){return this.ej2Instances.destroyTemplate(e,t)},getLocalizedLabel:function(e){return this.ej2Instances.getLocalizedLabel(e)},goToPage:function(e){return this.ej2Instances.goToPage(e)},refresh:function(){return this.ej2Instances.refresh()}}}),_={name:"ejs-pager",install:function(e){e.component(_.name,V)}};e.StackedColumnsDirective=i,e.StackedColumnDirective=r,e.StackedColumnsPlugin=o,e.StackedColumnPlugin=a,e.ColumnsDirective=c,e.ColumnDirective=l,e.ColumnsPlugin=u,e.ColumnPlugin=d,e.AggregateColumnsDirective=h,e.AggregateColumnDirective=m,e.AggregateColumnsPlugin=g,e.AggregateColumnPlugin=f,e.AggregatesDirective=p,e.AggregateDirective=j,e.AggregatesPlugin=I,e.AggregatePlugin=C,e.GridComponent=P,e.GridPlugin=B,e.PagerComponent=V,e.PagerPlugin=_,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})}); //# sourceMappingURL=ej2-vue-grids.umd.min.js.map