@syncfusion/ej2-grids 18.3.44 → 18.3.50-85492
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 +1800 -1751
- package/README.md +81 -81
- package/dist/ej2-grids.umd.min.js +1 -10
- package/dist/ej2-grids.umd.min.js.map +1 -1
- package/dist/es6/ej2-grids.es2015.js +171 -105
- package/dist/es6/ej2-grids.es2015.js.map +1 -1
- package/dist/es6/ej2-grids.es5.js +726 -658
- package/dist/es6/ej2-grids.es5.js.map +1 -1
- package/helpers/e2e/index.js +3 -3
- package/license +10 -10
- package/package.json +81 -81
- package/src/grid/actions/batch-edit.js +2 -2
- package/src/grid/actions/dialog-edit.js +13 -13
- package/src/grid/actions/edit.js +4 -4
- package/src/grid/actions/excel-export.js +11 -2
- package/src/grid/actions/excel-filter.js +13 -13
- package/src/grid/actions/foreign-key.js +13 -13
- package/src/grid/actions/group.js +1 -1
- package/src/grid/actions/infinite-scroll.d.ts +1 -0
- package/src/grid/actions/infinite-scroll.js +1 -0
- package/src/grid/actions/inline-edit.js +13 -13
- package/src/grid/actions/normal-edit.js +3 -3
- package/src/grid/actions/page.js +6 -2
- package/src/grid/actions/pdf-export.js +12 -3
- package/src/grid/actions/print.js +4 -4
- package/src/grid/actions/resize.js +4 -1
- package/src/grid/actions/row-reorder.js +2 -2
- package/src/grid/actions/selection.js +23 -21
- package/src/grid/actions/toolbar.js +8 -8
- package/src/grid/base/constant.d.ts +2 -0
- package/src/grid/base/constant.js +2 -0
- package/src/grid/base/grid-model.d.ts +1283 -1284
- package/src/grid/base/grid.d.ts +49 -50
- package/src/grid/base/grid.js +34 -25
- package/src/grid/base/interface.d.ts +13 -0
- package/src/grid/base/util.js +3 -3
- package/src/grid/common/excel-filter-base.js +13 -13
- package/src/grid/models/aggregate-model.d.ts +74 -74
- package/src/grid/models/aggregate.js +19 -19
- package/src/grid/models/column-chooser-settings-model.d.ts +8 -8
- package/src/grid/models/column-chooser-settings.js +19 -19
- package/src/grid/models/column-model.d.ts +11 -11
- package/src/grid/models/column.d.ts +5 -5
- package/src/grid/models/column.js +6 -6
- package/src/grid/models/page-settings-model.d.ts +36 -36
- package/src/grid/models/page-settings.js +19 -19
- package/src/grid/renderer/caption-cell-renderer.js +16 -13
- package/src/grid/renderer/command-column-renderer.js +13 -13
- package/src/grid/renderer/content-renderer.js +16 -1
- package/src/grid/renderer/detail-expand-cell-renderer.js +13 -13
- package/src/grid/renderer/detail-header-indent-renderer.js +13 -13
- package/src/grid/renderer/dialog-edit-renderer.js +2 -1
- package/src/grid/renderer/dropdown-edit-cell.js +2 -2
- package/src/grid/renderer/edit-renderer.js +2 -2
- package/src/grid/renderer/expand-cell-renderer.js +13 -13
- package/src/grid/renderer/filter-cell-renderer.js +13 -13
- package/src/grid/renderer/footer-renderer.js +13 -13
- package/src/grid/renderer/freeze-renderer.js +13 -13
- package/src/grid/renderer/group-lazy-load-renderer.js +13 -13
- package/src/grid/renderer/header-cell-renderer.js +13 -13
- package/src/grid/renderer/header-indent-renderer.js +13 -13
- package/src/grid/renderer/indent-cell-renderer.js +13 -13
- package/src/grid/renderer/render.js +1 -1
- package/src/grid/renderer/row-drag-drop-renderer.js +13 -13
- package/src/grid/renderer/row-drag-header-indent-render.js +13 -13
- package/src/grid/renderer/stacked-cell-renderer.js +13 -13
- package/src/grid/renderer/summary-cell-renderer.js +13 -13
- package/src/grid/renderer/virtual-content-renderer.js +13 -13
- package/src/grid/renderer/virtual-freeze-renderer.js +13 -13
- package/src/grid/services/focus-strategy.d.ts +2 -1
- package/src/grid/services/focus-strategy.js +26 -16
- package/src/grid/services/group-model-generator.js +13 -13
- package/src/grid/services/row-model-generator.js +1 -1
- package/src/grid/services/summary-model-generator.js +13 -13
- package/src/pager/pager-dropdown.js +1 -1
- package/src/pager/pager-message.js +1 -1
- package/src/pager/pager-model.d.ts +59 -59
- package/src/pager/pager.js +19 -19
- package/styles/bootstrap-dark.css +0 -4
- package/styles/bootstrap.css +0 -4
- package/styles/bootstrap4.css +5 -4
- package/styles/bootstrap5-dark.css +0 -0
- package/styles/bootstrap5-dark.scss +0 -0
- package/styles/bootstrap5.css +0 -0
- package/styles/bootstrap5.scss +0 -0
- package/styles/excel-filter/_all.scss +2 -2
- package/styles/excel-filter/_bootstrap-dark-definition.scss +54 -54
- package/styles/excel-filter/_bootstrap-definition.scss +61 -61
- package/styles/excel-filter/_bootstrap4-definition.scss +70 -70
- package/styles/excel-filter/_fabric-dark-definition.scss +54 -54
- package/styles/excel-filter/_fabric-definition.scss +59 -59
- package/styles/excel-filter/_highcontrast-definition.scss +54 -54
- package/styles/excel-filter/_highcontrast-light-definition.scss +50 -50
- package/styles/excel-filter/_layout.scss +387 -387
- package/styles/excel-filter/_material-dark-definition.scss +56 -56
- package/styles/excel-filter/_material-definition.scss +57 -57
- package/styles/excel-filter/_office-365-definition.scss +1 -1
- package/styles/excel-filter/_theme.scss +18 -18
- package/styles/excel-filter/bootstrap-dark.css +0 -1
- package/styles/excel-filter/bootstrap.css +0 -1
- package/styles/excel-filter/bootstrap.scss +1 -0
- package/styles/excel-filter/bootstrap4.css +5 -1
- package/styles/excel-filter/fabric.scss +1 -0
- package/styles/excel-filter/highcontrast.scss +1 -0
- package/styles/excel-filter/icons/_bootstrap-dark.scss +29 -29
- package/styles/excel-filter/icons/_bootstrap.scss +29 -29
- package/styles/excel-filter/icons/_bootstrap4.scss +29 -29
- package/styles/excel-filter/icons/_fabric-dark.scss +29 -29
- package/styles/excel-filter/icons/_fabric.scss +29 -29
- package/styles/excel-filter/icons/_highcontrast-light.scss +29 -29
- package/styles/excel-filter/icons/_highcontrast.scss +29 -29
- package/styles/excel-filter/icons/_material-dark.scss +29 -29
- package/styles/excel-filter/icons/_material.scss +29 -29
- package/styles/excel-filter/material.scss +1 -0
- package/styles/fabric-dark.css +0 -3
- package/styles/fabric.css +0 -3
- package/styles/grid/_all.scss +2 -2
- package/styles/grid/_bootstrap-dark-definition.scss +497 -497
- package/styles/grid/_bootstrap-definition.scss +500 -500
- package/styles/grid/_bootstrap4-definition.scss +501 -502
- package/styles/grid/_fabric-dark-definition.scss +499 -499
- package/styles/grid/_fabric-definition.scss +499 -499
- package/styles/grid/_highcontrast-definition.scss +498 -498
- package/styles/grid/_highcontrast-light-definition.scss +495 -495
- package/styles/grid/_layout.scss +2908 -2908
- package/styles/grid/_material-dark-definition.scss +495 -495
- package/styles/grid/_material-definition.scss +495 -495
- package/styles/grid/_office-365-definition.scss +1 -1
- package/styles/grid/_theme.scss +529 -529
- package/styles/grid/bootstrap-dark.css +0 -4
- package/styles/grid/bootstrap.css +0 -4
- package/styles/grid/bootstrap.scss +1 -0
- package/styles/grid/bootstrap4.css +5 -4
- package/styles/grid/fabric-dark.css +0 -3
- package/styles/grid/fabric.css +0 -3
- package/styles/grid/fabric.scss +1 -0
- package/styles/grid/highcontrast-light.css +0 -3
- package/styles/grid/highcontrast.css +0 -3
- package/styles/grid/highcontrast.scss +1 -0
- package/styles/grid/icons/_bootstrap-dark.scss +180 -180
- package/styles/grid/icons/_bootstrap.scss +180 -180
- package/styles/grid/icons/_bootstrap4.scss +180 -180
- package/styles/grid/icons/_fabric-dark.scss +180 -180
- package/styles/grid/icons/_fabric.scss +180 -180
- package/styles/grid/icons/_highcontrast-light.scss +180 -180
- package/styles/grid/icons/_highcontrast.scss +181 -181
- package/styles/grid/icons/_material-dark.scss +180 -180
- package/styles/grid/icons/_material.scss +180 -180
- package/styles/grid/material-dark.css +0 -3
- package/styles/grid/material.css +0 -3
- package/styles/grid/material.scss +1 -0
- package/styles/highcontrast-light.css +0 -3
- package/styles/highcontrast.css +0 -3
- package/styles/material-dark.css +0 -3
- package/styles/material.css +0 -3
- package/styles/pager/_all.scss +2 -2
- package/styles/pager/_bootstrap-dark-definition.scss +112 -112
- package/styles/pager/_bootstrap-definition.scss +112 -112
- package/styles/pager/_bootstrap4-definition.scss +111 -112
- package/styles/pager/_fabric-dark-definition.scss +113 -113
- package/styles/pager/_fabric-definition.scss +112 -112
- package/styles/pager/_highcontrast-definition.scss +112 -112
- package/styles/pager/_highcontrast-light-definition.scss +112 -112
- package/styles/pager/_layout.scss +575 -575
- package/styles/pager/_material-dark-definition.scss +112 -112
- package/styles/pager/_material-definition.scss +111 -111
- package/styles/pager/_theme.scss +129 -129
- package/styles/pager/icons/_bootstrap-dark.scss +49 -49
- package/styles/pager/icons/_bootstrap.scss +49 -49
- package/styles/pager/icons/_bootstrap4.scss +49 -49
- package/styles/pager/icons/_fabric-dark.scss +49 -49
- package/styles/pager/icons/_fabric.scss +49 -49
- package/styles/pager/icons/_highcontrast-light.scss +49 -49
- package/styles/pager/icons/_highcontrast.scss +41 -41
- package/styles/pager/icons/_material-dark.scss +49 -49
- package/styles/pager/icons/_material.scss +41 -41
- package/styles/tailwind-dark.css +0 -0
- package/styles/tailwind-dark.scss +0 -0
- package/styles/tailwind.css +0 -0
- package/styles/tailwind.scss +0 -0
- package/dist/global/ej2-grids.min.js +0 -11
- package/dist/global/ej2-grids.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Browser, ChildProperty, Collection, Complex, Component, Draggable, Droppable, Event, EventHandler, Internationalization, KeyboardEvents, L10n, NotifyPropertyChanges, Observer, Property, addClass, append, attributes, blazorTemplates, classList, closest, compile, createElement, debounce, detach, extend, formatUnit, getEnumValue, getValue, isBlazor, isNullOrUndefined, isObject, isUndefined, matches, merge, print, remove, removeClass, resetBlazorTemplate, setCulture, setStyleAttribute, setValue, updateBlazorTemplate } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Browser, ChildProperty, Collection, Complex, Component, Draggable, Droppable, Event, EventHandler, Internationalization, KeyboardEvents, L10n, NotifyPropertyChanges, Observer, Property, addClass, append, attributes, blazorTemplates, classList, closest, compile, createElement, debounce, detach, extend, formatUnit, getEnumValue, getValue, isBlazor, isNullOrUndefined, isObject, isUndefined, matches, merge, print, remove, removeClass, resetBlazorTemplate, select, selectAll, setCulture, setStyleAttribute, setValue, updateBlazorTemplate } from '@syncfusion/ej2-base';
|
|
2
2
|
import { DataManager, DataUtil, Deferred, Predicate, Query, UrlAdaptor } from '@syncfusion/ej2-data';
|
|
3
3
|
import { Dialog, Tooltip, calculatePosition, calculateRelativeBasedPosition, createSpinner, hideSpinner, showSpinner } from '@syncfusion/ej2-popups';
|
|
4
4
|
import { Button, CheckBox, RadioButton, Switch, createCheckBox } from '@syncfusion/ej2-buttons';
|
|
@@ -13,7 +13,7 @@ import { PdfBitmap, PdfBorders, PdfColor, PdfCompositeField, PdfDocument, PdfFon
|
|
|
13
13
|
* ValueFormatter class to globalize the value.
|
|
14
14
|
* @hidden
|
|
15
15
|
*/
|
|
16
|
-
var ValueFormatter = /** @
|
|
16
|
+
var ValueFormatter = /** @class */ (function () {
|
|
17
17
|
function ValueFormatter(cultureName) {
|
|
18
18
|
this.intl = new Internationalization();
|
|
19
19
|
if (!isNullOrUndefined(cultureName)) {
|
|
@@ -67,16 +67,16 @@ var ValueFormatter = /** @__PURE__ @class */ (function () {
|
|
|
67
67
|
return ValueFormatter;
|
|
68
68
|
}());
|
|
69
69
|
|
|
70
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
71
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
72
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
73
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
74
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
75
|
-
};
|
|
70
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
71
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
72
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
73
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
74
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
75
|
+
};
|
|
76
76
|
/**
|
|
77
77
|
* Represents Grid `Column` model class.
|
|
78
78
|
*/
|
|
79
|
-
var Column = /** @
|
|
79
|
+
var Column = /** @class */ (function () {
|
|
80
80
|
function Column(options) {
|
|
81
81
|
var _this = this;
|
|
82
82
|
/**
|
|
@@ -330,7 +330,7 @@ var Column = /** @__PURE__ @class */ (function () {
|
|
|
330
330
|
/**
|
|
331
331
|
* Define options for custom command buttons.
|
|
332
332
|
*/
|
|
333
|
-
var CommandColumnModel = /** @
|
|
333
|
+
var CommandColumnModel = /** @class */ (function () {
|
|
334
334
|
function CommandColumnModel() {
|
|
335
335
|
}
|
|
336
336
|
__decorate([
|
|
@@ -796,6 +796,8 @@ var groupCollapse = 'group-collapse';
|
|
|
796
796
|
var beforeCheckboxRenderer = 'beforeCheckboxRenderer';
|
|
797
797
|
/** @hidden */
|
|
798
798
|
var refreshHandlers = 'refreshResizeHandlers';
|
|
799
|
+
/** @hidden */
|
|
800
|
+
var beforeRefreshOnDataChange = 'before-refresh-on-data-change';
|
|
799
801
|
|
|
800
802
|
/**
|
|
801
803
|
* Defines types of Cell
|
|
@@ -889,7 +891,7 @@ var AggregateTemplateType;
|
|
|
889
891
|
* Grid data module is used to generate query and data source.
|
|
890
892
|
* @hidden
|
|
891
893
|
*/
|
|
892
|
-
var Data = /** @
|
|
894
|
+
var Data = /** @class */ (function () {
|
|
893
895
|
/**
|
|
894
896
|
* Constructor for data module.
|
|
895
897
|
* @hidden
|
|
@@ -1480,7 +1482,7 @@ var Data = /** @__PURE__ @class */ (function () {
|
|
|
1480
1482
|
* Row
|
|
1481
1483
|
* @hidden
|
|
1482
1484
|
*/
|
|
1483
|
-
var Row = /** @
|
|
1485
|
+
var Row = /** @class */ (function () {
|
|
1484
1486
|
function Row(options, parent) {
|
|
1485
1487
|
merge(this, options);
|
|
1486
1488
|
this.parent = parent;
|
|
@@ -1530,7 +1532,7 @@ var Row = /** @__PURE__ @class */ (function () {
|
|
|
1530
1532
|
* Cell
|
|
1531
1533
|
* @hidden
|
|
1532
1534
|
*/
|
|
1533
|
-
var Cell = /** @
|
|
1535
|
+
var Cell = /** @class */ (function () {
|
|
1534
1536
|
function Cell(options) {
|
|
1535
1537
|
this.isSpanned = false;
|
|
1536
1538
|
this.isRowSpanned = false;
|
|
@@ -1548,7 +1550,7 @@ var Cell = /** @__PURE__ @class */ (function () {
|
|
|
1548
1550
|
* `CellMergeRender` module.
|
|
1549
1551
|
* @hidden
|
|
1550
1552
|
*/
|
|
1551
|
-
var CellMergeRender = /** @
|
|
1553
|
+
var CellMergeRender = /** @class */ (function () {
|
|
1552
1554
|
function CellMergeRender(serviceLocator, parent) {
|
|
1553
1555
|
this.serviceLocator = serviceLocator;
|
|
1554
1556
|
this.parent = parent;
|
|
@@ -1669,7 +1671,7 @@ var CellMergeRender = /** @__PURE__ @class */ (function () {
|
|
|
1669
1671
|
* RowRenderer class which responsible for building row content.
|
|
1670
1672
|
* @hidden
|
|
1671
1673
|
*/
|
|
1672
|
-
var RowRenderer = /** @
|
|
1674
|
+
var RowRenderer = /** @class */ (function () {
|
|
1673
1675
|
function RowRenderer(serviceLocator, cellType, parent) {
|
|
1674
1676
|
this.isSpan = false;
|
|
1675
1677
|
this.cellType = cellType;
|
|
@@ -1863,7 +1865,7 @@ var RowRenderer = /** @__PURE__ @class */ (function () {
|
|
|
1863
1865
|
* RowModelGenerator is used to generate grid data rows.
|
|
1864
1866
|
* @hidden
|
|
1865
1867
|
*/
|
|
1866
|
-
var RowModelGenerator = /** @
|
|
1868
|
+
var RowModelGenerator = /** @class */ (function () {
|
|
1867
1869
|
/**
|
|
1868
1870
|
* Constructor for header renderer module
|
|
1869
1871
|
*/
|
|
@@ -1873,7 +1875,7 @@ var RowModelGenerator = /** @__PURE__ @class */ (function () {
|
|
|
1873
1875
|
RowModelGenerator.prototype.generateRows = function (data, args) {
|
|
1874
1876
|
var rows = [];
|
|
1875
1877
|
var startIndex = this.parent.enableVirtualization && args ? args.startIndex : 0;
|
|
1876
|
-
startIndex = this.parent.enableInfiniteScrolling ? this.getInfiniteIndex(args) : startIndex;
|
|
1878
|
+
startIndex = this.parent.enableInfiniteScrolling && args ? this.getInfiniteIndex(args) : startIndex;
|
|
1877
1879
|
for (var i = 0, len = Object.keys(data).length; i < len; i++, startIndex++) {
|
|
1878
1880
|
rows[i] = this.generateRow(data[i], startIndex);
|
|
1879
1881
|
}
|
|
@@ -1976,24 +1978,24 @@ var RowModelGenerator = /** @__PURE__ @class */ (function () {
|
|
|
1976
1978
|
return RowModelGenerator;
|
|
1977
1979
|
}());
|
|
1978
1980
|
|
|
1979
|
-
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
1980
|
-
var extendStatics = function (d, b) {
|
|
1981
|
-
extendStatics = Object.setPrototypeOf ||
|
|
1982
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1983
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
1984
|
-
return extendStatics(d, b);
|
|
1985
|
-
};
|
|
1986
|
-
return function (d, b) {
|
|
1987
|
-
extendStatics(d, b);
|
|
1988
|
-
function __() { this.constructor = d; }
|
|
1989
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1990
|
-
};
|
|
1991
|
-
})();
|
|
1981
|
+
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
1982
|
+
var extendStatics = function (d, b) {
|
|
1983
|
+
extendStatics = Object.setPrototypeOf ||
|
|
1984
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
1985
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
1986
|
+
return extendStatics(d, b);
|
|
1987
|
+
};
|
|
1988
|
+
return function (d, b) {
|
|
1989
|
+
extendStatics(d, b);
|
|
1990
|
+
function __() { this.constructor = d; }
|
|
1991
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
1992
|
+
};
|
|
1993
|
+
})();
|
|
1992
1994
|
/**
|
|
1993
1995
|
* Summary row model generator
|
|
1994
1996
|
* @hidden
|
|
1995
1997
|
*/
|
|
1996
|
-
var SummaryModelGenerator = /** @
|
|
1998
|
+
var SummaryModelGenerator = /** @class */ (function () {
|
|
1997
1999
|
/**
|
|
1998
2000
|
* Constructor for Summary row model generator
|
|
1999
2001
|
*/
|
|
@@ -2143,7 +2145,7 @@ var SummaryModelGenerator = /** @__PURE__ @class */ (function () {
|
|
|
2143
2145
|
};
|
|
2144
2146
|
return SummaryModelGenerator;
|
|
2145
2147
|
}());
|
|
2146
|
-
var GroupSummaryModelGenerator = /** @
|
|
2148
|
+
var GroupSummaryModelGenerator = /** @class */ (function (_super) {
|
|
2147
2149
|
__extends$2(GroupSummaryModelGenerator, _super);
|
|
2148
2150
|
function GroupSummaryModelGenerator() {
|
|
2149
2151
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -2160,7 +2162,7 @@ var GroupSummaryModelGenerator = /** @__PURE__ @class */ (function (_super) {
|
|
|
2160
2162
|
};
|
|
2161
2163
|
return GroupSummaryModelGenerator;
|
|
2162
2164
|
}(SummaryModelGenerator));
|
|
2163
|
-
var CaptionSummaryModelGenerator = /** @
|
|
2165
|
+
var CaptionSummaryModelGenerator = /** @class */ (function (_super) {
|
|
2164
2166
|
__extends$2(CaptionSummaryModelGenerator, _super);
|
|
2165
2167
|
function CaptionSummaryModelGenerator() {
|
|
2166
2168
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -2184,24 +2186,24 @@ var CaptionSummaryModelGenerator = /** @__PURE__ @class */ (function (_super) {
|
|
|
2184
2186
|
return CaptionSummaryModelGenerator;
|
|
2185
2187
|
}(SummaryModelGenerator));
|
|
2186
2188
|
|
|
2187
|
-
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
2188
|
-
var extendStatics = function (d, b) {
|
|
2189
|
-
extendStatics = Object.setPrototypeOf ||
|
|
2190
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2191
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2192
|
-
return extendStatics(d, b);
|
|
2193
|
-
};
|
|
2194
|
-
return function (d, b) {
|
|
2195
|
-
extendStatics(d, b);
|
|
2196
|
-
function __() { this.constructor = d; }
|
|
2197
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2198
|
-
};
|
|
2199
|
-
})();
|
|
2189
|
+
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
2190
|
+
var extendStatics = function (d, b) {
|
|
2191
|
+
extendStatics = Object.setPrototypeOf ||
|
|
2192
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2193
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2194
|
+
return extendStatics(d, b);
|
|
2195
|
+
};
|
|
2196
|
+
return function (d, b) {
|
|
2197
|
+
extendStatics(d, b);
|
|
2198
|
+
function __() { this.constructor = d; }
|
|
2199
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2200
|
+
};
|
|
2201
|
+
})();
|
|
2200
2202
|
/**
|
|
2201
2203
|
* GroupModelGenerator is used to generate group caption rows and data rows.
|
|
2202
2204
|
* @hidden
|
|
2203
2205
|
*/
|
|
2204
|
-
var GroupModelGenerator = /** @
|
|
2206
|
+
var GroupModelGenerator = /** @class */ (function (_super) {
|
|
2205
2207
|
__extends$1(GroupModelGenerator, _super);
|
|
2206
2208
|
function GroupModelGenerator(parent) {
|
|
2207
2209
|
var _this = _super.call(this, parent) || this;
|
|
@@ -2409,7 +2411,7 @@ var GroupModelGenerator = /** @__PURE__ @class */ (function (_super) {
|
|
|
2409
2411
|
* Content module is used to render grid content
|
|
2410
2412
|
* @hidden
|
|
2411
2413
|
*/
|
|
2412
|
-
var ContentRender = /** @
|
|
2414
|
+
var ContentRender = /** @class */ (function () {
|
|
2413
2415
|
/**
|
|
2414
2416
|
* Constructor for content renderer module
|
|
2415
2417
|
*/
|
|
@@ -3468,6 +3470,12 @@ var ContentRender = /** @__PURE__ @class */ (function () {
|
|
|
3468
3470
|
var currentLen = dataSource.length;
|
|
3469
3471
|
if (prevLen === currentLen) {
|
|
3470
3472
|
for (var i = 0; i < currentLen; i++) {
|
|
3473
|
+
if (this.parent.editSettings.mode === 'Batch'
|
|
3474
|
+
&& trs[i].classList.contains('e-insertedrow')) {
|
|
3475
|
+
trs.splice(i, 1);
|
|
3476
|
+
--i;
|
|
3477
|
+
continue;
|
|
3478
|
+
}
|
|
3471
3479
|
newKeys[dataSource[i][key]] = oldKeys[this.prevCurrentView[i][key]] = i;
|
|
3472
3480
|
newIndexes[i] = dataSource[i][key];
|
|
3473
3481
|
oldRowElements[oldRowObjs[i].uid] = trs[i];
|
|
@@ -3480,6 +3488,12 @@ var ContentRender = /** @__PURE__ @class */ (function () {
|
|
|
3480
3488
|
newIndexes[i] = dataSource[i][key];
|
|
3481
3489
|
}
|
|
3482
3490
|
for (var i = 0; i < prevLen; i++) {
|
|
3491
|
+
if (this.parent.editSettings.mode === 'Batch'
|
|
3492
|
+
&& trs[i].classList.contains('e-insertedrow')) {
|
|
3493
|
+
trs.splice(i, 1);
|
|
3494
|
+
--i;
|
|
3495
|
+
continue;
|
|
3496
|
+
}
|
|
3483
3497
|
oldRowElements[oldRowObjs[i].uid] = trs[i];
|
|
3484
3498
|
oldKeys[this.prevCurrentView[i][key]] = i;
|
|
3485
3499
|
oldIndexes[i] = this.prevCurrentView[i][key];
|
|
@@ -3494,7 +3508,7 @@ var ContentRender = /** @__PURE__ @class */ (function () {
|
|
|
3494
3508
|
isEqual = this.objectEqualityChecker(this.prevCurrentView[i], dataSource[i]);
|
|
3495
3509
|
}
|
|
3496
3510
|
var tr = oldRowElements[oldRowObjs[oldIndex].uid];
|
|
3497
|
-
newRowObjs.push(
|
|
3511
|
+
newRowObjs.push(oldRowObjs[oldIndex]);
|
|
3498
3512
|
if (this.rowElements[i] && this.rowElements[i].getAttribute('data-uid') === newRowObjs[i].uid
|
|
3499
3513
|
&& ((hasBatch && isNullOrUndefined(batchChangeKeys[newIndexes[i]]))
|
|
3500
3514
|
|| (!hasBatch && (isEqual || this.prevCurrentView[i] === dataSource[i])))) {
|
|
@@ -3572,6 +3586,9 @@ var ContentRender = /** @__PURE__ @class */ (function () {
|
|
|
3572
3586
|
ContentRender.prototype.refreshImmutableContent = function (index, tr, row) {
|
|
3573
3587
|
row.isAltRow = this.parent.enableAltRow ? index % 2 !== 0 : false;
|
|
3574
3588
|
row.isAltRow ? tr.classList.add('e-altrow') : tr.classList.remove('e-altrow');
|
|
3589
|
+
row.index = index;
|
|
3590
|
+
row.edit = undefined;
|
|
3591
|
+
row.isDirty = false;
|
|
3575
3592
|
tr.setAttribute('aria-rowindex', index.toString());
|
|
3576
3593
|
this.updateCellIndex(tr, index);
|
|
3577
3594
|
};
|
|
@@ -3587,7 +3604,7 @@ var ContentRender = /** @__PURE__ @class */ (function () {
|
|
|
3587
3604
|
* Content module is used to render grid content
|
|
3588
3605
|
* @hidden
|
|
3589
3606
|
*/
|
|
3590
|
-
var HeaderRender = /** @
|
|
3607
|
+
var HeaderRender = /** @class */ (function () {
|
|
3591
3608
|
/**
|
|
3592
3609
|
* Constructor for header renderer module
|
|
3593
3610
|
*/
|
|
@@ -4281,7 +4298,7 @@ var HeaderRender = /** @__PURE__ @class */ (function () {
|
|
|
4281
4298
|
* CellRenderer class which responsible for building cell content.
|
|
4282
4299
|
* @hidden
|
|
4283
4300
|
*/
|
|
4284
|
-
var CellRenderer = /** @
|
|
4301
|
+
var CellRenderer = /** @class */ (function () {
|
|
4285
4302
|
function CellRenderer(parent, locator) {
|
|
4286
4303
|
this.localizer = locator.getService('localization');
|
|
4287
4304
|
this.formatter = locator.getService('valueFormatter');
|
|
@@ -4550,7 +4567,7 @@ var CellRenderer = /** @__PURE__ @class */ (function () {
|
|
|
4550
4567
|
* AriaService
|
|
4551
4568
|
* @hidden
|
|
4552
4569
|
*/
|
|
4553
|
-
var AriaService = /** @
|
|
4570
|
+
var AriaService = /** @class */ (function () {
|
|
4554
4571
|
function AriaService() {
|
|
4555
4572
|
}
|
|
4556
4573
|
AriaService.prototype.setOptions = function (target, options) {
|
|
@@ -4605,24 +4622,24 @@ var config = {
|
|
|
4605
4622
|
rowcount: 'aria-rowcount'
|
|
4606
4623
|
};
|
|
4607
4624
|
|
|
4608
|
-
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
4609
|
-
var extendStatics = function (d, b) {
|
|
4610
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4611
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4612
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4613
|
-
return extendStatics(d, b);
|
|
4614
|
-
};
|
|
4615
|
-
return function (d, b) {
|
|
4616
|
-
extendStatics(d, b);
|
|
4617
|
-
function __() { this.constructor = d; }
|
|
4618
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4619
|
-
};
|
|
4620
|
-
})();
|
|
4625
|
+
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
4626
|
+
var extendStatics = function (d, b) {
|
|
4627
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4628
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4629
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4630
|
+
return extendStatics(d, b);
|
|
4631
|
+
};
|
|
4632
|
+
return function (d, b) {
|
|
4633
|
+
extendStatics(d, b);
|
|
4634
|
+
function __() { this.constructor = d; }
|
|
4635
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4636
|
+
};
|
|
4637
|
+
})();
|
|
4621
4638
|
/**
|
|
4622
4639
|
* HeaderCellRenderer class which responsible for building header cell content.
|
|
4623
4640
|
* @hidden
|
|
4624
4641
|
*/
|
|
4625
|
-
var HeaderCellRenderer = /** @
|
|
4642
|
+
var HeaderCellRenderer = /** @class */ (function (_super) {
|
|
4626
4643
|
__extends$3(HeaderCellRenderer, _super);
|
|
4627
4644
|
function HeaderCellRenderer() {
|
|
4628
4645
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -4819,24 +4836,24 @@ var HeaderCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
4819
4836
|
return HeaderCellRenderer;
|
|
4820
4837
|
}(CellRenderer));
|
|
4821
4838
|
|
|
4822
|
-
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
4823
|
-
var extendStatics = function (d, b) {
|
|
4824
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4825
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4826
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4827
|
-
return extendStatics(d, b);
|
|
4828
|
-
};
|
|
4829
|
-
return function (d, b) {
|
|
4830
|
-
extendStatics(d, b);
|
|
4831
|
-
function __() { this.constructor = d; }
|
|
4832
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4833
|
-
};
|
|
4834
|
-
})();
|
|
4839
|
+
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
4840
|
+
var extendStatics = function (d, b) {
|
|
4841
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4842
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4843
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4844
|
+
return extendStatics(d, b);
|
|
4845
|
+
};
|
|
4846
|
+
return function (d, b) {
|
|
4847
|
+
extendStatics(d, b);
|
|
4848
|
+
function __() { this.constructor = d; }
|
|
4849
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4850
|
+
};
|
|
4851
|
+
})();
|
|
4835
4852
|
/**
|
|
4836
4853
|
* StackedHeaderCellRenderer class which responsible for building stacked header cell content.
|
|
4837
4854
|
* @hidden
|
|
4838
4855
|
*/
|
|
4839
|
-
var StackedHeaderCellRenderer = /** @
|
|
4856
|
+
var StackedHeaderCellRenderer = /** @class */ (function (_super) {
|
|
4840
4857
|
__extends$4(StackedHeaderCellRenderer, _super);
|
|
4841
4858
|
function StackedHeaderCellRenderer() {
|
|
4842
4859
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -4897,24 +4914,24 @@ var StackedHeaderCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
4897
4914
|
return StackedHeaderCellRenderer;
|
|
4898
4915
|
}(CellRenderer));
|
|
4899
4916
|
|
|
4900
|
-
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
4901
|
-
var extendStatics = function (d, b) {
|
|
4902
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4903
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4904
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4905
|
-
return extendStatics(d, b);
|
|
4906
|
-
};
|
|
4907
|
-
return function (d, b) {
|
|
4908
|
-
extendStatics(d, b);
|
|
4909
|
-
function __() { this.constructor = d; }
|
|
4910
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4911
|
-
};
|
|
4912
|
-
})();
|
|
4917
|
+
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
4918
|
+
var extendStatics = function (d, b) {
|
|
4919
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4920
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4921
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4922
|
+
return extendStatics(d, b);
|
|
4923
|
+
};
|
|
4924
|
+
return function (d, b) {
|
|
4925
|
+
extendStatics(d, b);
|
|
4926
|
+
function __() { this.constructor = d; }
|
|
4927
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4928
|
+
};
|
|
4929
|
+
})();
|
|
4913
4930
|
/**
|
|
4914
4931
|
* IndentCellRenderer class which responsible for building group indent cell.
|
|
4915
4932
|
* @hidden
|
|
4916
4933
|
*/
|
|
4917
|
-
var IndentCellRenderer = /** @
|
|
4934
|
+
var IndentCellRenderer = /** @class */ (function (_super) {
|
|
4918
4935
|
__extends$5(IndentCellRenderer, _super);
|
|
4919
4936
|
function IndentCellRenderer() {
|
|
4920
4937
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -4934,24 +4951,24 @@ var IndentCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
4934
4951
|
return IndentCellRenderer;
|
|
4935
4952
|
}(CellRenderer));
|
|
4936
4953
|
|
|
4937
|
-
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
4938
|
-
var extendStatics = function (d, b) {
|
|
4939
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4940
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4941
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4942
|
-
return extendStatics(d, b);
|
|
4943
|
-
};
|
|
4944
|
-
return function (d, b) {
|
|
4945
|
-
extendStatics(d, b);
|
|
4946
|
-
function __() { this.constructor = d; }
|
|
4947
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4948
|
-
};
|
|
4949
|
-
})();
|
|
4954
|
+
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
4955
|
+
var extendStatics = function (d, b) {
|
|
4956
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4957
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4958
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4959
|
+
return extendStatics(d, b);
|
|
4960
|
+
};
|
|
4961
|
+
return function (d, b) {
|
|
4962
|
+
extendStatics(d, b);
|
|
4963
|
+
function __() { this.constructor = d; }
|
|
4964
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4965
|
+
};
|
|
4966
|
+
})();
|
|
4950
4967
|
/**
|
|
4951
4968
|
* GroupCaptionCellRenderer class which responsible for building group caption cell.
|
|
4952
4969
|
* @hidden
|
|
4953
4970
|
*/
|
|
4954
|
-
var GroupCaptionCellRenderer = /** @
|
|
4971
|
+
var GroupCaptionCellRenderer = /** @class */ (function (_super) {
|
|
4955
4972
|
__extends$6(GroupCaptionCellRenderer, _super);
|
|
4956
4973
|
function GroupCaptionCellRenderer() {
|
|
4957
4974
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -4988,6 +5005,9 @@ var GroupCaptionCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
4988
5005
|
templateCompiler(gObj.groupSettings.captionTemplate)(data, this.parent, 'captionTemplate', tempID, null, null, node);
|
|
4989
5006
|
this.parent.renderTemplates();
|
|
4990
5007
|
}
|
|
5008
|
+
else if (this.parent.isVue) {
|
|
5009
|
+
result = templateCompiler(gObj.groupSettings.captionTemplate)(data, this.parent);
|
|
5010
|
+
}
|
|
4991
5011
|
else {
|
|
4992
5012
|
result = templateCompiler(gObj.groupSettings.captionTemplate)(data);
|
|
4993
5013
|
}
|
|
@@ -5016,7 +5036,7 @@ var GroupCaptionCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
5016
5036
|
* GroupCaptionEmptyCellRenderer class which responsible for building group caption empty cell.
|
|
5017
5037
|
* @hidden
|
|
5018
5038
|
*/
|
|
5019
|
-
var GroupCaptionEmptyCellRenderer = /** @
|
|
5039
|
+
var GroupCaptionEmptyCellRenderer = /** @class */ (function (_super) {
|
|
5020
5040
|
__extends$6(GroupCaptionEmptyCellRenderer, _super);
|
|
5021
5041
|
function GroupCaptionEmptyCellRenderer() {
|
|
5022
5042
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5037,24 +5057,24 @@ var GroupCaptionEmptyCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
5037
5057
|
return GroupCaptionEmptyCellRenderer;
|
|
5038
5058
|
}(CellRenderer));
|
|
5039
5059
|
|
|
5040
|
-
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
5041
|
-
var extendStatics = function (d, b) {
|
|
5042
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5043
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5044
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5045
|
-
return extendStatics(d, b);
|
|
5046
|
-
};
|
|
5047
|
-
return function (d, b) {
|
|
5048
|
-
extendStatics(d, b);
|
|
5049
|
-
function __() { this.constructor = d; }
|
|
5050
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5051
|
-
};
|
|
5052
|
-
})();
|
|
5060
|
+
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
5061
|
+
var extendStatics = function (d, b) {
|
|
5062
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5063
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5064
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5065
|
+
return extendStatics(d, b);
|
|
5066
|
+
};
|
|
5067
|
+
return function (d, b) {
|
|
5068
|
+
extendStatics(d, b);
|
|
5069
|
+
function __() { this.constructor = d; }
|
|
5070
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5071
|
+
};
|
|
5072
|
+
})();
|
|
5053
5073
|
/**
|
|
5054
5074
|
* ExpandCellRenderer class which responsible for building group expand cell.
|
|
5055
5075
|
* @hidden
|
|
5056
5076
|
*/
|
|
5057
|
-
var ExpandCellRenderer = /** @
|
|
5077
|
+
var ExpandCellRenderer = /** @class */ (function (_super) {
|
|
5058
5078
|
__extends$7(ExpandCellRenderer, _super);
|
|
5059
5079
|
function ExpandCellRenderer() {
|
|
5060
5080
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5081,24 +5101,24 @@ var ExpandCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
5081
5101
|
return ExpandCellRenderer;
|
|
5082
5102
|
}(IndentCellRenderer));
|
|
5083
5103
|
|
|
5084
|
-
var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
5085
|
-
var extendStatics = function (d, b) {
|
|
5086
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5087
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5088
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5089
|
-
return extendStatics(d, b);
|
|
5090
|
-
};
|
|
5091
|
-
return function (d, b) {
|
|
5092
|
-
extendStatics(d, b);
|
|
5093
|
-
function __() { this.constructor = d; }
|
|
5094
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5095
|
-
};
|
|
5096
|
-
})();
|
|
5104
|
+
var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
5105
|
+
var extendStatics = function (d, b) {
|
|
5106
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5107
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5108
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5109
|
+
return extendStatics(d, b);
|
|
5110
|
+
};
|
|
5111
|
+
return function (d, b) {
|
|
5112
|
+
extendStatics(d, b);
|
|
5113
|
+
function __() { this.constructor = d; }
|
|
5114
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5115
|
+
};
|
|
5116
|
+
})();
|
|
5097
5117
|
/**
|
|
5098
5118
|
* HeaderIndentCellRenderer class which responsible for building header indent cell.
|
|
5099
5119
|
* @hidden
|
|
5100
5120
|
*/
|
|
5101
|
-
var HeaderIndentCellRenderer = /** @
|
|
5121
|
+
var HeaderIndentCellRenderer = /** @class */ (function (_super) {
|
|
5102
5122
|
__extends$8(HeaderIndentCellRenderer, _super);
|
|
5103
5123
|
function HeaderIndentCellRenderer() {
|
|
5104
5124
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5118,24 +5138,24 @@ var HeaderIndentCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
5118
5138
|
return HeaderIndentCellRenderer;
|
|
5119
5139
|
}(CellRenderer));
|
|
5120
5140
|
|
|
5121
|
-
var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
5122
|
-
var extendStatics = function (d, b) {
|
|
5123
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5124
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5125
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5126
|
-
return extendStatics(d, b);
|
|
5127
|
-
};
|
|
5128
|
-
return function (d, b) {
|
|
5129
|
-
extendStatics(d, b);
|
|
5130
|
-
function __() { this.constructor = d; }
|
|
5131
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5132
|
-
};
|
|
5133
|
-
})();
|
|
5141
|
+
var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
5142
|
+
var extendStatics = function (d, b) {
|
|
5143
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5144
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5145
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5146
|
+
return extendStatics(d, b);
|
|
5147
|
+
};
|
|
5148
|
+
return function (d, b) {
|
|
5149
|
+
extendStatics(d, b);
|
|
5150
|
+
function __() { this.constructor = d; }
|
|
5151
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5152
|
+
};
|
|
5153
|
+
})();
|
|
5134
5154
|
/**
|
|
5135
5155
|
* DetailHeaderIndentCellRenderer class which responsible for building detail header indent cell.
|
|
5136
5156
|
* @hidden
|
|
5137
5157
|
*/
|
|
5138
|
-
var DetailHeaderIndentCellRenderer = /** @
|
|
5158
|
+
var DetailHeaderIndentCellRenderer = /** @class */ (function (_super) {
|
|
5139
5159
|
__extends$9(DetailHeaderIndentCellRenderer, _super);
|
|
5140
5160
|
function DetailHeaderIndentCellRenderer() {
|
|
5141
5161
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5155,24 +5175,24 @@ var DetailHeaderIndentCellRenderer = /** @__PURE__ @class */ (function (_super)
|
|
|
5155
5175
|
return DetailHeaderIndentCellRenderer;
|
|
5156
5176
|
}(CellRenderer));
|
|
5157
5177
|
|
|
5158
|
-
var __extends$10 = (undefined && undefined.__extends) || (function () {
|
|
5159
|
-
var extendStatics = function (d, b) {
|
|
5160
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5161
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5162
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5163
|
-
return extendStatics(d, b);
|
|
5164
|
-
};
|
|
5165
|
-
return function (d, b) {
|
|
5166
|
-
extendStatics(d, b);
|
|
5167
|
-
function __() { this.constructor = d; }
|
|
5168
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5169
|
-
};
|
|
5170
|
-
})();
|
|
5178
|
+
var __extends$10 = (undefined && undefined.__extends) || (function () {
|
|
5179
|
+
var extendStatics = function (d, b) {
|
|
5180
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5181
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5182
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5183
|
+
return extendStatics(d, b);
|
|
5184
|
+
};
|
|
5185
|
+
return function (d, b) {
|
|
5186
|
+
extendStatics(d, b);
|
|
5187
|
+
function __() { this.constructor = d; }
|
|
5188
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5189
|
+
};
|
|
5190
|
+
})();
|
|
5171
5191
|
/**
|
|
5172
5192
|
* ExpandCellRenderer class which responsible for building group expand cell.
|
|
5173
5193
|
* @hidden
|
|
5174
5194
|
*/
|
|
5175
|
-
var DetailExpandCellRenderer = /** @
|
|
5195
|
+
var DetailExpandCellRenderer = /** @class */ (function (_super) {
|
|
5176
5196
|
__extends$10(DetailExpandCellRenderer, _super);
|
|
5177
5197
|
function DetailExpandCellRenderer() {
|
|
5178
5198
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5200,24 +5220,24 @@ var DetailExpandCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
5200
5220
|
return DetailExpandCellRenderer;
|
|
5201
5221
|
}(CellRenderer));
|
|
5202
5222
|
|
|
5203
|
-
var __extends$11 = (undefined && undefined.__extends) || (function () {
|
|
5204
|
-
var extendStatics = function (d, b) {
|
|
5205
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5206
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5207
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5208
|
-
return extendStatics(d, b);
|
|
5209
|
-
};
|
|
5210
|
-
return function (d, b) {
|
|
5211
|
-
extendStatics(d, b);
|
|
5212
|
-
function __() { this.constructor = d; }
|
|
5213
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5214
|
-
};
|
|
5215
|
-
})();
|
|
5223
|
+
var __extends$11 = (undefined && undefined.__extends) || (function () {
|
|
5224
|
+
var extendStatics = function (d, b) {
|
|
5225
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5226
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5227
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5228
|
+
return extendStatics(d, b);
|
|
5229
|
+
};
|
|
5230
|
+
return function (d, b) {
|
|
5231
|
+
extendStatics(d, b);
|
|
5232
|
+
function __() { this.constructor = d; }
|
|
5233
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5234
|
+
};
|
|
5235
|
+
})();
|
|
5216
5236
|
/**
|
|
5217
5237
|
* ExpandCellRenderer class which responsible for building group expand cell.
|
|
5218
5238
|
* @hidden
|
|
5219
5239
|
*/
|
|
5220
|
-
var RowDragDropRenderer = /** @
|
|
5240
|
+
var RowDragDropRenderer = /** @class */ (function (_super) {
|
|
5221
5241
|
__extends$11(RowDragDropRenderer, _super);
|
|
5222
5242
|
function RowDragDropRenderer() {
|
|
5223
5243
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5244,24 +5264,24 @@ var RowDragDropRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
5244
5264
|
return RowDragDropRenderer;
|
|
5245
5265
|
}(CellRenderer));
|
|
5246
5266
|
|
|
5247
|
-
var __extends$12 = (undefined && undefined.__extends) || (function () {
|
|
5248
|
-
var extendStatics = function (d, b) {
|
|
5249
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5250
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5251
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5252
|
-
return extendStatics(d, b);
|
|
5253
|
-
};
|
|
5254
|
-
return function (d, b) {
|
|
5255
|
-
extendStatics(d, b);
|
|
5256
|
-
function __() { this.constructor = d; }
|
|
5257
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5258
|
-
};
|
|
5259
|
-
})();
|
|
5267
|
+
var __extends$12 = (undefined && undefined.__extends) || (function () {
|
|
5268
|
+
var extendStatics = function (d, b) {
|
|
5269
|
+
extendStatics = Object.setPrototypeOf ||
|
|
5270
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5271
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5272
|
+
return extendStatics(d, b);
|
|
5273
|
+
};
|
|
5274
|
+
return function (d, b) {
|
|
5275
|
+
extendStatics(d, b);
|
|
5276
|
+
function __() { this.constructor = d; }
|
|
5277
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5278
|
+
};
|
|
5279
|
+
})();
|
|
5260
5280
|
/**
|
|
5261
5281
|
* DetailHeaderIndentCellRenderer class which responsible for building detail header indent cell.
|
|
5262
5282
|
* @hidden
|
|
5263
5283
|
*/
|
|
5264
|
-
var RowDragDropHeaderRenderer = /** @
|
|
5284
|
+
var RowDragDropHeaderRenderer = /** @class */ (function (_super) {
|
|
5265
5285
|
__extends$12(RowDragDropHeaderRenderer, _super);
|
|
5266
5286
|
function RowDragDropHeaderRenderer() {
|
|
5267
5287
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5285,7 +5305,7 @@ var RowDragDropHeaderRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
5285
5305
|
* Content module is used to render grid content
|
|
5286
5306
|
* @hidden
|
|
5287
5307
|
*/
|
|
5288
|
-
var Render = /** @
|
|
5308
|
+
var Render = /** @class */ (function () {
|
|
5289
5309
|
/**
|
|
5290
5310
|
* Constructor for render module
|
|
5291
5311
|
*/
|
|
@@ -5677,7 +5697,6 @@ var Render = /** @__PURE__ @class */ (function () {
|
|
|
5677
5697
|
e.actionArgs = args;
|
|
5678
5698
|
var isInfiniteDelete = this.parent.enableInfiniteScrolling && !this.parent.infiniteScrollSettings.enableCache
|
|
5679
5699
|
&& (args.requestType === 'delete' || (args.requestType === 'save' && this.parent.infiniteScrollModule.requestType === 'add'));
|
|
5680
|
-
this.parent.getDataModule().isQueryInvokedFromData = false;
|
|
5681
5700
|
// tslint:disable-next-line:max-func-body-length
|
|
5682
5701
|
gObj.trigger(beforeDataBound, e, function (dataArgs) {
|
|
5683
5702
|
if (dataArgs.cancel) {
|
|
@@ -5794,6 +5813,7 @@ var Render = /** @__PURE__ @class */ (function () {
|
|
|
5794
5813
|
}
|
|
5795
5814
|
_this.parent.notify(toolbarRefresh, {});
|
|
5796
5815
|
_this.setRowCount(_this.parent.getCurrentViewRecords().length);
|
|
5816
|
+
_this.parent.getDataModule().isQueryInvokedFromData = false;
|
|
5797
5817
|
});
|
|
5798
5818
|
};
|
|
5799
5819
|
/** @hidden */
|
|
@@ -5980,7 +6000,7 @@ var Render = /** @__PURE__ @class */ (function () {
|
|
|
5980
6000
|
* CellRendererFactory
|
|
5981
6001
|
* @hidden
|
|
5982
6002
|
*/
|
|
5983
|
-
var CellRendererFactory = /** @
|
|
6003
|
+
var CellRendererFactory = /** @class */ (function () {
|
|
5984
6004
|
function CellRendererFactory() {
|
|
5985
6005
|
this.cellRenderMap = {};
|
|
5986
6006
|
}
|
|
@@ -6006,7 +6026,7 @@ var CellRendererFactory = /** @__PURE__ @class */ (function () {
|
|
|
6006
6026
|
* ServiceLocator
|
|
6007
6027
|
* @hidden
|
|
6008
6028
|
*/
|
|
6009
|
-
var ServiceLocator = /** @
|
|
6029
|
+
var ServiceLocator = /** @class */ (function () {
|
|
6010
6030
|
function ServiceLocator() {
|
|
6011
6031
|
this.services = {};
|
|
6012
6032
|
}
|
|
@@ -6028,7 +6048,7 @@ var ServiceLocator = /** @__PURE__ @class */ (function () {
|
|
|
6028
6048
|
* RendererFactory
|
|
6029
6049
|
* @hidden
|
|
6030
6050
|
*/
|
|
6031
|
-
var RendererFactory = /** @
|
|
6051
|
+
var RendererFactory = /** @class */ (function () {
|
|
6032
6052
|
function RendererFactory() {
|
|
6033
6053
|
this.rendererMap = {};
|
|
6034
6054
|
}
|
|
@@ -6054,7 +6074,7 @@ var RendererFactory = /** @__PURE__ @class */ (function () {
|
|
|
6054
6074
|
* ColumnWidthService
|
|
6055
6075
|
* @hidden
|
|
6056
6076
|
*/
|
|
6057
|
-
var ColumnWidthService = /** @
|
|
6077
|
+
var ColumnWidthService = /** @class */ (function () {
|
|
6058
6078
|
function ColumnWidthService(parent) {
|
|
6059
6079
|
this.parent = parent;
|
|
6060
6080
|
}
|
|
@@ -6343,24 +6363,24 @@ var ColumnWidthService = /** @__PURE__ @class */ (function () {
|
|
|
6343
6363
|
return ColumnWidthService;
|
|
6344
6364
|
}());
|
|
6345
6365
|
|
|
6346
|
-
var __extends$13 = (undefined && undefined.__extends) || (function () {
|
|
6347
|
-
var extendStatics = function (d, b) {
|
|
6348
|
-
extendStatics = Object.setPrototypeOf ||
|
|
6349
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6350
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6351
|
-
return extendStatics(d, b);
|
|
6352
|
-
};
|
|
6353
|
-
return function (d, b) {
|
|
6354
|
-
extendStatics(d, b);
|
|
6355
|
-
function __() { this.constructor = d; }
|
|
6356
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
6357
|
-
};
|
|
6358
|
-
})();
|
|
6366
|
+
var __extends$13 = (undefined && undefined.__extends) || (function () {
|
|
6367
|
+
var extendStatics = function (d, b) {
|
|
6368
|
+
extendStatics = Object.setPrototypeOf ||
|
|
6369
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6370
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6371
|
+
return extendStatics(d, b);
|
|
6372
|
+
};
|
|
6373
|
+
return function (d, b) {
|
|
6374
|
+
extendStatics(d, b);
|
|
6375
|
+
function __() { this.constructor = d; }
|
|
6376
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
6377
|
+
};
|
|
6378
|
+
})();
|
|
6359
6379
|
/**
|
|
6360
6380
|
* FocusStrategy class
|
|
6361
6381
|
* @hidden
|
|
6362
6382
|
*/
|
|
6363
|
-
var FocusStrategy = /** @
|
|
6383
|
+
var FocusStrategy = /** @class */ (function () {
|
|
6364
6384
|
function FocusStrategy(parent) {
|
|
6365
6385
|
this.currentInfo = {};
|
|
6366
6386
|
this.oneTime = true;
|
|
@@ -6570,7 +6590,7 @@ var FocusStrategy = /** @__PURE__ @class */ (function () {
|
|
|
6570
6590
|
this.addFocus(this.getContent().getFocusInfo(), e);
|
|
6571
6591
|
};
|
|
6572
6592
|
FocusStrategy.prototype.removeFocus = function (e) {
|
|
6573
|
-
if (!this.currentInfo.element) {
|
|
6593
|
+
if (!this.currentInfo.element || !this.currentInfo.elementToFocus) {
|
|
6574
6594
|
return;
|
|
6575
6595
|
}
|
|
6576
6596
|
removeClass([this.currentInfo.element, this.currentInfo.elementToFocus], ['e-focused', 'e-focus']);
|
|
@@ -6602,7 +6622,7 @@ var FocusStrategy = /** @__PURE__ @class */ (function () {
|
|
|
6602
6622
|
FocusStrategy.prototype.addFocus = function (info, e) {
|
|
6603
6623
|
this.currentInfo = info;
|
|
6604
6624
|
this.currentInfo.outline = info.outline && !isNullOrUndefined(e);
|
|
6605
|
-
if (!info.element) {
|
|
6625
|
+
if (!info.element || !info.elementToFocus) {
|
|
6606
6626
|
return;
|
|
6607
6627
|
}
|
|
6608
6628
|
var isFocused = info.elementToFocus.classList.contains('e-focus');
|
|
@@ -6859,7 +6879,7 @@ var FocusStrategy = /** @__PURE__ @class */ (function () {
|
|
|
6859
6879
|
* Create matrix from row collection which act as mental model for cell navigation
|
|
6860
6880
|
* @hidden
|
|
6861
6881
|
*/
|
|
6862
|
-
var Matrix = /** @
|
|
6882
|
+
var Matrix = /** @class */ (function () {
|
|
6863
6883
|
function Matrix() {
|
|
6864
6884
|
this.matrix = [];
|
|
6865
6885
|
this.current = [];
|
|
@@ -6938,7 +6958,7 @@ var Matrix = /** @__PURE__ @class */ (function () {
|
|
|
6938
6958
|
/**
|
|
6939
6959
|
* @hidden
|
|
6940
6960
|
*/
|
|
6941
|
-
var ContentFocus = /** @
|
|
6961
|
+
var ContentFocus = /** @class */ (function () {
|
|
6942
6962
|
function ContentFocus(parent) {
|
|
6943
6963
|
var _this = this;
|
|
6944
6964
|
this.matrix = new Matrix();
|
|
@@ -7023,6 +7043,7 @@ var ContentFocus = /** @__PURE__ @class */ (function () {
|
|
|
7023
7043
|
};
|
|
7024
7044
|
ContentFocus.prototype.onClick = function (e, force) {
|
|
7025
7045
|
var target = e.target;
|
|
7046
|
+
this.target = target;
|
|
7026
7047
|
target = (target.classList.contains('e-rowcell') ? target : closest(target, 'td'));
|
|
7027
7048
|
target = target ? target : closest(e.target, 'td.e-detailrowcollapse')
|
|
7028
7049
|
|| closest(e.target, 'td.e-detailrowexpand');
|
|
@@ -7056,7 +7077,9 @@ var ContentFocus = /** @__PURE__ @class */ (function () {
|
|
|
7056
7077
|
return info;
|
|
7057
7078
|
};
|
|
7058
7079
|
ContentFocus.prototype.getFocusable = function (element) {
|
|
7080
|
+
var _this = this;
|
|
7059
7081
|
var query = 'button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])';
|
|
7082
|
+
var isTemplate = !isNullOrUndefined(closest(element, '.e-templatecell'));
|
|
7060
7083
|
if (this.parent.isEdit) {
|
|
7061
7084
|
query = 'input:not([type="hidden"]), select:not([aria-hidden="true"]), textarea';
|
|
7062
7085
|
}
|
|
@@ -7065,7 +7088,14 @@ var ContentFocus = /** @__PURE__ @class */ (function () {
|
|
|
7065
7088
|
* if no child found then select the cell itself.
|
|
7066
7089
|
* if Grid is in editable state, check for editable control inside child.
|
|
7067
7090
|
*/
|
|
7068
|
-
|
|
7091
|
+
if (isTemplate && child.length && child.length > 1) {
|
|
7092
|
+
setTimeout(function () {
|
|
7093
|
+
return _this.target;
|
|
7094
|
+
}, 10);
|
|
7095
|
+
}
|
|
7096
|
+
else {
|
|
7097
|
+
return child.length ? child[0] : element;
|
|
7098
|
+
}
|
|
7069
7099
|
};
|
|
7070
7100
|
ContentFocus.prototype.selector = function (row, cell, isRowTemplate) {
|
|
7071
7101
|
var types = [CellType.Expand, CellType.GroupCaption, CellType.CaptionSummary, CellType.GroupSummary];
|
|
@@ -7184,7 +7214,7 @@ var ContentFocus = /** @__PURE__ @class */ (function () {
|
|
|
7184
7214
|
/**
|
|
7185
7215
|
* @hidden
|
|
7186
7216
|
*/
|
|
7187
|
-
var HeaderFocus = /** @
|
|
7217
|
+
var HeaderFocus = /** @class */ (function (_super) {
|
|
7188
7218
|
__extends$13(HeaderFocus, _super);
|
|
7189
7219
|
function HeaderFocus(parent) {
|
|
7190
7220
|
return _super.call(this, parent) || this;
|
|
@@ -7304,7 +7334,7 @@ var HeaderFocus = /** @__PURE__ @class */ (function (_super) {
|
|
|
7304
7334
|
};
|
|
7305
7335
|
return HeaderFocus;
|
|
7306
7336
|
}(ContentFocus));
|
|
7307
|
-
var FixedContentFocus = /** @
|
|
7337
|
+
var FixedContentFocus = /** @class */ (function (_super) {
|
|
7308
7338
|
__extends$13(FixedContentFocus, _super);
|
|
7309
7339
|
function FixedContentFocus() {
|
|
7310
7340
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -7340,7 +7370,7 @@ var FixedContentFocus = /** @__PURE__ @class */ (function (_super) {
|
|
|
7340
7370
|
};
|
|
7341
7371
|
return FixedContentFocus;
|
|
7342
7372
|
}(ContentFocus));
|
|
7343
|
-
var FixedHeaderFocus = /** @
|
|
7373
|
+
var FixedHeaderFocus = /** @class */ (function (_super) {
|
|
7344
7374
|
__extends$13(FixedHeaderFocus, _super);
|
|
7345
7375
|
function FixedHeaderFocus() {
|
|
7346
7376
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -7375,7 +7405,7 @@ var FixedHeaderFocus = /** @__PURE__ @class */ (function (_super) {
|
|
|
7375
7405
|
return FixedHeaderFocus;
|
|
7376
7406
|
}(HeaderFocus));
|
|
7377
7407
|
/** @hidden */
|
|
7378
|
-
var SearchBox = /** @
|
|
7408
|
+
var SearchBox = /** @class */ (function () {
|
|
7379
7409
|
function SearchBox(searchBox) {
|
|
7380
7410
|
this.searchBox = searchBox;
|
|
7381
7411
|
}
|
|
@@ -7400,29 +7430,29 @@ var SearchBox = /** @__PURE__ @class */ (function () {
|
|
|
7400
7430
|
return SearchBox;
|
|
7401
7431
|
}());
|
|
7402
7432
|
|
|
7403
|
-
var __extends$14 = (undefined && undefined.__extends) || (function () {
|
|
7404
|
-
var extendStatics = function (d, b) {
|
|
7405
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7406
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7407
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7408
|
-
return extendStatics(d, b);
|
|
7409
|
-
};
|
|
7410
|
-
return function (d, b) {
|
|
7411
|
-
extendStatics(d, b);
|
|
7412
|
-
function __() { this.constructor = d; }
|
|
7413
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7414
|
-
};
|
|
7415
|
-
})();
|
|
7416
|
-
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7417
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7418
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7419
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7420
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7421
|
-
};
|
|
7433
|
+
var __extends$14 = (undefined && undefined.__extends) || (function () {
|
|
7434
|
+
var extendStatics = function (d, b) {
|
|
7435
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7436
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7437
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7438
|
+
return extendStatics(d, b);
|
|
7439
|
+
};
|
|
7440
|
+
return function (d, b) {
|
|
7441
|
+
extendStatics(d, b);
|
|
7442
|
+
function __() { this.constructor = d; }
|
|
7443
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7444
|
+
};
|
|
7445
|
+
})();
|
|
7446
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7447
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7448
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7449
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7450
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7451
|
+
};
|
|
7422
7452
|
/**
|
|
7423
7453
|
* Configures the paging behavior of the Grid.
|
|
7424
7454
|
*/
|
|
7425
|
-
var PageSettings = /** @
|
|
7455
|
+
var PageSettings = /** @class */ (function (_super) {
|
|
7426
7456
|
__extends$14(PageSettings, _super);
|
|
7427
7457
|
function PageSettings() {
|
|
7428
7458
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -7451,29 +7481,29 @@ var PageSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
7451
7481
|
return PageSettings;
|
|
7452
7482
|
}(ChildProperty));
|
|
7453
7483
|
|
|
7454
|
-
var __extends$15 = (undefined && undefined.__extends) || (function () {
|
|
7455
|
-
var extendStatics = function (d, b) {
|
|
7456
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7457
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7458
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7459
|
-
return extendStatics(d, b);
|
|
7460
|
-
};
|
|
7461
|
-
return function (d, b) {
|
|
7462
|
-
extendStatics(d, b);
|
|
7463
|
-
function __() { this.constructor = d; }
|
|
7464
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7465
|
-
};
|
|
7466
|
-
})();
|
|
7467
|
-
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7468
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7469
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7470
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7471
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7472
|
-
};
|
|
7484
|
+
var __extends$15 = (undefined && undefined.__extends) || (function () {
|
|
7485
|
+
var extendStatics = function (d, b) {
|
|
7486
|
+
extendStatics = Object.setPrototypeOf ||
|
|
7487
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7488
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7489
|
+
return extendStatics(d, b);
|
|
7490
|
+
};
|
|
7491
|
+
return function (d, b) {
|
|
7492
|
+
extendStatics(d, b);
|
|
7493
|
+
function __() { this.constructor = d; }
|
|
7494
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7495
|
+
};
|
|
7496
|
+
})();
|
|
7497
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7498
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7499
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7500
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
7501
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7502
|
+
};
|
|
7473
7503
|
/**
|
|
7474
7504
|
* Configures the column chooser behavior of the Grid.
|
|
7475
7505
|
*/
|
|
7476
|
-
var ColumnChooserSettings = /** @
|
|
7506
|
+
var ColumnChooserSettings = /** @class */ (function (_super) {
|
|
7477
7507
|
__extends$15(ColumnChooserSettings, _super);
|
|
7478
7508
|
function ColumnChooserSettings() {
|
|
7479
7509
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -7484,21 +7514,21 @@ var ColumnChooserSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
7484
7514
|
return ColumnChooserSettings;
|
|
7485
7515
|
}(ChildProperty));
|
|
7486
7516
|
|
|
7487
|
-
var __assign = (undefined && undefined.__assign) || function () {
|
|
7488
|
-
__assign = Object.assign || function(t) {
|
|
7489
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
7490
|
-
s = arguments[i];
|
|
7491
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7492
|
-
t[p] = s[p];
|
|
7493
|
-
}
|
|
7494
|
-
return t;
|
|
7495
|
-
};
|
|
7496
|
-
return __assign.apply(this, arguments);
|
|
7497
|
-
};
|
|
7517
|
+
var __assign = (undefined && undefined.__assign) || function () {
|
|
7518
|
+
__assign = Object.assign || function(t) {
|
|
7519
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
7520
|
+
s = arguments[i];
|
|
7521
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7522
|
+
t[p] = s[p];
|
|
7523
|
+
}
|
|
7524
|
+
return t;
|
|
7525
|
+
};
|
|
7526
|
+
return __assign.apply(this, arguments);
|
|
7527
|
+
};
|
|
7498
7528
|
/**
|
|
7499
7529
|
* The `Selection` module is used to handle cell and row selection.
|
|
7500
7530
|
*/
|
|
7501
|
-
var Selection = /** @
|
|
7531
|
+
var Selection = /** @class */ (function () {
|
|
7502
7532
|
/**
|
|
7503
7533
|
* Constructor for the Grid selection module
|
|
7504
7534
|
* @hidden
|
|
@@ -7727,8 +7757,6 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
7727
7757
|
_this.removed = isRemoved;
|
|
7728
7758
|
if (isRowSelected && _this.selectionSettings.persistSelection && !(_this.selectionSettings.checkboxMode === 'ResetOnRowClick')) {
|
|
7729
7759
|
_this.clearSelectedRow(index);
|
|
7730
|
-
isRemoved = true;
|
|
7731
|
-
_this.removed = isRemoved;
|
|
7732
7760
|
_this.selectRowCallBack();
|
|
7733
7761
|
}
|
|
7734
7762
|
else if (!isRowSelected && _this.selectionSettings.persistSelection &&
|
|
@@ -7738,7 +7766,8 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
7738
7766
|
if (_this.selectionSettings.checkboxMode === 'ResetOnRowClick') {
|
|
7739
7767
|
_this.clearSelection();
|
|
7740
7768
|
}
|
|
7741
|
-
if (!_this.selectionSettings.persistSelection || _this.selectionSettings.checkboxMode === 'ResetOnRowClick'
|
|
7769
|
+
if (!_this.selectionSettings.persistSelection || _this.selectionSettings.checkboxMode === 'ResetOnRowClick' ||
|
|
7770
|
+
(!_this.parent.isCheckBoxSelection && _this.selectionSettings.persistSelection)) {
|
|
7742
7771
|
_this.selectRowCheck = true;
|
|
7743
7772
|
_this.clearRow();
|
|
7744
7773
|
}
|
|
@@ -7922,7 +7951,7 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
7922
7951
|
var selectedMovableRow = !this.isSingleSel() ? this.getSelectedMovableRow(rowIndexes[0]) :
|
|
7923
7952
|
this.getSelectedMovableRow(rowIndexes[rowIndexes.length - 1]);
|
|
7924
7953
|
var frzCols = gObj.getFrozenColumns();
|
|
7925
|
-
if (!this.isRowType() || this.isEditing()) {
|
|
7954
|
+
if ((!this.isRowType() || this.isEditing()) && !this.selectionSettings.checkboxOnly) {
|
|
7926
7955
|
return;
|
|
7927
7956
|
}
|
|
7928
7957
|
var args;
|
|
@@ -8053,12 +8082,13 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
8053
8082
|
}
|
|
8054
8083
|
};
|
|
8055
8084
|
Selection.prototype.clearSelectedRow = function (index) {
|
|
8056
|
-
if (this.
|
|
8057
|
-
var selectedEle = this.
|
|
8085
|
+
if (this.toggle) {
|
|
8086
|
+
var selectedEle = this.parent.getRowByIndex(index);
|
|
8058
8087
|
if (!this.disableUI) {
|
|
8059
8088
|
selectedEle.removeAttribute('aria-selected');
|
|
8060
8089
|
this.addRemoveClassesForRow(selectedEle, false, true, 'e-selectionbackground', 'e-active');
|
|
8061
8090
|
}
|
|
8091
|
+
this.removed = true;
|
|
8062
8092
|
this.updatePersistCollection(selectedEle, false);
|
|
8063
8093
|
this.updateCheckBoxes(selectedEle);
|
|
8064
8094
|
this.selectedRowIndexes.splice(this.selectedRowIndexes.indexOf(index), 1);
|
|
@@ -9402,9 +9432,9 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
9402
9432
|
if (rindex < this.parent.frozenRows) {
|
|
9403
9433
|
isFrozenRow = true;
|
|
9404
9434
|
}
|
|
9405
|
-
if (!
|
|
9406
|
-
if (
|
|
9407
|
-
|
|
9435
|
+
if (!select('#' + this.parent.element.id + '_autofill', parentsUntil(this.target, 'e-table'))) {
|
|
9436
|
+
if (select('#' + this.parent.element.id + '_autofill', this.parent.element)) {
|
|
9437
|
+
select('#' + this.parent.element.id + '_autofill', this.parent.element).remove();
|
|
9408
9438
|
}
|
|
9409
9439
|
this.autofill = createElement('div', { className: 'e-autofill', id: this.parent.element.id + '_autofill' });
|
|
9410
9440
|
this.autofill.style.display = 'none';
|
|
@@ -10508,6 +10538,7 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
10508
10538
|
this.onDataBoundFunction = this.onDataBound.bind(this);
|
|
10509
10539
|
this.parent.addEventListener(dataBound, this.onDataBoundFunction);
|
|
10510
10540
|
this.parent.on(contentReady, this.checkBoxSelectionChanged, this);
|
|
10541
|
+
this.parent.on(beforeRefreshOnDataChange, this.initPerisistSelection, this);
|
|
10511
10542
|
this.parent.on(onEmpty, this.setCheckAllForEmptyGrid, this);
|
|
10512
10543
|
this.actionCompleteFunc = this.actionCompleteHandler.bind(this);
|
|
10513
10544
|
this.parent.addEventListener(actionComplete, this.actionCompleteFunc);
|
|
@@ -10525,6 +10556,7 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
10525
10556
|
this.parent.removeEventListener(actionComplete, this.actionCompleteFunc);
|
|
10526
10557
|
this.parent.off(onEmpty, this.setCheckAllForEmptyGrid);
|
|
10527
10558
|
this.parent.off(click, this.clickHandler);
|
|
10559
|
+
this.parent.off(beforeRefreshOnDataChange, this.initPerisistSelection);
|
|
10528
10560
|
};
|
|
10529
10561
|
Selection.prototype.setCheckAllForEmptyGrid = function () {
|
|
10530
10562
|
var checkAllBox = this.getCheckAllBox();
|
|
@@ -10565,7 +10597,7 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
10565
10597
|
/**
|
|
10566
10598
|
* The `Search` module is used to handle search action.
|
|
10567
10599
|
*/
|
|
10568
|
-
var Search = /** @
|
|
10600
|
+
var Search = /** @class */ (function () {
|
|
10569
10601
|
/**
|
|
10570
10602
|
* Constructor for Grid search module.
|
|
10571
10603
|
* @hidden
|
|
@@ -10683,7 +10715,7 @@ var Search = /** @__PURE__ @class */ (function () {
|
|
|
10683
10715
|
/**
|
|
10684
10716
|
* The `ShowHide` module is used to control column visibility.
|
|
10685
10717
|
*/
|
|
10686
|
-
var ShowHide = /** @
|
|
10718
|
+
var ShowHide = /** @class */ (function () {
|
|
10687
10719
|
/**
|
|
10688
10720
|
* Constructor for the show hide module.
|
|
10689
10721
|
* @hidden
|
|
@@ -10798,7 +10830,7 @@ var ShowHide = /** @__PURE__ @class */ (function () {
|
|
|
10798
10830
|
/**
|
|
10799
10831
|
* The `Scroll` module is used to handle scrolling behaviour.
|
|
10800
10832
|
*/
|
|
10801
|
-
var Scroll = /** @
|
|
10833
|
+
var Scroll = /** @class */ (function () {
|
|
10802
10834
|
/**
|
|
10803
10835
|
* Constructor for the Grid scrolling.
|
|
10804
10836
|
* @hidden
|
|
@@ -11192,29 +11224,29 @@ var Scroll = /** @__PURE__ @class */ (function () {
|
|
|
11192
11224
|
return Scroll;
|
|
11193
11225
|
}());
|
|
11194
11226
|
|
|
11195
|
-
var __extends$16 = (undefined && undefined.__extends) || (function () {
|
|
11196
|
-
var extendStatics = function (d, b) {
|
|
11197
|
-
extendStatics = Object.setPrototypeOf ||
|
|
11198
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11199
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
11200
|
-
return extendStatics(d, b);
|
|
11201
|
-
};
|
|
11202
|
-
return function (d, b) {
|
|
11203
|
-
extendStatics(d, b);
|
|
11204
|
-
function __() { this.constructor = d; }
|
|
11205
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11206
|
-
};
|
|
11207
|
-
})();
|
|
11208
|
-
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11209
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11210
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11211
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11212
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11213
|
-
};
|
|
11227
|
+
var __extends$16 = (undefined && undefined.__extends) || (function () {
|
|
11228
|
+
var extendStatics = function (d, b) {
|
|
11229
|
+
extendStatics = Object.setPrototypeOf ||
|
|
11230
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11231
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
11232
|
+
return extendStatics(d, b);
|
|
11233
|
+
};
|
|
11234
|
+
return function (d, b) {
|
|
11235
|
+
extendStatics(d, b);
|
|
11236
|
+
function __() { this.constructor = d; }
|
|
11237
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11238
|
+
};
|
|
11239
|
+
})();
|
|
11240
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11241
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11242
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11243
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
11244
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11245
|
+
};
|
|
11214
11246
|
/**
|
|
11215
11247
|
* Configures the Grid's aggregate column.
|
|
11216
11248
|
*/
|
|
11217
|
-
var AggregateColumn = /** @
|
|
11249
|
+
var AggregateColumn = /** @class */ (function (_super) {
|
|
11218
11250
|
__extends$16(AggregateColumn, _super);
|
|
11219
11251
|
function AggregateColumn() {
|
|
11220
11252
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -11292,7 +11324,7 @@ var AggregateColumn = /** @__PURE__ @class */ (function (_super) {
|
|
|
11292
11324
|
/**
|
|
11293
11325
|
* Configures the aggregate rows.
|
|
11294
11326
|
*/
|
|
11295
|
-
var AggregateRow = /** @
|
|
11327
|
+
var AggregateRow = /** @class */ (function (_super) {
|
|
11296
11328
|
__extends$16(AggregateRow, _super);
|
|
11297
11329
|
function AggregateRow() {
|
|
11298
11330
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -11306,7 +11338,7 @@ var AggregateRow = /** @__PURE__ @class */ (function (_super) {
|
|
|
11306
11338
|
/**
|
|
11307
11339
|
* The `Clipboard` module is used to handle clipboard copy action.
|
|
11308
11340
|
*/
|
|
11309
|
-
var Clipboard = /** @
|
|
11341
|
+
var Clipboard = /** @class */ (function () {
|
|
11310
11342
|
/**
|
|
11311
11343
|
* Constructor for the Grid clipboard module
|
|
11312
11344
|
* @hidden
|
|
@@ -11637,7 +11669,7 @@ var gridObserver = new Observer();
|
|
|
11637
11669
|
* BlazorAction is used for performing Blazor related Grid Actions.
|
|
11638
11670
|
* @hidden
|
|
11639
11671
|
*/
|
|
11640
|
-
var BlazorAction = /** @
|
|
11672
|
+
var BlazorAction = /** @class */ (function () {
|
|
11641
11673
|
function BlazorAction(parent) {
|
|
11642
11674
|
this.aria = new AriaService();
|
|
11643
11675
|
this.actionArgs = {};
|
|
@@ -12011,29 +12043,29 @@ var BlazorAction = /** @__PURE__ @class */ (function () {
|
|
|
12011
12043
|
return BlazorAction;
|
|
12012
12044
|
}());
|
|
12013
12045
|
|
|
12014
|
-
var __extends = (undefined && undefined.__extends) || (function () {
|
|
12015
|
-
var extendStatics = function (d, b) {
|
|
12016
|
-
extendStatics = Object.setPrototypeOf ||
|
|
12017
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12018
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12019
|
-
return extendStatics(d, b);
|
|
12020
|
-
};
|
|
12021
|
-
return function (d, b) {
|
|
12022
|
-
extendStatics(d, b);
|
|
12023
|
-
function __() { this.constructor = d; }
|
|
12024
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12025
|
-
};
|
|
12026
|
-
})();
|
|
12027
|
-
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12028
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12029
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12030
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12031
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12032
|
-
};
|
|
12046
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
12047
|
+
var extendStatics = function (d, b) {
|
|
12048
|
+
extendStatics = Object.setPrototypeOf ||
|
|
12049
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12050
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12051
|
+
return extendStatics(d, b);
|
|
12052
|
+
};
|
|
12053
|
+
return function (d, b) {
|
|
12054
|
+
extendStatics(d, b);
|
|
12055
|
+
function __() { this.constructor = d; }
|
|
12056
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12057
|
+
};
|
|
12058
|
+
})();
|
|
12059
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12060
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12061
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12062
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
12063
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12064
|
+
};
|
|
12033
12065
|
/**
|
|
12034
12066
|
* Represents the field name and direction of sort column.
|
|
12035
12067
|
*/
|
|
12036
|
-
var SortDescriptor = /** @
|
|
12068
|
+
var SortDescriptor = /** @class */ (function (_super) {
|
|
12037
12069
|
__extends(SortDescriptor, _super);
|
|
12038
12070
|
function SortDescriptor() {
|
|
12039
12071
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12052,7 +12084,7 @@ var SortDescriptor = /** @__PURE__ @class */ (function (_super) {
|
|
|
12052
12084
|
/**
|
|
12053
12085
|
* Configures the sorting behavior of Grid.
|
|
12054
12086
|
*/
|
|
12055
|
-
var SortSettings = /** @
|
|
12087
|
+
var SortSettings = /** @class */ (function (_super) {
|
|
12056
12088
|
__extends(SortSettings, _super);
|
|
12057
12089
|
function SortSettings() {
|
|
12058
12090
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12068,7 +12100,7 @@ var SortSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12068
12100
|
/**
|
|
12069
12101
|
* Represents the predicate for the filter column.
|
|
12070
12102
|
*/
|
|
12071
|
-
var Predicate$1 = /** @
|
|
12103
|
+
var Predicate$1 = /** @class */ (function (_super) {
|
|
12072
12104
|
__extends(Predicate$$1, _super);
|
|
12073
12105
|
function Predicate$$1() {
|
|
12074
12106
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12114,7 +12146,7 @@ var Predicate$1 = /** @__PURE__ @class */ (function (_super) {
|
|
|
12114
12146
|
/**
|
|
12115
12147
|
* Configures the infinite scroll behavior of Grid.
|
|
12116
12148
|
*/
|
|
12117
|
-
var InfiniteScrollSettings = /** @
|
|
12149
|
+
var InfiniteScrollSettings = /** @class */ (function (_super) {
|
|
12118
12150
|
__extends(InfiniteScrollSettings, _super);
|
|
12119
12151
|
function InfiniteScrollSettings() {
|
|
12120
12152
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12133,7 +12165,7 @@ var InfiniteScrollSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12133
12165
|
/**
|
|
12134
12166
|
* Configures the filtering behavior of the Grid.
|
|
12135
12167
|
*/
|
|
12136
|
-
var FilterSettings = /** @
|
|
12168
|
+
var FilterSettings = /** @class */ (function (_super) {
|
|
12137
12169
|
__extends(FilterSettings, _super);
|
|
12138
12170
|
function FilterSettings() {
|
|
12139
12171
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12170,7 +12202,7 @@ var FilterSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12170
12202
|
/**
|
|
12171
12203
|
* Configures the selection behavior of the Grid.
|
|
12172
12204
|
*/
|
|
12173
|
-
var SelectionSettings = /** @
|
|
12205
|
+
var SelectionSettings = /** @class */ (function (_super) {
|
|
12174
12206
|
__extends(SelectionSettings, _super);
|
|
12175
12207
|
function SelectionSettings() {
|
|
12176
12208
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12204,7 +12236,7 @@ var SelectionSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12204
12236
|
/**
|
|
12205
12237
|
* Configures the search behavior of the Grid.
|
|
12206
12238
|
*/
|
|
12207
|
-
var SearchSettings = /** @
|
|
12239
|
+
var SearchSettings = /** @class */ (function (_super) {
|
|
12208
12240
|
__extends(SearchSettings, _super);
|
|
12209
12241
|
function SearchSettings() {
|
|
12210
12242
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12229,7 +12261,7 @@ var SearchSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12229
12261
|
/**
|
|
12230
12262
|
* Configures the row drop settings of the Grid.
|
|
12231
12263
|
*/
|
|
12232
|
-
var RowDropSettings = /** @
|
|
12264
|
+
var RowDropSettings = /** @class */ (function (_super) {
|
|
12233
12265
|
__extends(RowDropSettings, _super);
|
|
12234
12266
|
function RowDropSettings() {
|
|
12235
12267
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12242,7 +12274,7 @@ var RowDropSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12242
12274
|
/**
|
|
12243
12275
|
* Configures the text wrap settings of the Grid.
|
|
12244
12276
|
*/
|
|
12245
|
-
var TextWrapSettings = /** @
|
|
12277
|
+
var TextWrapSettings = /** @class */ (function (_super) {
|
|
12246
12278
|
__extends(TextWrapSettings, _super);
|
|
12247
12279
|
function TextWrapSettings() {
|
|
12248
12280
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12255,7 +12287,7 @@ var TextWrapSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12255
12287
|
/**
|
|
12256
12288
|
* Configures the resize behavior of the Grid.
|
|
12257
12289
|
*/
|
|
12258
|
-
var ResizeSettings = /** @
|
|
12290
|
+
var ResizeSettings = /** @class */ (function (_super) {
|
|
12259
12291
|
__extends(ResizeSettings, _super);
|
|
12260
12292
|
function ResizeSettings() {
|
|
12261
12293
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12268,7 +12300,7 @@ var ResizeSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12268
12300
|
/**
|
|
12269
12301
|
* Configures the group behavior of the Grid.
|
|
12270
12302
|
*/
|
|
12271
|
-
var GroupSettings = /** @
|
|
12303
|
+
var GroupSettings = /** @class */ (function (_super) {
|
|
12272
12304
|
__extends(GroupSettings, _super);
|
|
12273
12305
|
function GroupSettings() {
|
|
12274
12306
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12305,7 +12337,7 @@ var GroupSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12305
12337
|
/**
|
|
12306
12338
|
* Configures the edit behavior of the Grid.
|
|
12307
12339
|
*/
|
|
12308
|
-
var EditSettings = /** @
|
|
12340
|
+
var EditSettings = /** @class */ (function (_super) {
|
|
12309
12341
|
__extends(EditSettings, _super);
|
|
12310
12342
|
function EditSettings() {
|
|
12311
12343
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12361,7 +12393,7 @@ var EditSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12361
12393
|
* </script>
|
|
12362
12394
|
* ```
|
|
12363
12395
|
*/
|
|
12364
|
-
var Grid = /** @
|
|
12396
|
+
var Grid = /** @class */ (function (_super) {
|
|
12365
12397
|
__extends(Grid, _super);
|
|
12366
12398
|
/**
|
|
12367
12399
|
* Constructor for creating the component
|
|
@@ -12977,6 +13009,9 @@ var Grid = /** @__PURE__ @class */ (function (_super) {
|
|
|
12977
13009
|
return;
|
|
12978
13010
|
}
|
|
12979
13011
|
this.log('module_missing');
|
|
13012
|
+
if (this.isEllipsisTooltip()) {
|
|
13013
|
+
this.toolTipObj.close();
|
|
13014
|
+
}
|
|
12980
13015
|
var properties = Object.keys(newProp);
|
|
12981
13016
|
if (properties.indexOf('columns') > -1) {
|
|
12982
13017
|
this.updateColumnObject();
|
|
@@ -13226,6 +13261,9 @@ var Grid = /** @__PURE__ @class */ (function (_super) {
|
|
|
13226
13261
|
this.notify(dataSourceModified, {});
|
|
13227
13262
|
if (!requireGridRefresh) {
|
|
13228
13263
|
this.renderModule.refresh();
|
|
13264
|
+
if (this.isCheckBoxSelection) {
|
|
13265
|
+
this.notify(beforeRefreshOnDataChange, {});
|
|
13266
|
+
}
|
|
13229
13267
|
}
|
|
13230
13268
|
}
|
|
13231
13269
|
this.scrollRefresh();
|
|
@@ -15102,7 +15140,8 @@ var Grid = /** @__PURE__ @class */ (function (_super) {
|
|
|
15102
15140
|
parentsUntil(e.target, 'e-gridheader'))) && e.touches) {
|
|
15103
15141
|
return;
|
|
15104
15142
|
}
|
|
15105
|
-
if (parentsUntil(e.target, 'e-gridheader') && this.allowRowDragAndDrop
|
|
15143
|
+
if (parentsUntil(e.target, 'e-gridheader') && this.allowRowDragAndDrop &&
|
|
15144
|
+
!(parentsUntil(e.target, 'e-filterbarcell'))) {
|
|
15106
15145
|
e.preventDefault();
|
|
15107
15146
|
}
|
|
15108
15147
|
var args = this.getRowInfo(e.target);
|
|
@@ -15297,12 +15336,14 @@ var Grid = /** @__PURE__ @class */ (function (_super) {
|
|
|
15297
15336
|
}
|
|
15298
15337
|
};
|
|
15299
15338
|
Grid.prototype.keyActionHandler = function (e) {
|
|
15300
|
-
this.keyPress = e.action !== 'space';
|
|
15301
15339
|
if (this.isChildGrid(e) ||
|
|
15302
15340
|
(this.isEdit && e.action !== 'escape' && e.action !== 'enter' && e.action !== 'shiftEnter'
|
|
15303
15341
|
&& e.action !== 'tab' && e.action !== 'shiftTab')) {
|
|
15304
15342
|
return;
|
|
15305
15343
|
}
|
|
15344
|
+
else {
|
|
15345
|
+
this.keyPress = true;
|
|
15346
|
+
}
|
|
15306
15347
|
if (this.allowKeyboard) {
|
|
15307
15348
|
if (e.action === 'ctrlPlusP') {
|
|
15308
15349
|
e.preventDefault();
|
|
@@ -16535,7 +16576,7 @@ function getCloneProperties() {
|
|
|
16535
16576
|
*
|
|
16536
16577
|
* The `Print` module is used to handle print action.
|
|
16537
16578
|
*/
|
|
16538
|
-
var Print = /** @
|
|
16579
|
+
var Print = /** @class */ (function () {
|
|
16539
16580
|
/**
|
|
16540
16581
|
* Constructor for the Grid print module
|
|
16541
16582
|
* @hidden
|
|
@@ -16705,13 +16746,13 @@ var Print = /** @__PURE__ @class */ (function () {
|
|
|
16705
16746
|
if (!depth) {
|
|
16706
16747
|
return;
|
|
16707
16748
|
}
|
|
16708
|
-
var groupCaption =
|
|
16749
|
+
var groupCaption = selectAll(id + "captioncell.e-groupcaption", element);
|
|
16709
16750
|
var colSpan = groupCaption[depth - 1].getAttribute('colspan');
|
|
16710
16751
|
for (var i = 0; i < groupCaption.length; i++) {
|
|
16711
16752
|
groupCaption[i].setAttribute('colspan', colSpan);
|
|
16712
16753
|
}
|
|
16713
|
-
var colGroups =
|
|
16714
|
-
var contentColGroups =
|
|
16754
|
+
var colGroups = selectAll("colgroup" + id + "colGroup", element);
|
|
16755
|
+
var contentColGroups = selectAll('.e-content colgroup', element);
|
|
16715
16756
|
this.hideColGroup(colGroups, depth);
|
|
16716
16757
|
this.hideColGroup(contentColGroups, depth);
|
|
16717
16758
|
};
|
|
@@ -17237,9 +17278,9 @@ function isEditable(col, type, elem) {
|
|
|
17237
17278
|
}
|
|
17238
17279
|
/** @hidden */
|
|
17239
17280
|
function isActionPrevent(inst) {
|
|
17240
|
-
var dlg =
|
|
17281
|
+
var dlg = select('#' + inst.element.id + 'EditConfirm', inst.element);
|
|
17241
17282
|
return inst.editSettings.mode === 'Batch' &&
|
|
17242
|
-
(
|
|
17283
|
+
(selectAll('.e-updatedtd', inst.element).length) && inst.editSettings.showConfirmDialog &&
|
|
17243
17284
|
(dlg ? dlg.classList.contains('e-popup-close') : true);
|
|
17244
17285
|
}
|
|
17245
17286
|
/** @hidden */
|
|
@@ -17820,7 +17861,7 @@ function setRowElements(gObj) {
|
|
|
17820
17861
|
* @hidden
|
|
17821
17862
|
* `CheckBoxFilterBase` module is used to handle filtering action.
|
|
17822
17863
|
*/
|
|
17823
|
-
var CheckBoxFilterBase = /** @
|
|
17864
|
+
var CheckBoxFilterBase = /** @class */ (function () {
|
|
17824
17865
|
/**
|
|
17825
17866
|
* Constructor for checkbox filtering module
|
|
17826
17867
|
* @hidden
|
|
@@ -18509,9 +18550,9 @@ var CheckBoxFilterBase = /** @__PURE__ @class */ (function () {
|
|
|
18509
18550
|
this.searchBoxClick(e);
|
|
18510
18551
|
}
|
|
18511
18552
|
if (elem) {
|
|
18512
|
-
var selectAll = elem.querySelector('.e-selectall');
|
|
18513
|
-
if (selectAll) {
|
|
18514
|
-
this.updateAllCBoxes(!selectAll.classList.contains('e-check'));
|
|
18553
|
+
var selectAll$$1 = elem.querySelector('.e-selectall');
|
|
18554
|
+
if (selectAll$$1) {
|
|
18555
|
+
this.updateAllCBoxes(!selectAll$$1.classList.contains('e-check'));
|
|
18515
18556
|
}
|
|
18516
18557
|
else {
|
|
18517
18558
|
toogleCheckbox(elem.parentElement);
|
|
@@ -18612,9 +18653,9 @@ var CheckBoxFilterBase = /** @__PURE__ @class */ (function () {
|
|
|
18612
18653
|
if (data.length && !this.renderEmpty) {
|
|
18613
18654
|
var selectAllValue = this.getLocalizedLabel('SelectAll');
|
|
18614
18655
|
var checkBox = this.createCheckbox(selectAllValue, false, (_a = {}, _a[this.options.field] = selectAllValue, _a));
|
|
18615
|
-
var selectAll = createCboxWithWrap(getUid('cbox'), checkBox, 'e-ftrchk');
|
|
18616
|
-
selectAll.querySelector('.e-frame').classList.add('e-selectall');
|
|
18617
|
-
cBoxes.appendChild(selectAll);
|
|
18656
|
+
var selectAll$$1 = createCboxWithWrap(getUid('cbox'), checkBox, 'e-ftrchk');
|
|
18657
|
+
selectAll$$1.querySelector('.e-frame').classList.add('e-selectall');
|
|
18658
|
+
cBoxes.appendChild(selectAll$$1);
|
|
18618
18659
|
var predicate = new Predicate('field', 'equal', this.options.field);
|
|
18619
18660
|
if (this.options.foreignKeyValue) {
|
|
18620
18661
|
predicate = predicate.or('field', 'equal', this.options.foreignKeyValue);
|
|
@@ -18773,24 +18814,24 @@ var CheckBoxFilterBase = /** @__PURE__ @class */ (function () {
|
|
|
18773
18814
|
return CheckBoxFilterBase;
|
|
18774
18815
|
}());
|
|
18775
18816
|
|
|
18776
|
-
var __extends$17 = (undefined && undefined.__extends) || (function () {
|
|
18777
|
-
var extendStatics = function (d, b) {
|
|
18778
|
-
extendStatics = Object.setPrototypeOf ||
|
|
18779
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
18780
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
18781
|
-
return extendStatics(d, b);
|
|
18782
|
-
};
|
|
18783
|
-
return function (d, b) {
|
|
18784
|
-
extendStatics(d, b);
|
|
18785
|
-
function __() { this.constructor = d; }
|
|
18786
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18787
|
-
};
|
|
18788
|
-
})();
|
|
18817
|
+
var __extends$17 = (undefined && undefined.__extends) || (function () {
|
|
18818
|
+
var extendStatics = function (d, b) {
|
|
18819
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18820
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
18821
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
18822
|
+
return extendStatics(d, b);
|
|
18823
|
+
};
|
|
18824
|
+
return function (d, b) {
|
|
18825
|
+
extendStatics(d, b);
|
|
18826
|
+
function __() { this.constructor = d; }
|
|
18827
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18828
|
+
};
|
|
18829
|
+
})();
|
|
18789
18830
|
/**
|
|
18790
18831
|
* @hidden
|
|
18791
18832
|
* `ExcelFilter` module is used to handle filtering action.
|
|
18792
18833
|
*/
|
|
18793
|
-
var ExcelFilterBase = /** @
|
|
18834
|
+
var ExcelFilterBase = /** @class */ (function (_super) {
|
|
18794
18835
|
__extends$17(ExcelFilterBase, _super);
|
|
18795
18836
|
/**
|
|
18796
18837
|
* Constructor for excel filtering module
|
|
@@ -19560,7 +19601,7 @@ var ExcelFilterBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
19560
19601
|
*
|
|
19561
19602
|
* The `Sort` module is used to handle sorting action.
|
|
19562
19603
|
*/
|
|
19563
|
-
var Sort = /** @
|
|
19604
|
+
var Sort = /** @class */ (function () {
|
|
19564
19605
|
/**
|
|
19565
19606
|
* Constructor for Grid sorting module
|
|
19566
19607
|
* @hidden
|
|
@@ -20040,7 +20081,7 @@ var Sort = /** @__PURE__ @class */ (function () {
|
|
|
20040
20081
|
/**
|
|
20041
20082
|
* `NumericContainer` module handles rendering and refreshing numeric container.
|
|
20042
20083
|
*/
|
|
20043
|
-
var NumericContainer = /** @
|
|
20084
|
+
var NumericContainer = /** @class */ (function () {
|
|
20044
20085
|
/**
|
|
20045
20086
|
* Constructor for numericContainer module
|
|
20046
20087
|
* @hidden
|
|
@@ -20330,7 +20371,7 @@ var NumericContainer = /** @__PURE__ @class */ (function () {
|
|
|
20330
20371
|
/**
|
|
20331
20372
|
* `PagerMessage` module is used to display pager information.
|
|
20332
20373
|
*/
|
|
20333
|
-
var PagerMessage = /** @
|
|
20374
|
+
var PagerMessage = /** @class */ (function () {
|
|
20334
20375
|
/**
|
|
20335
20376
|
* Constructor for externalMessage module
|
|
20336
20377
|
* @hidden
|
|
@@ -20362,7 +20403,7 @@ var PagerMessage = /** @__PURE__ @class */ (function () {
|
|
|
20362
20403
|
}
|
|
20363
20404
|
else {
|
|
20364
20405
|
this.pageNoMsgElem.textContent = this.format(pagerObj.getLocalizedLabel('currentPageInfo'), [pagerObj.totalRecordsCount === 0 ? 0 :
|
|
20365
|
-
pagerObj.currentPage, pagerObj.totalPages || 0]) + ' ';
|
|
20406
|
+
pagerObj.currentPage, pagerObj.totalPages || 0, pagerObj.totalRecordsCount || 0]) + ' ';
|
|
20366
20407
|
this.pageCountMsgElem.textContent = this.format(pagerObj.getLocalizedLabel(pagerObj.totalRecordsCount <= 1 ? 'totalItemInfo' : 'totalItemsInfo'), [pagerObj.totalRecordsCount || 0]);
|
|
20367
20408
|
}
|
|
20368
20409
|
this.pageNoMsgElem.parentElement.setAttribute('aria-label', this.pageNoMsgElem.textContent + this.pageCountMsgElem.textContent);
|
|
@@ -20408,25 +20449,25 @@ var PagerMessage = /** @__PURE__ @class */ (function () {
|
|
|
20408
20449
|
return PagerMessage;
|
|
20409
20450
|
}());
|
|
20410
20451
|
|
|
20411
|
-
var __extends$18 = (undefined && undefined.__extends) || (function () {
|
|
20412
|
-
var extendStatics = function (d, b) {
|
|
20413
|
-
extendStatics = Object.setPrototypeOf ||
|
|
20414
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
20415
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20416
|
-
return extendStatics(d, b);
|
|
20417
|
-
};
|
|
20418
|
-
return function (d, b) {
|
|
20419
|
-
extendStatics(d, b);
|
|
20420
|
-
function __() { this.constructor = d; }
|
|
20421
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
20422
|
-
};
|
|
20423
|
-
})();
|
|
20424
|
-
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
20425
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20426
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20427
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
20428
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20429
|
-
};
|
|
20452
|
+
var __extends$18 = (undefined && undefined.__extends) || (function () {
|
|
20453
|
+
var extendStatics = function (d, b) {
|
|
20454
|
+
extendStatics = Object.setPrototypeOf ||
|
|
20455
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
20456
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20457
|
+
return extendStatics(d, b);
|
|
20458
|
+
};
|
|
20459
|
+
return function (d, b) {
|
|
20460
|
+
extendStatics(d, b);
|
|
20461
|
+
function __() { this.constructor = d; }
|
|
20462
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
20463
|
+
};
|
|
20464
|
+
})();
|
|
20465
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
20466
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20467
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20468
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
20469
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20470
|
+
};
|
|
20430
20471
|
/**
|
|
20431
20472
|
* Represents the `Pager` component.
|
|
20432
20473
|
* ```html
|
|
@@ -20439,7 +20480,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
20439
20480
|
* </script>
|
|
20440
20481
|
* ```
|
|
20441
20482
|
*/
|
|
20442
|
-
var Pager = /** @
|
|
20483
|
+
var Pager = /** @class */ (function (_super) {
|
|
20443
20484
|
__extends$18(Pager, _super);
|
|
20444
20485
|
/**
|
|
20445
20486
|
* Constructor for creating the component.
|
|
@@ -20906,7 +20947,7 @@ var Pager = /** @__PURE__ @class */ (function (_super) {
|
|
|
20906
20947
|
/**
|
|
20907
20948
|
* `PagerDropDown` module handles selected pageSize from DropDownList.
|
|
20908
20949
|
*/
|
|
20909
|
-
var PagerDropDown = /** @
|
|
20950
|
+
var PagerDropDown = /** @class */ (function () {
|
|
20910
20951
|
/**
|
|
20911
20952
|
* Constructor for pager module
|
|
20912
20953
|
* @hidden
|
|
@@ -21001,7 +21042,7 @@ var PagerDropDown = /** @__PURE__ @class */ (function () {
|
|
|
21001
21042
|
PagerDropDown.prototype.convertValue = function (pageSizeValue) {
|
|
21002
21043
|
var item = pageSizeValue;
|
|
21003
21044
|
for (var i = 0; i < item.length; i++) {
|
|
21004
|
-
item[i] =
|
|
21045
|
+
item[i] = parseInt(item[i], 10) ? item[i].toString() : this.pagerModule.getLocalizedLabel(item[i]);
|
|
21005
21046
|
}
|
|
21006
21047
|
return item;
|
|
21007
21048
|
};
|
|
@@ -21035,7 +21076,7 @@ var PagerDropDown = /** @__PURE__ @class */ (function () {
|
|
|
21035
21076
|
/**
|
|
21036
21077
|
* `ExternalMessage` module is used to display user provided message.
|
|
21037
21078
|
*/
|
|
21038
|
-
var ExternalMessage = /** @
|
|
21079
|
+
var ExternalMessage = /** @class */ (function () {
|
|
21039
21080
|
/**
|
|
21040
21081
|
* Constructor for externalMessage module
|
|
21041
21082
|
* @param {Pager} pagerModule?
|
|
@@ -21102,7 +21143,7 @@ var ExternalMessage = /** @__PURE__ @class */ (function () {
|
|
|
21102
21143
|
/**
|
|
21103
21144
|
* The `Page` module is used to render pager and handle paging action.
|
|
21104
21145
|
*/
|
|
21105
|
-
var Page = /** @
|
|
21146
|
+
var Page = /** @class */ (function () {
|
|
21106
21147
|
/**
|
|
21107
21148
|
* Constructor for the Grid paging module
|
|
21108
21149
|
* @hidden
|
|
@@ -21333,7 +21374,9 @@ var Page = /** @__PURE__ @class */ (function () {
|
|
|
21333
21374
|
if (this.parent.isDestroyed) {
|
|
21334
21375
|
return;
|
|
21335
21376
|
}
|
|
21336
|
-
this.parent.
|
|
21377
|
+
if (this.parent.isReact) {
|
|
21378
|
+
this.parent.addEventListener('created', this.handlers.created.bind(this));
|
|
21379
|
+
}
|
|
21337
21380
|
this.parent.on(initialLoad, this.handlers.load, this);
|
|
21338
21381
|
this.parent.on(initialEnd, this.handlers.end, this); //For initial rendering
|
|
21339
21382
|
this.parent.on(dataReady, this.handlers.ready, this);
|
|
@@ -21373,7 +21416,9 @@ var Page = /** @__PURE__ @class */ (function () {
|
|
|
21373
21416
|
if (this.parent.isDestroyed) {
|
|
21374
21417
|
return;
|
|
21375
21418
|
}
|
|
21376
|
-
this.parent.
|
|
21419
|
+
if (this.parent.isReact) {
|
|
21420
|
+
this.parent.removeEventListener('created', this.handlers.created);
|
|
21421
|
+
}
|
|
21377
21422
|
this.parent.off('pager-refresh', this.renderReactPagerTemplate);
|
|
21378
21423
|
this.parent.off(initialLoad, this.handlers.load);
|
|
21379
21424
|
this.parent.off(initialEnd, this.handlers.end); //For initial rendering
|
|
@@ -21415,24 +21460,24 @@ var keyActions = {
|
|
|
21415
21460
|
altPageDown: '.e-np'
|
|
21416
21461
|
};
|
|
21417
21462
|
|
|
21418
|
-
var __extends$19 = (undefined && undefined.__extends) || (function () {
|
|
21419
|
-
var extendStatics = function (d, b) {
|
|
21420
|
-
extendStatics = Object.setPrototypeOf ||
|
|
21421
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
21422
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
21423
|
-
return extendStatics(d, b);
|
|
21424
|
-
};
|
|
21425
|
-
return function (d, b) {
|
|
21426
|
-
extendStatics(d, b);
|
|
21427
|
-
function __() { this.constructor = d; }
|
|
21428
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
21429
|
-
};
|
|
21430
|
-
})();
|
|
21463
|
+
var __extends$19 = (undefined && undefined.__extends) || (function () {
|
|
21464
|
+
var extendStatics = function (d, b) {
|
|
21465
|
+
extendStatics = Object.setPrototypeOf ||
|
|
21466
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
21467
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
21468
|
+
return extendStatics(d, b);
|
|
21469
|
+
};
|
|
21470
|
+
return function (d, b) {
|
|
21471
|
+
extendStatics(d, b);
|
|
21472
|
+
function __() { this.constructor = d; }
|
|
21473
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
21474
|
+
};
|
|
21475
|
+
})();
|
|
21431
21476
|
/**
|
|
21432
21477
|
* FilterCellRenderer class which responsible for building filter cell.
|
|
21433
21478
|
* @hidden
|
|
21434
21479
|
*/
|
|
21435
|
-
var FilterCellRenderer = /** @
|
|
21480
|
+
var FilterCellRenderer = /** @class */ (function (_super) {
|
|
21436
21481
|
__extends$19(FilterCellRenderer, _super);
|
|
21437
21482
|
function FilterCellRenderer() {
|
|
21438
21483
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -21623,7 +21668,7 @@ var FilterCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
21623
21668
|
* `filter operators` render boolean column.
|
|
21624
21669
|
* @hidden
|
|
21625
21670
|
*/
|
|
21626
|
-
var FlMenuOptrUI = /** @
|
|
21671
|
+
var FlMenuOptrUI = /** @class */ (function () {
|
|
21627
21672
|
function FlMenuOptrUI(parent, customFltrOperators, serviceLocator, filterSettings) {
|
|
21628
21673
|
this.parent = parent;
|
|
21629
21674
|
this.serviceLocator = serviceLocator;
|
|
@@ -21695,7 +21740,7 @@ var FlMenuOptrUI = /** @__PURE__ @class */ (function () {
|
|
|
21695
21740
|
* `string filterui` render string column.
|
|
21696
21741
|
* @hidden
|
|
21697
21742
|
*/
|
|
21698
|
-
var StringFilterUI = /** @
|
|
21743
|
+
var StringFilterUI = /** @class */ (function () {
|
|
21699
21744
|
function StringFilterUI(parent, serviceLocator, filterSettings) {
|
|
21700
21745
|
this.parent = parent;
|
|
21701
21746
|
this.serLocator = serviceLocator;
|
|
@@ -21775,7 +21820,7 @@ var StringFilterUI = /** @__PURE__ @class */ (function () {
|
|
|
21775
21820
|
* `numberfilterui` render number column.
|
|
21776
21821
|
* @hidden
|
|
21777
21822
|
*/
|
|
21778
|
-
var NumberFilterUI = /** @
|
|
21823
|
+
var NumberFilterUI = /** @class */ (function () {
|
|
21779
21824
|
function NumberFilterUI(parent, serviceLocator, filterSettings) {
|
|
21780
21825
|
this.filterSettings = filterSettings;
|
|
21781
21826
|
this.parent = parent;
|
|
@@ -21810,7 +21855,7 @@ var NumberFilterUI = /** @__PURE__ @class */ (function () {
|
|
|
21810
21855
|
* `boolfilterui` render boolean column.
|
|
21811
21856
|
* @hidden
|
|
21812
21857
|
*/
|
|
21813
|
-
var BooleanFilterUI = /** @
|
|
21858
|
+
var BooleanFilterUI = /** @class */ (function () {
|
|
21814
21859
|
function BooleanFilterUI(parent, serviceLocator, filterSettings) {
|
|
21815
21860
|
this.parent = parent;
|
|
21816
21861
|
this.serviceLocator = serviceLocator;
|
|
@@ -21860,7 +21905,7 @@ var BooleanFilterUI = /** @__PURE__ @class */ (function () {
|
|
|
21860
21905
|
* `datefilterui` render date column.
|
|
21861
21906
|
* @hidden
|
|
21862
21907
|
*/
|
|
21863
|
-
var DateFilterUI = /** @
|
|
21908
|
+
var DateFilterUI = /** @class */ (function () {
|
|
21864
21909
|
function DateFilterUI(parent, serviceLocator, filterSettings) {
|
|
21865
21910
|
this.parent = parent;
|
|
21866
21911
|
this.locator = serviceLocator;
|
|
@@ -21916,7 +21961,7 @@ var DateFilterUI = /** @__PURE__ @class */ (function () {
|
|
|
21916
21961
|
* `filter menu` render boolean column.
|
|
21917
21962
|
* @hidden
|
|
21918
21963
|
*/
|
|
21919
|
-
var FilterMenuRenderer = /** @
|
|
21964
|
+
var FilterMenuRenderer = /** @class */ (function () {
|
|
21920
21965
|
function FilterMenuRenderer(parent, filterSettings, serviceLocator, customFltrOperators, fltrObj) {
|
|
21921
21966
|
this.isDialogOpen = false;
|
|
21922
21967
|
this.colTypes = {
|
|
@@ -22185,7 +22230,7 @@ var FilterMenuRenderer = /** @__PURE__ @class */ (function () {
|
|
|
22185
22230
|
* @hidden
|
|
22186
22231
|
* `CheckBoxFilter` module is used to handle filtering action.
|
|
22187
22232
|
*/
|
|
22188
|
-
var CheckBoxFilter = /** @
|
|
22233
|
+
var CheckBoxFilter = /** @class */ (function () {
|
|
22189
22234
|
/**
|
|
22190
22235
|
* Constructor for checkbox filtering module
|
|
22191
22236
|
* @hidden
|
|
@@ -22254,24 +22299,24 @@ var CheckBoxFilter = /** @__PURE__ @class */ (function () {
|
|
|
22254
22299
|
return CheckBoxFilter;
|
|
22255
22300
|
}());
|
|
22256
22301
|
|
|
22257
|
-
var __extends$20 = (undefined && undefined.__extends) || (function () {
|
|
22258
|
-
var extendStatics = function (d, b) {
|
|
22259
|
-
extendStatics = Object.setPrototypeOf ||
|
|
22260
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
22261
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
22262
|
-
return extendStatics(d, b);
|
|
22263
|
-
};
|
|
22264
|
-
return function (d, b) {
|
|
22265
|
-
extendStatics(d, b);
|
|
22266
|
-
function __() { this.constructor = d; }
|
|
22267
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
22268
|
-
};
|
|
22269
|
-
})();
|
|
22302
|
+
var __extends$20 = (undefined && undefined.__extends) || (function () {
|
|
22303
|
+
var extendStatics = function (d, b) {
|
|
22304
|
+
extendStatics = Object.setPrototypeOf ||
|
|
22305
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
22306
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
22307
|
+
return extendStatics(d, b);
|
|
22308
|
+
};
|
|
22309
|
+
return function (d, b) {
|
|
22310
|
+
extendStatics(d, b);
|
|
22311
|
+
function __() { this.constructor = d; }
|
|
22312
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
22313
|
+
};
|
|
22314
|
+
})();
|
|
22270
22315
|
/**
|
|
22271
22316
|
* @hidden
|
|
22272
22317
|
* `ExcelFilter` module is used to handle filtering action.
|
|
22273
22318
|
*/
|
|
22274
|
-
var ExcelFilter = /** @
|
|
22319
|
+
var ExcelFilter = /** @class */ (function (_super) {
|
|
22275
22320
|
__extends$20(ExcelFilter, _super);
|
|
22276
22321
|
/**
|
|
22277
22322
|
* Constructor for excelbox filtering module
|
|
@@ -22326,7 +22371,7 @@ var ExcelFilter = /** @__PURE__ @class */ (function (_super) {
|
|
|
22326
22371
|
*
|
|
22327
22372
|
* The `Filter` module is used to handle filtering action.
|
|
22328
22373
|
*/
|
|
22329
|
-
var Filter = /** @
|
|
22374
|
+
var Filter = /** @class */ (function () {
|
|
22330
22375
|
/**
|
|
22331
22376
|
* Constructor for Grid filtering module
|
|
22332
22377
|
* @hidden
|
|
@@ -23427,7 +23472,7 @@ var resizeClassList = {
|
|
|
23427
23472
|
* @hidden
|
|
23428
23473
|
* @private
|
|
23429
23474
|
*/
|
|
23430
|
-
var Resize = /** @
|
|
23475
|
+
var Resize = /** @class */ (function () {
|
|
23431
23476
|
/**
|
|
23432
23477
|
* Constructor for the Grid resize module
|
|
23433
23478
|
* @hidden
|
|
@@ -24096,9 +24141,12 @@ var Resize = /** @__PURE__ @class */ (function () {
|
|
|
24096
24141
|
};
|
|
24097
24142
|
};
|
|
24098
24143
|
Resize.prototype.doubleTapEvent = function (e) {
|
|
24144
|
+
var _this = this;
|
|
24099
24145
|
if (this.getUserAgent() && this.isDblClk) {
|
|
24100
24146
|
if (!this.tapped) {
|
|
24101
|
-
this.tapped = setTimeout(
|
|
24147
|
+
this.tapped = setTimeout(function () {
|
|
24148
|
+
_this.tapped = null;
|
|
24149
|
+
}, 300);
|
|
24102
24150
|
}
|
|
24103
24151
|
else {
|
|
24104
24152
|
clearTimeout(this.tapped);
|
|
@@ -24121,7 +24169,7 @@ var Resize = /** @__PURE__ @class */ (function () {
|
|
|
24121
24169
|
*
|
|
24122
24170
|
* The `Reorder` module is used for reordering columns.
|
|
24123
24171
|
*/
|
|
24124
|
-
var Reorder = /** @
|
|
24172
|
+
var Reorder = /** @class */ (function () {
|
|
24125
24173
|
/**
|
|
24126
24174
|
* Constructor for the Grid reorder module
|
|
24127
24175
|
* @hidden
|
|
@@ -24655,7 +24703,7 @@ var Reorder = /** @__PURE__ @class */ (function () {
|
|
|
24655
24703
|
* Reorder module is used to handle row reordering.
|
|
24656
24704
|
* @hidden
|
|
24657
24705
|
*/
|
|
24658
|
-
var RowDD = /** @
|
|
24706
|
+
var RowDD = /** @class */ (function () {
|
|
24659
24707
|
/**
|
|
24660
24708
|
* Constructor for the Grid print module
|
|
24661
24709
|
* @hidden
|
|
@@ -25097,7 +25145,7 @@ var RowDD = /** @__PURE__ @class */ (function () {
|
|
|
25097
25145
|
RowDD.prototype.removeFirstRowBorder = function (element) {
|
|
25098
25146
|
if (this.parent.element.getElementsByClassName('e-firstrow-dragborder').length > 0 && element &&
|
|
25099
25147
|
element.rowIndex !== 0) {
|
|
25100
|
-
this.parent.element.getElementsByClassName('e-firstrow-dragborder')[0]
|
|
25148
|
+
remove(this.parent.element.getElementsByClassName('e-firstrow-dragborder')[0]);
|
|
25101
25149
|
}
|
|
25102
25150
|
};
|
|
25103
25151
|
RowDD.prototype.removeLastRowBorder = function (element) {
|
|
@@ -25105,7 +25153,7 @@ var RowDD = /** @__PURE__ @class */ (function () {
|
|
|
25105
25153
|
this.parent.getRowByIndex(this.parent.getCurrentViewRecords().length - 1).getAttribute('data-uid') !==
|
|
25106
25154
|
element.getAttribute('data-uid');
|
|
25107
25155
|
if (this.parent.element.getElementsByClassName('e-lastrow-dragborder').length > 0 && element && islastRowIndex) {
|
|
25108
|
-
this.parent.element.getElementsByClassName('e-lastrow-dragborder')[0]
|
|
25156
|
+
remove(this.parent.element.getElementsByClassName('e-lastrow-dragborder')[0]);
|
|
25109
25157
|
}
|
|
25110
25158
|
};
|
|
25111
25159
|
RowDD.prototype.removeBorder = function (element) {
|
|
@@ -25308,7 +25356,7 @@ var RowDD = /** @__PURE__ @class */ (function () {
|
|
|
25308
25356
|
*
|
|
25309
25357
|
* The `Group` module is used to handle group action.
|
|
25310
25358
|
*/
|
|
25311
|
-
var Group = /** @
|
|
25359
|
+
var Group = /** @class */ (function () {
|
|
25312
25360
|
/**
|
|
25313
25361
|
* Constructor for Grid group module
|
|
25314
25362
|
* @hidden
|
|
@@ -26142,7 +26190,7 @@ var Group = /** @__PURE__ @class */ (function () {
|
|
|
26142
26190
|
};
|
|
26143
26191
|
}
|
|
26144
26192
|
else {
|
|
26145
|
-
args = { requestType: 'ungrouping', type: actionBegin };
|
|
26193
|
+
args = { columnName: this.colName, requestType: 'ungrouping', type: actionBegin };
|
|
26146
26194
|
}
|
|
26147
26195
|
if (!this.groupSettings.showGroupedColumn) {
|
|
26148
26196
|
var columns = e.oldProperties[prop];
|
|
@@ -26387,7 +26435,7 @@ var Group = /** @__PURE__ @class */ (function () {
|
|
|
26387
26435
|
/**
|
|
26388
26436
|
* The `DetailRow` module is used to handle detail template and hierarchy Grid operations.
|
|
26389
26437
|
*/
|
|
26390
|
-
var DetailRow = /** @
|
|
26438
|
+
var DetailRow = /** @class */ (function () {
|
|
26391
26439
|
/**
|
|
26392
26440
|
* Constructor for the Grid detail template module
|
|
26393
26441
|
* @hidden
|
|
@@ -26697,7 +26745,7 @@ var DetailRow = /** @__PURE__ @class */ (function () {
|
|
|
26697
26745
|
* The `Toolbar` module is used to handle ToolBar actions.
|
|
26698
26746
|
* @hidden
|
|
26699
26747
|
*/
|
|
26700
|
-
var Toolbar$1 = /** @
|
|
26748
|
+
var Toolbar$1 = /** @class */ (function () {
|
|
26701
26749
|
function Toolbar$$1(parent, serviceLocator) {
|
|
26702
26750
|
this.predefinedItems = {};
|
|
26703
26751
|
this.items = ['Add', 'Edit', 'Update', 'Delete', 'Cancel', 'Print', 'Search',
|
|
@@ -26762,7 +26810,7 @@ var Toolbar$1 = /** @__PURE__ @class */ (function () {
|
|
|
26762
26810
|
}
|
|
26763
26811
|
};
|
|
26764
26812
|
Toolbar$$1.prototype.bindSearchEvents = function () {
|
|
26765
|
-
this.searchElement =
|
|
26813
|
+
this.searchElement = select('#' + this.gridID + '_searchbar', this.element);
|
|
26766
26814
|
this.wireEvent();
|
|
26767
26815
|
this.refreshToolbarItems();
|
|
26768
26816
|
if (this.parent.searchSettings) {
|
|
@@ -26771,11 +26819,11 @@ var Toolbar$1 = /** @__PURE__ @class */ (function () {
|
|
|
26771
26819
|
};
|
|
26772
26820
|
Toolbar$$1.prototype.toolbarCreated = function () {
|
|
26773
26821
|
if (this.element.querySelector('.e-search-wrapper')) {
|
|
26774
|
-
this.element.querySelector('.e-search-wrapper').innerHTML = '<div class="e-input-group e-search" role="search">\
|
|
26775
|
-
<input id="' + this.gridID + '_searchbar" class="e-input" name="input" type="search" \
|
|
26776
|
-
placeholder= \"' + this.l10n.getConstant('Search') + '\"/>\
|
|
26777
|
-
<span id="' + this.gridID + '_searchbutton" class="e-input-group-icon e-search-icon e-icons" \
|
|
26778
|
-
tabindex="-1" title="' + this.l10n.getConstant('Search') + '" aria-label= "search"></span> \
|
|
26822
|
+
this.element.querySelector('.e-search-wrapper').innerHTML = '<div class="e-input-group e-search" role="search">\
|
|
26823
|
+
<input id="' + this.gridID + '_searchbar" class="e-input" name="input" type="search" \
|
|
26824
|
+
placeholder= \"' + this.l10n.getConstant('Search') + '\"/>\
|
|
26825
|
+
<span id="' + this.gridID + '_searchbutton" class="e-input-group-icon e-search-icon e-icons" \
|
|
26826
|
+
tabindex="-1" title="' + this.l10n.getConstant('Search') + '" aria-label= "search"></span> \
|
|
26779
26827
|
</div>';
|
|
26780
26828
|
}
|
|
26781
26829
|
this.bindSearchEvents();
|
|
@@ -26908,7 +26956,7 @@ var Toolbar$1 = /** @__PURE__ @class */ (function () {
|
|
|
26908
26956
|
Toolbar$$1.prototype.enableItems = function (items, isEnable) {
|
|
26909
26957
|
for (var _i = 0, items_2 = items; _i < items_2.length; _i++) {
|
|
26910
26958
|
var item = items_2[_i];
|
|
26911
|
-
var element =
|
|
26959
|
+
var element = select('#' + item, this.element);
|
|
26912
26960
|
if (element) {
|
|
26913
26961
|
this.toolbar.enableItems(element.parentElement, isEnable);
|
|
26914
26962
|
}
|
|
@@ -27044,24 +27092,24 @@ var Toolbar$1 = /** @__PURE__ @class */ (function () {
|
|
|
27044
27092
|
return Toolbar$$1;
|
|
27045
27093
|
}());
|
|
27046
27094
|
|
|
27047
|
-
var __extends$21 = (undefined && undefined.__extends) || (function () {
|
|
27048
|
-
var extendStatics = function (d, b) {
|
|
27049
|
-
extendStatics = Object.setPrototypeOf ||
|
|
27050
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
27051
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
27052
|
-
return extendStatics(d, b);
|
|
27053
|
-
};
|
|
27054
|
-
return function (d, b) {
|
|
27055
|
-
extendStatics(d, b);
|
|
27056
|
-
function __() { this.constructor = d; }
|
|
27057
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27058
|
-
};
|
|
27059
|
-
})();
|
|
27095
|
+
var __extends$21 = (undefined && undefined.__extends) || (function () {
|
|
27096
|
+
var extendStatics = function (d, b) {
|
|
27097
|
+
extendStatics = Object.setPrototypeOf ||
|
|
27098
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
27099
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
27100
|
+
return extendStatics(d, b);
|
|
27101
|
+
};
|
|
27102
|
+
return function (d, b) {
|
|
27103
|
+
extendStatics(d, b);
|
|
27104
|
+
function __() { this.constructor = d; }
|
|
27105
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27106
|
+
};
|
|
27107
|
+
})();
|
|
27060
27108
|
/**
|
|
27061
27109
|
* Footer module is used to render grid content
|
|
27062
27110
|
* @hidden
|
|
27063
27111
|
*/
|
|
27064
|
-
var FooterRenderer = /** @
|
|
27112
|
+
var FooterRenderer = /** @class */ (function (_super) {
|
|
27065
27113
|
__extends$21(FooterRenderer, _super);
|
|
27066
27114
|
function FooterRenderer(gridModule, serviceLocator) {
|
|
27067
27115
|
var _this = _super.call(this, gridModule, serviceLocator) || this;
|
|
@@ -27333,24 +27381,24 @@ var FooterRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
27333
27381
|
return FooterRenderer;
|
|
27334
27382
|
}(ContentRender));
|
|
27335
27383
|
|
|
27336
|
-
var __extends$22 = (undefined && undefined.__extends) || (function () {
|
|
27337
|
-
var extendStatics = function (d, b) {
|
|
27338
|
-
extendStatics = Object.setPrototypeOf ||
|
|
27339
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
27340
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
27341
|
-
return extendStatics(d, b);
|
|
27342
|
-
};
|
|
27343
|
-
return function (d, b) {
|
|
27344
|
-
extendStatics(d, b);
|
|
27345
|
-
function __() { this.constructor = d; }
|
|
27346
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27347
|
-
};
|
|
27348
|
-
})();
|
|
27384
|
+
var __extends$22 = (undefined && undefined.__extends) || (function () {
|
|
27385
|
+
var extendStatics = function (d, b) {
|
|
27386
|
+
extendStatics = Object.setPrototypeOf ||
|
|
27387
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
27388
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
27389
|
+
return extendStatics(d, b);
|
|
27390
|
+
};
|
|
27391
|
+
return function (d, b) {
|
|
27392
|
+
extendStatics(d, b);
|
|
27393
|
+
function __() { this.constructor = d; }
|
|
27394
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27395
|
+
};
|
|
27396
|
+
})();
|
|
27349
27397
|
/**
|
|
27350
27398
|
* SummaryCellRenderer class which responsible for building summary cell content.
|
|
27351
27399
|
* @hidden
|
|
27352
27400
|
*/
|
|
27353
|
-
var SummaryCellRenderer = /** @
|
|
27401
|
+
var SummaryCellRenderer = /** @class */ (function (_super) {
|
|
27354
27402
|
__extends$22(SummaryCellRenderer, _super);
|
|
27355
27403
|
function SummaryCellRenderer() {
|
|
27356
27404
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -27419,7 +27467,7 @@ var SummaryCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
27419
27467
|
/**
|
|
27420
27468
|
* Summary Action controller.
|
|
27421
27469
|
*/
|
|
27422
|
-
var Aggregate = /** @
|
|
27470
|
+
var Aggregate = /** @class */ (function () {
|
|
27423
27471
|
function Aggregate(parent, locator) {
|
|
27424
27472
|
this.parent = parent;
|
|
27425
27473
|
this.locator = locator;
|
|
@@ -27546,7 +27594,7 @@ function summaryIterator(aggregates, callback) {
|
|
|
27546
27594
|
* InterSectionObserver - class watch whether it enters the viewport.
|
|
27547
27595
|
* @hidden
|
|
27548
27596
|
*/
|
|
27549
|
-
var InterSectionObserver = /** @
|
|
27597
|
+
var InterSectionObserver = /** @class */ (function () {
|
|
27550
27598
|
function InterSectionObserver(element, options) {
|
|
27551
27599
|
var _this = this;
|
|
27552
27600
|
this.fromWheel = false;
|
|
@@ -27640,7 +27688,7 @@ var InterSectionObserver = /** @__PURE__ @class */ (function () {
|
|
|
27640
27688
|
/**
|
|
27641
27689
|
* Content module is used to render grid content
|
|
27642
27690
|
*/
|
|
27643
|
-
var VirtualRowModelGenerator = /** @
|
|
27691
|
+
var VirtualRowModelGenerator = /** @class */ (function () {
|
|
27644
27692
|
function VirtualRowModelGenerator(parent) {
|
|
27645
27693
|
this.cOffsets = {};
|
|
27646
27694
|
this.cache = {};
|
|
@@ -27903,24 +27951,24 @@ var VirtualRowModelGenerator = /** @__PURE__ @class */ (function () {
|
|
|
27903
27951
|
return VirtualRowModelGenerator;
|
|
27904
27952
|
}());
|
|
27905
27953
|
|
|
27906
|
-
var __extends$23 = (undefined && undefined.__extends) || (function () {
|
|
27907
|
-
var extendStatics = function (d, b) {
|
|
27908
|
-
extendStatics = Object.setPrototypeOf ||
|
|
27909
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
27910
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
27911
|
-
return extendStatics(d, b);
|
|
27912
|
-
};
|
|
27913
|
-
return function (d, b) {
|
|
27914
|
-
extendStatics(d, b);
|
|
27915
|
-
function __() { this.constructor = d; }
|
|
27916
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27917
|
-
};
|
|
27918
|
-
})();
|
|
27954
|
+
var __extends$23 = (undefined && undefined.__extends) || (function () {
|
|
27955
|
+
var extendStatics = function (d, b) {
|
|
27956
|
+
extendStatics = Object.setPrototypeOf ||
|
|
27957
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
27958
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
27959
|
+
return extendStatics(d, b);
|
|
27960
|
+
};
|
|
27961
|
+
return function (d, b) {
|
|
27962
|
+
extendStatics(d, b);
|
|
27963
|
+
function __() { this.constructor = d; }
|
|
27964
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27965
|
+
};
|
|
27966
|
+
})();
|
|
27919
27967
|
/**
|
|
27920
27968
|
* VirtualContentRenderer
|
|
27921
27969
|
* @hidden
|
|
27922
27970
|
*/
|
|
27923
|
-
var VirtualContentRenderer = /** @
|
|
27971
|
+
var VirtualContentRenderer = /** @class */ (function (_super) {
|
|
27924
27972
|
__extends$23(VirtualContentRenderer, _super);
|
|
27925
27973
|
function VirtualContentRenderer(parent, locator) {
|
|
27926
27974
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -28959,7 +29007,7 @@ var VirtualContentRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
28959
29007
|
/**
|
|
28960
29008
|
* @hidden
|
|
28961
29009
|
*/
|
|
28962
|
-
var VirtualHeaderRenderer = /** @
|
|
29010
|
+
var VirtualHeaderRenderer = /** @class */ (function (_super) {
|
|
28963
29011
|
__extends$23(VirtualHeaderRenderer, _super);
|
|
28964
29012
|
function VirtualHeaderRenderer(parent, locator) {
|
|
28965
29013
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -29085,7 +29133,7 @@ var VirtualHeaderRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
29085
29133
|
/**
|
|
29086
29134
|
* @hidden
|
|
29087
29135
|
*/
|
|
29088
|
-
var VirtualElementHandler = /** @
|
|
29136
|
+
var VirtualElementHandler = /** @class */ (function () {
|
|
29089
29137
|
function VirtualElementHandler() {
|
|
29090
29138
|
}
|
|
29091
29139
|
VirtualElementHandler.prototype.renderWrapper = function (height) {
|
|
@@ -29131,7 +29179,7 @@ var VirtualElementHandler = /** @__PURE__ @class */ (function () {
|
|
|
29131
29179
|
/**
|
|
29132
29180
|
* Virtual Scrolling class
|
|
29133
29181
|
*/
|
|
29134
|
-
var VirtualScroll = /** @
|
|
29182
|
+
var VirtualScroll = /** @class */ (function () {
|
|
29135
29183
|
function VirtualScroll(parent, locator) {
|
|
29136
29184
|
this.parent = parent;
|
|
29137
29185
|
this.locator = locator;
|
|
@@ -29193,7 +29241,7 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
29193
29241
|
* Edit render module is used to render grid edit row.
|
|
29194
29242
|
* @hidden
|
|
29195
29243
|
*/
|
|
29196
|
-
var InlineEditRender = /** @
|
|
29244
|
+
var InlineEditRender = /** @class */ (function () {
|
|
29197
29245
|
/**
|
|
29198
29246
|
* Constructor for render module
|
|
29199
29247
|
*/
|
|
@@ -29487,7 +29535,7 @@ var InlineEditRender = /** @__PURE__ @class */ (function () {
|
|
|
29487
29535
|
* Edit render module is used to render grid edit row.
|
|
29488
29536
|
* @hidden
|
|
29489
29537
|
*/
|
|
29490
|
-
var BatchEditRender = /** @
|
|
29538
|
+
var BatchEditRender = /** @class */ (function () {
|
|
29491
29539
|
/**
|
|
29492
29540
|
* Constructor for render module
|
|
29493
29541
|
*/
|
|
@@ -29534,7 +29582,7 @@ var BatchEditRender = /** @__PURE__ @class */ (function () {
|
|
|
29534
29582
|
* Edit render module is used to render grid edit row.
|
|
29535
29583
|
* @hidden
|
|
29536
29584
|
*/
|
|
29537
|
-
var DialogEditRender = /** @
|
|
29585
|
+
var DialogEditRender = /** @class */ (function () {
|
|
29538
29586
|
/**
|
|
29539
29587
|
* Constructor for render module
|
|
29540
29588
|
*/
|
|
@@ -29665,7 +29713,8 @@ var DialogEditRender = /** @__PURE__ @class */ (function () {
|
|
|
29665
29713
|
var tbody = this.parent.createElement('tbody');
|
|
29666
29714
|
var cols = gObj.getColumns();
|
|
29667
29715
|
for (var i = 0; i < cols.length; i++) {
|
|
29668
|
-
if (this.parent.editModule.checkColumnIsGrouped(cols[i]) || cols[i].commands || cols[i].commandsTemplate
|
|
29716
|
+
if (this.parent.editModule.checkColumnIsGrouped(cols[i]) || cols[i].commands || cols[i].commandsTemplate ||
|
|
29717
|
+
cols[i].type === 'checkbox') {
|
|
29669
29718
|
continue;
|
|
29670
29719
|
}
|
|
29671
29720
|
var tr = this.parent.createElement('tr');
|
|
@@ -29699,7 +29748,7 @@ var DialogEditRender = /** @__PURE__ @class */ (function () {
|
|
|
29699
29748
|
* Edit render module is used to render grid edit row.
|
|
29700
29749
|
* @hidden
|
|
29701
29750
|
*/
|
|
29702
|
-
var EditRender = /** @
|
|
29751
|
+
var EditRender = /** @class */ (function () {
|
|
29703
29752
|
/**
|
|
29704
29753
|
* Constructor for render module
|
|
29705
29754
|
*/
|
|
@@ -29731,7 +29780,7 @@ var EditRender = /** @__PURE__ @class */ (function () {
|
|
|
29731
29780
|
var fForm;
|
|
29732
29781
|
var frzCols = gObj.getFrozenColumns();
|
|
29733
29782
|
var form = gObj.editSettings.mode === 'Dialog' ?
|
|
29734
|
-
|
|
29783
|
+
select('#' + gObj.element.id + '_dialogEdit_wrapper .e-gridform', document) :
|
|
29735
29784
|
gObj.element.querySelector('.e-gridform');
|
|
29736
29785
|
if (frzCols && gObj.editSettings.mode === 'Normal') {
|
|
29737
29786
|
var rowIndex = parseInt(args.row.getAttribute('aria-rowindex'), 10);
|
|
@@ -29922,7 +29971,7 @@ var EditRender = /** @__PURE__ @class */ (function () {
|
|
|
29922
29971
|
* `BooleanEditCell` is used to handle boolean cell type editing.
|
|
29923
29972
|
* @hidden
|
|
29924
29973
|
*/
|
|
29925
|
-
var BooleanEditCell = /** @
|
|
29974
|
+
var BooleanEditCell = /** @class */ (function () {
|
|
29926
29975
|
function BooleanEditCell(parent) {
|
|
29927
29976
|
this.activeClasses = ['e-selectionbackground', 'e-active'];
|
|
29928
29977
|
this.parent = parent;
|
|
@@ -30000,7 +30049,7 @@ var BooleanEditCell = /** @__PURE__ @class */ (function () {
|
|
|
30000
30049
|
* `DropDownEditCell` is used to handle dropdown cell type editing.
|
|
30001
30050
|
* @hidden
|
|
30002
30051
|
*/
|
|
30003
|
-
var DropDownEditCell = /** @
|
|
30052
|
+
var DropDownEditCell = /** @class */ (function () {
|
|
30004
30053
|
function DropDownEditCell(parent) {
|
|
30005
30054
|
//constructor
|
|
30006
30055
|
this.parent = parent;
|
|
@@ -30061,7 +30110,7 @@ var DropDownEditCell = /** @__PURE__ @class */ (function () {
|
|
|
30061
30110
|
DropDownEditCell.prototype.dropDownOpen = function (args) {
|
|
30062
30111
|
var dlgElement = parentsUntil(this.obj.element, 'e-dialog');
|
|
30063
30112
|
if (this.parent.editSettings.mode === 'Dialog' && !isNullOrUndefined(dlgElement)) {
|
|
30064
|
-
var dlgObj =
|
|
30113
|
+
var dlgObj = select('#' + dlgElement.id, document).ej2_instances[0];
|
|
30065
30114
|
args.popup.element.style.zIndex = (dlgObj.zIndex + 1).toString();
|
|
30066
30115
|
}
|
|
30067
30116
|
};
|
|
@@ -30077,7 +30126,7 @@ var DropDownEditCell = /** @__PURE__ @class */ (function () {
|
|
|
30077
30126
|
* `NumericEditCell` is used to handle numeric cell type editing.
|
|
30078
30127
|
* @hidden
|
|
30079
30128
|
*/
|
|
30080
|
-
var NumericEditCell = /** @
|
|
30129
|
+
var NumericEditCell = /** @class */ (function () {
|
|
30081
30130
|
function NumericEditCell(parent) {
|
|
30082
30131
|
this.parent = parent;
|
|
30083
30132
|
}
|
|
@@ -30130,7 +30179,7 @@ var NumericEditCell = /** @__PURE__ @class */ (function () {
|
|
|
30130
30179
|
* `DefaultEditCell` is used to handle default cell type editing.
|
|
30131
30180
|
* @hidden
|
|
30132
30181
|
*/
|
|
30133
|
-
var DefaultEditCell = /** @
|
|
30182
|
+
var DefaultEditCell = /** @class */ (function () {
|
|
30134
30183
|
function DefaultEditCell(parent) {
|
|
30135
30184
|
this.parent = parent;
|
|
30136
30185
|
}
|
|
@@ -30170,7 +30219,7 @@ var DefaultEditCell = /** @__PURE__ @class */ (function () {
|
|
|
30170
30219
|
* `NormalEdit` module is used to handle normal('inline, dialog, external') editing actions.
|
|
30171
30220
|
* @hidden
|
|
30172
30221
|
*/
|
|
30173
|
-
var NormalEdit = /** @
|
|
30222
|
+
var NormalEdit = /** @class */ (function () {
|
|
30174
30223
|
function NormalEdit(parent, serviceLocator, renderer) {
|
|
30175
30224
|
this.args = {};
|
|
30176
30225
|
this.currentVirtualData = {};
|
|
@@ -30363,7 +30412,7 @@ var NormalEdit = /** @__PURE__ @class */ (function () {
|
|
|
30363
30412
|
previousData: this.previousData, selectedRow: gObj.selectedRowIndex, foreignKeyData: {}
|
|
30364
30413
|
});
|
|
30365
30414
|
var isDlg = gObj.editSettings.mode === 'Dialog';
|
|
30366
|
-
var dlgWrapper =
|
|
30415
|
+
var dlgWrapper = select('#' + gObj.element.id + '_dialogEdit_wrapper', document);
|
|
30367
30416
|
var dlgForm = isDlg ? dlgWrapper.querySelector('.e-gridform') : gObj.element.querySelector('.e-gridform');
|
|
30368
30417
|
var data = { virtualData: {}, isAdd: false };
|
|
30369
30418
|
this.parent.notify(getVirtualData, data);
|
|
@@ -30498,7 +30547,7 @@ var NormalEdit = /** @__PURE__ @class */ (function () {
|
|
|
30498
30547
|
this.parent.notify(toolbarRefresh, {});
|
|
30499
30548
|
}
|
|
30500
30549
|
if (!(this.parent.isCheckBoxSelection || this.parent.selectionSettings.type === 'Multiple')
|
|
30501
|
-
|| (!this.parent.isPersistSelection)) {
|
|
30550
|
+
|| (!this.parent.isPersistSelection) && !this.parent.selectionSettings.checkboxOnly) {
|
|
30502
30551
|
if (this.parent.editSettings.mode !== 'Dialog') {
|
|
30503
30552
|
if (isBlazor() && this.parent.isServerRendered) {
|
|
30504
30553
|
var rowIndex = 'editRowIndex';
|
|
@@ -30799,24 +30848,24 @@ var NormalEdit = /** @__PURE__ @class */ (function () {
|
|
|
30799
30848
|
return NormalEdit;
|
|
30800
30849
|
}());
|
|
30801
30850
|
|
|
30802
|
-
var __extends$24 = (undefined && undefined.__extends) || (function () {
|
|
30803
|
-
var extendStatics = function (d, b) {
|
|
30804
|
-
extendStatics = Object.setPrototypeOf ||
|
|
30805
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
30806
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
30807
|
-
return extendStatics(d, b);
|
|
30808
|
-
};
|
|
30809
|
-
return function (d, b) {
|
|
30810
|
-
extendStatics(d, b);
|
|
30811
|
-
function __() { this.constructor = d; }
|
|
30812
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
30813
|
-
};
|
|
30814
|
-
})();
|
|
30851
|
+
var __extends$24 = (undefined && undefined.__extends) || (function () {
|
|
30852
|
+
var extendStatics = function (d, b) {
|
|
30853
|
+
extendStatics = Object.setPrototypeOf ||
|
|
30854
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
30855
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
30856
|
+
return extendStatics(d, b);
|
|
30857
|
+
};
|
|
30858
|
+
return function (d, b) {
|
|
30859
|
+
extendStatics(d, b);
|
|
30860
|
+
function __() { this.constructor = d; }
|
|
30861
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
30862
|
+
};
|
|
30863
|
+
})();
|
|
30815
30864
|
/**
|
|
30816
30865
|
* `InlineEdit` module is used to handle inline editing actions.
|
|
30817
30866
|
* @hidden
|
|
30818
30867
|
*/
|
|
30819
|
-
var InlineEdit = /** @
|
|
30868
|
+
var InlineEdit = /** @class */ (function (_super) {
|
|
30820
30869
|
__extends$24(InlineEdit, _super);
|
|
30821
30870
|
function InlineEdit(parent, serviceLocator, renderer) {
|
|
30822
30871
|
var _this = _super.call(this, parent, serviceLocator) || this;
|
|
@@ -30850,7 +30899,7 @@ var InlineEdit = /** @__PURE__ @class */ (function (_super) {
|
|
|
30850
30899
|
* `BatchEdit` module is used to handle batch editing actions.
|
|
30851
30900
|
* @hidden
|
|
30852
30901
|
*/
|
|
30853
|
-
var BatchEdit = /** @
|
|
30902
|
+
var BatchEdit = /** @class */ (function () {
|
|
30854
30903
|
function BatchEdit(parent, serviceLocator, renderer) {
|
|
30855
30904
|
this.cellDetails = {};
|
|
30856
30905
|
this.originalCell = {};
|
|
@@ -31702,7 +31751,7 @@ var BatchEdit = /** @__PURE__ @class */ (function () {
|
|
|
31702
31751
|
}
|
|
31703
31752
|
_this.renderer.update(cellEditArgs);
|
|
31704
31753
|
_this.parent.notify(batchEditFormRendered, cellEditArgs);
|
|
31705
|
-
_this.form =
|
|
31754
|
+
_this.form = select('#' + gObj.element.id + 'EditForm', gObj.element);
|
|
31706
31755
|
gObj.editModule.applyFormValidation([col]);
|
|
31707
31756
|
_this.parent.element.querySelector('.e-gridpopup').style.display = 'none';
|
|
31708
31757
|
});
|
|
@@ -32046,24 +32095,24 @@ var BatchEdit = /** @__PURE__ @class */ (function () {
|
|
|
32046
32095
|
return BatchEdit;
|
|
32047
32096
|
}());
|
|
32048
32097
|
|
|
32049
|
-
var __extends$25 = (undefined && undefined.__extends) || (function () {
|
|
32050
|
-
var extendStatics = function (d, b) {
|
|
32051
|
-
extendStatics = Object.setPrototypeOf ||
|
|
32052
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
32053
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
32054
|
-
return extendStatics(d, b);
|
|
32055
|
-
};
|
|
32056
|
-
return function (d, b) {
|
|
32057
|
-
extendStatics(d, b);
|
|
32058
|
-
function __() { this.constructor = d; }
|
|
32059
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
32060
|
-
};
|
|
32061
|
-
})();
|
|
32098
|
+
var __extends$25 = (undefined && undefined.__extends) || (function () {
|
|
32099
|
+
var extendStatics = function (d, b) {
|
|
32100
|
+
extendStatics = Object.setPrototypeOf ||
|
|
32101
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
32102
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
32103
|
+
return extendStatics(d, b);
|
|
32104
|
+
};
|
|
32105
|
+
return function (d, b) {
|
|
32106
|
+
extendStatics(d, b);
|
|
32107
|
+
function __() { this.constructor = d; }
|
|
32108
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
32109
|
+
};
|
|
32110
|
+
})();
|
|
32062
32111
|
/**
|
|
32063
32112
|
* `DialogEdit` module is used to handle dialog editing actions.
|
|
32064
32113
|
* @hidden
|
|
32065
32114
|
*/
|
|
32066
|
-
var DialogEdit = /** @
|
|
32115
|
+
var DialogEdit = /** @class */ (function (_super) {
|
|
32067
32116
|
__extends$25(DialogEdit, _super);
|
|
32068
32117
|
function DialogEdit(parent, serviceLocator, renderer) {
|
|
32069
32118
|
var _this =
|
|
@@ -32103,7 +32152,7 @@ var DialogEdit = /** @__PURE__ @class */ (function (_super) {
|
|
|
32103
32152
|
* `DatePickerEditCell` is used to handle datepicker cell type editing.
|
|
32104
32153
|
* @hidden
|
|
32105
32154
|
*/
|
|
32106
|
-
var DatePickerEditCell = /** @
|
|
32155
|
+
var DatePickerEditCell = /** @class */ (function () {
|
|
32107
32156
|
function DatePickerEditCell(parent) {
|
|
32108
32157
|
this.parent = parent;
|
|
32109
32158
|
}
|
|
@@ -32158,7 +32207,7 @@ function dateanddatetimerender(args, mode, rtl) {
|
|
|
32158
32207
|
* `TemplateEditCell` is used to handle template cell.
|
|
32159
32208
|
* @hidden
|
|
32160
32209
|
*/
|
|
32161
|
-
var TemplateEditCell = /** @
|
|
32210
|
+
var TemplateEditCell = /** @class */ (function () {
|
|
32162
32211
|
function TemplateEditCell(parent) {
|
|
32163
32212
|
this.parent = parent;
|
|
32164
32213
|
}
|
|
@@ -32177,7 +32226,7 @@ var TemplateEditCell = /** @__PURE__ @class */ (function () {
|
|
|
32177
32226
|
/**
|
|
32178
32227
|
* The `Edit` module is used to handle editing actions.
|
|
32179
32228
|
*/
|
|
32180
|
-
var Edit = /** @
|
|
32229
|
+
var Edit = /** @class */ (function () {
|
|
32181
32230
|
/**
|
|
32182
32231
|
* Constructor for the Grid editing module
|
|
32183
32232
|
* @hidden
|
|
@@ -32865,7 +32914,7 @@ var Edit = /** @__PURE__ @class */ (function () {
|
|
|
32865
32914
|
var frzCols = gObj.getFrozenColumns();
|
|
32866
32915
|
var form = this.parent.editSettings.mode !== 'Dialog' ?
|
|
32867
32916
|
gObj.element.querySelector('.e-gridform') :
|
|
32868
|
-
|
|
32917
|
+
select('#' + gObj.element.id + '_dialogEdit_wrapper .e-gridform', document);
|
|
32869
32918
|
var mForm = gObj.element.querySelectorAll('.e-gridform')[1];
|
|
32870
32919
|
var rules = {};
|
|
32871
32920
|
var mRules = {};
|
|
@@ -32937,7 +32986,7 @@ var Edit = /** @__PURE__ @class */ (function () {
|
|
|
32937
32986
|
> (parseInt(closest(inputElement, '.e-row').getAttribute('aria-rowindex'), 10) || 0));
|
|
32938
32987
|
}
|
|
32939
32988
|
return this.parent.editSettings.mode !== 'Dialog' ? isFHdr ? this.parent.getHeaderTable() : this.parent.getContentTable() :
|
|
32940
|
-
|
|
32989
|
+
select('#' + this.parent.element.id + '_dialogEdit_wrapper', document);
|
|
32941
32990
|
};
|
|
32942
32991
|
Edit.prototype.validationComplete = function (args) {
|
|
32943
32992
|
if (this.parent.isEdit) {
|
|
@@ -32993,7 +33042,7 @@ var Edit = /** @__PURE__ @class */ (function () {
|
|
|
32993
33042
|
}
|
|
32994
33043
|
var table = isInline ?
|
|
32995
33044
|
(isFHdr ? this.parent.getHeaderTable() : this.parent.getContentTable()) :
|
|
32996
|
-
|
|
33045
|
+
select('#' + this.parent.element.id + '_dialogEdit_wrapper .e-dlg-content', document);
|
|
32997
33046
|
var client = table.getBoundingClientRect();
|
|
32998
33047
|
var left = isInline ?
|
|
32999
33048
|
this.parent.element.getBoundingClientRect().left : client.left;
|
|
@@ -33107,7 +33156,7 @@ var Edit = /** @__PURE__ @class */ (function () {
|
|
|
33107
33156
|
/**
|
|
33108
33157
|
* The `ColumnChooser` module is used to show or hide columns dynamically.
|
|
33109
33158
|
*/
|
|
33110
|
-
var ColumnChooser = /** @
|
|
33159
|
+
var ColumnChooser = /** @class */ (function () {
|
|
33111
33160
|
/**
|
|
33112
33161
|
* Constructor for the Grid ColumnChooser module
|
|
33113
33162
|
* @hidden
|
|
@@ -33487,8 +33536,8 @@ var ColumnChooser = /** @__PURE__ @class */ (function () {
|
|
|
33487
33536
|
this.clearActions();
|
|
33488
33537
|
this.parent.notify(columnChooserCancelBtnClick, { dialog: this.dlgObj });
|
|
33489
33538
|
};
|
|
33490
|
-
ColumnChooser.prototype.checkstatecolumn = function (isChecked, coluid, selectAll) {
|
|
33491
|
-
if (selectAll === void 0) { selectAll = false; }
|
|
33539
|
+
ColumnChooser.prototype.checkstatecolumn = function (isChecked, coluid, selectAll$$1) {
|
|
33540
|
+
if (selectAll$$1 === void 0) { selectAll$$1 = false; }
|
|
33492
33541
|
if (isChecked) {
|
|
33493
33542
|
if (this.hideColumn.indexOf(coluid) !== -1) {
|
|
33494
33543
|
this.hideColumn.splice(this.hideColumn.indexOf(coluid), 1);
|
|
@@ -33505,7 +33554,7 @@ var ColumnChooser = /** @__PURE__ @class */ (function () {
|
|
|
33505
33554
|
this.hideColumn.push(coluid);
|
|
33506
33555
|
}
|
|
33507
33556
|
}
|
|
33508
|
-
if (selectAll) {
|
|
33557
|
+
if (selectAll$$1) {
|
|
33509
33558
|
if (!isChecked) {
|
|
33510
33559
|
this.changedColumns.push(coluid);
|
|
33511
33560
|
}
|
|
@@ -33586,8 +33635,8 @@ var ColumnChooser = /** @__PURE__ @class */ (function () {
|
|
|
33586
33635
|
var checkstate;
|
|
33587
33636
|
var elem = parentsUntil(e.target, 'e-checkbox-wrapper');
|
|
33588
33637
|
if (elem) {
|
|
33589
|
-
var selectAll = elem.querySelector('.e-selectall');
|
|
33590
|
-
if (selectAll) {
|
|
33638
|
+
var selectAll$$1 = elem.querySelector('.e-selectall');
|
|
33639
|
+
if (selectAll$$1) {
|
|
33591
33640
|
this.updateSelectAll(!elem.querySelector('.e-check'));
|
|
33592
33641
|
}
|
|
33593
33642
|
else {
|
|
@@ -33685,12 +33734,12 @@ var ColumnChooser = /** @__PURE__ @class */ (function () {
|
|
|
33685
33734
|
this.ulElement = this.parent.createElement('ul', { className: 'e-ccul-ele e-cc' });
|
|
33686
33735
|
var selectAllValue = this.l10n.getConstant('SelectAll');
|
|
33687
33736
|
var cclist = this.parent.createElement('li', { className: 'e-cclist e-cc e-cc-selectall' });
|
|
33688
|
-
var selectAll = this.createCheckBox(selectAllValue, false, 'grid-selectAll');
|
|
33737
|
+
var selectAll$$1 = this.createCheckBox(selectAllValue, false, 'grid-selectAll');
|
|
33689
33738
|
if (gdCol.length) {
|
|
33690
|
-
selectAll.querySelector('.e-checkbox-wrapper').firstElementChild.classList.add('e-selectall');
|
|
33691
|
-
selectAll.querySelector('.e-frame').classList.add('e-selectall');
|
|
33692
|
-
this.checkState(selectAll.querySelector('.e-icons'), true);
|
|
33693
|
-
cclist.appendChild(selectAll);
|
|
33739
|
+
selectAll$$1.querySelector('.e-checkbox-wrapper').firstElementChild.classList.add('e-selectall');
|
|
33740
|
+
selectAll$$1.querySelector('.e-frame').classList.add('e-selectall');
|
|
33741
|
+
this.checkState(selectAll$$1.querySelector('.e-icons'), true);
|
|
33742
|
+
cclist.appendChild(selectAll$$1);
|
|
33694
33743
|
this.ulElement.appendChild(cclist);
|
|
33695
33744
|
}
|
|
33696
33745
|
for (var i = 0; i < gdCol.length; i++) {
|
|
@@ -33815,7 +33864,7 @@ var ColumnChooser = /** @__PURE__ @class */ (function () {
|
|
|
33815
33864
|
* @hidden
|
|
33816
33865
|
* `ExportHelper` for `PdfExport` & `ExcelExport`
|
|
33817
33866
|
*/
|
|
33818
|
-
var ExportHelper = /** @
|
|
33867
|
+
var ExportHelper = /** @class */ (function () {
|
|
33819
33868
|
function ExportHelper(parent) {
|
|
33820
33869
|
this.hideColumnInclude = false;
|
|
33821
33870
|
this.foreignKeyData = {};
|
|
@@ -34069,7 +34118,7 @@ var ExportHelper = /** @__PURE__ @class */ (function () {
|
|
|
34069
34118
|
* @hidden
|
|
34070
34119
|
* `ExportValueFormatter` for `PdfExport` & `ExcelExport`
|
|
34071
34120
|
*/
|
|
34072
|
-
var ExportValueFormatter = /** @
|
|
34121
|
+
var ExportValueFormatter = /** @class */ (function () {
|
|
34073
34122
|
function ExportValueFormatter(culture) {
|
|
34074
34123
|
this.valueFormatter = new ValueFormatter(culture);
|
|
34075
34124
|
this.internationalization = new Internationalization(culture);
|
|
@@ -34150,7 +34199,7 @@ var ExportValueFormatter = /** @__PURE__ @class */ (function () {
|
|
|
34150
34199
|
* @hidden
|
|
34151
34200
|
* `ExcelExport` module is used to handle the Excel export action.
|
|
34152
34201
|
*/
|
|
34153
|
-
var ExcelExport = /** @
|
|
34202
|
+
var ExcelExport = /** @class */ (function () {
|
|
34154
34203
|
/**
|
|
34155
34204
|
* Constructor for the Grid Excel Export module.
|
|
34156
34205
|
* @hidden
|
|
@@ -34854,8 +34903,17 @@ var ExcelExport = /** @__PURE__ @class */ (function () {
|
|
|
34854
34903
|
ExcelExport.prototype.getAggreateValue = function (cellType, template, cell, row) {
|
|
34855
34904
|
var templateFn = {};
|
|
34856
34905
|
templateFn[getEnumValue(CellType, cell.cellType)] = compile(template);
|
|
34857
|
-
|
|
34858
|
-
var
|
|
34906
|
+
var txt;
|
|
34907
|
+
var data = row.data[cell.column.field ? cell.column.field : cell.column.columnName];
|
|
34908
|
+
if (this.parent.isReact || this.parent.isVue) {
|
|
34909
|
+
txt = (templateFn[getEnumValue(CellType, cell.cellType)](data, this.parent));
|
|
34910
|
+
if (this.parent.isReact) {
|
|
34911
|
+
this.parent.renderTemplates();
|
|
34912
|
+
}
|
|
34913
|
+
}
|
|
34914
|
+
else {
|
|
34915
|
+
txt = (templateFn[getEnumValue(CellType, cell.cellType)](data));
|
|
34916
|
+
}
|
|
34859
34917
|
return txt[0].textContent;
|
|
34860
34918
|
};
|
|
34861
34919
|
ExcelExport.prototype.mergeOptions = function (JSON1, JSON2) {
|
|
@@ -35099,7 +35157,7 @@ var ExcelExport = /** @__PURE__ @class */ (function () {
|
|
|
35099
35157
|
* `PDF Export` module is used to handle the exportToPDF action.
|
|
35100
35158
|
* @hidden
|
|
35101
35159
|
*/
|
|
35102
|
-
var PdfExport = /** @
|
|
35160
|
+
var PdfExport = /** @class */ (function () {
|
|
35103
35161
|
/**
|
|
35104
35162
|
* Constructor for the Grid PDF Export module
|
|
35105
35163
|
* @hidden
|
|
@@ -35819,7 +35877,7 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
35819
35877
|
}
|
|
35820
35878
|
documentHeader.graphics.drawLine(pen, x1, y1, x2, y2);
|
|
35821
35879
|
};
|
|
35822
|
-
/* tslint:disable-next-line:no-any */ /* tslint:disable-next-line:max-line-length */
|
|
35880
|
+
/* tslint:disable-next-line:no-any */ /* tslint:disable-next-line:max-line-length */ /* tslint:disable-next-line:max-func-body-length */
|
|
35823
35881
|
PdfExport.prototype.processAggregates = function (sRows, pdfGrid, border, font, brush, backgroundBrush, isCaption, captionRow, groupIndex, isGroupedFooter) {
|
|
35824
35882
|
for (var _i = 0, sRows_1 = sRows; _i < sRows_1.length; _i++) {
|
|
35825
35883
|
var row = sRows_1[_i];
|
|
@@ -35876,8 +35934,17 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
35876
35934
|
var result = this.getTemplateFunction(templateFn, i, leastCaptionSummaryIndex, cell);
|
|
35877
35935
|
templateFn = result.templateFunction;
|
|
35878
35936
|
leastCaptionSummaryIndex = result.leastCaptionSummaryIndex;
|
|
35879
|
-
|
|
35880
|
-
var
|
|
35937
|
+
var txt = void 0;
|
|
35938
|
+
var data = row.data[cell.column.field ? cell.column.field : cell.column.columnName];
|
|
35939
|
+
if (this.parent.isReact || this.parent.isVue) {
|
|
35940
|
+
txt = (templateFn[getEnumValue(CellType, cell.cellType)](data, this.parent));
|
|
35941
|
+
if (this.parent.isReact) {
|
|
35942
|
+
this.parent.renderTemplates();
|
|
35943
|
+
}
|
|
35944
|
+
}
|
|
35945
|
+
else {
|
|
35946
|
+
txt = (templateFn[getEnumValue(CellType, cell.cellType)](data));
|
|
35947
|
+
}
|
|
35881
35948
|
value.push(txt[0].textContent);
|
|
35882
35949
|
isEmpty = false;
|
|
35883
35950
|
}
|
|
@@ -36440,24 +36507,24 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
36440
36507
|
return PdfExport;
|
|
36441
36508
|
}());
|
|
36442
36509
|
|
|
36443
|
-
var __extends$26 = (undefined && undefined.__extends) || (function () {
|
|
36444
|
-
var extendStatics = function (d, b) {
|
|
36445
|
-
extendStatics = Object.setPrototypeOf ||
|
|
36446
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
36447
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
36448
|
-
return extendStatics(d, b);
|
|
36449
|
-
};
|
|
36450
|
-
return function (d, b) {
|
|
36451
|
-
extendStatics(d, b);
|
|
36452
|
-
function __() { this.constructor = d; }
|
|
36453
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
36454
|
-
};
|
|
36455
|
-
})();
|
|
36510
|
+
var __extends$26 = (undefined && undefined.__extends) || (function () {
|
|
36511
|
+
var extendStatics = function (d, b) {
|
|
36512
|
+
extendStatics = Object.setPrototypeOf ||
|
|
36513
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
36514
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
36515
|
+
return extendStatics(d, b);
|
|
36516
|
+
};
|
|
36517
|
+
return function (d, b) {
|
|
36518
|
+
extendStatics(d, b);
|
|
36519
|
+
function __() { this.constructor = d; }
|
|
36520
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
36521
|
+
};
|
|
36522
|
+
})();
|
|
36456
36523
|
/**
|
|
36457
36524
|
* `CommandColumn` used to render command column in grid
|
|
36458
36525
|
* @hidden
|
|
36459
36526
|
*/
|
|
36460
|
-
var CommandColumnRenderer = /** @
|
|
36527
|
+
var CommandColumnRenderer = /** @class */ (function (_super) {
|
|
36461
36528
|
__extends$26(CommandColumnRenderer, _super);
|
|
36462
36529
|
function CommandColumnRenderer(parent, locator) {
|
|
36463
36530
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -36540,7 +36607,7 @@ var CommandColumnRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
36540
36607
|
* `CommandColumn` used to handle the command column actions.
|
|
36541
36608
|
* @hidden
|
|
36542
36609
|
*/
|
|
36543
|
-
var CommandColumn = /** @
|
|
36610
|
+
var CommandColumn = /** @class */ (function () {
|
|
36544
36611
|
function CommandColumn(parent, locator) {
|
|
36545
36612
|
this.parent = parent;
|
|
36546
36613
|
this.locator = locator;
|
|
@@ -36700,7 +36767,7 @@ var menuClass = {
|
|
|
36700
36767
|
/**
|
|
36701
36768
|
* The `ContextMenu` module is used to handle context menu actions.
|
|
36702
36769
|
*/
|
|
36703
|
-
var ContextMenu$1 = /** @
|
|
36770
|
+
var ContextMenu$1 = /** @class */ (function () {
|
|
36704
36771
|
function ContextMenu$$1(parent, serviceLocator) {
|
|
36705
36772
|
this.defaultItems = {};
|
|
36706
36773
|
this.disableItems = [];
|
|
@@ -37273,7 +37340,7 @@ var ContextMenu$1 = /** @__PURE__ @class */ (function () {
|
|
|
37273
37340
|
* FreezeRowModelGenerator is used to generate grid data rows with freeze row and column.
|
|
37274
37341
|
* @hidden
|
|
37275
37342
|
*/
|
|
37276
|
-
var FreezeRowModelGenerator = /** @
|
|
37343
|
+
var FreezeRowModelGenerator = /** @class */ (function () {
|
|
37277
37344
|
function FreezeRowModelGenerator(parent) {
|
|
37278
37345
|
this.isFrzLoad = 1;
|
|
37279
37346
|
this.parent = parent;
|
|
@@ -37306,24 +37373,24 @@ var FreezeRowModelGenerator = /** @__PURE__ @class */ (function () {
|
|
|
37306
37373
|
return FreezeRowModelGenerator;
|
|
37307
37374
|
}());
|
|
37308
37375
|
|
|
37309
|
-
var __extends$27 = (undefined && undefined.__extends) || (function () {
|
|
37310
|
-
var extendStatics = function (d, b) {
|
|
37311
|
-
extendStatics = Object.setPrototypeOf ||
|
|
37312
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
37313
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
37314
|
-
return extendStatics(d, b);
|
|
37315
|
-
};
|
|
37316
|
-
return function (d, b) {
|
|
37317
|
-
extendStatics(d, b);
|
|
37318
|
-
function __() { this.constructor = d; }
|
|
37319
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
37320
|
-
};
|
|
37321
|
-
})();
|
|
37376
|
+
var __extends$27 = (undefined && undefined.__extends) || (function () {
|
|
37377
|
+
var extendStatics = function (d, b) {
|
|
37378
|
+
extendStatics = Object.setPrototypeOf ||
|
|
37379
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
37380
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
37381
|
+
return extendStatics(d, b);
|
|
37382
|
+
};
|
|
37383
|
+
return function (d, b) {
|
|
37384
|
+
extendStatics(d, b);
|
|
37385
|
+
function __() { this.constructor = d; }
|
|
37386
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
37387
|
+
};
|
|
37388
|
+
})();
|
|
37322
37389
|
/**
|
|
37323
37390
|
* Freeze module is used to render grid content with frozen rows and columns
|
|
37324
37391
|
* @hidden
|
|
37325
37392
|
*/
|
|
37326
|
-
var FreezeContentRender = /** @
|
|
37393
|
+
var FreezeContentRender = /** @class */ (function (_super) {
|
|
37327
37394
|
__extends$27(FreezeContentRender, _super);
|
|
37328
37395
|
function FreezeContentRender(parent, locator) {
|
|
37329
37396
|
return _super.call(this, parent, locator) || this;
|
|
@@ -37395,7 +37462,7 @@ var FreezeContentRender = /** @__PURE__ @class */ (function (_super) {
|
|
|
37395
37462
|
};
|
|
37396
37463
|
return FreezeContentRender;
|
|
37397
37464
|
}(ContentRender));
|
|
37398
|
-
var FreezeRender = /** @
|
|
37465
|
+
var FreezeRender = /** @class */ (function (_super) {
|
|
37399
37466
|
__extends$27(FreezeRender, _super);
|
|
37400
37467
|
function FreezeRender(parent, locator) {
|
|
37401
37468
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -37711,24 +37778,24 @@ var FreezeRender = /** @__PURE__ @class */ (function (_super) {
|
|
|
37711
37778
|
return FreezeRender;
|
|
37712
37779
|
}(HeaderRender));
|
|
37713
37780
|
|
|
37714
|
-
var __extends$28 = (undefined && undefined.__extends) || (function () {
|
|
37715
|
-
var extendStatics = function (d, b) {
|
|
37716
|
-
extendStatics = Object.setPrototypeOf ||
|
|
37717
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
37718
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
37719
|
-
return extendStatics(d, b);
|
|
37720
|
-
};
|
|
37721
|
-
return function (d, b) {
|
|
37722
|
-
extendStatics(d, b);
|
|
37723
|
-
function __() { this.constructor = d; }
|
|
37724
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
37725
|
-
};
|
|
37726
|
-
})();
|
|
37781
|
+
var __extends$28 = (undefined && undefined.__extends) || (function () {
|
|
37782
|
+
var extendStatics = function (d, b) {
|
|
37783
|
+
extendStatics = Object.setPrototypeOf ||
|
|
37784
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
37785
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
37786
|
+
return extendStatics(d, b);
|
|
37787
|
+
};
|
|
37788
|
+
return function (d, b) {
|
|
37789
|
+
extendStatics(d, b);
|
|
37790
|
+
function __() { this.constructor = d; }
|
|
37791
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
37792
|
+
};
|
|
37793
|
+
})();
|
|
37727
37794
|
/**
|
|
37728
37795
|
* VirtualFreezeRenderer is used to render the virtual table within the frozen table
|
|
37729
37796
|
* @hidden
|
|
37730
37797
|
*/
|
|
37731
|
-
var VirtualFreezeRenderer = /** @
|
|
37798
|
+
var VirtualFreezeRenderer = /** @class */ (function (_super) {
|
|
37732
37799
|
__extends$28(VirtualFreezeRenderer, _super);
|
|
37733
37800
|
function VirtualFreezeRenderer(parent, locator) {
|
|
37734
37801
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -37880,7 +37947,7 @@ var VirtualFreezeRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
37880
37947
|
};
|
|
37881
37948
|
return VirtualFreezeRenderer;
|
|
37882
37949
|
}(FreezeContentRender));
|
|
37883
|
-
var VirtualFreezeHdrRenderer = /** @
|
|
37950
|
+
var VirtualFreezeHdrRenderer = /** @class */ (function (_super) {
|
|
37884
37951
|
__extends$28(VirtualFreezeHdrRenderer, _super);
|
|
37885
37952
|
function VirtualFreezeHdrRenderer(parent, locator) {
|
|
37886
37953
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -37928,7 +37995,7 @@ var VirtualFreezeHdrRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
37928
37995
|
* `Freeze` module is used to handle Frozen rows and columns.
|
|
37929
37996
|
* @hidden
|
|
37930
37997
|
*/
|
|
37931
|
-
var Freeze = /** @
|
|
37998
|
+
var Freeze = /** @class */ (function () {
|
|
37932
37999
|
function Freeze(parent, locator) {
|
|
37933
38000
|
this.parent = parent;
|
|
37934
38001
|
this.locator = locator;
|
|
@@ -37971,7 +38038,7 @@ var Freeze = /** @__PURE__ @class */ (function () {
|
|
|
37971
38038
|
* 'column menu module used to handle column menu actions'
|
|
37972
38039
|
* @hidden
|
|
37973
38040
|
*/
|
|
37974
|
-
var ColumnMenu = /** @
|
|
38041
|
+
var ColumnMenu = /** @class */ (function () {
|
|
37975
38042
|
function ColumnMenu(parent, serviceLocator) {
|
|
37976
38043
|
this.defaultItems = {};
|
|
37977
38044
|
this.localeText = this.setLocaleKey();
|
|
@@ -38533,23 +38600,23 @@ var ColumnMenu = /** @__PURE__ @class */ (function () {
|
|
|
38533
38600
|
return ColumnMenu;
|
|
38534
38601
|
}());
|
|
38535
38602
|
|
|
38536
|
-
var __extends$29 = (undefined && undefined.__extends) || (function () {
|
|
38537
|
-
var extendStatics = function (d, b) {
|
|
38538
|
-
extendStatics = Object.setPrototypeOf ||
|
|
38539
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
38540
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
38541
|
-
return extendStatics(d, b);
|
|
38542
|
-
};
|
|
38543
|
-
return function (d, b) {
|
|
38544
|
-
extendStatics(d, b);
|
|
38545
|
-
function __() { this.constructor = d; }
|
|
38546
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
38547
|
-
};
|
|
38548
|
-
})();
|
|
38603
|
+
var __extends$29 = (undefined && undefined.__extends) || (function () {
|
|
38604
|
+
var extendStatics = function (d, b) {
|
|
38605
|
+
extendStatics = Object.setPrototypeOf ||
|
|
38606
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
38607
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
38608
|
+
return extendStatics(d, b);
|
|
38609
|
+
};
|
|
38610
|
+
return function (d, b) {
|
|
38611
|
+
extendStatics(d, b);
|
|
38612
|
+
function __() { this.constructor = d; }
|
|
38613
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
38614
|
+
};
|
|
38615
|
+
})();
|
|
38549
38616
|
/**
|
|
38550
38617
|
* `ForeignKey` module is used to handle foreign key column's actions.
|
|
38551
38618
|
*/
|
|
38552
|
-
var ForeignKey = /** @
|
|
38619
|
+
var ForeignKey = /** @class */ (function (_super) {
|
|
38553
38620
|
__extends$29(ForeignKey, _super);
|
|
38554
38621
|
function ForeignKey(parent, serviceLocator) {
|
|
38555
38622
|
var _this = _super.call(this, parent, serviceLocator) || this;
|
|
@@ -38727,7 +38794,7 @@ var DOC_URL = 'https://ej2.syncfusion.com/documentation/';
|
|
|
38727
38794
|
var WARNING = '[EJ2Grid.Warning]';
|
|
38728
38795
|
var ERROR = '[EJ2Grid.Error]';
|
|
38729
38796
|
var INFO = '[EJ2Grid.Info]';
|
|
38730
|
-
var Logger = /** @
|
|
38797
|
+
var Logger = /** @class */ (function () {
|
|
38731
38798
|
function Logger(parent) {
|
|
38732
38799
|
this.parent = parent;
|
|
38733
38800
|
this.parent.on('initial-end', this.patchadaptor, this);
|
|
@@ -39121,8 +39188,9 @@ var ajaxErrorHandler = function (args, parent) {
|
|
|
39121
39188
|
|
|
39122
39189
|
/**
|
|
39123
39190
|
* Infinite Scrolling class
|
|
39191
|
+
* @hidden
|
|
39124
39192
|
*/
|
|
39125
|
-
var InfiniteScroll = /** @
|
|
39193
|
+
var InfiniteScroll = /** @class */ (function () {
|
|
39126
39194
|
/**
|
|
39127
39195
|
* Constructor for the Grid infinite scrolling.
|
|
39128
39196
|
* @hidden
|
|
@@ -40002,24 +40070,24 @@ var InfiniteScroll = /** @__PURE__ @class */ (function () {
|
|
|
40002
40070
|
return InfiniteScroll;
|
|
40003
40071
|
}());
|
|
40004
40072
|
|
|
40005
|
-
var __extends$30 = (undefined && undefined.__extends) || (function () {
|
|
40006
|
-
var extendStatics = function (d, b) {
|
|
40007
|
-
extendStatics = Object.setPrototypeOf ||
|
|
40008
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
40009
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
40010
|
-
return extendStatics(d, b);
|
|
40011
|
-
};
|
|
40012
|
-
return function (d, b) {
|
|
40013
|
-
extendStatics(d, b);
|
|
40014
|
-
function __() { this.constructor = d; }
|
|
40015
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
40016
|
-
};
|
|
40017
|
-
})();
|
|
40073
|
+
var __extends$30 = (undefined && undefined.__extends) || (function () {
|
|
40074
|
+
var extendStatics = function (d, b) {
|
|
40075
|
+
extendStatics = Object.setPrototypeOf ||
|
|
40076
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
40077
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
40078
|
+
return extendStatics(d, b);
|
|
40079
|
+
};
|
|
40080
|
+
return function (d, b) {
|
|
40081
|
+
extendStatics(d, b);
|
|
40082
|
+
function __() { this.constructor = d; }
|
|
40083
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
40084
|
+
};
|
|
40085
|
+
})();
|
|
40018
40086
|
/**
|
|
40019
40087
|
* GroupLazyLoadRenderer is used to perform lazy load grouping
|
|
40020
40088
|
* @hidden
|
|
40021
40089
|
*/
|
|
40022
|
-
var GroupLazyLoadRenderer = /** @
|
|
40090
|
+
var GroupLazyLoadRenderer = /** @class */ (function (_super) {
|
|
40023
40091
|
__extends$30(GroupLazyLoadRenderer, _super);
|
|
40024
40092
|
function GroupLazyLoadRenderer(parent, locator) {
|
|
40025
40093
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -41148,7 +41216,7 @@ var GroupLazyLoadRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
41148
41216
|
/**
|
|
41149
41217
|
* Group lazy load class
|
|
41150
41218
|
*/
|
|
41151
|
-
var LazyLoadGroup = /** @
|
|
41219
|
+
var LazyLoadGroup = /** @class */ (function () {
|
|
41152
41220
|
/**
|
|
41153
41221
|
* Constructor for Grid group lazy load module
|
|
41154
41222
|
* @hidden
|
|
@@ -41213,7 +41281,7 @@ var LazyLoadGroup = /** @__PURE__ @class */ (function () {
|
|
|
41213
41281
|
* `AutoCompleteEditCell` is used to handle autocomplete cell type editing.
|
|
41214
41282
|
* @hidden
|
|
41215
41283
|
*/
|
|
41216
|
-
var AutoCompleteEditCell = /** @
|
|
41284
|
+
var AutoCompleteEditCell = /** @class */ (function () {
|
|
41217
41285
|
function AutoCompleteEditCell(parent) {
|
|
41218
41286
|
//constructor
|
|
41219
41287
|
this.parentObj = parent;
|
|
@@ -41270,7 +41338,7 @@ var AutoCompleteEditCell = /** @__PURE__ @class */ (function () {
|
|
|
41270
41338
|
* `ComboBoxEditCell` is used to handle ComboBoxEdit cell type editing.
|
|
41271
41339
|
* @hidden
|
|
41272
41340
|
*/
|
|
41273
|
-
var ComboboxEditCell = /** @
|
|
41341
|
+
var ComboboxEditCell = /** @class */ (function () {
|
|
41274
41342
|
function ComboboxEditCell(parentObject) {
|
|
41275
41343
|
//constructor
|
|
41276
41344
|
this.parent = parentObject;
|
|
@@ -41322,7 +41390,7 @@ var ComboboxEditCell = /** @__PURE__ @class */ (function () {
|
|
|
41322
41390
|
* `MultiSelectEditCell` is used to handle multiselect dropdown cell type editing.
|
|
41323
41391
|
* @hidden
|
|
41324
41392
|
*/
|
|
41325
|
-
var MultiSelectEditCell = /** @
|
|
41393
|
+
var MultiSelectEditCell = /** @class */ (function () {
|
|
41326
41394
|
function MultiSelectEditCell(parentObj) {
|
|
41327
41395
|
//constructor
|
|
41328
41396
|
this.parent = parentObj;
|
|
@@ -41365,7 +41433,7 @@ var MultiSelectEditCell = /** @__PURE__ @class */ (function () {
|
|
|
41365
41433
|
* `TimePickerEditCell` is used to handle Timepicker cell type editing.
|
|
41366
41434
|
* @hidden
|
|
41367
41435
|
*/
|
|
41368
|
-
var TimePickerEditCell = /** @
|
|
41436
|
+
var TimePickerEditCell = /** @class */ (function () {
|
|
41369
41437
|
function TimePickerEditCell(grid) {
|
|
41370
41438
|
this.parent = grid;
|
|
41371
41439
|
}
|
|
@@ -41407,7 +41475,7 @@ var TimePickerEditCell = /** @__PURE__ @class */ (function () {
|
|
|
41407
41475
|
* `ToggleEditCell` is used to handle boolean cell type editing.
|
|
41408
41476
|
* @hidden
|
|
41409
41477
|
*/
|
|
41410
|
-
var ToggleEditCell = /** @
|
|
41478
|
+
var ToggleEditCell = /** @class */ (function () {
|
|
41411
41479
|
function ToggleEditCell(parentObject) {
|
|
41412
41480
|
this.activeClasses = ['e-selectionbackground', 'e-active'];
|
|
41413
41481
|
this.parent = parentObject;
|
|
@@ -41482,7 +41550,7 @@ var ToggleEditCell = /** @__PURE__ @class */ (function () {
|
|
|
41482
41550
|
* `MaskedTextBoxCellEdit` is used to handle masked input cell type editing.
|
|
41483
41551
|
* @hidden
|
|
41484
41552
|
*/
|
|
41485
|
-
var MaskedTextBoxCellEdit = /** @
|
|
41553
|
+
var MaskedTextBoxCellEdit = /** @class */ (function () {
|
|
41486
41554
|
function MaskedTextBoxCellEdit(parentInstance) {
|
|
41487
41555
|
//constructor
|
|
41488
41556
|
this.parent = parentInstance;
|
|
@@ -41540,5 +41608,5 @@ var MaskedTextBoxCellEdit = /** @__PURE__ @class */ (function () {
|
|
|
41540
41608
|
* Export Grid components
|
|
41541
41609
|
*/
|
|
41542
41610
|
|
|
41543
|
-
export { CheckBoxFilterBase, ExcelFilterBase, SortDescriptor, SortSettings, Predicate$1 as Predicate, InfiniteScrollSettings, FilterSettings, SelectionSettings, SearchSettings, RowDropSettings, TextWrapSettings, ResizeSettings, GroupSettings, EditSettings, Grid, CellType, RenderType, ToolbarItem, AggregateTemplateType, doesImplementInterface, valueAccessor, headerValueAccessor, getUpdateUsingRaf, isExportColumns, updateColumnTypeForExportColumns, updatecloneRow, getCollapsedRowsCount, recursive, iterateArrayOrObject, iterateExtend, templateCompiler, setStyleAndAttributes, extend$1 as extend, setColumnIndex, prepareColumns, setCssInGridPopUp, getActualProperties, parentsUntil, getElementIndex, inArray, getActualPropFromColl, removeElement, getPosition, getUid, appendChildren, parents, calculateAggregate, getScrollBarWidth, getRowHeight, isComplexField, getComplexFieldID, setComplexFieldID, isEditable, isActionPrevent, wrap, setFormatter, addRemoveActiveClasses, distinctStringValues, getFilterMenuPostion, getZIndexCalcualtion, toogleCheckbox, setChecked, createCboxWithWrap, removeAddCboxClasses, refreshForeignData, getForeignData, getColumnByForeignKeyValue, getDatePredicate, renderMovable, isGroupAdaptive, getObject, getCustomDateFormat, getExpandedState, getPrintGridModel, extendObjWithFn, measureColumnDepth, checkDepth, refreshFilteredColsUid, Global, getTransformValues, applyBiggerTheme, alignFrozenEditForm, ensureLastRow, ensureFirstRow, isRowEnteredInGrid, getEditedDataIndex, eventPromise, getStateEventArgument, ispercentageWidth, resetRowIndex, compareChanges, setRowElements, created, destroyed, load, rowDataBound, queryCellInfo, headerCellInfo, actionBegin, actionComplete, actionFailure, dataBound, rowSelecting, rowSelected, rowDeselecting, rowDeselected, cellSelecting, cellSelected, cellDeselecting, cellDeselected, columnDragStart, columnDrag, columnDrop, rowDragStartHelper, rowDragStart, rowDrag, rowDrop, beforePrint, printComplete, detailDataBound, toolbarClick, batchAdd, batchCancel, batchDelete, beforeBatchAdd, beforeBatchDelete, beforeBatchSave, beginEdit, cellEdit, cellSave, cellSaved, endAdd, endDelete, endEdit, recordDoubleClick, recordClick, beforeDataBound, beforeOpenColumnChooser, resizeStart, onResize, resizeStop, checkBoxChange, beforeCopy, beforePaste, beforeAutoFill, filterChoiceRequest, filterAfterOpen, filterBeforeOpen, filterSearchBegin, commandClick, exportGroupCaption, lazyLoadGroupExpand, lazyLoadGroupCollapse, initialLoad, initialEnd, dataReady, contentReady, uiUpdate, onEmpty, inBoundModelChanged, modelChanged, colGroupRefresh, headerRefreshed, pageBegin, pageComplete, sortBegin, sortComplete, filterBegin, filterComplete, searchBegin, searchComplete, reorderBegin, reorderComplete, rowDragAndDropBegin, rowDragAndDropComplete, groupBegin, groupComplete, ungroupBegin, ungroupComplete, groupAggregates, refreshFooterRenderer, refreshAggregateCell, refreshAggregates, rowSelectionBegin, rowSelectionComplete, columnSelectionBegin, columnSelectionComplete, cellSelectionBegin, cellSelectionComplete, beforeCellFocused, cellFocused, keyPressed, click, destroy, columnVisibilityChanged, scroll, columnWidthChanged, columnPositionChanged, rowDragAndDrop, rowsAdded, rowsRemoved, columnDragStop, headerDrop, dataSourceModified, refreshComplete, refreshVirtualBlock, dblclick, toolbarRefresh, bulkSave, autoCol, tooltipDestroy, updateData, editBegin, editComplete, addBegin, addComplete, saveComplete, deleteBegin, deleteComplete, preventBatch, dialogDestroy, crudAction, addDeleteAction, destroyForm, doubleTap, beforeExcelExport, excelExportComplete, excelQueryCellInfo, excelHeaderQueryCellInfo, exportDetailDataBound, beforePdfExport, pdfExportComplete, pdfQueryCellInfo, pdfHeaderQueryCellInfo, accessPredicate, contextMenuClick, freezeRender, freezeRefresh, contextMenuOpen, columnMenuClick, columnMenuOpen, filterOpen, filterDialogCreated, filterMenuClose, initForeignKeyColumn, getForeignKeyData, generateQuery, showEmptyGrid, foreignKeyData, columnDataStateChange, dataStateChange, dataSourceChanged, rtlUpdated, beforeFragAppend, frozenHeight, textWrapRefresh, recordAdded, cancelBegin, editNextValCell, hierarchyPrint, expandChildGrid, printGridInit, exportRowDataBound, exportDataBound, rowPositionChanged, columnChooserOpened, batchForm, beforeStartEdit, beforeBatchCancel, batchEditFormRendered, partialRefresh, beforeCustomFilterOpen, selectVirtualRow, columnsPrepared, cBoxFltrBegin, cBoxFltrComplete, fltrPrevent, beforeFltrcMenuOpen, valCustomPlacement, filterCboxValue, componentRendered, restoreFocus, detailStateChange, detailIndentCellInfo, virtaulKeyHandler, virtaulCellFocus, virtualScrollEditActionBegin, virtualScrollEditSuccess, virtualScrollEditCancel, virtualScrollEdit, refreshVirtualCache, editReset, virtualScrollAddActionBegin, getVirtualData, refreshInfiniteModeBlocks, resetInfiniteBlocks, infiniteScrollHandler, infinitePageQuery, infiniteShowHide, appendInfiniteContent, removeInfiniteRows, setInfiniteCache, infiniteEditHandler, initialCollapse, getAggregateQuery, closeFilterDialog, columnChooserCancelBtnClick, getFilterBarOperator, resetColumns, pdfAggregateQueryCellInfo, excelAggregateQueryCellInfo, setGroupCache, lazyLoadScrollHandler, groupCollapse, beforeCheckboxRenderer, refreshHandlers, Data, Sort, Page, Selection, Filter, Search, Scroll, resizeClassList, Resize, Reorder, RowDD, Group, getCloneProperties, Print, DetailRow, Toolbar$1 as Toolbar, Aggregate, summaryIterator, VirtualScroll, Edit, BatchEdit, InlineEdit, NormalEdit, DialogEdit, ColumnChooser, ExcelExport, PdfExport, ExportHelper, ExportValueFormatter, Clipboard, CommandColumn, CheckBoxFilter, menuClass, ContextMenu$1 as ContextMenu, Freeze, ColumnMenu, ExcelFilter, ForeignKey, Logger, detailLists, gridObserver, BlazorAction, InfiniteScroll, LazyLoadGroup, Column, CommandColumnModel, Row, Cell, HeaderRender, ContentRender, RowRenderer, CellRenderer, HeaderCellRenderer, FilterCellRenderer, StackedHeaderCellRenderer, Render, IndentCellRenderer, GroupCaptionCellRenderer, GroupCaptionEmptyCellRenderer, BatchEditRender, DialogEditRender, InlineEditRender, EditRender, BooleanEditCell, DefaultEditCell, DropDownEditCell, NumericEditCell, DatePickerEditCell, CommandColumnRenderer, FreezeContentRender, FreezeRender, StringFilterUI, NumberFilterUI, DateFilterUI, BooleanFilterUI, FlMenuOptrUI, AutoCompleteEditCell, ComboboxEditCell, MultiSelectEditCell, TimePickerEditCell, ToggleEditCell, MaskedTextBoxCellEdit, VirtualContentRenderer, VirtualHeaderRenderer, VirtualElementHandler, GroupLazyLoadRenderer, CellRendererFactory, ServiceLocator, RowModelGenerator, GroupModelGenerator, FreezeRowModelGenerator, ValueFormatter, VirtualRowModelGenerator, InterSectionObserver, Pager, ExternalMessage, NumericContainer, PagerMessage, PagerDropDown };
|
|
41611
|
+
export { CheckBoxFilterBase, ExcelFilterBase, SortDescriptor, SortSettings, Predicate$1 as Predicate, InfiniteScrollSettings, FilterSettings, SelectionSettings, SearchSettings, RowDropSettings, TextWrapSettings, ResizeSettings, GroupSettings, EditSettings, Grid, CellType, RenderType, ToolbarItem, AggregateTemplateType, doesImplementInterface, valueAccessor, headerValueAccessor, getUpdateUsingRaf, isExportColumns, updateColumnTypeForExportColumns, updatecloneRow, getCollapsedRowsCount, recursive, iterateArrayOrObject, iterateExtend, templateCompiler, setStyleAndAttributes, extend$1 as extend, setColumnIndex, prepareColumns, setCssInGridPopUp, getActualProperties, parentsUntil, getElementIndex, inArray, getActualPropFromColl, removeElement, getPosition, getUid, appendChildren, parents, calculateAggregate, getScrollBarWidth, getRowHeight, isComplexField, getComplexFieldID, setComplexFieldID, isEditable, isActionPrevent, wrap, setFormatter, addRemoveActiveClasses, distinctStringValues, getFilterMenuPostion, getZIndexCalcualtion, toogleCheckbox, setChecked, createCboxWithWrap, removeAddCboxClasses, refreshForeignData, getForeignData, getColumnByForeignKeyValue, getDatePredicate, renderMovable, isGroupAdaptive, getObject, getCustomDateFormat, getExpandedState, getPrintGridModel, extendObjWithFn, measureColumnDepth, checkDepth, refreshFilteredColsUid, Global, getTransformValues, applyBiggerTheme, alignFrozenEditForm, ensureLastRow, ensureFirstRow, isRowEnteredInGrid, getEditedDataIndex, eventPromise, getStateEventArgument, ispercentageWidth, resetRowIndex, compareChanges, setRowElements, created, destroyed, load, rowDataBound, queryCellInfo, headerCellInfo, actionBegin, actionComplete, actionFailure, dataBound, rowSelecting, rowSelected, rowDeselecting, rowDeselected, cellSelecting, cellSelected, cellDeselecting, cellDeselected, columnDragStart, columnDrag, columnDrop, rowDragStartHelper, rowDragStart, rowDrag, rowDrop, beforePrint, printComplete, detailDataBound, toolbarClick, batchAdd, batchCancel, batchDelete, beforeBatchAdd, beforeBatchDelete, beforeBatchSave, beginEdit, cellEdit, cellSave, cellSaved, endAdd, endDelete, endEdit, recordDoubleClick, recordClick, beforeDataBound, beforeOpenColumnChooser, resizeStart, onResize, resizeStop, checkBoxChange, beforeCopy, beforePaste, beforeAutoFill, filterChoiceRequest, filterAfterOpen, filterBeforeOpen, filterSearchBegin, commandClick, exportGroupCaption, lazyLoadGroupExpand, lazyLoadGroupCollapse, initialLoad, initialEnd, dataReady, contentReady, uiUpdate, onEmpty, inBoundModelChanged, modelChanged, colGroupRefresh, headerRefreshed, pageBegin, pageComplete, sortBegin, sortComplete, filterBegin, filterComplete, searchBegin, searchComplete, reorderBegin, reorderComplete, rowDragAndDropBegin, rowDragAndDropComplete, groupBegin, groupComplete, ungroupBegin, ungroupComplete, groupAggregates, refreshFooterRenderer, refreshAggregateCell, refreshAggregates, rowSelectionBegin, rowSelectionComplete, columnSelectionBegin, columnSelectionComplete, cellSelectionBegin, cellSelectionComplete, beforeCellFocused, cellFocused, keyPressed, click, destroy, columnVisibilityChanged, scroll, columnWidthChanged, columnPositionChanged, rowDragAndDrop, rowsAdded, rowsRemoved, columnDragStop, headerDrop, dataSourceModified, refreshComplete, refreshVirtualBlock, dblclick, toolbarRefresh, bulkSave, autoCol, tooltipDestroy, updateData, editBegin, editComplete, addBegin, addComplete, saveComplete, deleteBegin, deleteComplete, preventBatch, dialogDestroy, crudAction, addDeleteAction, destroyForm, doubleTap, beforeExcelExport, excelExportComplete, excelQueryCellInfo, excelHeaderQueryCellInfo, exportDetailDataBound, beforePdfExport, pdfExportComplete, pdfQueryCellInfo, pdfHeaderQueryCellInfo, accessPredicate, contextMenuClick, freezeRender, freezeRefresh, contextMenuOpen, columnMenuClick, columnMenuOpen, filterOpen, filterDialogCreated, filterMenuClose, initForeignKeyColumn, getForeignKeyData, generateQuery, showEmptyGrid, foreignKeyData, columnDataStateChange, dataStateChange, dataSourceChanged, rtlUpdated, beforeFragAppend, frozenHeight, textWrapRefresh, recordAdded, cancelBegin, editNextValCell, hierarchyPrint, expandChildGrid, printGridInit, exportRowDataBound, exportDataBound, rowPositionChanged, columnChooserOpened, batchForm, beforeStartEdit, beforeBatchCancel, batchEditFormRendered, partialRefresh, beforeCustomFilterOpen, selectVirtualRow, columnsPrepared, cBoxFltrBegin, cBoxFltrComplete, fltrPrevent, beforeFltrcMenuOpen, valCustomPlacement, filterCboxValue, componentRendered, restoreFocus, detailStateChange, detailIndentCellInfo, virtaulKeyHandler, virtaulCellFocus, virtualScrollEditActionBegin, virtualScrollEditSuccess, virtualScrollEditCancel, virtualScrollEdit, refreshVirtualCache, editReset, virtualScrollAddActionBegin, getVirtualData, refreshInfiniteModeBlocks, resetInfiniteBlocks, infiniteScrollHandler, infinitePageQuery, infiniteShowHide, appendInfiniteContent, removeInfiniteRows, setInfiniteCache, infiniteEditHandler, initialCollapse, getAggregateQuery, closeFilterDialog, columnChooserCancelBtnClick, getFilterBarOperator, resetColumns, pdfAggregateQueryCellInfo, excelAggregateQueryCellInfo, setGroupCache, lazyLoadScrollHandler, groupCollapse, beforeCheckboxRenderer, refreshHandlers, beforeRefreshOnDataChange, Data, Sort, Page, Selection, Filter, Search, Scroll, resizeClassList, Resize, Reorder, RowDD, Group, getCloneProperties, Print, DetailRow, Toolbar$1 as Toolbar, Aggregate, summaryIterator, VirtualScroll, Edit, BatchEdit, InlineEdit, NormalEdit, DialogEdit, ColumnChooser, ExcelExport, PdfExport, ExportHelper, ExportValueFormatter, Clipboard, CommandColumn, CheckBoxFilter, menuClass, ContextMenu$1 as ContextMenu, Freeze, ColumnMenu, ExcelFilter, ForeignKey, Logger, detailLists, gridObserver, BlazorAction, InfiniteScroll, LazyLoadGroup, Column, CommandColumnModel, Row, Cell, HeaderRender, ContentRender, RowRenderer, CellRenderer, HeaderCellRenderer, FilterCellRenderer, StackedHeaderCellRenderer, Render, IndentCellRenderer, GroupCaptionCellRenderer, GroupCaptionEmptyCellRenderer, BatchEditRender, DialogEditRender, InlineEditRender, EditRender, BooleanEditCell, DefaultEditCell, DropDownEditCell, NumericEditCell, DatePickerEditCell, CommandColumnRenderer, FreezeContentRender, FreezeRender, StringFilterUI, NumberFilterUI, DateFilterUI, BooleanFilterUI, FlMenuOptrUI, AutoCompleteEditCell, ComboboxEditCell, MultiSelectEditCell, TimePickerEditCell, ToggleEditCell, MaskedTextBoxCellEdit, VirtualContentRenderer, VirtualHeaderRenderer, VirtualElementHandler, GroupLazyLoadRenderer, CellRendererFactory, ServiceLocator, RowModelGenerator, GroupModelGenerator, FreezeRowModelGenerator, ValueFormatter, VirtualRowModelGenerator, InterSectionObserver, Pager, ExternalMessage, NumericContainer, PagerMessage, PagerDropDown };
|
|
41544
41612
|
//# sourceMappingURL=ej2-grids.es5.js.map
|