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

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