@syncfusion/ej2-vue-grids 20.2.49 → 20.3.47
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 +10 -93
- package/dist/ej2-vue-grids.umd.min.js +2 -2
- package/dist/ej2-vue-grids.umd.min.js.map +1 -1
- package/dist/es6/ej2-vue-grids.es2015.js +47 -44
- package/dist/es6/ej2-vue-grids.es2015.js.map +1 -1
- package/dist/es6/ej2-vue-grids.es5.js +47 -44
- package/dist/es6/ej2-vue-grids.es5.js.map +1 -1
- package/dist/global/ej2-vue-grids.min.js +2 -2
- package/package.json +8 -8
- package/src/grid/aggregate-columns.directive.d.ts +0 -1
- package/src/grid/aggregate-columns.directive.js +5 -6
- package/src/grid/aggregates.directive.d.ts +0 -1
- package/src/grid/aggregates.directive.js +5 -6
- package/src/grid/columns.directive.d.ts +0 -1
- package/src/grid/columns.directive.js +5 -6
- package/src/grid/grid.component.d.ts +3 -1
- package/src/grid/grid.component.js +13 -5
- package/src/grid/stacked-column.directive.d.ts +0 -1
- package/src/grid/stacked-column.directive.js +5 -6
- package/src/pager/pager.component.d.ts +0 -1
- package/src/pager/pager.component.js +3 -4
- package/styles/bootstrap-dark.css +54 -11
- package/styles/bootstrap.css +54 -11
- package/styles/bootstrap4.css +57 -11
- package/styles/bootstrap5-dark.css +55 -11
- package/styles/bootstrap5.css +55 -11
- package/styles/excel-filter/bootstrap-dark.css +3 -1
- package/styles/excel-filter/bootstrap.css +3 -1
- package/styles/excel-filter/bootstrap4.css +6 -1
- package/styles/excel-filter/bootstrap5-dark.css +3 -1
- package/styles/excel-filter/bootstrap5.css +3 -1
- package/styles/excel-filter/fabric-dark.css +4 -2
- package/styles/excel-filter/fabric.css +4 -2
- package/styles/excel-filter/fluent-dark.css +3 -1
- package/styles/excel-filter/fluent.css +3 -1
- package/styles/excel-filter/highcontrast-light.css +4 -2
- package/styles/excel-filter/highcontrast.css +4 -2
- package/styles/excel-filter/material-dark.css +4 -2
- package/styles/excel-filter/material.css +4 -2
- package/styles/excel-filter/tailwind-dark.css +3 -1
- package/styles/excel-filter/tailwind.css +3 -1
- package/styles/fabric-dark.css +57 -14
- package/styles/fabric.css +56 -13
- package/styles/fluent-dark.css +54 -11
- package/styles/fluent.css +54 -11
- package/styles/grid/bootstrap-dark.css +51 -10
- package/styles/grid/bootstrap.css +51 -10
- package/styles/grid/bootstrap4.css +51 -10
- package/styles/grid/bootstrap5-dark.css +52 -10
- package/styles/grid/bootstrap5.css +52 -10
- package/styles/grid/fabric-dark.css +53 -12
- package/styles/grid/fabric.css +52 -11
- package/styles/grid/fluent-dark.css +51 -10
- package/styles/grid/fluent.css +51 -10
- package/styles/grid/highcontrast-light.css +52 -11
- package/styles/grid/highcontrast.css +52 -11
- package/styles/grid/material-dark.css +52 -11
- package/styles/grid/material.css +52 -11
- package/styles/grid/tailwind-dark.css +51 -10
- package/styles/grid/tailwind.css +51 -10
- package/styles/highcontrast-light.css +56 -13
- package/styles/highcontrast.css +56 -13
- package/styles/material-dark.css +56 -13
- package/styles/material.css +56 -13
- package/styles/tailwind-dark.css +54 -11
- package/styles/tailwind.css +54 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Grid, Pager } from '@syncfusion/ej2-grids';
|
|
2
|
-
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh } from '@syncfusion/ej2-vue-base';
|
|
2
|
+
import { ComponentBase, EJComponentDecorator, allVue, getProps, gh, isExecute } from '@syncfusion/ej2-vue-base';
|
|
3
3
|
import { Vue } from 'vue-class-component';
|
|
4
4
|
import { getValue, isNullOrUndefined, isUndefined } from '@syncfusion/ej2-base';
|
|
5
5
|
import Vue$1 from 'vue';
|
|
@@ -11,7 +11,6 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
11
11
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12
12
|
};
|
|
13
13
|
// {{VueImport}}
|
|
14
|
-
const isExecute = gh ? false : true;
|
|
15
14
|
let vueImport;
|
|
16
15
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
17
16
|
vueImport = Vue;
|
|
@@ -32,18 +31,18 @@ class StackedColumnsDirective extends vueImport {
|
|
|
32
31
|
super(arguments);
|
|
33
32
|
}
|
|
34
33
|
render(createElement) {
|
|
35
|
-
if (
|
|
36
|
-
let h = gh
|
|
34
|
+
if (!isExecute) {
|
|
35
|
+
let h = !isExecute ? gh : createElement;
|
|
37
36
|
let slots = null;
|
|
38
37
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
39
|
-
slots =
|
|
38
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
40
39
|
}
|
|
41
40
|
return h('div', { class: 'e-directive' }, slots);
|
|
42
41
|
}
|
|
43
42
|
return;
|
|
44
43
|
}
|
|
45
44
|
updated() {
|
|
46
|
-
if (
|
|
45
|
+
if (!isExecute && this.custom) {
|
|
47
46
|
this.custom();
|
|
48
47
|
}
|
|
49
48
|
}
|
|
@@ -92,9 +91,8 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
92
91
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
93
92
|
};
|
|
94
93
|
// {{VueImport}}
|
|
95
|
-
const isExecute$1 = gh ? false : true;
|
|
96
94
|
let vueImport$1;
|
|
97
|
-
if (!isExecute
|
|
95
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
98
96
|
vueImport$1 = Vue;
|
|
99
97
|
}
|
|
100
98
|
else {
|
|
@@ -113,18 +111,18 @@ class ColumnsDirective extends vueImport$1 {
|
|
|
113
111
|
super(arguments);
|
|
114
112
|
}
|
|
115
113
|
render(createElement) {
|
|
116
|
-
if (
|
|
117
|
-
let h = gh
|
|
114
|
+
if (!isExecute) {
|
|
115
|
+
let h = !isExecute ? gh : createElement;
|
|
118
116
|
let slots = null;
|
|
119
117
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
120
|
-
slots =
|
|
118
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
121
119
|
}
|
|
122
120
|
return h('div', { class: 'e-directive' }, slots);
|
|
123
121
|
}
|
|
124
122
|
return;
|
|
125
123
|
}
|
|
126
124
|
updated() {
|
|
127
|
-
if (
|
|
125
|
+
if (!isExecute && this.custom) {
|
|
128
126
|
this.custom();
|
|
129
127
|
}
|
|
130
128
|
}
|
|
@@ -133,7 +131,7 @@ class ColumnsDirective extends vueImport$1 {
|
|
|
133
131
|
}
|
|
134
132
|
};
|
|
135
133
|
ColumnsDirective = __decorate$1([
|
|
136
|
-
EJComponentDecorator({}, isExecute
|
|
134
|
+
EJComponentDecorator({}, isExecute)
|
|
137
135
|
/* Start Options({
|
|
138
136
|
inject: {
|
|
139
137
|
custom: {
|
|
@@ -169,7 +167,7 @@ let ColumnDirective = class ColumnDirective extends vueImport$1 {
|
|
|
169
167
|
}
|
|
170
168
|
};
|
|
171
169
|
ColumnDirective = __decorate$1([
|
|
172
|
-
EJComponentDecorator({}, isExecute
|
|
170
|
+
EJComponentDecorator({}, isExecute)
|
|
173
171
|
], ColumnDirective);
|
|
174
172
|
const ColumnPlugin = {
|
|
175
173
|
name: 'e-column',
|
|
@@ -185,9 +183,8 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
185
183
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
186
184
|
};
|
|
187
185
|
// {{VueImport}}
|
|
188
|
-
const isExecute$2 = gh ? false : true;
|
|
189
186
|
let vueImport$2;
|
|
190
|
-
if (!isExecute
|
|
187
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
191
188
|
vueImport$2 = Vue;
|
|
192
189
|
}
|
|
193
190
|
else {
|
|
@@ -206,18 +203,18 @@ class AggregateColumnsDirective extends vueImport$2 {
|
|
|
206
203
|
super(arguments);
|
|
207
204
|
}
|
|
208
205
|
render(createElement) {
|
|
209
|
-
if (
|
|
210
|
-
let h = gh
|
|
206
|
+
if (!isExecute) {
|
|
207
|
+
let h = !isExecute ? gh : createElement;
|
|
211
208
|
let slots = null;
|
|
212
209
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
213
|
-
slots =
|
|
210
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
214
211
|
}
|
|
215
212
|
return h('div', { class: 'e-directive' }, slots);
|
|
216
213
|
}
|
|
217
214
|
return;
|
|
218
215
|
}
|
|
219
216
|
updated() {
|
|
220
|
-
if (
|
|
217
|
+
if (!isExecute && this.custom) {
|
|
221
218
|
this.custom();
|
|
222
219
|
}
|
|
223
220
|
}
|
|
@@ -226,7 +223,7 @@ class AggregateColumnsDirective extends vueImport$2 {
|
|
|
226
223
|
}
|
|
227
224
|
};
|
|
228
225
|
AggregateColumnsDirective = __decorate$2([
|
|
229
|
-
EJComponentDecorator({}, isExecute
|
|
226
|
+
EJComponentDecorator({}, isExecute)
|
|
230
227
|
/* Start Options({
|
|
231
228
|
inject: {
|
|
232
229
|
custom: {
|
|
@@ -268,7 +265,7 @@ let AggregateColumnDirective = class AggregateColumnDirective extends vueImport$
|
|
|
268
265
|
}
|
|
269
266
|
};
|
|
270
267
|
AggregateColumnDirective = __decorate$2([
|
|
271
|
-
EJComponentDecorator({}, isExecute
|
|
268
|
+
EJComponentDecorator({}, isExecute)
|
|
272
269
|
], AggregateColumnDirective);
|
|
273
270
|
const AggregateColumnPlugin = {
|
|
274
271
|
name: 'e-column',
|
|
@@ -284,9 +281,8 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
284
281
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
285
282
|
};
|
|
286
283
|
// {{VueImport}}
|
|
287
|
-
const isExecute$3 = gh ? false : true;
|
|
288
284
|
let vueImport$3;
|
|
289
|
-
if (!isExecute
|
|
285
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
290
286
|
vueImport$3 = Vue;
|
|
291
287
|
}
|
|
292
288
|
else {
|
|
@@ -305,18 +301,18 @@ class AggregatesDirective extends vueImport$3 {
|
|
|
305
301
|
super(arguments);
|
|
306
302
|
}
|
|
307
303
|
render(createElement) {
|
|
308
|
-
if (
|
|
309
|
-
let h = gh
|
|
304
|
+
if (!isExecute) {
|
|
305
|
+
let h = !isExecute ? gh : createElement;
|
|
310
306
|
let slots = null;
|
|
311
307
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
312
|
-
slots =
|
|
308
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
313
309
|
}
|
|
314
310
|
return h('div', { class: 'e-directive' }, slots);
|
|
315
311
|
}
|
|
316
312
|
return;
|
|
317
313
|
}
|
|
318
314
|
updated() {
|
|
319
|
-
if (
|
|
315
|
+
if (!isExecute && this.custom) {
|
|
320
316
|
this.custom();
|
|
321
317
|
}
|
|
322
318
|
}
|
|
@@ -325,7 +321,7 @@ class AggregatesDirective extends vueImport$3 {
|
|
|
325
321
|
}
|
|
326
322
|
};
|
|
327
323
|
AggregatesDirective = __decorate$3([
|
|
328
|
-
EJComponentDecorator({}, isExecute
|
|
324
|
+
EJComponentDecorator({}, isExecute)
|
|
329
325
|
/* Start Options({
|
|
330
326
|
inject: {
|
|
331
327
|
custom: {
|
|
@@ -368,7 +364,7 @@ let AggregateDirective = class AggregateDirective extends vueImport$3 {
|
|
|
368
364
|
}
|
|
369
365
|
};
|
|
370
366
|
AggregateDirective = __decorate$3([
|
|
371
|
-
EJComponentDecorator({}, isExecute
|
|
367
|
+
EJComponentDecorator({}, isExecute)
|
|
372
368
|
], AggregateDirective);
|
|
373
369
|
const AggregatePlugin = {
|
|
374
370
|
name: 'e-aggregate',
|
|
@@ -384,7 +380,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
384
380
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
385
381
|
};
|
|
386
382
|
// {{VueImport}}
|
|
387
|
-
const properties = ['isLazyUpdate', 'plugins', 'aggregates', 'allowExcelExport', 'allowFiltering', 'allowGrouping', 'allowKeyboard', 'allowMultiSorting', 'allowPaging', 'allowPdfExport', 'allowReordering', 'allowResizing', 'allowRowDragAndDrop', 'allowSelection', 'allowSorting', 'allowTextWrap', 'childGrid', 'clipMode', 'columnChooserSettings', 'columnMenuItems', 'columnQueryMode', 'columns', 'contextMenuItems', 'cssClass', 'currencyCode', 'currentAction', 'dataSource', 'detailTemplate', 'editSettings', 'ej2StatePersistenceVersion', 'enableAdaptiveUI', 'enableAltRow', 'enableAutoFill', 'enableColumnVirtualization', 'enableHeaderFocus', 'enableHover', 'enableImmutableMode', 'enableInfiniteScrolling', 'enablePersistence', 'enableRtl', 'enableStickyHeader', 'enableVirtualization', 'filterSettings', 'frozenColumns', 'frozenRows', 'gridLines', 'groupSettings', 'height', 'hierarchyPrintMode', 'infiniteScrollSettings', 'locale', 'pageSettings', 'pagerTemplate', 'parentDetails', 'printMode', 'query', 'queryString', 'resizeSettings', 'rowDropSettings', 'rowHeight', 'rowRenderingMode', 'rowTemplate', 'searchSettings', 'selectedRowIndex', 'selectionSettings', 'showColumnChooser', 'showColumnMenu', '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'];
|
|
383
|
+
const properties = ['isLazyUpdate', 'plugins', 'aggregates', 'allowExcelExport', 'allowFiltering', 'allowGrouping', 'allowKeyboard', 'allowMultiSorting', 'allowPaging', 'allowPdfExport', 'allowReordering', 'allowResizing', 'allowRowDragAndDrop', 'allowSelection', 'allowSorting', 'allowTextWrap', 'childGrid', 'clipMode', 'columnChooserSettings', 'columnMenuItems', 'columnQueryMode', 'columns', 'contextMenuItems', 'cssClass', 'currencyCode', 'currentAction', 'dataSource', 'detailTemplate', 'editSettings', 'ej2StatePersistenceVersion', 'enableAdaptiveUI', 'enableAltRow', 'enableAutoFill', 'enableColumnVirtualization', 'enableHeaderFocus', 'enableHover', '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', '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'];
|
|
388
384
|
const modelProps = ['dataSource'];
|
|
389
385
|
const testProp = getProps({ props: properties });
|
|
390
386
|
const props = testProp[0];
|
|
@@ -394,7 +390,6 @@ emitProbs.push('modelchanged', 'update:modelValue');
|
|
|
394
390
|
for (let props of modelProps) {
|
|
395
391
|
emitProbs.push('update:' + props);
|
|
396
392
|
}
|
|
397
|
-
const isExecute$4 = gh ? false : true;
|
|
398
393
|
/**
|
|
399
394
|
* `ejs-grid` represents the VueJS Grid Component.
|
|
400
395
|
* ```vue
|
|
@@ -421,7 +416,7 @@ class GridComponent extends ComponentBase {
|
|
|
421
416
|
this.hasInjectedModules = true;
|
|
422
417
|
this.tagMapper = { "e-columns": { "e-column": { "e-stacked-columns": "e-stacked-column" } }, "e-aggregates": { "e-aggregate": { "e-columns": "e-column" } } };
|
|
423
418
|
this.tagNameMapper = { "e-stacked-columns": "e-columns" };
|
|
424
|
-
this.isVue3 = !isExecute
|
|
419
|
+
this.isVue3 = !isExecute;
|
|
425
420
|
this.ej2Instances = new Grid({});
|
|
426
421
|
this.ej2Instances._trigger = this.ej2Instances.trigger;
|
|
427
422
|
this.ej2Instances.trigger = this.trigger;
|
|
@@ -477,14 +472,14 @@ class GridComponent extends ComponentBase {
|
|
|
477
472
|
}
|
|
478
473
|
}
|
|
479
474
|
trigger(eventName, eventProp, successHandler) {
|
|
480
|
-
if (!isExecute
|
|
475
|
+
if (!isExecute) {
|
|
481
476
|
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
482
477
|
}
|
|
483
478
|
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
484
479
|
let key = this.models.toString().match(/checked|value/) || [];
|
|
485
480
|
let propKey = key[0];
|
|
486
481
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
487
|
-
if (!isExecute
|
|
482
|
+
if (!isExecute) {
|
|
488
483
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
489
484
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
490
485
|
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
@@ -501,7 +496,7 @@ class GridComponent extends ComponentBase {
|
|
|
501
496
|
let key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
502
497
|
let propKey = key[0];
|
|
503
498
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
504
|
-
if (!isExecute
|
|
499
|
+
if (!isExecute) {
|
|
505
500
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
506
501
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
507
502
|
}
|
|
@@ -516,10 +511,10 @@ class GridComponent extends ComponentBase {
|
|
|
516
511
|
}
|
|
517
512
|
}
|
|
518
513
|
render(createElement) {
|
|
519
|
-
let h = gh
|
|
514
|
+
let h = !isExecute ? gh : createElement;
|
|
520
515
|
let slots = null;
|
|
521
516
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
522
|
-
slots =
|
|
517
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
523
518
|
}
|
|
524
519
|
return h('div', slots);
|
|
525
520
|
}
|
|
@@ -529,6 +524,9 @@ class GridComponent extends ComponentBase {
|
|
|
529
524
|
addRecord(data, index) {
|
|
530
525
|
return this.ej2Instances.addRecord(data, index);
|
|
531
526
|
}
|
|
527
|
+
addShimmerEffect() {
|
|
528
|
+
return this.ej2Instances.addShimmerEffect();
|
|
529
|
+
}
|
|
532
530
|
autoFitColumns(fieldNames) {
|
|
533
531
|
return this.ej2Instances.autoFitColumns(fieldNames);
|
|
534
532
|
}
|
|
@@ -808,6 +806,9 @@ class GridComponent extends ComponentBase {
|
|
|
808
806
|
refreshHeader() {
|
|
809
807
|
return this.ej2Instances.refreshHeader();
|
|
810
808
|
}
|
|
809
|
+
removeMaskRow() {
|
|
810
|
+
return this.ej2Instances.removeMaskRow();
|
|
811
|
+
}
|
|
811
812
|
reorderColumnByIndex(fromIndex, toIndex) {
|
|
812
813
|
return this.ej2Instances.reorderColumnByIndex(fromIndex, toIndex);
|
|
813
814
|
}
|
|
@@ -883,6 +884,9 @@ class GridComponent extends ComponentBase {
|
|
|
883
884
|
showColumns(keys, showBy) {
|
|
884
885
|
return this.ej2Instances.showColumns(keys, showBy);
|
|
885
886
|
}
|
|
887
|
+
showMaskRow(axisDirection, dialogElement) {
|
|
888
|
+
return this.ej2Instances.showMaskRow(axisDirection, dialogElement);
|
|
889
|
+
}
|
|
886
890
|
showSpinner() {
|
|
887
891
|
return this.ej2Instances.showSpinner();
|
|
888
892
|
}
|
|
@@ -914,7 +918,7 @@ GridComponent = __decorate$4([
|
|
|
914
918
|
model: {
|
|
915
919
|
event: 'modelchanged'
|
|
916
920
|
}
|
|
917
|
-
}, isExecute
|
|
921
|
+
}, isExecute)
|
|
918
922
|
/* Start Options({
|
|
919
923
|
props: props,
|
|
920
924
|
watch: watch,
|
|
@@ -958,7 +962,6 @@ emitProbs$1.push('modelchanged', 'update:modelValue');
|
|
|
958
962
|
for (let props of modelProps$1) {
|
|
959
963
|
emitProbs$1.push('update:' + props);
|
|
960
964
|
}
|
|
961
|
-
const isExecute$5 = gh ? false : true;
|
|
962
965
|
/**
|
|
963
966
|
* `ejs-pager` represents the VueJS Pager Component.
|
|
964
967
|
* ```vue
|
|
@@ -985,7 +988,7 @@ class PagerComponent extends ComponentBase {
|
|
|
985
988
|
this.hasInjectedModules = false;
|
|
986
989
|
this.tagMapper = {};
|
|
987
990
|
this.tagNameMapper = {};
|
|
988
|
-
this.isVue3 = !isExecute
|
|
991
|
+
this.isVue3 = !isExecute;
|
|
989
992
|
this.ej2Instances = new Pager({});
|
|
990
993
|
this.bindProperties();
|
|
991
994
|
this.ej2Instances._setProperties = this.ej2Instances.setProperties;
|
|
@@ -1039,10 +1042,10 @@ class PagerComponent extends ComponentBase {
|
|
|
1039
1042
|
}
|
|
1040
1043
|
}
|
|
1041
1044
|
render(createElement) {
|
|
1042
|
-
let h = gh
|
|
1045
|
+
let h = !isExecute ? gh : createElement;
|
|
1043
1046
|
let slots = null;
|
|
1044
1047
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1045
|
-
slots =
|
|
1048
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1046
1049
|
}
|
|
1047
1050
|
return h('div', slots);
|
|
1048
1051
|
}
|
|
@@ -1065,7 +1068,7 @@ class PagerComponent extends ComponentBase {
|
|
|
1065
1068
|
PagerComponent = __decorate$5([
|
|
1066
1069
|
EJComponentDecorator({
|
|
1067
1070
|
props: properties$1
|
|
1068
|
-
}, isExecute
|
|
1071
|
+
}, isExecute)
|
|
1069
1072
|
/* Start Options({
|
|
1070
1073
|
props: props,
|
|
1071
1074
|
watch: watch,
|