@syncfusion/ej2-treegrid 32.2.4 → 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.
Files changed (209) hide show
  1. package/.eslintrc.json +243 -262
  2. package/README.md +92 -92
  3. package/dist/ej2-treegrid.umd.min.js +1 -10
  4. package/dist/ej2-treegrid.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-treegrid.es2015.js +164 -108
  6. package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
  7. package/dist/es6/ej2-treegrid.es5.js +462 -404
  8. package/dist/es6/ej2-treegrid.es5.js.map +1 -1
  9. package/license +9 -9
  10. package/package.json +44 -44
  11. package/src/treegrid/actions/clipboard.js +13 -13
  12. package/src/treegrid/actions/excel-export.js +35 -5
  13. package/src/treegrid/actions/logger.js +13 -13
  14. package/src/treegrid/actions/pdf-export.d.ts +1 -0
  15. package/src/treegrid/actions/pdf-export.js +32 -1
  16. package/src/treegrid/actions/sort.d.ts +1 -0
  17. package/src/treegrid/actions/sort.js +6 -0
  18. package/src/treegrid/actions/virtual-scroll.js +18 -14
  19. package/src/treegrid/base/treegrid-model.d.ts +950 -950
  20. package/src/treegrid/base/treegrid.d.ts +18 -18
  21. package/src/treegrid/base/treegrid.js +31 -47
  22. package/src/treegrid/models/column-chooser-settings-model.d.ts +41 -41
  23. package/src/treegrid/models/column-chooser-settings.js +19 -19
  24. package/src/treegrid/models/column-model.d.ts +6 -6
  25. package/src/treegrid/models/column.js +19 -19
  26. package/src/treegrid/models/edit-settings-model.d.ts +71 -71
  27. package/src/treegrid/models/edit-settings.js +19 -19
  28. package/src/treegrid/models/filter-settings-model.d.ts +198 -198
  29. package/src/treegrid/models/filter-settings.js +19 -19
  30. package/src/treegrid/models/infinite-scroll-settings-model.d.ts +16 -16
  31. package/src/treegrid/models/infinite-scroll-settings.js +19 -19
  32. package/src/treegrid/models/loading-indicator.js +19 -19
  33. package/src/treegrid/models/page-settings-model.d.ts +43 -43
  34. package/src/treegrid/models/page-settings.js +19 -19
  35. package/src/treegrid/models/rowdrop-settings-model.d.ts +6 -6
  36. package/src/treegrid/models/rowdrop-settings.js +19 -19
  37. package/src/treegrid/models/search-settings-model.d.ts +62 -62
  38. package/src/treegrid/models/search-settings.js +19 -19
  39. package/src/treegrid/models/selection-settings-model.d.ts +55 -55
  40. package/src/treegrid/models/selection-settings.js +19 -19
  41. package/src/treegrid/models/sort-settings-model.d.ts +27 -27
  42. package/src/treegrid/models/sort-settings.js +19 -19
  43. package/src/treegrid/models/summary-model.d.ts +63 -63
  44. package/src/treegrid/models/summary.js +19 -19
  45. package/src/treegrid/models/textwrap-settings-model.d.ts +12 -12
  46. package/src/treegrid/models/textwrap-settings.js +19 -19
  47. package/src/treegrid/renderer/virtual-row-model-generator.js +13 -13
  48. package/src/treegrid/renderer/virtual-tree-content-render.js +16 -13
  49. package/styles/treegrid/_all.bds.scss +2 -2
  50. package/styles/treegrid/_all.bootstrap-dark.scss +2 -2
  51. package/styles/treegrid/_all.bootstrap.scss +2 -2
  52. package/styles/treegrid/_all.bootstrap4.scss +2 -2
  53. package/styles/treegrid/_all.bootstrap5-dark.scss +2 -2
  54. package/styles/treegrid/_all.bootstrap5.3.scss +2 -2
  55. package/styles/treegrid/_all.bootstrap5.scss +2 -2
  56. package/styles/treegrid/_all.fabric-dark.scss +2 -2
  57. package/styles/treegrid/_all.fabric.scss +2 -2
  58. package/styles/treegrid/_all.fluent-dark.scss +2 -2
  59. package/styles/treegrid/_all.fluent.scss +2 -2
  60. package/styles/treegrid/_all.fluent2.scss +2 -2
  61. package/styles/treegrid/_all.highcontrast-light.scss +2 -2
  62. package/styles/treegrid/_all.highcontrast.scss +2 -2
  63. package/styles/treegrid/_all.material-dark.scss +2 -2
  64. package/styles/treegrid/_all.material.scss +2 -2
  65. package/styles/treegrid/_all.material3-dark.scss +2 -2
  66. package/styles/treegrid/_all.material3.scss +2 -2
  67. package/styles/treegrid/_all.scss +2 -2
  68. package/styles/treegrid/_all.tailwind-dark.scss +2 -2
  69. package/styles/treegrid/_all.tailwind.scss +2 -2
  70. package/styles/treegrid/_all.tailwind3.scss +2 -2
  71. package/styles/treegrid/_bds-definition.scss +26 -26
  72. package/styles/treegrid/_bigger.bds.scss +3 -3
  73. package/styles/treegrid/_bigger.bootstrap-dark.scss +3 -3
  74. package/styles/treegrid/_bigger.bootstrap.scss +3 -3
  75. package/styles/treegrid/_bigger.bootstrap4.scss +3 -3
  76. package/styles/treegrid/_bigger.bootstrap5-dark.scss +3 -3
  77. package/styles/treegrid/_bigger.bootstrap5.3.scss +3 -3
  78. package/styles/treegrid/_bigger.bootstrap5.scss +3 -3
  79. package/styles/treegrid/_bigger.fabric-dark.scss +3 -3
  80. package/styles/treegrid/_bigger.fabric.scss +3 -3
  81. package/styles/treegrid/_bigger.fluent-dark.scss +3 -3
  82. package/styles/treegrid/_bigger.fluent.scss +3 -3
  83. package/styles/treegrid/_bigger.fluent2.scss +3 -3
  84. package/styles/treegrid/_bigger.highcontrast-light.scss +3 -3
  85. package/styles/treegrid/_bigger.highcontrast.scss +3 -3
  86. package/styles/treegrid/_bigger.material-dark.scss +3 -3
  87. package/styles/treegrid/_bigger.material.scss +3 -3
  88. package/styles/treegrid/_bigger.material3-dark.scss +3 -3
  89. package/styles/treegrid/_bigger.material3.scss +3 -3
  90. package/styles/treegrid/_bigger.scss +67 -67
  91. package/styles/treegrid/_bigger.tailwind-dark.scss +3 -3
  92. package/styles/treegrid/_bigger.tailwind.scss +3 -3
  93. package/styles/treegrid/_bigger.tailwind3.scss +3 -3
  94. package/styles/treegrid/_bootstrap-dark-definition.scss +31 -31
  95. package/styles/treegrid/_bootstrap-definition.scss +31 -31
  96. package/styles/treegrid/_bootstrap4-definition.scss +31 -31
  97. package/styles/treegrid/_bootstrap5-dark-definition.scss +26 -26
  98. package/styles/treegrid/_bootstrap5-definition.scss +26 -26
  99. package/styles/treegrid/_bootstrap5.3-definition.scss +26 -26
  100. package/styles/treegrid/_fabric-dark-definition.scss +31 -31
  101. package/styles/treegrid/_fabric-definition.scss +31 -31
  102. package/styles/treegrid/_fluent-dark-definition.scss +27 -27
  103. package/styles/treegrid/_fluent-definition.scss +27 -27
  104. package/styles/treegrid/_fluent2-definition.scss +26 -26
  105. package/styles/treegrid/_fusionnew-definition.scss +24 -24
  106. package/styles/treegrid/_highcontrast-definition.scss +31 -31
  107. package/styles/treegrid/_highcontrast-light-definition.scss +31 -31
  108. package/styles/treegrid/_icons.scss +47 -47
  109. package/styles/treegrid/_layout.bds.scss +4 -4
  110. package/styles/treegrid/_layout.bootstrap-dark.scss +4 -4
  111. package/styles/treegrid/_layout.bootstrap.scss +4 -4
  112. package/styles/treegrid/_layout.bootstrap4.scss +4 -4
  113. package/styles/treegrid/_layout.bootstrap5-dark.scss +4 -4
  114. package/styles/treegrid/_layout.bootstrap5.3.scss +4 -4
  115. package/styles/treegrid/_layout.bootstrap5.scss +4 -4
  116. package/styles/treegrid/_layout.fabric-dark.scss +4 -4
  117. package/styles/treegrid/_layout.fabric.scss +4 -4
  118. package/styles/treegrid/_layout.fluent-dark.scss +4 -4
  119. package/styles/treegrid/_layout.fluent.scss +4 -4
  120. package/styles/treegrid/_layout.fluent2.scss +4 -4
  121. package/styles/treegrid/_layout.highcontrast-light.scss +4 -4
  122. package/styles/treegrid/_layout.highcontrast.scss +4 -4
  123. package/styles/treegrid/_layout.material-dark.scss +4 -4
  124. package/styles/treegrid/_layout.material.scss +4 -4
  125. package/styles/treegrid/_layout.material3-dark.scss +4 -4
  126. package/styles/treegrid/_layout.material3.scss +4 -4
  127. package/styles/treegrid/_layout.scss +531 -531
  128. package/styles/treegrid/_layout.tailwind-dark.scss +4 -4
  129. package/styles/treegrid/_layout.tailwind.scss +4 -4
  130. package/styles/treegrid/_layout.tailwind3.scss +4 -4
  131. package/styles/treegrid/_material-dark-definition.scss +31 -31
  132. package/styles/treegrid/_material-definition.scss +31 -31
  133. package/styles/treegrid/_material3-dark-definition.scss +26 -26
  134. package/styles/treegrid/_material3-definition.scss +26 -26
  135. package/styles/treegrid/_tailwind-dark-definition.scss +26 -26
  136. package/styles/treegrid/_tailwind-definition.scss +26 -26
  137. package/styles/treegrid/_tailwind3-definition.scss +26 -26
  138. package/styles/treegrid/_theme-variables.bds.scss +1 -1
  139. package/styles/treegrid/_theme-variables.bootstrap-dark.scss +1 -1
  140. package/styles/treegrid/_theme-variables.bootstrap.scss +1 -1
  141. package/styles/treegrid/_theme-variables.bootstrap4.scss +1 -1
  142. package/styles/treegrid/_theme-variables.bootstrap5-dark.scss +1 -1
  143. package/styles/treegrid/_theme-variables.bootstrap5.3.scss +1 -1
  144. package/styles/treegrid/_theme-variables.bootstrap5.scss +1 -1
  145. package/styles/treegrid/_theme-variables.fabric-dark.scss +1 -1
  146. package/styles/treegrid/_theme-variables.fabric.scss +1 -1
  147. package/styles/treegrid/_theme-variables.fluent-dark.scss +1 -1
  148. package/styles/treegrid/_theme-variables.fluent.scss +1 -1
  149. package/styles/treegrid/_theme-variables.fluent2.scss +1 -1
  150. package/styles/treegrid/_theme-variables.highcontrast-light.scss +1 -1
  151. package/styles/treegrid/_theme-variables.highcontrast.scss +1 -1
  152. package/styles/treegrid/_theme-variables.material-dark.scss +1 -1
  153. package/styles/treegrid/_theme-variables.material.scss +1 -1
  154. package/styles/treegrid/_theme-variables.material3-dark.scss +1 -1
  155. package/styles/treegrid/_theme-variables.material3.scss +1 -1
  156. package/styles/treegrid/_theme-variables.tailwind-dark.scss +1 -1
  157. package/styles/treegrid/_theme-variables.tailwind.scss +1 -1
  158. package/styles/treegrid/_theme-variables.tailwind3.scss +1 -1
  159. package/styles/treegrid/_theme.bds.scss +1 -1
  160. package/styles/treegrid/_theme.bootstrap-dark.scss +1 -1
  161. package/styles/treegrid/_theme.bootstrap.scss +1 -1
  162. package/styles/treegrid/_theme.bootstrap4.scss +1 -1
  163. package/styles/treegrid/_theme.bootstrap5-dark.scss +1 -1
  164. package/styles/treegrid/_theme.bootstrap5.3.scss +1 -1
  165. package/styles/treegrid/_theme.bootstrap5.scss +1 -1
  166. package/styles/treegrid/_theme.fabric-dark.scss +1 -1
  167. package/styles/treegrid/_theme.fabric.scss +1 -1
  168. package/styles/treegrid/_theme.fluent-dark.scss +1 -1
  169. package/styles/treegrid/_theme.fluent.scss +1 -1
  170. package/styles/treegrid/_theme.fluent2.scss +1 -1
  171. package/styles/treegrid/_theme.highcontrast-light.scss +1 -1
  172. package/styles/treegrid/_theme.highcontrast.scss +1 -1
  173. package/styles/treegrid/_theme.material-dark.scss +1 -1
  174. package/styles/treegrid/_theme.material.scss +1 -1
  175. package/styles/treegrid/_theme.material3-dark.scss +1 -1
  176. package/styles/treegrid/_theme.material3.scss +1 -1
  177. package/styles/treegrid/_theme.scss +1 -1
  178. package/styles/treegrid/_theme.tailwind-dark.scss +1 -1
  179. package/styles/treegrid/_theme.tailwind.scss +1 -1
  180. package/styles/treegrid/_theme.tailwind3.scss +1 -1
  181. package/styles/treegrid/icons/_bds.scss +38 -38
  182. package/styles/treegrid/icons/_bootstrap-dark.scss +48 -48
  183. package/styles/treegrid/icons/_bootstrap.scss +48 -48
  184. package/styles/treegrid/icons/_bootstrap4.scss +48 -48
  185. package/styles/treegrid/icons/_bootstrap5.3.scss +48 -48
  186. package/styles/treegrid/icons/_bootstrap5.scss +48 -48
  187. package/styles/treegrid/icons/_fabric-dark.scss +48 -48
  188. package/styles/treegrid/icons/_fabric.scss +48 -48
  189. package/styles/treegrid/icons/_fluent.scss +48 -48
  190. package/styles/treegrid/icons/_fluent2.scss +48 -48
  191. package/styles/treegrid/icons/_fusionnew.scss +31 -31
  192. package/styles/treegrid/icons/_highcontrast-light.scss +48 -48
  193. package/styles/treegrid/icons/_highcontrast.scss +48 -48
  194. package/styles/treegrid/icons/_material-dark.scss +48 -48
  195. package/styles/treegrid/icons/_material.scss +48 -48
  196. package/styles/treegrid/icons/_material3.scss +48 -48
  197. package/styles/treegrid/icons/_tailwind-dark.scss +48 -48
  198. package/styles/treegrid/icons/_tailwind.scss +48 -48
  199. package/styles/treegrid/icons/_tailwind3.scss +48 -48
  200. package/aceconfig.js +0 -17
  201. package/dist/ej2-treegrid.min.js +0 -10
  202. package/dist/global/ej2-treegrid.min.js +0 -11
  203. package/dist/global/ej2-treegrid.min.js.map +0 -1
  204. package/dist/global/index.d.ts +0 -14
  205. package/helpers/e2e/index.d.ts +0 -1
  206. package/helpers/e2e/index.js +0 -8
  207. package/helpers/e2e/treegridhelper.d.ts +0 -21
  208. package/helpers/e2e/treegridhelper.js +0 -83
  209. 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 = /** @__PURE__ @class */ (function () {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function () {
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 = /** @__PURE__ @class */ (function () {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function () {
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 = /** @__PURE__ @class */ (function () {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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 = /** @__PURE__ @class */ (function (_super) {
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;
@@ -5851,23 +5851,7 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
5851
5851
  if (args.requestType === 'save' && _this.aggregates.map(function (ag) { return ag.showChildSummary === true; }).length) {
5852
5852
  _this.grid.refresh();
5853
5853
  }
5854
- if (args.action === 'filter') {
5855
- if (!args.isCollapseMaintain && _this.filterModule['currentFilterObject'] !== '' && _this.enableVirtualization && !_this.initialRender && !_this.expandStateMapping && !(isRemoteData(_this) && _this.enableVirtualization)) {
5856
- _this.expandAll();
5857
- }
5858
- }
5859
- if (args.requestType === 'searching') {
5860
- if (!args.isCollapseMaintain && _this.searchSettings.key !== '' && _this.enableVirtualization && !_this.initialRender && !_this.expandStateMapping && !(isRemoteData(_this) && _this.enableVirtualization)) {
5861
- _this.expandAll();
5862
- }
5863
- }
5864
- if (args.action === 'clearFilter' && _this.enableCollapseAll) {
5865
- _this.collapseAll();
5866
- }
5867
- if (args.action === 'clearFilter' && _this.enableInfiniteScrolling) {
5868
- _this.expandAll();
5869
- }
5870
- if (args.requestType === 'sorting' && _this.enableInfiniteScrolling) {
5854
+ if ((args.action === 'clearFilter' || args.action === 'clear-filter' || args.requestType === 'sorting') && _this.enableInfiniteScrolling) {
5871
5855
  _this.expandAll();
5872
5856
  }
5873
5857
  if (_this.action === 'indenting' || _this.action === 'outdenting') {
@@ -9438,7 +9422,7 @@ var TreeGrid = /** @__PURE__ @class */ (function (_super) {
9438
9422
  *
9439
9423
  * @hidden
9440
9424
  */
9441
- var Reorder = /** @__PURE__ @class */ (function () {
9425
+ var Reorder = /** @class */ (function () {
9442
9426
  /**
9443
9427
  * Constructor for Reorder module
9444
9428
  *
@@ -9491,7 +9475,7 @@ var Reorder = /** @__PURE__ @class */ (function () {
9491
9475
  *
9492
9476
  * @hidden
9493
9477
  */
9494
- var Resize = /** @__PURE__ @class */ (function () {
9478
+ var Resize = /** @class */ (function () {
9495
9479
  /**
9496
9480
  * Constructor for Resize module
9497
9481
  *
@@ -9539,7 +9523,7 @@ var Resize = /** @__PURE__ @class */ (function () {
9539
9523
  *
9540
9524
  * @hidden
9541
9525
  */
9542
- var RowDD = /** @__PURE__ @class */ (function () {
9526
+ var RowDD = /** @class */ (function () {
9543
9527
  /**
9544
9528
  * Constructor for render module
9545
9529
  *
@@ -11422,29 +11406,29 @@ var RowDD = /** @__PURE__ @class */ (function () {
11422
11406
  return RowDD;
11423
11407
  }());
11424
11408
 
11425
- var __extends$f = (undefined && undefined.__extends) || (function () {
11426
- var extendStatics = function (d, b) {
11427
- extendStatics = Object.setPrototypeOf ||
11428
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
11429
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
11430
- return extendStatics(d, b);
11431
- };
11432
- return function (d, b) {
11433
- extendStatics(d, b);
11434
- function __() { this.constructor = d; }
11435
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
11436
- };
11437
- })();
11438
- var __decorate$d = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
11439
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
11440
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
11441
- 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;
11442
- return c > 3 && r && Object.defineProperty(target, key, r), r;
11443
- };
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
+ };
11444
11428
  /**
11445
11429
  * Configures the settings for row dragging and dropping within the TreeGrid, allowing for enhanced user interaction and data manipulation capabilities.
11446
11430
  */
11447
- var RowDropSettings = /** @__PURE__ @class */ (function (_super) {
11431
+ var RowDropSettings = /** @class */ (function (_super) {
11448
11432
  __extends$f(RowDropSettings, _super);
11449
11433
  function RowDropSettings() {
11450
11434
  return _super !== null && _super.apply(this, arguments) || this;
@@ -11455,25 +11439,25 @@ var RowDropSettings = /** @__PURE__ @class */ (function (_super) {
11455
11439
  return RowDropSettings;
11456
11440
  }(ChildProperty));
11457
11441
 
11458
- var __extends$g = (undefined && undefined.__extends) || (function () {
11459
- var extendStatics = function (d, b) {
11460
- extendStatics = Object.setPrototypeOf ||
11461
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
11462
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
11463
- return extendStatics(d, b);
11464
- };
11465
- return function (d, b) {
11466
- extendStatics(d, b);
11467
- function __() { this.constructor = d; }
11468
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
11469
- };
11470
- })();
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
+ })();
11471
11455
  /**
11472
11456
  * RowModelGenerator is used to generate grid data rows.
11473
11457
  *
11474
11458
  * @hidden
11475
11459
  */
11476
- var TreeVirtualRowModelGenerator = /** @__PURE__ @class */ (function (_super) {
11460
+ var TreeVirtualRowModelGenerator = /** @class */ (function (_super) {
11477
11461
  __extends$g(TreeVirtualRowModelGenerator, _super);
11478
11462
  function TreeVirtualRowModelGenerator(parent) {
11479
11463
  var _this = _super.call(this, parent) || this;
@@ -11565,7 +11549,7 @@ var TreeVirtualRowModelGenerator = /** @__PURE__ @class */ (function (_super) {
11565
11549
  *
11566
11550
  * @hidden
11567
11551
  */
11568
- var Filter = /** @__PURE__ @class */ (function () {
11552
+ var Filter = /** @class */ (function () {
11569
11553
  /**
11570
11554
  * Constructor for Filter module
11571
11555
  *
@@ -11792,7 +11776,7 @@ var Filter = /** @__PURE__ @class */ (function () {
11792
11776
  *
11793
11777
  * @hidden
11794
11778
  */
11795
- var ExcelExport = /** @__PURE__ @class */ (function () {
11779
+ var ExcelExport = /** @class */ (function () {
11796
11780
  /**
11797
11781
  * Constructor for Excel Export module
11798
11782
  *
@@ -11878,11 +11862,22 @@ var ExcelExport = /** @__PURE__ @class */ (function () {
11878
11862
  var query = new Query();
11879
11863
  if (!_this.isLocal()) {
11880
11864
  query = _this.generateQuery(query);
11881
- query.queries = _this.parent.grid.getDataModule().generateQuery().queries;
11882
- query = ExportHelper.getQuery(_this.parent.grid, data);
11883
- if (isNullOrUndefined(_this.parent.filterModule)) {
11884
- query.queries = query.queries.slice(1, 2);
11885
- query.params = query.params.slice(0, 0);
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
+ }
11886
11881
  }
11887
11882
  setValue('query', query, property);
11888
11883
  }
@@ -11919,11 +11914,30 @@ var ExcelExport = /** @__PURE__ @class */ (function () {
11919
11914
  return query;
11920
11915
  };
11921
11916
  ExcelExport.prototype.manipulateExportProperties = function (property, dtSrc, queryResult) {
11917
+ var _this = this;
11922
11918
  //count not required for this query
11923
11919
  var args = Object();
11924
11920
  if (!isNullOrUndefined(this.parent.grid.getDataModule())) {
11925
11921
  setValue('query', this.parent.grid.getDataModule().generateQuery(true), args);
11926
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
+ }
11927
11941
  setValue('isExport', true, args);
11928
11942
  if (!isNullOrUndefined(property) && !isNullOrUndefined(property.exportType)) {
11929
11943
  setValue('exportType', property.exportType, args);
@@ -12024,13 +12038,14 @@ var ExcelExport = /** @__PURE__ @class */ (function () {
12024
12038
  *
12025
12039
  * @hidden
12026
12040
  */
12027
- var PdfExport = /** @__PURE__ @class */ (function () {
12041
+ var PdfExport = /** @class */ (function () {
12028
12042
  /**
12029
12043
  * Constructor for PDF export module
12030
12044
  *
12031
12045
  * @param {TreeGrid} parent - Tree Grid instance
12032
12046
  */
12033
12047
  function PdfExport(parent) {
12048
+ this.isCollapsedStatePersist = false;
12034
12049
  Grid.Inject(PdfExport$1);
12035
12050
  this.parent = parent;
12036
12051
  this.dataResults = {};
@@ -12084,6 +12099,18 @@ var PdfExport = /** @__PURE__ @class */ (function () {
12084
12099
  var prop = Object();
12085
12100
  var isLocal = !isRemoteData(this.parent) && isOffline(this.parent);
12086
12101
  setValue('cancel', false, prop);
12102
+ if (!isNullOrUndefined(pdfExportProperties)) {
12103
+ this.isCollapsedStatePersist = pdfExportProperties.isCollapsedStatePersist;
12104
+ }
12105
+ if (!isNullOrUndefined(pdfExportProperties)) {
12106
+ if (!isLocal && !isNullOrUndefined(pdfExportProperties.dataSource) && !pdfExportProperties.dataSource['dataSource']) {
12107
+ return this.parent.grid.pdfExportModule.Map(this.parent.grid, pdfExportProperties, isMultipleExport, pdfDoc, isBlob);
12108
+ }
12109
+ if (pdfExportProperties.exportType === 'CurrentPage') {
12110
+ pdfExportProperties.dataSource = this.parent.getCurrentViewRecords();
12111
+ return this.parent.grid.pdfExportModule.Map(this.parent.grid, pdfExportProperties, isMultipleExport, pdfDoc, isBlob);
12112
+ }
12113
+ }
12087
12114
  return new Promise(function (resolve) {
12088
12115
  var dm = isLocal && !(dtSrc instanceof DataManager) ? new DataManager(dtSrc)
12089
12116
  : _this.parent.dataSource;
@@ -12125,10 +12152,28 @@ var PdfExport = /** @__PURE__ @class */ (function () {
12125
12152
  return query;
12126
12153
  };
12127
12154
  PdfExport.prototype.manipulatePdfProperties = function (prop, dtSrc, queryResult) {
12128
- var args = {};
12155
+ var _this = this;
12156
+ var args = Object();
12129
12157
  //count not required for this query
12130
12158
  var isLocal = !isRemoteData(this.parent) && isOffline(this.parent);
12131
12159
  setValue('query', this.parent.grid.getDataModule().generateQuery(true), args);
12160
+ if (!isLocal && !isNullOrUndefined(prop) && !isNullOrUndefined(prop.isCollapsedStatePersist)
12161
+ && prop.isCollapsedStatePersist === false) {
12162
+ if (args.query && args.query.queries && args.query.queries.length) {
12163
+ args.query.queries = args.query.queries.filter(function (q) {
12164
+ if (q.fn === 'onWhere' && q.e) {
12165
+ var preds = q.e;
12166
+ if (preds && preds.field === _this.parent.parentIdMapping && (preds.value === null || preds.value === 'null')) {
12167
+ return false;
12168
+ }
12169
+ }
12170
+ return true;
12171
+ });
12172
+ }
12173
+ if (args.query && args.query.params && args.query.params.length) {
12174
+ args.query.params = args.query.params.filter(function (param) { return param.key !== 'IdMapping'; });
12175
+ }
12176
+ }
12132
12177
  setValue('isExport', true, args);
12133
12178
  setValue('isPdfExport', true, args);
12134
12179
  if (!isNullOrUndefined(prop) && !isNullOrUndefined(prop.isCollapsedStatePersist)) {
@@ -12198,7 +12243,7 @@ var PdfExport = /** @__PURE__ @class */ (function () {
12198
12243
  *
12199
12244
  * @hidden
12200
12245
  */
12201
- var Page = /** @__PURE__ @class */ (function () {
12246
+ var Page = /** @class */ (function () {
12202
12247
  function Page(parent) {
12203
12248
  Grid.Inject(Page$1);
12204
12249
  this.parent = parent;
@@ -12407,7 +12452,7 @@ var Page = /** @__PURE__ @class */ (function () {
12407
12452
  *
12408
12453
  * @hidden
12409
12454
  */
12410
- var Toolbar = /** @__PURE__ @class */ (function () {
12455
+ var Toolbar = /** @class */ (function () {
12411
12456
  function Toolbar(parent) {
12412
12457
  Grid.Inject(Toolbar$1);
12413
12458
  this.parent = parent;
@@ -12557,7 +12602,7 @@ var Toolbar = /** @__PURE__ @class */ (function () {
12557
12602
  *
12558
12603
  * @hidden
12559
12604
  */
12560
- var Aggregate = /** @__PURE__ @class */ (function () {
12605
+ var Aggregate = /** @class */ (function () {
12561
12606
  /**
12562
12607
  * Constructor for Aggregate module
12563
12608
  *
@@ -12790,7 +12835,7 @@ var Aggregate = /** @__PURE__ @class */ (function () {
12790
12835
  *
12791
12836
  * @hidden
12792
12837
  */
12793
- var Sort = /** @__PURE__ @class */ (function () {
12838
+ var Sort = /** @class */ (function () {
12794
12839
  function Sort(grid) {
12795
12840
  Grid.Inject(Sort$1);
12796
12841
  this.parent = grid;
@@ -12833,6 +12878,12 @@ var Sort = /** @__PURE__ @class */ (function () {
12833
12878
  this.iterateSort(data, srtQry);
12834
12879
  this.storedIndex = -1;
12835
12880
  sortParams.modifiedData = this.flatSortedData;
12881
+ if (srtQry.queries.filter(function (q) { return q.fn === 'onSortBy'; }).length > 0) {
12882
+ this.sortedResult = this.flatSortedData.filter(function (item) { return !item.isSummaryRow; });
12883
+ }
12884
+ else {
12885
+ this.sortedResult = [];
12886
+ }
12836
12887
  this.flatSortedData = [];
12837
12888
  };
12838
12889
  Sort.prototype.iterateSort = function (data, srtQry) {
@@ -12919,7 +12970,7 @@ var Sort = /** @__PURE__ @class */ (function () {
12919
12970
  *
12920
12971
  * @hidden
12921
12972
  */
12922
- var ColumnMenu = /** @__PURE__ @class */ (function () {
12973
+ var ColumnMenu = /** @class */ (function () {
12923
12974
  /**
12924
12975
  * Constructor for render module
12925
12976
  *
@@ -12952,7 +13003,7 @@ var ColumnMenu = /** @__PURE__ @class */ (function () {
12952
13003
  *
12953
13004
  * @hidden
12954
13005
  */
12955
- var ContextMenu = /** @__PURE__ @class */ (function () {
13006
+ var ContextMenu = /** @class */ (function () {
12956
13007
  function ContextMenu(parent) {
12957
13008
  Grid.Inject(ContextMenu$1);
12958
13009
  this.parent = parent;
@@ -13117,7 +13168,7 @@ var ContextMenu = /** @__PURE__ @class */ (function () {
13117
13168
  *
13118
13169
  * @hidden
13119
13170
  */
13120
- var BatchEdit = /** @__PURE__ @class */ (function () {
13171
+ var BatchEdit = /** @class */ (function () {
13121
13172
  function BatchEdit(parent) {
13122
13173
  this.batchChildCount = 0;
13123
13174
  this.addedRecords = 'addedRecords';
@@ -13787,7 +13838,7 @@ var BatchEdit = /** @__PURE__ @class */ (function () {
13787
13838
  * TreeGrid Edit Module
13788
13839
  * The `Edit` module is used to handle editing actions.
13789
13840
  */
13790
- var Edit = /** @__PURE__ @class */ (function () {
13841
+ var Edit = /** @class */ (function () {
13791
13842
  /**
13792
13843
  * Constructor for Edit module
13793
13844
  *
@@ -14925,7 +14976,7 @@ var Edit = /** @__PURE__ @class */ (function () {
14925
14976
  *
14926
14977
  * @hidden
14927
14978
  */
14928
- var CommandColumn = /** @__PURE__ @class */ (function () {
14979
+ var CommandColumn = /** @class */ (function () {
14929
14980
  function CommandColumn(parent) {
14930
14981
  Grid.Inject(CommandColumn$1);
14931
14982
  this.parent = parent;
@@ -14956,7 +15007,7 @@ var CommandColumn = /** @__PURE__ @class */ (function () {
14956
15007
  *
14957
15008
  * @hidden
14958
15009
  */
14959
- var DetailRow = /** @__PURE__ @class */ (function () {
15010
+ var DetailRow = /** @class */ (function () {
14960
15011
  function DetailRow(parent) {
14961
15012
  Grid.Inject(DetailRow$1);
14962
15013
  this.parent = parent;
@@ -15067,25 +15118,25 @@ var DetailRow = /** @__PURE__ @class */ (function () {
15067
15118
  return DetailRow;
15068
15119
  }());
15069
15120
 
15070
- var __extends$h = (undefined && undefined.__extends) || (function () {
15071
- var extendStatics = function (d, b) {
15072
- extendStatics = Object.setPrototypeOf ||
15073
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
15074
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
15075
- return extendStatics(d, b);
15076
- };
15077
- return function (d, b) {
15078
- extendStatics(d, b);
15079
- function __() { this.constructor = d; }
15080
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
15081
- };
15082
- })();
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
+ })();
15083
15134
  /**
15084
15135
  * VirtualTreeContentRenderer
15085
15136
  *
15086
15137
  * @hidden
15087
15138
  */
15088
- var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
15139
+ var VirtualTreeContentRenderer = /** @class */ (function (_super) {
15089
15140
  __extends$h(VirtualTreeContentRenderer, _super);
15090
15141
  function VirtualTreeContentRenderer(parent, locator) {
15091
15142
  var _this = _super.call(this, parent, locator) || this;
@@ -15847,6 +15898,9 @@ var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
15847
15898
  (this.parent.pageSettings.pageSize / 2) && (this.endIndex - nextSetResIndex) < (this.parent.pageSettings.pageSize / 2)) {
15848
15899
  this.startIndex = lastIndex - (this.parent.pageSettings.pageSize / 2);
15849
15900
  }
15901
+ if (this.totalRecords < this.parent.pageSettings.pageSize) {
15902
+ this.startIndex = 0;
15903
+ }
15850
15904
  if (scrollArgs.offset.top > (rowHeight * this.totalRecords)) {
15851
15905
  this.translateY = this.getTranslateY(scrollArgs.offset.top, content.getBoundingClientRect().height);
15852
15906
  }
@@ -16062,7 +16116,7 @@ var VirtualTreeContentRenderer = /** @__PURE__ @class */ (function (_super) {
16062
16116
  };
16063
16117
  return VirtualTreeContentRenderer;
16064
16118
  }(VirtualContentRenderer));
16065
- var TreeInterSectionObserver = /** @__PURE__ @class */ (function (_super) {
16119
+ var TreeInterSectionObserver = /** @class */ (function (_super) {
16066
16120
  __extends$h(TreeInterSectionObserver, _super);
16067
16121
  function TreeInterSectionObserver() {
16068
16122
  var _this = _super !== null && _super.apply(this, arguments) || this;
@@ -16206,25 +16260,25 @@ var TreeInterSectionObserver = /** @__PURE__ @class */ (function (_super) {
16206
16260
  return TreeInterSectionObserver;
16207
16261
  }(InterSectionObserver));
16208
16262
 
16209
- var __extends$i = (undefined && undefined.__extends) || (function () {
16210
- var extendStatics = function (d, b) {
16211
- extendStatics = Object.setPrototypeOf ||
16212
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
16213
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
16214
- return extendStatics(d, b);
16215
- };
16216
- return function (d, b) {
16217
- extendStatics(d, b);
16218
- function __() { this.constructor = d; }
16219
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
16220
- };
16221
- })();
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
+ })();
16222
16276
  /**
16223
16277
  * TreeGrid Virtual Scroll module will handle Virtualization
16224
16278
  *
16225
16279
  * @hidden
16226
16280
  */
16227
- var VirtualScroll = /** @__PURE__ @class */ (function () {
16281
+ var VirtualScroll = /** @class */ (function () {
16228
16282
  /**
16229
16283
  * Constructor for VirtualScroll module
16230
16284
  *
@@ -16330,7 +16384,11 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
16330
16384
  var dm = new DataManager(pageingDetails.result);
16331
16385
  var expanded = new Predicate$1('expanded', 'notequal', null).or('expanded', 'notequal', undefined);
16332
16386
  var parents = dm.executeLocal(new Query().where(expanded));
16333
- var isFiltering = pageingDetails.actionArgs.requestType === 'filtering';
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);
16334
16392
  var isFlatHierarchy = this.parent.filterSettings.hierarchyMode === 'Child' ||
16335
16393
  this.parent.filterSettings.hierarchyMode === 'None';
16336
16394
  var visualData = isFiltering && isFlatHierarchy
@@ -16474,7 +16532,7 @@ var VirtualScroll = /** @__PURE__ @class */ (function () {
16474
16532
  };
16475
16533
  return VirtualScroll;
16476
16534
  }());
16477
- var TreeVirtual = /** @__PURE__ @class */ (function (_super) {
16535
+ var TreeVirtual = /** @class */ (function (_super) {
16478
16536
  __extends$i(TreeVirtual, _super);
16479
16537
  function TreeVirtual(parent, locator) {
16480
16538
  var _this = _super.call(this, parent, locator) || this;
@@ -16518,7 +16576,7 @@ var TreeVirtual = /** @__PURE__ @class */ (function (_super) {
16518
16576
  *
16519
16577
  * @hidden
16520
16578
  */
16521
- var Freeze = /** @__PURE__ @class */ (function () {
16579
+ var Freeze = /** @class */ (function () {
16522
16580
  /**
16523
16581
  * Constructor for render module
16524
16582
  *
@@ -16622,7 +16680,7 @@ var Freeze = /** @__PURE__ @class */ (function () {
16622
16680
  *
16623
16681
  * @hidden
16624
16682
  */
16625
- var ColumnChooser = /** @__PURE__ @class */ (function () {
16683
+ var ColumnChooser = /** @class */ (function () {
16626
16684
  /**
16627
16685
  * Constructor for render module
16628
16686
  *
@@ -16668,7 +16726,7 @@ var ColumnChooser = /** @__PURE__ @class */ (function () {
16668
16726
  *
16669
16727
  * @hidden
16670
16728
  */
16671
- var InfiniteScroll = /** @__PURE__ @class */ (function () {
16729
+ var InfiniteScroll = /** @class */ (function () {
16672
16730
  /**
16673
16731
  * Constructor for VirtualScroll module
16674
16732
  *