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

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