@syncfusion/ej2-treegrid 30.1.38 → 31.1.17

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 (149) hide show
  1. package/aceconfig.js +17 -0
  2. package/dist/ej2-treegrid.min.js +2 -2
  3. package/dist/ej2-treegrid.umd.min.js +2 -2
  4. package/dist/ej2-treegrid.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-treegrid.es2015.js +265 -159
  6. package/dist/es6/ej2-treegrid.es2015.js.map +1 -1
  7. package/dist/es6/ej2-treegrid.es5.js +293 -169
  8. package/dist/es6/ej2-treegrid.es5.js.map +1 -1
  9. package/dist/global/ej2-treegrid.min.js +2 -2
  10. package/dist/global/ej2-treegrid.min.js.map +1 -1
  11. package/dist/global/index.d.ts +1 -1
  12. package/dist/ts/index.d.ts +4 -0
  13. package/dist/ts/index.ts +4 -0
  14. package/dist/ts/treegrid/actions/batch-edit.d.ts +74 -0
  15. package/dist/ts/treegrid/actions/batch-edit.ts +627 -0
  16. package/dist/ts/treegrid/actions/clipboard.d.ts +36 -0
  17. package/dist/ts/treegrid/actions/clipboard.ts +174 -0
  18. package/dist/ts/treegrid/actions/column-chooser.d.ts +37 -0
  19. package/dist/ts/treegrid/actions/column-chooser.ts +55 -0
  20. package/dist/ts/treegrid/actions/column-menu.d.ts +24 -0
  21. package/dist/ts/treegrid/actions/column-menu.ts +39 -0
  22. package/dist/ts/treegrid/actions/command-column.d.ts +24 -0
  23. package/dist/ts/treegrid/actions/command-column.ts +32 -0
  24. package/dist/ts/treegrid/actions/context-menu.d.ts +42 -0
  25. package/dist/ts/treegrid/actions/context-menu.ts +149 -0
  26. package/dist/ts/treegrid/actions/crud-actions.d.ts +66 -0
  27. package/dist/ts/treegrid/actions/crud-actions.ts +388 -0
  28. package/dist/ts/treegrid/actions/detail-row.d.ts +39 -0
  29. package/dist/ts/treegrid/actions/detail-row.ts +124 -0
  30. package/dist/ts/treegrid/actions/edit.d.ts +121 -0
  31. package/dist/ts/treegrid/actions/edit.ts +1083 -0
  32. package/dist/ts/treegrid/actions/excel-export.d.ts +67 -0
  33. package/dist/ts/treegrid/actions/excel-export.ts +240 -0
  34. package/dist/ts/treegrid/actions/filter.d.ts +57 -0
  35. package/dist/ts/treegrid/actions/filter.ts +231 -0
  36. package/dist/ts/treegrid/actions/freeze-column.d.ts +28 -0
  37. package/dist/ts/treegrid/actions/freeze-column.ts +119 -0
  38. package/dist/ts/treegrid/actions/index.d.ts +24 -0
  39. package/dist/ts/treegrid/actions/index.ts +24 -0
  40. package/dist/ts/treegrid/actions/infinite-scroll.d.ts +96 -0
  41. package/dist/ts/treegrid/actions/infinite-scroll.ts +320 -0
  42. package/dist/ts/treegrid/actions/logger.d.ts +25 -0
  43. package/dist/ts/treegrid/actions/logger.ts +136 -0
  44. package/dist/ts/treegrid/actions/page.d.ts +67 -0
  45. package/dist/ts/treegrid/actions/page.ts +212 -0
  46. package/dist/ts/treegrid/actions/pdf-export.d.ts +63 -0
  47. package/dist/ts/treegrid/actions/pdf-export.ts +182 -0
  48. package/dist/ts/treegrid/actions/print.d.ts +37 -0
  49. package/dist/ts/treegrid/actions/print.ts +69 -0
  50. package/dist/ts/treegrid/actions/reorder.d.ts +36 -0
  51. package/dist/ts/treegrid/actions/reorder.ts +60 -0
  52. package/dist/ts/treegrid/actions/resize.d.ts +36 -0
  53. package/dist/ts/treegrid/actions/resize.ts +54 -0
  54. package/dist/ts/treegrid/actions/rowdragdrop.d.ts +405 -0
  55. package/dist/ts/treegrid/actions/rowdragdrop.ts +1896 -0
  56. package/dist/ts/treegrid/actions/selection.d.ts +51 -0
  57. package/dist/ts/treegrid/actions/selection.ts +530 -0
  58. package/dist/ts/treegrid/actions/sort.d.ts +63 -0
  59. package/dist/ts/treegrid/actions/sort.ts +149 -0
  60. package/dist/ts/treegrid/actions/summary.d.ts +47 -0
  61. package/dist/ts/treegrid/actions/summary.ts +231 -0
  62. package/dist/ts/treegrid/actions/toolbar.d.ts +52 -0
  63. package/dist/ts/treegrid/actions/toolbar.ts +154 -0
  64. package/dist/ts/treegrid/actions/virtual-scroll.d.ts +90 -0
  65. package/dist/ts/treegrid/actions/virtual-scroll.ts +306 -0
  66. package/dist/ts/treegrid/base/constant.d.ts +158 -0
  67. package/dist/ts/treegrid/base/constant.ts +158 -0
  68. package/dist/ts/treegrid/base/data.d.ts +90 -0
  69. package/dist/ts/treegrid/base/data.ts +904 -0
  70. package/dist/ts/treegrid/base/index.d.ts +11 -0
  71. package/dist/ts/treegrid/base/index.ts +11 -0
  72. package/dist/ts/treegrid/base/interface.d.ts +186 -0
  73. package/dist/ts/treegrid/base/interface.ts +191 -0
  74. package/dist/ts/treegrid/base/treegrid-model.d.ts +1100 -0
  75. package/dist/ts/treegrid/base/treegrid.d.ts +2422 -0
  76. package/dist/ts/treegrid/base/treegrid.ts +5962 -0
  77. package/dist/ts/treegrid/enum.d.ts +152 -0
  78. package/dist/ts/treegrid/enum.ts +217 -0
  79. package/dist/ts/treegrid/index.d.ts +9 -0
  80. package/dist/ts/treegrid/index.ts +9 -0
  81. package/dist/ts/treegrid/models/column-chooser-settings-model.d.ts +62 -0
  82. package/dist/ts/treegrid/models/column-chooser-settings.d.ts +53 -0
  83. package/dist/ts/treegrid/models/column-chooser-settings.ts +67 -0
  84. package/dist/ts/treegrid/models/column-model.d.ts +30 -0
  85. package/dist/ts/treegrid/models/column.d.ts +697 -0
  86. package/dist/ts/treegrid/models/column.ts +800 -0
  87. package/dist/ts/treegrid/models/edit-settings-model.d.ts +100 -0
  88. package/dist/ts/treegrid/models/edit-settings.d.ts +89 -0
  89. package/dist/ts/treegrid/models/edit-settings.ts +111 -0
  90. package/dist/ts/treegrid/models/filter-settings-model.d.ts +216 -0
  91. package/dist/ts/treegrid/models/filter-settings.d.ts +195 -0
  92. package/dist/ts/treegrid/models/filter-settings.ts +237 -0
  93. package/dist/ts/treegrid/models/index.d.ts +24 -0
  94. package/dist/ts/treegrid/models/index.ts +24 -0
  95. package/dist/ts/treegrid/models/infinite-scroll-settings-model.d.ts +29 -0
  96. package/dist/ts/treegrid/models/infinite-scroll-settings.d.ts +25 -0
  97. package/dist/ts/treegrid/models/infinite-scroll-settings.ts +31 -0
  98. package/dist/ts/treegrid/models/loading-indicator-model.d.ts +21 -0
  99. package/dist/ts/treegrid/models/loading-indicator.d.ts +19 -0
  100. package/dist/ts/treegrid/models/loading-indicator.ts +21 -0
  101. package/dist/ts/treegrid/models/page-settings-model.d.ts +66 -0
  102. package/dist/ts/treegrid/models/page-settings.d.ts +57 -0
  103. package/dist/ts/treegrid/models/page-settings.ts +73 -0
  104. package/dist/ts/treegrid/models/rowdrop-settings-model.d.ts +15 -0
  105. package/dist/ts/treegrid/models/rowdrop-settings.d.ts +34 -0
  106. package/dist/ts/treegrid/models/rowdrop-settings.ts +37 -0
  107. package/dist/ts/treegrid/models/search-settings-model.d.ts +79 -0
  108. package/dist/ts/treegrid/models/search-settings.d.ts +73 -0
  109. package/dist/ts/treegrid/models/search-settings.ts +83 -0
  110. package/dist/ts/treegrid/models/selection-settings-model.d.ts +76 -0
  111. package/dist/ts/treegrid/models/selection-settings.d.ts +68 -0
  112. package/dist/ts/treegrid/models/selection-settings.ts +82 -0
  113. package/dist/ts/treegrid/models/sort-settings-model.d.ts +49 -0
  114. package/dist/ts/treegrid/models/sort-settings.d.ts +43 -0
  115. package/dist/ts/treegrid/models/sort-settings.ts +51 -0
  116. package/dist/ts/treegrid/models/summary-model.d.ts +93 -0
  117. package/dist/ts/treegrid/models/summary.d.ts +126 -0
  118. package/dist/ts/treegrid/models/summary.ts +170 -0
  119. package/dist/ts/treegrid/models/textwrap-settings-model.d.ts +21 -0
  120. package/dist/ts/treegrid/models/textwrap-settings.d.ts +19 -0
  121. package/dist/ts/treegrid/models/textwrap-settings.ts +21 -0
  122. package/dist/ts/treegrid/renderer/index.d.ts +5 -0
  123. package/dist/ts/treegrid/renderer/index.ts +5 -0
  124. package/dist/ts/treegrid/renderer/render.d.ts +41 -0
  125. package/dist/ts/treegrid/renderer/render.ts +379 -0
  126. package/dist/ts/treegrid/renderer/virtual-row-model-generator.d.ts +16 -0
  127. package/dist/ts/treegrid/renderer/virtual-row-model-generator.ts +90 -0
  128. package/dist/ts/treegrid/renderer/virtual-tree-content-render.d.ts +353 -0
  129. package/dist/ts/treegrid/renderer/virtual-tree-content-render.ts +1125 -0
  130. package/dist/ts/treegrid/utils.d.ts +70 -0
  131. package/dist/ts/treegrid/utils.ts +217 -0
  132. package/package.json +51 -15
  133. package/src/treegrid/actions/context-menu.js +3 -1
  134. package/src/treegrid/actions/excel-export.d.ts +8 -0
  135. package/src/treegrid/actions/excel-export.js +13 -1
  136. package/src/treegrid/actions/freeze-column.js +1 -1
  137. package/src/treegrid/actions/pdf-export.d.ts +8 -0
  138. package/src/treegrid/actions/pdf-export.js +12 -0
  139. package/src/treegrid/actions/selection.js +1 -1
  140. package/src/treegrid/actions/virtual-scroll.js +2 -2
  141. package/src/treegrid/base/data.js +1 -1
  142. package/src/treegrid/base/treegrid-model.d.ts +32 -2
  143. package/src/treegrid/base/treegrid.d.ts +29 -2
  144. package/src/treegrid/base/treegrid.js +39 -2
  145. package/src/treegrid/models/column-chooser-settings-model.d.ts +62 -0
  146. package/src/treegrid/models/column-chooser-settings.d.ts +53 -0
  147. package/src/treegrid/models/column-chooser-settings.js +52 -0
  148. package/src/treegrid/renderer/virtual-tree-content-render.js +4 -9
  149. package/src/treegrid/utils.js +22 -6
@@ -0,0 +1,195 @@
1
+ import { ChildProperty } from '@syncfusion/ej2-base';
2
+ import { ICustomOptr, FilterBarMode, FilterType } from '@syncfusion/ej2-grids';
3
+ import { FilterHierarchyMode } from '../enum';
4
+ import { PredicateModel } from './filter-settings-model';
5
+ /**
6
+ * Represents the filter configuration for a column in the TreeGrid.
7
+ */
8
+ export declare class Predicate extends ChildProperty<Predicate> {
9
+ /**
10
+ * Specifies the field name of the column to apply the filter on.
11
+ *
12
+ * @default ''
13
+ */
14
+ field: string;
15
+ /**
16
+ * Specifies the operator used for filtering TreeGrid records. The available operators support a variety of data types
17
+ * and offer different filtering mechanisms. Details for each operator are provided below:
18
+ * <table>
19
+ * <tr>
20
+ * <td colspan=1 rowspan=1>
21
+ * Operator<br/></td><td colspan=1 rowspan=1>
22
+ * Description<br/></td><td colspan=1 rowspan=1>
23
+ * Supported Data Types<br/></td></tr>
24
+ * <tr>
25
+ * <td colspan=1 rowspan=1>
26
+ * startswith<br/></td><td colspan=1 rowspan=1>
27
+ * Checks if the value starts with the specified input.<br/></td><td colspan=1 rowspan=1>
28
+ * String<br/></td></tr>
29
+ * <tr>
30
+ * <td colspan=1 rowspan=1>
31
+ * endswith<br/></td><td colspan=1 rowspan=1>
32
+ * Checks if the value ends with the specified input.<br/><br/></td><td colspan=1 rowspan=1>
33
+ * <br/>String<br/></td></tr>
34
+ * <tr>
35
+ * <td colspan=1 rowspan=1>
36
+ * contains<br/></td><td colspan=1 rowspan=1>
37
+ * Checks if the value contains the specified input anywhere within it.<br/><br/></td><td colspan=1 rowspan=1>
38
+ * <br/>String<br/></td></tr>
39
+ * <tr>
40
+ * <td colspan=1 rowspan=1>
41
+ * equal<br/></td><td colspan=1 rowspan=1>
42
+ * Checks if the value is exactly equal to the specified input.<br/><br/></td><td colspan=1 rowspan=1>
43
+ * <br/>String | Number | Boolean | Date<br/></td></tr>
44
+ * <tr>
45
+ * <td colspan=1 rowspan=1>
46
+ * notequal<br/></td><td colspan=1 rowspan=1>
47
+ * Identifies values that are not equal to the specified input.<br/><br/></td><td colspan=1 rowspan=1>
48
+ * <br/>String | Number | Boolean | Date<br/></td></tr>
49
+ * <tr>
50
+ * <td colspan=1 rowspan=1>
51
+ * greaterthan<br/></td><td colspan=1 rowspan=1>
52
+ * Verifies if the value is greater than the specified input.<br/><br/></td><td colspan=1 rowspan=1>
53
+ * Number | Date<br/></td></tr>
54
+ * <tr>
55
+ * <td colspan=1 rowspan=1>
56
+ * greaterthanorequal<br/></td><td colspan=1 rowspan=1>
57
+ * Verifies if the value is greater than or equal to the specified input.<br/><br/></td><td colspan=1 rowspan=1>
58
+ * <br/>Number | Date<br/></td></tr>
59
+ * <tr>
60
+ * <td colspan=1 rowspan=1>
61
+ * lessthan<br/></td><td colspan=1 rowspan=1>
62
+ * Checks if the value is less than the specified input.<br/><br/></td><td colspan=1 rowspan=1>
63
+ * <br/>Number | Date<br/></td></tr>
64
+ * <tr>
65
+ * <td colspan=1 rowspan=1>
66
+ * lessthanorequal<br/></td><td colspan=1 rowspan=1>
67
+ * Checks if the value is less than or equal to the specified input.<br/><br/></td><td colspan=1 rowspan=1>
68
+ * <br/>Number | Date<br/></td></tr>
69
+ * </table>
70
+ *
71
+ * @default null
72
+ */
73
+ operator: string;
74
+ /**
75
+ * Specifies the value to filter the column's data by.
76
+ *
77
+ * @default ''
78
+ */
79
+ value: string | number | Date | boolean;
80
+ /**
81
+ * Applies case-sensitive filtering if set to `true`. When false, filtering is case-insensitive.
82
+ *
83
+ * @default null
84
+ */
85
+ matchCase: boolean;
86
+ /**
87
+ * Ignores diacritic characters during filtering if set to `true`.
88
+ *
89
+ * @default false
90
+ */
91
+ ignoreAccent: boolean;
92
+ /**
93
+ * Defines the logical relationship between multiple filter conditions ('AND' / 'OR').
94
+ *
95
+ * @default null
96
+ */
97
+ predicate: string;
98
+ /**
99
+ * @hidden
100
+ * Holds the actual value used for filtering the column.
101
+ */
102
+ actualFilterValue: Object;
103
+ /**
104
+ * @hidden
105
+ * Represents the actual filter operator applied to the column.
106
+ */
107
+ actualOperator: Object;
108
+ /**
109
+ * @hidden
110
+ * Defines the data type of the filter column.
111
+ */
112
+ type: string;
113
+ /**
114
+ * @hidden
115
+ * Represents the internal predicate condition for the filter column.
116
+ */
117
+ ejpredicate: Object;
118
+ /**
119
+ * @hidden
120
+ * Unique identifier for the filter column.
121
+ */
122
+ uid: string;
123
+ /**
124
+ * @hidden
125
+ * Indicates whether the column is a foreign key in the filter set.
126
+ */
127
+ isForeignKey: boolean;
128
+ }
129
+ /**
130
+ * Configures the filtering behavior of the TreeGrid, enabling complex data filtering capabilities.
131
+ */
132
+ export declare class FilterSettings extends ChildProperty<FilterSettings> {
133
+ /**
134
+ * Specifies the initial filter configuration for TreeGrid columns or retrieves the current filter state.
135
+ *
136
+ * @default []
137
+ */
138
+ columns: PredicateModel[];
139
+ /**
140
+ * Sets the filtering interface type. Options include:
141
+ * * `Menu`: Provides a menu for filtering options.
142
+ * * `FilterBar`: Allows direct input filtering in a bar at the top of each column.
143
+ * * `Excel` : Specifies the filter type as excel.
144
+ * * `CheckBox` : Specifies the filter type as check box.
145
+ *
146
+ * @default FilterBar
147
+ */
148
+ type: FilterType;
149
+ /**
150
+ * Determines the mode of the filter bar operation. Options include:
151
+ * * `OnEnter`: Filtering is triggered upon pressing the Enter key.
152
+ * * `Immediate`: Filtering occurs after a short delay automatically.
153
+ *
154
+ * @default Syncfusion.EJ2.Grids.FilterBarMode.OnEnter
155
+ * @isEnumeration true
156
+ * @aspType Syncfusion.EJ2.Grids.FilterBarMode
157
+ */
158
+ mode: FilterBarMode;
159
+ /**
160
+ * Shows or hides the status message related to filtering actions on the pager.
161
+ *
162
+ * @default true
163
+ */
164
+ showFilterBarStatus: boolean;
165
+ /**
166
+ * Determines the delay in milliseconds before filtering is triggered in `Immediate` mode.
167
+ *
168
+ * @default 1500
169
+ */
170
+ immediateModeDelay: number;
171
+ /**
172
+ * Allows customization of the default operators offered in the filter menu by defining custom operators for string, number, date, and boolean types.
173
+ *
174
+ * @default null
175
+ */
176
+ operators: ICustomOptr;
177
+ /**
178
+ * If set to `true`, filtering ignores accent characters, making diacritic characters identical to their unaccented versions.
179
+ *
180
+ * @default false
181
+ */
182
+ ignoreAccent: boolean;
183
+ /**
184
+ * Specifies how the hierarchy should be maintained during filtering:
185
+ * * `Parent`: Displays the filtered records along with their parent records.
186
+ * * `Child`: Displays the filtered records along with their child records.
187
+ * * `Both`: Displays the filtered records with both parent and child records.
188
+ * * `None`: Only displays the filtered records.
189
+ *
190
+ * @default Parent
191
+ * @isEnumeration true
192
+ * @aspType FilterHierarchyMode
193
+ */
194
+ hierarchyMode: FilterHierarchyMode;
195
+ }
@@ -0,0 +1,237 @@
1
+ import { Collection, Property, ChildProperty } from '@syncfusion/ej2-base';
2
+ import { ICustomOptr, FilterBarMode, FilterType } from '@syncfusion/ej2-grids';
3
+ import { FilterHierarchyMode } from '../enum';
4
+ import { PredicateModel } from './filter-settings-model';
5
+
6
+ /**
7
+ * Represents the filter configuration for a column in the TreeGrid.
8
+ */
9
+ export class Predicate extends ChildProperty<Predicate> {
10
+
11
+ /**
12
+ * Specifies the field name of the column to apply the filter on.
13
+ *
14
+ * @default ''
15
+ */
16
+ @Property()
17
+ public field: string;
18
+
19
+ /**
20
+ * Specifies the operator used for filtering TreeGrid records. The available operators support a variety of data types
21
+ * and offer different filtering mechanisms. Details for each operator are provided below:
22
+ * <table>
23
+ * <tr>
24
+ * <td colspan=1 rowspan=1>
25
+ * Operator<br/></td><td colspan=1 rowspan=1>
26
+ * Description<br/></td><td colspan=1 rowspan=1>
27
+ * Supported Data Types<br/></td></tr>
28
+ * <tr>
29
+ * <td colspan=1 rowspan=1>
30
+ * startswith<br/></td><td colspan=1 rowspan=1>
31
+ * Checks if the value starts with the specified input.<br/></td><td colspan=1 rowspan=1>
32
+ * String<br/></td></tr>
33
+ * <tr>
34
+ * <td colspan=1 rowspan=1>
35
+ * endswith<br/></td><td colspan=1 rowspan=1>
36
+ * Checks if the value ends with the specified input.<br/><br/></td><td colspan=1 rowspan=1>
37
+ * <br/>String<br/></td></tr>
38
+ * <tr>
39
+ * <td colspan=1 rowspan=1>
40
+ * contains<br/></td><td colspan=1 rowspan=1>
41
+ * Checks if the value contains the specified input anywhere within it.<br/><br/></td><td colspan=1 rowspan=1>
42
+ * <br/>String<br/></td></tr>
43
+ * <tr>
44
+ * <td colspan=1 rowspan=1>
45
+ * equal<br/></td><td colspan=1 rowspan=1>
46
+ * Checks if the value is exactly equal to the specified input.<br/><br/></td><td colspan=1 rowspan=1>
47
+ * <br/>String | Number | Boolean | Date<br/></td></tr>
48
+ * <tr>
49
+ * <td colspan=1 rowspan=1>
50
+ * notequal<br/></td><td colspan=1 rowspan=1>
51
+ * Identifies values that are not equal to the specified input.<br/><br/></td><td colspan=1 rowspan=1>
52
+ * <br/>String | Number | Boolean | Date<br/></td></tr>
53
+ * <tr>
54
+ * <td colspan=1 rowspan=1>
55
+ * greaterthan<br/></td><td colspan=1 rowspan=1>
56
+ * Verifies if the value is greater than the specified input.<br/><br/></td><td colspan=1 rowspan=1>
57
+ * Number | Date<br/></td></tr>
58
+ * <tr>
59
+ * <td colspan=1 rowspan=1>
60
+ * greaterthanorequal<br/></td><td colspan=1 rowspan=1>
61
+ * Verifies if the value is greater than or equal to the specified input.<br/><br/></td><td colspan=1 rowspan=1>
62
+ * <br/>Number | Date<br/></td></tr>
63
+ * <tr>
64
+ * <td colspan=1 rowspan=1>
65
+ * lessthan<br/></td><td colspan=1 rowspan=1>
66
+ * Checks if the value is less than the specified input.<br/><br/></td><td colspan=1 rowspan=1>
67
+ * <br/>Number | Date<br/></td></tr>
68
+ * <tr>
69
+ * <td colspan=1 rowspan=1>
70
+ * lessthanorequal<br/></td><td colspan=1 rowspan=1>
71
+ * Checks if the value is less than or equal to the specified input.<br/><br/></td><td colspan=1 rowspan=1>
72
+ * <br/>Number | Date<br/></td></tr>
73
+ * </table>
74
+ *
75
+ * @default null
76
+ */
77
+ @Property()
78
+ public operator: string;
79
+
80
+ /**
81
+ * Specifies the value to filter the column's data by.
82
+ *
83
+ * @default ''
84
+ */
85
+ @Property()
86
+ public value: string | number | Date | boolean;
87
+
88
+ /**
89
+ * Applies case-sensitive filtering if set to `true`. When false, filtering is case-insensitive.
90
+ *
91
+ * @default null
92
+ */
93
+ @Property()
94
+ public matchCase: boolean;
95
+
96
+ /**
97
+ * Ignores diacritic characters during filtering if set to `true`.
98
+ *
99
+ * @default false
100
+ */
101
+ @Property()
102
+ public ignoreAccent: boolean;
103
+
104
+ /**
105
+ * Defines the logical relationship between multiple filter conditions ('AND' / 'OR').
106
+ *
107
+ * @default null
108
+ */
109
+ @Property()
110
+ public predicate: string;
111
+
112
+ /**
113
+ * @hidden
114
+ * Holds the actual value used for filtering the column.
115
+ */
116
+ @Property({})
117
+ public actualFilterValue: Object;
118
+
119
+ /**
120
+ * @hidden
121
+ * Represents the actual filter operator applied to the column.
122
+ */
123
+ @Property({})
124
+ public actualOperator: Object;
125
+
126
+ /**
127
+ * @hidden
128
+ * Defines the data type of the filter column.
129
+ */
130
+ @Property()
131
+ public type: string;
132
+
133
+ /**
134
+ * @hidden
135
+ * Represents the internal predicate condition for the filter column.
136
+ */
137
+ @Property()
138
+ public ejpredicate: Object;
139
+
140
+ /**
141
+ * @hidden
142
+ * Unique identifier for the filter column.
143
+ */
144
+ @Property()
145
+ public uid: string;
146
+
147
+ /**
148
+ * @hidden
149
+ * Indicates whether the column is a foreign key in the filter set.
150
+ */
151
+ @Property()
152
+ public isForeignKey: boolean;
153
+ }
154
+
155
+ /**
156
+ * Configures the filtering behavior of the TreeGrid, enabling complex data filtering capabilities.
157
+ */
158
+ export class FilterSettings extends ChildProperty<FilterSettings> {
159
+
160
+ /**
161
+ * Specifies the initial filter configuration for TreeGrid columns or retrieves the current filter state.
162
+ *
163
+ * @default []
164
+ */
165
+ @Collection<PredicateModel[]>([], Predicate)
166
+ public columns: PredicateModel[];
167
+
168
+ /**
169
+ * Sets the filtering interface type. Options include:
170
+ * * `Menu`: Provides a menu for filtering options.
171
+ * * `FilterBar`: Allows direct input filtering in a bar at the top of each column.
172
+ * * `Excel` : Specifies the filter type as excel.
173
+ * * `CheckBox` : Specifies the filter type as check box.
174
+ *
175
+ * @default FilterBar
176
+ */
177
+ @Property('FilterBar')
178
+ public type: FilterType;
179
+
180
+ /**
181
+ * Determines the mode of the filter bar operation. Options include:
182
+ * * `OnEnter`: Filtering is triggered upon pressing the Enter key.
183
+ * * `Immediate`: Filtering occurs after a short delay automatically.
184
+ *
185
+ * @default Syncfusion.EJ2.Grids.FilterBarMode.OnEnter
186
+ * @isEnumeration true
187
+ * @aspType Syncfusion.EJ2.Grids.FilterBarMode
188
+ */
189
+ @Property()
190
+ public mode: FilterBarMode;
191
+
192
+ /**
193
+ * Shows or hides the status message related to filtering actions on the pager.
194
+ *
195
+ * @default true
196
+ */
197
+ @Property(true)
198
+ public showFilterBarStatus: boolean;
199
+
200
+ /**
201
+ * Determines the delay in milliseconds before filtering is triggered in `Immediate` mode.
202
+ *
203
+ * @default 1500
204
+ */
205
+ @Property(1500)
206
+ public immediateModeDelay: number;
207
+
208
+ /**
209
+ * Allows customization of the default operators offered in the filter menu by defining custom operators for string, number, date, and boolean types.
210
+ *
211
+ * @default null
212
+ */
213
+ @Property()
214
+ public operators: ICustomOptr;
215
+
216
+ /**
217
+ * If set to `true`, filtering ignores accent characters, making diacritic characters identical to their unaccented versions.
218
+ *
219
+ * @default false
220
+ */
221
+ @Property(false)
222
+ public ignoreAccent: boolean;
223
+
224
+ /**
225
+ * Specifies how the hierarchy should be maintained during filtering:
226
+ * * `Parent`: Displays the filtered records along with their parent records.
227
+ * * `Child`: Displays the filtered records along with their child records.
228
+ * * `Both`: Displays the filtered records with both parent and child records.
229
+ * * `None`: Only displays the filtered records.
230
+ *
231
+ * @default Parent
232
+ * @isEnumeration true
233
+ * @aspType FilterHierarchyMode
234
+ */
235
+ @Property('Parent')
236
+ public hierarchyMode: FilterHierarchyMode;
237
+ }
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Models export
3
+ */
4
+ export * from './column';
5
+ export * from './edit-settings';
6
+ export * from './edit-settings-model';
7
+ export * from './filter-settings';
8
+ export * from './filter-settings-model';
9
+ export * from './page-settings';
10
+ export * from './page-settings-model';
11
+ export * from './search-settings';
12
+ export * from './search-settings-model';
13
+ export * from './selection-settings';
14
+ export * from './selection-settings-model';
15
+ export * from './summary';
16
+ export * from './summary-model';
17
+ export * from './sort-settings';
18
+ export * from './sort-settings-model';
19
+ export * from './rowdrop-settings';
20
+ export * from './rowdrop-settings-model';
21
+ export * from './infinite-scroll-settings';
22
+ export * from './infinite-scroll-settings-model';
23
+ export * from './loading-indicator';
24
+ export * from './loading-indicator-model';
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Models export
3
+ */
4
+ export * from './column';
5
+ export * from './edit-settings';
6
+ export * from './edit-settings-model';
7
+ export * from './filter-settings';
8
+ export * from './filter-settings-model';
9
+ export * from './page-settings';
10
+ export * from './page-settings-model';
11
+ export * from './search-settings';
12
+ export * from './search-settings-model';
13
+ export * from './selection-settings';
14
+ export * from './selection-settings-model';
15
+ export * from './summary';
16
+ export * from './summary-model';
17
+ export * from './sort-settings';
18
+ export * from './sort-settings-model';
19
+ export * from './rowdrop-settings';
20
+ export * from './rowdrop-settings-model';
21
+ export * from './infinite-scroll-settings';
22
+ export * from './infinite-scroll-settings-model';
23
+ export * from './loading-indicator';
24
+ export * from './loading-indicator-model';
@@ -0,0 +1,29 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';import { InfiniteScrollSettings as GridInfiniteScrollSettings } from '@syncfusion/ej2-grids';
2
+
3
+ /**
4
+ * Interface for a class InfiniteScrollSettings
5
+ */
6
+ export interface InfiniteScrollSettingsModel {
7
+
8
+ /**
9
+ * If `enableCache` is set to true, the Tree Grid will cache the loaded data for reuse in future requests, improving performance.
10
+ *
11
+ * @default false
12
+ */
13
+ enableCache?: boolean;
14
+
15
+ /**
16
+ * Specifies the number of data blocks to maintain in the Tree Grid's cache when `enableCache` is true.
17
+ *
18
+ * @default 3
19
+ */
20
+ maxBlocks?: number;
21
+
22
+ /**
23
+ * Specifies the number of data blocks to render initially when the Tree Grid loads, if caching is enabled.
24
+ *
25
+ * @default 3
26
+ */
27
+ initialBlocks?: number;
28
+
29
+ }
@@ -0,0 +1,25 @@
1
+ import { ChildProperty } from '@syncfusion/ej2-base';
2
+ import { InfiniteScrollSettings as GridInfiniteScrollSettings } from '@syncfusion/ej2-grids';
3
+ /**
4
+ * Configures the infinite scroll behavior of the Tree Grid.
5
+ */
6
+ export declare class InfiniteScrollSettings extends ChildProperty<GridInfiniteScrollSettings> {
7
+ /**
8
+ * If `enableCache` is set to true, the Tree Grid will cache the loaded data for reuse in future requests, improving performance.
9
+ *
10
+ * @default false
11
+ */
12
+ enableCache: boolean;
13
+ /**
14
+ * Specifies the number of data blocks to maintain in the Tree Grid's cache when `enableCache` is true.
15
+ *
16
+ * @default 3
17
+ */
18
+ maxBlocks: number;
19
+ /**
20
+ * Specifies the number of data blocks to render initially when the Tree Grid loads, if caching is enabled.
21
+ *
22
+ * @default 3
23
+ */
24
+ initialBlocks: number;
25
+ }
@@ -0,0 +1,31 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
+ import { InfiniteScrollSettings as GridInfiniteScrollSettings } from '@syncfusion/ej2-grids';
3
+
4
+ /**
5
+ * Configures the infinite scroll behavior of the Tree Grid.
6
+ */
7
+ export class InfiniteScrollSettings extends ChildProperty<GridInfiniteScrollSettings> {
8
+ /**
9
+ * If `enableCache` is set to true, the Tree Grid will cache the loaded data for reuse in future requests, improving performance.
10
+ *
11
+ * @default false
12
+ */
13
+ @Property(false)
14
+ public enableCache: boolean;
15
+
16
+ /**
17
+ * Specifies the number of data blocks to maintain in the Tree Grid's cache when `enableCache` is true.
18
+ *
19
+ * @default 3
20
+ */
21
+ @Property(3)
22
+ public maxBlocks: number;
23
+
24
+ /**
25
+ * Specifies the number of data blocks to render initially when the Tree Grid loads, if caching is enabled.
26
+ *
27
+ * @default 3
28
+ */
29
+ @Property(3)
30
+ public initialBlocks: number;
31
+ }
@@ -0,0 +1,21 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
+
3
+ /**
4
+ * Interface for a class LoadingIndicator
5
+ */
6
+ export interface LoadingIndicatorModel {
7
+
8
+ /**
9
+ * Specifies the type of loading indicator to be displayed. You can choose between:
10
+ * ```props
11
+ * * `Spinner`: Displays a spinning loader to indicate ongoing loading.
12
+ * * `Shimmer`: Displays a shimmer effect that suggests content is loading.
13
+ * ```
14
+ *
15
+ * @default Syncfusion.EJ2.Grids.IndicatorType.Spinner
16
+ * @isEnumeration true
17
+ * @aspType Syncfusion.EJ2.Grids.IndicatorType
18
+ */
19
+ indicatorType?: IndicatorType;
20
+
21
+ }
@@ -0,0 +1,19 @@
1
+ import { ChildProperty } from '@syncfusion/ej2-base';
2
+ import { IndicatorType } from '@syncfusion/ej2-grids';
3
+ /**
4
+ * Configures the loading indicator for the Tree Grid, allowing you to display a visual indicator during data loading operations to enhance user experience.
5
+ */
6
+ export declare class LoadingIndicator extends ChildProperty<LoadingIndicator> {
7
+ /**
8
+ * Specifies the type of loading indicator to be displayed. You can choose between:
9
+ * ```props
10
+ * * `Spinner`: Displays a spinning loader to indicate ongoing loading.
11
+ * * `Shimmer`: Displays a shimmer effect that suggests content is loading.
12
+ * ```
13
+ *
14
+ * @default Syncfusion.EJ2.Grids.IndicatorType.Spinner
15
+ * @isEnumeration true
16
+ * @aspType Syncfusion.EJ2.Grids.IndicatorType
17
+ */
18
+ indicatorType: IndicatorType;
19
+ }
@@ -0,0 +1,21 @@
1
+ import { Property, ChildProperty } from '@syncfusion/ej2-base';
2
+ import { IndicatorType } from '@syncfusion/ej2-grids';
3
+
4
+ /**
5
+ * Configures the loading indicator for the Tree Grid, allowing you to display a visual indicator during data loading operations to enhance user experience.
6
+ */
7
+ export class LoadingIndicator extends ChildProperty<LoadingIndicator> {
8
+ /**
9
+ * Specifies the type of loading indicator to be displayed. You can choose between:
10
+ * ```props
11
+ * * `Spinner`: Displays a spinning loader to indicate ongoing loading.
12
+ * * `Shimmer`: Displays a shimmer effect that suggests content is loading.
13
+ * ```
14
+ *
15
+ * @default Syncfusion.EJ2.Grids.IndicatorType.Spinner
16
+ * @isEnumeration true
17
+ * @aspType Syncfusion.EJ2.Grids.IndicatorType
18
+ */
19
+ @Property('Spinner')
20
+ public indicatorType: IndicatorType;
21
+ }