@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,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
}
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { extend, remove, isNullOrUndefined, setStyleAttribute, removeClass, addClass } from '@syncfusion/ej2-base';
|
|
15
15
|
import { ContentRender } from './content-renderer';
|
|
16
16
|
import * as events from '../base/constant';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
}
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { isNullOrUndefined, extend, isBlazor } from '@syncfusion/ej2-base';
|
|
15
15
|
import { attributes } from '@syncfusion/ej2-base';
|
|
16
16
|
import { setStyleAndAttributes, appendChildren } from '../base/util';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
}
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { CellRenderer } from './cell-renderer';
|
|
15
15
|
/**
|
|
16
16
|
* HeaderIndentCellRenderer class which responsible for building header indent cell.
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
}
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { setStyleAndAttributes } from '../base/util';
|
|
15
15
|
import { CellRenderer } from './cell-renderer';
|
|
16
16
|
/**
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
}
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { CellRenderer } from './cell-renderer';
|
|
15
15
|
/**
|
|
16
16
|
* ExpandCellRenderer class which responsible for building group expand cell.
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
}
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { createElement } from '@syncfusion/ej2-base';
|
|
15
15
|
import { CellRenderer } from './cell-renderer';
|
|
16
16
|
/**
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
}
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
15
15
|
import { CellRenderer } from './cell-renderer';
|
|
16
16
|
import { headerCellInfo } from '../base/constant';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
}
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { isNullOrUndefined, isBlazor } from '@syncfusion/ej2-base';
|
|
15
15
|
import { appendChildren } from '../base/util';
|
|
16
16
|
import { CellRenderer } from './cell-renderer';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
}
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { remove, createElement, closest, formatUnit, Browser, extend } from '@syncfusion/ej2-base';
|
|
15
15
|
import { isNullOrUndefined, removeClass } from '@syncfusion/ej2-base';
|
|
16
16
|
import { DataManager } from '@syncfusion/ej2-data';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
}
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { remove, extend } from '@syncfusion/ej2-base';
|
|
15
15
|
import { FreezeContentRender, FreezeRender } from './freeze-renderer';
|
|
16
16
|
import { VirtualContentRenderer, VirtualHeaderRenderer } from './virtual-content-renderer';
|
|
@@ -94,6 +94,7 @@ export declare class ContentFocus implements IFocus {
|
|
|
94
94
|
[x: string]: number[];
|
|
95
95
|
};
|
|
96
96
|
indexesByKey: (action: string) => number[];
|
|
97
|
+
target: HTMLElement;
|
|
97
98
|
constructor(parent: IGrid);
|
|
98
99
|
getTable(): HTMLTableElement;
|
|
99
100
|
onKeyPress(e: KeyboardEventArgs): void | boolean;
|
|
@@ -101,7 +102,7 @@ export declare class ContentFocus implements IFocus {
|
|
|
101
102
|
getCurrentFromAction(action: string, navigator?: number[], isPresent?: boolean, e?: KeyboardEventArgs): number[];
|
|
102
103
|
onClick(e: Event, force?: boolean): void | boolean;
|
|
103
104
|
getFocusInfo(): FocusInfo;
|
|
104
|
-
getFocusable(element: HTMLElement):
|
|
105
|
+
getFocusable(element: HTMLElement): any;
|
|
105
106
|
selector(row: Row<Column>, cell: Cell<Column>, isRowTemplate?: boolean): boolean;
|
|
106
107
|
jump(action: string, current: number[]): SwapInfo;
|
|
107
108
|
getNextCurrent(previous?: number[], swap?: SwapInfo, active?: IFocus, action?: string): number[];
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
}
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { EventHandler, getValue, closest, isNullOrUndefined } from '@syncfusion/ej2-base';
|
|
15
15
|
import { addClass, removeClass, extend, Browser } from '@syncfusion/ej2-base';
|
|
16
16
|
import { CellType } from '../base/enum';
|
|
@@ -232,7 +232,7 @@ var FocusStrategy = /** @class */ (function () {
|
|
|
232
232
|
this.addFocus(this.getContent().getFocusInfo(), e);
|
|
233
233
|
};
|
|
234
234
|
FocusStrategy.prototype.removeFocus = function (e) {
|
|
235
|
-
if (!this.currentInfo.element) {
|
|
235
|
+
if (!this.currentInfo.element || !this.currentInfo.elementToFocus) {
|
|
236
236
|
return;
|
|
237
237
|
}
|
|
238
238
|
removeClass([this.currentInfo.element, this.currentInfo.elementToFocus], ['e-focused', 'e-focus']);
|
|
@@ -264,7 +264,7 @@ var FocusStrategy = /** @class */ (function () {
|
|
|
264
264
|
FocusStrategy.prototype.addFocus = function (info, e) {
|
|
265
265
|
this.currentInfo = info;
|
|
266
266
|
this.currentInfo.outline = info.outline && !isNullOrUndefined(e);
|
|
267
|
-
if (!info.element) {
|
|
267
|
+
if (!info.element || !info.elementToFocus) {
|
|
268
268
|
return;
|
|
269
269
|
}
|
|
270
270
|
var isFocused = info.elementToFocus.classList.contains('e-focus');
|
|
@@ -687,6 +687,7 @@ var ContentFocus = /** @class */ (function () {
|
|
|
687
687
|
};
|
|
688
688
|
ContentFocus.prototype.onClick = function (e, force) {
|
|
689
689
|
var target = e.target;
|
|
690
|
+
this.target = target;
|
|
690
691
|
target = (target.classList.contains('e-rowcell') ? target : closest(target, 'td'));
|
|
691
692
|
target = target ? target : closest(e.target, 'td.e-detailrowcollapse')
|
|
692
693
|
|| closest(e.target, 'td.e-detailrowexpand');
|
|
@@ -720,7 +721,9 @@ var ContentFocus = /** @class */ (function () {
|
|
|
720
721
|
return info;
|
|
721
722
|
};
|
|
722
723
|
ContentFocus.prototype.getFocusable = function (element) {
|
|
724
|
+
var _this = this;
|
|
723
725
|
var query = 'button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])';
|
|
726
|
+
var isTemplate = !isNullOrUndefined(closest(element, '.e-templatecell'));
|
|
724
727
|
if (this.parent.isEdit) {
|
|
725
728
|
query = 'input:not([type="hidden"]), select:not([aria-hidden="true"]), textarea';
|
|
726
729
|
}
|
|
@@ -729,7 +732,14 @@ var ContentFocus = /** @class */ (function () {
|
|
|
729
732
|
* if no child found then select the cell itself.
|
|
730
733
|
* if Grid is in editable state, check for editable control inside child.
|
|
731
734
|
*/
|
|
732
|
-
|
|
735
|
+
if (isTemplate && child.length && child.length > 1) {
|
|
736
|
+
setTimeout(function () {
|
|
737
|
+
return _this.target;
|
|
738
|
+
}, 10);
|
|
739
|
+
}
|
|
740
|
+
else {
|
|
741
|
+
return child.length ? child[0] : element;
|
|
742
|
+
}
|
|
733
743
|
};
|
|
734
744
|
ContentFocus.prototype.selector = function (row, cell, isRowTemplate) {
|
|
735
745
|
var types = [CellType.Expand, CellType.GroupCaption, CellType.CaptionSummary, CellType.GroupSummary];
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
}
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { Row } from '../models/row';
|
|
15
15
|
import { isNullOrUndefined, extend, setValue, isBlazor } from '@syncfusion/ej2-base';
|
|
16
16
|
import { CellType } from '../base/enum';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
}
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
14
|
import { Row } from '../models/row';
|
|
15
15
|
import { Column } from '../models/column';
|
|
16
16
|
import { isNullOrUndefined, isBlazor } from '@syncfusion/ej2-base';
|
|
@@ -98,7 +98,7 @@ var PagerDropDown = /** @class */ (function () {
|
|
|
98
98
|
PagerDropDown.prototype.convertValue = function (pageSizeValue) {
|
|
99
99
|
var item = pageSizeValue;
|
|
100
100
|
for (var i = 0; i < item.length; i++) {
|
|
101
|
-
item[i] =
|
|
101
|
+
item[i] = parseInt(item[i], 10) ? item[i].toString() : this.pagerModule.getLocalizedLabel(item[i]);
|
|
102
102
|
}
|
|
103
103
|
return item;
|
|
104
104
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Component, ModuleDeclaration, L10n, EmitType, Browser, isBlazor } from '@syncfusion/ej2-base';
|
|
1
|
+
import { Component, ModuleDeclaration, L10n, EmitType, Browser, isBlazor } from '@syncfusion/ej2-base';
|
|
2
2
|
import {ComponentModel} from '@syncfusion/ej2-base';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -7,89 +7,89 @@ import {ComponentModel} from '@syncfusion/ej2-base';
|
|
|
7
7
|
export interface PagerModel extends ComponentModel{
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* If `enableQueryString` set to true,
|
|
11
|
-
* then it pass current page information as a query string along with the URL while navigating to other page.
|
|
12
|
-
* @default false
|
|
13
|
-
*/
|
|
14
|
-
enableQueryString?: boolean;
|
|
10
|
+
* If `enableQueryString` set to true,
|
|
11
|
+
* then it pass current page information as a query string along with the URL while navigating to other page.
|
|
12
|
+
* @default false
|
|
13
|
+
*/
|
|
14
|
+
enableQueryString?: boolean;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* If `enableExternalMessage` set to true, then it adds the message to Pager.
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
enableExternalMessage?: boolean;
|
|
17
|
+
* If `enableExternalMessage` set to true, then it adds the message to Pager.
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
enableExternalMessage?: boolean;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* If `enablePagerMessage` set to true, then it adds the pager information.
|
|
24
|
-
* @default true
|
|
25
|
-
*/
|
|
26
|
-
enablePagerMessage?: boolean;
|
|
23
|
+
* If `enablePagerMessage` set to true, then it adds the pager information.
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
26
|
+
enablePagerMessage?: boolean;
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* Defines the records count of visible page.
|
|
30
|
-
* @default 12
|
|
31
|
-
*/
|
|
32
|
-
pageSize?: number;
|
|
29
|
+
* Defines the records count of visible page.
|
|
30
|
+
* @default 12
|
|
31
|
+
*/
|
|
32
|
+
pageSize?: number;
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
|
-
* Defines the number of pages to display in pager container.
|
|
36
|
-
* @default 10
|
|
37
|
-
*/
|
|
38
|
-
pageCount?: number;
|
|
35
|
+
* Defines the number of pages to display in pager container.
|
|
36
|
+
* @default 10
|
|
37
|
+
*/
|
|
38
|
+
pageCount?: number;
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* Defines the current page number of pager.
|
|
42
|
-
* @default 1
|
|
43
|
-
*/
|
|
44
|
-
currentPage?: number;
|
|
41
|
+
* Defines the current page number of pager.
|
|
42
|
+
* @default 1
|
|
43
|
+
*/
|
|
44
|
+
currentPage?: number;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* Gets or Sets the total records count which is used to render numeric container.
|
|
48
|
-
* @default null
|
|
49
|
-
*/
|
|
50
|
-
totalRecordsCount?: number;
|
|
47
|
+
* Gets or Sets the total records count which is used to render numeric container.
|
|
48
|
+
* @default null
|
|
49
|
+
*/
|
|
50
|
+
totalRecordsCount?: number;
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* Defines the external message of Pager.
|
|
54
|
-
* @default null
|
|
55
|
-
*/
|
|
56
|
-
externalMessage?: string;
|
|
53
|
+
* Defines the external message of Pager.
|
|
54
|
+
* @default null
|
|
55
|
+
*/
|
|
56
|
+
externalMessage?: string;
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* If `pageSizes` set to true or Array of values,
|
|
60
|
-
* It renders DropDownList in the pager which allow us to select pageSize from DropDownList.
|
|
61
|
-
* @default false
|
|
62
|
-
*/
|
|
63
|
-
pageSizes?: boolean | (number | string)[];
|
|
59
|
+
* If `pageSizes` set to true or Array of values,
|
|
60
|
+
* It renders DropDownList in the pager which allow us to select pageSize from DropDownList.
|
|
61
|
+
* @default false
|
|
62
|
+
*/
|
|
63
|
+
pageSizes?: boolean | (number | string)[];
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* Defines the template as string or HTML element ID which renders customized elements in pager instead of default elements.
|
|
67
|
-
* @default null
|
|
68
|
-
*/
|
|
69
|
-
template?: string;
|
|
66
|
+
* Defines the template as string or HTML element ID which renders customized elements in pager instead of default elements.
|
|
67
|
+
* @default null
|
|
68
|
+
*/
|
|
69
|
+
template?: string;
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
|
-
* Defines the customized text to append with numeric items.
|
|
73
|
-
* @default null
|
|
74
|
-
*/
|
|
75
|
-
customText?: string;
|
|
72
|
+
* Defines the customized text to append with numeric items.
|
|
73
|
+
* @default null
|
|
74
|
+
*/
|
|
75
|
+
customText?: string;
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
* Triggers when click on the numeric items.
|
|
79
|
-
* @default null
|
|
80
|
-
*/
|
|
81
|
-
click?: EmitType<Object>;
|
|
78
|
+
* Triggers when click on the numeric items.
|
|
79
|
+
* @default null
|
|
80
|
+
*/
|
|
81
|
+
click?: EmitType<Object>;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* Triggers after pageSize is selected in DropDownList.
|
|
85
|
-
* @default null
|
|
86
|
-
*/
|
|
87
|
-
dropDownChanged?: EmitType<Object>;
|
|
84
|
+
* Triggers after pageSize is selected in DropDownList.
|
|
85
|
+
* @default null
|
|
86
|
+
*/
|
|
87
|
+
dropDownChanged?: EmitType<Object>;
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
* Triggers when Pager is created.
|
|
91
|
-
* @default null
|
|
92
|
-
*/
|
|
93
|
-
created?: EmitType<Object>;
|
|
90
|
+
* Triggers when Pager is created.
|
|
91
|
+
* @default null
|
|
92
|
+
*/
|
|
93
|
+
created?: EmitType<Object>;
|
|
94
94
|
|
|
95
95
|
}
|