@syncfusion/ej2-angular-grids 34.2.9 → 35.1.37

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 (240) hide show
  1. package/CHANGELOG.md +0 -94
  2. package/README.md +94 -104
  3. package/fesm2022/syncfusion-ej2-angular-grids.mjs +838 -0
  4. package/fesm2022/syncfusion-ej2-angular-grids.mjs.map +1 -0
  5. package/package.json +9 -16
  6. package/schematics/collection.json +19 -10
  7. package/schematics/generators/grid-default/index.d.ts +3 -0
  8. package/schematics/generators/grid-default/index.js +5 -0
  9. package/schematics/generators/grid-default/index.ts +8 -0
  10. package/schematics/generators/grid-default/sample-details.d.ts +5 -0
  11. package/schematics/generators/grid-default/sample-details.js +5 -0
  12. package/schematics/generators/grid-default/sample-details.ts +5 -0
  13. package/schematics/generators/grid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
  14. package/schematics/generators/grid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
  15. package/schematics/generators/grid-default/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +91 -0
  16. package/schematics/generators/grid-default/schema.d.ts +3 -0
  17. package/schematics/generators/grid-default/schema.js +1 -0
  18. package/schematics/generators/grid-default/schema.json +125 -0
  19. package/schematics/generators/grid-default/schema.ts +3 -0
  20. package/schematics/generators/grid-feature/index.d.ts +3 -0
  21. package/schematics/generators/grid-feature/index.js +5 -0
  22. package/schematics/generators/grid-feature/index.ts +8 -0
  23. package/schematics/generators/grid-feature/sample-details.d.ts +5 -0
  24. package/schematics/generators/grid-feature/sample-details.js +5 -0
  25. package/schematics/generators/grid-feature/sample-details.ts +5 -0
  26. package/schematics/generators/grid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.css +5 -0
  27. package/schematics/generators/grid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html +11 -0
  28. package/schematics/generators/grid-feature/samples/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts +91 -0
  29. package/schematics/generators/grid-feature/schema.d.ts +3 -0
  30. package/schematics/generators/grid-feature/schema.js +1 -0
  31. package/schematics/generators/grid-feature/schema.json +125 -0
  32. package/schematics/generators/grid-feature/schema.ts +3 -0
  33. package/schematics/ng-add/index.js +5 -8
  34. package/schematics/ng-add/index.ts +10 -10
  35. package/schematics/ng-add/schema.js +1 -2
  36. package/schematics/ng-add/schema.json +34 -34
  37. package/schematics/ng-add/schema.ts +30 -30
  38. package/schematics/tsconfig.json +33 -25
  39. package/schematics/utils/lib-details.d.ts +2 -2
  40. package/schematics/utils/lib-details.js +4 -6
  41. package/schematics/utils/lib-details.ts +4 -4
  42. package/types/syncfusion-ej2-angular-grids.d.ts +1306 -0
  43. package/esm2020/public_api.mjs +0 -2
  44. package/esm2020/src/grid/aggregate-columns.directive.mjs +0 -84
  45. package/esm2020/src/grid/aggregates.directive.mjs +0 -69
  46. package/esm2020/src/grid/columns.directive.mjs +0 -100
  47. package/esm2020/src/grid/grid-all.module.mjs +0 -101
  48. package/esm2020/src/grid/grid.component.mjs +0 -305
  49. package/esm2020/src/grid/grid.module.mjs +0 -61
  50. package/esm2020/src/grid/stacked-column.directive.mjs +0 -100
  51. package/esm2020/src/index.mjs +0 -12
  52. package/esm2020/src/pager/pager-all.module.mjs +0 -23
  53. package/esm2020/src/pager/pager.component.mjs +0 -66
  54. package/esm2020/src/pager/pager.module.mjs +0 -25
  55. package/esm2020/syncfusion-ej2-angular-grids.mjs +0 -5
  56. package/fesm2015/syncfusion-ej2-angular-grids.mjs +0 -891
  57. package/fesm2015/syncfusion-ej2-angular-grids.mjs.map +0 -1
  58. package/fesm2020/syncfusion-ej2-angular-grids.mjs +0 -891
  59. package/fesm2020/syncfusion-ej2-angular-grids.mjs.map +0 -1
  60. package/public_api.d.ts +0 -1
  61. package/src/grid/aggregate-columns.directive.d.ts +0 -119
  62. package/src/grid/aggregates.directive.d.ts +0 -45
  63. package/src/grid/columns.directive.d.ts +0 -484
  64. package/src/grid/grid-all.module.d.ts +0 -37
  65. package/src/grid/grid.component.d.ts +0 -171
  66. package/src/grid/grid.module.d.ts +0 -15
  67. package/src/grid/stacked-column.directive.d.ts +0 -486
  68. package/src/index.d.ts +0 -11
  69. package/src/pager/pager-all.module.d.ts +0 -11
  70. package/src/pager/pager.component.d.ts +0 -43
  71. package/src/pager/pager.module.d.ts +0 -11
  72. package/styles/bds-lite.css +0 -1
  73. package/styles/bds-lite.scss +0 -1
  74. package/styles/bds.css +0 -1
  75. package/styles/bds.scss +0 -2
  76. package/styles/bootstrap-dark-lite.css +0 -1
  77. package/styles/bootstrap-dark-lite.scss +0 -1
  78. package/styles/bootstrap-dark.css +0 -1
  79. package/styles/bootstrap-dark.scss +0 -2
  80. package/styles/bootstrap-lite.css +0 -1
  81. package/styles/bootstrap-lite.scss +0 -1
  82. package/styles/bootstrap.css +0 -1
  83. package/styles/bootstrap.scss +0 -2
  84. package/styles/bootstrap4-lite.css +0 -1
  85. package/styles/bootstrap4-lite.scss +0 -1
  86. package/styles/bootstrap4.css +0 -1
  87. package/styles/bootstrap4.scss +0 -2
  88. package/styles/bootstrap5-dark-lite.css +0 -1
  89. package/styles/bootstrap5-dark-lite.scss +0 -1
  90. package/styles/bootstrap5-dark.css +0 -1
  91. package/styles/bootstrap5-dark.scss +0 -2
  92. package/styles/bootstrap5-lite.css +0 -1
  93. package/styles/bootstrap5-lite.scss +0 -1
  94. package/styles/bootstrap5.3-lite.css +0 -1
  95. package/styles/bootstrap5.3-lite.scss +0 -1
  96. package/styles/bootstrap5.3.css +0 -1
  97. package/styles/bootstrap5.3.scss +0 -2
  98. package/styles/bootstrap5.css +0 -1
  99. package/styles/bootstrap5.scss +0 -2
  100. package/styles/excel-filter/bds.css +0 -1
  101. package/styles/excel-filter/bds.scss +0 -1
  102. package/styles/excel-filter/bootstrap-dark.css +0 -1
  103. package/styles/excel-filter/bootstrap-dark.scss +0 -1
  104. package/styles/excel-filter/bootstrap.css +0 -1
  105. package/styles/excel-filter/bootstrap.scss +0 -1
  106. package/styles/excel-filter/bootstrap4.css +0 -1
  107. package/styles/excel-filter/bootstrap4.scss +0 -1
  108. package/styles/excel-filter/bootstrap5-dark.css +0 -1
  109. package/styles/excel-filter/bootstrap5-dark.scss +0 -1
  110. package/styles/excel-filter/bootstrap5.3.css +0 -1
  111. package/styles/excel-filter/bootstrap5.3.scss +0 -1
  112. package/styles/excel-filter/bootstrap5.css +0 -1
  113. package/styles/excel-filter/bootstrap5.scss +0 -1
  114. package/styles/excel-filter/fabric-dark.css +0 -1
  115. package/styles/excel-filter/fabric-dark.scss +0 -1
  116. package/styles/excel-filter/fabric.css +0 -1
  117. package/styles/excel-filter/fabric.scss +0 -1
  118. package/styles/excel-filter/fluent-dark.css +0 -1
  119. package/styles/excel-filter/fluent-dark.scss +0 -1
  120. package/styles/excel-filter/fluent.css +0 -1
  121. package/styles/excel-filter/fluent.scss +0 -1
  122. package/styles/excel-filter/fluent2.css +0 -1
  123. package/styles/excel-filter/fluent2.scss +0 -1
  124. package/styles/excel-filter/highcontrast-light.css +0 -1
  125. package/styles/excel-filter/highcontrast-light.scss +0 -1
  126. package/styles/excel-filter/highcontrast.css +0 -1
  127. package/styles/excel-filter/highcontrast.scss +0 -1
  128. package/styles/excel-filter/material-dark.css +0 -1
  129. package/styles/excel-filter/material-dark.scss +0 -1
  130. package/styles/excel-filter/material.css +0 -1
  131. package/styles/excel-filter/material.scss +0 -1
  132. package/styles/excel-filter/material3-dark.css +0 -1
  133. package/styles/excel-filter/material3-dark.scss +0 -1
  134. package/styles/excel-filter/material3.css +0 -1
  135. package/styles/excel-filter/material3.scss +0 -1
  136. package/styles/excel-filter/tailwind-dark.css +0 -1
  137. package/styles/excel-filter/tailwind-dark.scss +0 -1
  138. package/styles/excel-filter/tailwind.css +0 -1
  139. package/styles/excel-filter/tailwind.scss +0 -1
  140. package/styles/excel-filter/tailwind3.css +0 -1
  141. package/styles/excel-filter/tailwind3.scss +0 -1
  142. package/styles/fabric-dark-lite.css +0 -1
  143. package/styles/fabric-dark-lite.scss +0 -1
  144. package/styles/fabric-dark.css +0 -1
  145. package/styles/fabric-dark.scss +0 -2
  146. package/styles/fabric-lite.css +0 -1
  147. package/styles/fabric-lite.scss +0 -1
  148. package/styles/fabric.css +0 -1
  149. package/styles/fabric.scss +0 -2
  150. package/styles/fluent-dark-lite.css +0 -1
  151. package/styles/fluent-dark-lite.scss +0 -1
  152. package/styles/fluent-dark.css +0 -1
  153. package/styles/fluent-dark.scss +0 -2
  154. package/styles/fluent-lite.css +0 -1
  155. package/styles/fluent-lite.scss +0 -1
  156. package/styles/fluent.css +0 -1
  157. package/styles/fluent.scss +0 -2
  158. package/styles/fluent2-lite.css +0 -1
  159. package/styles/fluent2-lite.scss +0 -1
  160. package/styles/fluent2.css +0 -1
  161. package/styles/fluent2.scss +0 -2
  162. package/styles/grid/bds.css +0 -1
  163. package/styles/grid/bds.scss +0 -1
  164. package/styles/grid/bootstrap-dark.css +0 -1
  165. package/styles/grid/bootstrap-dark.scss +0 -1
  166. package/styles/grid/bootstrap.css +0 -1
  167. package/styles/grid/bootstrap.scss +0 -1
  168. package/styles/grid/bootstrap4.css +0 -1
  169. package/styles/grid/bootstrap4.scss +0 -1
  170. package/styles/grid/bootstrap5-dark.css +0 -1
  171. package/styles/grid/bootstrap5-dark.scss +0 -1
  172. package/styles/grid/bootstrap5.3.css +0 -1
  173. package/styles/grid/bootstrap5.3.scss +0 -1
  174. package/styles/grid/bootstrap5.css +0 -1
  175. package/styles/grid/bootstrap5.scss +0 -1
  176. package/styles/grid/fabric-dark.css +0 -1
  177. package/styles/grid/fabric-dark.scss +0 -1
  178. package/styles/grid/fabric.css +0 -1
  179. package/styles/grid/fabric.scss +0 -1
  180. package/styles/grid/fluent-dark.css +0 -1
  181. package/styles/grid/fluent-dark.scss +0 -1
  182. package/styles/grid/fluent.css +0 -1
  183. package/styles/grid/fluent.scss +0 -1
  184. package/styles/grid/fluent2.css +0 -1
  185. package/styles/grid/fluent2.scss +0 -1
  186. package/styles/grid/highcontrast-light.css +0 -1
  187. package/styles/grid/highcontrast-light.scss +0 -1
  188. package/styles/grid/highcontrast.css +0 -1
  189. package/styles/grid/highcontrast.scss +0 -1
  190. package/styles/grid/material-dark.css +0 -1
  191. package/styles/grid/material-dark.scss +0 -1
  192. package/styles/grid/material.css +0 -1
  193. package/styles/grid/material.scss +0 -1
  194. package/styles/grid/material3-dark.css +0 -1
  195. package/styles/grid/material3-dark.scss +0 -1
  196. package/styles/grid/material3.css +0 -1
  197. package/styles/grid/material3.scss +0 -1
  198. package/styles/grid/tailwind-dark.css +0 -1
  199. package/styles/grid/tailwind-dark.scss +0 -1
  200. package/styles/grid/tailwind.css +0 -1
  201. package/styles/grid/tailwind.scss +0 -1
  202. package/styles/grid/tailwind3.css +0 -1
  203. package/styles/grid/tailwind3.scss +0 -1
  204. package/styles/highcontrast-light-lite.css +0 -1
  205. package/styles/highcontrast-light-lite.scss +0 -1
  206. package/styles/highcontrast-light.css +0 -1
  207. package/styles/highcontrast-light.scss +0 -2
  208. package/styles/highcontrast-lite.css +0 -1
  209. package/styles/highcontrast-lite.scss +0 -1
  210. package/styles/highcontrast.css +0 -1
  211. package/styles/highcontrast.scss +0 -2
  212. package/styles/material-dark-lite.css +0 -1
  213. package/styles/material-dark-lite.scss +0 -1
  214. package/styles/material-dark.css +0 -1
  215. package/styles/material-dark.scss +0 -2
  216. package/styles/material-lite.css +0 -1
  217. package/styles/material-lite.scss +0 -1
  218. package/styles/material.css +0 -1
  219. package/styles/material.scss +0 -2
  220. package/styles/material3-dark-lite.css +0 -1
  221. package/styles/material3-dark-lite.scss +0 -1
  222. package/styles/material3-dark.css +0 -1
  223. package/styles/material3-dark.scss +0 -2
  224. package/styles/material3-lite.css +0 -1
  225. package/styles/material3-lite.scss +0 -1
  226. package/styles/material3.css +0 -1
  227. package/styles/material3.scss +0 -2
  228. package/styles/tailwind-dark-lite.css +0 -1
  229. package/styles/tailwind-dark-lite.scss +0 -1
  230. package/styles/tailwind-dark.css +0 -1
  231. package/styles/tailwind-dark.scss +0 -2
  232. package/styles/tailwind-lite.css +0 -1
  233. package/styles/tailwind-lite.scss +0 -1
  234. package/styles/tailwind.css +0 -1
  235. package/styles/tailwind.scss +0 -2
  236. package/styles/tailwind3-lite.css +0 -1
  237. package/styles/tailwind3-lite.scss +0 -1
  238. package/styles/tailwind3.css +0 -1
  239. package/styles/tailwind3.scss +0 -2
  240. package/syncfusion-ej2-angular-grids.d.ts +0 -5
@@ -0,0 +1,1306 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ViewContainerRef, QueryList, ElementRef, Renderer2, Injector, ValueProvider } from '@angular/core';
3
+ import { ComplexBase, ArrayBase, IComponentBase } from '@syncfusion/ej2-angular-base';
4
+ import { Grid, Pager } from '@syncfusion/ej2-grids';
5
+ export * from '@syncfusion/ej2-grids';
6
+ import * as i1 from '@angular/common';
7
+
8
+ /**
9
+ * `e-stacked-column` directive represent the stacked column of the Angular Grid.
10
+ * It must be contained in a StackedColumns component(`e-stacked-columns`).
11
+ * ```html
12
+ * <ejs-grid [dataSource]='data' allowPaging='true' allowSorting='true'>
13
+ * <e-columns>
14
+ * <e-column field='ID' width='100'></e-column>
15
+ * <e-column headerText='Details' width='100'>
16
+ * <e-stacked-columns>
17
+ * <e-stacked-column field='Name' width='140'></e-stacked-column>
18
+ * </e-stacked-columns>
19
+ * </e-column>
20
+ * </e-columns>
21
+ * </ejs-grid>
22
+ * ```
23
+ */
24
+ declare class StackedColumnDirective extends ComplexBase<StackedColumnDirective> {
25
+ private viewContainerRef;
26
+ directivePropList: any;
27
+ /**
28
+ * Defines the column type.
29
+ *
30
+ * The following values are supported:
31
+ ** string
32
+ ** number
33
+ ** date
34
+ ** datetime
35
+ ** boolean
36
+ ** CheckBox
37
+ ** RowNumber
38
+ *
39
+ *- `CheckBox` renders a checkbox selection column.
40
+ *- `RowNumber` renders a read-only column with automatically generated row numbers.
41
+ *
42
+ * @default null
43
+ */
44
+ type: any;
45
+ /**
46
+ * If `allowEditing` set to false, then it disables editing of a particular column.
47
+ * By default all columns are editable.
48
+ * @default true
49
+ */
50
+ allowEditing: any;
51
+ /**
52
+ * If `allowFiltering` set to false, then it disables filtering option and filter bar element of a particular column.
53
+ * By default all columns are filterable.
54
+ * @default true
55
+ */
56
+ allowFiltering: any;
57
+ /**
58
+ * Enables formula entry and evaluation for the column.
59
+ * When enabled, users can enter formulas directly into the column cells.
60
+ * @default false
61
+ */
62
+ allowFormula: any;
63
+ /**
64
+ * If `allowGrouping` set to false, then it disables grouping of a particular column.
65
+ * By default all columns are groupable.
66
+ * @default true
67
+ */
68
+ allowGrouping: any;
69
+ /**
70
+ * If `allowReordering` set to false, then it disables reorder of a particular column.
71
+ * By default all columns can be reorder.
72
+ * @default true
73
+ */
74
+ allowReordering: any;
75
+ /**
76
+ * If `allowResizing` set to false, it disables resize option of a particular column.
77
+ * @default true
78
+ */
79
+ allowResizing: any;
80
+ /**
81
+ * If `allowSearching` set to false, then it disables Searching of a particular column.
82
+ * By default all columns allow Searching.
83
+ * @default true
84
+ */
85
+ allowSearching: any;
86
+ /**
87
+ * If `allowSorting` set to false, then it disables sorting option of a particular column.
88
+ * By default all columns are sortable.
89
+ * @default true
90
+ */
91
+ allowSorting: any;
92
+ /**
93
+ * If `autoFit` set to true, then the particular column content width will be
94
+ * adjusted based on its content in the initial rendering itself.
95
+ * Setting this property as true is equivalent to calling `autoFitColumns` method in the `dataBound` event.
96
+ * @default false
97
+ */
98
+ autoFit: any;
99
+ /**
100
+ * Defines the cell content's overflow mode. The available modes are
101
+ * * `Clip` - Truncates the cell content when it overflows its area.
102
+ * * `Ellipsis` - Displays ellipsis when the cell content overflows its area.
103
+ * * `EllipsisWithTooltip` - Displays ellipsis when the cell content overflows its area
104
+ * also it will display tooltip while hover on ellipsis applied cell.
105
+ * @default Ellipsis
106
+ */
107
+ clipMode: any;
108
+ /**
109
+ * Used to render multiple header rows(stacked headers) on the Grid header.
110
+ * @default null
111
+ */
112
+ columns: any;
113
+ /**
114
+ * `commands` provides an option to display command buttons in every cell.
115
+ * The available built-in command buttons are
116
+ * * Edit - Edit the record.
117
+ * * Delete - Delete the record.
118
+ * * Save - Save the record.
119
+ * * Cancel - Cancel the edit state.
120
+ *
121
+ * The following code example implements the custom command column.
122
+ *```html
123
+ *<style type="text/css" class="cssStyles">
124
+ *.details-icon:before
125
+ *{
126
+ * content:"\e74d";
127
+ *}
128
+ *</style>
129
+ *<div id="Grid"></div>
130
+ *```
131
+ *```typescript
132
+ *var gridObj = new Grid({
133
+ *datasource: window.gridData,
134
+ *columns : [
135
+ * { field: 'CustomerID', headerText: 'Customer ID' },
136
+ * { field: 'CustomerName', headerText: 'Customer Name' },
137
+ * {commands: [{buttonOption:{content: 'Details', click: onClick, cssClass: details-icon}}], headerText: 'Customer Details'}
138
+ *]
139
+ *gridObj.appendTo("#Grid");
140
+ *```
141
+ *
142
+ * @default null
143
+ */
144
+ commands: any;
145
+ /**
146
+ * The CSS styles and attributes of the content cells of a particular column can be customized.
147
+ *
148
+ * ```html
149
+ *<div id="Grid"></div>
150
+ *```
151
+ *```typescript
152
+ *let gridObj: Grid = new Grid({
153
+ *dataSource: filterData,
154
+ *columns: [
155
+ * { field: 'OrderID', headerText: 'Order ID' },
156
+ * {
157
+ * field: 'EmployeeID', headerText: 'Employee ID', customAttributes: {
158
+ * class: 'employeeid',
159
+ * type: 'employee-id-cell'
160
+ * }
161
+ * }]
162
+ *});
163
+ *gridObj.appendTo('#Grid');
164
+ *```
165
+ *
166
+ * @default null
167
+ */
168
+ customAttributes: any;
169
+ /**
170
+ * Defines the column data source which will act as foreign data source.
171
+ * @default null
172
+ */
173
+ dataSource: any;
174
+ /**
175
+ * Defines default values for the component when adding a new record to the Grid.
176
+ * @default null
177
+ * @asptype object
178
+ */
179
+ defaultValue: any;
180
+ /**
181
+ * If `disableHtmlEncode` is set to true, it encodes the HTML of the header and content cells.
182
+ * @default true
183
+ */
184
+ disableHtmlEncode: any;
185
+ /**
186
+ * If `displayAsCheckBox` is set to true, it displays the column value as a check box instead of Boolean value.
187
+ * @default false
188
+ */
189
+ displayAsCheckBox: any;
190
+ /**
191
+ * Defines the `IEditCell`(../../grid/edit/#cell-edit-template) object to customize default edit cell.
192
+ * @default {}
193
+ */
194
+ edit: any;
195
+ /**
196
+ * Defines the type of component for editing.
197
+ * @default 'stringedit'
198
+ */
199
+ editType: any;
200
+ /**
201
+ * Allows grid to perform column spanning on the specified column.
202
+ * @default true
203
+ */
204
+ enableColumnSpan: any;
205
+ /**
206
+ * If `enableGroupByFormat` set to true, then it groups the particular column by formatted values.
207
+ * By default no columns are group by format.
208
+ * @default true
209
+ */
210
+ enableGroupByFormat: any;
211
+ /**
212
+ * Allows grid to perform row spanning on the specified column.
213
+ * @default true
214
+ */
215
+ enableRowSpan: any;
216
+ /**
217
+ * Defines the field name of column which is mapped with mapping name of DataSource.
218
+ * The bounded columns can be sort, filter and group etc.,
219
+ * If the `field` name contains “dot”, then it is considered as complex binding.
220
+ * The `field` name must be a valid JavaScript identifier,
221
+ * the first character must be an alphabet and should not contain spaces and special characters.
222
+ * @default ''
223
+ */
224
+ field: any;
225
+ /**
226
+ * Defines the filter options to customize filtering for the particular column.
227
+ * @default {}
228
+ */
229
+ filter: any;
230
+ /**
231
+ * The `filterBarTemplate` is used to add a custom component instead of default input component for filter bar.
232
+ * It have create and read functions.
233
+ * * create: It is used for creating custom components.
234
+ * * read: It is used to perform custom filter action.
235
+ *
236
+ * ```html
237
+ *<div id="Grid"></div>
238
+ *```
239
+ *```typescript
240
+ *let gridObj: Grid = new Grid({
241
+ *dataSource: filterData,
242
+ *columns: [
243
+ * { field: 'OrderID', headerText: 'Order ID' },
244
+ * {
245
+ * field: 'EmployeeID', filterBarTemplate: {
246
+ * create: (args: { element: Element, column: Column }) => {
247
+ * let input: HTMLInputElement = document.createElement('input');
248
+ * input.id = 'EmployeeID';
249
+ * input.type = 'text';
250
+ * return input;
251
+ * },
252
+ * write: (args: { element: Element, column: Column }) => {
253
+ * args.element.addEventListener('input', args.column.filterBarTemplate.read as EventListener);
254
+ * },
255
+ * read: (args: { element: HTMLInputElement, columnIndex: number, column: Column }) => {
256
+ * gridObj.filterByColumn(args.element.id, 'equal', args.element.value);
257
+ * }
258
+ * }
259
+ * }],
260
+ * allowFiltering: true
261
+ *});
262
+ *gridObj.appendTo('#Grid');
263
+ *```
264
+ *
265
+ * @default null
266
+ */
267
+ filterBarTemplate: any;
268
+ /**
269
+ * It defines the custom filter comparer function.
270
+ */
271
+ filterComparer: any;
272
+ /**
273
+ * Defines the mapping column name of the foreign data source.
274
+ * If it is not defined then the `columns.field` will be considered as mapping column name
275
+ * @default null
276
+ */
277
+ foreignKeyField: any;
278
+ /**
279
+ * Defines the display column name from the foreign data source which will be obtained from comparing local and foreign data
280
+ * @default null
281
+ */
282
+ foreignKeyValue: any;
283
+ /**
284
+ * It is used to change display value with the given format and does not affect the original data.
285
+ * Gets the format from the user which can be standard or custom
286
+ * [`number`](../../common/internationalization/#manipulating-numbers)
287
+ * and [`date`](../../common/internationalization/#manipulating-datetime) formats.
288
+ * @default null
289
+ * @asptype string
290
+ */
291
+ format: any;
292
+ /**
293
+ * Defines the method which is used to achieve custom formatting from an external function.
294
+ * This function triggers before rendering of each cell.
295
+ *
296
+ * ```html
297
+ *<div id="Grid"></div>
298
+ *```
299
+ *```typescript
300
+ *class ExtendedFormatter implements ICellFormatter {
301
+ *public getValue(column: Column, data: Object): Object {
302
+ * return '<span style="color:' + (data['Verified'] ? 'green' : 'red') + '"><i>' + data['Verified'] + '</i><span>';
303
+ *}
304
+ *}
305
+ *let gridObj: Grid = new Grid({
306
+ * dataSource: filterData,
307
+ * columns: [
308
+ * { field: 'ShipName', headerText: 'Ship Name' },
309
+ * { field: 'Verified', headerText: 'Verified Status', formatter: ExtendedFormatter }]
310
+ *});
311
+ *gridObj.appendTo('#Grid');
312
+ *```
313
+ *
314
+ * @default null
315
+ */
316
+ formatter: any;
317
+ /**
318
+ * defines which side the column need to freeze
319
+ * The available built-in freeze directions are
320
+ * * Left - Freeze the column at left side.
321
+ * * Right - Freeze the column at right side.
322
+ * * Fixed - Freeze the column at Center.
323
+ * * None - Does not freeze the column.
324
+ * @default None
325
+ */
326
+ freeze: any;
327
+ /**
328
+ * Defines the header text of column which is used to display in column header.
329
+ * If `headerText` is not defined, then field name value will be assigned to header text.
330
+ * @default null
331
+ */
332
+ headerText: any;
333
+ /**
334
+ * Define the alignment of column header which is used to align the text of column header.
335
+ * @aspdefaultvalueignore
336
+ * @default null
337
+ */
338
+ headerTextAlign: any;
339
+ /**
340
+ * Defines the method used to apply custom header cell values from external function and display this on each cell rendered.
341
+ *
342
+ * ```html
343
+ *<div id="Grid"></div>
344
+ *```
345
+ *```typescript
346
+ *let gridObj: Grid = new Grid({
347
+ *dataSource: [{ EmployeeID: 1, EmployeeName: ['John', 'M'] }, { EmployeeID: 2, EmployeeName: ['Peter', 'A'] }],
348
+ *columns: [
349
+ * { field: 'EmployeeID', headerText: 'Employee ID' },
350
+ * { field: 'EmployeeName', headerText: 'Employee First Name',
351
+ * headerValueAccessor: (field: string,column: Column) => {
352
+ * return "newheadername";
353
+ * },
354
+ * }]
355
+ *});
356
+ *```
357
+ *
358
+ * @default null
359
+ */
360
+ headerValueAccessor: any;
361
+ /**
362
+ * column visibility can change based on its [`Media Queries`](http://cssmediaqueries.com/what-are-css-media-queries.html).
363
+ * `hideAtMedia` accepts only valid Media Queries.
364
+ * @default ''
365
+ */
366
+ hideAtMedia: any;
367
+ /**
368
+ * Gets the unique identifier value of the column. It is used to get the object.
369
+ * @default null
370
+ */
371
+ index: any;
372
+ /**
373
+ * You can use this property to freeze selected columns in grid.
374
+ * @default false
375
+ */
376
+ isFrozen: any;
377
+ /**
378
+ * If `isIdentity` is set to true, then this column is considered as identity column.
379
+ * @default false
380
+ */
381
+ isIdentity: any;
382
+ /**
383
+ * If `isPrimaryKey` is set to true, considers this column as the primary key constraint.
384
+ * @default false
385
+ */
386
+ isPrimaryKey: any;
387
+ /**
388
+ * Defines the mapping column name of the foreign data source.
389
+ * If it is not defined then the `columns.field` will be considered as mapping column name
390
+ * @default false
391
+ */
392
+ lockColumn: any;
393
+ /**
394
+ * Defines the maximum width of the column in pixel or percentage, which will restrict resizing beyond this pixel or percentage.
395
+ * @default ''
396
+ */
397
+ maxWidth: any;
398
+ /**
399
+ * Defines the minimum width of the column in pixels or percentage.
400
+ * @default ''
401
+ */
402
+ minWidth: any;
403
+ /**
404
+ * If `showColumnMenu` set to false, then it disable the column menu of a particular column.
405
+ * By default column menu will show for all columns
406
+ * @default true
407
+ */
408
+ showColumnMenu: any;
409
+ /**
410
+ * If `showInColumnChooser` set to false, then hides the particular column in column chooser.
411
+ * By default all columns are displayed in column Chooser.
412
+ * @default true
413
+ */
414
+ showInColumnChooser: any;
415
+ /**
416
+ * It defines the custom sort comparer function.
417
+ */
418
+ sortComparer: any;
419
+ /**
420
+ * Determines the behavior of the `aria-label` attribute for cells in template columns.
421
+ * If enableAriaLabel is set to false, the aria-label attribute is not applied to template column cells, which affects screen reader accessibility.
422
+ * @default {}
423
+ */
424
+ templateOptions: any;
425
+ /**
426
+ * Defines the alignment of the column in both header and content cells.
427
+ * @default Left
428
+ */
429
+ textAlign: any;
430
+ /**
431
+ * Gets the unique identifier value of the column. It is used to get the object.
432
+ * @default ''
433
+ */
434
+ uid: any;
435
+ /**
436
+ * `editType`(../../grid/edit/#cell-edit-type-and-its-params) Defines rules to validate data before creating and updating.
437
+ * @default null
438
+ */
439
+ validationRules: any;
440
+ /**
441
+ * Defines the method used to apply custom cell values from external function and display this on each cell rendered.
442
+ *
443
+ * ```html
444
+ *<div id="Grid"></div>
445
+ *```
446
+ *```typescript
447
+ *let gridObj: Grid = new Grid({
448
+ *dataSource: [{ EmployeeID: 1, EmployeeName: ['John', 'M'] }, { EmployeeID: 2, EmployeeName: ['Peter', 'A'] }],
449
+ *columns: [
450
+ * { field: 'EmployeeID', headerText: 'Employee ID' },
451
+ * { field: 'EmployeeName', headerText: 'Employee First Name',
452
+ * valueAccessor: (field: string, data: Object, column: Column) => {
453
+ * return data['EmployeeName'][0];
454
+ * },
455
+ * }]
456
+ *});
457
+ *```
458
+ *
459
+ * @default null
460
+ */
461
+ valueAccessor: any;
462
+ /**
463
+ * If `visible` is set to false, hides the particular column. By default, all columns are displayed.
464
+ * @default true
465
+ */
466
+ visible: any;
467
+ /**
468
+ * Defines the width of the column in pixels or percentage.
469
+ * @default ''
470
+ */
471
+ width: any;
472
+ constructor(viewContainerRef: ViewContainerRef);
473
+ static ɵfac: i0.ɵɵFactoryDeclaration<StackedColumnDirective, never>;
474
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StackedColumnDirective, "ejs-grid>e-columns>e-column>e-stacked-columns>e-stacked-column", never, { "allowEditing": { "alias": "allowEditing"; "required": false; }; "allowFiltering": { "alias": "allowFiltering"; "required": false; }; "allowFormula": { "alias": "allowFormula"; "required": false; }; "allowGrouping": { "alias": "allowGrouping"; "required": false; }; "allowReordering": { "alias": "allowReordering"; "required": false; }; "allowResizing": { "alias": "allowResizing"; "required": false; }; "allowSearching": { "alias": "allowSearching"; "required": false; }; "allowSorting": { "alias": "allowSorting"; "required": false; }; "autoFit": { "alias": "autoFit"; "required": false; }; "clipMode": { "alias": "clipMode"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "commands": { "alias": "commands"; "required": false; }; "customAttributes": { "alias": "customAttributes"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "disableHtmlEncode": { "alias": "disableHtmlEncode"; "required": false; }; "displayAsCheckBox": { "alias": "displayAsCheckBox"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "editTemplate": { "alias": "editTemplate"; "required": false; }; "editType": { "alias": "editType"; "required": false; }; "enableColumnSpan": { "alias": "enableColumnSpan"; "required": false; }; "enableGroupByFormat": { "alias": "enableGroupByFormat"; "required": false; }; "enableRowSpan": { "alias": "enableRowSpan"; "required": false; }; "field": { "alias": "field"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "filterBarTemplate": { "alias": "filterBarTemplate"; "required": false; }; "filterComparer": { "alias": "filterComparer"; "required": false; }; "filterTemplate": { "alias": "filterTemplate"; "required": false; }; "foreignKeyField": { "alias": "foreignKeyField"; "required": false; }; "foreignKeyValue": { "alias": "foreignKeyValue"; "required": false; }; "format": { "alias": "format"; "required": false; }; "formatter": { "alias": "formatter"; "required": false; }; "freeze": { "alias": "freeze"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "headerText": { "alias": "headerText"; "required": false; }; "headerTextAlign": { "alias": "headerTextAlign"; "required": false; }; "headerValueAccessor": { "alias": "headerValueAccessor"; "required": false; }; "hideAtMedia": { "alias": "hideAtMedia"; "required": false; }; "index": { "alias": "index"; "required": false; }; "isFrozen": { "alias": "isFrozen"; "required": false; }; "isIdentity": { "alias": "isIdentity"; "required": false; }; "isPrimaryKey": { "alias": "isPrimaryKey"; "required": false; }; "lockColumn": { "alias": "lockColumn"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "showColumnMenu": { "alias": "showColumnMenu"; "required": false; }; "showInColumnChooser": { "alias": "showInColumnChooser"; "required": false; }; "sortComparer": { "alias": "sortComparer"; "required": false; }; "template": { "alias": "template"; "required": false; }; "templateOptions": { "alias": "templateOptions"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "type": { "alias": "type"; "required": false; }; "uid": { "alias": "uid"; "required": false; }; "validationRules": { "alias": "validationRules"; "required": false; }; "valueAccessor": { "alias": "valueAccessor"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, ["template", "headerTemplate", "commandsTemplate", "filter_itemTemplate", "editTemplate", "filterTemplate"], never, true, never>;
475
+ }
476
+ /**
477
+ * StackedColumn Array Directive
478
+ * @private
479
+ */
480
+ declare class StackedColumnsDirective extends ArrayBase<StackedColumnsDirective> {
481
+ constructor();
482
+ static ɵfac: i0.ɵɵFactoryDeclaration<StackedColumnsDirective, never>;
483
+ static ɵdir: i0.ɵɵDirectiveDeclaration<StackedColumnsDirective, "ejs-grid>e-columns>e-column>e-stacked-columns", never, {}, {}, ["children"], never, true, never>;
484
+ }
485
+
486
+ /**
487
+ * `e-column` directive represent a column of the Angular Grid.
488
+ * It must be contained in a Grid component(`ejs-grid`).
489
+ * ```html
490
+ * <ejs-grid [dataSource]='data' allowPaging='true' allowSorting='true'>
491
+ * <e-columns>
492
+ * <e-column field='ID' width='100'></e-column>
493
+ * <e-column field='name' headerText='Name' width='100'></e-column>
494
+ * </e-columns>
495
+ * </ejs-grid>
496
+ * ```
497
+ */
498
+ declare class ColumnDirective extends ComplexBase<ColumnDirective> {
499
+ private viewContainerRef;
500
+ directivePropList: any;
501
+ childColumns: any;
502
+ tags: string[];
503
+ /**
504
+ * Defines the column type.
505
+ *
506
+ * The following values are supported:
507
+ ** string
508
+ ** number
509
+ ** date
510
+ ** datetime
511
+ ** boolean
512
+ ** CheckBox
513
+ ** RowNumber
514
+ *
515
+ *- `CheckBox` renders a checkbox selection column.
516
+ *- `RowNumber` renders a read-only column with automatically generated row numbers.
517
+ *
518
+ * @default null
519
+ */
520
+ type: any;
521
+ /**
522
+ * If `allowEditing` set to false, then it disables editing of a particular column.
523
+ * By default all columns are editable.
524
+ * @default true
525
+ */
526
+ allowEditing: any;
527
+ /**
528
+ * If `allowFiltering` set to false, then it disables filtering option and filter bar element of a particular column.
529
+ * By default all columns are filterable.
530
+ * @default true
531
+ */
532
+ allowFiltering: any;
533
+ /**
534
+ * Enables formula entry and evaluation for the column.
535
+ * When enabled, users can enter formulas directly into the column cells.
536
+ * @default false
537
+ */
538
+ allowFormula: any;
539
+ /**
540
+ * If `allowGrouping` set to false, then it disables grouping of a particular column.
541
+ * By default all columns are groupable.
542
+ * @default true
543
+ */
544
+ allowGrouping: any;
545
+ /**
546
+ * If `allowReordering` set to false, then it disables reorder of a particular column.
547
+ * By default all columns can be reorder.
548
+ * @default true
549
+ */
550
+ allowReordering: any;
551
+ /**
552
+ * If `allowResizing` set to false, it disables resize option of a particular column.
553
+ * @default true
554
+ */
555
+ allowResizing: any;
556
+ /**
557
+ * If `allowSearching` set to false, then it disables Searching of a particular column.
558
+ * By default all columns allow Searching.
559
+ * @default true
560
+ */
561
+ allowSearching: any;
562
+ /**
563
+ * If `allowSorting` set to false, then it disables sorting option of a particular column.
564
+ * By default all columns are sortable.
565
+ * @default true
566
+ */
567
+ allowSorting: any;
568
+ /**
569
+ * If `autoFit` set to true, then the particular column content width will be
570
+ * adjusted based on its content in the initial rendering itself.
571
+ * Setting this property as true is equivalent to calling `autoFitColumns` method in the `dataBound` event.
572
+ * @default false
573
+ */
574
+ autoFit: any;
575
+ /**
576
+ * Defines the cell content's overflow mode. The available modes are
577
+ * * `Clip` - Truncates the cell content when it overflows its area.
578
+ * * `Ellipsis` - Displays ellipsis when the cell content overflows its area.
579
+ * * `EllipsisWithTooltip` - Displays ellipsis when the cell content overflows its area
580
+ * also it will display tooltip while hover on ellipsis applied cell.
581
+ * @default Ellipsis
582
+ */
583
+ clipMode: any;
584
+ /**
585
+ * Used to render multiple header rows(stacked headers) on the Grid header.
586
+ * @default null
587
+ */
588
+ columns: any;
589
+ /**
590
+ * `commands` provides an option to display command buttons in every cell.
591
+ * The available built-in command buttons are
592
+ * * Edit - Edit the record.
593
+ * * Delete - Delete the record.
594
+ * * Save - Save the record.
595
+ * * Cancel - Cancel the edit state.
596
+ *
597
+ * The following code example implements the custom command column.
598
+ *```html
599
+ *<style type="text/css" class="cssStyles">
600
+ *.details-icon:before
601
+ *{
602
+ * content:"\e74d";
603
+ *}
604
+ *</style>
605
+ *<div id="Grid"></div>
606
+ *```
607
+ *```typescript
608
+ *var gridObj = new Grid({
609
+ *datasource: window.gridData,
610
+ *columns : [
611
+ * { field: 'CustomerID', headerText: 'Customer ID' },
612
+ * { field: 'CustomerName', headerText: 'Customer Name' },
613
+ * {commands: [{buttonOption:{content: 'Details', click: onClick, cssClass: details-icon}}], headerText: 'Customer Details'}
614
+ *]
615
+ *gridObj.appendTo("#Grid");
616
+ *```
617
+ *
618
+ * @default null
619
+ */
620
+ commands: any;
621
+ /**
622
+ * The CSS styles and attributes of the content cells of a particular column can be customized.
623
+ *
624
+ * ```html
625
+ *<div id="Grid"></div>
626
+ *```
627
+ *```typescript
628
+ *let gridObj: Grid = new Grid({
629
+ *dataSource: filterData,
630
+ *columns: [
631
+ * { field: 'OrderID', headerText: 'Order ID' },
632
+ * {
633
+ * field: 'EmployeeID', headerText: 'Employee ID', customAttributes: {
634
+ * class: 'employeeid',
635
+ * type: 'employee-id-cell'
636
+ * }
637
+ * }]
638
+ *});
639
+ *gridObj.appendTo('#Grid');
640
+ *```
641
+ *
642
+ * @default null
643
+ */
644
+ customAttributes: any;
645
+ /**
646
+ * Defines the column data source which will act as foreign data source.
647
+ * @default null
648
+ */
649
+ dataSource: any;
650
+ /**
651
+ * Defines default values for the component when adding a new record to the Grid.
652
+ * @default null
653
+ * @asptype object
654
+ */
655
+ defaultValue: any;
656
+ /**
657
+ * If `disableHtmlEncode` is set to true, it encodes the HTML of the header and content cells.
658
+ * @default true
659
+ */
660
+ disableHtmlEncode: any;
661
+ /**
662
+ * If `displayAsCheckBox` is set to true, it displays the column value as a check box instead of Boolean value.
663
+ * @default false
664
+ */
665
+ displayAsCheckBox: any;
666
+ /**
667
+ * Defines the `IEditCell`(../../grid/edit/#cell-edit-template) object to customize default edit cell.
668
+ * @default {}
669
+ */
670
+ edit: any;
671
+ /**
672
+ * Defines the type of component for editing.
673
+ * @default 'stringedit'
674
+ */
675
+ editType: any;
676
+ /**
677
+ * Allows grid to perform column spanning on the specified column.
678
+ * @default true
679
+ */
680
+ enableColumnSpan: any;
681
+ /**
682
+ * If `enableGroupByFormat` set to true, then it groups the particular column by formatted values.
683
+ * By default no columns are group by format.
684
+ * @default true
685
+ */
686
+ enableGroupByFormat: any;
687
+ /**
688
+ * Allows grid to perform row spanning on the specified column.
689
+ * @default true
690
+ */
691
+ enableRowSpan: any;
692
+ /**
693
+ * Defines the field name of column which is mapped with mapping name of DataSource.
694
+ * The bounded columns can be sort, filter and group etc.,
695
+ * If the `field` name contains “dot”, then it is considered as complex binding.
696
+ * The `field` name must be a valid JavaScript identifier,
697
+ * the first character must be an alphabet and should not contain spaces and special characters.
698
+ * @default ''
699
+ */
700
+ field: any;
701
+ /**
702
+ * Defines the filter options to customize filtering for the particular column.
703
+ * @default {}
704
+ */
705
+ filter: any;
706
+ /**
707
+ * The `filterBarTemplate` is used to add a custom component instead of default input component for filter bar.
708
+ * It have create and read functions.
709
+ * * create: It is used for creating custom components.
710
+ * * read: It is used to perform custom filter action.
711
+ *
712
+ * ```html
713
+ *<div id="Grid"></div>
714
+ *```
715
+ *```typescript
716
+ *let gridObj: Grid = new Grid({
717
+ *dataSource: filterData,
718
+ *columns: [
719
+ * { field: 'OrderID', headerText: 'Order ID' },
720
+ * {
721
+ * field: 'EmployeeID', filterBarTemplate: {
722
+ * create: (args: { element: Element, column: Column }) => {
723
+ * let input: HTMLInputElement = document.createElement('input');
724
+ * input.id = 'EmployeeID';
725
+ * input.type = 'text';
726
+ * return input;
727
+ * },
728
+ * write: (args: { element: Element, column: Column }) => {
729
+ * args.element.addEventListener('input', args.column.filterBarTemplate.read as EventListener);
730
+ * },
731
+ * read: (args: { element: HTMLInputElement, columnIndex: number, column: Column }) => {
732
+ * gridObj.filterByColumn(args.element.id, 'equal', args.element.value);
733
+ * }
734
+ * }
735
+ * }],
736
+ * allowFiltering: true
737
+ *});
738
+ *gridObj.appendTo('#Grid');
739
+ *```
740
+ *
741
+ * @default null
742
+ */
743
+ filterBarTemplate: any;
744
+ /**
745
+ * It defines the custom filter comparer function.
746
+ */
747
+ filterComparer: any;
748
+ /**
749
+ * Defines the mapping column name of the foreign data source.
750
+ * If it is not defined then the `columns.field` will be considered as mapping column name
751
+ * @default null
752
+ */
753
+ foreignKeyField: any;
754
+ /**
755
+ * Defines the display column name from the foreign data source which will be obtained from comparing local and foreign data
756
+ * @default null
757
+ */
758
+ foreignKeyValue: any;
759
+ /**
760
+ * It is used to change display value with the given format and does not affect the original data.
761
+ * Gets the format from the user which can be standard or custom
762
+ * [`number`](../../common/internationalization/#manipulating-numbers)
763
+ * and [`date`](../../common/internationalization/#manipulating-datetime) formats.
764
+ * @default null
765
+ * @asptype string
766
+ */
767
+ format: any;
768
+ /**
769
+ * Defines the method which is used to achieve custom formatting from an external function.
770
+ * This function triggers before rendering of each cell.
771
+ *
772
+ * ```html
773
+ *<div id="Grid"></div>
774
+ *```
775
+ *```typescript
776
+ *class ExtendedFormatter implements ICellFormatter {
777
+ *public getValue(column: Column, data: Object): Object {
778
+ * return '<span style="color:' + (data['Verified'] ? 'green' : 'red') + '"><i>' + data['Verified'] + '</i><span>';
779
+ *}
780
+ *}
781
+ *let gridObj: Grid = new Grid({
782
+ * dataSource: filterData,
783
+ * columns: [
784
+ * { field: 'ShipName', headerText: 'Ship Name' },
785
+ * { field: 'Verified', headerText: 'Verified Status', formatter: ExtendedFormatter }]
786
+ *});
787
+ *gridObj.appendTo('#Grid');
788
+ *```
789
+ *
790
+ * @default null
791
+ */
792
+ formatter: any;
793
+ /**
794
+ * defines which side the column need to freeze
795
+ * The available built-in freeze directions are
796
+ * * Left - Freeze the column at left side.
797
+ * * Right - Freeze the column at right side.
798
+ * * Fixed - Freeze the column at Center.
799
+ * * None - Does not freeze the column.
800
+ * @default None
801
+ */
802
+ freeze: any;
803
+ /**
804
+ * Defines the header text of column which is used to display in column header.
805
+ * If `headerText` is not defined, then field name value will be assigned to header text.
806
+ * @default null
807
+ */
808
+ headerText: any;
809
+ /**
810
+ * Define the alignment of column header which is used to align the text of column header.
811
+ * @aspdefaultvalueignore
812
+ * @default null
813
+ */
814
+ headerTextAlign: any;
815
+ /**
816
+ * Defines the method used to apply custom header cell values from external function and display this on each cell rendered.
817
+ *
818
+ * ```html
819
+ *<div id="Grid"></div>
820
+ *```
821
+ *```typescript
822
+ *let gridObj: Grid = new Grid({
823
+ *dataSource: [{ EmployeeID: 1, EmployeeName: ['John', 'M'] }, { EmployeeID: 2, EmployeeName: ['Peter', 'A'] }],
824
+ *columns: [
825
+ * { field: 'EmployeeID', headerText: 'Employee ID' },
826
+ * { field: 'EmployeeName', headerText: 'Employee First Name',
827
+ * headerValueAccessor: (field: string,column: Column) => {
828
+ * return "newheadername";
829
+ * },
830
+ * }]
831
+ *});
832
+ *```
833
+ *
834
+ * @default null
835
+ */
836
+ headerValueAccessor: any;
837
+ /**
838
+ * column visibility can change based on its [`Media Queries`](http://cssmediaqueries.com/what-are-css-media-queries.html).
839
+ * `hideAtMedia` accepts only valid Media Queries.
840
+ * @default ''
841
+ */
842
+ hideAtMedia: any;
843
+ /**
844
+ * Gets the unique identifier value of the column. It is used to get the object.
845
+ * @default null
846
+ */
847
+ index: any;
848
+ /**
849
+ * You can use this property to freeze selected columns in grid.
850
+ * @default false
851
+ */
852
+ isFrozen: any;
853
+ /**
854
+ * If `isIdentity` is set to true, then this column is considered as identity column.
855
+ * @default false
856
+ */
857
+ isIdentity: any;
858
+ /**
859
+ * If `isPrimaryKey` is set to true, considers this column as the primary key constraint.
860
+ * @default false
861
+ */
862
+ isPrimaryKey: any;
863
+ /**
864
+ * Defines the mapping column name of the foreign data source.
865
+ * If it is not defined then the `columns.field` will be considered as mapping column name
866
+ * @default false
867
+ */
868
+ lockColumn: any;
869
+ /**
870
+ * Defines the maximum width of the column in pixel or percentage, which will restrict resizing beyond this pixel or percentage.
871
+ * @default ''
872
+ */
873
+ maxWidth: any;
874
+ /**
875
+ * Defines the minimum width of the column in pixels or percentage.
876
+ * @default ''
877
+ */
878
+ minWidth: any;
879
+ /**
880
+ * If `showColumnMenu` set to false, then it disable the column menu of a particular column.
881
+ * By default column menu will show for all columns
882
+ * @default true
883
+ */
884
+ showColumnMenu: any;
885
+ /**
886
+ * If `showInColumnChooser` set to false, then hides the particular column in column chooser.
887
+ * By default all columns are displayed in column Chooser.
888
+ * @default true
889
+ */
890
+ showInColumnChooser: any;
891
+ /**
892
+ * It defines the custom sort comparer function.
893
+ */
894
+ sortComparer: any;
895
+ /**
896
+ * Determines the behavior of the `aria-label` attribute for cells in template columns.
897
+ * If enableAriaLabel is set to false, the aria-label attribute is not applied to template column cells, which affects screen reader accessibility.
898
+ * @default {}
899
+ */
900
+ templateOptions: any;
901
+ /**
902
+ * Defines the alignment of the column in both header and content cells.
903
+ * @default Left
904
+ */
905
+ textAlign: any;
906
+ /**
907
+ * Gets the unique identifier value of the column. It is used to get the object.
908
+ * @default ''
909
+ */
910
+ uid: any;
911
+ /**
912
+ * `editType`(../../grid/edit/#cell-edit-type-and-its-params) Defines rules to validate data before creating and updating.
913
+ * @default null
914
+ */
915
+ validationRules: any;
916
+ /**
917
+ * Defines the method used to apply custom cell values from external function and display this on each cell rendered.
918
+ *
919
+ * ```html
920
+ *<div id="Grid"></div>
921
+ *```
922
+ *```typescript
923
+ *let gridObj: Grid = new Grid({
924
+ *dataSource: [{ EmployeeID: 1, EmployeeName: ['John', 'M'] }, { EmployeeID: 2, EmployeeName: ['Peter', 'A'] }],
925
+ *columns: [
926
+ * { field: 'EmployeeID', headerText: 'Employee ID' },
927
+ * { field: 'EmployeeName', headerText: 'Employee First Name',
928
+ * valueAccessor: (field: string, data: Object, column: Column) => {
929
+ * return data['EmployeeName'][0];
930
+ * },
931
+ * }]
932
+ *});
933
+ *```
934
+ *
935
+ * @default null
936
+ */
937
+ valueAccessor: any;
938
+ /**
939
+ * If `visible` is set to false, hides the particular column. By default, all columns are displayed.
940
+ * @default true
941
+ */
942
+ visible: any;
943
+ /**
944
+ * Defines the width of the column in pixels or percentage.
945
+ * @default ''
946
+ */
947
+ width: any;
948
+ constructor(viewContainerRef: ViewContainerRef);
949
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColumnDirective, never>;
950
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnDirective, "ejs-grid>e-columns>e-column", never, { "allowEditing": { "alias": "allowEditing"; "required": false; }; "allowFiltering": { "alias": "allowFiltering"; "required": false; }; "allowFormula": { "alias": "allowFormula"; "required": false; }; "allowGrouping": { "alias": "allowGrouping"; "required": false; }; "allowReordering": { "alias": "allowReordering"; "required": false; }; "allowResizing": { "alias": "allowResizing"; "required": false; }; "allowSearching": { "alias": "allowSearching"; "required": false; }; "allowSorting": { "alias": "allowSorting"; "required": false; }; "autoFit": { "alias": "autoFit"; "required": false; }; "clipMode": { "alias": "clipMode"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "commands": { "alias": "commands"; "required": false; }; "customAttributes": { "alias": "customAttributes"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; "disableHtmlEncode": { "alias": "disableHtmlEncode"; "required": false; }; "displayAsCheckBox": { "alias": "displayAsCheckBox"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "editTemplate": { "alias": "editTemplate"; "required": false; }; "editType": { "alias": "editType"; "required": false; }; "enableColumnSpan": { "alias": "enableColumnSpan"; "required": false; }; "enableGroupByFormat": { "alias": "enableGroupByFormat"; "required": false; }; "enableRowSpan": { "alias": "enableRowSpan"; "required": false; }; "field": { "alias": "field"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "filterBarTemplate": { "alias": "filterBarTemplate"; "required": false; }; "filterComparer": { "alias": "filterComparer"; "required": false; }; "filterTemplate": { "alias": "filterTemplate"; "required": false; }; "foreignKeyField": { "alias": "foreignKeyField"; "required": false; }; "foreignKeyValue": { "alias": "foreignKeyValue"; "required": false; }; "format": { "alias": "format"; "required": false; }; "formatter": { "alias": "formatter"; "required": false; }; "freeze": { "alias": "freeze"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "headerText": { "alias": "headerText"; "required": false; }; "headerTextAlign": { "alias": "headerTextAlign"; "required": false; }; "headerValueAccessor": { "alias": "headerValueAccessor"; "required": false; }; "hideAtMedia": { "alias": "hideAtMedia"; "required": false; }; "index": { "alias": "index"; "required": false; }; "isFrozen": { "alias": "isFrozen"; "required": false; }; "isIdentity": { "alias": "isIdentity"; "required": false; }; "isPrimaryKey": { "alias": "isPrimaryKey"; "required": false; }; "lockColumn": { "alias": "lockColumn"; "required": false; }; "maxWidth": { "alias": "maxWidth"; "required": false; }; "minWidth": { "alias": "minWidth"; "required": false; }; "showColumnMenu": { "alias": "showColumnMenu"; "required": false; }; "showInColumnChooser": { "alias": "showInColumnChooser"; "required": false; }; "sortComparer": { "alias": "sortComparer"; "required": false; }; "template": { "alias": "template"; "required": false; }; "templateOptions": { "alias": "templateOptions"; "required": false; }; "textAlign": { "alias": "textAlign"; "required": false; }; "type": { "alias": "type"; "required": false; }; "uid": { "alias": "uid"; "required": false; }; "validationRules": { "alias": "validationRules"; "required": false; }; "valueAccessor": { "alias": "valueAccessor"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, {}, ["childColumns", "template", "headerTemplate", "commandsTemplate", "filter_itemTemplate", "editTemplate", "filterTemplate"], never, true, never>;
951
+ }
952
+ /**
953
+ * Column Array Directive
954
+ * @private
955
+ */
956
+ declare class ColumnsDirective extends ArrayBase<ColumnsDirective> {
957
+ constructor();
958
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColumnsDirective, never>;
959
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ColumnsDirective, "ejs-grid>e-columns", never, {}, {}, ["children"], never, true, never>;
960
+ }
961
+
962
+ /**
963
+ * `e-aggregate->e-column` directive represent a aggregate column of the Angular Grid.
964
+ * ```html
965
+ * <ejs-grid [dataSource]='data' allowPaging='true' allowSorting='true'>
966
+ * <e-columns>
967
+ * <e-column field='ID' width='100'></e-column>
968
+ * <e-column field='name' headerText='Name' width='100'></e-column>
969
+ * </e-columns>
970
+ * <e-aggregates>
971
+ * <e-aggregate>
972
+ * <e-columns>
973
+ * <e-column field='ID' type='Min'></e-column>
974
+ * </e-columns>
975
+ * </e-aggregate>
976
+ * </e-aggregates>
977
+ * </ejs-grid>
978
+ * ```
979
+ */
980
+ declare class AggregateColumnDirective extends ComplexBase<AggregateColumnDirective> {
981
+ private viewContainerRef;
982
+ directivePropList: any;
983
+ /**
984
+ * Defines the aggregate type of a particular column.
985
+ * To use multiple aggregates for single column, specify the `type` as array.
986
+ * Types of aggregate are,
987
+ * * sum
988
+ * * average
989
+ * * max
990
+ * * min
991
+ * * count
992
+ * * truecount
993
+ * * falsecount
994
+ * * custom
995
+ * > Specify the `type` value as `custom` to use custom aggregation.
996
+ * @default null
997
+ * @asptype string
998
+ */
999
+ type: any;
1000
+ /**
1001
+ * Defines the column name to display the aggregate value. If `columnName` is not defined,
1002
+ * then `field` name value will be assigned to the `columnName` property.
1003
+ * @default null
1004
+ */
1005
+ columnName: any;
1006
+ /**
1007
+ * Defines a function to calculate custom aggregate value. The `type` value should be set to `custom`.
1008
+ * To use custom aggregate value in the template, use the key as `${custom}`.
1009
+ * **Total aggregation**: The custom function will be called with the whole data and the current `AggregateColumn` object.
1010
+ * **Group aggregation**: This will be called with the current group details and the `AggregateColumn` object.
1011
+ * @default null
1012
+ */
1013
+ customAggregate: any;
1014
+ /**
1015
+ * Defines the column name to perform aggregation.
1016
+ * @default null
1017
+ */
1018
+ field: any;
1019
+ /**
1020
+ * Format is applied to a calculated value before it is displayed.
1021
+ * Gets the format from the user, which can be standard or custom
1022
+ * [`number`](../../common/internationalization/#manipulating-numbers)
1023
+ * and [`date`](../../common/internationalization/#manipulating-numbers) formats.
1024
+ * @asptype string
1025
+ * @blazortype string
1026
+ * @default null
1027
+ */
1028
+ format: any;
1029
+ constructor(viewContainerRef: ViewContainerRef);
1030
+ static ɵfac: i0.ɵɵFactoryDeclaration<AggregateColumnDirective, never>;
1031
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AggregateColumnDirective, "ejs-grid>e-aggregates>e-aggregate>e-columns>e-column", never, { "columnName": { "alias": "columnName"; "required": false; }; "customAggregate": { "alias": "customAggregate"; "required": false; }; "field": { "alias": "field"; "required": false; }; "footerTemplate": { "alias": "footerTemplate"; "required": false; }; "format": { "alias": "format"; "required": false; }; "groupCaptionTemplate": { "alias": "groupCaptionTemplate"; "required": false; }; "groupFooterTemplate": { "alias": "groupFooterTemplate"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, ["footerTemplate", "groupFooterTemplate", "groupCaptionTemplate"], never, true, never>;
1032
+ }
1033
+ /**
1034
+ * AggregateColumn Array Directive
1035
+ * @private
1036
+ */
1037
+ declare class AggregateColumnsDirective extends ArrayBase<AggregateColumnsDirective> {
1038
+ constructor();
1039
+ static ɵfac: i0.ɵɵFactoryDeclaration<AggregateColumnsDirective, never>;
1040
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AggregateColumnsDirective, "ejs-grid>e-aggregates>e-aggregate>e-columns", never, {}, {}, ["children"], never, true, never>;
1041
+ }
1042
+
1043
+ /**
1044
+ * `e-aggregate` directive represent a aggregate row of the Angular Grid.
1045
+ * It must be contained in a Grid component(`ejs-grid`).
1046
+ * ```html
1047
+ * <ejs-grid [dataSource]='data' allowPaging='true' allowSorting='true'>
1048
+ * <e-columns>
1049
+ * <e-column field='ID' width='100'></e-column>
1050
+ * <e-column field='name' headerText='Name' width='100'></e-column>
1051
+ * </e-columns>
1052
+ * <e-aggregates>
1053
+ * <e-aggregate>
1054
+ * <e-columns>
1055
+ * <e-column field='ID' type='Min'></e-column>
1056
+ * </e-columns>
1057
+ * </e-aggregate>
1058
+ * </e-aggregates>
1059
+ * </ejs-grid>
1060
+ * ```
1061
+ */
1062
+ declare class AggregateDirective extends ComplexBase<AggregateDirective> {
1063
+ private viewContainerRef;
1064
+ directivePropList: any;
1065
+ childColumns: any;
1066
+ tags: string[];
1067
+ /**
1068
+ * Configures the aggregate columns.
1069
+ * @default []
1070
+ */
1071
+ columns: any;
1072
+ constructor(viewContainerRef: ViewContainerRef);
1073
+ static ɵfac: i0.ɵɵFactoryDeclaration<AggregateDirective, never>;
1074
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AggregateDirective, "ejs-grid>e-aggregates>e-aggregate", never, { "columns": { "alias": "columns"; "required": false; }; }, {}, ["childColumns"], never, true, never>;
1075
+ }
1076
+ /**
1077
+ * Aggregate Array Directive
1078
+ * @private
1079
+ */
1080
+ declare class AggregatesDirective extends ArrayBase<AggregatesDirective> {
1081
+ constructor();
1082
+ static ɵfac: i0.ɵɵFactoryDeclaration<AggregatesDirective, never>;
1083
+ static ɵdir: i0.ɵɵDirectiveDeclaration<AggregatesDirective, "ejs-grid>e-aggregates", never, {}, {}, ["children"], never, true, never>;
1084
+ }
1085
+
1086
+ /**
1087
+ * `ejs-grid` represents the Angular Grid Component.
1088
+ * ```html
1089
+ * <ejs-grid [dataSource]='data' allowPaging='true' allowSorting='true'></ejs-grid>
1090
+ * ```
1091
+ */
1092
+ declare class GridComponent extends Grid implements IComponentBase {
1093
+ private ngEle;
1094
+ private srenderer;
1095
+ private viewContainerRef;
1096
+ private injector;
1097
+ context: any;
1098
+ tagObjects: any;
1099
+ actionBegin: any;
1100
+ actionComplete: any;
1101
+ actionFailure: any;
1102
+ advancedFilterBegin: any;
1103
+ advancedFilterClose: any;
1104
+ advancedFilterComplete: any;
1105
+ advancedFilterOpen: any;
1106
+ batchAdd: any;
1107
+ batchCancel: any;
1108
+ batchDelete: any;
1109
+ beforeAutoFill: any;
1110
+ beforeBatchAdd: any;
1111
+ beforeBatchDelete: any;
1112
+ beforeBatchSave: any;
1113
+ beforeCopy: any;
1114
+ beforeCustomFilterOpen: any;
1115
+ beforeDataBound: any;
1116
+ beforeDetailTemplateDetach: any;
1117
+ beforeExcelExport: any;
1118
+ beforeOpenAdaptiveDialog: any;
1119
+ beforeOpenColumnChooser: any;
1120
+ beforePaste: any;
1121
+ beforePdfExport: any;
1122
+ beforePrint: any;
1123
+ beforeWebMcpToolExecute: any;
1124
+ beginEdit: any;
1125
+ cellDeselected: any;
1126
+ cellDeselecting: any;
1127
+ cellEdit: any;
1128
+ cellFocus: any;
1129
+ cellSave: any;
1130
+ cellSaved: any;
1131
+ cellSelected: any;
1132
+ cellSelecting: any;
1133
+ checkBoxChange: any;
1134
+ columnDataStateChange: any;
1135
+ columnDeselected: any;
1136
+ columnDeselecting: any;
1137
+ columnDrag: any;
1138
+ columnDragStart: any;
1139
+ columnDrop: any;
1140
+ columnMenuClick: any;
1141
+ columnMenuClose: any;
1142
+ columnMenuOpen: any;
1143
+ columnSelected: any;
1144
+ columnSelecting: any;
1145
+ commandClick: any;
1146
+ contextMenuClick: any;
1147
+ contextMenuClose: any;
1148
+ contextMenuOpen: any;
1149
+ created: any;
1150
+ dataBound: any;
1151
+ dataSourceChanged: any;
1152
+ dataStateChange: any;
1153
+ destroyed: any;
1154
+ detailCollapse: any;
1155
+ detailCollapsed: any;
1156
+ detailDataBound: any;
1157
+ detailExpand: any;
1158
+ detailExpanded: any;
1159
+ excelAggregateQueryCellInfo: any;
1160
+ excelExportComplete: any;
1161
+ excelHeaderQueryCellInfo: any;
1162
+ excelQueryCellInfo: any;
1163
+ exportDetailDataBound: any;
1164
+ exportDetailTemplate: any;
1165
+ exportGroupCaption: any;
1166
+ headerCellInfo: any;
1167
+ keyPressed: any;
1168
+ lazyLoadGroupCollapse: any;
1169
+ lazyLoadGroupExpand: any;
1170
+ load: any;
1171
+ pdfAggregateQueryCellInfo: any;
1172
+ pdfExportComplete: any;
1173
+ pdfHeaderQueryCellInfo: any;
1174
+ pdfQueryCellInfo: any;
1175
+ printComplete: any;
1176
+ queryCellInfo: any;
1177
+ recordClick: any;
1178
+ recordDoubleClick: any;
1179
+ resizeStart: any;
1180
+ resizeStop: any;
1181
+ resizing: any;
1182
+ rowDataBound: any;
1183
+ rowDeselected: any;
1184
+ rowDeselecting: any;
1185
+ rowDrag: any;
1186
+ rowDragStart: any;
1187
+ rowDragStartHelper: any;
1188
+ rowDrop: any;
1189
+ rowSelected: any;
1190
+ rowSelecting: any;
1191
+ toolbarClick: any;
1192
+ dataSourceChange: any;
1193
+ childColumns: QueryList<ColumnsDirective>;
1194
+ childAggregates: QueryList<AggregatesDirective>;
1195
+ tags: string[];
1196
+ constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
1197
+ ngOnInit(): void;
1198
+ ngAfterViewInit(): void;
1199
+ ngOnDestroy(): void;
1200
+ ngAfterContentChecked(): void;
1201
+ registerEvents: (eventList: string[]) => void;
1202
+ addTwoWay: (propList: string[]) => void;
1203
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridComponent, never>;
1204
+ static ɵcmp: i0.ɵɵComponentDeclaration<GridComponent, "ejs-grid", never, { "adaptiveUIMode": { "alias": "adaptiveUIMode"; "required": false; }; "advancedFilterSettings": { "alias": "advancedFilterSettings"; "required": false; }; "aggregates": { "alias": "aggregates"; "required": false; }; "allowAdvancedFiltering": { "alias": "allowAdvancedFiltering"; "required": false; }; "allowExcelExport": { "alias": "allowExcelExport"; "required": false; }; "allowFiltering": { "alias": "allowFiltering"; "required": false; }; "allowGrouping": { "alias": "allowGrouping"; "required": false; }; "allowKeyboard": { "alias": "allowKeyboard"; "required": false; }; "allowMultiSorting": { "alias": "allowMultiSorting"; "required": false; }; "allowPaging": { "alias": "allowPaging"; "required": false; }; "allowPdfExport": { "alias": "allowPdfExport"; "required": false; }; "allowReordering": { "alias": "allowReordering"; "required": false; }; "allowResizing": { "alias": "allowResizing"; "required": false; }; "allowRowDragAndDrop": { "alias": "allowRowDragAndDrop"; "required": false; }; "allowSelection": { "alias": "allowSelection"; "required": false; }; "allowSorting": { "alias": "allowSorting"; "required": false; }; "allowTextWrap": { "alias": "allowTextWrap"; "required": false; }; "autoFit": { "alias": "autoFit"; "required": false; }; "childGrid": { "alias": "childGrid"; "required": false; }; "clipMode": { "alias": "clipMode"; "required": false; }; "columnChooserSettings": { "alias": "columnChooserSettings"; "required": false; }; "columnMenuItems": { "alias": "columnMenuItems"; "required": false; }; "columnQueryMode": { "alias": "columnQueryMode"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "contextMenuItems": { "alias": "contextMenuItems"; "required": false; }; "cssClass": { "alias": "cssClass"; "required": false; }; "currencyCode": { "alias": "currencyCode"; "required": false; }; "currentAction": { "alias": "currentAction"; "required": false; }; "currentViewData": { "alias": "currentViewData"; "required": false; }; "dataSource": { "alias": "dataSource"; "required": false; }; "detailTemplate": { "alias": "detailTemplate"; "required": false; }; "detailTemplateHeight": { "alias": "detailTemplateHeight"; "required": false; }; "domVirtualizationSettings": { "alias": "domVirtualizationSettings"; "required": false; }; "editSettings": { "alias": "editSettings"; "required": false; }; "ej2StatePersistenceVersion": { "alias": "ej2StatePersistenceVersion"; "required": false; }; "emptyRecordMode": { "alias": "emptyRecordMode"; "required": false; }; "emptyRecordTemplate": { "alias": "emptyRecordTemplate"; "required": false; }; "enableAdaptiveUI": { "alias": "enableAdaptiveUI"; "required": false; }; "enableAltRow": { "alias": "enableAltRow"; "required": false; }; "enableAutoFill": { "alias": "enableAutoFill"; "required": false; }; "enableColumnSpan": { "alias": "enableColumnSpan"; "required": false; }; "enableColumnVirtualization": { "alias": "enableColumnVirtualization"; "required": false; }; "enableDomVirtualization": { "alias": "enableDomVirtualization"; "required": false; }; "enableHeaderFocus": { "alias": "enableHeaderFocus"; "required": false; }; "enableHover": { "alias": "enableHover"; "required": false; }; "enableHtmlSanitizer": { "alias": "enableHtmlSanitizer"; "required": false; }; "enableImmutableMode": { "alias": "enableImmutableMode"; "required": false; }; "enableInfiniteScrolling": { "alias": "enableInfiniteScrolling"; "required": false; }; "enablePersistence": { "alias": "enablePersistence"; "required": false; }; "enableRowSpan": { "alias": "enableRowSpan"; "required": false; }; "enableRtl": { "alias": "enableRtl"; "required": false; }; "enableStickyHeader": { "alias": "enableStickyHeader"; "required": false; }; "enableVirtualMaskRow": { "alias": "enableVirtualMaskRow"; "required": false; }; "enableVirtualization": { "alias": "enableVirtualization"; "required": false; }; "enableWebMcp": { "alias": "enableWebMcp"; "required": false; }; "exportGrids": { "alias": "exportGrids"; "required": false; }; "filterSettings": { "alias": "filterSettings"; "required": false; }; "footerRowHeight": { "alias": "footerRowHeight"; "required": false; }; "formulaSettings": { "alias": "formulaSettings"; "required": false; }; "frozenColumns": { "alias": "frozenColumns"; "required": false; }; "frozenRows": { "alias": "frozenRows"; "required": false; }; "gridLines": { "alias": "gridLines"; "required": false; }; "groupSettings": { "alias": "groupSettings"; "required": false; }; "headerRowHeight": { "alias": "headerRowHeight"; "required": false; }; "height": { "alias": "height"; "required": false; }; "hierarchyPrintMode": { "alias": "hierarchyPrintMode"; "required": false; }; "infiniteScrollSettings": { "alias": "infiniteScrollSettings"; "required": false; }; "isRowPinned": { "alias": "isRowPinned"; "required": false; }; "isRowSelectable": { "alias": "isRowSelectable"; "required": false; }; "loadingIndicator": { "alias": "loadingIndicator"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "pageSettings": { "alias": "pageSettings"; "required": false; }; "pagerTemplate": { "alias": "pagerTemplate"; "required": false; }; "parentDetails": { "alias": "parentDetails"; "required": false; }; "printMode": { "alias": "printMode"; "required": false; }; "query": { "alias": "query"; "required": false; }; "queryString": { "alias": "queryString"; "required": false; }; "resizeSettings": { "alias": "resizeSettings"; "required": false; }; "rowDropSettings": { "alias": "rowDropSettings"; "required": false; }; "rowHeight": { "alias": "rowHeight"; "required": false; }; "rowRenderingMode": { "alias": "rowRenderingMode"; "required": false; }; "rowTemplate": { "alias": "rowTemplate"; "required": false; }; "searchSettings": { "alias": "searchSettings"; "required": false; }; "selectedRowIndex": { "alias": "selectedRowIndex"; "required": false; }; "selectionSettings": { "alias": "selectionSettings"; "required": false; }; "setRowHeight": { "alias": "setRowHeight"; "required": false; }; "showColumnChooser": { "alias": "showColumnChooser"; "required": false; }; "showColumnMenu": { "alias": "showColumnMenu"; "required": false; }; "showHider": { "alias": "showHider"; "required": false; }; "sortSettings": { "alias": "sortSettings"; "required": false; }; "textWrapSettings": { "alias": "textWrapSettings"; "required": false; }; "toolbar": { "alias": "toolbar"; "required": false; }; "toolbarTemplate": { "alias": "toolbarTemplate"; "required": false; }; "webMcpSettings": { "alias": "webMcpSettings"; "required": false; }; "width": { "alias": "width"; "required": false; }; }, { "actionBegin": "actionBegin"; "actionComplete": "actionComplete"; "actionFailure": "actionFailure"; "advancedFilterBegin": "advancedFilterBegin"; "advancedFilterClose": "advancedFilterClose"; "advancedFilterComplete": "advancedFilterComplete"; "advancedFilterOpen": "advancedFilterOpen"; "batchAdd": "batchAdd"; "batchCancel": "batchCancel"; "batchDelete": "batchDelete"; "beforeAutoFill": "beforeAutoFill"; "beforeBatchAdd": "beforeBatchAdd"; "beforeBatchDelete": "beforeBatchDelete"; "beforeBatchSave": "beforeBatchSave"; "beforeCopy": "beforeCopy"; "beforeCustomFilterOpen": "beforeCustomFilterOpen"; "beforeDataBound": "beforeDataBound"; "beforeDetailTemplateDetach": "beforeDetailTemplateDetach"; "beforeExcelExport": "beforeExcelExport"; "beforeOpenAdaptiveDialog": "beforeOpenAdaptiveDialog"; "beforeOpenColumnChooser": "beforeOpenColumnChooser"; "beforePaste": "beforePaste"; "beforePdfExport": "beforePdfExport"; "beforePrint": "beforePrint"; "beforeWebMcpToolExecute": "beforeWebMcpToolExecute"; "beginEdit": "beginEdit"; "cellDeselected": "cellDeselected"; "cellDeselecting": "cellDeselecting"; "cellEdit": "cellEdit"; "cellFocus": "cellFocus"; "cellSave": "cellSave"; "cellSaved": "cellSaved"; "cellSelected": "cellSelected"; "cellSelecting": "cellSelecting"; "checkBoxChange": "checkBoxChange"; "columnDataStateChange": "columnDataStateChange"; "columnDeselected": "columnDeselected"; "columnDeselecting": "columnDeselecting"; "columnDrag": "columnDrag"; "columnDragStart": "columnDragStart"; "columnDrop": "columnDrop"; "columnMenuClick": "columnMenuClick"; "columnMenuClose": "columnMenuClose"; "columnMenuOpen": "columnMenuOpen"; "columnSelected": "columnSelected"; "columnSelecting": "columnSelecting"; "commandClick": "commandClick"; "contextMenuClick": "contextMenuClick"; "contextMenuClose": "contextMenuClose"; "contextMenuOpen": "contextMenuOpen"; "created": "created"; "dataBound": "dataBound"; "dataSourceChanged": "dataSourceChanged"; "dataStateChange": "dataStateChange"; "destroyed": "destroyed"; "detailCollapse": "detailCollapse"; "detailCollapsed": "detailCollapsed"; "detailDataBound": "detailDataBound"; "detailExpand": "detailExpand"; "detailExpanded": "detailExpanded"; "excelAggregateQueryCellInfo": "excelAggregateQueryCellInfo"; "excelExportComplete": "excelExportComplete"; "excelHeaderQueryCellInfo": "excelHeaderQueryCellInfo"; "excelQueryCellInfo": "excelQueryCellInfo"; "exportDetailDataBound": "exportDetailDataBound"; "exportDetailTemplate": "exportDetailTemplate"; "exportGroupCaption": "exportGroupCaption"; "headerCellInfo": "headerCellInfo"; "keyPressed": "keyPressed"; "lazyLoadGroupCollapse": "lazyLoadGroupCollapse"; "lazyLoadGroupExpand": "lazyLoadGroupExpand"; "load": "load"; "pdfAggregateQueryCellInfo": "pdfAggregateQueryCellInfo"; "pdfExportComplete": "pdfExportComplete"; "pdfHeaderQueryCellInfo": "pdfHeaderQueryCellInfo"; "pdfQueryCellInfo": "pdfQueryCellInfo"; "printComplete": "printComplete"; "queryCellInfo": "queryCellInfo"; "recordClick": "recordClick"; "recordDoubleClick": "recordDoubleClick"; "resizeStart": "resizeStart"; "resizeStop": "resizeStop"; "resizing": "resizing"; "rowDataBound": "rowDataBound"; "rowDeselected": "rowDeselected"; "rowDeselecting": "rowDeselecting"; "rowDrag": "rowDrag"; "rowDragStart": "rowDragStart"; "rowDragStartHelper": "rowDragStartHelper"; "rowDrop": "rowDrop"; "rowSelected": "rowSelected"; "rowSelecting": "rowSelecting"; "toolbarClick": "toolbarClick"; "dataSourceChange": "dataSourceChange"; }, ["childColumns", "childAggregates", "rowTemplate", "emptyRecordTemplate", "detailTemplate", "toolbarTemplate", "pagerTemplate", "editSettings_template", "groupSettings_captionTemplate", "columnChooserSettings_headerTemplate", "columnChooserSettings_template", "columnChooserSettings_footerTemplate"], never, true, never>;
1205
+ }
1206
+
1207
+ /**
1208
+ * NgModule definition for the Grid component.
1209
+ * Re-exports standalone Grid component and directives so existing apps can keep using:
1210
+ * `imports: [GridModule]`
1211
+ */
1212
+ declare class GridModule {
1213
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridModule, never>;
1214
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GridModule, never, [typeof i1.CommonModule, typeof GridComponent, typeof StackedColumnDirective, typeof StackedColumnsDirective, typeof ColumnDirective, typeof ColumnsDirective, typeof AggregateColumnDirective, typeof AggregateColumnsDirective, typeof AggregateDirective, typeof AggregatesDirective], [typeof GridComponent, typeof StackedColumnDirective, typeof StackedColumnsDirective, typeof ColumnDirective, typeof ColumnsDirective, typeof AggregateColumnDirective, typeof AggregateColumnsDirective, typeof AggregateDirective, typeof AggregatesDirective]>;
1215
+ static ɵinj: i0.ɵɵInjectorDeclaration<GridModule>;
1216
+ }
1217
+
1218
+ declare const FilterService: ValueProvider;
1219
+ declare const PageService: ValueProvider;
1220
+ declare const SelectionService: ValueProvider;
1221
+ declare const SortService: ValueProvider;
1222
+ declare const GroupService: ValueProvider;
1223
+ declare const ReorderService: ValueProvider;
1224
+ declare const RowDDService: ValueProvider;
1225
+ declare const DetailRowService: ValueProvider;
1226
+ declare const ToolbarService: ValueProvider;
1227
+ declare const AggregateService: ValueProvider;
1228
+ declare const SearchService: ValueProvider;
1229
+ declare const VirtualScrollService: ValueProvider;
1230
+ declare const EditService: ValueProvider;
1231
+ declare const ResizeService: ValueProvider;
1232
+ declare const ExcelExportService: ValueProvider;
1233
+ declare const PdfExportService: ValueProvider;
1234
+ declare const CommandColumnService: ValueProvider;
1235
+ declare const ContextMenuService: ValueProvider;
1236
+ declare const FreezeService: ValueProvider;
1237
+ declare const ColumnMenuService: ValueProvider;
1238
+ declare const ColumnChooserService: ValueProvider;
1239
+ declare const ForeignKeyService: ValueProvider;
1240
+ declare const InfiniteScrollService: ValueProvider;
1241
+ declare const LazyLoadGroupService: ValueProvider;
1242
+ declare const DomVirtualizationService: ValueProvider;
1243
+ declare const FormulaService: ValueProvider;
1244
+ declare const AdvancedFilterService: ValueProvider;
1245
+ declare const WebMcpGridService: ValueProvider;
1246
+ /**
1247
+ * NgModule definition for the Grid component with providers.
1248
+ */
1249
+ declare class GridAllModule {
1250
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridAllModule, never>;
1251
+ static ɵmod: i0.ɵɵNgModuleDeclaration<GridAllModule, never, [typeof i1.CommonModule, typeof GridModule], [typeof GridModule]>;
1252
+ static ɵinj: i0.ɵɵInjectorDeclaration<GridAllModule>;
1253
+ }
1254
+
1255
+ /**
1256
+ * `ejs-pager` represents the Angular Pager Component.
1257
+ * ```html
1258
+ * <ejs-pager></ejs-pager>
1259
+ * ```
1260
+ */
1261
+ declare class PagerComponent extends Pager implements IComponentBase {
1262
+ private ngEle;
1263
+ private srenderer;
1264
+ private viewContainerRef;
1265
+ private injector;
1266
+ context: any;
1267
+ tagObjects: any;
1268
+ click: any;
1269
+ created: any;
1270
+ dropDownChanged: any;
1271
+ currentPageChange: any;
1272
+ pageSizeChange: any;
1273
+ pageCountChange: any;
1274
+ pageSizesChange: any;
1275
+ constructor(ngEle: ElementRef, srenderer: Renderer2, viewContainerRef: ViewContainerRef, injector: Injector);
1276
+ ngOnInit(): void;
1277
+ ngAfterViewInit(): void;
1278
+ ngOnDestroy(): void;
1279
+ ngAfterContentChecked(): void;
1280
+ registerEvents: (eventList: string[]) => void;
1281
+ addTwoWay: (propList: string[]) => void;
1282
+ static ɵfac: i0.ɵɵFactoryDeclaration<PagerComponent, never>;
1283
+ static ɵcmp: i0.ɵɵComponentDeclaration<PagerComponent, "ejs-pager", never, { "cssClass": { "alias": "cssClass"; "required": false; }; "currentPage": { "alias": "currentPage"; "required": false; }; "customText": { "alias": "customText"; "required": false; }; "enableExternalMessage": { "alias": "enableExternalMessage"; "required": false; }; "enablePagerMessage": { "alias": "enablePagerMessage"; "required": false; }; "enablePersistence": { "alias": "enablePersistence"; "required": false; }; "enableQueryString": { "alias": "enableQueryString"; "required": false; }; "enableRtl": { "alias": "enableRtl"; "required": false; }; "externalMessage": { "alias": "externalMessage"; "required": false; }; "locale": { "alias": "locale"; "required": false; }; "pageCount": { "alias": "pageCount"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizes": { "alias": "pageSizes"; "required": false; }; "template": { "alias": "template"; "required": false; }; "totalRecordsCount": { "alias": "totalRecordsCount"; "required": false; }; }, { "click": "click"; "created": "created"; "dropDownChanged": "dropDownChanged"; "currentPageChange": "currentPageChange"; "pageSizeChange": "pageSizeChange"; "pageCountChange": "pageCountChange"; "pageSizesChange": "pageSizesChange"; }, ["template"], never, true, never>;
1284
+ }
1285
+
1286
+ /**
1287
+ * NgModule definition for the Pager component.
1288
+ * Re-exports standalone Pager component and directives so existing apps can keep using:
1289
+ * `imports: [PagerModule]`
1290
+ */
1291
+ declare class PagerModule {
1292
+ static ɵfac: i0.ɵɵFactoryDeclaration<PagerModule, never>;
1293
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PagerModule, never, [typeof i1.CommonModule, typeof PagerComponent], [typeof PagerComponent]>;
1294
+ static ɵinj: i0.ɵɵInjectorDeclaration<PagerModule>;
1295
+ }
1296
+
1297
+ /**
1298
+ * NgModule definition for the Pager component with providers.
1299
+ */
1300
+ declare class PagerAllModule {
1301
+ static ɵfac: i0.ɵɵFactoryDeclaration<PagerAllModule, never>;
1302
+ static ɵmod: i0.ɵɵNgModuleDeclaration<PagerAllModule, never, [typeof i1.CommonModule, typeof PagerModule], [typeof PagerModule]>;
1303
+ static ɵinj: i0.ɵɵInjectorDeclaration<PagerAllModule>;
1304
+ }
1305
+
1306
+ export { AdvancedFilterService, AggregateColumnDirective, AggregateColumnsDirective, AggregateDirective, AggregateService, AggregatesDirective, ColumnChooserService, ColumnDirective, ColumnMenuService, ColumnsDirective, CommandColumnService, ContextMenuService, DetailRowService, DomVirtualizationService, EditService, ExcelExportService, FilterService, ForeignKeyService, FormulaService, FreezeService, GridAllModule, GridComponent, GridModule, GroupService, InfiniteScrollService, LazyLoadGroupService, PageService, PagerAllModule, PagerComponent, PagerModule, PdfExportService, ReorderService, ResizeService, RowDDService, SearchService, SelectionService, SortService, StackedColumnDirective, StackedColumnsDirective, ToolbarService, VirtualScrollService, WebMcpGridService };