@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';
|
|
@@ -24,7 +24,6 @@ var __decorate = (undefined && undefined.__decorate) || function (decorators, ta
|
|
|
24
24
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
25
|
};
|
|
26
26
|
import { Options } from 'vue-class-component';
|
|
27
|
-
var isExecute = gh ? false : true;
|
|
28
27
|
var vueImport;
|
|
29
28
|
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
30
29
|
vueImport = Vue;
|
|
@@ -38,18 +37,18 @@ var StackedColumnsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
38
37
|
return _super.call(this, arguments) || this;
|
|
39
38
|
}
|
|
40
39
|
StackedColumnsDirective.prototype.render = function (createElement) {
|
|
41
|
-
if (
|
|
42
|
-
var h = gh
|
|
40
|
+
if (!isExecute) {
|
|
41
|
+
var h = !isExecute ? gh : createElement;
|
|
43
42
|
var slots = null;
|
|
44
43
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
45
|
-
slots =
|
|
44
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
46
45
|
}
|
|
47
46
|
return h('div', { class: 'e-directive' }, slots);
|
|
48
47
|
}
|
|
49
48
|
return;
|
|
50
49
|
};
|
|
51
50
|
StackedColumnsDirective.prototype.updated = function () {
|
|
52
|
-
if (
|
|
51
|
+
if (!isExecute && this.custom) {
|
|
53
52
|
this.custom();
|
|
54
53
|
}
|
|
55
54
|
};
|
|
@@ -117,9 +116,8 @@ var __decorate$1 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
117
116
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
118
117
|
};
|
|
119
118
|
// {{VueImport}}
|
|
120
|
-
var isExecute$1 = gh ? false : true;
|
|
121
119
|
var vueImport$1;
|
|
122
|
-
if (!isExecute
|
|
120
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
123
121
|
vueImport$1 = Vue;
|
|
124
122
|
}
|
|
125
123
|
else {
|
|
@@ -131,18 +129,18 @@ var ColumnsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
131
129
|
return _super.call(this, arguments) || this;
|
|
132
130
|
}
|
|
133
131
|
ColumnsDirective.prototype.render = function (createElement) {
|
|
134
|
-
if (
|
|
135
|
-
var h = gh
|
|
132
|
+
if (!isExecute) {
|
|
133
|
+
var h = !isExecute ? gh : createElement;
|
|
136
134
|
var slots = null;
|
|
137
135
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
138
|
-
slots =
|
|
136
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
139
137
|
}
|
|
140
138
|
return h('div', { class: 'e-directive' }, slots);
|
|
141
139
|
}
|
|
142
140
|
return;
|
|
143
141
|
};
|
|
144
142
|
ColumnsDirective.prototype.updated = function () {
|
|
145
|
-
if (
|
|
143
|
+
if (!isExecute && this.custom) {
|
|
146
144
|
this.custom();
|
|
147
145
|
}
|
|
148
146
|
};
|
|
@@ -150,7 +148,7 @@ var ColumnsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
150
148
|
return 'e-columns';
|
|
151
149
|
};
|
|
152
150
|
ColumnsDirective = __decorate$1([
|
|
153
|
-
EJComponentDecorator({}, isExecute
|
|
151
|
+
EJComponentDecorator({}, isExecute)
|
|
154
152
|
,Options({
|
|
155
153
|
inject: {
|
|
156
154
|
custom: {
|
|
@@ -191,7 +189,7 @@ var ColumnDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
191
189
|
return 'e-column';
|
|
192
190
|
};
|
|
193
191
|
ColumnDirective = __decorate$1([
|
|
194
|
-
EJComponentDecorator({}, isExecute
|
|
192
|
+
EJComponentDecorator({}, isExecute)
|
|
195
193
|
], ColumnDirective);
|
|
196
194
|
return ColumnDirective;
|
|
197
195
|
}(vueImport$1));
|
|
@@ -222,9 +220,8 @@ var __decorate$2 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
222
220
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
223
221
|
};
|
|
224
222
|
// {{VueImport}}
|
|
225
|
-
var isExecute$2 = gh ? false : true;
|
|
226
223
|
var vueImport$2;
|
|
227
|
-
if (!isExecute
|
|
224
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
228
225
|
vueImport$2 = Vue;
|
|
229
226
|
}
|
|
230
227
|
else {
|
|
@@ -236,18 +233,18 @@ var AggregateColumnsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
236
233
|
return _super.call(this, arguments) || this;
|
|
237
234
|
}
|
|
238
235
|
AggregateColumnsDirective.prototype.render = function (createElement) {
|
|
239
|
-
if (
|
|
240
|
-
var h = gh
|
|
236
|
+
if (!isExecute) {
|
|
237
|
+
var h = !isExecute ? gh : createElement;
|
|
241
238
|
var slots = null;
|
|
242
239
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
243
|
-
slots =
|
|
240
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
244
241
|
}
|
|
245
242
|
return h('div', { class: 'e-directive' }, slots);
|
|
246
243
|
}
|
|
247
244
|
return;
|
|
248
245
|
};
|
|
249
246
|
AggregateColumnsDirective.prototype.updated = function () {
|
|
250
|
-
if (
|
|
247
|
+
if (!isExecute && this.custom) {
|
|
251
248
|
this.custom();
|
|
252
249
|
}
|
|
253
250
|
};
|
|
@@ -255,7 +252,7 @@ var AggregateColumnsDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
255
252
|
return 'e-columns';
|
|
256
253
|
};
|
|
257
254
|
AggregateColumnsDirective = __decorate$2([
|
|
258
|
-
EJComponentDecorator({}, isExecute
|
|
255
|
+
EJComponentDecorator({}, isExecute)
|
|
259
256
|
,Options({
|
|
260
257
|
inject: {
|
|
261
258
|
custom: {
|
|
@@ -302,7 +299,7 @@ var AggregateColumnDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
302
299
|
return 'e-column';
|
|
303
300
|
};
|
|
304
301
|
AggregateColumnDirective = __decorate$2([
|
|
305
|
-
EJComponentDecorator({}, isExecute
|
|
302
|
+
EJComponentDecorator({}, isExecute)
|
|
306
303
|
], AggregateColumnDirective);
|
|
307
304
|
return AggregateColumnDirective;
|
|
308
305
|
}(vueImport$2));
|
|
@@ -333,9 +330,8 @@ var __decorate$3 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
333
330
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
334
331
|
};
|
|
335
332
|
// {{VueImport}}
|
|
336
|
-
var isExecute$3 = gh ? false : true;
|
|
337
333
|
var vueImport$3;
|
|
338
|
-
if (!isExecute
|
|
334
|
+
if (!isExecute || parseInt(allVue.version) < 3) {
|
|
339
335
|
vueImport$3 = Vue;
|
|
340
336
|
}
|
|
341
337
|
else {
|
|
@@ -347,18 +343,18 @@ var AggregatesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
347
343
|
return _super.call(this, arguments) || this;
|
|
348
344
|
}
|
|
349
345
|
AggregatesDirective.prototype.render = function (createElement) {
|
|
350
|
-
if (
|
|
351
|
-
var h = gh
|
|
346
|
+
if (!isExecute) {
|
|
347
|
+
var h = !isExecute ? gh : createElement;
|
|
352
348
|
var slots = null;
|
|
353
349
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
354
|
-
slots =
|
|
350
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
355
351
|
}
|
|
356
352
|
return h('div', { class: 'e-directive' }, slots);
|
|
357
353
|
}
|
|
358
354
|
return;
|
|
359
355
|
};
|
|
360
356
|
AggregatesDirective.prototype.updated = function () {
|
|
361
|
-
if (
|
|
357
|
+
if (!isExecute && this.custom) {
|
|
362
358
|
this.custom();
|
|
363
359
|
}
|
|
364
360
|
};
|
|
@@ -366,7 +362,7 @@ var AggregatesDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
366
362
|
return 'e-aggregates';
|
|
367
363
|
};
|
|
368
364
|
AggregatesDirective = __decorate$3([
|
|
369
|
-
EJComponentDecorator({}, isExecute
|
|
365
|
+
EJComponentDecorator({}, isExecute)
|
|
370
366
|
,Options({
|
|
371
367
|
inject: {
|
|
372
368
|
custom: {
|
|
@@ -414,7 +410,7 @@ var AggregateDirective = /** @__PURE__ @class */ (function (_super) {
|
|
|
414
410
|
return 'e-aggregate';
|
|
415
411
|
};
|
|
416
412
|
AggregateDirective = __decorate$3([
|
|
417
|
-
EJComponentDecorator({}, isExecute
|
|
413
|
+
EJComponentDecorator({}, isExecute)
|
|
418
414
|
], AggregateDirective);
|
|
419
415
|
return AggregateDirective;
|
|
420
416
|
}(vueImport$3));
|
|
@@ -445,7 +441,7 @@ var __decorate$4 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
445
441
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
446
442
|
};
|
|
447
443
|
// {{VueImport}}
|
|
448
|
-
var 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'];
|
|
444
|
+
var 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'];
|
|
449
445
|
var modelProps = ['dataSource'];
|
|
450
446
|
var testProp = getProps({ props: properties });
|
|
451
447
|
var props = testProp[0];
|
|
@@ -456,7 +452,6 @@ for (var _i = 0, modelProps_1 = modelProps; _i < modelProps_1.length; _i++) {
|
|
|
456
452
|
var props_1 = modelProps_1[_i];
|
|
457
453
|
emitProbs.push('update:' + props_1);
|
|
458
454
|
}
|
|
459
|
-
var isExecute$4 = gh ? false : true;
|
|
460
455
|
/**
|
|
461
456
|
* `ejs-grid` represents the VueJS Grid Component.
|
|
462
457
|
* ```vue
|
|
@@ -473,7 +468,7 @@ var GridComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
473
468
|
_this.hasInjectedModules = true;
|
|
474
469
|
_this.tagMapper = { "e-columns": { "e-column": { "e-stacked-columns": "e-stacked-column" } }, "e-aggregates": { "e-aggregate": { "e-columns": "e-column" } } };
|
|
475
470
|
_this.tagNameMapper = { "e-stacked-columns": "e-columns" };
|
|
476
|
-
_this.isVue3 = !isExecute
|
|
471
|
+
_this.isVue3 = !isExecute;
|
|
477
472
|
_this.ej2Instances = new Grid({});
|
|
478
473
|
_this.ej2Instances._trigger = _this.ej2Instances.trigger;
|
|
479
474
|
_this.ej2Instances.trigger = _this.trigger;
|
|
@@ -533,14 +528,14 @@ var GridComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
533
528
|
}
|
|
534
529
|
};
|
|
535
530
|
GridComponent.prototype.trigger = function (eventName, eventProp, successHandler) {
|
|
536
|
-
if (!isExecute
|
|
531
|
+
if (!isExecute) {
|
|
537
532
|
this.models = !this.models ? this.ej2Instances.referModels : this.models;
|
|
538
533
|
}
|
|
539
534
|
if ((eventName === 'change' || eventName === 'input') && this.models && (this.models.length !== 0)) {
|
|
540
535
|
var key = this.models.toString().match(/checked|value/) || [];
|
|
541
536
|
var propKey = key[0];
|
|
542
537
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
543
|
-
if (!isExecute
|
|
538
|
+
if (!isExecute) {
|
|
544
539
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
545
540
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
546
541
|
this.ej2Instances.vueInstance.$emit('update:modelValue', eventProp[propKey]);
|
|
@@ -557,7 +552,7 @@ var GridComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
557
552
|
var key = this.models.toString().match(/currentView|selectedDate/) || [];
|
|
558
553
|
var propKey = key[0];
|
|
559
554
|
if (eventProp && key && !isUndefined(eventProp[propKey])) {
|
|
560
|
-
if (!isExecute
|
|
555
|
+
if (!isExecute) {
|
|
561
556
|
this.ej2Instances.vueInstance.$emit('update:' + propKey, eventProp[propKey]);
|
|
562
557
|
this.ej2Instances.vueInstance.$emit('modelchanged', eventProp[propKey]);
|
|
563
558
|
}
|
|
@@ -572,10 +567,10 @@ var GridComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
572
567
|
}
|
|
573
568
|
};
|
|
574
569
|
GridComponent.prototype.render = function (createElement) {
|
|
575
|
-
var h = gh
|
|
570
|
+
var h = !isExecute ? gh : createElement;
|
|
576
571
|
var slots = null;
|
|
577
572
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
578
|
-
slots =
|
|
573
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
579
574
|
}
|
|
580
575
|
return h('div', slots);
|
|
581
576
|
};
|
|
@@ -585,6 +580,9 @@ var GridComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
585
580
|
GridComponent.prototype.addRecord = function (data, index) {
|
|
586
581
|
return this.ej2Instances.addRecord(data, index);
|
|
587
582
|
};
|
|
583
|
+
GridComponent.prototype.addShimmerEffect = function () {
|
|
584
|
+
return this.ej2Instances.addShimmerEffect();
|
|
585
|
+
};
|
|
588
586
|
GridComponent.prototype.autoFitColumns = function (fieldNames) {
|
|
589
587
|
return this.ej2Instances.autoFitColumns(fieldNames);
|
|
590
588
|
};
|
|
@@ -864,6 +862,9 @@ var GridComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
864
862
|
GridComponent.prototype.refreshHeader = function () {
|
|
865
863
|
return this.ej2Instances.refreshHeader();
|
|
866
864
|
};
|
|
865
|
+
GridComponent.prototype.removeMaskRow = function () {
|
|
866
|
+
return this.ej2Instances.removeMaskRow();
|
|
867
|
+
};
|
|
867
868
|
GridComponent.prototype.reorderColumnByIndex = function (fromIndex, toIndex) {
|
|
868
869
|
return this.ej2Instances.reorderColumnByIndex(fromIndex, toIndex);
|
|
869
870
|
};
|
|
@@ -939,6 +940,9 @@ var GridComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
939
940
|
GridComponent.prototype.showColumns = function (keys, showBy) {
|
|
940
941
|
return this.ej2Instances.showColumns(keys, showBy);
|
|
941
942
|
};
|
|
943
|
+
GridComponent.prototype.showMaskRow = function (axisDirection, dialogElement) {
|
|
944
|
+
return this.ej2Instances.showMaskRow(axisDirection, dialogElement);
|
|
945
|
+
};
|
|
942
946
|
GridComponent.prototype.showSpinner = function () {
|
|
943
947
|
return this.ej2Instances.showSpinner();
|
|
944
948
|
};
|
|
@@ -969,7 +973,7 @@ var GridComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
969
973
|
model: {
|
|
970
974
|
event: 'modelchanged'
|
|
971
975
|
}
|
|
972
|
-
}, isExecute
|
|
976
|
+
}, isExecute)
|
|
973
977
|
,Options({
|
|
974
978
|
props: props,
|
|
975
979
|
watch: watch,
|
|
@@ -1029,7 +1033,6 @@ for (var _i$1 = 0, modelProps_1$1 = modelProps$1; _i$1 < modelProps_1$1.length;
|
|
|
1029
1033
|
var props_1$1 = modelProps_1$1[_i$1];
|
|
1030
1034
|
emitProbs$1.push('update:' + props_1$1);
|
|
1031
1035
|
}
|
|
1032
|
-
var isExecute$5 = gh ? false : true;
|
|
1033
1036
|
/**
|
|
1034
1037
|
* `ejs-pager` represents the VueJS Pager Component.
|
|
1035
1038
|
* ```vue
|
|
@@ -1046,7 +1049,7 @@ var PagerComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1046
1049
|
_this.hasInjectedModules = false;
|
|
1047
1050
|
_this.tagMapper = {};
|
|
1048
1051
|
_this.tagNameMapper = {};
|
|
1049
|
-
_this.isVue3 = !isExecute
|
|
1052
|
+
_this.isVue3 = !isExecute;
|
|
1050
1053
|
_this.ej2Instances = new Pager({});
|
|
1051
1054
|
_this.bindProperties();
|
|
1052
1055
|
_this.ej2Instances._setProperties = _this.ej2Instances.setProperties;
|
|
@@ -1104,10 +1107,10 @@ var PagerComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1104
1107
|
}
|
|
1105
1108
|
};
|
|
1106
1109
|
PagerComponent.prototype.render = function (createElement) {
|
|
1107
|
-
var h = gh
|
|
1110
|
+
var h = !isExecute ? gh : createElement;
|
|
1108
1111
|
var slots = null;
|
|
1109
1112
|
if (!isNullOrUndefined(this.$slots.default)) {
|
|
1110
|
-
slots =
|
|
1113
|
+
slots = !isExecute ? this.$slots.default() : this.$slots.default;
|
|
1111
1114
|
}
|
|
1112
1115
|
return h('div', slots);
|
|
1113
1116
|
};
|
|
@@ -1129,7 +1132,7 @@ var PagerComponent = /** @__PURE__ @class */ (function (_super) {
|
|
|
1129
1132
|
PagerComponent = __decorate$5([
|
|
1130
1133
|
EJComponentDecorator({
|
|
1131
1134
|
props: properties$1
|
|
1132
|
-
}, isExecute
|
|
1135
|
+
}, isExecute)
|
|
1133
1136
|
,Options({
|
|
1134
1137
|
props: props,
|
|
1135
1138
|
watch: watch,
|