@syncfusion/ej2-grids 18.3.48 → 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 -1790
- 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 +94 -80
- package/dist/es6/ej2-grids.es2015.js.map +1 -1
- package/dist/es6/ej2-grids.es5.js +649 -633
- 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-filter.js +13 -13
- package/src/grid/actions/foreign-key.js +13 -13
- package/src/grid/actions/inline-edit.js +13 -13
- package/src/grid/actions/normal-edit.js +2 -2
- package/src/grid/actions/print.js +4 -4
- package/src/grid/actions/resize.js +4 -1
- package/src/grid/actions/selection.js +15 -15
- package/src/grid/actions/toolbar.js +8 -8
- package/src/grid/base/grid-model.d.ts +1283 -1283
- package/src/grid/base/grid.d.ts +44 -44
- package/src/grid/base/grid.js +23 -23
- package/src/grid/base/interface.d.ts +1 -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 +2 -2
- 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 +13 -13
- package/src/grid/renderer/command-column-renderer.js +13 -13
- package/src/grid/renderer/content-renderer.js +3 -0
- 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/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/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/summary-model-generator.js +13 -13
- package/src/pager/pager-dropdown.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([
|
|
@@ -891,7 +891,7 @@ var AggregateTemplateType;
|
|
|
891
891
|
* Grid data module is used to generate query and data source.
|
|
892
892
|
* @hidden
|
|
893
893
|
*/
|
|
894
|
-
var Data = /** @
|
|
894
|
+
var Data = /** @class */ (function () {
|
|
895
895
|
/**
|
|
896
896
|
* Constructor for data module.
|
|
897
897
|
* @hidden
|
|
@@ -1482,7 +1482,7 @@ var Data = /** @__PURE__ @class */ (function () {
|
|
|
1482
1482
|
* Row
|
|
1483
1483
|
* @hidden
|
|
1484
1484
|
*/
|
|
1485
|
-
var Row = /** @
|
|
1485
|
+
var Row = /** @class */ (function () {
|
|
1486
1486
|
function Row(options, parent) {
|
|
1487
1487
|
merge(this, options);
|
|
1488
1488
|
this.parent = parent;
|
|
@@ -1532,7 +1532,7 @@ var Row = /** @__PURE__ @class */ (function () {
|
|
|
1532
1532
|
* Cell
|
|
1533
1533
|
* @hidden
|
|
1534
1534
|
*/
|
|
1535
|
-
var Cell = /** @
|
|
1535
|
+
var Cell = /** @class */ (function () {
|
|
1536
1536
|
function Cell(options) {
|
|
1537
1537
|
this.isSpanned = false;
|
|
1538
1538
|
this.isRowSpanned = false;
|
|
@@ -1550,7 +1550,7 @@ var Cell = /** @__PURE__ @class */ (function () {
|
|
|
1550
1550
|
* `CellMergeRender` module.
|
|
1551
1551
|
* @hidden
|
|
1552
1552
|
*/
|
|
1553
|
-
var CellMergeRender = /** @
|
|
1553
|
+
var CellMergeRender = /** @class */ (function () {
|
|
1554
1554
|
function CellMergeRender(serviceLocator, parent) {
|
|
1555
1555
|
this.serviceLocator = serviceLocator;
|
|
1556
1556
|
this.parent = parent;
|
|
@@ -1671,7 +1671,7 @@ var CellMergeRender = /** @__PURE__ @class */ (function () {
|
|
|
1671
1671
|
* RowRenderer class which responsible for building row content.
|
|
1672
1672
|
* @hidden
|
|
1673
1673
|
*/
|
|
1674
|
-
var RowRenderer = /** @
|
|
1674
|
+
var RowRenderer = /** @class */ (function () {
|
|
1675
1675
|
function RowRenderer(serviceLocator, cellType, parent) {
|
|
1676
1676
|
this.isSpan = false;
|
|
1677
1677
|
this.cellType = cellType;
|
|
@@ -1865,7 +1865,7 @@ var RowRenderer = /** @__PURE__ @class */ (function () {
|
|
|
1865
1865
|
* RowModelGenerator is used to generate grid data rows.
|
|
1866
1866
|
* @hidden
|
|
1867
1867
|
*/
|
|
1868
|
-
var RowModelGenerator = /** @
|
|
1868
|
+
var RowModelGenerator = /** @class */ (function () {
|
|
1869
1869
|
/**
|
|
1870
1870
|
* Constructor for header renderer module
|
|
1871
1871
|
*/
|
|
@@ -1978,24 +1978,24 @@ var RowModelGenerator = /** @__PURE__ @class */ (function () {
|
|
|
1978
1978
|
return RowModelGenerator;
|
|
1979
1979
|
}());
|
|
1980
1980
|
|
|
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
|
-
})();
|
|
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
|
+
})();
|
|
1994
1994
|
/**
|
|
1995
1995
|
* Summary row model generator
|
|
1996
1996
|
* @hidden
|
|
1997
1997
|
*/
|
|
1998
|
-
var SummaryModelGenerator = /** @
|
|
1998
|
+
var SummaryModelGenerator = /** @class */ (function () {
|
|
1999
1999
|
/**
|
|
2000
2000
|
* Constructor for Summary row model generator
|
|
2001
2001
|
*/
|
|
@@ -2145,7 +2145,7 @@ var SummaryModelGenerator = /** @__PURE__ @class */ (function () {
|
|
|
2145
2145
|
};
|
|
2146
2146
|
return SummaryModelGenerator;
|
|
2147
2147
|
}());
|
|
2148
|
-
var GroupSummaryModelGenerator = /** @
|
|
2148
|
+
var GroupSummaryModelGenerator = /** @class */ (function (_super) {
|
|
2149
2149
|
__extends$2(GroupSummaryModelGenerator, _super);
|
|
2150
2150
|
function GroupSummaryModelGenerator() {
|
|
2151
2151
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -2162,7 +2162,7 @@ var GroupSummaryModelGenerator = /** @__PURE__ @class */ (function (_super) {
|
|
|
2162
2162
|
};
|
|
2163
2163
|
return GroupSummaryModelGenerator;
|
|
2164
2164
|
}(SummaryModelGenerator));
|
|
2165
|
-
var CaptionSummaryModelGenerator = /** @
|
|
2165
|
+
var CaptionSummaryModelGenerator = /** @class */ (function (_super) {
|
|
2166
2166
|
__extends$2(CaptionSummaryModelGenerator, _super);
|
|
2167
2167
|
function CaptionSummaryModelGenerator() {
|
|
2168
2168
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -2186,24 +2186,24 @@ var CaptionSummaryModelGenerator = /** @__PURE__ @class */ (function (_super) {
|
|
|
2186
2186
|
return CaptionSummaryModelGenerator;
|
|
2187
2187
|
}(SummaryModelGenerator));
|
|
2188
2188
|
|
|
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
|
-
})();
|
|
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
|
+
})();
|
|
2202
2202
|
/**
|
|
2203
2203
|
* GroupModelGenerator is used to generate group caption rows and data rows.
|
|
2204
2204
|
* @hidden
|
|
2205
2205
|
*/
|
|
2206
|
-
var GroupModelGenerator = /** @
|
|
2206
|
+
var GroupModelGenerator = /** @class */ (function (_super) {
|
|
2207
2207
|
__extends$1(GroupModelGenerator, _super);
|
|
2208
2208
|
function GroupModelGenerator(parent) {
|
|
2209
2209
|
var _this = _super.call(this, parent) || this;
|
|
@@ -2411,7 +2411,7 @@ var GroupModelGenerator = /** @__PURE__ @class */ (function (_super) {
|
|
|
2411
2411
|
* Content module is used to render grid content
|
|
2412
2412
|
* @hidden
|
|
2413
2413
|
*/
|
|
2414
|
-
var ContentRender = /** @
|
|
2414
|
+
var ContentRender = /** @class */ (function () {
|
|
2415
2415
|
/**
|
|
2416
2416
|
* Constructor for content renderer module
|
|
2417
2417
|
*/
|
|
@@ -3586,6 +3586,9 @@ var ContentRender = /** @__PURE__ @class */ (function () {
|
|
|
3586
3586
|
ContentRender.prototype.refreshImmutableContent = function (index, tr, row) {
|
|
3587
3587
|
row.isAltRow = this.parent.enableAltRow ? index % 2 !== 0 : false;
|
|
3588
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;
|
|
3589
3592
|
tr.setAttribute('aria-rowindex', index.toString());
|
|
3590
3593
|
this.updateCellIndex(tr, index);
|
|
3591
3594
|
};
|
|
@@ -3601,7 +3604,7 @@ var ContentRender = /** @__PURE__ @class */ (function () {
|
|
|
3601
3604
|
* Content module is used to render grid content
|
|
3602
3605
|
* @hidden
|
|
3603
3606
|
*/
|
|
3604
|
-
var HeaderRender = /** @
|
|
3607
|
+
var HeaderRender = /** @class */ (function () {
|
|
3605
3608
|
/**
|
|
3606
3609
|
* Constructor for header renderer module
|
|
3607
3610
|
*/
|
|
@@ -4295,7 +4298,7 @@ var HeaderRender = /** @__PURE__ @class */ (function () {
|
|
|
4295
4298
|
* CellRenderer class which responsible for building cell content.
|
|
4296
4299
|
* @hidden
|
|
4297
4300
|
*/
|
|
4298
|
-
var CellRenderer = /** @
|
|
4301
|
+
var CellRenderer = /** @class */ (function () {
|
|
4299
4302
|
function CellRenderer(parent, locator) {
|
|
4300
4303
|
this.localizer = locator.getService('localization');
|
|
4301
4304
|
this.formatter = locator.getService('valueFormatter');
|
|
@@ -4564,7 +4567,7 @@ var CellRenderer = /** @__PURE__ @class */ (function () {
|
|
|
4564
4567
|
* AriaService
|
|
4565
4568
|
* @hidden
|
|
4566
4569
|
*/
|
|
4567
|
-
var AriaService = /** @
|
|
4570
|
+
var AriaService = /** @class */ (function () {
|
|
4568
4571
|
function AriaService() {
|
|
4569
4572
|
}
|
|
4570
4573
|
AriaService.prototype.setOptions = function (target, options) {
|
|
@@ -4619,24 +4622,24 @@ var config = {
|
|
|
4619
4622
|
rowcount: 'aria-rowcount'
|
|
4620
4623
|
};
|
|
4621
4624
|
|
|
4622
|
-
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
4623
|
-
var extendStatics = function (d, b) {
|
|
4624
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4625
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4626
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4627
|
-
return extendStatics(d, b);
|
|
4628
|
-
};
|
|
4629
|
-
return function (d, b) {
|
|
4630
|
-
extendStatics(d, b);
|
|
4631
|
-
function __() { this.constructor = d; }
|
|
4632
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4633
|
-
};
|
|
4634
|
-
})();
|
|
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
|
+
})();
|
|
4635
4638
|
/**
|
|
4636
4639
|
* HeaderCellRenderer class which responsible for building header cell content.
|
|
4637
4640
|
* @hidden
|
|
4638
4641
|
*/
|
|
4639
|
-
var HeaderCellRenderer = /** @
|
|
4642
|
+
var HeaderCellRenderer = /** @class */ (function (_super) {
|
|
4640
4643
|
__extends$3(HeaderCellRenderer, _super);
|
|
4641
4644
|
function HeaderCellRenderer() {
|
|
4642
4645
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -4833,24 +4836,24 @@ var HeaderCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
4833
4836
|
return HeaderCellRenderer;
|
|
4834
4837
|
}(CellRenderer));
|
|
4835
4838
|
|
|
4836
|
-
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
4837
|
-
var extendStatics = function (d, b) {
|
|
4838
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4839
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4840
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4841
|
-
return extendStatics(d, b);
|
|
4842
|
-
};
|
|
4843
|
-
return function (d, b) {
|
|
4844
|
-
extendStatics(d, b);
|
|
4845
|
-
function __() { this.constructor = d; }
|
|
4846
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4847
|
-
};
|
|
4848
|
-
})();
|
|
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
|
+
})();
|
|
4849
4852
|
/**
|
|
4850
4853
|
* StackedHeaderCellRenderer class which responsible for building stacked header cell content.
|
|
4851
4854
|
* @hidden
|
|
4852
4855
|
*/
|
|
4853
|
-
var StackedHeaderCellRenderer = /** @
|
|
4856
|
+
var StackedHeaderCellRenderer = /** @class */ (function (_super) {
|
|
4854
4857
|
__extends$4(StackedHeaderCellRenderer, _super);
|
|
4855
4858
|
function StackedHeaderCellRenderer() {
|
|
4856
4859
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -4911,24 +4914,24 @@ var StackedHeaderCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
4911
4914
|
return StackedHeaderCellRenderer;
|
|
4912
4915
|
}(CellRenderer));
|
|
4913
4916
|
|
|
4914
|
-
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
4915
|
-
var extendStatics = function (d, b) {
|
|
4916
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4917
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4918
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4919
|
-
return extendStatics(d, b);
|
|
4920
|
-
};
|
|
4921
|
-
return function (d, b) {
|
|
4922
|
-
extendStatics(d, b);
|
|
4923
|
-
function __() { this.constructor = d; }
|
|
4924
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4925
|
-
};
|
|
4926
|
-
})();
|
|
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
|
+
})();
|
|
4927
4930
|
/**
|
|
4928
4931
|
* IndentCellRenderer class which responsible for building group indent cell.
|
|
4929
4932
|
* @hidden
|
|
4930
4933
|
*/
|
|
4931
|
-
var IndentCellRenderer = /** @
|
|
4934
|
+
var IndentCellRenderer = /** @class */ (function (_super) {
|
|
4932
4935
|
__extends$5(IndentCellRenderer, _super);
|
|
4933
4936
|
function IndentCellRenderer() {
|
|
4934
4937
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -4948,24 +4951,24 @@ var IndentCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
4948
4951
|
return IndentCellRenderer;
|
|
4949
4952
|
}(CellRenderer));
|
|
4950
4953
|
|
|
4951
|
-
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
4952
|
-
var extendStatics = function (d, b) {
|
|
4953
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4954
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4955
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4956
|
-
return extendStatics(d, b);
|
|
4957
|
-
};
|
|
4958
|
-
return function (d, b) {
|
|
4959
|
-
extendStatics(d, b);
|
|
4960
|
-
function __() { this.constructor = d; }
|
|
4961
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4962
|
-
};
|
|
4963
|
-
})();
|
|
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
|
+
})();
|
|
4964
4967
|
/**
|
|
4965
4968
|
* GroupCaptionCellRenderer class which responsible for building group caption cell.
|
|
4966
4969
|
* @hidden
|
|
4967
4970
|
*/
|
|
4968
|
-
var GroupCaptionCellRenderer = /** @
|
|
4971
|
+
var GroupCaptionCellRenderer = /** @class */ (function (_super) {
|
|
4969
4972
|
__extends$6(GroupCaptionCellRenderer, _super);
|
|
4970
4973
|
function GroupCaptionCellRenderer() {
|
|
4971
4974
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5033,7 +5036,7 @@ var GroupCaptionCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
5033
5036
|
* GroupCaptionEmptyCellRenderer class which responsible for building group caption empty cell.
|
|
5034
5037
|
* @hidden
|
|
5035
5038
|
*/
|
|
5036
|
-
var GroupCaptionEmptyCellRenderer = /** @
|
|
5039
|
+
var GroupCaptionEmptyCellRenderer = /** @class */ (function (_super) {
|
|
5037
5040
|
__extends$6(GroupCaptionEmptyCellRenderer, _super);
|
|
5038
5041
|
function GroupCaptionEmptyCellRenderer() {
|
|
5039
5042
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5054,24 +5057,24 @@ var GroupCaptionEmptyCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
5054
5057
|
return GroupCaptionEmptyCellRenderer;
|
|
5055
5058
|
}(CellRenderer));
|
|
5056
5059
|
|
|
5057
|
-
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
5058
|
-
var extendStatics = function (d, b) {
|
|
5059
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5060
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5061
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5062
|
-
return extendStatics(d, b);
|
|
5063
|
-
};
|
|
5064
|
-
return function (d, b) {
|
|
5065
|
-
extendStatics(d, b);
|
|
5066
|
-
function __() { this.constructor = d; }
|
|
5067
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5068
|
-
};
|
|
5069
|
-
})();
|
|
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
|
+
})();
|
|
5070
5073
|
/**
|
|
5071
5074
|
* ExpandCellRenderer class which responsible for building group expand cell.
|
|
5072
5075
|
* @hidden
|
|
5073
5076
|
*/
|
|
5074
|
-
var ExpandCellRenderer = /** @
|
|
5077
|
+
var ExpandCellRenderer = /** @class */ (function (_super) {
|
|
5075
5078
|
__extends$7(ExpandCellRenderer, _super);
|
|
5076
5079
|
function ExpandCellRenderer() {
|
|
5077
5080
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5098,24 +5101,24 @@ var ExpandCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
5098
5101
|
return ExpandCellRenderer;
|
|
5099
5102
|
}(IndentCellRenderer));
|
|
5100
5103
|
|
|
5101
|
-
var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
5102
|
-
var extendStatics = function (d, b) {
|
|
5103
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5104
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5105
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5106
|
-
return extendStatics(d, b);
|
|
5107
|
-
};
|
|
5108
|
-
return function (d, b) {
|
|
5109
|
-
extendStatics(d, b);
|
|
5110
|
-
function __() { this.constructor = d; }
|
|
5111
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5112
|
-
};
|
|
5113
|
-
})();
|
|
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
|
+
})();
|
|
5114
5117
|
/**
|
|
5115
5118
|
* HeaderIndentCellRenderer class which responsible for building header indent cell.
|
|
5116
5119
|
* @hidden
|
|
5117
5120
|
*/
|
|
5118
|
-
var HeaderIndentCellRenderer = /** @
|
|
5121
|
+
var HeaderIndentCellRenderer = /** @class */ (function (_super) {
|
|
5119
5122
|
__extends$8(HeaderIndentCellRenderer, _super);
|
|
5120
5123
|
function HeaderIndentCellRenderer() {
|
|
5121
5124
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5135,24 +5138,24 @@ var HeaderIndentCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
5135
5138
|
return HeaderIndentCellRenderer;
|
|
5136
5139
|
}(CellRenderer));
|
|
5137
5140
|
|
|
5138
|
-
var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
5139
|
-
var extendStatics = function (d, b) {
|
|
5140
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5141
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5142
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5143
|
-
return extendStatics(d, b);
|
|
5144
|
-
};
|
|
5145
|
-
return function (d, b) {
|
|
5146
|
-
extendStatics(d, b);
|
|
5147
|
-
function __() { this.constructor = d; }
|
|
5148
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5149
|
-
};
|
|
5150
|
-
})();
|
|
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
|
+
})();
|
|
5151
5154
|
/**
|
|
5152
5155
|
* DetailHeaderIndentCellRenderer class which responsible for building detail header indent cell.
|
|
5153
5156
|
* @hidden
|
|
5154
5157
|
*/
|
|
5155
|
-
var DetailHeaderIndentCellRenderer = /** @
|
|
5158
|
+
var DetailHeaderIndentCellRenderer = /** @class */ (function (_super) {
|
|
5156
5159
|
__extends$9(DetailHeaderIndentCellRenderer, _super);
|
|
5157
5160
|
function DetailHeaderIndentCellRenderer() {
|
|
5158
5161
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5172,24 +5175,24 @@ var DetailHeaderIndentCellRenderer = /** @__PURE__ @class */ (function (_super)
|
|
|
5172
5175
|
return DetailHeaderIndentCellRenderer;
|
|
5173
5176
|
}(CellRenderer));
|
|
5174
5177
|
|
|
5175
|
-
var __extends$10 = (undefined && undefined.__extends) || (function () {
|
|
5176
|
-
var extendStatics = function (d, b) {
|
|
5177
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5178
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5179
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5180
|
-
return extendStatics(d, b);
|
|
5181
|
-
};
|
|
5182
|
-
return function (d, b) {
|
|
5183
|
-
extendStatics(d, b);
|
|
5184
|
-
function __() { this.constructor = d; }
|
|
5185
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5186
|
-
};
|
|
5187
|
-
})();
|
|
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
|
+
})();
|
|
5188
5191
|
/**
|
|
5189
5192
|
* ExpandCellRenderer class which responsible for building group expand cell.
|
|
5190
5193
|
* @hidden
|
|
5191
5194
|
*/
|
|
5192
|
-
var DetailExpandCellRenderer = /** @
|
|
5195
|
+
var DetailExpandCellRenderer = /** @class */ (function (_super) {
|
|
5193
5196
|
__extends$10(DetailExpandCellRenderer, _super);
|
|
5194
5197
|
function DetailExpandCellRenderer() {
|
|
5195
5198
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5217,24 +5220,24 @@ var DetailExpandCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
5217
5220
|
return DetailExpandCellRenderer;
|
|
5218
5221
|
}(CellRenderer));
|
|
5219
5222
|
|
|
5220
|
-
var __extends$11 = (undefined && undefined.__extends) || (function () {
|
|
5221
|
-
var extendStatics = function (d, b) {
|
|
5222
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5223
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5224
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5225
|
-
return extendStatics(d, b);
|
|
5226
|
-
};
|
|
5227
|
-
return function (d, b) {
|
|
5228
|
-
extendStatics(d, b);
|
|
5229
|
-
function __() { this.constructor = d; }
|
|
5230
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5231
|
-
};
|
|
5232
|
-
})();
|
|
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
|
+
})();
|
|
5233
5236
|
/**
|
|
5234
5237
|
* ExpandCellRenderer class which responsible for building group expand cell.
|
|
5235
5238
|
* @hidden
|
|
5236
5239
|
*/
|
|
5237
|
-
var RowDragDropRenderer = /** @
|
|
5240
|
+
var RowDragDropRenderer = /** @class */ (function (_super) {
|
|
5238
5241
|
__extends$11(RowDragDropRenderer, _super);
|
|
5239
5242
|
function RowDragDropRenderer() {
|
|
5240
5243
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5261,24 +5264,24 @@ var RowDragDropRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
5261
5264
|
return RowDragDropRenderer;
|
|
5262
5265
|
}(CellRenderer));
|
|
5263
5266
|
|
|
5264
|
-
var __extends$12 = (undefined && undefined.__extends) || (function () {
|
|
5265
|
-
var extendStatics = function (d, b) {
|
|
5266
|
-
extendStatics = Object.setPrototypeOf ||
|
|
5267
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5268
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
5269
|
-
return extendStatics(d, b);
|
|
5270
|
-
};
|
|
5271
|
-
return function (d, b) {
|
|
5272
|
-
extendStatics(d, b);
|
|
5273
|
-
function __() { this.constructor = d; }
|
|
5274
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
5275
|
-
};
|
|
5276
|
-
})();
|
|
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
|
+
})();
|
|
5277
5280
|
/**
|
|
5278
5281
|
* DetailHeaderIndentCellRenderer class which responsible for building detail header indent cell.
|
|
5279
5282
|
* @hidden
|
|
5280
5283
|
*/
|
|
5281
|
-
var RowDragDropHeaderRenderer = /** @
|
|
5284
|
+
var RowDragDropHeaderRenderer = /** @class */ (function (_super) {
|
|
5282
5285
|
__extends$12(RowDragDropHeaderRenderer, _super);
|
|
5283
5286
|
function RowDragDropHeaderRenderer() {
|
|
5284
5287
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -5302,7 +5305,7 @@ var RowDragDropHeaderRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
5302
5305
|
* Content module is used to render grid content
|
|
5303
5306
|
* @hidden
|
|
5304
5307
|
*/
|
|
5305
|
-
var Render = /** @
|
|
5308
|
+
var Render = /** @class */ (function () {
|
|
5306
5309
|
/**
|
|
5307
5310
|
* Constructor for render module
|
|
5308
5311
|
*/
|
|
@@ -5997,7 +6000,7 @@ var Render = /** @__PURE__ @class */ (function () {
|
|
|
5997
6000
|
* CellRendererFactory
|
|
5998
6001
|
* @hidden
|
|
5999
6002
|
*/
|
|
6000
|
-
var CellRendererFactory = /** @
|
|
6003
|
+
var CellRendererFactory = /** @class */ (function () {
|
|
6001
6004
|
function CellRendererFactory() {
|
|
6002
6005
|
this.cellRenderMap = {};
|
|
6003
6006
|
}
|
|
@@ -6023,7 +6026,7 @@ var CellRendererFactory = /** @__PURE__ @class */ (function () {
|
|
|
6023
6026
|
* ServiceLocator
|
|
6024
6027
|
* @hidden
|
|
6025
6028
|
*/
|
|
6026
|
-
var ServiceLocator = /** @
|
|
6029
|
+
var ServiceLocator = /** @class */ (function () {
|
|
6027
6030
|
function ServiceLocator() {
|
|
6028
6031
|
this.services = {};
|
|
6029
6032
|
}
|
|
@@ -6045,7 +6048,7 @@ var ServiceLocator = /** @__PURE__ @class */ (function () {
|
|
|
6045
6048
|
* RendererFactory
|
|
6046
6049
|
* @hidden
|
|
6047
6050
|
*/
|
|
6048
|
-
var RendererFactory = /** @
|
|
6051
|
+
var RendererFactory = /** @class */ (function () {
|
|
6049
6052
|
function RendererFactory() {
|
|
6050
6053
|
this.rendererMap = {};
|
|
6051
6054
|
}
|
|
@@ -6071,7 +6074,7 @@ var RendererFactory = /** @__PURE__ @class */ (function () {
|
|
|
6071
6074
|
* ColumnWidthService
|
|
6072
6075
|
* @hidden
|
|
6073
6076
|
*/
|
|
6074
|
-
var ColumnWidthService = /** @
|
|
6077
|
+
var ColumnWidthService = /** @class */ (function () {
|
|
6075
6078
|
function ColumnWidthService(parent) {
|
|
6076
6079
|
this.parent = parent;
|
|
6077
6080
|
}
|
|
@@ -6360,24 +6363,24 @@ var ColumnWidthService = /** @__PURE__ @class */ (function () {
|
|
|
6360
6363
|
return ColumnWidthService;
|
|
6361
6364
|
}());
|
|
6362
6365
|
|
|
6363
|
-
var __extends$13 = (undefined && undefined.__extends) || (function () {
|
|
6364
|
-
var extendStatics = function (d, b) {
|
|
6365
|
-
extendStatics = Object.setPrototypeOf ||
|
|
6366
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
6367
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6368
|
-
return extendStatics(d, b);
|
|
6369
|
-
};
|
|
6370
|
-
return function (d, b) {
|
|
6371
|
-
extendStatics(d, b);
|
|
6372
|
-
function __() { this.constructor = d; }
|
|
6373
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
6374
|
-
};
|
|
6375
|
-
})();
|
|
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
|
+
})();
|
|
6376
6379
|
/**
|
|
6377
6380
|
* FocusStrategy class
|
|
6378
6381
|
* @hidden
|
|
6379
6382
|
*/
|
|
6380
|
-
var FocusStrategy = /** @
|
|
6383
|
+
var FocusStrategy = /** @class */ (function () {
|
|
6381
6384
|
function FocusStrategy(parent) {
|
|
6382
6385
|
this.currentInfo = {};
|
|
6383
6386
|
this.oneTime = true;
|
|
@@ -6587,7 +6590,7 @@ var FocusStrategy = /** @__PURE__ @class */ (function () {
|
|
|
6587
6590
|
this.addFocus(this.getContent().getFocusInfo(), e);
|
|
6588
6591
|
};
|
|
6589
6592
|
FocusStrategy.prototype.removeFocus = function (e) {
|
|
6590
|
-
if (!this.currentInfo.element) {
|
|
6593
|
+
if (!this.currentInfo.element || !this.currentInfo.elementToFocus) {
|
|
6591
6594
|
return;
|
|
6592
6595
|
}
|
|
6593
6596
|
removeClass([this.currentInfo.element, this.currentInfo.elementToFocus], ['e-focused', 'e-focus']);
|
|
@@ -6619,7 +6622,7 @@ var FocusStrategy = /** @__PURE__ @class */ (function () {
|
|
|
6619
6622
|
FocusStrategy.prototype.addFocus = function (info, e) {
|
|
6620
6623
|
this.currentInfo = info;
|
|
6621
6624
|
this.currentInfo.outline = info.outline && !isNullOrUndefined(e);
|
|
6622
|
-
if (!info.element) {
|
|
6625
|
+
if (!info.element || !info.elementToFocus) {
|
|
6623
6626
|
return;
|
|
6624
6627
|
}
|
|
6625
6628
|
var isFocused = info.elementToFocus.classList.contains('e-focus');
|
|
@@ -6876,7 +6879,7 @@ var FocusStrategy = /** @__PURE__ @class */ (function () {
|
|
|
6876
6879
|
* Create matrix from row collection which act as mental model for cell navigation
|
|
6877
6880
|
* @hidden
|
|
6878
6881
|
*/
|
|
6879
|
-
var Matrix = /** @
|
|
6882
|
+
var Matrix = /** @class */ (function () {
|
|
6880
6883
|
function Matrix() {
|
|
6881
6884
|
this.matrix = [];
|
|
6882
6885
|
this.current = [];
|
|
@@ -6955,7 +6958,7 @@ var Matrix = /** @__PURE__ @class */ (function () {
|
|
|
6955
6958
|
/**
|
|
6956
6959
|
* @hidden
|
|
6957
6960
|
*/
|
|
6958
|
-
var ContentFocus = /** @
|
|
6961
|
+
var ContentFocus = /** @class */ (function () {
|
|
6959
6962
|
function ContentFocus(parent) {
|
|
6960
6963
|
var _this = this;
|
|
6961
6964
|
this.matrix = new Matrix();
|
|
@@ -7040,6 +7043,7 @@ var ContentFocus = /** @__PURE__ @class */ (function () {
|
|
|
7040
7043
|
};
|
|
7041
7044
|
ContentFocus.prototype.onClick = function (e, force) {
|
|
7042
7045
|
var target = e.target;
|
|
7046
|
+
this.target = target;
|
|
7043
7047
|
target = (target.classList.contains('e-rowcell') ? target : closest(target, 'td'));
|
|
7044
7048
|
target = target ? target : closest(e.target, 'td.e-detailrowcollapse')
|
|
7045
7049
|
|| closest(e.target, 'td.e-detailrowexpand');
|
|
@@ -7073,7 +7077,9 @@ var ContentFocus = /** @__PURE__ @class */ (function () {
|
|
|
7073
7077
|
return info;
|
|
7074
7078
|
};
|
|
7075
7079
|
ContentFocus.prototype.getFocusable = function (element) {
|
|
7080
|
+
var _this = this;
|
|
7076
7081
|
var query = 'button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])';
|
|
7082
|
+
var isTemplate = !isNullOrUndefined(closest(element, '.e-templatecell'));
|
|
7077
7083
|
if (this.parent.isEdit) {
|
|
7078
7084
|
query = 'input:not([type="hidden"]), select:not([aria-hidden="true"]), textarea';
|
|
7079
7085
|
}
|
|
@@ -7082,7 +7088,14 @@ var ContentFocus = /** @__PURE__ @class */ (function () {
|
|
|
7082
7088
|
* if no child found then select the cell itself.
|
|
7083
7089
|
* if Grid is in editable state, check for editable control inside child.
|
|
7084
7090
|
*/
|
|
7085
|
-
|
|
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
|
+
}
|
|
7086
7099
|
};
|
|
7087
7100
|
ContentFocus.prototype.selector = function (row, cell, isRowTemplate) {
|
|
7088
7101
|
var types = [CellType.Expand, CellType.GroupCaption, CellType.CaptionSummary, CellType.GroupSummary];
|
|
@@ -7201,7 +7214,7 @@ var ContentFocus = /** @__PURE__ @class */ (function () {
|
|
|
7201
7214
|
/**
|
|
7202
7215
|
* @hidden
|
|
7203
7216
|
*/
|
|
7204
|
-
var HeaderFocus = /** @
|
|
7217
|
+
var HeaderFocus = /** @class */ (function (_super) {
|
|
7205
7218
|
__extends$13(HeaderFocus, _super);
|
|
7206
7219
|
function HeaderFocus(parent) {
|
|
7207
7220
|
return _super.call(this, parent) || this;
|
|
@@ -7321,7 +7334,7 @@ var HeaderFocus = /** @__PURE__ @class */ (function (_super) {
|
|
|
7321
7334
|
};
|
|
7322
7335
|
return HeaderFocus;
|
|
7323
7336
|
}(ContentFocus));
|
|
7324
|
-
var FixedContentFocus = /** @
|
|
7337
|
+
var FixedContentFocus = /** @class */ (function (_super) {
|
|
7325
7338
|
__extends$13(FixedContentFocus, _super);
|
|
7326
7339
|
function FixedContentFocus() {
|
|
7327
7340
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -7357,7 +7370,7 @@ var FixedContentFocus = /** @__PURE__ @class */ (function (_super) {
|
|
|
7357
7370
|
};
|
|
7358
7371
|
return FixedContentFocus;
|
|
7359
7372
|
}(ContentFocus));
|
|
7360
|
-
var FixedHeaderFocus = /** @
|
|
7373
|
+
var FixedHeaderFocus = /** @class */ (function (_super) {
|
|
7361
7374
|
__extends$13(FixedHeaderFocus, _super);
|
|
7362
7375
|
function FixedHeaderFocus() {
|
|
7363
7376
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -7392,7 +7405,7 @@ var FixedHeaderFocus = /** @__PURE__ @class */ (function (_super) {
|
|
|
7392
7405
|
return FixedHeaderFocus;
|
|
7393
7406
|
}(HeaderFocus));
|
|
7394
7407
|
/** @hidden */
|
|
7395
|
-
var SearchBox = /** @
|
|
7408
|
+
var SearchBox = /** @class */ (function () {
|
|
7396
7409
|
function SearchBox(searchBox) {
|
|
7397
7410
|
this.searchBox = searchBox;
|
|
7398
7411
|
}
|
|
@@ -7417,29 +7430,29 @@ var SearchBox = /** @__PURE__ @class */ (function () {
|
|
|
7417
7430
|
return SearchBox;
|
|
7418
7431
|
}());
|
|
7419
7432
|
|
|
7420
|
-
var __extends$14 = (undefined && undefined.__extends) || (function () {
|
|
7421
|
-
var extendStatics = function (d, b) {
|
|
7422
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7423
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7424
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7425
|
-
return extendStatics(d, b);
|
|
7426
|
-
};
|
|
7427
|
-
return function (d, b) {
|
|
7428
|
-
extendStatics(d, b);
|
|
7429
|
-
function __() { this.constructor = d; }
|
|
7430
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7431
|
-
};
|
|
7432
|
-
})();
|
|
7433
|
-
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7434
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7435
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7436
|
-
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;
|
|
7437
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7438
|
-
};
|
|
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
|
+
};
|
|
7439
7452
|
/**
|
|
7440
7453
|
* Configures the paging behavior of the Grid.
|
|
7441
7454
|
*/
|
|
7442
|
-
var PageSettings = /** @
|
|
7455
|
+
var PageSettings = /** @class */ (function (_super) {
|
|
7443
7456
|
__extends$14(PageSettings, _super);
|
|
7444
7457
|
function PageSettings() {
|
|
7445
7458
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -7468,29 +7481,29 @@ var PageSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
7468
7481
|
return PageSettings;
|
|
7469
7482
|
}(ChildProperty));
|
|
7470
7483
|
|
|
7471
|
-
var __extends$15 = (undefined && undefined.__extends) || (function () {
|
|
7472
|
-
var extendStatics = function (d, b) {
|
|
7473
|
-
extendStatics = Object.setPrototypeOf ||
|
|
7474
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
7475
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
7476
|
-
return extendStatics(d, b);
|
|
7477
|
-
};
|
|
7478
|
-
return function (d, b) {
|
|
7479
|
-
extendStatics(d, b);
|
|
7480
|
-
function __() { this.constructor = d; }
|
|
7481
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
7482
|
-
};
|
|
7483
|
-
})();
|
|
7484
|
-
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7485
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
7486
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
7487
|
-
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;
|
|
7488
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7489
|
-
};
|
|
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
|
+
};
|
|
7490
7503
|
/**
|
|
7491
7504
|
* Configures the column chooser behavior of the Grid.
|
|
7492
7505
|
*/
|
|
7493
|
-
var ColumnChooserSettings = /** @
|
|
7506
|
+
var ColumnChooserSettings = /** @class */ (function (_super) {
|
|
7494
7507
|
__extends$15(ColumnChooserSettings, _super);
|
|
7495
7508
|
function ColumnChooserSettings() {
|
|
7496
7509
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -7501,21 +7514,21 @@ var ColumnChooserSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
7501
7514
|
return ColumnChooserSettings;
|
|
7502
7515
|
}(ChildProperty));
|
|
7503
7516
|
|
|
7504
|
-
var __assign = (undefined && undefined.__assign) || function () {
|
|
7505
|
-
__assign = Object.assign || function(t) {
|
|
7506
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
7507
|
-
s = arguments[i];
|
|
7508
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7509
|
-
t[p] = s[p];
|
|
7510
|
-
}
|
|
7511
|
-
return t;
|
|
7512
|
-
};
|
|
7513
|
-
return __assign.apply(this, arguments);
|
|
7514
|
-
};
|
|
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
|
+
};
|
|
7515
7528
|
/**
|
|
7516
7529
|
* The `Selection` module is used to handle cell and row selection.
|
|
7517
7530
|
*/
|
|
7518
|
-
var Selection = /** @
|
|
7531
|
+
var Selection = /** @class */ (function () {
|
|
7519
7532
|
/**
|
|
7520
7533
|
* Constructor for the Grid selection module
|
|
7521
7534
|
* @hidden
|
|
@@ -9419,9 +9432,9 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
9419
9432
|
if (rindex < this.parent.frozenRows) {
|
|
9420
9433
|
isFrozenRow = true;
|
|
9421
9434
|
}
|
|
9422
|
-
if (!
|
|
9423
|
-
if (
|
|
9424
|
-
|
|
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();
|
|
9425
9438
|
}
|
|
9426
9439
|
this.autofill = createElement('div', { className: 'e-autofill', id: this.parent.element.id + '_autofill' });
|
|
9427
9440
|
this.autofill.style.display = 'none';
|
|
@@ -10584,7 +10597,7 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
10584
10597
|
/**
|
|
10585
10598
|
* The `Search` module is used to handle search action.
|
|
10586
10599
|
*/
|
|
10587
|
-
var Search = /** @
|
|
10600
|
+
var Search = /** @class */ (function () {
|
|
10588
10601
|
/**
|
|
10589
10602
|
* Constructor for Grid search module.
|
|
10590
10603
|
* @hidden
|
|
@@ -10702,7 +10715,7 @@ var Search = /** @__PURE__ @class */ (function () {
|
|
|
10702
10715
|
/**
|
|
10703
10716
|
* The `ShowHide` module is used to control column visibility.
|
|
10704
10717
|
*/
|
|
10705
|
-
var ShowHide = /** @
|
|
10718
|
+
var ShowHide = /** @class */ (function () {
|
|
10706
10719
|
/**
|
|
10707
10720
|
* Constructor for the show hide module.
|
|
10708
10721
|
* @hidden
|
|
@@ -10817,7 +10830,7 @@ var ShowHide = /** @__PURE__ @class */ (function () {
|
|
|
10817
10830
|
/**
|
|
10818
10831
|
* The `Scroll` module is used to handle scrolling behaviour.
|
|
10819
10832
|
*/
|
|
10820
|
-
var Scroll = /** @
|
|
10833
|
+
var Scroll = /** @class */ (function () {
|
|
10821
10834
|
/**
|
|
10822
10835
|
* Constructor for the Grid scrolling.
|
|
10823
10836
|
* @hidden
|
|
@@ -11211,29 +11224,29 @@ var Scroll = /** @__PURE__ @class */ (function () {
|
|
|
11211
11224
|
return Scroll;
|
|
11212
11225
|
}());
|
|
11213
11226
|
|
|
11214
|
-
var __extends$16 = (undefined && undefined.__extends) || (function () {
|
|
11215
|
-
var extendStatics = function (d, b) {
|
|
11216
|
-
extendStatics = Object.setPrototypeOf ||
|
|
11217
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11218
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
11219
|
-
return extendStatics(d, b);
|
|
11220
|
-
};
|
|
11221
|
-
return function (d, b) {
|
|
11222
|
-
extendStatics(d, b);
|
|
11223
|
-
function __() { this.constructor = d; }
|
|
11224
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11225
|
-
};
|
|
11226
|
-
})();
|
|
11227
|
-
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11228
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11229
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11230
|
-
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;
|
|
11231
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11232
|
-
};
|
|
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
|
+
};
|
|
11233
11246
|
/**
|
|
11234
11247
|
* Configures the Grid's aggregate column.
|
|
11235
11248
|
*/
|
|
11236
|
-
var AggregateColumn = /** @
|
|
11249
|
+
var AggregateColumn = /** @class */ (function (_super) {
|
|
11237
11250
|
__extends$16(AggregateColumn, _super);
|
|
11238
11251
|
function AggregateColumn() {
|
|
11239
11252
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -11311,7 +11324,7 @@ var AggregateColumn = /** @__PURE__ @class */ (function (_super) {
|
|
|
11311
11324
|
/**
|
|
11312
11325
|
* Configures the aggregate rows.
|
|
11313
11326
|
*/
|
|
11314
|
-
var AggregateRow = /** @
|
|
11327
|
+
var AggregateRow = /** @class */ (function (_super) {
|
|
11315
11328
|
__extends$16(AggregateRow, _super);
|
|
11316
11329
|
function AggregateRow() {
|
|
11317
11330
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -11325,7 +11338,7 @@ var AggregateRow = /** @__PURE__ @class */ (function (_super) {
|
|
|
11325
11338
|
/**
|
|
11326
11339
|
* The `Clipboard` module is used to handle clipboard copy action.
|
|
11327
11340
|
*/
|
|
11328
|
-
var Clipboard = /** @
|
|
11341
|
+
var Clipboard = /** @class */ (function () {
|
|
11329
11342
|
/**
|
|
11330
11343
|
* Constructor for the Grid clipboard module
|
|
11331
11344
|
* @hidden
|
|
@@ -11656,7 +11669,7 @@ var gridObserver = new Observer();
|
|
|
11656
11669
|
* BlazorAction is used for performing Blazor related Grid Actions.
|
|
11657
11670
|
* @hidden
|
|
11658
11671
|
*/
|
|
11659
|
-
var BlazorAction = /** @
|
|
11672
|
+
var BlazorAction = /** @class */ (function () {
|
|
11660
11673
|
function BlazorAction(parent) {
|
|
11661
11674
|
this.aria = new AriaService();
|
|
11662
11675
|
this.actionArgs = {};
|
|
@@ -12030,29 +12043,29 @@ var BlazorAction = /** @__PURE__ @class */ (function () {
|
|
|
12030
12043
|
return BlazorAction;
|
|
12031
12044
|
}());
|
|
12032
12045
|
|
|
12033
|
-
var __extends = (undefined && undefined.__extends) || (function () {
|
|
12034
|
-
var extendStatics = function (d, b) {
|
|
12035
|
-
extendStatics = Object.setPrototypeOf ||
|
|
12036
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
12037
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12038
|
-
return extendStatics(d, b);
|
|
12039
|
-
};
|
|
12040
|
-
return function (d, b) {
|
|
12041
|
-
extendStatics(d, b);
|
|
12042
|
-
function __() { this.constructor = d; }
|
|
12043
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12044
|
-
};
|
|
12045
|
-
})();
|
|
12046
|
-
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
12047
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
12048
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
12049
|
-
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;
|
|
12050
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
12051
|
-
};
|
|
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
|
+
};
|
|
12052
12065
|
/**
|
|
12053
12066
|
* Represents the field name and direction of sort column.
|
|
12054
12067
|
*/
|
|
12055
|
-
var SortDescriptor = /** @
|
|
12068
|
+
var SortDescriptor = /** @class */ (function (_super) {
|
|
12056
12069
|
__extends(SortDescriptor, _super);
|
|
12057
12070
|
function SortDescriptor() {
|
|
12058
12071
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12071,7 +12084,7 @@ var SortDescriptor = /** @__PURE__ @class */ (function (_super) {
|
|
|
12071
12084
|
/**
|
|
12072
12085
|
* Configures the sorting behavior of Grid.
|
|
12073
12086
|
*/
|
|
12074
|
-
var SortSettings = /** @
|
|
12087
|
+
var SortSettings = /** @class */ (function (_super) {
|
|
12075
12088
|
__extends(SortSettings, _super);
|
|
12076
12089
|
function SortSettings() {
|
|
12077
12090
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12087,7 +12100,7 @@ var SortSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12087
12100
|
/**
|
|
12088
12101
|
* Represents the predicate for the filter column.
|
|
12089
12102
|
*/
|
|
12090
|
-
var Predicate$1 = /** @
|
|
12103
|
+
var Predicate$1 = /** @class */ (function (_super) {
|
|
12091
12104
|
__extends(Predicate$$1, _super);
|
|
12092
12105
|
function Predicate$$1() {
|
|
12093
12106
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12133,7 +12146,7 @@ var Predicate$1 = /** @__PURE__ @class */ (function (_super) {
|
|
|
12133
12146
|
/**
|
|
12134
12147
|
* Configures the infinite scroll behavior of Grid.
|
|
12135
12148
|
*/
|
|
12136
|
-
var InfiniteScrollSettings = /** @
|
|
12149
|
+
var InfiniteScrollSettings = /** @class */ (function (_super) {
|
|
12137
12150
|
__extends(InfiniteScrollSettings, _super);
|
|
12138
12151
|
function InfiniteScrollSettings() {
|
|
12139
12152
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12152,7 +12165,7 @@ var InfiniteScrollSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12152
12165
|
/**
|
|
12153
12166
|
* Configures the filtering behavior of the Grid.
|
|
12154
12167
|
*/
|
|
12155
|
-
var FilterSettings = /** @
|
|
12168
|
+
var FilterSettings = /** @class */ (function (_super) {
|
|
12156
12169
|
__extends(FilterSettings, _super);
|
|
12157
12170
|
function FilterSettings() {
|
|
12158
12171
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12189,7 +12202,7 @@ var FilterSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12189
12202
|
/**
|
|
12190
12203
|
* Configures the selection behavior of the Grid.
|
|
12191
12204
|
*/
|
|
12192
|
-
var SelectionSettings = /** @
|
|
12205
|
+
var SelectionSettings = /** @class */ (function (_super) {
|
|
12193
12206
|
__extends(SelectionSettings, _super);
|
|
12194
12207
|
function SelectionSettings() {
|
|
12195
12208
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12223,7 +12236,7 @@ var SelectionSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12223
12236
|
/**
|
|
12224
12237
|
* Configures the search behavior of the Grid.
|
|
12225
12238
|
*/
|
|
12226
|
-
var SearchSettings = /** @
|
|
12239
|
+
var SearchSettings = /** @class */ (function (_super) {
|
|
12227
12240
|
__extends(SearchSettings, _super);
|
|
12228
12241
|
function SearchSettings() {
|
|
12229
12242
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12248,7 +12261,7 @@ var SearchSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12248
12261
|
/**
|
|
12249
12262
|
* Configures the row drop settings of the Grid.
|
|
12250
12263
|
*/
|
|
12251
|
-
var RowDropSettings = /** @
|
|
12264
|
+
var RowDropSettings = /** @class */ (function (_super) {
|
|
12252
12265
|
__extends(RowDropSettings, _super);
|
|
12253
12266
|
function RowDropSettings() {
|
|
12254
12267
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12261,7 +12274,7 @@ var RowDropSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12261
12274
|
/**
|
|
12262
12275
|
* Configures the text wrap settings of the Grid.
|
|
12263
12276
|
*/
|
|
12264
|
-
var TextWrapSettings = /** @
|
|
12277
|
+
var TextWrapSettings = /** @class */ (function (_super) {
|
|
12265
12278
|
__extends(TextWrapSettings, _super);
|
|
12266
12279
|
function TextWrapSettings() {
|
|
12267
12280
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12274,7 +12287,7 @@ var TextWrapSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12274
12287
|
/**
|
|
12275
12288
|
* Configures the resize behavior of the Grid.
|
|
12276
12289
|
*/
|
|
12277
|
-
var ResizeSettings = /** @
|
|
12290
|
+
var ResizeSettings = /** @class */ (function (_super) {
|
|
12278
12291
|
__extends(ResizeSettings, _super);
|
|
12279
12292
|
function ResizeSettings() {
|
|
12280
12293
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12287,7 +12300,7 @@ var ResizeSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12287
12300
|
/**
|
|
12288
12301
|
* Configures the group behavior of the Grid.
|
|
12289
12302
|
*/
|
|
12290
|
-
var GroupSettings = /** @
|
|
12303
|
+
var GroupSettings = /** @class */ (function (_super) {
|
|
12291
12304
|
__extends(GroupSettings, _super);
|
|
12292
12305
|
function GroupSettings() {
|
|
12293
12306
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12324,7 +12337,7 @@ var GroupSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12324
12337
|
/**
|
|
12325
12338
|
* Configures the edit behavior of the Grid.
|
|
12326
12339
|
*/
|
|
12327
|
-
var EditSettings = /** @
|
|
12340
|
+
var EditSettings = /** @class */ (function (_super) {
|
|
12328
12341
|
__extends(EditSettings, _super);
|
|
12329
12342
|
function EditSettings() {
|
|
12330
12343
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -12380,7 +12393,7 @@ var EditSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
12380
12393
|
* </script>
|
|
12381
12394
|
* ```
|
|
12382
12395
|
*/
|
|
12383
|
-
var Grid = /** @
|
|
12396
|
+
var Grid = /** @class */ (function (_super) {
|
|
12384
12397
|
__extends(Grid, _super);
|
|
12385
12398
|
/**
|
|
12386
12399
|
* Constructor for creating the component
|
|
@@ -16563,7 +16576,7 @@ function getCloneProperties() {
|
|
|
16563
16576
|
*
|
|
16564
16577
|
* The `Print` module is used to handle print action.
|
|
16565
16578
|
*/
|
|
16566
|
-
var Print = /** @
|
|
16579
|
+
var Print = /** @class */ (function () {
|
|
16567
16580
|
/**
|
|
16568
16581
|
* Constructor for the Grid print module
|
|
16569
16582
|
* @hidden
|
|
@@ -16733,13 +16746,13 @@ var Print = /** @__PURE__ @class */ (function () {
|
|
|
16733
16746
|
if (!depth) {
|
|
16734
16747
|
return;
|
|
16735
16748
|
}
|
|
16736
|
-
var groupCaption =
|
|
16749
|
+
var groupCaption = selectAll(id + "captioncell.e-groupcaption", element);
|
|
16737
16750
|
var colSpan = groupCaption[depth - 1].getAttribute('colspan');
|
|
16738
16751
|
for (var i = 0; i < groupCaption.length; i++) {
|
|
16739
16752
|
groupCaption[i].setAttribute('colspan', colSpan);
|
|
16740
16753
|
}
|
|
16741
|
-
var colGroups =
|
|
16742
|
-
var contentColGroups =
|
|
16754
|
+
var colGroups = selectAll("colgroup" + id + "colGroup", element);
|
|
16755
|
+
var contentColGroups = selectAll('.e-content colgroup', element);
|
|
16743
16756
|
this.hideColGroup(colGroups, depth);
|
|
16744
16757
|
this.hideColGroup(contentColGroups, depth);
|
|
16745
16758
|
};
|
|
@@ -17265,9 +17278,9 @@ function isEditable(col, type, elem) {
|
|
|
17265
17278
|
}
|
|
17266
17279
|
/** @hidden */
|
|
17267
17280
|
function isActionPrevent(inst) {
|
|
17268
|
-
var dlg =
|
|
17281
|
+
var dlg = select('#' + inst.element.id + 'EditConfirm', inst.element);
|
|
17269
17282
|
return inst.editSettings.mode === 'Batch' &&
|
|
17270
|
-
(
|
|
17283
|
+
(selectAll('.e-updatedtd', inst.element).length) && inst.editSettings.showConfirmDialog &&
|
|
17271
17284
|
(dlg ? dlg.classList.contains('e-popup-close') : true);
|
|
17272
17285
|
}
|
|
17273
17286
|
/** @hidden */
|
|
@@ -17848,7 +17861,7 @@ function setRowElements(gObj) {
|
|
|
17848
17861
|
* @hidden
|
|
17849
17862
|
* `CheckBoxFilterBase` module is used to handle filtering action.
|
|
17850
17863
|
*/
|
|
17851
|
-
var CheckBoxFilterBase = /** @
|
|
17864
|
+
var CheckBoxFilterBase = /** @class */ (function () {
|
|
17852
17865
|
/**
|
|
17853
17866
|
* Constructor for checkbox filtering module
|
|
17854
17867
|
* @hidden
|
|
@@ -18537,9 +18550,9 @@ var CheckBoxFilterBase = /** @__PURE__ @class */ (function () {
|
|
|
18537
18550
|
this.searchBoxClick(e);
|
|
18538
18551
|
}
|
|
18539
18552
|
if (elem) {
|
|
18540
|
-
var selectAll = elem.querySelector('.e-selectall');
|
|
18541
|
-
if (selectAll) {
|
|
18542
|
-
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'));
|
|
18543
18556
|
}
|
|
18544
18557
|
else {
|
|
18545
18558
|
toogleCheckbox(elem.parentElement);
|
|
@@ -18640,9 +18653,9 @@ var CheckBoxFilterBase = /** @__PURE__ @class */ (function () {
|
|
|
18640
18653
|
if (data.length && !this.renderEmpty) {
|
|
18641
18654
|
var selectAllValue = this.getLocalizedLabel('SelectAll');
|
|
18642
18655
|
var checkBox = this.createCheckbox(selectAllValue, false, (_a = {}, _a[this.options.field] = selectAllValue, _a));
|
|
18643
|
-
var selectAll = createCboxWithWrap(getUid('cbox'), checkBox, 'e-ftrchk');
|
|
18644
|
-
selectAll.querySelector('.e-frame').classList.add('e-selectall');
|
|
18645
|
-
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);
|
|
18646
18659
|
var predicate = new Predicate('field', 'equal', this.options.field);
|
|
18647
18660
|
if (this.options.foreignKeyValue) {
|
|
18648
18661
|
predicate = predicate.or('field', 'equal', this.options.foreignKeyValue);
|
|
@@ -18801,24 +18814,24 @@ var CheckBoxFilterBase = /** @__PURE__ @class */ (function () {
|
|
|
18801
18814
|
return CheckBoxFilterBase;
|
|
18802
18815
|
}());
|
|
18803
18816
|
|
|
18804
|
-
var __extends$17 = (undefined && undefined.__extends) || (function () {
|
|
18805
|
-
var extendStatics = function (d, b) {
|
|
18806
|
-
extendStatics = Object.setPrototypeOf ||
|
|
18807
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
18808
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
18809
|
-
return extendStatics(d, b);
|
|
18810
|
-
};
|
|
18811
|
-
return function (d, b) {
|
|
18812
|
-
extendStatics(d, b);
|
|
18813
|
-
function __() { this.constructor = d; }
|
|
18814
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18815
|
-
};
|
|
18816
|
-
})();
|
|
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
|
+
})();
|
|
18817
18830
|
/**
|
|
18818
18831
|
* @hidden
|
|
18819
18832
|
* `ExcelFilter` module is used to handle filtering action.
|
|
18820
18833
|
*/
|
|
18821
|
-
var ExcelFilterBase = /** @
|
|
18834
|
+
var ExcelFilterBase = /** @class */ (function (_super) {
|
|
18822
18835
|
__extends$17(ExcelFilterBase, _super);
|
|
18823
18836
|
/**
|
|
18824
18837
|
* Constructor for excel filtering module
|
|
@@ -19588,7 +19601,7 @@ var ExcelFilterBase = /** @__PURE__ @class */ (function (_super) {
|
|
|
19588
19601
|
*
|
|
19589
19602
|
* The `Sort` module is used to handle sorting action.
|
|
19590
19603
|
*/
|
|
19591
|
-
var Sort = /** @
|
|
19604
|
+
var Sort = /** @class */ (function () {
|
|
19592
19605
|
/**
|
|
19593
19606
|
* Constructor for Grid sorting module
|
|
19594
19607
|
* @hidden
|
|
@@ -20068,7 +20081,7 @@ var Sort = /** @__PURE__ @class */ (function () {
|
|
|
20068
20081
|
/**
|
|
20069
20082
|
* `NumericContainer` module handles rendering and refreshing numeric container.
|
|
20070
20083
|
*/
|
|
20071
|
-
var NumericContainer = /** @
|
|
20084
|
+
var NumericContainer = /** @class */ (function () {
|
|
20072
20085
|
/**
|
|
20073
20086
|
* Constructor for numericContainer module
|
|
20074
20087
|
* @hidden
|
|
@@ -20358,7 +20371,7 @@ var NumericContainer = /** @__PURE__ @class */ (function () {
|
|
|
20358
20371
|
/**
|
|
20359
20372
|
* `PagerMessage` module is used to display pager information.
|
|
20360
20373
|
*/
|
|
20361
|
-
var PagerMessage = /** @
|
|
20374
|
+
var PagerMessage = /** @class */ (function () {
|
|
20362
20375
|
/**
|
|
20363
20376
|
* Constructor for externalMessage module
|
|
20364
20377
|
* @hidden
|
|
@@ -20436,25 +20449,25 @@ var PagerMessage = /** @__PURE__ @class */ (function () {
|
|
|
20436
20449
|
return PagerMessage;
|
|
20437
20450
|
}());
|
|
20438
20451
|
|
|
20439
|
-
var __extends$18 = (undefined && undefined.__extends) || (function () {
|
|
20440
|
-
var extendStatics = function (d, b) {
|
|
20441
|
-
extendStatics = Object.setPrototypeOf ||
|
|
20442
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
20443
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
20444
|
-
return extendStatics(d, b);
|
|
20445
|
-
};
|
|
20446
|
-
return function (d, b) {
|
|
20447
|
-
extendStatics(d, b);
|
|
20448
|
-
function __() { this.constructor = d; }
|
|
20449
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
20450
|
-
};
|
|
20451
|
-
})();
|
|
20452
|
-
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
20453
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
20454
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
20455
|
-
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;
|
|
20456
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
20457
|
-
};
|
|
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
|
+
};
|
|
20458
20471
|
/**
|
|
20459
20472
|
* Represents the `Pager` component.
|
|
20460
20473
|
* ```html
|
|
@@ -20467,7 +20480,7 @@ var __decorate$5 = (undefined && undefined.__decorate) || function (decorators,
|
|
|
20467
20480
|
* </script>
|
|
20468
20481
|
* ```
|
|
20469
20482
|
*/
|
|
20470
|
-
var Pager = /** @
|
|
20483
|
+
var Pager = /** @class */ (function (_super) {
|
|
20471
20484
|
__extends$18(Pager, _super);
|
|
20472
20485
|
/**
|
|
20473
20486
|
* Constructor for creating the component.
|
|
@@ -20934,7 +20947,7 @@ var Pager = /** @__PURE__ @class */ (function (_super) {
|
|
|
20934
20947
|
/**
|
|
20935
20948
|
* `PagerDropDown` module handles selected pageSize from DropDownList.
|
|
20936
20949
|
*/
|
|
20937
|
-
var PagerDropDown = /** @
|
|
20950
|
+
var PagerDropDown = /** @class */ (function () {
|
|
20938
20951
|
/**
|
|
20939
20952
|
* Constructor for pager module
|
|
20940
20953
|
* @hidden
|
|
@@ -21029,7 +21042,7 @@ var PagerDropDown = /** @__PURE__ @class */ (function () {
|
|
|
21029
21042
|
PagerDropDown.prototype.convertValue = function (pageSizeValue) {
|
|
21030
21043
|
var item = pageSizeValue;
|
|
21031
21044
|
for (var i = 0; i < item.length; i++) {
|
|
21032
|
-
item[i] =
|
|
21045
|
+
item[i] = parseInt(item[i], 10) ? item[i].toString() : this.pagerModule.getLocalizedLabel(item[i]);
|
|
21033
21046
|
}
|
|
21034
21047
|
return item;
|
|
21035
21048
|
};
|
|
@@ -21063,7 +21076,7 @@ var PagerDropDown = /** @__PURE__ @class */ (function () {
|
|
|
21063
21076
|
/**
|
|
21064
21077
|
* `ExternalMessage` module is used to display user provided message.
|
|
21065
21078
|
*/
|
|
21066
|
-
var ExternalMessage = /** @
|
|
21079
|
+
var ExternalMessage = /** @class */ (function () {
|
|
21067
21080
|
/**
|
|
21068
21081
|
* Constructor for externalMessage module
|
|
21069
21082
|
* @param {Pager} pagerModule?
|
|
@@ -21130,7 +21143,7 @@ var ExternalMessage = /** @__PURE__ @class */ (function () {
|
|
|
21130
21143
|
/**
|
|
21131
21144
|
* The `Page` module is used to render pager and handle paging action.
|
|
21132
21145
|
*/
|
|
21133
|
-
var Page = /** @
|
|
21146
|
+
var Page = /** @class */ (function () {
|
|
21134
21147
|
/**
|
|
21135
21148
|
* Constructor for the Grid paging module
|
|
21136
21149
|
* @hidden
|
|
@@ -21447,24 +21460,24 @@ var keyActions = {
|
|
|
21447
21460
|
altPageDown: '.e-np'
|
|
21448
21461
|
};
|
|
21449
21462
|
|
|
21450
|
-
var __extends$19 = (undefined && undefined.__extends) || (function () {
|
|
21451
|
-
var extendStatics = function (d, b) {
|
|
21452
|
-
extendStatics = Object.setPrototypeOf ||
|
|
21453
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
21454
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
21455
|
-
return extendStatics(d, b);
|
|
21456
|
-
};
|
|
21457
|
-
return function (d, b) {
|
|
21458
|
-
extendStatics(d, b);
|
|
21459
|
-
function __() { this.constructor = d; }
|
|
21460
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
21461
|
-
};
|
|
21462
|
-
})();
|
|
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
|
+
})();
|
|
21463
21476
|
/**
|
|
21464
21477
|
* FilterCellRenderer class which responsible for building filter cell.
|
|
21465
21478
|
* @hidden
|
|
21466
21479
|
*/
|
|
21467
|
-
var FilterCellRenderer = /** @
|
|
21480
|
+
var FilterCellRenderer = /** @class */ (function (_super) {
|
|
21468
21481
|
__extends$19(FilterCellRenderer, _super);
|
|
21469
21482
|
function FilterCellRenderer() {
|
|
21470
21483
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -21655,7 +21668,7 @@ var FilterCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
21655
21668
|
* `filter operators` render boolean column.
|
|
21656
21669
|
* @hidden
|
|
21657
21670
|
*/
|
|
21658
|
-
var FlMenuOptrUI = /** @
|
|
21671
|
+
var FlMenuOptrUI = /** @class */ (function () {
|
|
21659
21672
|
function FlMenuOptrUI(parent, customFltrOperators, serviceLocator, filterSettings) {
|
|
21660
21673
|
this.parent = parent;
|
|
21661
21674
|
this.serviceLocator = serviceLocator;
|
|
@@ -21727,7 +21740,7 @@ var FlMenuOptrUI = /** @__PURE__ @class */ (function () {
|
|
|
21727
21740
|
* `string filterui` render string column.
|
|
21728
21741
|
* @hidden
|
|
21729
21742
|
*/
|
|
21730
|
-
var StringFilterUI = /** @
|
|
21743
|
+
var StringFilterUI = /** @class */ (function () {
|
|
21731
21744
|
function StringFilterUI(parent, serviceLocator, filterSettings) {
|
|
21732
21745
|
this.parent = parent;
|
|
21733
21746
|
this.serLocator = serviceLocator;
|
|
@@ -21807,7 +21820,7 @@ var StringFilterUI = /** @__PURE__ @class */ (function () {
|
|
|
21807
21820
|
* `numberfilterui` render number column.
|
|
21808
21821
|
* @hidden
|
|
21809
21822
|
*/
|
|
21810
|
-
var NumberFilterUI = /** @
|
|
21823
|
+
var NumberFilterUI = /** @class */ (function () {
|
|
21811
21824
|
function NumberFilterUI(parent, serviceLocator, filterSettings) {
|
|
21812
21825
|
this.filterSettings = filterSettings;
|
|
21813
21826
|
this.parent = parent;
|
|
@@ -21842,7 +21855,7 @@ var NumberFilterUI = /** @__PURE__ @class */ (function () {
|
|
|
21842
21855
|
* `boolfilterui` render boolean column.
|
|
21843
21856
|
* @hidden
|
|
21844
21857
|
*/
|
|
21845
|
-
var BooleanFilterUI = /** @
|
|
21858
|
+
var BooleanFilterUI = /** @class */ (function () {
|
|
21846
21859
|
function BooleanFilterUI(parent, serviceLocator, filterSettings) {
|
|
21847
21860
|
this.parent = parent;
|
|
21848
21861
|
this.serviceLocator = serviceLocator;
|
|
@@ -21892,7 +21905,7 @@ var BooleanFilterUI = /** @__PURE__ @class */ (function () {
|
|
|
21892
21905
|
* `datefilterui` render date column.
|
|
21893
21906
|
* @hidden
|
|
21894
21907
|
*/
|
|
21895
|
-
var DateFilterUI = /** @
|
|
21908
|
+
var DateFilterUI = /** @class */ (function () {
|
|
21896
21909
|
function DateFilterUI(parent, serviceLocator, filterSettings) {
|
|
21897
21910
|
this.parent = parent;
|
|
21898
21911
|
this.locator = serviceLocator;
|
|
@@ -21948,7 +21961,7 @@ var DateFilterUI = /** @__PURE__ @class */ (function () {
|
|
|
21948
21961
|
* `filter menu` render boolean column.
|
|
21949
21962
|
* @hidden
|
|
21950
21963
|
*/
|
|
21951
|
-
var FilterMenuRenderer = /** @
|
|
21964
|
+
var FilterMenuRenderer = /** @class */ (function () {
|
|
21952
21965
|
function FilterMenuRenderer(parent, filterSettings, serviceLocator, customFltrOperators, fltrObj) {
|
|
21953
21966
|
this.isDialogOpen = false;
|
|
21954
21967
|
this.colTypes = {
|
|
@@ -22217,7 +22230,7 @@ var FilterMenuRenderer = /** @__PURE__ @class */ (function () {
|
|
|
22217
22230
|
* @hidden
|
|
22218
22231
|
* `CheckBoxFilter` module is used to handle filtering action.
|
|
22219
22232
|
*/
|
|
22220
|
-
var CheckBoxFilter = /** @
|
|
22233
|
+
var CheckBoxFilter = /** @class */ (function () {
|
|
22221
22234
|
/**
|
|
22222
22235
|
* Constructor for checkbox filtering module
|
|
22223
22236
|
* @hidden
|
|
@@ -22286,24 +22299,24 @@ var CheckBoxFilter = /** @__PURE__ @class */ (function () {
|
|
|
22286
22299
|
return CheckBoxFilter;
|
|
22287
22300
|
}());
|
|
22288
22301
|
|
|
22289
|
-
var __extends$20 = (undefined && undefined.__extends) || (function () {
|
|
22290
|
-
var extendStatics = function (d, b) {
|
|
22291
|
-
extendStatics = Object.setPrototypeOf ||
|
|
22292
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
22293
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
22294
|
-
return extendStatics(d, b);
|
|
22295
|
-
};
|
|
22296
|
-
return function (d, b) {
|
|
22297
|
-
extendStatics(d, b);
|
|
22298
|
-
function __() { this.constructor = d; }
|
|
22299
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
22300
|
-
};
|
|
22301
|
-
})();
|
|
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
|
+
})();
|
|
22302
22315
|
/**
|
|
22303
22316
|
* @hidden
|
|
22304
22317
|
* `ExcelFilter` module is used to handle filtering action.
|
|
22305
22318
|
*/
|
|
22306
|
-
var ExcelFilter = /** @
|
|
22319
|
+
var ExcelFilter = /** @class */ (function (_super) {
|
|
22307
22320
|
__extends$20(ExcelFilter, _super);
|
|
22308
22321
|
/**
|
|
22309
22322
|
* Constructor for excelbox filtering module
|
|
@@ -22358,7 +22371,7 @@ var ExcelFilter = /** @__PURE__ @class */ (function (_super) {
|
|
|
22358
22371
|
*
|
|
22359
22372
|
* The `Filter` module is used to handle filtering action.
|
|
22360
22373
|
*/
|
|
22361
|
-
var Filter = /** @
|
|
22374
|
+
var Filter = /** @class */ (function () {
|
|
22362
22375
|
/**
|
|
22363
22376
|
* Constructor for Grid filtering module
|
|
22364
22377
|
* @hidden
|
|
@@ -23459,7 +23472,7 @@ var resizeClassList = {
|
|
|
23459
23472
|
* @hidden
|
|
23460
23473
|
* @private
|
|
23461
23474
|
*/
|
|
23462
|
-
var Resize = /** @
|
|
23475
|
+
var Resize = /** @class */ (function () {
|
|
23463
23476
|
/**
|
|
23464
23477
|
* Constructor for the Grid resize module
|
|
23465
23478
|
* @hidden
|
|
@@ -24128,9 +24141,12 @@ var Resize = /** @__PURE__ @class */ (function () {
|
|
|
24128
24141
|
};
|
|
24129
24142
|
};
|
|
24130
24143
|
Resize.prototype.doubleTapEvent = function (e) {
|
|
24144
|
+
var _this = this;
|
|
24131
24145
|
if (this.getUserAgent() && this.isDblClk) {
|
|
24132
24146
|
if (!this.tapped) {
|
|
24133
|
-
this.tapped = setTimeout(
|
|
24147
|
+
this.tapped = setTimeout(function () {
|
|
24148
|
+
_this.tapped = null;
|
|
24149
|
+
}, 300);
|
|
24134
24150
|
}
|
|
24135
24151
|
else {
|
|
24136
24152
|
clearTimeout(this.tapped);
|
|
@@ -24153,7 +24169,7 @@ var Resize = /** @__PURE__ @class */ (function () {
|
|
|
24153
24169
|
*
|
|
24154
24170
|
* The `Reorder` module is used for reordering columns.
|
|
24155
24171
|
*/
|
|
24156
|
-
var Reorder = /** @
|
|
24172
|
+
var Reorder = /** @class */ (function () {
|
|
24157
24173
|
/**
|
|
24158
24174
|
* Constructor for the Grid reorder module
|
|
24159
24175
|
* @hidden
|
|
@@ -24687,7 +24703,7 @@ var Reorder = /** @__PURE__ @class */ (function () {
|
|
|
24687
24703
|
* Reorder module is used to handle row reordering.
|
|
24688
24704
|
* @hidden
|
|
24689
24705
|
*/
|
|
24690
|
-
var RowDD = /** @
|
|
24706
|
+
var RowDD = /** @class */ (function () {
|
|
24691
24707
|
/**
|
|
24692
24708
|
* Constructor for the Grid print module
|
|
24693
24709
|
* @hidden
|
|
@@ -25340,7 +25356,7 @@ var RowDD = /** @__PURE__ @class */ (function () {
|
|
|
25340
25356
|
*
|
|
25341
25357
|
* The `Group` module is used to handle group action.
|
|
25342
25358
|
*/
|
|
25343
|
-
var Group = /** @
|
|
25359
|
+
var Group = /** @class */ (function () {
|
|
25344
25360
|
/**
|
|
25345
25361
|
* Constructor for Grid group module
|
|
25346
25362
|
* @hidden
|
|
@@ -26419,7 +26435,7 @@ var Group = /** @__PURE__ @class */ (function () {
|
|
|
26419
26435
|
/**
|
|
26420
26436
|
* The `DetailRow` module is used to handle detail template and hierarchy Grid operations.
|
|
26421
26437
|
*/
|
|
26422
|
-
var DetailRow = /** @
|
|
26438
|
+
var DetailRow = /** @class */ (function () {
|
|
26423
26439
|
/**
|
|
26424
26440
|
* Constructor for the Grid detail template module
|
|
26425
26441
|
* @hidden
|
|
@@ -26729,7 +26745,7 @@ var DetailRow = /** @__PURE__ @class */ (function () {
|
|
|
26729
26745
|
* The `Toolbar` module is used to handle ToolBar actions.
|
|
26730
26746
|
* @hidden
|
|
26731
26747
|
*/
|
|
26732
|
-
var Toolbar$1 = /** @
|
|
26748
|
+
var Toolbar$1 = /** @class */ (function () {
|
|
26733
26749
|
function Toolbar$$1(parent, serviceLocator) {
|
|
26734
26750
|
this.predefinedItems = {};
|
|
26735
26751
|
this.items = ['Add', 'Edit', 'Update', 'Delete', 'Cancel', 'Print', 'Search',
|
|
@@ -26794,7 +26810,7 @@ var Toolbar$1 = /** @__PURE__ @class */ (function () {
|
|
|
26794
26810
|
}
|
|
26795
26811
|
};
|
|
26796
26812
|
Toolbar$$1.prototype.bindSearchEvents = function () {
|
|
26797
|
-
this.searchElement =
|
|
26813
|
+
this.searchElement = select('#' + this.gridID + '_searchbar', this.element);
|
|
26798
26814
|
this.wireEvent();
|
|
26799
26815
|
this.refreshToolbarItems();
|
|
26800
26816
|
if (this.parent.searchSettings) {
|
|
@@ -26803,11 +26819,11 @@ var Toolbar$1 = /** @__PURE__ @class */ (function () {
|
|
|
26803
26819
|
};
|
|
26804
26820
|
Toolbar$$1.prototype.toolbarCreated = function () {
|
|
26805
26821
|
if (this.element.querySelector('.e-search-wrapper')) {
|
|
26806
|
-
this.element.querySelector('.e-search-wrapper').innerHTML = '<div class="e-input-group e-search" role="search">\
|
|
26807
|
-
<input id="' + this.gridID + '_searchbar" class="e-input" name="input" type="search" \
|
|
26808
|
-
placeholder= \"' + this.l10n.getConstant('Search') + '\"/>\
|
|
26809
|
-
<span id="' + this.gridID + '_searchbutton" class="e-input-group-icon e-search-icon e-icons" \
|
|
26810
|
-
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> \
|
|
26811
26827
|
</div>';
|
|
26812
26828
|
}
|
|
26813
26829
|
this.bindSearchEvents();
|
|
@@ -26940,7 +26956,7 @@ var Toolbar$1 = /** @__PURE__ @class */ (function () {
|
|
|
26940
26956
|
Toolbar$$1.prototype.enableItems = function (items, isEnable) {
|
|
26941
26957
|
for (var _i = 0, items_2 = items; _i < items_2.length; _i++) {
|
|
26942
26958
|
var item = items_2[_i];
|
|
26943
|
-
var element =
|
|
26959
|
+
var element = select('#' + item, this.element);
|
|
26944
26960
|
if (element) {
|
|
26945
26961
|
this.toolbar.enableItems(element.parentElement, isEnable);
|
|
26946
26962
|
}
|
|
@@ -27076,24 +27092,24 @@ var Toolbar$1 = /** @__PURE__ @class */ (function () {
|
|
|
27076
27092
|
return Toolbar$$1;
|
|
27077
27093
|
}());
|
|
27078
27094
|
|
|
27079
|
-
var __extends$21 = (undefined && undefined.__extends) || (function () {
|
|
27080
|
-
var extendStatics = function (d, b) {
|
|
27081
|
-
extendStatics = Object.setPrototypeOf ||
|
|
27082
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
27083
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
27084
|
-
return extendStatics(d, b);
|
|
27085
|
-
};
|
|
27086
|
-
return function (d, b) {
|
|
27087
|
-
extendStatics(d, b);
|
|
27088
|
-
function __() { this.constructor = d; }
|
|
27089
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27090
|
-
};
|
|
27091
|
-
})();
|
|
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
|
+
})();
|
|
27092
27108
|
/**
|
|
27093
27109
|
* Footer module is used to render grid content
|
|
27094
27110
|
* @hidden
|
|
27095
27111
|
*/
|
|
27096
|
-
var FooterRenderer = /** @
|
|
27112
|
+
var FooterRenderer = /** @class */ (function (_super) {
|
|
27097
27113
|
__extends$21(FooterRenderer, _super);
|
|
27098
27114
|
function FooterRenderer(gridModule, serviceLocator) {
|
|
27099
27115
|
var _this = _super.call(this, gridModule, serviceLocator) || this;
|
|
@@ -27365,24 +27381,24 @@ var FooterRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
27365
27381
|
return FooterRenderer;
|
|
27366
27382
|
}(ContentRender));
|
|
27367
27383
|
|
|
27368
|
-
var __extends$22 = (undefined && undefined.__extends) || (function () {
|
|
27369
|
-
var extendStatics = function (d, b) {
|
|
27370
|
-
extendStatics = Object.setPrototypeOf ||
|
|
27371
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
27372
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
27373
|
-
return extendStatics(d, b);
|
|
27374
|
-
};
|
|
27375
|
-
return function (d, b) {
|
|
27376
|
-
extendStatics(d, b);
|
|
27377
|
-
function __() { this.constructor = d; }
|
|
27378
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27379
|
-
};
|
|
27380
|
-
})();
|
|
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
|
+
})();
|
|
27381
27397
|
/**
|
|
27382
27398
|
* SummaryCellRenderer class which responsible for building summary cell content.
|
|
27383
27399
|
* @hidden
|
|
27384
27400
|
*/
|
|
27385
|
-
var SummaryCellRenderer = /** @
|
|
27401
|
+
var SummaryCellRenderer = /** @class */ (function (_super) {
|
|
27386
27402
|
__extends$22(SummaryCellRenderer, _super);
|
|
27387
27403
|
function SummaryCellRenderer() {
|
|
27388
27404
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -27451,7 +27467,7 @@ var SummaryCellRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
27451
27467
|
/**
|
|
27452
27468
|
* Summary Action controller.
|
|
27453
27469
|
*/
|
|
27454
|
-
var Aggregate = /** @
|
|
27470
|
+
var Aggregate = /** @class */ (function () {
|
|
27455
27471
|
function Aggregate(parent, locator) {
|
|
27456
27472
|
this.parent = parent;
|
|
27457
27473
|
this.locator = locator;
|
|
@@ -27578,7 +27594,7 @@ function summaryIterator(aggregates, callback) {
|
|
|
27578
27594
|
* InterSectionObserver - class watch whether it enters the viewport.
|
|
27579
27595
|
* @hidden
|
|
27580
27596
|
*/
|
|
27581
|
-
var InterSectionObserver = /** @
|
|
27597
|
+
var InterSectionObserver = /** @class */ (function () {
|
|
27582
27598
|
function InterSectionObserver(element, options) {
|
|
27583
27599
|
var _this = this;
|
|
27584
27600
|
this.fromWheel = false;
|
|
@@ -27672,7 +27688,7 @@ var InterSectionObserver = /** @__PURE__ @class */ (function () {
|
|
|
27672
27688
|
/**
|
|
27673
27689
|
* Content module is used to render grid content
|
|
27674
27690
|
*/
|
|
27675
|
-
var VirtualRowModelGenerator = /** @
|
|
27691
|
+
var VirtualRowModelGenerator = /** @class */ (function () {
|
|
27676
27692
|
function VirtualRowModelGenerator(parent) {
|
|
27677
27693
|
this.cOffsets = {};
|
|
27678
27694
|
this.cache = {};
|
|
@@ -27935,24 +27951,24 @@ var VirtualRowModelGenerator = /** @__PURE__ @class */ (function () {
|
|
|
27935
27951
|
return VirtualRowModelGenerator;
|
|
27936
27952
|
}());
|
|
27937
27953
|
|
|
27938
|
-
var __extends$23 = (undefined && undefined.__extends) || (function () {
|
|
27939
|
-
var extendStatics = function (d, b) {
|
|
27940
|
-
extendStatics = Object.setPrototypeOf ||
|
|
27941
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
27942
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
27943
|
-
return extendStatics(d, b);
|
|
27944
|
-
};
|
|
27945
|
-
return function (d, b) {
|
|
27946
|
-
extendStatics(d, b);
|
|
27947
|
-
function __() { this.constructor = d; }
|
|
27948
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27949
|
-
};
|
|
27950
|
-
})();
|
|
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
|
+
})();
|
|
27951
27967
|
/**
|
|
27952
27968
|
* VirtualContentRenderer
|
|
27953
27969
|
* @hidden
|
|
27954
27970
|
*/
|
|
27955
|
-
var VirtualContentRenderer = /** @
|
|
27971
|
+
var VirtualContentRenderer = /** @class */ (function (_super) {
|
|
27956
27972
|
__extends$23(VirtualContentRenderer, _super);
|
|
27957
27973
|
function VirtualContentRenderer(parent, locator) {
|
|
27958
27974
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -28991,7 +29007,7 @@ var VirtualContentRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
28991
29007
|
/**
|
|
28992
29008
|
* @hidden
|
|
28993
29009
|
*/
|
|
28994
|
-
var VirtualHeaderRenderer = /** @
|
|
29010
|
+
var VirtualHeaderRenderer = /** @class */ (function (_super) {
|
|
28995
29011
|
__extends$23(VirtualHeaderRenderer, _super);
|
|
28996
29012
|
function VirtualHeaderRenderer(parent, locator) {
|
|
28997
29013
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -29117,7 +29133,7 @@ var VirtualHeaderRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
29117
29133
|
/**
|
|
29118
29134
|
* @hidden
|
|
29119
29135
|
*/
|
|
29120
|
-
var VirtualElementHandler = /** @
|
|
29136
|
+
var VirtualElementHandler = /** @class */ (function () {
|
|
29121
29137
|
function VirtualElementHandler() {
|
|
29122
29138
|
}
|
|
29123
29139
|
VirtualElementHandler.prototype.renderWrapper = function (height) {
|
|
@@ -29163,7 +29179,7 @@ var VirtualElementHandler = /** @__PURE__ @class */ (function () {
|
|
|
29163
29179
|
/**
|
|
29164
29180
|
* Virtual Scrolling class
|
|
29165
29181
|
*/
|
|
29166
|
-
var VirtualScroll = /** @
|
|
29182
|
+
var VirtualScroll = /** @class */ (function () {
|
|
29167
29183
|
function VirtualScroll(parent, locator) {
|
|
29168
29184
|
this.parent = parent;
|
|
29169
29185
|
this.locator = locator;
|
|
@@ -29225,7 +29241,7 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
29225
29241
|
* Edit render module is used to render grid edit row.
|
|
29226
29242
|
* @hidden
|
|
29227
29243
|
*/
|
|
29228
|
-
var InlineEditRender = /** @
|
|
29244
|
+
var InlineEditRender = /** @class */ (function () {
|
|
29229
29245
|
/**
|
|
29230
29246
|
* Constructor for render module
|
|
29231
29247
|
*/
|
|
@@ -29519,7 +29535,7 @@ var InlineEditRender = /** @__PURE__ @class */ (function () {
|
|
|
29519
29535
|
* Edit render module is used to render grid edit row.
|
|
29520
29536
|
* @hidden
|
|
29521
29537
|
*/
|
|
29522
|
-
var BatchEditRender = /** @
|
|
29538
|
+
var BatchEditRender = /** @class */ (function () {
|
|
29523
29539
|
/**
|
|
29524
29540
|
* Constructor for render module
|
|
29525
29541
|
*/
|
|
@@ -29566,7 +29582,7 @@ var BatchEditRender = /** @__PURE__ @class */ (function () {
|
|
|
29566
29582
|
* Edit render module is used to render grid edit row.
|
|
29567
29583
|
* @hidden
|
|
29568
29584
|
*/
|
|
29569
|
-
var DialogEditRender = /** @
|
|
29585
|
+
var DialogEditRender = /** @class */ (function () {
|
|
29570
29586
|
/**
|
|
29571
29587
|
* Constructor for render module
|
|
29572
29588
|
*/
|
|
@@ -29732,7 +29748,7 @@ var DialogEditRender = /** @__PURE__ @class */ (function () {
|
|
|
29732
29748
|
* Edit render module is used to render grid edit row.
|
|
29733
29749
|
* @hidden
|
|
29734
29750
|
*/
|
|
29735
|
-
var EditRender = /** @
|
|
29751
|
+
var EditRender = /** @class */ (function () {
|
|
29736
29752
|
/**
|
|
29737
29753
|
* Constructor for render module
|
|
29738
29754
|
*/
|
|
@@ -29764,7 +29780,7 @@ var EditRender = /** @__PURE__ @class */ (function () {
|
|
|
29764
29780
|
var fForm;
|
|
29765
29781
|
var frzCols = gObj.getFrozenColumns();
|
|
29766
29782
|
var form = gObj.editSettings.mode === 'Dialog' ?
|
|
29767
|
-
|
|
29783
|
+
select('#' + gObj.element.id + '_dialogEdit_wrapper .e-gridform', document) :
|
|
29768
29784
|
gObj.element.querySelector('.e-gridform');
|
|
29769
29785
|
if (frzCols && gObj.editSettings.mode === 'Normal') {
|
|
29770
29786
|
var rowIndex = parseInt(args.row.getAttribute('aria-rowindex'), 10);
|
|
@@ -29955,7 +29971,7 @@ var EditRender = /** @__PURE__ @class */ (function () {
|
|
|
29955
29971
|
* `BooleanEditCell` is used to handle boolean cell type editing.
|
|
29956
29972
|
* @hidden
|
|
29957
29973
|
*/
|
|
29958
|
-
var BooleanEditCell = /** @
|
|
29974
|
+
var BooleanEditCell = /** @class */ (function () {
|
|
29959
29975
|
function BooleanEditCell(parent) {
|
|
29960
29976
|
this.activeClasses = ['e-selectionbackground', 'e-active'];
|
|
29961
29977
|
this.parent = parent;
|
|
@@ -30033,7 +30049,7 @@ var BooleanEditCell = /** @__PURE__ @class */ (function () {
|
|
|
30033
30049
|
* `DropDownEditCell` is used to handle dropdown cell type editing.
|
|
30034
30050
|
* @hidden
|
|
30035
30051
|
*/
|
|
30036
|
-
var DropDownEditCell = /** @
|
|
30052
|
+
var DropDownEditCell = /** @class */ (function () {
|
|
30037
30053
|
function DropDownEditCell(parent) {
|
|
30038
30054
|
//constructor
|
|
30039
30055
|
this.parent = parent;
|
|
@@ -30094,7 +30110,7 @@ var DropDownEditCell = /** @__PURE__ @class */ (function () {
|
|
|
30094
30110
|
DropDownEditCell.prototype.dropDownOpen = function (args) {
|
|
30095
30111
|
var dlgElement = parentsUntil(this.obj.element, 'e-dialog');
|
|
30096
30112
|
if (this.parent.editSettings.mode === 'Dialog' && !isNullOrUndefined(dlgElement)) {
|
|
30097
|
-
var dlgObj =
|
|
30113
|
+
var dlgObj = select('#' + dlgElement.id, document).ej2_instances[0];
|
|
30098
30114
|
args.popup.element.style.zIndex = (dlgObj.zIndex + 1).toString();
|
|
30099
30115
|
}
|
|
30100
30116
|
};
|
|
@@ -30110,7 +30126,7 @@ var DropDownEditCell = /** @__PURE__ @class */ (function () {
|
|
|
30110
30126
|
* `NumericEditCell` is used to handle numeric cell type editing.
|
|
30111
30127
|
* @hidden
|
|
30112
30128
|
*/
|
|
30113
|
-
var NumericEditCell = /** @
|
|
30129
|
+
var NumericEditCell = /** @class */ (function () {
|
|
30114
30130
|
function NumericEditCell(parent) {
|
|
30115
30131
|
this.parent = parent;
|
|
30116
30132
|
}
|
|
@@ -30163,7 +30179,7 @@ var NumericEditCell = /** @__PURE__ @class */ (function () {
|
|
|
30163
30179
|
* `DefaultEditCell` is used to handle default cell type editing.
|
|
30164
30180
|
* @hidden
|
|
30165
30181
|
*/
|
|
30166
|
-
var DefaultEditCell = /** @
|
|
30182
|
+
var DefaultEditCell = /** @class */ (function () {
|
|
30167
30183
|
function DefaultEditCell(parent) {
|
|
30168
30184
|
this.parent = parent;
|
|
30169
30185
|
}
|
|
@@ -30203,7 +30219,7 @@ var DefaultEditCell = /** @__PURE__ @class */ (function () {
|
|
|
30203
30219
|
* `NormalEdit` module is used to handle normal('inline, dialog, external') editing actions.
|
|
30204
30220
|
* @hidden
|
|
30205
30221
|
*/
|
|
30206
|
-
var NormalEdit = /** @
|
|
30222
|
+
var NormalEdit = /** @class */ (function () {
|
|
30207
30223
|
function NormalEdit(parent, serviceLocator, renderer) {
|
|
30208
30224
|
this.args = {};
|
|
30209
30225
|
this.currentVirtualData = {};
|
|
@@ -30396,7 +30412,7 @@ var NormalEdit = /** @__PURE__ @class */ (function () {
|
|
|
30396
30412
|
previousData: this.previousData, selectedRow: gObj.selectedRowIndex, foreignKeyData: {}
|
|
30397
30413
|
});
|
|
30398
30414
|
var isDlg = gObj.editSettings.mode === 'Dialog';
|
|
30399
|
-
var dlgWrapper =
|
|
30415
|
+
var dlgWrapper = select('#' + gObj.element.id + '_dialogEdit_wrapper', document);
|
|
30400
30416
|
var dlgForm = isDlg ? dlgWrapper.querySelector('.e-gridform') : gObj.element.querySelector('.e-gridform');
|
|
30401
30417
|
var data = { virtualData: {}, isAdd: false };
|
|
30402
30418
|
this.parent.notify(getVirtualData, data);
|
|
@@ -30832,24 +30848,24 @@ var NormalEdit = /** @__PURE__ @class */ (function () {
|
|
|
30832
30848
|
return NormalEdit;
|
|
30833
30849
|
}());
|
|
30834
30850
|
|
|
30835
|
-
var __extends$24 = (undefined && undefined.__extends) || (function () {
|
|
30836
|
-
var extendStatics = function (d, b) {
|
|
30837
|
-
extendStatics = Object.setPrototypeOf ||
|
|
30838
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
30839
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
30840
|
-
return extendStatics(d, b);
|
|
30841
|
-
};
|
|
30842
|
-
return function (d, b) {
|
|
30843
|
-
extendStatics(d, b);
|
|
30844
|
-
function __() { this.constructor = d; }
|
|
30845
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
30846
|
-
};
|
|
30847
|
-
})();
|
|
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
|
+
})();
|
|
30848
30864
|
/**
|
|
30849
30865
|
* `InlineEdit` module is used to handle inline editing actions.
|
|
30850
30866
|
* @hidden
|
|
30851
30867
|
*/
|
|
30852
|
-
var InlineEdit = /** @
|
|
30868
|
+
var InlineEdit = /** @class */ (function (_super) {
|
|
30853
30869
|
__extends$24(InlineEdit, _super);
|
|
30854
30870
|
function InlineEdit(parent, serviceLocator, renderer) {
|
|
30855
30871
|
var _this = _super.call(this, parent, serviceLocator) || this;
|
|
@@ -30883,7 +30899,7 @@ var InlineEdit = /** @__PURE__ @class */ (function (_super) {
|
|
|
30883
30899
|
* `BatchEdit` module is used to handle batch editing actions.
|
|
30884
30900
|
* @hidden
|
|
30885
30901
|
*/
|
|
30886
|
-
var BatchEdit = /** @
|
|
30902
|
+
var BatchEdit = /** @class */ (function () {
|
|
30887
30903
|
function BatchEdit(parent, serviceLocator, renderer) {
|
|
30888
30904
|
this.cellDetails = {};
|
|
30889
30905
|
this.originalCell = {};
|
|
@@ -31735,7 +31751,7 @@ var BatchEdit = /** @__PURE__ @class */ (function () {
|
|
|
31735
31751
|
}
|
|
31736
31752
|
_this.renderer.update(cellEditArgs);
|
|
31737
31753
|
_this.parent.notify(batchEditFormRendered, cellEditArgs);
|
|
31738
|
-
_this.form =
|
|
31754
|
+
_this.form = select('#' + gObj.element.id + 'EditForm', gObj.element);
|
|
31739
31755
|
gObj.editModule.applyFormValidation([col]);
|
|
31740
31756
|
_this.parent.element.querySelector('.e-gridpopup').style.display = 'none';
|
|
31741
31757
|
});
|
|
@@ -32079,24 +32095,24 @@ var BatchEdit = /** @__PURE__ @class */ (function () {
|
|
|
32079
32095
|
return BatchEdit;
|
|
32080
32096
|
}());
|
|
32081
32097
|
|
|
32082
|
-
var __extends$25 = (undefined && undefined.__extends) || (function () {
|
|
32083
|
-
var extendStatics = function (d, b) {
|
|
32084
|
-
extendStatics = Object.setPrototypeOf ||
|
|
32085
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
32086
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
32087
|
-
return extendStatics(d, b);
|
|
32088
|
-
};
|
|
32089
|
-
return function (d, b) {
|
|
32090
|
-
extendStatics(d, b);
|
|
32091
|
-
function __() { this.constructor = d; }
|
|
32092
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
32093
|
-
};
|
|
32094
|
-
})();
|
|
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
|
+
})();
|
|
32095
32111
|
/**
|
|
32096
32112
|
* `DialogEdit` module is used to handle dialog editing actions.
|
|
32097
32113
|
* @hidden
|
|
32098
32114
|
*/
|
|
32099
|
-
var DialogEdit = /** @
|
|
32115
|
+
var DialogEdit = /** @class */ (function (_super) {
|
|
32100
32116
|
__extends$25(DialogEdit, _super);
|
|
32101
32117
|
function DialogEdit(parent, serviceLocator, renderer) {
|
|
32102
32118
|
var _this =
|
|
@@ -32136,7 +32152,7 @@ var DialogEdit = /** @__PURE__ @class */ (function (_super) {
|
|
|
32136
32152
|
* `DatePickerEditCell` is used to handle datepicker cell type editing.
|
|
32137
32153
|
* @hidden
|
|
32138
32154
|
*/
|
|
32139
|
-
var DatePickerEditCell = /** @
|
|
32155
|
+
var DatePickerEditCell = /** @class */ (function () {
|
|
32140
32156
|
function DatePickerEditCell(parent) {
|
|
32141
32157
|
this.parent = parent;
|
|
32142
32158
|
}
|
|
@@ -32191,7 +32207,7 @@ function dateanddatetimerender(args, mode, rtl) {
|
|
|
32191
32207
|
* `TemplateEditCell` is used to handle template cell.
|
|
32192
32208
|
* @hidden
|
|
32193
32209
|
*/
|
|
32194
|
-
var TemplateEditCell = /** @
|
|
32210
|
+
var TemplateEditCell = /** @class */ (function () {
|
|
32195
32211
|
function TemplateEditCell(parent) {
|
|
32196
32212
|
this.parent = parent;
|
|
32197
32213
|
}
|
|
@@ -32210,7 +32226,7 @@ var TemplateEditCell = /** @__PURE__ @class */ (function () {
|
|
|
32210
32226
|
/**
|
|
32211
32227
|
* The `Edit` module is used to handle editing actions.
|
|
32212
32228
|
*/
|
|
32213
|
-
var Edit = /** @
|
|
32229
|
+
var Edit = /** @class */ (function () {
|
|
32214
32230
|
/**
|
|
32215
32231
|
* Constructor for the Grid editing module
|
|
32216
32232
|
* @hidden
|
|
@@ -32898,7 +32914,7 @@ var Edit = /** @__PURE__ @class */ (function () {
|
|
|
32898
32914
|
var frzCols = gObj.getFrozenColumns();
|
|
32899
32915
|
var form = this.parent.editSettings.mode !== 'Dialog' ?
|
|
32900
32916
|
gObj.element.querySelector('.e-gridform') :
|
|
32901
|
-
|
|
32917
|
+
select('#' + gObj.element.id + '_dialogEdit_wrapper .e-gridform', document);
|
|
32902
32918
|
var mForm = gObj.element.querySelectorAll('.e-gridform')[1];
|
|
32903
32919
|
var rules = {};
|
|
32904
32920
|
var mRules = {};
|
|
@@ -32970,7 +32986,7 @@ var Edit = /** @__PURE__ @class */ (function () {
|
|
|
32970
32986
|
> (parseInt(closest(inputElement, '.e-row').getAttribute('aria-rowindex'), 10) || 0));
|
|
32971
32987
|
}
|
|
32972
32988
|
return this.parent.editSettings.mode !== 'Dialog' ? isFHdr ? this.parent.getHeaderTable() : this.parent.getContentTable() :
|
|
32973
|
-
|
|
32989
|
+
select('#' + this.parent.element.id + '_dialogEdit_wrapper', document);
|
|
32974
32990
|
};
|
|
32975
32991
|
Edit.prototype.validationComplete = function (args) {
|
|
32976
32992
|
if (this.parent.isEdit) {
|
|
@@ -33026,7 +33042,7 @@ var Edit = /** @__PURE__ @class */ (function () {
|
|
|
33026
33042
|
}
|
|
33027
33043
|
var table = isInline ?
|
|
33028
33044
|
(isFHdr ? this.parent.getHeaderTable() : this.parent.getContentTable()) :
|
|
33029
|
-
|
|
33045
|
+
select('#' + this.parent.element.id + '_dialogEdit_wrapper .e-dlg-content', document);
|
|
33030
33046
|
var client = table.getBoundingClientRect();
|
|
33031
33047
|
var left = isInline ?
|
|
33032
33048
|
this.parent.element.getBoundingClientRect().left : client.left;
|
|
@@ -33140,7 +33156,7 @@ var Edit = /** @__PURE__ @class */ (function () {
|
|
|
33140
33156
|
/**
|
|
33141
33157
|
* The `ColumnChooser` module is used to show or hide columns dynamically.
|
|
33142
33158
|
*/
|
|
33143
|
-
var ColumnChooser = /** @
|
|
33159
|
+
var ColumnChooser = /** @class */ (function () {
|
|
33144
33160
|
/**
|
|
33145
33161
|
* Constructor for the Grid ColumnChooser module
|
|
33146
33162
|
* @hidden
|
|
@@ -33520,8 +33536,8 @@ var ColumnChooser = /** @__PURE__ @class */ (function () {
|
|
|
33520
33536
|
this.clearActions();
|
|
33521
33537
|
this.parent.notify(columnChooserCancelBtnClick, { dialog: this.dlgObj });
|
|
33522
33538
|
};
|
|
33523
|
-
ColumnChooser.prototype.checkstatecolumn = function (isChecked, coluid, selectAll) {
|
|
33524
|
-
if (selectAll === void 0) { selectAll = false; }
|
|
33539
|
+
ColumnChooser.prototype.checkstatecolumn = function (isChecked, coluid, selectAll$$1) {
|
|
33540
|
+
if (selectAll$$1 === void 0) { selectAll$$1 = false; }
|
|
33525
33541
|
if (isChecked) {
|
|
33526
33542
|
if (this.hideColumn.indexOf(coluid) !== -1) {
|
|
33527
33543
|
this.hideColumn.splice(this.hideColumn.indexOf(coluid), 1);
|
|
@@ -33538,7 +33554,7 @@ var ColumnChooser = /** @__PURE__ @class */ (function () {
|
|
|
33538
33554
|
this.hideColumn.push(coluid);
|
|
33539
33555
|
}
|
|
33540
33556
|
}
|
|
33541
|
-
if (selectAll) {
|
|
33557
|
+
if (selectAll$$1) {
|
|
33542
33558
|
if (!isChecked) {
|
|
33543
33559
|
this.changedColumns.push(coluid);
|
|
33544
33560
|
}
|
|
@@ -33619,8 +33635,8 @@ var ColumnChooser = /** @__PURE__ @class */ (function () {
|
|
|
33619
33635
|
var checkstate;
|
|
33620
33636
|
var elem = parentsUntil(e.target, 'e-checkbox-wrapper');
|
|
33621
33637
|
if (elem) {
|
|
33622
|
-
var selectAll = elem.querySelector('.e-selectall');
|
|
33623
|
-
if (selectAll) {
|
|
33638
|
+
var selectAll$$1 = elem.querySelector('.e-selectall');
|
|
33639
|
+
if (selectAll$$1) {
|
|
33624
33640
|
this.updateSelectAll(!elem.querySelector('.e-check'));
|
|
33625
33641
|
}
|
|
33626
33642
|
else {
|
|
@@ -33718,12 +33734,12 @@ var ColumnChooser = /** @__PURE__ @class */ (function () {
|
|
|
33718
33734
|
this.ulElement = this.parent.createElement('ul', { className: 'e-ccul-ele e-cc' });
|
|
33719
33735
|
var selectAllValue = this.l10n.getConstant('SelectAll');
|
|
33720
33736
|
var cclist = this.parent.createElement('li', { className: 'e-cclist e-cc e-cc-selectall' });
|
|
33721
|
-
var selectAll = this.createCheckBox(selectAllValue, false, 'grid-selectAll');
|
|
33737
|
+
var selectAll$$1 = this.createCheckBox(selectAllValue, false, 'grid-selectAll');
|
|
33722
33738
|
if (gdCol.length) {
|
|
33723
|
-
selectAll.querySelector('.e-checkbox-wrapper').firstElementChild.classList.add('e-selectall');
|
|
33724
|
-
selectAll.querySelector('.e-frame').classList.add('e-selectall');
|
|
33725
|
-
this.checkState(selectAll.querySelector('.e-icons'), true);
|
|
33726
|
-
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);
|
|
33727
33743
|
this.ulElement.appendChild(cclist);
|
|
33728
33744
|
}
|
|
33729
33745
|
for (var i = 0; i < gdCol.length; i++) {
|
|
@@ -33848,7 +33864,7 @@ var ColumnChooser = /** @__PURE__ @class */ (function () {
|
|
|
33848
33864
|
* @hidden
|
|
33849
33865
|
* `ExportHelper` for `PdfExport` & `ExcelExport`
|
|
33850
33866
|
*/
|
|
33851
|
-
var ExportHelper = /** @
|
|
33867
|
+
var ExportHelper = /** @class */ (function () {
|
|
33852
33868
|
function ExportHelper(parent) {
|
|
33853
33869
|
this.hideColumnInclude = false;
|
|
33854
33870
|
this.foreignKeyData = {};
|
|
@@ -34102,7 +34118,7 @@ var ExportHelper = /** @__PURE__ @class */ (function () {
|
|
|
34102
34118
|
* @hidden
|
|
34103
34119
|
* `ExportValueFormatter` for `PdfExport` & `ExcelExport`
|
|
34104
34120
|
*/
|
|
34105
|
-
var ExportValueFormatter = /** @
|
|
34121
|
+
var ExportValueFormatter = /** @class */ (function () {
|
|
34106
34122
|
function ExportValueFormatter(culture) {
|
|
34107
34123
|
this.valueFormatter = new ValueFormatter(culture);
|
|
34108
34124
|
this.internationalization = new Internationalization(culture);
|
|
@@ -34183,7 +34199,7 @@ var ExportValueFormatter = /** @__PURE__ @class */ (function () {
|
|
|
34183
34199
|
* @hidden
|
|
34184
34200
|
* `ExcelExport` module is used to handle the Excel export action.
|
|
34185
34201
|
*/
|
|
34186
|
-
var ExcelExport = /** @
|
|
34202
|
+
var ExcelExport = /** @class */ (function () {
|
|
34187
34203
|
/**
|
|
34188
34204
|
* Constructor for the Grid Excel Export module.
|
|
34189
34205
|
* @hidden
|
|
@@ -35141,7 +35157,7 @@ var ExcelExport = /** @__PURE__ @class */ (function () {
|
|
|
35141
35157
|
* `PDF Export` module is used to handle the exportToPDF action.
|
|
35142
35158
|
* @hidden
|
|
35143
35159
|
*/
|
|
35144
|
-
var PdfExport = /** @
|
|
35160
|
+
var PdfExport = /** @class */ (function () {
|
|
35145
35161
|
/**
|
|
35146
35162
|
* Constructor for the Grid PDF Export module
|
|
35147
35163
|
* @hidden
|
|
@@ -36491,24 +36507,24 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
36491
36507
|
return PdfExport;
|
|
36492
36508
|
}());
|
|
36493
36509
|
|
|
36494
|
-
var __extends$26 = (undefined && undefined.__extends) || (function () {
|
|
36495
|
-
var extendStatics = function (d, b) {
|
|
36496
|
-
extendStatics = Object.setPrototypeOf ||
|
|
36497
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
36498
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
36499
|
-
return extendStatics(d, b);
|
|
36500
|
-
};
|
|
36501
|
-
return function (d, b) {
|
|
36502
|
-
extendStatics(d, b);
|
|
36503
|
-
function __() { this.constructor = d; }
|
|
36504
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
36505
|
-
};
|
|
36506
|
-
})();
|
|
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
|
+
})();
|
|
36507
36523
|
/**
|
|
36508
36524
|
* `CommandColumn` used to render command column in grid
|
|
36509
36525
|
* @hidden
|
|
36510
36526
|
*/
|
|
36511
|
-
var CommandColumnRenderer = /** @
|
|
36527
|
+
var CommandColumnRenderer = /** @class */ (function (_super) {
|
|
36512
36528
|
__extends$26(CommandColumnRenderer, _super);
|
|
36513
36529
|
function CommandColumnRenderer(parent, locator) {
|
|
36514
36530
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -36591,7 +36607,7 @@ var CommandColumnRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
36591
36607
|
* `CommandColumn` used to handle the command column actions.
|
|
36592
36608
|
* @hidden
|
|
36593
36609
|
*/
|
|
36594
|
-
var CommandColumn = /** @
|
|
36610
|
+
var CommandColumn = /** @class */ (function () {
|
|
36595
36611
|
function CommandColumn(parent, locator) {
|
|
36596
36612
|
this.parent = parent;
|
|
36597
36613
|
this.locator = locator;
|
|
@@ -36751,7 +36767,7 @@ var menuClass = {
|
|
|
36751
36767
|
/**
|
|
36752
36768
|
* The `ContextMenu` module is used to handle context menu actions.
|
|
36753
36769
|
*/
|
|
36754
|
-
var ContextMenu$1 = /** @
|
|
36770
|
+
var ContextMenu$1 = /** @class */ (function () {
|
|
36755
36771
|
function ContextMenu$$1(parent, serviceLocator) {
|
|
36756
36772
|
this.defaultItems = {};
|
|
36757
36773
|
this.disableItems = [];
|
|
@@ -37324,7 +37340,7 @@ var ContextMenu$1 = /** @__PURE__ @class */ (function () {
|
|
|
37324
37340
|
* FreezeRowModelGenerator is used to generate grid data rows with freeze row and column.
|
|
37325
37341
|
* @hidden
|
|
37326
37342
|
*/
|
|
37327
|
-
var FreezeRowModelGenerator = /** @
|
|
37343
|
+
var FreezeRowModelGenerator = /** @class */ (function () {
|
|
37328
37344
|
function FreezeRowModelGenerator(parent) {
|
|
37329
37345
|
this.isFrzLoad = 1;
|
|
37330
37346
|
this.parent = parent;
|
|
@@ -37357,24 +37373,24 @@ var FreezeRowModelGenerator = /** @__PURE__ @class */ (function () {
|
|
|
37357
37373
|
return FreezeRowModelGenerator;
|
|
37358
37374
|
}());
|
|
37359
37375
|
|
|
37360
|
-
var __extends$27 = (undefined && undefined.__extends) || (function () {
|
|
37361
|
-
var extendStatics = function (d, b) {
|
|
37362
|
-
extendStatics = Object.setPrototypeOf ||
|
|
37363
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
37364
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
37365
|
-
return extendStatics(d, b);
|
|
37366
|
-
};
|
|
37367
|
-
return function (d, b) {
|
|
37368
|
-
extendStatics(d, b);
|
|
37369
|
-
function __() { this.constructor = d; }
|
|
37370
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
37371
|
-
};
|
|
37372
|
-
})();
|
|
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
|
+
})();
|
|
37373
37389
|
/**
|
|
37374
37390
|
* Freeze module is used to render grid content with frozen rows and columns
|
|
37375
37391
|
* @hidden
|
|
37376
37392
|
*/
|
|
37377
|
-
var FreezeContentRender = /** @
|
|
37393
|
+
var FreezeContentRender = /** @class */ (function (_super) {
|
|
37378
37394
|
__extends$27(FreezeContentRender, _super);
|
|
37379
37395
|
function FreezeContentRender(parent, locator) {
|
|
37380
37396
|
return _super.call(this, parent, locator) || this;
|
|
@@ -37446,7 +37462,7 @@ var FreezeContentRender = /** @__PURE__ @class */ (function (_super) {
|
|
|
37446
37462
|
};
|
|
37447
37463
|
return FreezeContentRender;
|
|
37448
37464
|
}(ContentRender));
|
|
37449
|
-
var FreezeRender = /** @
|
|
37465
|
+
var FreezeRender = /** @class */ (function (_super) {
|
|
37450
37466
|
__extends$27(FreezeRender, _super);
|
|
37451
37467
|
function FreezeRender(parent, locator) {
|
|
37452
37468
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -37762,24 +37778,24 @@ var FreezeRender = /** @__PURE__ @class */ (function (_super) {
|
|
|
37762
37778
|
return FreezeRender;
|
|
37763
37779
|
}(HeaderRender));
|
|
37764
37780
|
|
|
37765
|
-
var __extends$28 = (undefined && undefined.__extends) || (function () {
|
|
37766
|
-
var extendStatics = function (d, b) {
|
|
37767
|
-
extendStatics = Object.setPrototypeOf ||
|
|
37768
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
37769
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
37770
|
-
return extendStatics(d, b);
|
|
37771
|
-
};
|
|
37772
|
-
return function (d, b) {
|
|
37773
|
-
extendStatics(d, b);
|
|
37774
|
-
function __() { this.constructor = d; }
|
|
37775
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
37776
|
-
};
|
|
37777
|
-
})();
|
|
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
|
+
})();
|
|
37778
37794
|
/**
|
|
37779
37795
|
* VirtualFreezeRenderer is used to render the virtual table within the frozen table
|
|
37780
37796
|
* @hidden
|
|
37781
37797
|
*/
|
|
37782
|
-
var VirtualFreezeRenderer = /** @
|
|
37798
|
+
var VirtualFreezeRenderer = /** @class */ (function (_super) {
|
|
37783
37799
|
__extends$28(VirtualFreezeRenderer, _super);
|
|
37784
37800
|
function VirtualFreezeRenderer(parent, locator) {
|
|
37785
37801
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -37931,7 +37947,7 @@ var VirtualFreezeRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
37931
37947
|
};
|
|
37932
37948
|
return VirtualFreezeRenderer;
|
|
37933
37949
|
}(FreezeContentRender));
|
|
37934
|
-
var VirtualFreezeHdrRenderer = /** @
|
|
37950
|
+
var VirtualFreezeHdrRenderer = /** @class */ (function (_super) {
|
|
37935
37951
|
__extends$28(VirtualFreezeHdrRenderer, _super);
|
|
37936
37952
|
function VirtualFreezeHdrRenderer(parent, locator) {
|
|
37937
37953
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -37979,7 +37995,7 @@ var VirtualFreezeHdrRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
37979
37995
|
* `Freeze` module is used to handle Frozen rows and columns.
|
|
37980
37996
|
* @hidden
|
|
37981
37997
|
*/
|
|
37982
|
-
var Freeze = /** @
|
|
37998
|
+
var Freeze = /** @class */ (function () {
|
|
37983
37999
|
function Freeze(parent, locator) {
|
|
37984
38000
|
this.parent = parent;
|
|
37985
38001
|
this.locator = locator;
|
|
@@ -38022,7 +38038,7 @@ var Freeze = /** @__PURE__ @class */ (function () {
|
|
|
38022
38038
|
* 'column menu module used to handle column menu actions'
|
|
38023
38039
|
* @hidden
|
|
38024
38040
|
*/
|
|
38025
|
-
var ColumnMenu = /** @
|
|
38041
|
+
var ColumnMenu = /** @class */ (function () {
|
|
38026
38042
|
function ColumnMenu(parent, serviceLocator) {
|
|
38027
38043
|
this.defaultItems = {};
|
|
38028
38044
|
this.localeText = this.setLocaleKey();
|
|
@@ -38584,23 +38600,23 @@ var ColumnMenu = /** @__PURE__ @class */ (function () {
|
|
|
38584
38600
|
return ColumnMenu;
|
|
38585
38601
|
}());
|
|
38586
38602
|
|
|
38587
|
-
var __extends$29 = (undefined && undefined.__extends) || (function () {
|
|
38588
|
-
var extendStatics = function (d, b) {
|
|
38589
|
-
extendStatics = Object.setPrototypeOf ||
|
|
38590
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
38591
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
38592
|
-
return extendStatics(d, b);
|
|
38593
|
-
};
|
|
38594
|
-
return function (d, b) {
|
|
38595
|
-
extendStatics(d, b);
|
|
38596
|
-
function __() { this.constructor = d; }
|
|
38597
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
38598
|
-
};
|
|
38599
|
-
})();
|
|
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
|
+
})();
|
|
38600
38616
|
/**
|
|
38601
38617
|
* `ForeignKey` module is used to handle foreign key column's actions.
|
|
38602
38618
|
*/
|
|
38603
|
-
var ForeignKey = /** @
|
|
38619
|
+
var ForeignKey = /** @class */ (function (_super) {
|
|
38604
38620
|
__extends$29(ForeignKey, _super);
|
|
38605
38621
|
function ForeignKey(parent, serviceLocator) {
|
|
38606
38622
|
var _this = _super.call(this, parent, serviceLocator) || this;
|
|
@@ -38778,7 +38794,7 @@ var DOC_URL = 'https://ej2.syncfusion.com/documentation/';
|
|
|
38778
38794
|
var WARNING = '[EJ2Grid.Warning]';
|
|
38779
38795
|
var ERROR = '[EJ2Grid.Error]';
|
|
38780
38796
|
var INFO = '[EJ2Grid.Info]';
|
|
38781
|
-
var Logger = /** @
|
|
38797
|
+
var Logger = /** @class */ (function () {
|
|
38782
38798
|
function Logger(parent) {
|
|
38783
38799
|
this.parent = parent;
|
|
38784
38800
|
this.parent.on('initial-end', this.patchadaptor, this);
|
|
@@ -39174,7 +39190,7 @@ var ajaxErrorHandler = function (args, parent) {
|
|
|
39174
39190
|
* Infinite Scrolling class
|
|
39175
39191
|
* @hidden
|
|
39176
39192
|
*/
|
|
39177
|
-
var InfiniteScroll = /** @
|
|
39193
|
+
var InfiniteScroll = /** @class */ (function () {
|
|
39178
39194
|
/**
|
|
39179
39195
|
* Constructor for the Grid infinite scrolling.
|
|
39180
39196
|
* @hidden
|
|
@@ -40054,24 +40070,24 @@ var InfiniteScroll = /** @__PURE__ @class */ (function () {
|
|
|
40054
40070
|
return InfiniteScroll;
|
|
40055
40071
|
}());
|
|
40056
40072
|
|
|
40057
|
-
var __extends$30 = (undefined && undefined.__extends) || (function () {
|
|
40058
|
-
var extendStatics = function (d, b) {
|
|
40059
|
-
extendStatics = Object.setPrototypeOf ||
|
|
40060
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
40061
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
40062
|
-
return extendStatics(d, b);
|
|
40063
|
-
};
|
|
40064
|
-
return function (d, b) {
|
|
40065
|
-
extendStatics(d, b);
|
|
40066
|
-
function __() { this.constructor = d; }
|
|
40067
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
40068
|
-
};
|
|
40069
|
-
})();
|
|
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
|
+
})();
|
|
40070
40086
|
/**
|
|
40071
40087
|
* GroupLazyLoadRenderer is used to perform lazy load grouping
|
|
40072
40088
|
* @hidden
|
|
40073
40089
|
*/
|
|
40074
|
-
var GroupLazyLoadRenderer = /** @
|
|
40090
|
+
var GroupLazyLoadRenderer = /** @class */ (function (_super) {
|
|
40075
40091
|
__extends$30(GroupLazyLoadRenderer, _super);
|
|
40076
40092
|
function GroupLazyLoadRenderer(parent, locator) {
|
|
40077
40093
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -41200,7 +41216,7 @@ var GroupLazyLoadRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
41200
41216
|
/**
|
|
41201
41217
|
* Group lazy load class
|
|
41202
41218
|
*/
|
|
41203
|
-
var LazyLoadGroup = /** @
|
|
41219
|
+
var LazyLoadGroup = /** @class */ (function () {
|
|
41204
41220
|
/**
|
|
41205
41221
|
* Constructor for Grid group lazy load module
|
|
41206
41222
|
* @hidden
|
|
@@ -41265,7 +41281,7 @@ var LazyLoadGroup = /** @__PURE__ @class */ (function () {
|
|
|
41265
41281
|
* `AutoCompleteEditCell` is used to handle autocomplete cell type editing.
|
|
41266
41282
|
* @hidden
|
|
41267
41283
|
*/
|
|
41268
|
-
var AutoCompleteEditCell = /** @
|
|
41284
|
+
var AutoCompleteEditCell = /** @class */ (function () {
|
|
41269
41285
|
function AutoCompleteEditCell(parent) {
|
|
41270
41286
|
//constructor
|
|
41271
41287
|
this.parentObj = parent;
|
|
@@ -41322,7 +41338,7 @@ var AutoCompleteEditCell = /** @__PURE__ @class */ (function () {
|
|
|
41322
41338
|
* `ComboBoxEditCell` is used to handle ComboBoxEdit cell type editing.
|
|
41323
41339
|
* @hidden
|
|
41324
41340
|
*/
|
|
41325
|
-
var ComboboxEditCell = /** @
|
|
41341
|
+
var ComboboxEditCell = /** @class */ (function () {
|
|
41326
41342
|
function ComboboxEditCell(parentObject) {
|
|
41327
41343
|
//constructor
|
|
41328
41344
|
this.parent = parentObject;
|
|
@@ -41374,7 +41390,7 @@ var ComboboxEditCell = /** @__PURE__ @class */ (function () {
|
|
|
41374
41390
|
* `MultiSelectEditCell` is used to handle multiselect dropdown cell type editing.
|
|
41375
41391
|
* @hidden
|
|
41376
41392
|
*/
|
|
41377
|
-
var MultiSelectEditCell = /** @
|
|
41393
|
+
var MultiSelectEditCell = /** @class */ (function () {
|
|
41378
41394
|
function MultiSelectEditCell(parentObj) {
|
|
41379
41395
|
//constructor
|
|
41380
41396
|
this.parent = parentObj;
|
|
@@ -41417,7 +41433,7 @@ var MultiSelectEditCell = /** @__PURE__ @class */ (function () {
|
|
|
41417
41433
|
* `TimePickerEditCell` is used to handle Timepicker cell type editing.
|
|
41418
41434
|
* @hidden
|
|
41419
41435
|
*/
|
|
41420
|
-
var TimePickerEditCell = /** @
|
|
41436
|
+
var TimePickerEditCell = /** @class */ (function () {
|
|
41421
41437
|
function TimePickerEditCell(grid) {
|
|
41422
41438
|
this.parent = grid;
|
|
41423
41439
|
}
|
|
@@ -41459,7 +41475,7 @@ var TimePickerEditCell = /** @__PURE__ @class */ (function () {
|
|
|
41459
41475
|
* `ToggleEditCell` is used to handle boolean cell type editing.
|
|
41460
41476
|
* @hidden
|
|
41461
41477
|
*/
|
|
41462
|
-
var ToggleEditCell = /** @
|
|
41478
|
+
var ToggleEditCell = /** @class */ (function () {
|
|
41463
41479
|
function ToggleEditCell(parentObject) {
|
|
41464
41480
|
this.activeClasses = ['e-selectionbackground', 'e-active'];
|
|
41465
41481
|
this.parent = parentObject;
|
|
@@ -41534,7 +41550,7 @@ var ToggleEditCell = /** @__PURE__ @class */ (function () {
|
|
|
41534
41550
|
* `MaskedTextBoxCellEdit` is used to handle masked input cell type editing.
|
|
41535
41551
|
* @hidden
|
|
41536
41552
|
*/
|
|
41537
|
-
var MaskedTextBoxCellEdit = /** @
|
|
41553
|
+
var MaskedTextBoxCellEdit = /** @class */ (function () {
|
|
41538
41554
|
function MaskedTextBoxCellEdit(parentInstance) {
|
|
41539
41555
|
//constructor
|
|
41540
41556
|
this.parent = parentInstance;
|