@syncfusion/ej2-angular-lists 31.2.12-ngcc → 31.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,532 @@
1
+ # Changelog
2
+
3
+ ## [Unreleased]
4
+
5
+ ## 31.1.17 (2025-09-05)
6
+
7
+ ### ListView
8
+
9
+ #### Bug Fixes
10
+
11
+ - `#I463091` - Resolved the CSS override issue in the ListView component, and changed the `e-content` class name into `e-list-container`.
12
+
13
+ #### Breaking Changes
14
+
15
+ - Using a ternary operator within the string-type template is not supported and we suggest using a function type template in ListView. Refer to the below code for example
16
+
17
+ **Previous**
18
+
19
+ ```typescript
20
+
21
+ let template: string = '<div class="e-list-wrapper e-list-avatar" id = ${id}>' +
22
+ '<span class="e-list-content">${name} ${$imgUrl ? $imgUrl : \'no image\' }</span></div>';
23
+ ```
24
+
25
+ **Now**
26
+
27
+ ```typescript
28
+
29
+ // data denotes the template data of each nodes from ListView data.
30
+ let template: Function = (data: any) => {
31
+ let result = `<div class="e-list-wrapper e-list-avatar" id = "${data.id}">`+
32
+ `<span class="e-list-content">${data.name} ${data.imgUrl ? data.imgUrl : 'no image' }</span></div>`;
33
+ return result;
34
+ }
35
+ ```
36
+
37
+ ### ListBox
38
+
39
+ #### Bug Fixes
40
+
41
+ - `#I461648` - Issue with "Drag and drop on mobile browsers, it unable to drag an element to the topmost place in list box component" has been resolved.
42
+
43
+ ## 19.3.43 (2021-09-30)
44
+
45
+ ### ListView
46
+
47
+ #### Bug Fixes
48
+
49
+ - `#F168185` - The issue with "Sorting is not applied properly when entering different values in the text field of the ListView component" has been resolved.
50
+
51
+ ## 19.2.55 (2021-08-11)
52
+
53
+ ### ListView
54
+
55
+ #### Bug Fixes
56
+
57
+ - `#F167149` - The issue with "Multiple requests are made to the controller when using remote data source with template support in the ListView component" has been resolved.
58
+
59
+ ## 19.2.49 (2021-07-27)
60
+
61
+ ### Common
62
+
63
+ #### Bug Fixes
64
+
65
+ - Sortable helper element issue resolved in List Box.
66
+
67
+ ### ListView
68
+
69
+ #### Bug Fixes
70
+
71
+ - `#I335874` - The issue with "The additional new element is added in the template element of the List components" has been resolved.
72
+
73
+ ## 19.2.48 (2021-07-20)
74
+
75
+ ### ListView
76
+
77
+ #### Bug Fixes
78
+
79
+ - `#F164730` - "While grouping is enabled, dynamic items are not added to the proper group field in the ListView component" issue has been resolved.
80
+ - `#I325424`, `#I329625` - The issue with "While enabling virtualization support, the ListView functional template is not working" has been resolved.
81
+ - `#F166229` - The issue with "The ListView select event is not triggered when selecting items using the space key" has been resolved.
82
+
83
+ ## 19.2.47 (2021-07-13)
84
+
85
+ ### Common
86
+
87
+ #### Bug Fixes
88
+
89
+ - Sortable drop event is not triggered while dropping to the "no record found" element.
90
+
91
+ ## 19.1.65 (2021-05-25)
92
+
93
+ ### Common
94
+
95
+ #### Bug Fixes
96
+
97
+ - Sortable helper element issue resolved.
98
+
99
+ ## 19.1.56 (2021-04-13)
100
+
101
+ ### ListView
102
+
103
+ #### Bug Fixes
104
+
105
+ - `#309268` - Template content of ListView is not updated when updating the props date using `useState` has been fixed.
106
+
107
+ ## 19.1.54 (2021-03-30)
108
+
109
+ ### ListView
110
+
111
+ #### Bug Fixes
112
+
113
+ - `#304129`,`#304247` - The issue "ActionBegin event does not trigger before/after switching to new views in the nested ListView" has been fixed.
114
+
115
+ - `#310143` - The script error with refreshItemHeight method in ListView component has been resolved.
116
+
117
+ ## 18.3.53 (2020-12-08)
118
+
119
+ ### ListView
120
+
121
+ #### Bug Fixes
122
+
123
+ - `#302538` - The issue with "The space key is not accepted in input text while using inside of Listview Template" has been fixed.
124
+
125
+ - `#305040` - `The template issue in ListView component when using AddItem method` has been resolved.
126
+
127
+ ## 18.3.47 (2020-11-05)
128
+
129
+ ### ListBase
130
+
131
+ #### New Features
132
+
133
+ - `#291708`- Provided string and integer array support for data source property in ListBase.
134
+
135
+ ## 18.3.44 (2020-10-27)
136
+
137
+ ### ListView
138
+
139
+ #### Bug Fixes
140
+
141
+ - `#293803` - Provided hover support for ListView Virtualization.
142
+
143
+ ## 18.3.35 (2020-10-01)
144
+
145
+ ### ListView
146
+
147
+ #### New Features
148
+
149
+ - Provided support for rendering JsRender template in the ListView component.
150
+
151
+ #### Bug Fixes
152
+
153
+ - `#288456` - The issue when `clicking the header of the ListView component` has been resolved.
154
+
155
+ ## 18.2.48 (2020-08-04)
156
+
157
+ ### Common
158
+
159
+ #### Bug Fixes
160
+
161
+ - Sortable helper element hide inside the sidebar issue resolved.
162
+
163
+ ## 18.2.46 (2020-07-21)
164
+
165
+ ### ListView
166
+
167
+ #### Bug Fixes
168
+
169
+ - The issue with `The closest undefined error throws in the IE 11 browser` has been resolved.
170
+
171
+ ## 18.2.44 (2020-07-07)
172
+
173
+ ### ListView
174
+
175
+ #### Bug Fixes
176
+
177
+ - The issue with `enabling the virtualization support in ListView component that throws script error in IE 11 browser` has been resolved.
178
+
179
+ ### ListBase
180
+
181
+ #### Bug Fixes
182
+
183
+ - #276068 Issue with `grouping of list-item in header` has been fixed.
184
+
185
+ ## 17.4.40 (2019-12-24)
186
+
187
+ ### ListBox
188
+
189
+ #### Bug Fixes
190
+
191
+ - Provided 'beforeDrop' event.
192
+
193
+ ## 17.3.27 (2019-11-12)
194
+
195
+ ### ListBox
196
+
197
+ #### Bug Fixes
198
+
199
+ - Issue with Drag and Drop in Empty area of List Box has been fixed
200
+
201
+ ## 17.3.21 (2019-10-30)
202
+
203
+ ### ListBox
204
+
205
+ #### Bug Fixes
206
+
207
+ - Issue with Drag and Drop has been fixed
208
+
209
+ ### ListView
210
+
211
+ #### Bug Fixes
212
+
213
+ - #251219 - The content security policy issue has been fixed.
214
+
215
+ ## 17.3.16 (2019-10-09)
216
+
217
+ ### ListView
218
+
219
+ #### Bug Fixes
220
+
221
+ - Issue of rendering a listview with new data in virtualization has been fixed.
222
+
223
+ ## 17.1.47 (2019-05-14)
224
+
225
+ ### ListView
226
+
227
+ #### New Features
228
+
229
+ - #230272 - Provided the support for adding new list view item without re-render the listview in virtualization mode.
230
+
231
+ ## 17.1.43 (2019-04-30)
232
+
233
+ ### ListView
234
+
235
+ #### Bug Fixes
236
+
237
+ - Issue with maintaining checked items in virtualization mode while checking the checkbox item directly has been fixed.
238
+
239
+ ## 17.1.42 (2019-04-23)
240
+
241
+ ### ListView
242
+
243
+ #### Bug Fixes
244
+
245
+ - Issue in enabling `virtualization` with empty data source has been fixed.
246
+
247
+ ## 17.1.40 (2019-04-09)
248
+
249
+ ### ListBase
250
+
251
+ #### Bug Fixes
252
+
253
+ - Issue with single level element generation with fields mapping has been fixed.
254
+
255
+ ## 17.1.32-beta (2019-03-13)
256
+
257
+ ### ListView
258
+
259
+ #### Bug Fixes
260
+
261
+ - Issue with duplicate entries on updating the data source while binding data using data manager has been fixed.
262
+
263
+ - Now it is possible to perform key interactions with input list items displayed using custom templates.
264
+
265
+ ## 16.4.44 (2018-12-24)
266
+
267
+ ### ListView
268
+
269
+ #### Bug Fixes
270
+
271
+ - Fixed multiple CSS class not added properly while using `template` property in `UI Virtualization`.
272
+
273
+ - Fixed height calculation in `UI Virtualization` with sample level border inclusion.
274
+
275
+ ## 16.3.33 (2018-11-20)
276
+
277
+ ### ListView
278
+
279
+ #### Bug Fixes
280
+
281
+ - Fixed focus out event not triggered properly while interact `ListView` with keyboard navigation keys.
282
+
283
+ ## 16.3.30 (2018-11-01)
284
+
285
+ ### ListView
286
+
287
+ #### New Features
288
+
289
+ - Included `refreshItemHeight` public API to recalculate list item height in `UI Virtualization`.
290
+
291
+ ## 16.3.27 (2018-10-23)
292
+
293
+ ### ListView
294
+
295
+ #### Bug Fixes
296
+
297
+ - Fixed issue with `imageUrl` property while using with `template` rendering.
298
+
299
+ ## 16.3.25 (2018-10-15)
300
+
301
+ ### ListView
302
+
303
+ #### Bug Fixes
304
+
305
+ - Fixed remove selection of list items with `undefined` input using `selectItem` public method.
306
+
307
+ - Fixed custom `cssClass` not removed properly while using `destroy` public method.
308
+
309
+ ## 16.3.23 (2018-10-03)
310
+
311
+ ### ListView
312
+
313
+ #### Bug Fixes
314
+
315
+ - Fixed issue with typings while using custom fields in removeItem
316
+
317
+ ## 16.3.22 (2018-09-25)
318
+
319
+ ### ListView
320
+
321
+ #### Bug Fixes
322
+
323
+ - Fixed `getSelectedItems` method returns `undefined` values for remote data.
324
+
325
+ ## 16.3.21 (2018-09-22)
326
+
327
+ ### ListView
328
+
329
+ #### Bug Fixes
330
+
331
+ - Fixed `selectMultipleItems` public method issue with empty `dataSource`.
332
+ - Fixed `removeMultipleItems` public method issue with custom `fields` mapping.
333
+
334
+ ## 16.3.17 (2018-09-12)
335
+
336
+ ### ListView
337
+
338
+ #### New Features
339
+
340
+ - Provided multi-line text support in combination with [Avatar](https://ej2.syncfusion.com/documentation/avatar/getting-started.html?lang=typescript) and [Badge](https://ej2.syncfusion.com/documentation/badge/getting-started.html?lang=typescript).
341
+
342
+ ## 16.2.49 (2018-08-21)
343
+
344
+ ### ListView
345
+
346
+ #### Bug Fixes
347
+
348
+ - Issue in `select` event arguments of `ListView` template rendering fixed.
349
+
350
+ ## 16.2.46 (2018-07-30)
351
+
352
+ ### ListView
353
+
354
+ #### Bug Fixes
355
+
356
+ - Fixed `select` event returns `undefined` arguments while loading with numeric `dataSource`.
357
+
358
+ ## 16.2.41 (2018-06-25)
359
+
360
+ ### ListView
361
+
362
+ #### New Features
363
+
364
+ - UI-Virtualization implemented to render only viewable list items in a view port on loading large number of data.
365
+
366
+ #### Breaking Changes
367
+
368
+ - The following API namings are renamed.
369
+
370
+ | Existing API Name | New API Name |
371
+ | :-------------: |:-------------: |
372
+ | unCheckAllItem | uncheckAllItems |
373
+ | unCheckItem | uncheckItem |
374
+ | checkAllItem | checkAllItems |
375
+
376
+ ## 16.1.42 (2018-05-15)
377
+
378
+ ### ListView
379
+
380
+ #### Bug Fixes
381
+
382
+ - Now `select` event will be triggered on `checkbox` interactions.
383
+
384
+ ## 16.1.38 (2018-05-02)
385
+
386
+ ### ListView
387
+
388
+ #### Bug Fixes
389
+
390
+ - Fixed `collapsible` icon alignment issue.
391
+
392
+ ## 16.1.37 (2018-04-24)
393
+
394
+ ### ListView
395
+
396
+ #### Bug Fixes
397
+
398
+ - Provided `checkbox` support for `NestedList`.
399
+
400
+ ## 16.1.35 (2018-04-17)
401
+
402
+ ### ListView
403
+
404
+ #### Bug Fixes
405
+
406
+ - The issue, 'The list items sorted in ascending order by default when the grouping is enabled', has been fixed.
407
+
408
+ ## 16.1.34 (2018-04-10)
409
+
410
+ ### ListView
411
+
412
+ #### Bug Fixes
413
+
414
+ - Provided option to `findItem` from given list element.
415
+
416
+ ## 16.1.32 (2018-03-29)
417
+
418
+ ### ListView
419
+
420
+ #### Bug Fixes
421
+
422
+ - The `addItem` public method without `FieldSettings` not properly working issue resolved.
423
+
424
+ ## 16.1.28 (2018-03-09)
425
+
426
+ ### Common
427
+
428
+ #### Bug Fixes
429
+
430
+ - `boolean` data is not supported in list generation issue has been fixed.
431
+
432
+ ## 16.1.24 (2018-02-22)
433
+
434
+ ### ListView
435
+
436
+ #### New Features
437
+
438
+ - The `checklist` feature implemented, which is used to select multiple items in ListView.
439
+
440
+ ## 15.4.26-preview (2018-01-23)
441
+
442
+ ### ListView
443
+
444
+ #### Bug Fixes
445
+
446
+ - Tab key is not focusing `ListView` properly issue has been fixed.
447
+
448
+ ## 15.4.24-preview (2018-01-10)
449
+
450
+ ### Common
451
+
452
+ #### Bug Fixes
453
+
454
+ - `data-value` not updated properly for array of string or number inputs bug fixed.
455
+
456
+ ## 15.4.23-preview (2017-12-27)
457
+
458
+ ### Common
459
+
460
+ #### New Features
461
+
462
+ - Added typing file for ES5 global scripts `(dist/global/index.d.ts)`.
463
+
464
+ #### Breaking Changes
465
+
466
+ - Modified the module bundle file name for ES6 bundling.
467
+
468
+ ### ListView
469
+
470
+ #### Bug Fixes
471
+
472
+ - `SelectItem` method is not working with option which only have text field.
473
+ - Complex `dataSource` binding support for ListView `fields`.
474
+
475
+ ## 15.4.22-preview (2017-12-14)
476
+
477
+ ### ListView
478
+
479
+ #### New Features
480
+
481
+ - Provided text binding support from complex `dataSource`.
482
+
483
+ #### Bug Fixes
484
+
485
+ - Empty `dataSource` not working properly on dynamic data issue fixed.
486
+ - `removeItem` method properly handled for dynamic `dataSource`.
487
+
488
+ ## 15.4.20-preview (2017-12-01)
489
+
490
+ ### ListView
491
+
492
+ #### New Features
493
+
494
+ - Upgraded TypeScript version to 2.6.2
495
+
496
+ ## 15.4.17-preview (2017-11-13)
497
+
498
+ ### ListView
499
+
500
+ ListView component represent data in interactive hierarchical structure interface across different layouts or views, which also has features of data-binding, template and grouping.
501
+
502
+ - **Data binding** - Supports data binding to display the list of items from the local or server-side data source.
503
+
504
+ - **Grouping** - Provides support to group the logically related items under a category.
505
+
506
+ - **Nested list** - Displays a set of nested list items in different layout.
507
+
508
+ - **Customizing templates** - Allows you to customize the list item, header and category group header.
509
+
510
+ - **Accessibility** - Provides built-in accessibility support which helps to access all the ListView component features through the keyboard, on-screen readers, or other assistive technology devices.## 17.4.39 (2019-12-17)
511
+
512
+ ### ListView
513
+
514
+ #### Bug Fixes
515
+
516
+ - `#255485` - The crashing issue that occurred when rendering list view with virtualization and grouping has been fixed.
517
+
518
+ ## 16.3.24 (2018-10-09)
519
+
520
+ ### ListView
521
+
522
+ #### Bug Fixes
523
+
524
+ - Issue fixed with `custom directive` compilation in `virtualization`.
525
+
526
+ ## 16.2.47 (2018-08-07)
527
+
528
+ ### ListView
529
+
530
+ #### Bug Fixes
531
+
532
+ - Provided renderer support.
@@ -0,0 +1,2 @@
1
+ export * from './src/index';
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxhQUFhLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL3NyYy9pbmRleCc7Il19
@@ -0,0 +1,5 @@
1
+ export { ListViewComponent } from './list-view/listview.component';
2
+ export { ListViewModule } from './list-view/listview.module';
3
+ export { ListViewAllModule, VirtualizationService } from './list-view/listview-all.module';
4
+ export * from '@syncfusion/ej2-lists';
5
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFDLE1BQU0sZ0NBQWdDLENBQUM7QUFDbEUsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLDZCQUE2QixDQUFDO0FBQzdELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxxQkFBcUIsRUFBRSxNQUFNLGlDQUFpQyxDQUFDO0FBQzNGLGNBQWMsdUJBQXVCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBMaXN0Vmlld0NvbXBvbmVudH0gZnJvbSAnLi9saXN0LXZpZXcvbGlzdHZpZXcuY29tcG9uZW50JztcbmV4cG9ydCB7IExpc3RWaWV3TW9kdWxlIH0gZnJvbSAnLi9saXN0LXZpZXcvbGlzdHZpZXcubW9kdWxlJztcbmV4cG9ydCB7IExpc3RWaWV3QWxsTW9kdWxlLCBWaXJ0dWFsaXphdGlvblNlcnZpY2UgfSBmcm9tICcuL2xpc3Qtdmlldy9saXN0dmlldy1hbGwubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJ0BzeW5jZnVzaW9uL2VqMi1saXN0cyc7Il19
@@ -0,0 +1,29 @@
1
+ import { NgModule } from '@angular/core';
2
+ import { CommonModule } from '@angular/common';
3
+ import { ListViewModule } from './listview.module';
4
+ import { Virtualization } from '@syncfusion/ej2-lists';
5
+ import * as i0 from "@angular/core";
6
+ export const VirtualizationService = { provide: 'ListsVirtualization', useValue: Virtualization };
7
+ /**
8
+ * NgModule definition for the ListView component with providers.
9
+ */
10
+ export class ListViewAllModule {
11
+ }
12
+ ListViewAllModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
13
+ ListViewAllModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, imports: [CommonModule, ListViewModule], exports: [ListViewModule] });
14
+ ListViewAllModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, providers: [
15
+ VirtualizationService
16
+ ], imports: [[CommonModule, ListViewModule], ListViewModule] });
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewAllModule, decorators: [{
18
+ type: NgModule,
19
+ args: [{
20
+ imports: [CommonModule, ListViewModule],
21
+ exports: [
22
+ ListViewModule
23
+ ],
24
+ providers: [
25
+ VirtualizationService
26
+ ]
27
+ }]
28
+ }] });
29
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdHZpZXctYWxsLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saXN0LXZpZXcvbGlzdHZpZXctYWxsLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFpQixNQUFNLGVBQWUsQ0FBQztBQUN4RCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFL0MsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUF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U2VydmljZTogVmFsdWVQcm92aWRlciA9IHsgcHJvdmlkZTogJ0xpc3RzVmlydHVhbGl6YXRpb24nLCB1c2VWYWx1ZTogVmlydHVhbGl6YXRpb259O1xuXG4vKipcbiAqIE5nTW9kdWxlIGRlZmluaXRpb24gZm9yIHRoZSBMaXN0VmlldyBjb21wb25lbnQgd2l0aCBwcm92aWRlcnMuXG4gKi9cbkBOZ01vZHVsZSh7XG4gICAgaW1wb3J0czogW0NvbW1vbk1vZHVsZSwgTGlzdFZpZXdNb2R1bGVdLFxuICAgIGV4cG9ydHM6IFtcbiAgICAgICAgTGlzdFZpZXdNb2R1bGVcbiAgICBdLFxuICAgIHByb3ZpZGVyczpbXG4gICAgICAgIFZpcnR1YWxpemF0aW9uU2VydmljZVxuICAgIF1cbn0pXG5leHBvcnQgY2xhc3MgTGlzdFZpZXdBbGxNb2R1bGUgeyB9Il19
@@ -0,0 +1,85 @@
1
+ import { __decorate } from "tslib";
2
+ import { Component, ChangeDetectionStrategy, ContentChild } from '@angular/core';
3
+ import { ComponentBase, ComponentMixins, setValue } from '@syncfusion/ej2-angular-base';
4
+ import { ListView } from '@syncfusion/ej2-lists';
5
+ import { Template } from '@syncfusion/ej2-angular-base';
6
+ import * as i0 from "@angular/core";
7
+ export const inputs = ['animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width'];
8
+ export const outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'scroll', 'select'];
9
+ export const twoWays = [''];
10
+ /**
11
+ * Represents Angular ListView Component
12
+ * ```
13
+ * <ejs-listview [dataSource]='data'></ejs-listview>
14
+ * ```
15
+ */
16
+ let ListViewComponent = class ListViewComponent extends ListView {
17
+ constructor(ngEle, srenderer, viewContainerRef, injector) {
18
+ super();
19
+ this.ngEle = ngEle;
20
+ this.srenderer = srenderer;
21
+ this.viewContainerRef = viewContainerRef;
22
+ this.injector = injector;
23
+ this.element = this.ngEle.nativeElement;
24
+ this.injectedModules = this.injectedModules || [];
25
+ try {
26
+ let mod = this.injector.get('ListsVirtualization');
27
+ if (this.injectedModules.indexOf(mod) === -1) {
28
+ this.injectedModules.push(mod);
29
+ }
30
+ }
31
+ catch { }
32
+ this.registerEvents(outputs);
33
+ this.addTwoWay.call(this, twoWays);
34
+ setValue('currentInstance', this, this.viewContainerRef);
35
+ this.context = new ComponentBase();
36
+ }
37
+ ngOnInit() {
38
+ this.context.ngOnInit(this);
39
+ }
40
+ ngAfterViewInit() {
41
+ this.context.ngAfterViewInit(this);
42
+ }
43
+ ngOnDestroy() {
44
+ this.context.ngOnDestroy(this);
45
+ }
46
+ ngAfterContentChecked() {
47
+ this.context.ngAfterContentChecked(this);
48
+ }
49
+ };
50
+ ListViewComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
51
+ ListViewComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.3", type: ListViewComponent, selector: "ejs-listview", inputs: { animation: "animation", checkBoxPosition: "checkBoxPosition", cssClass: "cssClass", dataSource: "dataSource", enable: "enable", enableHtmlSanitizer: "enableHtmlSanitizer", enablePersistence: "enablePersistence", enableRtl: "enableRtl", enableVirtualization: "enableVirtualization", fields: "fields", groupTemplate: "groupTemplate", headerTemplate: "headerTemplate", headerTitle: "headerTitle", height: "height", htmlAttributes: "htmlAttributes", locale: "locale", query: "query", showCheckBox: "showCheckBox", showHeader: "showHeader", showIcon: "showIcon", sortOrder: "sortOrder", template: "template", width: "width" }, outputs: { actionBegin: "actionBegin", actionComplete: "actionComplete", actionFailure: "actionFailure", scroll: "scroll", select: "select" }, queries: [{ propertyName: "template", first: true, predicate: ["template"], descendants: true }, { propertyName: "groupTemplate", first: true, predicate: ["groupTemplate"], descendants: true }, { propertyName: "headerTemplate", first: true, predicate: ["headerTemplate"], descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
52
+ __decorate([
53
+ Template()
54
+ ], ListViewComponent.prototype, "template", void 0);
55
+ __decorate([
56
+ Template()
57
+ ], ListViewComponent.prototype, "groupTemplate", void 0);
58
+ __decorate([
59
+ Template()
60
+ ], ListViewComponent.prototype, "headerTemplate", void 0);
61
+ ListViewComponent = __decorate([
62
+ ComponentMixins([ComponentBase])
63
+ ], ListViewComponent);
64
+ export { ListViewComponent };
65
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.3", ngImport: i0, type: ListViewComponent, decorators: [{
66
+ type: Component,
67
+ args: [{
68
+ selector: 'ejs-listview',
69
+ inputs: inputs,
70
+ outputs: outputs,
71
+ template: '',
72
+ changeDetection: ChangeDetectionStrategy.OnPush,
73
+ queries: {}
74
+ }]
75
+ }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { template: [{
76
+ type: ContentChild,
77
+ args: ['template']
78
+ }], groupTemplate: [{
79
+ type: ContentChild,
80
+ args: ['groupTemplate']
81
+ }], headerTemplate: [{
82
+ type: ContentChild,
83
+ args: ['headerTemplate']
84
+ }] } });
85
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdHZpZXcuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2xpc3Qtdmlldy9saXN0dmlldy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU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