@syncfusion/ej2-vue-treegrid 25.1.38 → 25.1.39

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ### Tree Grid
6
+
7
+ #### Bug Fixes
8
+
9
+ - `#I558418` - Resolved data re-rendering on scrolling up in virtualization.
10
+ - `#F187000` - Nested parent remains the expanded property when its root parent is collapsed in remote data with loadChildOnDemand.
11
+ - `#I572093` - `onclick` event of button bound properly while creating a button component in treegrid with HtmlEncode enabled.
12
+
5
13
  ## 25.1.38 (2024-04-02)
6
14
 
7
15
  ### Tree Grid
package/README.md CHANGED
@@ -181,4 +181,4 @@ Check the changelog [here](https://github.com/syncfusion/ej2-vue-ui-components/b
181
181
 
182
182
  See [LICENSE FILE](https://github.com/syncfusion/ej2-vue-ui-components/blob/master/license?utm_source=npm&utm_medium=listing&utm_campaign=vue-grid-npm) for more info.
183
183
 
184
- © Copyright 2022 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
184
+ © Copyright 2024 Syncfusion, Inc. All Rights Reserved. The Syncfusion Essential Studio license and copyright applies to this distribution.
@@ -1,2 +1,11 @@
1
+ /*!
2
+ * filename: ej2-vue-treegrid.umd.min.js
3
+ * version : 25.1.39
4
+ * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
+ * Use of this code is subject to the terms of our license.
6
+ * A copy of the current license can be obtained at any time by e-mailing
7
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
8
+ * applicable laws.
9
+ */
1
10
  !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-treegrid"),require("@syncfusion/ej2-vue-base"),require("@syncfusion/ej2-base")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-treegrid","@syncfusion/ej2-vue-base","@syncfusion/ej2-base"],t):t(e.ej={},e.ej2Treegrid,e.ej2VueBase,e.ej2Base)}(this,function(e,t,n,s){"use strict";var o=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},updated:function(){!n.isExecute&&this.custom&&this.custom()},methods:{getTag:function(){return"e-stacked-columns"}}}),i={name:"e-stacked-columns",install:function(e){e.component(i.name,o)}},r=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-stacked-column"}}}),c={name:"e-stacked-column",install:function(e){e.component(c.name,r)}},a=n.vueDefineComponent({inject:{custom:{default:null}},render:function(e){if(!n.isExecute){var t=n.isExecute?e:n.gh,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},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,a)}},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,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},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,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",{class:"e-directive"},o)}},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)}},C=n.vueDefineComponent({render:function(){},methods:{getTag:function(){return"e-aggregate"}}}),j={name:"e-aggregate",install:function(e){e.component(j.name,C)}},x=["isLazyUpdate","plugins","aggregates","allowExcelExport","allowFiltering","allowMultiSorting","allowPaging","allowPdfExport","allowReordering","allowResizing","allowRowDragAndDrop","allowSelection","allowSorting","allowTextWrap","autoCheckHierarchy","childMapping","clipMode","columnMenuItems","columnQueryMode","columns","contextMenuItems","copyHierarchyMode","currencyCode","dataSource","detailTemplate","editSettings","enableAdaptiveUI","enableAltRow","enableAutoFill","enableCollapseAll","enableColumnVirtualization","enableHover","enableHtmlSanitizer","enableImmutableMode","enableInfiniteScrolling","enablePersistence","enableRtl","enableVirtualMaskRow","enableVirtualization","expandStateMapping","filterSettings","frozenColumns","frozenRows","gridLines","hasChildMapping","height","idMapping","infiniteScrollSettings","loadChildOnDemand","loadingIndicator","locale","pageSettings","parentIdMapping","printMode","query","rowDropSettings","rowHeight","rowTemplate","searchSettings","selectedRowIndex","selectionSettings","showColumnChooser","showColumnMenu","sortSettings","textWrapSettings","toolbar","treeColumnIndex","width","actionBegin","actionComplete","actionFailure","batchAdd","batchCancel","batchDelete","beforeBatchAdd","beforeBatchDelete","beforeBatchSave","beforeCopy","beforeDataBound","beforeExcelExport","beforePaste","beforePdfExport","beforePrint","beginEdit","cellDeselected","cellDeselecting","cellEdit","cellSave","cellSaved","cellSelected","cellSelecting","checkboxChange","collapsed","collapsing","columnDrag","columnDragStart","columnDrop","columnMenuClick","columnMenuOpen","contextMenuClick","contextMenuOpen","created","dataBound","dataSourceChanged","dataStateChange","detailDataBound","excelExportComplete","excelHeaderQueryCellInfo","excelQueryCellInfo","expanded","expanding","headerCellInfo","load","pdfExportComplete","pdfHeaderQueryCellInfo","pdfQueryCellInfo","printComplete","queryCellInfo","recordDoubleClick","resizeStart","resizeStop","resizing","rowDataBound","rowDeselected","rowDeselecting","rowDrag","rowDragStart","rowDragStartHelper","rowDrop","rowSelected","rowSelecting","toolbarClick"],v=["dataSource"],w=n.getProps({props:x}),y=w[0],R=w[1],b=Object.keys(R);b.push("modelchanged","update:modelValue");for(var E=0,S=v;E<S.length;E++){var B=S[E];b.push("update:"+B)}var D=n.vueDefineComponent({name:"TreeGridComponent",mixins:[n.ComponentBase],props:y,watch:R,emits:b,model:{event:"modelchanged"},provide:function(){return{custom:this.custom}},data:function(){return{ej2Instances:new t.TreeGrid({}),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,o=null;return s.isNullOrUndefined(this.$slots.default)||(o=n.isExecute?this.$slots.default:this.$slots.default()),t("div",o)},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 o=n[t],i=this.templateCollection[o];if(i&&i.length){for(var r=0,c=i;r<c.length;r++){var a=c[r];s.getValue("__vue__.$destroy",a)&&a.__vue__.$destroy(),a.innerHTML&&(a.innerHTML="")}delete this.templateCollection[o]}}},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,o){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=(i=this.models.toString().match(/currentView|selectedDate/)||[])[0];t&&i&&!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 i,r=(i=this.models.toString().match(/checked|value/)||[])[0];t&&i&&!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,o)},custom:function(){this.updated()},addRecord:function(e,t,n){return this.ej2Instances.addRecord(e,t,n)},autoFitColumns:function(e){return this.ej2Instances.autoFitColumns(e)},clearFiltering:function(){return this.ej2Instances.clearFiltering()},clearSelection:function(){return this.ej2Instances.clearSelection()},clearSorting:function(){return this.ej2Instances.clearSorting()},closeEdit:function(){return this.ej2Instances.closeEdit()},collapseAll:function(){return this.ej2Instances.collapseAll()},collapseAtLevel:function(e){return this.ej2Instances.collapseAtLevel(e)},collapseByKey:function(e){return this.ej2Instances.collapseByKey(e)},collapseRow:function(e,t,n){return this.ej2Instances.collapseRow(e,t,n)},copy:function(e){return this.ej2Instances.copy(e)},csvExport:function(e,t,n,s){return this.ej2Instances.csvExport(e,t,n,s)},deleteRecord:function(e,t){return this.ej2Instances.deleteRecord(e,t)},deleteRow:function(e){return this.ej2Instances.deleteRow(e)},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)},expandAll:function(){return this.ej2Instances.expandAll()},expandAtLevel:function(e){return this.ej2Instances.expandAtLevel(e)},expandByKey:function(e){return this.ej2Instances.expandByKey(e)},expandRow:function(e,t,n,s){return this.ej2Instances.expandRow(e,t,n,s)},extendRequiredModules:function(e){return this.ej2Instances.extendRequiredModules(e)},filterByColumn:function(e,t,n,s,o,i,r,c){return this.ej2Instances.filterByColumn(e,t,n,s,o,i,r,c)},getBatchChanges:function(){return this.ej2Instances.getBatchChanges()},getCellFromIndex:function(e,t){return this.ej2Instances.getCellFromIndex(e,t)},getCheckedRecords:function(){return this.ej2Instances.getCheckedRecords()},getCheckedRowIndexes:function(){return this.ej2Instances.getCheckedRowIndexes()},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()},getFooterContent:function(){return this.ej2Instances.getFooterContent()},getFooterContentTable:function(){return this.ej2Instances.getFooterContentTable()},getFrozenLeftColumnHeaderByIndex:function(e){return this.ej2Instances.getFrozenLeftColumnHeaderByIndex(e)},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()},getHeaderContent:function(){return this.ej2Instances.getHeaderContent()},getHeaderTable:function(){return this.ej2Instances.getHeaderTable()},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)},getRowInfo:function(e){return this.ej2Instances.getRowInfo(e)},getRows:function(){return this.ej2Instances.getRows()},getSelectedRecords:function(){return this.ej2Instances.getSelectedRecords()},getSelectedRowCellIndexes:function(){return this.ej2Instances.getSelectedRowCellIndexes()},getSelectedRowIndexes:function(){return this.ej2Instances.getSelectedRowIndexes()},getSelectedRows:function(){return this.ej2Instances.getSelectedRows()},getUidByColumnField:function(e){return this.ej2Instances.getUidByColumnField(e)},getVisibleColumns:function(){return this.ej2Instances.getVisibleColumns()},getVisibleRecords:function(){return this.ej2Instances.getVisibleRecords()},goToPage:function(e){return this.ej2Instances.goToPage(e)},hideColumns:function(e,t){return this.ej2Instances.hideColumns(e,t)},hideSpinner:function(){return this.ej2Instances.hideSpinner()},indent:function(e){return this.ej2Instances.indent(e)},openColumnChooser:function(e,t){return this.ej2Instances.openColumnChooser(e,t)},outdent:function(e){return this.ej2Instances.outdent(e)},paste:function(e,t,n){return this.ej2Instances.paste(e,t,n)},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(e){return this.ej2Instances.refreshColumns(e)},refreshHeader:function(){return this.ej2Instances.refreshHeader()},reorderColumns:function(e,t){return this.ej2Instances.reorderColumns(e,t)},reorderRows:function(e,t,n){return this.ej2Instances.reorderRows(e,t,n)},saveCell:function(){return this.ej2Instances.saveCell()},search:function(e){return this.ej2Instances.search(e)},selectCell:function(e,t){return this.ej2Instances.selectCell(e,t)},selectCheckboxes:function(e){return this.ej2Instances.selectCheckboxes(e)},selectRow:function(e,t){return this.ej2Instances.selectRow(e,t)},selectRows:function(e){return this.ej2Instances.selectRows(e)},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)},setRowData:function(e,t){return this.ej2Instances.setRowData(e,t)},showColumns:function(e,t){return this.ej2Instances.showColumns(e,t)},showSpinner:function(){return this.ej2Instances.showSpinner()},sortByColumn:function(e,t,n){return this.ej2Instances.sortByColumn(e,t,n)},startEdit:function(e){return this.ej2Instances.startEdit(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)}}}),M={name:"ejs-treegrid",install:function(e){e.component(M.name,D),e.component(d.name,l),e.component(u.name,a),e.component(c.name,r),e.component(i.name,o),e.component(j.name,C),e.component(I.name,p),e.component(f.name,m),e.component(g.name,h)}};e.StackedColumnsDirective=o,e.StackedColumnDirective=r,e.StackedColumnsPlugin=i,e.StackedColumnPlugin=c,e.ColumnsDirective=a,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=C,e.AggregatesPlugin=I,e.AggregatePlugin=j,e.TreeGridComponent=D,e.TreeGridPlugin=M,Object.keys(t).forEach(function(n){e[n]=t[n]}),Object.defineProperty(e,"__esModule",{value:!0})});
2
11
  //# sourceMappingURL=ej2-vue-treegrid.umd.min.js.map