@syncfusion/ej2-angular-lists 20.4.38 → 20.4.40-ngcc

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 (116) hide show
  1. package/@syncfusion/ej2-angular-lists.es5.js +188 -0
  2. package/@syncfusion/ej2-angular-lists.es5.js.map +1 -0
  3. package/@syncfusion/ej2-angular-lists.js +169 -0
  4. package/@syncfusion/ej2-angular-lists.js.map +1 -0
  5. package/CHANGELOG.md +491 -0
  6. package/dist/ej2-angular-lists.umd.js +213 -0
  7. package/dist/ej2-angular-lists.umd.js.map +1 -0
  8. package/dist/ej2-angular-lists.umd.min.js +11 -0
  9. package/dist/ej2-angular-lists.umd.min.js.map +1 -0
  10. package/ej2-angular-lists.d.ts +5 -0
  11. package/ej2-angular-lists.metadata.json +1 -0
  12. package/package.json +16 -52
  13. package/postinstall/tagchange.js +18 -0
  14. package/schematics/utils/lib-details.d.ts +2 -2
  15. package/schematics/utils/lib-details.js +2 -2
  16. package/schematics/utils/lib-details.ts +2 -2
  17. package/src/list-view/listview-all.module.d.ts +0 -6
  18. package/src/list-view/listview.component.d.ts +3 -6
  19. package/src/list-view/listview.module.d.ts +0 -6
  20. package/styles/list-view/bootstrap-dark.scss +1 -5
  21. package/styles/list-view/bootstrap.scss +1 -5
  22. package/styles/list-view/bootstrap4.scss +1 -5
  23. package/styles/list-view/bootstrap5-dark.scss +1 -5
  24. package/styles/list-view/bootstrap5.scss +1 -5
  25. package/styles/list-view/fabric-dark.scss +1 -5
  26. package/styles/list-view/fabric.scss +1 -5
  27. package/styles/list-view/fluent-dark.scss +1 -5
  28. package/styles/list-view/fluent.scss +1 -5
  29. package/styles/list-view/highcontrast-light.scss +1 -5
  30. package/styles/list-view/highcontrast.scss +1 -5
  31. package/styles/list-view/material-dark.scss +1 -5
  32. package/styles/list-view/material.scss +1 -5
  33. package/styles/list-view/tailwind-dark.scss +1 -5
  34. package/styles/list-view/tailwind.scss +1 -5
  35. package/styles/sortable/bootstrap-dark.scss +1 -3
  36. package/styles/sortable/bootstrap.scss +1 -3
  37. package/styles/sortable/bootstrap4.scss +1 -3
  38. package/styles/sortable/bootstrap5-dark.scss +1 -3
  39. package/styles/sortable/bootstrap5.scss +1 -3
  40. package/styles/sortable/fabric-dark.scss +1 -3
  41. package/styles/sortable/fabric.scss +1 -3
  42. package/styles/sortable/fluent-dark.scss +1 -3
  43. package/styles/sortable/fluent.scss +1 -3
  44. package/styles/sortable/highcontrast-light.scss +1 -3
  45. package/styles/sortable/highcontrast.scss +1 -3
  46. package/styles/sortable/material-dark.scss +1 -3
  47. package/styles/sortable/material.scss +1 -3
  48. package/styles/sortable/tailwind-dark.scss +1 -3
  49. package/styles/sortable/tailwind.scss +1 -3
  50. package/esm2020/public_api.mjs +0 -3
  51. package/esm2020/src/index.mjs +0 -5
  52. package/esm2020/src/list-view/listview-all.module.mjs +0 -29
  53. package/esm2020/src/list-view/listview.component.mjs +0 -85
  54. package/esm2020/src/list-view/listview.module.mjs +0 -25
  55. package/esm2020/syncfusion-ej2-angular-lists.mjs +0 -5
  56. package/fesm2015/syncfusion-ej2-angular-lists.mjs +0 -139
  57. package/fesm2015/syncfusion-ej2-angular-lists.mjs.map +0 -1
  58. package/fesm2020/syncfusion-ej2-angular-lists.mjs +0 -139
  59. package/fesm2020/syncfusion-ej2-angular-lists.mjs.map +0 -1
  60. package/styles/list-view/_all.scss +0 -2
  61. package/styles/list-view/_bootstrap-dark-definition.scss +0 -111
  62. package/styles/list-view/_bootstrap-definition.scss +0 -104
  63. package/styles/list-view/_bootstrap4-definition.scss +0 -107
  64. package/styles/list-view/_bootstrap5-dark-definition.scss +0 -1
  65. package/styles/list-view/_bootstrap5-definition.scss +0 -132
  66. package/styles/list-view/_fabric-dark-definition.scss +0 -111
  67. package/styles/list-view/_fabric-definition.scss +0 -104
  68. package/styles/list-view/_fluent-dark-definition.scss +0 -1
  69. package/styles/list-view/_fluent-definition.scss +0 -138
  70. package/styles/list-view/_fusionnew-definition.scss +0 -132
  71. package/styles/list-view/_highcontrast-definition.scss +0 -104
  72. package/styles/list-view/_highcontrast-light-definition.scss +0 -111
  73. package/styles/list-view/_layout.scss +0 -599
  74. package/styles/list-view/_material-dark-definition.scss +0 -111
  75. package/styles/list-view/_material-definition.scss +0 -104
  76. package/styles/list-view/_material3-definition.scss +0 -132
  77. package/styles/list-view/_tailwind-dark-definition.scss +0 -1
  78. package/styles/list-view/_tailwind-definition.scss +0 -124
  79. package/styles/list-view/_theme.scss +0 -322
  80. package/styles/list-view/icons/_bootstrap-dark.scss +0 -12
  81. package/styles/list-view/icons/_bootstrap.scss +0 -8
  82. package/styles/list-view/icons/_bootstrap4.scss +0 -8
  83. package/styles/list-view/icons/_bootstrap5-dark.scss +0 -1
  84. package/styles/list-view/icons/_bootstrap5.scss +0 -8
  85. package/styles/list-view/icons/_fabric-dark.scss +0 -12
  86. package/styles/list-view/icons/_fabric.scss +0 -8
  87. package/styles/list-view/icons/_fluent-dark.scss +0 -1
  88. package/styles/list-view/icons/_fluent.scss +0 -8
  89. package/styles/list-view/icons/_fusionnew.scss +0 -8
  90. package/styles/list-view/icons/_highcontrast-light.scss +0 -12
  91. package/styles/list-view/icons/_highcontrast.scss +0 -8
  92. package/styles/list-view/icons/_material-dark.scss +0 -11
  93. package/styles/list-view/icons/_material.scss +0 -7
  94. package/styles/list-view/icons/_material3.scss +0 -8
  95. package/styles/list-view/icons/_tailwind-dark.scss +0 -8
  96. package/styles/list-view/icons/_tailwind.scss +0 -8
  97. package/styles/sortable/_all.scss +0 -1
  98. package/styles/sortable/_bootstrap-dark-definition.scss +0 -1
  99. package/styles/sortable/_bootstrap-definition.scss +0 -1
  100. package/styles/sortable/_bootstrap4-definition.scss +0 -1
  101. package/styles/sortable/_bootstrap5-dark-definition.scss +0 -1
  102. package/styles/sortable/_bootstrap5-definition.scss +0 -1
  103. package/styles/sortable/_fabric-dark-definition.scss +0 -1
  104. package/styles/sortable/_fabric-definition.scss +0 -1
  105. package/styles/sortable/_fluent-dark-definition.scss +0 -1
  106. package/styles/sortable/_fluent-definition.scss +0 -1
  107. package/styles/sortable/_fusionnew-definition.scss +0 -1
  108. package/styles/sortable/_highcontrast-definition.scss +0 -1
  109. package/styles/sortable/_highcontrast-light-definition.scss +0 -1
  110. package/styles/sortable/_layout.scss +0 -28
  111. package/styles/sortable/_material-dark-definition.scss +0 -1
  112. package/styles/sortable/_material-definition.scss +0 -1
  113. package/styles/sortable/_material3-definition.scss +0 -1
  114. package/styles/sortable/_tailwind-dark-definition.scss +0 -1
  115. package/styles/sortable/_tailwind-definition.scss +0 -1
  116. package/syncfusion-ej2-angular-lists.d.ts +0 -5
package/CHANGELOG.md ADDED
@@ -0,0 +1,491 @@
1
+ # Changelog
2
+
3
+ ## [Unreleased]
4
+
5
+ ## 20.4.38 (2022-12-21)
6
+
7
+ ### ListView
8
+
9
+ #### Bug Fixes
10
+
11
+ - `#F168185` - The issue with "Sorting is not applied properly when entering different values in the text field of the ListView component" has been resolved.
12
+
13
+ ## 19.2.55 (2021-08-11)
14
+
15
+ ### ListView
16
+
17
+ #### Bug Fixes
18
+
19
+ - `#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.
20
+
21
+ ## 19.2.49 (2021-07-27)
22
+
23
+ ### Common
24
+
25
+ #### Bug Fixes
26
+
27
+ - Sortable helper element issue resolved in List Box.
28
+
29
+ ### ListView
30
+
31
+ #### Bug Fixes
32
+
33
+ - `#I335874` - The issue with "The additional new element is added in the template element of the List components" has been resolved.
34
+
35
+ ## 19.2.48 (2021-07-20)
36
+
37
+ ### ListView
38
+
39
+ #### Bug Fixes
40
+
41
+ - `#F164730` - "While grouping is enabled, dynamic items are not added to the proper group field in the ListView component" issue has been resolved.
42
+ - `#I325424`, `#I329625` - The issue with "While enabling virtualization support, the ListView functional template is not working" has been resolved.
43
+ - `#F166229` - The issue with "The ListView select event is not triggered when selecting items using the space key" has been resolved.
44
+
45
+ ## 19.2.47 (2021-07-13)
46
+
47
+ ### Common
48
+
49
+ #### Bug Fixes
50
+
51
+ - Sortable drop event is not triggered while dropping to the "no record found" element.
52
+
53
+ ## 19.1.65 (2021-05-25)
54
+
55
+ ### Common
56
+
57
+ #### Bug Fixes
58
+
59
+ - Sortable helper element issue resolved.
60
+
61
+ ## 19.1.56 (2021-04-13)
62
+
63
+ ### ListView
64
+
65
+ #### Bug Fixes
66
+
67
+ - `#309268` - Template content of ListView is not updated when updating the props date using `useState` has been fixed.
68
+
69
+ ## 19.1.54 (2021-03-30)
70
+
71
+ ### ListView
72
+
73
+ #### Bug Fixes
74
+
75
+ - `#304129`,`#304247` - The issue "ActionBegin event does not trigger before/after switching to new views in the nested ListView" has been fixed.
76
+ - `#310143` - The script error with refreshItemHeight method in ListView component has been resolved.
77
+
78
+ ## 18.3.53 (2020-12-08)
79
+
80
+ ### ListView
81
+
82
+ #### Bug Fixes
83
+
84
+ - `#302538` - The issue with "The space key is not accepted in input text while using inside of Listview Template" has been fixed.
85
+ - `#305040` - `The template issue in ListView component when using AddItem method` has been resolved.
86
+
87
+ ## 18.3.47 (2020-11-05)
88
+
89
+ ### ListBase
90
+
91
+ #### New Features
92
+
93
+ - `#291708`- Provided string and integer array support for data source property in ListBase.
94
+
95
+ ## 18.3.44 (2020-10-27)
96
+
97
+ ### ListView
98
+
99
+ #### Bug Fixes
100
+
101
+ - `#293803` - Provided hover support for ListView Virtualization.
102
+
103
+ ## 18.3.35 (2020-10-01)
104
+
105
+ ### ListView
106
+
107
+ #### New Features
108
+
109
+ - Provided support for rendering JsRender template in the ListView component.
110
+
111
+ #### Bug Fixes
112
+
113
+ - `#288456` - The issue when `clicking the header of the ListView component` has been resolved.
114
+
115
+ ## 18.2.48 (2020-08-04)
116
+
117
+ ### Common
118
+
119
+ #### Bug Fixes
120
+
121
+ - Sortable helper element hide inside the sidebar issue resolved.
122
+
123
+ ## 18.2.46 (2020-07-21)
124
+
125
+ ### ListView
126
+
127
+ #### Bug Fixes
128
+
129
+ - The issue with `The closest undefined error throws in the IE 11 browser` has been resolved.
130
+
131
+ ## 18.2.44 (2020-07-07)
132
+
133
+ ### ListView
134
+
135
+ #### Bug Fixes
136
+
137
+ - The issue with `enabling the virtualization support in ListView component that throws script error in IE 11 browser` has been resolved.
138
+
139
+ ### ListBase
140
+
141
+ #### Bug Fixes
142
+
143
+ - #276068 Issue with `grouping of list-item in header` has been fixed.
144
+
145
+ ## 17.4.40 (2019-12-24)
146
+
147
+ ### ListBox
148
+
149
+ #### Bug Fixes
150
+
151
+ - Provided 'beforeDrop' event.
152
+
153
+ ## 17.3.27 (2019-11-12)
154
+
155
+ ### ListBox
156
+
157
+ #### Bug Fixes
158
+
159
+ - Issue with Drag and Drop in Empty area of List Box has been fixed
160
+
161
+ ## 17.3.21 (2019-10-30)
162
+
163
+ ### ListBox
164
+
165
+ #### Bug Fixes
166
+
167
+ - Issue with Drag and Drop has been fixed
168
+
169
+ ### ListView
170
+
171
+ #### Bug Fixes
172
+
173
+ - #251219 - The content security policy issue has been fixed.
174
+
175
+ ## 17.3.16 (2019-10-09)
176
+
177
+ ### ListView
178
+
179
+ #### Bug Fixes
180
+
181
+ - Issue of rendering a listview with new data in virtualization has been fixed.
182
+
183
+ ## 17.1.47 (2019-05-14)
184
+
185
+ ### ListView
186
+
187
+ #### New Features
188
+
189
+ - #230272 - Provided the support for adding new list view item without re-render the listview in virtualization mode.
190
+
191
+ ## 17.1.43 (2019-04-30)
192
+
193
+ ### ListView
194
+
195
+ #### Bug Fixes
196
+
197
+ - Issue with maintaining checked items in virtualization mode while checking the checkbox item directly has been fixed.
198
+
199
+ ## 17.1.42 (2019-04-23)
200
+
201
+ ### ListView
202
+
203
+ #### Bug Fixes
204
+
205
+ - Issue in enabling `virtualization` with empty data source has been fixed.
206
+
207
+ ## 17.1.40 (2019-04-09)
208
+
209
+ ### ListBase
210
+
211
+ #### Bug Fixes
212
+
213
+ - Issue with single level element generation with fields mapping has been fixed.
214
+
215
+ ## 17.1.32-beta (2019-03-13)
216
+
217
+ ### ListView
218
+
219
+ #### Bug Fixes
220
+
221
+ - Issue with duplicate entries on updating the data source while binding data using data manager has been fixed.
222
+ - Now it is possible to perform key interactions with input list items displayed using custom templates.
223
+
224
+ ## 16.4.44 (2018-12-24)
225
+
226
+ ### ListView
227
+
228
+ #### Bug Fixes
229
+
230
+ - Fixed multiple CSS class not added properly while using `template` property in `UI Virtualization`.
231
+ - Fixed height calculation in `UI Virtualization` with sample level border inclusion.
232
+
233
+ ## 16.3.33 (2018-11-20)
234
+
235
+ ### ListView
236
+
237
+ #### Bug Fixes
238
+
239
+ - Fixed focus out event not triggered properly while interact `ListView` with keyboard navigation keys.
240
+
241
+ ## 16.3.30 (2018-11-01)
242
+
243
+ ### ListView
244
+
245
+ #### New Features
246
+
247
+ - Included `refreshItemHeight` public API to recalculate list item height in `UI Virtualization`.
248
+
249
+ ## 16.3.27 (2018-10-23)
250
+
251
+ ### ListView
252
+
253
+ #### Bug Fixes
254
+
255
+ - Fixed issue with `imageUrl` property while using with `template` rendering.
256
+
257
+ ## 16.3.25 (2018-10-15)
258
+
259
+ ### ListView
260
+
261
+ #### Bug Fixes
262
+
263
+ - Fixed remove selection of list items with `undefined` input using `selectItem` public method.
264
+ - Fixed custom `cssClass` not removed properly while using `destroy` public method.
265
+
266
+ ## 16.3.23 (2018-10-03)
267
+
268
+ ### ListView
269
+
270
+ #### Bug Fixes
271
+
272
+ - Fixed issue with typings while using custom fields in removeItem
273
+
274
+ ## 16.3.22 (2018-09-25)
275
+
276
+ ### ListView
277
+
278
+ #### Bug Fixes
279
+
280
+ - Fixed `getSelectedItems` method returns `undefined` values for remote data.
281
+
282
+ ## 16.3.21 (2018-09-22)
283
+
284
+ ### ListView
285
+
286
+ #### Bug Fixes
287
+
288
+ - Fixed `selectMultipleItems` public method issue with empty `dataSource`.
289
+ - Fixed `removeMultipleItems` public method issue with custom `fields` mapping.
290
+
291
+ ## 16.3.17 (2018-09-12)
292
+
293
+ ### ListView
294
+
295
+ #### New Features
296
+
297
+ - 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).
298
+
299
+ ## 16.2.49 (2018-08-21)
300
+
301
+ ### ListView
302
+
303
+ #### Bug Fixes
304
+
305
+ - Issue in `select` event arguments of `ListView` template rendering fixed.
306
+
307
+ ## 16.2.46 (2018-07-30)
308
+
309
+ ### ListView
310
+
311
+ #### Bug Fixes
312
+
313
+ - Fixed `select` event returns `undefined` arguments while loading with numeric `dataSource`.
314
+
315
+ ## 16.2.41 (2018-06-25)
316
+
317
+ ### ListView
318
+
319
+ #### New Features
320
+
321
+ - UI-Virtualization implemented to render only viewable list items in a view port on loading large number of data.
322
+
323
+ #### Breaking Changes
324
+
325
+ - The following API namings are renamed.
326
+
327
+ | Existing API Name | New API Name |
328
+ |:-:|:-:|
329
+ | unCheckAllItem | uncheckAllItems |
330
+ | unCheckItem | uncheckItem |
331
+ | checkAllItem | checkAllItems |
332
+
333
+ ## 16.1.42 (2018-05-15)
334
+
335
+ ### ListView
336
+
337
+ #### Bug Fixes
338
+
339
+ - Now `select` event will be triggered on `checkbox` interactions.
340
+
341
+ ## 16.1.38 (2018-05-02)
342
+
343
+ ### ListView
344
+
345
+ #### Bug Fixes
346
+
347
+ - Fixed `collapsible` icon alignment issue.
348
+
349
+ ## 16.1.37 (2018-04-24)
350
+
351
+ ### ListView
352
+
353
+ #### Bug Fixes
354
+
355
+ - Provided `checkbox` support for `NestedList`.
356
+
357
+ ## 16.1.35 (2018-04-17)
358
+
359
+ ### ListView
360
+
361
+ #### Bug Fixes
362
+
363
+ - The issue, 'The list items sorted in ascending order by default when the grouping is enabled', has been fixed.
364
+
365
+ ## 16.1.34 (2018-04-10)
366
+
367
+ ### ListView
368
+
369
+ #### Bug Fixes
370
+
371
+ - Provided option to `findItem` from given list element.
372
+
373
+ ## 16.1.32 (2018-03-29)
374
+
375
+ ### ListView
376
+
377
+ #### Bug Fixes
378
+
379
+ - The `addItem` public method without `FieldSettings` not properly working issue resolved.
380
+
381
+ ## 16.1.28 (2018-03-09)
382
+
383
+ ### Common
384
+
385
+ #### Bug Fixes
386
+
387
+ - `boolean` data is not supported in list generation issue has been fixed.
388
+
389
+ ## 16.1.24 (2018-02-22)
390
+
391
+ ### ListView
392
+
393
+ #### New Features
394
+
395
+ - The `checklist` feature implemented, which is used to select multiple items in ListView.
396
+
397
+ ## 15.4.26-preview (2018-01-23)
398
+
399
+ ### ListView
400
+
401
+ #### Bug Fixes
402
+
403
+ - Tab key is not focusing `ListView` properly issue has been fixed.
404
+
405
+ ## 15.4.24-preview (2018-01-10)
406
+
407
+ ### Common
408
+
409
+ #### Bug Fixes
410
+
411
+ - `data-value` not updated properly for array of string or number inputs bug fixed.
412
+
413
+ ## 15.4.23-preview (2017-12-27)
414
+
415
+ ### Common
416
+
417
+ #### New Features
418
+
419
+ - Added typing file for ES5 global scripts `(dist/global/index.d.ts)`.
420
+
421
+ #### Breaking Changes
422
+
423
+ - Modified the module bundle file name for ES6 bundling.
424
+
425
+ ### ListView
426
+
427
+ #### Bug Fixes
428
+
429
+ - `SelectItem` method is not working with option which only have text field.
430
+ - Complex `dataSource` binding support for ListView `fields`.
431
+
432
+ ## 15.4.22-preview (2017-12-14)
433
+
434
+ ### ListView
435
+
436
+ #### New Features
437
+
438
+ - Provided text binding support from complex `dataSource`.
439
+
440
+ #### Bug Fixes
441
+
442
+ - Empty `dataSource` not working properly on dynamic data issue fixed.
443
+ - `removeItem` method properly handled for dynamic `dataSource`.
444
+
445
+ ## 15.4.20-preview (2017-12-01)
446
+
447
+ ### ListView
448
+
449
+ #### New Features
450
+
451
+ - Upgraded TypeScript version to 2.6.2
452
+
453
+ ## 15.4.17-preview (2017-11-13)
454
+
455
+ ### ListView
456
+
457
+ ListView component represent data in interactive hierarchical structure interface across different layouts or views, which also has features of data-binding, template and grouping.
458
+
459
+
460
+ - **Data binding** - Supports data binding to display the list of items from the local or server-side data source.
461
+ - **Grouping** - Provides support to group the logically related items under a category.
462
+ - **Nested list** - Displays a set of nested list items in different layout.
463
+ - **Customizing templates** - Allows you to customize the list item, header and category group header.
464
+ - **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.
465
+
466
+
467
+ ## 17.4.39 (2019-12-17)
468
+
469
+ ### ListView
470
+
471
+ #### Bug Fixes
472
+
473
+ - `#255485` - The crashing issue that occurred when rendering list view with virtualization and grouping has been fixed.
474
+
475
+ ## 16.3.24 (2018-10-09)
476
+
477
+ ### ListView
478
+
479
+ #### Bug Fixes
480
+
481
+ - Issue fixed with `custom directive` compilation in `virtualization`.
482
+
483
+ ## 16.2.47 (2018-08-07)
484
+
485
+ ### ListView
486
+
487
+ #### Bug Fixes
488
+
489
+ - Provided renderer support.
490
+
491
+
@@ -0,0 +1,213 @@
1
+ /*!
2
+ * filename: ej2-angular-lists.umd.js
3
+ * version : 20.4.40
4
+ * Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.
5
+ * Use of this code is subject to the terms of our license.
6
+ * A copy of the current license can be obtained at any time by e-mailing
7
+ * licensing@syncfusion.com. Any infringement will be prosecuted under
8
+ * applicable laws.
9
+ */
10
+ (function (global, factory) {
11
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@syncfusion/ej2-angular-base'), require('@syncfusion/ej2-lists'), require('@angular/common')) :
12
+ typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@syncfusion/ej2-angular-base', '@syncfusion/ej2-lists', '@angular/common'], factory) :
13
+ (factory((global['ej2-angular-lists'] = {}),global.ng.core,global.ej2.angular.base,global.ej2.lists,global.ng.common));
14
+ }(this, (function (exports,core,ej2AngularBase,ej2Lists,common) { 'use strict';
15
+
16
+ var __extends = (this && this.__extends) || (function () {
17
+ var extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
20
+ return function (d, b) {
21
+ extendStatics(d, b);
22
+ function __() { this.constructor = d; }
23
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
24
+ };
25
+ })();
26
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
27
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
28
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
29
+ r = Reflect.decorate(decorators, target, key, desc);
30
+ else
31
+ for (var i = decorators.length - 1; i >= 0; i--)
32
+ if (d = decorators[i])
33
+ r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
34
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
35
+ };
36
+ var __metadata = (this && this.__metadata) || function (k, v) {
37
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
38
+ return Reflect.metadata(k, v);
39
+ };
40
+ var inputs = ['animation', 'checkBoxPosition', 'cssClass', 'dataSource', 'enable', 'enableHtmlSanitizer', 'enablePersistence', 'enableRtl', 'enableVirtualization', 'fields', 'groupTemplate', 'headerTemplate', 'headerTitle', 'height', 'htmlAttributes', 'locale', 'query', 'showCheckBox', 'showHeader', 'showIcon', 'sortOrder', 'template', 'width'];
41
+ var outputs = ['actionBegin', 'actionComplete', 'actionFailure', 'select'];
42
+ var twoWays = [''];
43
+ /**
44
+ * Represents Angular ListView Component
45
+ * ```
46
+ * <ejs-listview [dataSource]='data'></ejs-listview>
47
+ * ```
48
+ */
49
+ exports.ListViewComponent = /** @class */ (function (_super) {
50
+ __extends(ListViewComponent, _super);
51
+ /**
52
+ * @param {?} ngEle
53
+ * @param {?} srenderer
54
+ * @param {?} viewContainerRef
55
+ * @param {?} injector
56
+ */
57
+ function ListViewComponent(ngEle, srenderer, viewContainerRef, injector) {
58
+ var _this = _super.call(this) || this;
59
+ _this.ngEle = ngEle;
60
+ _this.srenderer = srenderer;
61
+ _this.viewContainerRef = viewContainerRef;
62
+ _this.injector = injector;
63
+ _this.element = _this.ngEle.nativeElement;
64
+ _this.injectedModules = _this.injectedModules || [];
65
+ try {
66
+ var mod = _this.injector.get('ListsVirtualization');
67
+ if (_this.injectedModules.indexOf(mod) === -1) {
68
+ _this.injectedModules.push(mod);
69
+ }
70
+ }
71
+ catch (_a) { }
72
+ _this.registerEvents(outputs);
73
+ _this.addTwoWay.call(_this, twoWays);
74
+ ej2AngularBase.setValue('currentInstance', _this, _this.viewContainerRef);
75
+ _this.context = new ej2AngularBase.ComponentBase();
76
+ return _this;
77
+ }
78
+ /**
79
+ * @return {?}
80
+ */
81
+ ListViewComponent.prototype.ngOnInit = function () {
82
+ this.context.ngOnInit(this);
83
+ };
84
+ /**
85
+ * @return {?}
86
+ */
87
+ ListViewComponent.prototype.ngAfterViewInit = function () {
88
+ this.context.ngAfterViewInit(this);
89
+ };
90
+ /**
91
+ * @return {?}
92
+ */
93
+ ListViewComponent.prototype.ngOnDestroy = function () {
94
+ this.context.ngOnDestroy(this);
95
+ };
96
+ /**
97
+ * @return {?}
98
+ */
99
+ ListViewComponent.prototype.ngAfterContentChecked = function () {
100
+ this.context.ngAfterContentChecked(this);
101
+ };
102
+ return ListViewComponent;
103
+ }(ej2Lists.ListView));
104
+ exports.ListViewComponent.decorators = [
105
+ { type: core.Component, args: [{
106
+ selector: 'ejs-listview',
107
+ inputs: inputs,
108
+ outputs: outputs,
109
+ template: '',
110
+ changeDetection: core.ChangeDetectionStrategy.OnPush,
111
+ queries: {}
112
+ },] },
113
+ ];
114
+ /**
115
+ * @nocollapse
116
+ */
117
+ exports.ListViewComponent.ctorParameters = function () { return [
118
+ { type: core.ElementRef, },
119
+ { type: core.Renderer2, },
120
+ { type: core.ViewContainerRef, },
121
+ { type: core.Injector, },
122
+ ]; };
123
+ exports.ListViewComponent.propDecorators = {
124
+ 'template': [{ type: core.ContentChild, args: ['template',] },],
125
+ 'groupTemplate': [{ type: core.ContentChild, args: ['groupTemplate',] },],
126
+ 'headerTemplate': [{ type: core.ContentChild, args: ['headerTemplate',] },],
127
+ };
128
+ __decorate([
129
+ ej2AngularBase.Template(),
130
+ __metadata("design:type", Object)
131
+ ], exports.ListViewComponent.prototype, "template", void 0);
132
+ __decorate([
133
+ ej2AngularBase.Template(),
134
+ __metadata("design:type", Object)
135
+ ], exports.ListViewComponent.prototype, "groupTemplate", void 0);
136
+ __decorate([
137
+ ej2AngularBase.Template(),
138
+ __metadata("design:type", Object)
139
+ ], exports.ListViewComponent.prototype, "headerTemplate", void 0);
140
+ exports.ListViewComponent = __decorate([
141
+ ej2AngularBase.ComponentMixins([ej2AngularBase.ComponentBase]),
142
+ __metadata("design:paramtypes", [core.ElementRef,
143
+ core.Renderer2,
144
+ core.ViewContainerRef,
145
+ core.Injector])
146
+ ], exports.ListViewComponent);
147
+ /**
148
+ * NgModule definition for the ListView component.
149
+ */
150
+ var ListViewModule = /** @class */ (function () {
151
+ function ListViewModule() {
152
+ }
153
+ return ListViewModule;
154
+ }());
155
+ ListViewModule.decorators = [
156
+ { type: core.NgModule, args: [{
157
+ imports: [common.CommonModule],
158
+ declarations: [
159
+ exports.ListViewComponent
160
+ ],
161
+ exports: [
162
+ exports.ListViewComponent
163
+ ]
164
+ },] },
165
+ ];
166
+ /**
167
+ * @nocollapse
168
+ */
169
+ ListViewModule.ctorParameters = function () { return []; };
170
+ var VirtualizationService = { provide: 'ListsVirtualization', useValue: ej2Lists.Virtualization };
171
+ /**
172
+ * NgModule definition for the ListView component with providers.
173
+ */
174
+ var ListViewAllModule = /** @class */ (function () {
175
+ function ListViewAllModule() {
176
+ }
177
+ return ListViewAllModule;
178
+ }());
179
+ ListViewAllModule.decorators = [
180
+ { type: core.NgModule, args: [{
181
+ imports: [common.CommonModule, ListViewModule],
182
+ exports: [
183
+ ListViewModule
184
+ ],
185
+ providers: [
186
+ VirtualizationService
187
+ ]
188
+ },] },
189
+ ];
190
+ /**
191
+ * @nocollapse
192
+ */
193
+ ListViewAllModule.ctorParameters = function () { return []; };
194
+
195
+ exports.ListViewModule = ListViewModule;
196
+ exports.ListViewAllModule = ListViewAllModule;
197
+ exports.VirtualizationService = VirtualizationService;
198
+ exports.ɵa = inputs;
199
+ exports.ɵb = outputs;
200
+ exports.classNames = ej2Lists.classNames;
201
+ exports.FieldSettings = ej2Lists.FieldSettings;
202
+ exports.ListView = ej2Lists.ListView;
203
+ exports.Virtualization = ej2Lists.Virtualization;
204
+ exports.cssClass = ej2Lists.cssClass;
205
+ exports.ListBase = ej2Lists.ListBase;
206
+ exports.getFieldValues = ej2Lists.getFieldValues;
207
+ exports.Sortable = ej2Lists.Sortable;
208
+ exports.moveTo = ej2Lists.moveTo;
209
+
210
+ Object.defineProperty(exports, '__esModule', { value: true });
211
+
212
+ })));
213
+ //# sourceMappingURL=ej2-angular-lists.umd.js.map