@syncfusion/ej2-treegrid 32.2.7 → 32.2.9-1987473
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/.eslintrc.json +243 -262
- package/README.md +92 -92
- package/dist/ej2-treegrid.umd.min.js +1 -10
- package/dist/ej2-treegrid.umd.min.js.map +1 -1
- package/dist/es6/ej2-treegrid.es2015.js +127 -96
- package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
- package/dist/es6/ej2-treegrid.es5.js +424 -392
- package/dist/es6/ej2-treegrid.es5.js.map +1 -1
- package/license +9 -9
- package/package.json +44 -44
- package/src/treegrid/actions/clipboard.js +13 -13
- package/src/treegrid/actions/excel-export.js +35 -5
- package/src/treegrid/actions/logger.js +13 -13
- package/src/treegrid/actions/pdf-export.js +1 -1
- package/src/treegrid/actions/virtual-scroll.js +18 -14
- package/src/treegrid/base/treegrid-model.d.ts +950 -950
- package/src/treegrid/base/treegrid.d.ts +18 -18
- package/src/treegrid/base/treegrid.js +30 -35
- package/src/treegrid/models/column-chooser-settings-model.d.ts +41 -41
- package/src/treegrid/models/column-chooser-settings.js +19 -19
- package/src/treegrid/models/column-model.d.ts +6 -6
- package/src/treegrid/models/column.js +19 -19
- package/src/treegrid/models/edit-settings-model.d.ts +71 -71
- package/src/treegrid/models/edit-settings.js +19 -19
- package/src/treegrid/models/filter-settings-model.d.ts +198 -198
- package/src/treegrid/models/filter-settings.js +19 -19
- package/src/treegrid/models/infinite-scroll-settings-model.d.ts +16 -16
- package/src/treegrid/models/infinite-scroll-settings.js +19 -19
- package/src/treegrid/models/loading-indicator.js +19 -19
- package/src/treegrid/models/page-settings-model.d.ts +43 -43
- package/src/treegrid/models/page-settings.js +19 -19
- package/src/treegrid/models/rowdrop-settings-model.d.ts +6 -6
- package/src/treegrid/models/rowdrop-settings.js +19 -19
- package/src/treegrid/models/search-settings-model.d.ts +62 -62
- package/src/treegrid/models/search-settings.js +19 -19
- package/src/treegrid/models/selection-settings-model.d.ts +55 -55
- package/src/treegrid/models/selection-settings.js +19 -19
- package/src/treegrid/models/sort-settings-model.d.ts +27 -27
- package/src/treegrid/models/sort-settings.js +19 -19
- package/src/treegrid/models/summary-model.d.ts +63 -63
- package/src/treegrid/models/summary.js +19 -19
- package/src/treegrid/models/textwrap-settings-model.d.ts +12 -12
- package/src/treegrid/models/textwrap-settings.js +19 -19
- package/src/treegrid/renderer/virtual-row-model-generator.js +13 -13
- package/src/treegrid/renderer/virtual-tree-content-render.js +16 -13
- package/styles/treegrid/_all.bds.scss +2 -2
- package/styles/treegrid/_all.bootstrap-dark.scss +2 -2
- package/styles/treegrid/_all.bootstrap.scss +2 -2
- package/styles/treegrid/_all.bootstrap4.scss +2 -2
- package/styles/treegrid/_all.bootstrap5-dark.scss +2 -2
- package/styles/treegrid/_all.bootstrap5.3.scss +2 -2
- package/styles/treegrid/_all.bootstrap5.scss +2 -2
- package/styles/treegrid/_all.fabric-dark.scss +2 -2
- package/styles/treegrid/_all.fabric.scss +2 -2
- package/styles/treegrid/_all.fluent-dark.scss +2 -2
- package/styles/treegrid/_all.fluent.scss +2 -2
- package/styles/treegrid/_all.fluent2.scss +2 -2
- package/styles/treegrid/_all.highcontrast-light.scss +2 -2
- package/styles/treegrid/_all.highcontrast.scss +2 -2
- package/styles/treegrid/_all.material-dark.scss +2 -2
- package/styles/treegrid/_all.material.scss +2 -2
- package/styles/treegrid/_all.material3-dark.scss +2 -2
- package/styles/treegrid/_all.material3.scss +2 -2
- package/styles/treegrid/_all.scss +2 -2
- package/styles/treegrid/_all.tailwind-dark.scss +2 -2
- package/styles/treegrid/_all.tailwind.scss +2 -2
- package/styles/treegrid/_all.tailwind3.scss +2 -2
- package/styles/treegrid/_bds-definition.scss +26 -26
- package/styles/treegrid/_bigger.bds.scss +3 -3
- package/styles/treegrid/_bigger.bootstrap-dark.scss +3 -3
- package/styles/treegrid/_bigger.bootstrap.scss +3 -3
- package/styles/treegrid/_bigger.bootstrap4.scss +3 -3
- package/styles/treegrid/_bigger.bootstrap5-dark.scss +3 -3
- package/styles/treegrid/_bigger.bootstrap5.3.scss +3 -3
- package/styles/treegrid/_bigger.bootstrap5.scss +3 -3
- package/styles/treegrid/_bigger.fabric-dark.scss +3 -3
- package/styles/treegrid/_bigger.fabric.scss +3 -3
- package/styles/treegrid/_bigger.fluent-dark.scss +3 -3
- package/styles/treegrid/_bigger.fluent.scss +3 -3
- package/styles/treegrid/_bigger.fluent2.scss +3 -3
- package/styles/treegrid/_bigger.highcontrast-light.scss +3 -3
- package/styles/treegrid/_bigger.highcontrast.scss +3 -3
- package/styles/treegrid/_bigger.material-dark.scss +3 -3
- package/styles/treegrid/_bigger.material.scss +3 -3
- package/styles/treegrid/_bigger.material3-dark.scss +3 -3
- package/styles/treegrid/_bigger.material3.scss +3 -3
- package/styles/treegrid/_bigger.scss +67 -67
- package/styles/treegrid/_bigger.tailwind-dark.scss +3 -3
- package/styles/treegrid/_bigger.tailwind.scss +3 -3
- package/styles/treegrid/_bigger.tailwind3.scss +3 -3
- package/styles/treegrid/_bootstrap-dark-definition.scss +31 -31
- package/styles/treegrid/_bootstrap-definition.scss +31 -31
- package/styles/treegrid/_bootstrap4-definition.scss +31 -31
- package/styles/treegrid/_bootstrap5-dark-definition.scss +26 -26
- package/styles/treegrid/_bootstrap5-definition.scss +26 -26
- package/styles/treegrid/_bootstrap5.3-definition.scss +26 -26
- package/styles/treegrid/_fabric-dark-definition.scss +31 -31
- package/styles/treegrid/_fabric-definition.scss +31 -31
- package/styles/treegrid/_fluent-dark-definition.scss +27 -27
- package/styles/treegrid/_fluent-definition.scss +27 -27
- package/styles/treegrid/_fluent2-definition.scss +26 -26
- package/styles/treegrid/_fusionnew-definition.scss +24 -24
- package/styles/treegrid/_highcontrast-definition.scss +31 -31
- package/styles/treegrid/_highcontrast-light-definition.scss +31 -31
- package/styles/treegrid/_icons.scss +47 -47
- package/styles/treegrid/_layout.bds.scss +4 -4
- package/styles/treegrid/_layout.bootstrap-dark.scss +4 -4
- package/styles/treegrid/_layout.bootstrap.scss +4 -4
- package/styles/treegrid/_layout.bootstrap4.scss +4 -4
- package/styles/treegrid/_layout.bootstrap5-dark.scss +4 -4
- package/styles/treegrid/_layout.bootstrap5.3.scss +4 -4
- package/styles/treegrid/_layout.bootstrap5.scss +4 -4
- package/styles/treegrid/_layout.fabric-dark.scss +4 -4
- package/styles/treegrid/_layout.fabric.scss +4 -4
- package/styles/treegrid/_layout.fluent-dark.scss +4 -4
- package/styles/treegrid/_layout.fluent.scss +4 -4
- package/styles/treegrid/_layout.fluent2.scss +4 -4
- package/styles/treegrid/_layout.highcontrast-light.scss +4 -4
- package/styles/treegrid/_layout.highcontrast.scss +4 -4
- package/styles/treegrid/_layout.material-dark.scss +4 -4
- package/styles/treegrid/_layout.material.scss +4 -4
- package/styles/treegrid/_layout.material3-dark.scss +4 -4
- package/styles/treegrid/_layout.material3.scss +4 -4
- package/styles/treegrid/_layout.scss +531 -531
- package/styles/treegrid/_layout.tailwind-dark.scss +4 -4
- package/styles/treegrid/_layout.tailwind.scss +4 -4
- package/styles/treegrid/_layout.tailwind3.scss +4 -4
- package/styles/treegrid/_material-dark-definition.scss +31 -31
- package/styles/treegrid/_material-definition.scss +31 -31
- package/styles/treegrid/_material3-dark-definition.scss +26 -26
- package/styles/treegrid/_material3-definition.scss +26 -26
- package/styles/treegrid/_tailwind-dark-definition.scss +26 -26
- package/styles/treegrid/_tailwind-definition.scss +26 -26
- package/styles/treegrid/_tailwind3-definition.scss +26 -26
- package/styles/treegrid/_theme-variables.bds.scss +1 -1
- package/styles/treegrid/_theme-variables.bootstrap-dark.scss +1 -1
- package/styles/treegrid/_theme-variables.bootstrap.scss +1 -1
- package/styles/treegrid/_theme-variables.bootstrap4.scss +1 -1
- package/styles/treegrid/_theme-variables.bootstrap5-dark.scss +1 -1
- package/styles/treegrid/_theme-variables.bootstrap5.3.scss +1 -1
- package/styles/treegrid/_theme-variables.bootstrap5.scss +1 -1
- package/styles/treegrid/_theme-variables.fabric-dark.scss +1 -1
- package/styles/treegrid/_theme-variables.fabric.scss +1 -1
- package/styles/treegrid/_theme-variables.fluent-dark.scss +1 -1
- package/styles/treegrid/_theme-variables.fluent.scss +1 -1
- package/styles/treegrid/_theme-variables.fluent2.scss +1 -1
- package/styles/treegrid/_theme-variables.highcontrast-light.scss +1 -1
- package/styles/treegrid/_theme-variables.highcontrast.scss +1 -1
- package/styles/treegrid/_theme-variables.material-dark.scss +1 -1
- package/styles/treegrid/_theme-variables.material.scss +1 -1
- package/styles/treegrid/_theme-variables.material3-dark.scss +1 -1
- package/styles/treegrid/_theme-variables.material3.scss +1 -1
- package/styles/treegrid/_theme-variables.tailwind-dark.scss +1 -1
- package/styles/treegrid/_theme-variables.tailwind.scss +1 -1
- package/styles/treegrid/_theme-variables.tailwind3.scss +1 -1
- package/styles/treegrid/_theme.bds.scss +1 -1
- package/styles/treegrid/_theme.bootstrap-dark.scss +1 -1
- package/styles/treegrid/_theme.bootstrap.scss +1 -1
- package/styles/treegrid/_theme.bootstrap4.scss +1 -1
- package/styles/treegrid/_theme.bootstrap5-dark.scss +1 -1
- package/styles/treegrid/_theme.bootstrap5.3.scss +1 -1
- package/styles/treegrid/_theme.bootstrap5.scss +1 -1
- package/styles/treegrid/_theme.fabric-dark.scss +1 -1
- package/styles/treegrid/_theme.fabric.scss +1 -1
- package/styles/treegrid/_theme.fluent-dark.scss +1 -1
- package/styles/treegrid/_theme.fluent.scss +1 -1
- package/styles/treegrid/_theme.fluent2.scss +1 -1
- package/styles/treegrid/_theme.highcontrast-light.scss +1 -1
- package/styles/treegrid/_theme.highcontrast.scss +1 -1
- package/styles/treegrid/_theme.material-dark.scss +1 -1
- package/styles/treegrid/_theme.material.scss +1 -1
- package/styles/treegrid/_theme.material3-dark.scss +1 -1
- package/styles/treegrid/_theme.material3.scss +1 -1
- package/styles/treegrid/_theme.scss +1 -1
- package/styles/treegrid/_theme.tailwind-dark.scss +1 -1
- package/styles/treegrid/_theme.tailwind.scss +1 -1
- package/styles/treegrid/_theme.tailwind3.scss +1 -1
- package/styles/treegrid/icons/_bds.scss +38 -38
- package/styles/treegrid/icons/_bootstrap-dark.scss +48 -48
- package/styles/treegrid/icons/_bootstrap.scss +48 -48
- package/styles/treegrid/icons/_bootstrap4.scss +48 -48
- package/styles/treegrid/icons/_bootstrap5.3.scss +48 -48
- package/styles/treegrid/icons/_bootstrap5.scss +48 -48
- package/styles/treegrid/icons/_fabric-dark.scss +48 -48
- package/styles/treegrid/icons/_fabric.scss +48 -48
- package/styles/treegrid/icons/_fluent.scss +48 -48
- package/styles/treegrid/icons/_fluent2.scss +48 -48
- package/styles/treegrid/icons/_fusionnew.scss +31 -31
- package/styles/treegrid/icons/_highcontrast-light.scss +48 -48
- package/styles/treegrid/icons/_highcontrast.scss +48 -48
- package/styles/treegrid/icons/_material-dark.scss +48 -48
- package/styles/treegrid/icons/_material.scss +48 -48
- package/styles/treegrid/icons/_material3.scss +48 -48
- package/styles/treegrid/icons/_tailwind-dark.scss +48 -48
- package/styles/treegrid/icons/_tailwind.scss +48 -48
- package/styles/treegrid/icons/_tailwind3.scss +48 -48
- package/aceconfig.js +0 -17
- package/dist/ej2-treegrid.min.js +0 -10
- package/dist/global/ej2-treegrid.min.js +0 -11
- package/dist/global/ej2-treegrid.min.js.map +0 -1
- package/dist/global/index.d.ts +0 -14
- package/helpers/e2e/index.d.ts +0 -1
- package/helpers/e2e/index.js +0 -8
- package/helpers/e2e/treegridhelper.d.ts +0 -21
- package/helpers/e2e/treegridhelper.js +0 -83
- package/tslint.json +0 -111
|
@@ -4,29 +4,29 @@ import { createCheckBox } from '@syncfusion/ej2-buttons';
|
|
|
4
4
|
import { DataManager, ODataAdaptor, WebApiAdaptor, WebMethodAdaptor, CacheAdaptor, UrlAdaptor, Query, DataUtil, RemoteSaveAdaptor, Deferred, JsonAdaptor, Predicate as Predicate$1 } from '@syncfusion/ej2-data';
|
|
5
5
|
import { showSpinner, hideSpinner, createSpinner } from '@syncfusion/ej2-popups';
|
|
6
6
|
|
|
7
|
-
var __extends = (undefined && undefined.__extends) || (function () {
|
|
8
|
-
var extendStatics = function (d, b) {
|
|
9
|
-
extendStatics = Object.setPrototypeOf ||
|
|
10
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12
|
-
return extendStatics(d, b);
|
|
13
|
-
};
|
|
14
|
-
return function (d, b) {
|
|
15
|
-
extendStatics(d, b);
|
|
16
|
-
function __() { this.constructor = d; }
|
|
17
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18
|
-
};
|
|
19
|
-
})();
|
|
20
|
-
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
21
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
23
|
-
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;
|
|
24
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
|
-
};
|
|
7
|
+
var __extends = (undefined && undefined.__extends) || (function () {
|
|
8
|
+
var extendStatics = function (d, b) {
|
|
9
|
+
extendStatics = Object.setPrototypeOf ||
|
|
10
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
12
|
+
return extendStatics(d, b);
|
|
13
|
+
};
|
|
14
|
+
return function (d, b) {
|
|
15
|
+
extendStatics(d, b);
|
|
16
|
+
function __() { this.constructor = d; }
|
|
17
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
18
|
+
};
|
|
19
|
+
})();
|
|
20
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
21
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
23
|
+
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;
|
|
24
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
|
+
};
|
|
26
26
|
/**
|
|
27
27
|
* Represents the "Column" model class for TreeGrid, defining essential properties and functionalities of a column.
|
|
28
28
|
*/
|
|
29
|
-
var Column = /** @
|
|
29
|
+
var Column = /** @class */ (function () {
|
|
30
30
|
function Column(options) {
|
|
31
31
|
/**
|
|
32
32
|
* Allows or disallows editing of the column. Set to `false` to make a column non-editable.
|
|
@@ -119,7 +119,7 @@ var Column = /** @__PURE__ @class */ (function () {
|
|
|
119
119
|
/**
|
|
120
120
|
* Defines TreeGrid column
|
|
121
121
|
*/
|
|
122
|
-
var TreeGridColumn = /** @
|
|
122
|
+
var TreeGridColumn = /** @class */ (function (_super) {
|
|
123
123
|
__extends(TreeGridColumn, _super);
|
|
124
124
|
function TreeGridColumn() {
|
|
125
125
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -132,7 +132,7 @@ var TreeGridColumn = /** @__PURE__ @class */ (function (_super) {
|
|
|
132
132
|
/**
|
|
133
133
|
* Defines stacked tree grid column
|
|
134
134
|
*/
|
|
135
|
-
var StackedColumn = /** @
|
|
135
|
+
var StackedColumn = /** @class */ (function (_super) {
|
|
136
136
|
__extends(StackedColumn, _super);
|
|
137
137
|
function StackedColumn() {
|
|
138
138
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -140,29 +140,29 @@ var StackedColumn = /** @__PURE__ @class */ (function (_super) {
|
|
|
140
140
|
return StackedColumn;
|
|
141
141
|
}(TreeGridColumn));
|
|
142
142
|
|
|
143
|
-
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
144
|
-
var extendStatics = function (d, b) {
|
|
145
|
-
extendStatics = Object.setPrototypeOf ||
|
|
146
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
147
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
148
|
-
return extendStatics(d, b);
|
|
149
|
-
};
|
|
150
|
-
return function (d, b) {
|
|
151
|
-
extendStatics(d, b);
|
|
152
|
-
function __() { this.constructor = d; }
|
|
153
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
154
|
-
};
|
|
155
|
-
})();
|
|
156
|
-
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
157
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
158
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
159
|
-
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;
|
|
160
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
161
|
-
};
|
|
143
|
+
var __extends$1 = (undefined && undefined.__extends) || (function () {
|
|
144
|
+
var extendStatics = function (d, b) {
|
|
145
|
+
extendStatics = Object.setPrototypeOf ||
|
|
146
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
147
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
148
|
+
return extendStatics(d, b);
|
|
149
|
+
};
|
|
150
|
+
return function (d, b) {
|
|
151
|
+
extendStatics(d, b);
|
|
152
|
+
function __() { this.constructor = d; }
|
|
153
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
154
|
+
};
|
|
155
|
+
})();
|
|
156
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
157
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
158
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
159
|
+
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;
|
|
160
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
161
|
+
};
|
|
162
162
|
/**
|
|
163
163
|
* Configures the loading indicator for the Tree Grid, allowing you to display a visual indicator during data loading operations to enhance user experience.
|
|
164
164
|
*/
|
|
165
|
-
var LoadingIndicator = /** @
|
|
165
|
+
var LoadingIndicator = /** @class */ (function (_super) {
|
|
166
166
|
__extends$1(LoadingIndicator, _super);
|
|
167
167
|
function LoadingIndicator() {
|
|
168
168
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -173,29 +173,29 @@ var LoadingIndicator = /** @__PURE__ @class */ (function (_super) {
|
|
|
173
173
|
return LoadingIndicator;
|
|
174
174
|
}(ChildProperty));
|
|
175
175
|
|
|
176
|
-
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
177
|
-
var extendStatics = function (d, b) {
|
|
178
|
-
extendStatics = Object.setPrototypeOf ||
|
|
179
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
180
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
181
|
-
return extendStatics(d, b);
|
|
182
|
-
};
|
|
183
|
-
return function (d, b) {
|
|
184
|
-
extendStatics(d, b);
|
|
185
|
-
function __() { this.constructor = d; }
|
|
186
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
187
|
-
};
|
|
188
|
-
})();
|
|
189
|
-
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
190
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
191
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
192
|
-
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;
|
|
193
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
194
|
-
};
|
|
176
|
+
var __extends$2 = (undefined && undefined.__extends) || (function () {
|
|
177
|
+
var extendStatics = function (d, b) {
|
|
178
|
+
extendStatics = Object.setPrototypeOf ||
|
|
179
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
180
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
181
|
+
return extendStatics(d, b);
|
|
182
|
+
};
|
|
183
|
+
return function (d, b) {
|
|
184
|
+
extendStatics(d, b);
|
|
185
|
+
function __() { this.constructor = d; }
|
|
186
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
187
|
+
};
|
|
188
|
+
})();
|
|
189
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
190
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
191
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
192
|
+
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;
|
|
193
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
194
|
+
};
|
|
195
195
|
/**
|
|
196
196
|
* Represents the filter configuration for a column in the TreeGrid.
|
|
197
197
|
*/
|
|
198
|
-
var Predicate = /** @
|
|
198
|
+
var Predicate = /** @class */ (function (_super) {
|
|
199
199
|
__extends$2(Predicate, _super);
|
|
200
200
|
function Predicate() {
|
|
201
201
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -241,7 +241,7 @@ var Predicate = /** @__PURE__ @class */ (function (_super) {
|
|
|
241
241
|
/**
|
|
242
242
|
* Configures the filtering behavior of the TreeGrid, enabling complex data filtering capabilities.
|
|
243
243
|
*/
|
|
244
|
-
var FilterSettings = /** @
|
|
244
|
+
var FilterSettings = /** @class */ (function (_super) {
|
|
245
245
|
__extends$2(FilterSettings, _super);
|
|
246
246
|
function FilterSettings() {
|
|
247
247
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -273,29 +273,29 @@ var FilterSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
273
273
|
return FilterSettings;
|
|
274
274
|
}(ChildProperty));
|
|
275
275
|
|
|
276
|
-
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
277
|
-
var extendStatics = function (d, b) {
|
|
278
|
-
extendStatics = Object.setPrototypeOf ||
|
|
279
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
280
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
281
|
-
return extendStatics(d, b);
|
|
282
|
-
};
|
|
283
|
-
return function (d, b) {
|
|
284
|
-
extendStatics(d, b);
|
|
285
|
-
function __() { this.constructor = d; }
|
|
286
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
287
|
-
};
|
|
288
|
-
})();
|
|
289
|
-
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
290
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
291
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
292
|
-
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;
|
|
293
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
294
|
-
};
|
|
276
|
+
var __extends$3 = (undefined && undefined.__extends) || (function () {
|
|
277
|
+
var extendStatics = function (d, b) {
|
|
278
|
+
extendStatics = Object.setPrototypeOf ||
|
|
279
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
280
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
281
|
+
return extendStatics(d, b);
|
|
282
|
+
};
|
|
283
|
+
return function (d, b) {
|
|
284
|
+
extendStatics(d, b);
|
|
285
|
+
function __() { this.constructor = d; }
|
|
286
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
287
|
+
};
|
|
288
|
+
})();
|
|
289
|
+
var __decorate$3 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
290
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
291
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
292
|
+
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;
|
|
293
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
294
|
+
};
|
|
295
295
|
/**
|
|
296
296
|
* Configures the text wrapping behavior of the TreeGrid.
|
|
297
297
|
*/
|
|
298
|
-
var TextWrapSettings = /** @
|
|
298
|
+
var TextWrapSettings = /** @class */ (function (_super) {
|
|
299
299
|
__extends$3(TextWrapSettings, _super);
|
|
300
300
|
function TextWrapSettings() {
|
|
301
301
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -306,19 +306,19 @@ var TextWrapSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
306
306
|
return TextWrapSettings;
|
|
307
307
|
}(ChildProperty));
|
|
308
308
|
|
|
309
|
-
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
310
|
-
var extendStatics = function (d, b) {
|
|
311
|
-
extendStatics = Object.setPrototypeOf ||
|
|
312
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
313
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
314
|
-
return extendStatics(d, b);
|
|
315
|
-
};
|
|
316
|
-
return function (d, b) {
|
|
317
|
-
extendStatics(d, b);
|
|
318
|
-
function __() { this.constructor = d; }
|
|
319
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
320
|
-
};
|
|
321
|
-
})();
|
|
309
|
+
var __extends$4 = (undefined && undefined.__extends) || (function () {
|
|
310
|
+
var extendStatics = function (d, b) {
|
|
311
|
+
extendStatics = Object.setPrototypeOf ||
|
|
312
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
313
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
314
|
+
return extendStatics(d, b);
|
|
315
|
+
};
|
|
316
|
+
return function (d, b) {
|
|
317
|
+
extendStatics(d, b);
|
|
318
|
+
function __() { this.constructor = d; }
|
|
319
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
320
|
+
};
|
|
321
|
+
})();
|
|
322
322
|
/**
|
|
323
323
|
* Logger module for TreeGrid
|
|
324
324
|
*
|
|
@@ -328,7 +328,7 @@ var DOC_URL = 'https://ej2.syncfusion.com/documentation/treegrid';
|
|
|
328
328
|
var BASE_DOC_URL = 'https://ej2.syncfusion.com/documentation';
|
|
329
329
|
var ERROR = '[EJ2TreeGrid.Error]';
|
|
330
330
|
var IsRowDDEnabled = false;
|
|
331
|
-
var Logger = /** @
|
|
331
|
+
var Logger = /** @class */ (function (_super) {
|
|
332
332
|
__extends$4(Logger, _super);
|
|
333
333
|
function Logger(parent) {
|
|
334
334
|
var _this = this;
|
|
@@ -603,25 +603,25 @@ var actionFailure = 'actionFailure';
|
|
|
603
603
|
/** @hidden */
|
|
604
604
|
var collapseActionComplete = 'collapseActionComplete';
|
|
605
605
|
|
|
606
|
-
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
607
|
-
var extendStatics = function (d, b) {
|
|
608
|
-
extendStatics = Object.setPrototypeOf ||
|
|
609
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
610
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
611
|
-
return extendStatics(d, b);
|
|
612
|
-
};
|
|
613
|
-
return function (d, b) {
|
|
614
|
-
extendStatics(d, b);
|
|
615
|
-
function __() { this.constructor = d; }
|
|
616
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
617
|
-
};
|
|
618
|
-
})();
|
|
606
|
+
var __extends$5 = (undefined && undefined.__extends) || (function () {
|
|
607
|
+
var extendStatics = function (d, b) {
|
|
608
|
+
extendStatics = Object.setPrototypeOf ||
|
|
609
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
610
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
611
|
+
return extendStatics(d, b);
|
|
612
|
+
};
|
|
613
|
+
return function (d, b) {
|
|
614
|
+
extendStatics(d, b);
|
|
615
|
+
function __() { this.constructor = d; }
|
|
616
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
617
|
+
};
|
|
618
|
+
})();
|
|
619
619
|
/**
|
|
620
620
|
* The `Clipboard` module is used to handle clipboard copy action.
|
|
621
621
|
*
|
|
622
622
|
* @hidden
|
|
623
623
|
*/
|
|
624
|
-
var TreeClipboard = /** @
|
|
624
|
+
var TreeClipboard = /** @class */ (function (_super) {
|
|
625
625
|
__extends$5(TreeClipboard, _super);
|
|
626
626
|
function TreeClipboard(parent, serviceLocator) {
|
|
627
627
|
var _this = _super.call(this, parent.grid, serviceLocator) || this;
|
|
@@ -1003,7 +1003,7 @@ function isHidden(el) {
|
|
|
1003
1003
|
*
|
|
1004
1004
|
* @hidden
|
|
1005
1005
|
*/
|
|
1006
|
-
var Selection = /** @
|
|
1006
|
+
var Selection = /** @class */ (function () {
|
|
1007
1007
|
/**
|
|
1008
1008
|
* Creates an instance of Selection.
|
|
1009
1009
|
*
|
|
@@ -2002,7 +2002,7 @@ var Selection = /** @__PURE__ @class */ (function () {
|
|
|
2002
2002
|
*
|
|
2003
2003
|
* @hidden
|
|
2004
2004
|
*/
|
|
2005
|
-
var Print = /** @
|
|
2005
|
+
var Print = /** @class */ (function () {
|
|
2006
2006
|
/**
|
|
2007
2007
|
* Constructor for Print module
|
|
2008
2008
|
*
|
|
@@ -2055,29 +2055,29 @@ var Print = /** @__PURE__ @class */ (function () {
|
|
|
2055
2055
|
return Print;
|
|
2056
2056
|
}());
|
|
2057
2057
|
|
|
2058
|
-
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
2059
|
-
var extendStatics = function (d, b) {
|
|
2060
|
-
extendStatics = Object.setPrototypeOf ||
|
|
2061
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2062
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2063
|
-
return extendStatics(d, b);
|
|
2064
|
-
};
|
|
2065
|
-
return function (d, b) {
|
|
2066
|
-
extendStatics(d, b);
|
|
2067
|
-
function __() { this.constructor = d; }
|
|
2068
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2069
|
-
};
|
|
2070
|
-
})();
|
|
2071
|
-
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2072
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2073
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2074
|
-
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;
|
|
2075
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2076
|
-
};
|
|
2058
|
+
var __extends$6 = (undefined && undefined.__extends) || (function () {
|
|
2059
|
+
var extendStatics = function (d, b) {
|
|
2060
|
+
extendStatics = Object.setPrototypeOf ||
|
|
2061
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2062
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2063
|
+
return extendStatics(d, b);
|
|
2064
|
+
};
|
|
2065
|
+
return function (d, b) {
|
|
2066
|
+
extendStatics(d, b);
|
|
2067
|
+
function __() { this.constructor = d; }
|
|
2068
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2069
|
+
};
|
|
2070
|
+
})();
|
|
2071
|
+
var __decorate$4 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2072
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2073
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2074
|
+
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;
|
|
2075
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2076
|
+
};
|
|
2077
2077
|
/**
|
|
2078
2078
|
* Configures the searching behavior of the TreeGrid.
|
|
2079
2079
|
*/
|
|
2080
|
-
var SearchSettings = /** @
|
|
2080
|
+
var SearchSettings = /** @class */ (function (_super) {
|
|
2081
2081
|
__extends$6(SearchSettings, _super);
|
|
2082
2082
|
function SearchSettings() {
|
|
2083
2083
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -2100,29 +2100,29 @@ var SearchSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
2100
2100
|
return SearchSettings;
|
|
2101
2101
|
}(ChildProperty));
|
|
2102
2102
|
|
|
2103
|
-
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
2104
|
-
var extendStatics = function (d, b) {
|
|
2105
|
-
extendStatics = Object.setPrototypeOf ||
|
|
2106
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2107
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2108
|
-
return extendStatics(d, b);
|
|
2109
|
-
};
|
|
2110
|
-
return function (d, b) {
|
|
2111
|
-
extendStatics(d, b);
|
|
2112
|
-
function __() { this.constructor = d; }
|
|
2113
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2114
|
-
};
|
|
2115
|
-
})();
|
|
2116
|
-
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2117
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2118
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2119
|
-
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;
|
|
2120
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2121
|
-
};
|
|
2103
|
+
var __extends$7 = (undefined && undefined.__extends) || (function () {
|
|
2104
|
+
var extendStatics = function (d, b) {
|
|
2105
|
+
extendStatics = Object.setPrototypeOf ||
|
|
2106
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
2107
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
2108
|
+
return extendStatics(d, b);
|
|
2109
|
+
};
|
|
2110
|
+
return function (d, b) {
|
|
2111
|
+
extendStatics(d, b);
|
|
2112
|
+
function __() { this.constructor = d; }
|
|
2113
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
2114
|
+
};
|
|
2115
|
+
})();
|
|
2116
|
+
var __decorate$5 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
2117
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
2118
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
2119
|
+
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;
|
|
2120
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2121
|
+
};
|
|
2122
2122
|
/**
|
|
2123
2123
|
* Configures the selection behavior of the TreeGrid.
|
|
2124
2124
|
*/
|
|
2125
|
-
var SelectionSettings = /** @
|
|
2125
|
+
var SelectionSettings = /** @class */ (function (_super) {
|
|
2126
2126
|
__extends$7(SelectionSettings, _super);
|
|
2127
2127
|
function SelectionSettings() {
|
|
2128
2128
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -2156,7 +2156,7 @@ var SelectionSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
2156
2156
|
*
|
|
2157
2157
|
* @hidden
|
|
2158
2158
|
*/
|
|
2159
|
-
var Render = /** @
|
|
2159
|
+
var Render = /** @class */ (function () {
|
|
2160
2160
|
/**
|
|
2161
2161
|
* Constructor for render module
|
|
2162
2162
|
*
|
|
@@ -2547,7 +2547,7 @@ var Render = /** @__PURE__ @class */ (function () {
|
|
|
2547
2547
|
*
|
|
2548
2548
|
* @hidden
|
|
2549
2549
|
*/
|
|
2550
|
-
var DataManipulation = /** @
|
|
2550
|
+
var DataManipulation = /** @class */ (function () {
|
|
2551
2551
|
function DataManipulation(grid) {
|
|
2552
2552
|
this.addedRecords = 'addedRecords';
|
|
2553
2553
|
this.parent = grid;
|
|
@@ -3498,29 +3498,29 @@ var ContextMenuItems;
|
|
|
3498
3498
|
ContextMenuItems[ContextMenuItems["RowOutdent"] = 17] = "RowOutdent";
|
|
3499
3499
|
})(ContextMenuItems || (ContextMenuItems = {}));
|
|
3500
3500
|
|
|
3501
|
-
var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
3502
|
-
var extendStatics = function (d, b) {
|
|
3503
|
-
extendStatics = Object.setPrototypeOf ||
|
|
3504
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
3505
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
3506
|
-
return extendStatics(d, b);
|
|
3507
|
-
};
|
|
3508
|
-
return function (d, b) {
|
|
3509
|
-
extendStatics(d, b);
|
|
3510
|
-
function __() { this.constructor = d; }
|
|
3511
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3512
|
-
};
|
|
3513
|
-
})();
|
|
3514
|
-
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3515
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3516
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3517
|
-
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;
|
|
3518
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3519
|
-
};
|
|
3501
|
+
var __extends$8 = (undefined && undefined.__extends) || (function () {
|
|
3502
|
+
var extendStatics = function (d, b) {
|
|
3503
|
+
extendStatics = Object.setPrototypeOf ||
|
|
3504
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
3505
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
3506
|
+
return extendStatics(d, b);
|
|
3507
|
+
};
|
|
3508
|
+
return function (d, b) {
|
|
3509
|
+
extendStatics(d, b);
|
|
3510
|
+
function __() { this.constructor = d; }
|
|
3511
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3512
|
+
};
|
|
3513
|
+
})();
|
|
3514
|
+
var __decorate$6 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3515
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3516
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3517
|
+
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;
|
|
3518
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3519
|
+
};
|
|
3520
3520
|
/**
|
|
3521
3521
|
* Configures the paging behavior of the TreeGrid, enabling you to manage and display data efficiently across multiple pages.
|
|
3522
3522
|
*/
|
|
3523
|
-
var PageSettings = /** @
|
|
3523
|
+
var PageSettings = /** @class */ (function (_super) {
|
|
3524
3524
|
__extends$8(PageSettings, _super);
|
|
3525
3525
|
function PageSettings() {
|
|
3526
3526
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -3552,29 +3552,29 @@ var PageSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
3552
3552
|
return PageSettings;
|
|
3553
3553
|
}(ChildProperty));
|
|
3554
3554
|
|
|
3555
|
-
var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
3556
|
-
var extendStatics = function (d, b) {
|
|
3557
|
-
extendStatics = Object.setPrototypeOf ||
|
|
3558
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
3559
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
3560
|
-
return extendStatics(d, b);
|
|
3561
|
-
};
|
|
3562
|
-
return function (d, b) {
|
|
3563
|
-
extendStatics(d, b);
|
|
3564
|
-
function __() { this.constructor = d; }
|
|
3565
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3566
|
-
};
|
|
3567
|
-
})();
|
|
3568
|
-
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3569
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3570
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3571
|
-
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;
|
|
3572
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3573
|
-
};
|
|
3555
|
+
var __extends$9 = (undefined && undefined.__extends) || (function () {
|
|
3556
|
+
var extendStatics = function (d, b) {
|
|
3557
|
+
extendStatics = Object.setPrototypeOf ||
|
|
3558
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
3559
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
3560
|
+
return extendStatics(d, b);
|
|
3561
|
+
};
|
|
3562
|
+
return function (d, b) {
|
|
3563
|
+
extendStatics(d, b);
|
|
3564
|
+
function __() { this.constructor = d; }
|
|
3565
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3566
|
+
};
|
|
3567
|
+
})();
|
|
3568
|
+
var __decorate$7 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3569
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3570
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3571
|
+
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;
|
|
3572
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3573
|
+
};
|
|
3574
3574
|
/**
|
|
3575
3575
|
* Configures the aggregate column for the TreeGrid.
|
|
3576
3576
|
*/
|
|
3577
|
-
var AggregateColumn = /** @
|
|
3577
|
+
var AggregateColumn = /** @class */ (function (_super) {
|
|
3578
3578
|
__extends$9(AggregateColumn, _super);
|
|
3579
3579
|
function AggregateColumn() {
|
|
3580
3580
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -3666,7 +3666,7 @@ var AggregateColumn = /** @__PURE__ @class */ (function (_super) {
|
|
|
3666
3666
|
/**
|
|
3667
3667
|
* Configures the aggregate rows in the TreeGrid.
|
|
3668
3668
|
*/
|
|
3669
|
-
var AggregateRow = /** @
|
|
3669
|
+
var AggregateRow = /** @class */ (function (_super) {
|
|
3670
3670
|
__extends$9(AggregateRow, _super);
|
|
3671
3671
|
function AggregateRow() {
|
|
3672
3672
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -3680,29 +3680,29 @@ var AggregateRow = /** @__PURE__ @class */ (function (_super) {
|
|
|
3680
3680
|
return AggregateRow;
|
|
3681
3681
|
}(ChildProperty));
|
|
3682
3682
|
|
|
3683
|
-
var __extends$a = (undefined && undefined.__extends) || (function () {
|
|
3684
|
-
var extendStatics = function (d, b) {
|
|
3685
|
-
extendStatics = Object.setPrototypeOf ||
|
|
3686
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
3687
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
3688
|
-
return extendStatics(d, b);
|
|
3689
|
-
};
|
|
3690
|
-
return function (d, b) {
|
|
3691
|
-
extendStatics(d, b);
|
|
3692
|
-
function __() { this.constructor = d; }
|
|
3693
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3694
|
-
};
|
|
3695
|
-
})();
|
|
3696
|
-
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3697
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3698
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3699
|
-
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;
|
|
3700
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3701
|
-
};
|
|
3683
|
+
var __extends$a = (undefined && undefined.__extends) || (function () {
|
|
3684
|
+
var extendStatics = function (d, b) {
|
|
3685
|
+
extendStatics = Object.setPrototypeOf ||
|
|
3686
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
3687
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
3688
|
+
return extendStatics(d, b);
|
|
3689
|
+
};
|
|
3690
|
+
return function (d, b) {
|
|
3691
|
+
extendStatics(d, b);
|
|
3692
|
+
function __() { this.constructor = d; }
|
|
3693
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3694
|
+
};
|
|
3695
|
+
})();
|
|
3696
|
+
var __decorate$8 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3697
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3698
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3699
|
+
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;
|
|
3700
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3701
|
+
};
|
|
3702
3702
|
/**
|
|
3703
3703
|
* Configures the edit behavior of the TreeGrid, defining how records can be added, modified, or deleted.
|
|
3704
3704
|
*/
|
|
3705
|
-
var EditSettings = /** @
|
|
3705
|
+
var EditSettings = /** @class */ (function (_super) {
|
|
3706
3706
|
__extends$a(EditSettings, _super);
|
|
3707
3707
|
function EditSettings() {
|
|
3708
3708
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -3743,29 +3743,29 @@ var EditSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
3743
3743
|
return EditSettings;
|
|
3744
3744
|
}(ChildProperty));
|
|
3745
3745
|
|
|
3746
|
-
var __extends$b = (undefined && undefined.__extends) || (function () {
|
|
3747
|
-
var extendStatics = function (d, b) {
|
|
3748
|
-
extendStatics = Object.setPrototypeOf ||
|
|
3749
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
3750
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
3751
|
-
return extendStatics(d, b);
|
|
3752
|
-
};
|
|
3753
|
-
return function (d, b) {
|
|
3754
|
-
extendStatics(d, b);
|
|
3755
|
-
function __() { this.constructor = d; }
|
|
3756
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3757
|
-
};
|
|
3758
|
-
})();
|
|
3759
|
-
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3760
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3761
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3762
|
-
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;
|
|
3763
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3764
|
-
};
|
|
3746
|
+
var __extends$b = (undefined && undefined.__extends) || (function () {
|
|
3747
|
+
var extendStatics = function (d, b) {
|
|
3748
|
+
extendStatics = Object.setPrototypeOf ||
|
|
3749
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
3750
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
3751
|
+
return extendStatics(d, b);
|
|
3752
|
+
};
|
|
3753
|
+
return function (d, b) {
|
|
3754
|
+
extendStatics(d, b);
|
|
3755
|
+
function __() { this.constructor = d; }
|
|
3756
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
3757
|
+
};
|
|
3758
|
+
})();
|
|
3759
|
+
var __decorate$9 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
3760
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3761
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
3762
|
+
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;
|
|
3763
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
3764
|
+
};
|
|
3765
3765
|
/**
|
|
3766
3766
|
* Represents the field name and direction of a sort column in the TreeGrid.
|
|
3767
3767
|
*/
|
|
3768
|
-
var SortDescriptor = /** @
|
|
3768
|
+
var SortDescriptor = /** @class */ (function (_super) {
|
|
3769
3769
|
__extends$b(SortDescriptor, _super);
|
|
3770
3770
|
function SortDescriptor() {
|
|
3771
3771
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -3781,7 +3781,7 @@ var SortDescriptor = /** @__PURE__ @class */ (function (_super) {
|
|
|
3781
3781
|
/**
|
|
3782
3782
|
* Configures the sorting behavior of the TreeGrid.
|
|
3783
3783
|
*/
|
|
3784
|
-
var SortSettings = /** @
|
|
3784
|
+
var SortSettings = /** @class */ (function (_super) {
|
|
3785
3785
|
__extends$b(SortSettings, _super);
|
|
3786
3786
|
function SortSettings() {
|
|
3787
3787
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -4211,29 +4211,29 @@ function updateParentRow(key, record, action, control, isSelfReference, child) {
|
|
|
4211
4211
|
}
|
|
4212
4212
|
}
|
|
4213
4213
|
|
|
4214
|
-
var __extends$c = (undefined && undefined.__extends) || (function () {
|
|
4215
|
-
var extendStatics = function (d, b) {
|
|
4216
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4217
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4218
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4219
|
-
return extendStatics(d, b);
|
|
4220
|
-
};
|
|
4221
|
-
return function (d, b) {
|
|
4222
|
-
extendStatics(d, b);
|
|
4223
|
-
function __() { this.constructor = d; }
|
|
4224
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4225
|
-
};
|
|
4226
|
-
})();
|
|
4227
|
-
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4228
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4229
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4230
|
-
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;
|
|
4231
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4232
|
-
};
|
|
4214
|
+
var __extends$c = (undefined && undefined.__extends) || (function () {
|
|
4215
|
+
var extendStatics = function (d, b) {
|
|
4216
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4217
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4218
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4219
|
+
return extendStatics(d, b);
|
|
4220
|
+
};
|
|
4221
|
+
return function (d, b) {
|
|
4222
|
+
extendStatics(d, b);
|
|
4223
|
+
function __() { this.constructor = d; }
|
|
4224
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4225
|
+
};
|
|
4226
|
+
})();
|
|
4227
|
+
var __decorate$a = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4228
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4229
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4230
|
+
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;
|
|
4231
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4232
|
+
};
|
|
4233
4233
|
/**
|
|
4234
4234
|
* Configures the infinite scroll behavior of the Tree Grid.
|
|
4235
4235
|
*/
|
|
4236
|
-
var InfiniteScrollSettings = /** @
|
|
4236
|
+
var InfiniteScrollSettings = /** @class */ (function (_super) {
|
|
4237
4237
|
__extends$c(InfiniteScrollSettings, _super);
|
|
4238
4238
|
function InfiniteScrollSettings() {
|
|
4239
4239
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -4250,29 +4250,29 @@ var InfiniteScrollSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
4250
4250
|
return InfiniteScrollSettings;
|
|
4251
4251
|
}(ChildProperty));
|
|
4252
4252
|
|
|
4253
|
-
var __extends$d = (undefined && undefined.__extends) || (function () {
|
|
4254
|
-
var extendStatics = function (d, b) {
|
|
4255
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4256
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4257
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4258
|
-
return extendStatics(d, b);
|
|
4259
|
-
};
|
|
4260
|
-
return function (d, b) {
|
|
4261
|
-
extendStatics(d, b);
|
|
4262
|
-
function __() { this.constructor = d; }
|
|
4263
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4264
|
-
};
|
|
4265
|
-
})();
|
|
4266
|
-
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4267
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4268
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4269
|
-
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;
|
|
4270
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4271
|
-
};
|
|
4253
|
+
var __extends$d = (undefined && undefined.__extends) || (function () {
|
|
4254
|
+
var extendStatics = function (d, b) {
|
|
4255
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4256
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4257
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4258
|
+
return extendStatics(d, b);
|
|
4259
|
+
};
|
|
4260
|
+
return function (d, b) {
|
|
4261
|
+
extendStatics(d, b);
|
|
4262
|
+
function __() { this.constructor = d; }
|
|
4263
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4264
|
+
};
|
|
4265
|
+
})();
|
|
4266
|
+
var __decorate$b = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4267
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4268
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4269
|
+
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;
|
|
4270
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4271
|
+
};
|
|
4272
4272
|
/**
|
|
4273
4273
|
* Configures the column chooser behavior of the Grid.
|
|
4274
4274
|
*/
|
|
4275
|
-
var ColumnChooserSettings = /** @
|
|
4275
|
+
var ColumnChooserSettings = /** @class */ (function (_super) {
|
|
4276
4276
|
__extends$d(ColumnChooserSettings, _super);
|
|
4277
4277
|
function ColumnChooserSettings() {
|
|
4278
4278
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -4301,25 +4301,25 @@ var ColumnChooserSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
4301
4301
|
return ColumnChooserSettings;
|
|
4302
4302
|
}(ChildProperty));
|
|
4303
4303
|
|
|
4304
|
-
var __extends$e = (undefined && undefined.__extends) || (function () {
|
|
4305
|
-
var extendStatics = function (d, b) {
|
|
4306
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4307
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4308
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4309
|
-
return extendStatics(d, b);
|
|
4310
|
-
};
|
|
4311
|
-
return function (d, b) {
|
|
4312
|
-
extendStatics(d, b);
|
|
4313
|
-
function __() { this.constructor = d; }
|
|
4314
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4315
|
-
};
|
|
4316
|
-
})();
|
|
4317
|
-
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4318
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4319
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4320
|
-
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;
|
|
4321
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4322
|
-
};
|
|
4304
|
+
var __extends$e = (undefined && undefined.__extends) || (function () {
|
|
4305
|
+
var extendStatics = function (d, b) {
|
|
4306
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4307
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
4308
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
4309
|
+
return extendStatics(d, b);
|
|
4310
|
+
};
|
|
4311
|
+
return function (d, b) {
|
|
4312
|
+
extendStatics(d, b);
|
|
4313
|
+
function __() { this.constructor = d; }
|
|
4314
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
4315
|
+
};
|
|
4316
|
+
})();
|
|
4317
|
+
var __decorate$c = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
4318
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4319
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4320
|
+
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;
|
|
4321
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
4322
|
+
};
|
|
4323
4323
|
/**
|
|
4324
4324
|
* Represents the TreeGrid component.
|
|
4325
4325
|
* ```html
|
|
@@ -4330,7 +4330,7 @@ var __decorate$c = (undefined && undefined.__decorate) || function (decorators,
|
|
|
4330
4330
|
* </script>
|
|
4331
4331
|
* ```
|
|
4332
4332
|
*/
|
|
4333
|
-
var TreeGrid = /** @
|
|
4333
|
+
var TreeGrid = /** @class */ (function (_super) {
|
|
4334
4334
|
__extends$e(TreeGrid, _super);
|
|
4335
4335
|
function TreeGrid(options, element) {
|
|
4336
4336
|
var _this = _super.call(this, options, element) || this;
|
|
@@ -6850,11 +6850,6 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
6850
6850
|
rowData.hasChildRecords = record.hasChildRecords;
|
|
6851
6851
|
rowData.parentUniqueID = record.parentUniqueID;
|
|
6852
6852
|
rowData.expanded = record.expanded;
|
|
6853
|
-
if (this.enableVirtualization) {
|
|
6854
|
-
this.grid.selectionModule.selectedRowIndexes = this.grid.selectionModule.selectedRowIndexes.indexOf(record.index) === -1
|
|
6855
|
-
&& (this.selectedRowIndex >= 0 && this.selectedRowIndex !== record.index) ? [record.index] :
|
|
6856
|
-
this.grid.selectionModule.selectedRowIndexes;
|
|
6857
|
-
}
|
|
6858
6853
|
this.grid.setRowData(key, rowData);
|
|
6859
6854
|
var visibleRecords = this.getVisibleRecords();
|
|
6860
6855
|
if (visibleRecords.length > 0 && key === (visibleRecords[visibleRecords.length - 1])["" + primaryKey]) {
|
|
@@ -9427,7 +9422,7 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
|
|
|
9427
9422
|
*
|
|
9428
9423
|
* @hidden
|
|
9429
9424
|
*/
|
|
9430
|
-
var Reorder = /** @
|
|
9425
|
+
var Reorder = /** @class */ (function () {
|
|
9431
9426
|
/**
|
|
9432
9427
|
* Constructor for Reorder module
|
|
9433
9428
|
*
|
|
@@ -9480,7 +9475,7 @@ var Reorder = /** @__PURE__ @class */ (function () {
|
|
|
9480
9475
|
*
|
|
9481
9476
|
* @hidden
|
|
9482
9477
|
*/
|
|
9483
|
-
var Resize = /** @
|
|
9478
|
+
var Resize = /** @class */ (function () {
|
|
9484
9479
|
/**
|
|
9485
9480
|
* Constructor for Resize module
|
|
9486
9481
|
*
|
|
@@ -9528,7 +9523,7 @@ var Resize = /** @__PURE__ @class */ (function () {
|
|
|
9528
9523
|
*
|
|
9529
9524
|
* @hidden
|
|
9530
9525
|
*/
|
|
9531
|
-
var RowDD = /** @
|
|
9526
|
+
var RowDD = /** @class */ (function () {
|
|
9532
9527
|
/**
|
|
9533
9528
|
* Constructor for render module
|
|
9534
9529
|
*
|
|
@@ -11411,29 +11406,29 @@ var RowDD = /** @__PURE__ @class */ (function () {
|
|
|
11411
11406
|
return RowDD;
|
|
11412
11407
|
}());
|
|
11413
11408
|
|
|
11414
|
-
var __extends$f = (undefined && undefined.__extends) || (function () {
|
|
11415
|
-
var extendStatics = function (d, b) {
|
|
11416
|
-
extendStatics = Object.setPrototypeOf ||
|
|
11417
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11418
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
11419
|
-
return extendStatics(d, b);
|
|
11420
|
-
};
|
|
11421
|
-
return function (d, b) {
|
|
11422
|
-
extendStatics(d, b);
|
|
11423
|
-
function __() { this.constructor = d; }
|
|
11424
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11425
|
-
};
|
|
11426
|
-
})();
|
|
11427
|
-
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11428
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11429
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11430
|
-
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;
|
|
11431
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11432
|
-
};
|
|
11409
|
+
var __extends$f = (undefined && undefined.__extends) || (function () {
|
|
11410
|
+
var extendStatics = function (d, b) {
|
|
11411
|
+
extendStatics = Object.setPrototypeOf ||
|
|
11412
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11413
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
11414
|
+
return extendStatics(d, b);
|
|
11415
|
+
};
|
|
11416
|
+
return function (d, b) {
|
|
11417
|
+
extendStatics(d, b);
|
|
11418
|
+
function __() { this.constructor = d; }
|
|
11419
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11420
|
+
};
|
|
11421
|
+
})();
|
|
11422
|
+
var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11423
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
11424
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
11425
|
+
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;
|
|
11426
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
11427
|
+
};
|
|
11433
11428
|
/**
|
|
11434
11429
|
* Configures the settings for row dragging and dropping within the TreeGrid, allowing for enhanced user interaction and data manipulation capabilities.
|
|
11435
11430
|
*/
|
|
11436
|
-
var RowDropSettings = /** @
|
|
11431
|
+
var RowDropSettings = /** @class */ (function (_super) {
|
|
11437
11432
|
__extends$f(RowDropSettings, _super);
|
|
11438
11433
|
function RowDropSettings() {
|
|
11439
11434
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -11444,25 +11439,25 @@ var RowDropSettings = /** @__PURE__ @class */ (function (_super) {
|
|
|
11444
11439
|
return RowDropSettings;
|
|
11445
11440
|
}(ChildProperty));
|
|
11446
11441
|
|
|
11447
|
-
var __extends$g = (undefined && undefined.__extends) || (function () {
|
|
11448
|
-
var extendStatics = function (d, b) {
|
|
11449
|
-
extendStatics = Object.setPrototypeOf ||
|
|
11450
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11451
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
11452
|
-
return extendStatics(d, b);
|
|
11453
|
-
};
|
|
11454
|
-
return function (d, b) {
|
|
11455
|
-
extendStatics(d, b);
|
|
11456
|
-
function __() { this.constructor = d; }
|
|
11457
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11458
|
-
};
|
|
11459
|
-
})();
|
|
11442
|
+
var __extends$g = (undefined && undefined.__extends) || (function () {
|
|
11443
|
+
var extendStatics = function (d, b) {
|
|
11444
|
+
extendStatics = Object.setPrototypeOf ||
|
|
11445
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
11446
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
11447
|
+
return extendStatics(d, b);
|
|
11448
|
+
};
|
|
11449
|
+
return function (d, b) {
|
|
11450
|
+
extendStatics(d, b);
|
|
11451
|
+
function __() { this.constructor = d; }
|
|
11452
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
11453
|
+
};
|
|
11454
|
+
})();
|
|
11460
11455
|
/**
|
|
11461
11456
|
* RowModelGenerator is used to generate grid data rows.
|
|
11462
11457
|
*
|
|
11463
11458
|
* @hidden
|
|
11464
11459
|
*/
|
|
11465
|
-
var TreeVirtualRowModelGenerator = /** @
|
|
11460
|
+
var TreeVirtualRowModelGenerator = /** @class */ (function (_super) {
|
|
11466
11461
|
__extends$g(TreeVirtualRowModelGenerator, _super);
|
|
11467
11462
|
function TreeVirtualRowModelGenerator(parent) {
|
|
11468
11463
|
var _this = _super.call(this, parent) || this;
|
|
@@ -11554,7 +11549,7 @@ var TreeVirtualRowModelGenerator = /** @__PURE__ @class */ (function (_super) {
|
|
|
11554
11549
|
*
|
|
11555
11550
|
* @hidden
|
|
11556
11551
|
*/
|
|
11557
|
-
var Filter = /** @
|
|
11552
|
+
var Filter = /** @class */ (function () {
|
|
11558
11553
|
/**
|
|
11559
11554
|
* Constructor for Filter module
|
|
11560
11555
|
*
|
|
@@ -11781,7 +11776,7 @@ var Filter = /** @__PURE__ @class */ (function () {
|
|
|
11781
11776
|
*
|
|
11782
11777
|
* @hidden
|
|
11783
11778
|
*/
|
|
11784
|
-
var ExcelExport = /** @
|
|
11779
|
+
var ExcelExport = /** @class */ (function () {
|
|
11785
11780
|
/**
|
|
11786
11781
|
* Constructor for Excel Export module
|
|
11787
11782
|
*
|
|
@@ -11867,11 +11862,22 @@ var ExcelExport = /** @__PURE__ @class */ (function () {
|
|
|
11867
11862
|
var query = new Query();
|
|
11868
11863
|
if (!_this.isLocal()) {
|
|
11869
11864
|
query = _this.generateQuery(query);
|
|
11870
|
-
|
|
11871
|
-
|
|
11872
|
-
|
|
11873
|
-
|
|
11874
|
-
|
|
11865
|
+
var hasFilter = _this.parent.grid.filterSettings &&
|
|
11866
|
+
Array.isArray(_this.parent.grid.filterSettings.columns) &&
|
|
11867
|
+
_this.parent.grid.filterSettings.columns.length > 0;
|
|
11868
|
+
var hasSearch = _this.parent.grid.searchSettings &&
|
|
11869
|
+
typeof _this.parent.grid.searchSettings.key === 'string' &&
|
|
11870
|
+
_this.parent.grid.searchSettings.key.trim().length > 0;
|
|
11871
|
+
var hasSorting = _this.parent.grid.sortSettings &&
|
|
11872
|
+
Array.isArray(_this.parent.grid.sortSettings.columns) &&
|
|
11873
|
+
_this.parent.grid.sortSettings.columns.length > 0;
|
|
11874
|
+
if (hasFilter || hasSearch || hasSorting) {
|
|
11875
|
+
query.queries = _this.parent.grid.getDataModule().generateQuery().queries;
|
|
11876
|
+
query = ExportHelper.getQuery(_this.parent.grid, data);
|
|
11877
|
+
if (isNullOrUndefined(_this.parent.filterModule)) {
|
|
11878
|
+
query.queries = query.queries.slice(1, 2);
|
|
11879
|
+
query.params = query.params.slice(0, 0);
|
|
11880
|
+
}
|
|
11875
11881
|
}
|
|
11876
11882
|
setValue('query', query, property);
|
|
11877
11883
|
}
|
|
@@ -11908,11 +11914,30 @@ var ExcelExport = /** @__PURE__ @class */ (function () {
|
|
|
11908
11914
|
return query;
|
|
11909
11915
|
};
|
|
11910
11916
|
ExcelExport.prototype.manipulateExportProperties = function (property, dtSrc, queryResult) {
|
|
11917
|
+
var _this = this;
|
|
11911
11918
|
//count not required for this query
|
|
11912
11919
|
var args = Object();
|
|
11913
11920
|
if (!isNullOrUndefined(this.parent.grid.getDataModule())) {
|
|
11914
11921
|
setValue('query', this.parent.grid.getDataModule().generateQuery(true), args);
|
|
11915
11922
|
}
|
|
11923
|
+
if (!this.isLocal() && !isNullOrUndefined(property) &&
|
|
11924
|
+
!isNullOrUndefined(property.isCollapsedStatePersist) &&
|
|
11925
|
+
property.isCollapsedStatePersist === false) {
|
|
11926
|
+
if (args.query && args.query.queries && args.query.queries.length) {
|
|
11927
|
+
args.query.queries = args.query.queries.filter(function (q) {
|
|
11928
|
+
if (q.fn === 'onWhere' && q.e) {
|
|
11929
|
+
var preds = q.e;
|
|
11930
|
+
if (preds && preds.field === _this.parent.parentIdMapping && (preds.value === null || preds.value === 'null')) {
|
|
11931
|
+
return false;
|
|
11932
|
+
}
|
|
11933
|
+
}
|
|
11934
|
+
return true;
|
|
11935
|
+
});
|
|
11936
|
+
}
|
|
11937
|
+
if (args.query && args.query.params && args.query.params.length) {
|
|
11938
|
+
args.query.params = args.query.params.filter(function (param) { return param.key !== 'IdMapping'; });
|
|
11939
|
+
}
|
|
11940
|
+
}
|
|
11916
11941
|
setValue('isExport', true, args);
|
|
11917
11942
|
if (!isNullOrUndefined(property) && !isNullOrUndefined(property.exportType)) {
|
|
11918
11943
|
setValue('exportType', property.exportType, args);
|
|
@@ -12013,7 +12038,7 @@ var ExcelExport = /** @__PURE__ @class */ (function () {
|
|
|
12013
12038
|
*
|
|
12014
12039
|
* @hidden
|
|
12015
12040
|
*/
|
|
12016
|
-
var PdfExport = /** @
|
|
12041
|
+
var PdfExport = /** @class */ (function () {
|
|
12017
12042
|
/**
|
|
12018
12043
|
* Constructor for PDF export module
|
|
12019
12044
|
*
|
|
@@ -12128,7 +12153,7 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
12128
12153
|
};
|
|
12129
12154
|
PdfExport.prototype.manipulatePdfProperties = function (prop, dtSrc, queryResult) {
|
|
12130
12155
|
var _this = this;
|
|
12131
|
-
var args =
|
|
12156
|
+
var args = Object();
|
|
12132
12157
|
//count not required for this query
|
|
12133
12158
|
var isLocal = !isRemoteData(this.parent) && isOffline(this.parent);
|
|
12134
12159
|
setValue('query', this.parent.grid.getDataModule().generateQuery(true), args);
|
|
@@ -12218,7 +12243,7 @@ var PdfExport = /** @__PURE__ @class */ (function () {
|
|
|
12218
12243
|
*
|
|
12219
12244
|
* @hidden
|
|
12220
12245
|
*/
|
|
12221
|
-
var Page = /** @
|
|
12246
|
+
var Page = /** @class */ (function () {
|
|
12222
12247
|
function Page(parent) {
|
|
12223
12248
|
Grid.Inject(Page$1);
|
|
12224
12249
|
this.parent = parent;
|
|
@@ -12427,7 +12452,7 @@ var Page = /** @__PURE__ @class */ (function () {
|
|
|
12427
12452
|
*
|
|
12428
12453
|
* @hidden
|
|
12429
12454
|
*/
|
|
12430
|
-
var Toolbar = /** @
|
|
12455
|
+
var Toolbar = /** @class */ (function () {
|
|
12431
12456
|
function Toolbar(parent) {
|
|
12432
12457
|
Grid.Inject(Toolbar$1);
|
|
12433
12458
|
this.parent = parent;
|
|
@@ -12577,7 +12602,7 @@ var Toolbar = /** @__PURE__ @class */ (function () {
|
|
|
12577
12602
|
*
|
|
12578
12603
|
* @hidden
|
|
12579
12604
|
*/
|
|
12580
|
-
var Aggregate = /** @
|
|
12605
|
+
var Aggregate = /** @class */ (function () {
|
|
12581
12606
|
/**
|
|
12582
12607
|
* Constructor for Aggregate module
|
|
12583
12608
|
*
|
|
@@ -12810,7 +12835,7 @@ var Aggregate = /** @__PURE__ @class */ (function () {
|
|
|
12810
12835
|
*
|
|
12811
12836
|
* @hidden
|
|
12812
12837
|
*/
|
|
12813
|
-
var Sort = /** @
|
|
12838
|
+
var Sort = /** @class */ (function () {
|
|
12814
12839
|
function Sort(grid) {
|
|
12815
12840
|
Grid.Inject(Sort$1);
|
|
12816
12841
|
this.parent = grid;
|
|
@@ -12945,7 +12970,7 @@ var Sort = /** @__PURE__ @class */ (function () {
|
|
|
12945
12970
|
*
|
|
12946
12971
|
* @hidden
|
|
12947
12972
|
*/
|
|
12948
|
-
var ColumnMenu = /** @
|
|
12973
|
+
var ColumnMenu = /** @class */ (function () {
|
|
12949
12974
|
/**
|
|
12950
12975
|
* Constructor for render module
|
|
12951
12976
|
*
|
|
@@ -12978,7 +13003,7 @@ var ColumnMenu = /** @__PURE__ @class */ (function () {
|
|
|
12978
13003
|
*
|
|
12979
13004
|
* @hidden
|
|
12980
13005
|
*/
|
|
12981
|
-
var ContextMenu = /** @
|
|
13006
|
+
var ContextMenu = /** @class */ (function () {
|
|
12982
13007
|
function ContextMenu(parent) {
|
|
12983
13008
|
Grid.Inject(ContextMenu$1);
|
|
12984
13009
|
this.parent = parent;
|
|
@@ -13143,7 +13168,7 @@ var ContextMenu = /** @__PURE__ @class */ (function () {
|
|
|
13143
13168
|
*
|
|
13144
13169
|
* @hidden
|
|
13145
13170
|
*/
|
|
13146
|
-
var BatchEdit = /** @
|
|
13171
|
+
var BatchEdit = /** @class */ (function () {
|
|
13147
13172
|
function BatchEdit(parent) {
|
|
13148
13173
|
this.batchChildCount = 0;
|
|
13149
13174
|
this.addedRecords = 'addedRecords';
|
|
@@ -13813,7 +13838,7 @@ var BatchEdit = /** @__PURE__ @class */ (function () {
|
|
|
13813
13838
|
* TreeGrid Edit Module
|
|
13814
13839
|
* The `Edit` module is used to handle editing actions.
|
|
13815
13840
|
*/
|
|
13816
|
-
var Edit = /** @
|
|
13841
|
+
var Edit = /** @class */ (function () {
|
|
13817
13842
|
/**
|
|
13818
13843
|
* Constructor for Edit module
|
|
13819
13844
|
*
|
|
@@ -14951,7 +14976,7 @@ var Edit = /** @__PURE__ @class */ (function () {
|
|
|
14951
14976
|
*
|
|
14952
14977
|
* @hidden
|
|
14953
14978
|
*/
|
|
14954
|
-
var CommandColumn = /** @
|
|
14979
|
+
var CommandColumn = /** @class */ (function () {
|
|
14955
14980
|
function CommandColumn(parent) {
|
|
14956
14981
|
Grid.Inject(CommandColumn$1);
|
|
14957
14982
|
this.parent = parent;
|
|
@@ -14982,7 +15007,7 @@ var CommandColumn = /** @__PURE__ @class */ (function () {
|
|
|
14982
15007
|
*
|
|
14983
15008
|
* @hidden
|
|
14984
15009
|
*/
|
|
14985
|
-
var DetailRow = /** @
|
|
15010
|
+
var DetailRow = /** @class */ (function () {
|
|
14986
15011
|
function DetailRow(parent) {
|
|
14987
15012
|
Grid.Inject(DetailRow$1);
|
|
14988
15013
|
this.parent = parent;
|
|
@@ -15093,25 +15118,25 @@ var DetailRow = /** @__PURE__ @class */ (function () {
|
|
|
15093
15118
|
return DetailRow;
|
|
15094
15119
|
}());
|
|
15095
15120
|
|
|
15096
|
-
var __extends$h = (undefined && undefined.__extends) || (function () {
|
|
15097
|
-
var extendStatics = function (d, b) {
|
|
15098
|
-
extendStatics = Object.setPrototypeOf ||
|
|
15099
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
15100
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
15101
|
-
return extendStatics(d, b);
|
|
15102
|
-
};
|
|
15103
|
-
return function (d, b) {
|
|
15104
|
-
extendStatics(d, b);
|
|
15105
|
-
function __() { this.constructor = d; }
|
|
15106
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15107
|
-
};
|
|
15108
|
-
})();
|
|
15121
|
+
var __extends$h = (undefined && undefined.__extends) || (function () {
|
|
15122
|
+
var extendStatics = function (d, b) {
|
|
15123
|
+
extendStatics = Object.setPrototypeOf ||
|
|
15124
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
15125
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
15126
|
+
return extendStatics(d, b);
|
|
15127
|
+
};
|
|
15128
|
+
return function (d, b) {
|
|
15129
|
+
extendStatics(d, b);
|
|
15130
|
+
function __() { this.constructor = d; }
|
|
15131
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
15132
|
+
};
|
|
15133
|
+
})();
|
|
15109
15134
|
/**
|
|
15110
15135
|
* VirtualTreeContentRenderer
|
|
15111
15136
|
*
|
|
15112
15137
|
* @hidden
|
|
15113
15138
|
*/
|
|
15114
|
-
var VirtualTreeContentRenderer = /** @
|
|
15139
|
+
var VirtualTreeContentRenderer = /** @class */ (function (_super) {
|
|
15115
15140
|
__extends$h(VirtualTreeContentRenderer, _super);
|
|
15116
15141
|
function VirtualTreeContentRenderer(parent, locator) {
|
|
15117
15142
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -15873,6 +15898,9 @@ var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
15873
15898
|
(this.parent.pageSettings.pageSize / 2) && (this.endIndex - nextSetResIndex) < (this.parent.pageSettings.pageSize / 2)) {
|
|
15874
15899
|
this.startIndex = lastIndex - (this.parent.pageSettings.pageSize / 2);
|
|
15875
15900
|
}
|
|
15901
|
+
if (this.totalRecords < this.parent.pageSettings.pageSize) {
|
|
15902
|
+
this.startIndex = 0;
|
|
15903
|
+
}
|
|
15876
15904
|
if (scrollArgs.offset.top > (rowHeight * this.totalRecords)) {
|
|
15877
15905
|
this.translateY = this.getTranslateY(scrollArgs.offset.top, content.getBoundingClientRect().height);
|
|
15878
15906
|
}
|
|
@@ -16088,7 +16116,7 @@ var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
|
|
|
16088
16116
|
};
|
|
16089
16117
|
return VirtualTreeContentRenderer;
|
|
16090
16118
|
}(VirtualContentRenderer));
|
|
16091
|
-
var TreeInterSectionObserver = /** @
|
|
16119
|
+
var TreeInterSectionObserver = /** @class */ (function (_super) {
|
|
16092
16120
|
__extends$h(TreeInterSectionObserver, _super);
|
|
16093
16121
|
function TreeInterSectionObserver() {
|
|
16094
16122
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
@@ -16232,25 +16260,25 @@ var TreeInterSectionObserver = /** @__PURE__ @class */ (function (_super) {
|
|
|
16232
16260
|
return TreeInterSectionObserver;
|
|
16233
16261
|
}(InterSectionObserver));
|
|
16234
16262
|
|
|
16235
|
-
var __extends$i = (undefined && undefined.__extends) || (function () {
|
|
16236
|
-
var extendStatics = function (d, b) {
|
|
16237
|
-
extendStatics = Object.setPrototypeOf ||
|
|
16238
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
16239
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
16240
|
-
return extendStatics(d, b);
|
|
16241
|
-
};
|
|
16242
|
-
return function (d, b) {
|
|
16243
|
-
extendStatics(d, b);
|
|
16244
|
-
function __() { this.constructor = d; }
|
|
16245
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16246
|
-
};
|
|
16247
|
-
})();
|
|
16263
|
+
var __extends$i = (undefined && undefined.__extends) || (function () {
|
|
16264
|
+
var extendStatics = function (d, b) {
|
|
16265
|
+
extendStatics = Object.setPrototypeOf ||
|
|
16266
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
16267
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
16268
|
+
return extendStatics(d, b);
|
|
16269
|
+
};
|
|
16270
|
+
return function (d, b) {
|
|
16271
|
+
extendStatics(d, b);
|
|
16272
|
+
function __() { this.constructor = d; }
|
|
16273
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
16274
|
+
};
|
|
16275
|
+
})();
|
|
16248
16276
|
/**
|
|
16249
16277
|
* TreeGrid Virtual Scroll module will handle Virtualization
|
|
16250
16278
|
*
|
|
16251
16279
|
* @hidden
|
|
16252
16280
|
*/
|
|
16253
|
-
var VirtualScroll = /** @
|
|
16281
|
+
var VirtualScroll = /** @class */ (function () {
|
|
16254
16282
|
/**
|
|
16255
16283
|
* Constructor for VirtualScroll module
|
|
16256
16284
|
*
|
|
@@ -16356,7 +16384,11 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
16356
16384
|
var dm = new DataManager(pageingDetails.result);
|
|
16357
16385
|
var expanded = new Predicate$1('expanded', 'notequal', null).or('expanded', 'notequal', undefined);
|
|
16358
16386
|
var parents = dm.executeLocal(new Query().where(expanded));
|
|
16359
|
-
var
|
|
16387
|
+
var hasActiveFilter = (this.parent.grid.filterSettings && this.parent.grid.filterSettings.columns
|
|
16388
|
+
&& this.parent.grid.filterSettings.columns.length > 0) ||
|
|
16389
|
+
(!isNullOrUndefined(this.parent.grid.searchSettings) && this.parent.grid.searchSettings.key !== '');
|
|
16390
|
+
var isFiltering = pageingDetails.actionArgs.requestType === 'filtering' ||
|
|
16391
|
+
(pageingDetails.actionArgs.requestType === 'virtualscroll' && hasActiveFilter);
|
|
16360
16392
|
var isFlatHierarchy = this.parent.filterSettings.hierarchyMode === 'Child' ||
|
|
16361
16393
|
this.parent.filterSettings.hierarchyMode === 'None';
|
|
16362
16394
|
var visualData = isFiltering && isFlatHierarchy
|
|
@@ -16500,7 +16532,7 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
|
|
|
16500
16532
|
};
|
|
16501
16533
|
return VirtualScroll;
|
|
16502
16534
|
}());
|
|
16503
|
-
var TreeVirtual = /** @
|
|
16535
|
+
var TreeVirtual = /** @class */ (function (_super) {
|
|
16504
16536
|
__extends$i(TreeVirtual, _super);
|
|
16505
16537
|
function TreeVirtual(parent, locator) {
|
|
16506
16538
|
var _this = _super.call(this, parent, locator) || this;
|
|
@@ -16544,7 +16576,7 @@ var TreeVirtual = /** @__PURE__ @class */ (function (_super) {
|
|
|
16544
16576
|
*
|
|
16545
16577
|
* @hidden
|
|
16546
16578
|
*/
|
|
16547
|
-
var Freeze = /** @
|
|
16579
|
+
var Freeze = /** @class */ (function () {
|
|
16548
16580
|
/**
|
|
16549
16581
|
* Constructor for render module
|
|
16550
16582
|
*
|
|
@@ -16648,7 +16680,7 @@ var Freeze = /** @__PURE__ @class */ (function () {
|
|
|
16648
16680
|
*
|
|
16649
16681
|
* @hidden
|
|
16650
16682
|
*/
|
|
16651
|
-
var ColumnChooser = /** @
|
|
16683
|
+
var ColumnChooser = /** @class */ (function () {
|
|
16652
16684
|
/**
|
|
16653
16685
|
* Constructor for render module
|
|
16654
16686
|
*
|
|
@@ -16694,7 +16726,7 @@ var ColumnChooser = /** @__PURE__ @class */ (function () {
|
|
|
16694
16726
|
*
|
|
16695
16727
|
* @hidden
|
|
16696
16728
|
*/
|
|
16697
|
-
var InfiniteScroll = /** @
|
|
16729
|
+
var InfiniteScroll = /** @class */ (function () {
|
|
16698
16730
|
/**
|
|
16699
16731
|
* Constructor for VirtualScroll module
|
|
16700
16732
|
*
|