@skyux/lists 5.0.1 → 5.0.5

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 (44) hide show
  1. package/bundles/skyux-lists-testing.umd.js +26 -39
  2. package/bundles/skyux-lists.umd.js +218 -215
  3. package/documentation.json +160 -155
  4. package/esm2015/modules/filter/filter-button.component.js +6 -6
  5. package/esm2015/modules/filter/filter-inline-item.component.js +5 -5
  6. package/esm2015/modules/filter/filter-inline.component.js +5 -5
  7. package/esm2015/modules/filter/filter-summary-item.component.js +6 -6
  8. package/esm2015/modules/filter/filter-summary.component.js +5 -5
  9. package/esm2015/modules/filter/filter.module.js +10 -10
  10. package/esm2015/modules/infinite-scroll/infinite-scroll-dom-adapter.service.js +11 -12
  11. package/esm2015/modules/infinite-scroll/infinite-scroll.component.js +10 -12
  12. package/esm2015/modules/infinite-scroll/infinite-scroll.module.js +8 -22
  13. package/esm2015/modules/paging/paging.component.js +9 -10
  14. package/esm2015/modules/paging/paging.module.js +9 -13
  15. package/esm2015/modules/repeater/repeater-adapter.service.js +4 -4
  16. package/esm2015/modules/repeater/repeater-item-content.component.js +5 -5
  17. package/esm2015/modules/repeater/repeater-item-context-menu.component.js +5 -5
  18. package/esm2015/modules/repeater/repeater-item-title.component.js +5 -5
  19. package/esm2015/modules/repeater/repeater-item.component.js +12 -12
  20. package/esm2015/modules/repeater/repeater.component.js +24 -26
  21. package/esm2015/modules/repeater/repeater.module.js +10 -10
  22. package/esm2015/modules/repeater/repeater.service.js +5 -5
  23. package/esm2015/modules/shared/sky-lists-resources.module.js +45 -12
  24. package/esm2015/modules/sort/sort-item.component.js +10 -9
  25. package/esm2015/modules/sort/sort-menu-heading.component.js +5 -5
  26. package/esm2015/modules/sort/sort.component.js +8 -12
  27. package/esm2015/modules/sort/sort.module.js +10 -14
  28. package/esm2015/modules/sort/sort.service.js +4 -4
  29. package/esm2015/testing/filter/filter-fixture-button.js +2 -2
  30. package/esm2015/testing/filter/filter-fixture-summary.js +1 -1
  31. package/esm2015/testing/filter/filter-testing.module.js +6 -8
  32. package/esm2015/testing/infinite-scroll/infinite-scroll-fixture.js +1 -1
  33. package/esm2015/testing/infinite-scroll/infinite-scroll-testing.module.js +6 -8
  34. package/esm2015/testing/paging/paging-fixture.js +2 -2
  35. package/esm2015/testing/paging/paging-testing.module.js +6 -8
  36. package/esm2015/testing/sort/sort-fixture.js +5 -6
  37. package/esm2015/testing/sort/sort-testing.module.js +7 -13
  38. package/fesm2015/skyux-lists-testing.js +27 -40
  39. package/fesm2015/skyux-lists-testing.js.map +1 -1
  40. package/fesm2015/skyux-lists.js +201 -198
  41. package/fesm2015/skyux-lists.js.map +1 -1
  42. package/package.json +12 -12
  43. package/bundles/skyux-lists-testing.umd.js.map +0 -1
  44. package/bundles/skyux-lists.umd.js.map +0 -1
@@ -42,7 +42,7 @@
42
42
  "name": "NgModule"
43
43
  },
44
44
  "arguments": {
45
- "obj": "{\n declarations: [\n SkyFilterButtonComponent,\n SkyFilterInlineComponent,\n SkyFilterInlineItemComponent,\n SkyFilterSummaryComponent,\n SkyFilterSummaryItemComponent\n ],\n imports: [\n CommonModule,\n SkyIconModule,\n SkyListsResourcesModule,\n SkyTokensModule,\n SkyThemeModule\n ],\n exports: [\n SkyFilterButtonComponent,\n SkyFilterInlineComponent,\n SkyFilterInlineItemComponent,\n SkyFilterSummaryComponent,\n SkyFilterSummaryItemComponent\n ]\n}"
45
+ "obj": "{\n declarations: [\n SkyFilterButtonComponent,\n SkyFilterInlineComponent,\n SkyFilterInlineItemComponent,\n SkyFilterSummaryComponent,\n SkyFilterSummaryItemComponent,\n ],\n imports: [\n CommonModule,\n SkyIconModule,\n SkyListsResourcesModule,\n SkyTokensModule,\n SkyThemeModule,\n ],\n exports: [\n SkyFilterButtonComponent,\n SkyFilterInlineComponent,\n SkyFilterInlineItemComponent,\n SkyFilterSummaryComponent,\n SkyFilterSummaryItemComponent,\n ],\n}"
46
46
  }
47
47
  }
48
48
  ],
@@ -81,7 +81,7 @@
81
81
  "sources": [
82
82
  {
83
83
  "fileName": "projects/lists/src/modules/filter/filter.module.ts",
84
- "line": 65,
84
+ "line": 44,
85
85
  "character": 13
86
86
  }
87
87
  ]
@@ -100,7 +100,7 @@
100
100
  "name": "NgModule"
101
101
  },
102
102
  "arguments": {
103
- "obj": "{\n declarations: [\n SkyInfiniteScrollComponent\n ],\n imports: [\n CommonModule,\n SkyListsResourcesModule,\n SkyWaitModule\n ],\n exports: [\n SkyInfiniteScrollComponent\n ]\n}"
103
+ "obj": "{\n declarations: [SkyInfiniteScrollComponent],\n imports: [CommonModule, SkyListsResourcesModule, SkyWaitModule],\n exports: [SkyInfiniteScrollComponent],\n}"
104
104
  }
105
105
  }
106
106
  ],
@@ -139,7 +139,7 @@
139
139
  "sources": [
140
140
  {
141
141
  "fileName": "projects/lists/src/modules/infinite-scroll/infinite-scroll.module.ts",
142
- "line": 34,
142
+ "line": 16,
143
143
  "character": 13
144
144
  }
145
145
  ]
@@ -158,7 +158,7 @@
158
158
  "name": "NgModule"
159
159
  },
160
160
  "arguments": {
161
- "obj": "{\n declarations: [\n SkyPagingComponent\n ],\n imports: [\n CommonModule,\n SkyIconModule,\n SkyListsResourcesModule,\n SkyThemeModule\n ],\n exports: [\n SkyPagingComponent\n ]\n}"
161
+ "obj": "{\n declarations: [SkyPagingComponent],\n imports: [\n CommonModule,\n SkyIconModule,\n SkyListsResourcesModule,\n SkyThemeModule,\n ],\n exports: [SkyPagingComponent],\n}"
162
162
  }
163
163
  }
164
164
  ],
@@ -197,7 +197,7 @@
197
197
  "sources": [
198
198
  {
199
199
  "fileName": "projects/lists/src/modules/paging/paging.module.ts",
200
- "line": 39,
200
+ "line": 23,
201
201
  "character": 13
202
202
  }
203
203
  ]
@@ -216,7 +216,7 @@
216
216
  "name": "NgModule"
217
217
  },
218
218
  "arguments": {
219
- "obj": "{\n declarations: [\n SkyRepeaterComponent,\n SkyRepeaterItemComponent,\n SkyRepeaterItemContentComponent,\n SkyRepeaterItemContextMenuComponent,\n SkyRepeaterItemTitleComponent\n ],\n imports: [\n CommonModule,\n DragulaModule,\n SkyChevronModule,\n SkyCheckboxModule,\n SkyIconModule,\n SkyInlineFormModule,\n SkyListsResourcesModule\n ],\n exports: [\n SkyRepeaterComponent,\n SkyRepeaterItemComponent,\n SkyRepeaterItemContentComponent,\n SkyRepeaterItemContextMenuComponent,\n SkyRepeaterItemTitleComponent\n ]\n}"
219
+ "obj": "{\n declarations: [\n SkyRepeaterComponent,\n SkyRepeaterItemComponent,\n SkyRepeaterItemContentComponent,\n SkyRepeaterItemContextMenuComponent,\n SkyRepeaterItemTitleComponent,\n ],\n imports: [\n CommonModule,\n DragulaModule,\n SkyChevronModule,\n SkyCheckboxModule,\n SkyIconModule,\n SkyInlineFormModule,\n SkyListsResourcesModule,\n ],\n exports: [\n SkyRepeaterComponent,\n SkyRepeaterItemComponent,\n SkyRepeaterItemContentComponent,\n SkyRepeaterItemContextMenuComponent,\n SkyRepeaterItemTitleComponent,\n ],\n}"
220
220
  }
221
221
  }
222
222
  ],
@@ -255,7 +255,7 @@
255
255
  "sources": [
256
256
  {
257
257
  "fileName": "projects/lists/src/modules/repeater/repeater.module.ts",
258
- "line": 75,
258
+ "line": 50,
259
259
  "character": 13
260
260
  }
261
261
  ]
@@ -274,7 +274,7 @@
274
274
  "name": "NgModule"
275
275
  },
276
276
  "arguments": {
277
- "obj": "{\n declarations: [\n SkySortComponent,\n SkySortItemComponent,\n SkySortMenuHeadingComponent\n ],\n imports: [\n CommonModule,\n SkyDropdownModule,\n SkyIconModule,\n SkyIdModule,\n SkyListsResourcesModule,\n SkyThemeModule\n ],\n exports: [\n SkySortComponent,\n SkySortItemComponent\n ]\n}"
277
+ "obj": "{\n declarations: [\n SkySortComponent,\n SkySortItemComponent,\n SkySortMenuHeadingComponent,\n ],\n imports: [\n CommonModule,\n SkyDropdownModule,\n SkyIconModule,\n SkyIdModule,\n SkyListsResourcesModule,\n SkyThemeModule,\n ],\n exports: [SkySortComponent, SkySortItemComponent],\n}"
278
278
  }
279
279
  }
280
280
  ],
@@ -313,7 +313,7 @@
313
313
  "sources": [
314
314
  {
315
315
  "fileName": "projects/lists/src/modules/sort/sort.module.ts",
316
- "line": 60,
316
+ "line": 37,
317
317
  "character": 13
318
318
  }
319
319
  ]
@@ -332,7 +332,7 @@
332
332
  "name": "Component"
333
333
  },
334
334
  "arguments": {
335
- "obj": "{\n selector: 'sky-filter-button',\n styleUrls: ['./filter-button.component.scss'],\n templateUrl: './filter-button.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n}"
335
+ "obj": "{\n selector: 'sky-filter-button',\n styleUrls: ['./filter-button.component.scss'],\n templateUrl: './filter-button.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
336
336
  }
337
337
  }
338
338
  ],
@@ -382,7 +382,7 @@
382
382
  "sources": [
383
383
  {
384
384
  "fileName": "projects/lists/src/modules/filter/filter-button.component.ts",
385
- "line": 54,
385
+ "line": 53,
386
386
  "character": 9
387
387
  }
388
388
  ],
@@ -416,7 +416,7 @@
416
416
  "sources": [
417
417
  {
418
418
  "fileName": "projects/lists/src/modules/filter/filter-button.component.ts",
419
- "line": 38,
419
+ "line": 37,
420
420
  "character": 9
421
421
  }
422
422
  ],
@@ -449,7 +449,7 @@
449
449
  "sources": [
450
450
  {
451
451
  "fileName": "projects/lists/src/modules/filter/filter-button.component.ts",
452
- "line": 46,
452
+ "line": 45,
453
453
  "character": 9
454
454
  }
455
455
  ],
@@ -482,7 +482,7 @@
482
482
  "sources": [
483
483
  {
484
484
  "fileName": "projects/lists/src/modules/filter/filter-button.component.ts",
485
- "line": 60,
485
+ "line": 59,
486
486
  "character": 9
487
487
  }
488
488
  ],
@@ -516,7 +516,7 @@
516
516
  "sources": [
517
517
  {
518
518
  "fileName": "projects/lists/src/modules/filter/filter-button.component.ts",
519
- "line": 72,
519
+ "line": 71,
520
520
  "character": 9
521
521
  }
522
522
  ],
@@ -556,7 +556,7 @@
556
556
  "sources": [
557
557
  {
558
558
  "fileName": "projects/lists/src/modules/filter/filter-button.component.ts",
559
- "line": 66,
559
+ "line": 65,
560
560
  "character": 9
561
561
  }
562
562
  ],
@@ -587,7 +587,7 @@
587
587
  "sources": [
588
588
  {
589
589
  "fileName": "projects/lists/src/modules/filter/filter-button.component.ts",
590
- "line": 24,
590
+ "line": 23,
591
591
  "character": 13
592
592
  }
593
593
  ],
@@ -648,7 +648,7 @@
648
648
  "sources": [
649
649
  {
650
650
  "fileName": "projects/lists/src/modules/filter/filter-button.component.ts",
651
- "line": 76,
651
+ "line": 75,
652
652
  "character": 9
653
653
  }
654
654
  ],
@@ -727,7 +727,7 @@
727
727
  "name": "Component"
728
728
  },
729
729
  "arguments": {
730
- "obj": "{\n selector: 'sky-repeater-item',\n styleUrls: ['./repeater-item.component.scss'],\n templateUrl: './repeater-item.component.html',\n animations: [skyAnimationSlide],\n encapsulation: ViewEncapsulation.None\n}"
730
+ "obj": "{\n selector: 'sky-repeater-item',\n styleUrls: ['./repeater-item.component.scss'],\n templateUrl: './repeater-item.component.html',\n animations: [skyAnimationSlide],\n encapsulation: ViewEncapsulation.None,\n}"
731
731
  }
732
732
  }
733
733
  ],
@@ -741,7 +741,7 @@
741
741
  "sources": [
742
742
  {
743
743
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
744
- "line": 250,
744
+ "line": 232,
745
745
  "character": 2
746
746
  }
747
747
  ],
@@ -847,7 +847,7 @@
847
847
  "sources": [
848
848
  {
849
849
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
850
- "line": 153,
850
+ "line": 135,
851
851
  "character": 9
852
852
  }
853
853
  ],
@@ -874,7 +874,7 @@
874
874
  "sources": [
875
875
  {
876
876
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
877
- "line": 177,
877
+ "line": 159,
878
878
  "character": 9
879
879
  }
880
880
  ],
@@ -908,7 +908,7 @@
908
908
  "sources": [
909
909
  {
910
910
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
911
- "line": 175,
911
+ "line": 157,
912
912
  "character": 9
913
913
  }
914
914
  ],
@@ -947,7 +947,7 @@
947
947
  "sources": [
948
948
  {
949
949
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
950
- "line": 159,
950
+ "line": 141,
951
951
  "character": 9
952
952
  }
953
953
  ],
@@ -974,7 +974,7 @@
974
974
  "sources": [
975
975
  {
976
976
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
977
- "line": 179,
977
+ "line": 161,
978
978
  "character": 9
979
979
  }
980
980
  ],
@@ -1008,7 +1008,7 @@
1008
1008
  "sources": [
1009
1009
  {
1010
1010
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1011
- "line": 166,
1011
+ "line": 148,
1012
1012
  "character": 9
1013
1013
  }
1014
1014
  ],
@@ -1048,7 +1048,7 @@
1048
1048
  "sources": [
1049
1049
  {
1050
1050
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1051
- "line": 82,
1051
+ "line": 64,
1052
1052
  "character": 9
1053
1053
  }
1054
1054
  ],
@@ -1081,7 +1081,7 @@
1081
1081
  "sources": [
1082
1082
  {
1083
1083
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1084
- "line": 89,
1084
+ "line": 71,
1085
1085
  "character": 9
1086
1086
  }
1087
1087
  ],
@@ -1107,7 +1107,7 @@
1107
1107
  "sources": [
1108
1108
  {
1109
1109
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1110
- "line": 181,
1110
+ "line": 163,
1111
1111
  "character": 9
1112
1112
  }
1113
1113
  ],
@@ -1141,7 +1141,7 @@
1141
1141
  "sources": [
1142
1142
  {
1143
1143
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1144
- "line": 172,
1144
+ "line": 154,
1145
1145
  "character": 9
1146
1146
  }
1147
1147
  ],
@@ -1168,7 +1168,7 @@
1168
1168
  "sources": [
1169
1169
  {
1170
1170
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1171
- "line": 200,
1171
+ "line": 182,
1172
1172
  "character": 9
1173
1173
  }
1174
1174
  ],
@@ -1189,7 +1189,7 @@
1189
1189
  "sources": [
1190
1190
  {
1191
1191
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1192
- "line": 202,
1192
+ "line": 184,
1193
1193
  "character": 9
1194
1194
  }
1195
1195
  ],
@@ -1209,7 +1209,7 @@
1209
1209
  "sources": [
1210
1210
  {
1211
1211
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1212
- "line": 204,
1212
+ "line": 186,
1213
1213
  "character": 9
1214
1214
  }
1215
1215
  ],
@@ -1242,7 +1242,7 @@
1242
1242
  "sources": [
1243
1243
  {
1244
1244
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1245
- "line": 126,
1245
+ "line": 108,
1246
1246
  "character": 9
1247
1247
  }
1248
1248
  ],
@@ -1276,7 +1276,7 @@
1276
1276
  "sources": [
1277
1277
  {
1278
1278
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1279
- "line": 132,
1279
+ "line": 114,
1280
1280
  "character": 9
1281
1281
  }
1282
1282
  ],
@@ -1310,7 +1310,7 @@
1310
1310
  "sources": [
1311
1311
  {
1312
1312
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1313
- "line": 139,
1313
+ "line": 121,
1314
1314
  "character": 9
1315
1315
  }
1316
1316
  ],
@@ -1331,7 +1331,7 @@
1331
1331
  "sources": [
1332
1332
  {
1333
1333
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1334
- "line": 206,
1334
+ "line": 188,
1335
1335
  "character": 9
1336
1336
  }
1337
1337
  ],
@@ -1364,7 +1364,7 @@
1364
1364
  "sources": [
1365
1365
  {
1366
1366
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1367
- "line": 147,
1367
+ "line": 129,
1368
1368
  "character": 9
1369
1369
  }
1370
1370
  ],
@@ -1384,7 +1384,7 @@
1384
1384
  "sources": [
1385
1385
  {
1386
1386
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1387
- "line": 183,
1387
+ "line": 165,
1388
1388
  "character": 13
1389
1389
  }
1390
1390
  ],
@@ -1449,7 +1449,7 @@
1449
1449
  "sources": [
1450
1450
  {
1451
1451
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1452
- "line": 96,
1452
+ "line": 78,
1453
1453
  "character": 13
1454
1454
  }
1455
1455
  ],
@@ -1526,7 +1526,7 @@
1526
1526
  "sources": [
1527
1527
  {
1528
1528
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1529
- "line": 110,
1529
+ "line": 92,
1530
1530
  "character": 13
1531
1531
  }
1532
1532
  ],
@@ -1603,7 +1603,7 @@
1603
1603
  "sources": [
1604
1604
  {
1605
1605
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1606
- "line": 209,
1606
+ "line": 191,
1607
1607
  "character": 6
1608
1608
  }
1609
1609
  ],
@@ -1632,7 +1632,7 @@
1632
1632
  "sources": [
1633
1633
  {
1634
1634
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1635
- "line": 314,
1635
+ "line": 297,
1636
1636
  "character": 9
1637
1637
  }
1638
1638
  ],
@@ -1674,7 +1674,7 @@
1674
1674
  "sources": [
1675
1675
  {
1676
1676
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1677
- "line": 308,
1677
+ "line": 291,
1678
1678
  "character": 9
1679
1679
  }
1680
1680
  ],
@@ -1703,7 +1703,7 @@
1703
1703
  "sources": [
1704
1704
  {
1705
1705
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1706
- "line": 358,
1706
+ "line": 343,
1707
1707
  "character": 9
1708
1708
  }
1709
1709
  ],
@@ -1745,7 +1745,7 @@
1745
1745
  "sources": [
1746
1746
  {
1747
1747
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1748
- "line": 291,
1748
+ "line": 274,
1749
1749
  "character": 9
1750
1750
  }
1751
1751
  ],
@@ -1782,7 +1782,7 @@
1782
1782
  "sources": [
1783
1783
  {
1784
1784
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1785
- "line": 296,
1785
+ "line": 279,
1786
1786
  "character": 9
1787
1787
  }
1788
1788
  ],
@@ -1819,7 +1819,7 @@
1819
1819
  "sources": [
1820
1820
  {
1821
1821
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1822
- "line": 278,
1822
+ "line": 261,
1823
1823
  "character": 9
1824
1824
  }
1825
1825
  ],
@@ -1856,7 +1856,7 @@
1856
1856
  "sources": [
1857
1857
  {
1858
1858
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1859
- "line": 350,
1859
+ "line": 335,
1860
1860
  "character": 9
1861
1861
  }
1862
1862
  ],
@@ -1898,7 +1898,7 @@
1898
1898
  "sources": [
1899
1899
  {
1900
1900
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1901
- "line": 354,
1901
+ "line": 339,
1902
1902
  "character": 9
1903
1903
  }
1904
1904
  ],
@@ -1940,7 +1940,7 @@
1940
1940
  "sources": [
1941
1941
  {
1942
1942
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1943
- "line": 430,
1943
+ "line": 416,
1944
1944
  "character": 9
1945
1945
  }
1946
1946
  ],
@@ -1982,7 +1982,7 @@
1982
1982
  "sources": [
1983
1983
  {
1984
1984
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
1985
- "line": 423,
1985
+ "line": 409,
1986
1986
  "character": 9
1987
1987
  }
1988
1988
  ],
@@ -2024,7 +2024,7 @@
2024
2024
  "sources": [
2025
2025
  {
2026
2026
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
2027
- "line": 365,
2027
+ "line": 350,
2028
2028
  "character": 9
2029
2029
  }
2030
2030
  ],
@@ -2066,7 +2066,7 @@
2066
2066
  "sources": [
2067
2067
  {
2068
2068
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
2069
- "line": 318,
2069
+ "line": 301,
2070
2070
  "character": 9
2071
2071
  }
2072
2072
  ],
@@ -2108,7 +2108,7 @@
2108
2108
  "sources": [
2109
2109
  {
2110
2110
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
2111
- "line": 329,
2111
+ "line": 314,
2112
2112
  "character": 9
2113
2113
  }
2114
2114
  ],
@@ -2216,7 +2216,7 @@
2216
2216
  "sources": [
2217
2217
  {
2218
2218
  "fileName": "projects/lists/src/modules/repeater/repeater-item.component.ts",
2219
- "line": 74,
2219
+ "line": 55,
2220
2220
  "character": 13
2221
2221
  }
2222
2222
  ],
@@ -2252,7 +2252,7 @@
2252
2252
  "name": "Component"
2253
2253
  },
2254
2254
  "arguments": {
2255
- "obj": "{\n selector: 'sky-repeater',\n styleUrls: ['./repeater.component.scss'],\n templateUrl: './repeater.component.html',\n providers: [SkyRepeaterService, SkyRepeaterAdapterService],\n changeDetection: ChangeDetectionStrategy.OnPush\n}"
2255
+ "obj": "{\n selector: 'sky-repeater',\n styleUrls: ['./repeater.component.scss'],\n templateUrl: './repeater.component.html',\n providers: [SkyRepeaterService, SkyRepeaterAdapterService],\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
2256
2256
  }
2257
2257
  }
2258
2258
  ],
@@ -2266,7 +2266,7 @@
2266
2266
  "sources": [
2267
2267
  {
2268
2268
  "fileName": "projects/lists/src/modules/repeater/repeater.component.ts",
2269
- "line": 136,
2269
+ "line": 125,
2270
2270
  "character": 2
2271
2271
  }
2272
2272
  ],
@@ -2383,7 +2383,7 @@
2383
2383
  "sources": [
2384
2384
  {
2385
2385
  "fileName": "projects/lists/src/modules/repeater/repeater.component.ts",
2386
- "line": 63,
2386
+ "line": 52,
2387
2387
  "character": 9
2388
2388
  }
2389
2389
  ],
@@ -2416,7 +2416,7 @@
2416
2416
  "sources": [
2417
2417
  {
2418
2418
  "fileName": "projects/lists/src/modules/repeater/repeater.component.ts",
2419
- "line": 116,
2419
+ "line": 105,
2420
2420
  "character": 9
2421
2421
  }
2422
2422
  ],
@@ -2462,7 +2462,7 @@
2462
2462
  "sources": [
2463
2463
  {
2464
2464
  "fileName": "projects/lists/src/modules/repeater/repeater.component.ts",
2465
- "line": 72,
2465
+ "line": 61,
2466
2466
  "character": 9
2467
2467
  }
2468
2468
  ],
@@ -2482,7 +2482,7 @@
2482
2482
  "sources": [
2483
2483
  {
2484
2484
  "fileName": "projects/lists/src/modules/repeater/repeater.component.ts",
2485
- "line": 128,
2485
+ "line": 117,
2486
2486
  "character": 9
2487
2487
  }
2488
2488
  ],
@@ -2514,7 +2514,7 @@
2514
2514
  "sources": [
2515
2515
  {
2516
2516
  "fileName": "projects/lists/src/modules/repeater/repeater.component.ts",
2517
- "line": 126,
2517
+ "line": 115,
2518
2518
  "character": 9
2519
2519
  }
2520
2520
  ],
@@ -2554,7 +2554,7 @@
2554
2554
  "sources": [
2555
2555
  {
2556
2556
  "fileName": "projects/lists/src/modules/repeater/repeater.component.ts",
2557
- "line": 123,
2557
+ "line": 112,
2558
2558
  "character": 9
2559
2559
  }
2560
2560
  ],
@@ -2597,7 +2597,7 @@
2597
2597
  "sources": [
2598
2598
  {
2599
2599
  "fileName": "projects/lists/src/modules/repeater/repeater.component.ts",
2600
- "line": 80,
2600
+ "line": 69,
2601
2601
  "character": 9
2602
2602
  }
2603
2603
  ],
@@ -2628,7 +2628,7 @@
2628
2628
  "sources": [
2629
2629
  {
2630
2630
  "fileName": "projects/lists/src/modules/repeater/repeater.component.ts",
2631
- "line": 102,
2631
+ "line": 91,
2632
2632
  "character": 13
2633
2633
  }
2634
2634
  ],
@@ -2695,7 +2695,7 @@
2695
2695
  "sources": [
2696
2696
  {
2697
2697
  "fileName": "projects/lists/src/modules/repeater/repeater.component.ts",
2698
- "line": 180,
2698
+ "line": 175,
2699
2699
  "character": 9
2700
2700
  }
2701
2701
  ],
@@ -2732,7 +2732,7 @@
2732
2732
  "sources": [
2733
2733
  {
2734
2734
  "fileName": "projects/lists/src/modules/repeater/repeater.component.ts",
2735
- "line": 218,
2735
+ "line": 213,
2736
2736
  "character": 9
2737
2737
  }
2738
2738
  ],
@@ -2782,7 +2782,7 @@
2782
2782
  "sources": [
2783
2783
  {
2784
2784
  "fileName": "projects/lists/src/modules/repeater/repeater.component.ts",
2785
- "line": 239,
2785
+ "line": 233,
2786
2786
  "character": 9
2787
2787
  }
2788
2788
  ],
@@ -2850,7 +2850,7 @@
2850
2850
  "sources": [
2851
2851
  {
2852
2852
  "fileName": "projects/lists/src/modules/repeater/repeater.component.ts",
2853
- "line": 54,
2853
+ "line": 42,
2854
2854
  "character": 13
2855
2855
  }
2856
2856
  ],
@@ -2886,7 +2886,7 @@
2886
2886
  "name": "Component"
2887
2887
  },
2888
2888
  "arguments": {
2889
- "obj": "{\n selector: 'sky-repeater-item-title',\n templateUrl: './repeater-item-title.component.html'\n}"
2889
+ "obj": "{\n selector: 'sky-repeater-item-title',\n templateUrl: './repeater-item-title.component.html',\n}"
2890
2890
  }
2891
2891
  }
2892
2892
  ],
@@ -2925,7 +2925,7 @@
2925
2925
  "sources": [
2926
2926
  {
2927
2927
  "fileName": "projects/lists/src/modules/repeater/repeater-item-title.component.ts",
2928
- "line": 12,
2928
+ "line": 10,
2929
2929
  "character": 13
2930
2930
  }
2931
2931
  ]
@@ -2944,7 +2944,7 @@
2944
2944
  "name": "Component"
2945
2945
  },
2946
2946
  "arguments": {
2947
- "obj": "{\n selector: 'sky-sort-item',\n styleUrls: ['./sort-item.component.scss'],\n templateUrl: './sort-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n}"
2947
+ "obj": "{\n selector: 'sky-sort-item',\n styleUrls: ['./sort-item.component.scss'],\n templateUrl: './sort-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
2948
2948
  }
2949
2949
  }
2950
2950
  ],
@@ -2958,7 +2958,7 @@
2958
2958
  "sources": [
2959
2959
  {
2960
2960
  "fileName": "projects/lists/src/modules/sort/sort-item.component.ts",
2961
- "line": 53,
2961
+ "line": 49,
2962
2962
  "character": 2
2963
2963
  }
2964
2964
  ],
@@ -3025,7 +3025,7 @@
3025
3025
  "sources": [
3026
3026
  {
3027
3027
  "fileName": "projects/lists/src/modules/sort/sort-item.component.ts",
3028
- "line": 39,
3028
+ "line": 33,
3029
3029
  "character": 9
3030
3030
  }
3031
3031
  ],
@@ -3045,7 +3045,7 @@
3045
3045
  "sources": [
3046
3046
  {
3047
3047
  "fileName": "projects/lists/src/modules/sort/sort-item.component.ts",
3048
- "line": 47,
3048
+ "line": 41,
3049
3049
  "character": 9
3050
3050
  }
3051
3051
  ],
@@ -3085,7 +3085,7 @@
3085
3085
  "sources": [
3086
3086
  {
3087
3087
  "fileName": "projects/lists/src/modules/sort/sort-item.component.ts",
3088
- "line": 45,
3088
+ "line": 39,
3089
3089
  "character": 9
3090
3090
  }
3091
3091
  ],
@@ -3112,7 +3112,7 @@
3112
3112
  "sources": [
3113
3113
  {
3114
3114
  "fileName": "projects/lists/src/modules/sort/sort-item.component.ts",
3115
- "line": 77,
3115
+ "line": 80,
3116
3116
  "character": 9
3117
3117
  }
3118
3118
  ],
@@ -3191,7 +3191,7 @@
3191
3191
  "sources": [
3192
3192
  {
3193
3193
  "fileName": "projects/lists/src/modules/sort/sort-item.component.ts",
3194
- "line": 82,
3194
+ "line": 85,
3195
3195
  "character": 9
3196
3196
  }
3197
3197
  ],
@@ -3228,7 +3228,7 @@
3228
3228
  "sources": [
3229
3229
  {
3230
3230
  "fileName": "projects/lists/src/modules/sort/sort-item.component.ts",
3231
- "line": 55,
3231
+ "line": 54,
3232
3232
  "character": 9
3233
3233
  }
3234
3234
  ],
@@ -3286,7 +3286,7 @@
3286
3286
  "sources": [
3287
3287
  {
3288
3288
  "fileName": "projects/lists/src/modules/sort/sort-item.component.ts",
3289
- "line": 33,
3289
+ "line": 28,
3290
3290
  "character": 13
3291
3291
  }
3292
3292
  ],
@@ -3319,7 +3319,7 @@
3319
3319
  "name": "Component"
3320
3320
  },
3321
3321
  "arguments": {
3322
- "obj": "{\n selector: 'sky-sort',\n styleUrls: ['./sort.component.scss'],\n templateUrl: './sort.component.html',\n providers: [\n SkySortService\n ],\n changeDetection: ChangeDetectionStrategy.OnPush\n}"
3322
+ "obj": "{\n selector: 'sky-sort',\n styleUrls: ['./sort.component.scss'],\n templateUrl: './sort.component.html',\n providers: [SkySortService],\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
3323
3323
  }
3324
3324
  }
3325
3325
  ],
@@ -3356,7 +3356,7 @@
3356
3356
  "sources": [
3357
3357
  {
3358
3358
  "fileName": "projects/lists/src/modules/sort/sort.component.ts",
3359
- "line": 37,
3359
+ "line": 27,
3360
3360
  "character": 9
3361
3361
  }
3362
3362
  ],
@@ -3396,7 +3396,7 @@
3396
3396
  "sources": [
3397
3397
  {
3398
3398
  "fileName": "projects/lists/src/modules/sort/sort.component.ts",
3399
- "line": 35,
3399
+ "line": 25,
3400
3400
  "character": 9
3401
3401
  }
3402
3402
  ],
@@ -3417,7 +3417,7 @@
3417
3417
  "sources": [
3418
3418
  {
3419
3419
  "fileName": "projects/lists/src/modules/sort/sort.component.ts",
3420
- "line": 39,
3420
+ "line": 29,
3421
3421
  "character": 9
3422
3422
  }
3423
3423
  ],
@@ -3463,7 +3463,7 @@
3463
3463
  "sources": [
3464
3464
  {
3465
3465
  "fileName": "projects/lists/src/modules/sort/sort.component.ts",
3466
- "line": 29,
3466
+ "line": 20,
3467
3467
  "character": 13
3468
3468
  }
3469
3469
  ]
@@ -3485,7 +3485,7 @@
3485
3485
  "name": "Component"
3486
3486
  },
3487
3487
  "arguments": {
3488
- "obj": "{\n selector: 'sky-filter-inline',\n styleUrls: ['./filter-inline.component.scss'],\n templateUrl: './filter-inline.component.html'\n}"
3488
+ "obj": "{\n selector: 'sky-filter-inline',\n styleUrls: ['./filter-inline.component.scss'],\n templateUrl: './filter-inline.component.html',\n}"
3489
3489
  }
3490
3490
  }
3491
3491
  ],
@@ -3524,7 +3524,7 @@
3524
3524
  "sources": [
3525
3525
  {
3526
3526
  "fileName": "projects/lists/src/modules/filter/filter-inline.component.ts",
3527
- "line": 13,
3527
+ "line": 11,
3528
3528
  "character": 13
3529
3529
  }
3530
3530
  ]
@@ -3546,7 +3546,7 @@
3546
3546
  "name": "Component"
3547
3547
  },
3548
3548
  "arguments": {
3549
- "obj": "{\n selector: 'sky-filter-inline-item',\n styleUrls: ['./filter-inline-item.component.scss'],\n templateUrl: './filter-inline-item.component.html'\n}"
3549
+ "obj": "{\n selector: 'sky-filter-inline-item',\n styleUrls: ['./filter-inline-item.component.scss'],\n templateUrl: './filter-inline-item.component.html',\n}"
3550
3550
  }
3551
3551
  }
3552
3552
  ],
@@ -3585,7 +3585,7 @@
3585
3585
  "sources": [
3586
3586
  {
3587
3587
  "fileName": "projects/lists/src/modules/filter/filter-inline-item.component.ts",
3588
- "line": 13,
3588
+ "line": 11,
3589
3589
  "character": 13
3590
3590
  }
3591
3591
  ]
@@ -3607,7 +3607,7 @@
3607
3607
  "name": "Component"
3608
3608
  },
3609
3609
  "arguments": {
3610
- "obj": "{\n selector: 'sky-filter-summary-item',\n styleUrls: ['./filter-summary-item.component.scss'],\n templateUrl: './filter-summary-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n}"
3610
+ "obj": "{\n selector: 'sky-filter-summary-item',\n styleUrls: ['./filter-summary-item.component.scss'],\n templateUrl: './filter-summary-item.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
3611
3611
  }
3612
3612
  }
3613
3613
  ],
@@ -3657,7 +3657,7 @@
3657
3657
  "sources": [
3658
3658
  {
3659
3659
  "fileName": "projects/lists/src/modules/filter/filter-summary-item.component.ts",
3660
- "line": 30,
3660
+ "line": 29,
3661
3661
  "character": 9
3662
3662
  }
3663
3663
  ],
@@ -3697,7 +3697,7 @@
3697
3697
  "sources": [
3698
3698
  {
3699
3699
  "fileName": "projects/lists/src/modules/filter/filter-summary-item.component.ts",
3700
- "line": 24,
3700
+ "line": 23,
3701
3701
  "character": 9
3702
3702
  }
3703
3703
  ],
@@ -3731,7 +3731,7 @@
3731
3731
  "sources": [
3732
3732
  {
3733
3733
  "fileName": "projects/lists/src/modules/filter/filter-summary-item.component.ts",
3734
- "line": 36,
3734
+ "line": 35,
3735
3735
  "character": 9
3736
3736
  }
3737
3737
  ],
@@ -3758,7 +3758,7 @@
3758
3758
  "sources": [
3759
3759
  {
3760
3760
  "fileName": "projects/lists/src/modules/filter/filter-summary-item.component.ts",
3761
- "line": 42,
3761
+ "line": 41,
3762
3762
  "character": 9
3763
3763
  }
3764
3764
  ],
@@ -3787,7 +3787,7 @@
3787
3787
  "sources": [
3788
3788
  {
3789
3789
  "fileName": "projects/lists/src/modules/filter/filter-summary-item.component.ts",
3790
- "line": 38,
3790
+ "line": 37,
3791
3791
  "character": 9
3792
3792
  }
3793
3793
  ],
@@ -3816,7 +3816,7 @@
3816
3816
  "sources": [
3817
3817
  {
3818
3818
  "fileName": "projects/lists/src/modules/filter/filter-summary-item.component.ts",
3819
- "line": 46,
3819
+ "line": 45,
3820
3820
  "character": 9
3821
3821
  }
3822
3822
  ],
@@ -3887,7 +3887,7 @@
3887
3887
  "name": "Component"
3888
3888
  },
3889
3889
  "arguments": {
3890
- "obj": "{\n selector: 'sky-filter-summary',\n styleUrls: ['./filter-summary.component.scss'],\n templateUrl: './filter-summary.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n}"
3890
+ "obj": "{\n selector: 'sky-filter-summary',\n styleUrls: ['./filter-summary.component.scss'],\n templateUrl: './filter-summary.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
3891
3891
  }
3892
3892
  }
3893
3893
  ],
@@ -3926,7 +3926,7 @@
3926
3926
  "sources": [
3927
3927
  {
3928
3928
  "fileName": "projects/lists/src/modules/filter/filter-summary.component.ts",
3929
- "line": 15,
3929
+ "line": 12,
3930
3930
  "character": 13
3931
3931
  }
3932
3932
  ]
@@ -3945,7 +3945,7 @@
3945
3945
  "name": "Component"
3946
3946
  },
3947
3947
  "arguments": {
3948
- "obj": "{\n selector: 'sky-infinite-scroll',\n templateUrl: './infinite-scroll.component.html',\n styleUrls: ['./infinite-scroll.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n SkyInfiniteScrollDomAdapterService\n ]\n}"
3948
+ "obj": "{\n selector: 'sky-infinite-scroll',\n templateUrl: './infinite-scroll.component.html',\n styleUrls: ['./infinite-scroll.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [SkyInfiniteScrollDomAdapterService],\n}"
3949
3949
  }
3950
3950
  }
3951
3951
  ],
@@ -3959,7 +3959,7 @@
3959
3959
  "sources": [
3960
3960
  {
3961
3961
  "fileName": "projects/lists/src/modules/infinite-scroll/infinite-scroll.component.ts",
3962
- "line": 90,
3962
+ "line": 81,
3963
3963
  "character": 2
3964
3964
  }
3965
3965
  ],
@@ -4030,7 +4030,7 @@
4030
4030
  "sources": [
4031
4031
  {
4032
4032
  "fileName": "projects/lists/src/modules/infinite-scroll/infinite-scroll.component.ts",
4033
- "line": 82,
4033
+ "line": 73,
4034
4034
  "character": 9
4035
4035
  }
4036
4036
  ],
@@ -4064,7 +4064,7 @@
4064
4064
  "sources": [
4065
4065
  {
4066
4066
  "fileName": "projects/lists/src/modules/infinite-scroll/infinite-scroll.component.ts",
4067
- "line": 80,
4067
+ "line": 71,
4068
4068
  "character": 9
4069
4069
  }
4070
4070
  ],
@@ -4101,7 +4101,7 @@
4101
4101
  "sources": [
4102
4102
  {
4103
4103
  "fileName": "projects/lists/src/modules/infinite-scroll/infinite-scroll.component.ts",
4104
- "line": 41,
4104
+ "line": 32,
4105
4105
  "character": 13
4106
4106
  }
4107
4107
  ],
@@ -4178,7 +4178,7 @@
4178
4178
  "sources": [
4179
4179
  {
4180
4180
  "fileName": "projects/lists/src/modules/infinite-scroll/infinite-scroll.component.ts",
4181
- "line": 62,
4181
+ "line": 53,
4182
4182
  "character": 13
4183
4183
  }
4184
4184
  ],
@@ -4245,7 +4245,7 @@
4245
4245
  "sources": [
4246
4246
  {
4247
4247
  "fileName": "projects/lists/src/modules/infinite-scroll/infinite-scroll.component.ts",
4248
- "line": 96,
4248
+ "line": 87,
4249
4249
  "character": 9
4250
4250
  }
4251
4251
  ],
@@ -4282,7 +4282,7 @@
4282
4282
  "sources": [
4283
4283
  {
4284
4284
  "fileName": "projects/lists/src/modules/infinite-scroll/infinite-scroll.component.ts",
4285
- "line": 102,
4285
+ "line": 93,
4286
4286
  "character": 9
4287
4287
  }
4288
4288
  ],
@@ -4337,7 +4337,7 @@
4337
4337
  "sources": [
4338
4338
  {
4339
4339
  "fileName": "projects/lists/src/modules/infinite-scroll/infinite-scroll.component.ts",
4340
- "line": 33,
4340
+ "line": 25,
4341
4341
  "character": 13
4342
4342
  }
4343
4343
  ],
@@ -4362,7 +4362,7 @@
4362
4362
  "name": "Component"
4363
4363
  },
4364
4364
  "arguments": {
4365
- "obj": "{\n selector: 'sky-paging',\n templateUrl: './paging.component.html',\n styleUrls: ['./paging.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush\n}"
4365
+ "obj": "{\n selector: 'sky-paging',\n templateUrl: './paging.component.html',\n styleUrls: ['./paging.component.scss'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n}"
4366
4366
  }
4367
4367
  }
4368
4368
  ],
@@ -4412,7 +4412,7 @@
4412
4412
  "sources": [
4413
4413
  {
4414
4414
  "fileName": "projects/lists/src/modules/paging/paging.component.ts",
4415
- "line": 23,
4415
+ "line": 22,
4416
4416
  "character": 9
4417
4417
  }
4418
4418
  ],
@@ -4446,7 +4446,7 @@
4446
4446
  "sources": [
4447
4447
  {
4448
4448
  "fileName": "projects/lists/src/modules/paging/paging.component.ts",
4449
- "line": 57,
4449
+ "line": 56,
4450
4450
  "character": 9
4451
4451
  }
4452
4452
  ],
@@ -4473,7 +4473,7 @@
4473
4473
  "sources": [
4474
4474
  {
4475
4475
  "fileName": "projects/lists/src/modules/paging/paging.component.ts",
4476
- "line": 59,
4476
+ "line": 58,
4477
4477
  "character": 9
4478
4478
  }
4479
4479
  ],
@@ -4510,7 +4510,7 @@
4510
4510
  "sources": [
4511
4511
  {
4512
4512
  "fileName": "projects/lists/src/modules/paging/paging.component.ts",
4513
- "line": 29,
4513
+ "line": 28,
4514
4514
  "character": 9
4515
4515
  }
4516
4516
  ],
@@ -4544,7 +4544,7 @@
4544
4544
  "sources": [
4545
4545
  {
4546
4546
  "fileName": "projects/lists/src/modules/paging/paging.component.ts",
4547
- "line": 35,
4547
+ "line": 34,
4548
4548
  "character": 9
4549
4549
  }
4550
4550
  ],
@@ -4565,7 +4565,7 @@
4565
4565
  "sources": [
4566
4566
  {
4567
4567
  "fileName": "projects/lists/src/modules/paging/paging.component.ts",
4568
- "line": 61,
4568
+ "line": 60,
4569
4569
  "character": 9
4570
4570
  }
4571
4571
  ],
@@ -4599,7 +4599,7 @@
4599
4599
  "sources": [
4600
4600
  {
4601
4601
  "fileName": "projects/lists/src/modules/paging/paging.component.ts",
4602
- "line": 41,
4602
+ "line": 40,
4603
4603
  "character": 9
4604
4604
  }
4605
4605
  ],
@@ -4639,7 +4639,7 @@
4639
4639
  "sources": [
4640
4640
  {
4641
4641
  "fileName": "projects/lists/src/modules/paging/paging.component.ts",
4642
- "line": 51,
4642
+ "line": 50,
4643
4643
  "character": 9
4644
4644
  }
4645
4645
  ],
@@ -4659,7 +4659,7 @@
4659
4659
  "sources": [
4660
4660
  {
4661
4661
  "fileName": "projects/lists/src/modules/paging/paging.component.ts",
4662
- "line": 100,
4662
+ "line": 98,
4663
4663
  "character": 13
4664
4664
  }
4665
4665
  ],
@@ -4688,7 +4688,7 @@
4688
4688
  "sources": [
4689
4689
  {
4690
4690
  "fileName": "projects/lists/src/modules/paging/paging.component.ts",
4691
- "line": 96,
4691
+ "line": 94,
4692
4692
  "character": 13
4693
4693
  }
4694
4694
  ],
@@ -4717,7 +4717,7 @@
4717
4717
  "sources": [
4718
4718
  {
4719
4719
  "fileName": "projects/lists/src/modules/paging/paging.component.ts",
4720
- "line": 88,
4720
+ "line": 86,
4721
4721
  "character": 9
4722
4722
  }
4723
4723
  ],
@@ -4746,7 +4746,7 @@
4746
4746
  "sources": [
4747
4747
  {
4748
4748
  "fileName": "projects/lists/src/modules/paging/paging.component.ts",
4749
- "line": 63,
4749
+ "line": 62,
4750
4750
  "character": 9
4751
4751
  }
4752
4752
  ],
@@ -4796,7 +4796,7 @@
4796
4796
  "sources": [
4797
4797
  {
4798
4798
  "fileName": "projects/lists/src/modules/paging/paging.component.ts",
4799
- "line": 92,
4799
+ "line": 90,
4800
4800
  "character": 9
4801
4801
  }
4802
4802
  ],
@@ -4825,7 +4825,7 @@
4825
4825
  "sources": [
4826
4826
  {
4827
4827
  "fileName": "projects/lists/src/modules/paging/paging.component.ts",
4828
- "line": 67,
4828
+ "line": 66,
4829
4829
  "character": 9
4830
4830
  }
4831
4831
  ],
@@ -4929,7 +4929,7 @@
4929
4929
  "name": "Component"
4930
4930
  },
4931
4931
  "arguments": {
4932
- "obj": "{\n selector: 'sky-repeater-item-content',\n templateUrl: './repeater-item-content.component.html'\n}"
4932
+ "obj": "{\n selector: 'sky-repeater-item-content',\n templateUrl: './repeater-item-content.component.html',\n}"
4933
4933
  }
4934
4934
  }
4935
4935
  ],
@@ -4968,7 +4968,7 @@
4968
4968
  "sources": [
4969
4969
  {
4970
4970
  "fileName": "projects/lists/src/modules/repeater/repeater-item-content.component.ts",
4971
- "line": 12,
4971
+ "line": 10,
4972
4972
  "character": 13
4973
4973
  }
4974
4974
  ]
@@ -4990,7 +4990,7 @@
4990
4990
  "name": "Component"
4991
4991
  },
4992
4992
  "arguments": {
4993
- "obj": "{\n selector: 'sky-repeater-item-context-menu',\n templateUrl: './repeater-item-context-menu.component.html'\n}"
4993
+ "obj": "{\n selector: 'sky-repeater-item-context-menu',\n templateUrl: './repeater-item-context-menu.component.html',\n}"
4994
4994
  }
4995
4995
  }
4996
4996
  ],
@@ -5029,7 +5029,7 @@
5029
5029
  "sources": [
5030
5030
  {
5031
5031
  "fileName": "projects/lists/src/modules/repeater/repeater-item-context-menu.component.ts",
5032
- "line": 15,
5032
+ "line": 13,
5033
5033
  "character": 13
5034
5034
  }
5035
5035
  ]
@@ -5071,100 +5071,105 @@
5071
5071
  ]
5072
5072
  },
5073
5073
  "codeExamples": [
5074
+ {
5075
+ "fileName": ".eslintrc.json",
5076
+ "filePath": "/projects/lists/documentation/code-examples/.eslintrc.json",
5077
+ "rawContents": "{\n \"extends\": [\"../../.eslintrc.json\"],\n \"overrides\": [\n {\n \"files\": [\"*.ts\"],\n \"rules\": {\n \"@angular-eslint/directive-selector\": [\n \"error\",\n {\n \"type\": \"attribute\",\n \"prefix\": \"app\",\n \"style\": \"camelCase\"\n }\n ],\n \"@angular-eslint/component-selector\": [\n \"error\",\n {\n \"type\": \"element\",\n \"prefix\": \"app\",\n \"style\": \"kebab-case\"\n }\n ]\n }\n }\n ]\n}\n"
5078
+ },
5074
5079
  {
5075
5080
  "fileName": "filter-demo.component.html",
5076
5081
  "filePath": "/projects/lists/documentation/code-examples/filter/inline/filter-demo.component.html",
5077
- "rawContents": "<sky-toolbar>\n <sky-toolbar-section>\n <sky-toolbar-item>\n <sky-filter-button\n [active]=\"filtersActive\"\n [ariaControls]=\"inlineFilters.id\"\n [ariaExpanded]=\"showInlineFilters\"\n [showButtonText]=\"true\"\n (filterButtonClick)=\"filterButtonClicked()\"\n >\n </sky-filter-button>\n </sky-toolbar-item>\n </sky-toolbar-section>\n</sky-toolbar>\n\n<div\n skyId\n [hidden]=\"!showInlineFilters\"\n #inlineFilters\n>\n <sky-filter-inline>\n <sky-filter-inline-item>\n <label\n class=\"sky-control-label sky-margin-inline-default\"\n [for]=\"fruitInput.id\"\n >\n Fruit type\n </label>\n <select\n skyId\n [ngModel]=\"fruitType\"\n (ngModelChange)=\"fruitTypeChange($event)\"\n #fruitInput\n >\n <option\n value=\"any\"\n >\n Any fruit\n </option>\n <option\n value=\"citrus\"\n >\n Citrus\n </option>\n <option\n value=\"berry\"\n >\n Berry\n </option>\n </select>\n </sky-filter-inline-item>\n <sky-filter-inline-item>\n <sky-checkbox\n [ngModel]=\"hideOrange\"\n (ngModelChange)=\"hideOrangeChange($event)\"\n >\n <sky-checkbox-label>\n Hide orange fruits\n </sky-checkbox-label>\n </sky-checkbox>\n </sky-filter-inline-item>\n </sky-filter-inline>\n</div>\n\n<sky-repeater\n expandMode=\"none\"\n>\n <sky-repeater-item *ngFor=\"let item of filteredItems\">\n <sky-repeater-item-title>\n {{item.name}}\n </sky-repeater-item-title>\n </sky-repeater-item>\n</sky-repeater>\n"
5082
+ "rawContents": "<sky-toolbar>\n <sky-toolbar-section>\n <sky-toolbar-item>\n <sky-filter-button\n [active]=\"filtersActive\"\n [ariaControls]=\"inlineFilters.id\"\n [ariaExpanded]=\"showInlineFilters\"\n [showButtonText]=\"true\"\n (filterButtonClick)=\"filterButtonClicked()\"\n >\n </sky-filter-button>\n </sky-toolbar-item>\n </sky-toolbar-section>\n</sky-toolbar>\n\n<div skyId [hidden]=\"!showInlineFilters\" #inlineFilters>\n <sky-filter-inline>\n <sky-filter-inline-item>\n <label\n class=\"sky-control-label sky-margin-inline-default\"\n [for]=\"fruitInput.id\"\n >\n Fruit type\n </label>\n <select\n skyId\n [ngModel]=\"fruitType\"\n (ngModelChange)=\"fruitTypeChange($event)\"\n #fruitInput\n >\n <option value=\"any\">Any fruit</option>\n <option value=\"citrus\">Citrus</option>\n <option value=\"berry\">Berry</option>\n </select>\n </sky-filter-inline-item>\n <sky-filter-inline-item>\n <sky-checkbox\n [ngModel]=\"hideOrange\"\n (ngModelChange)=\"hideOrangeChange($event)\"\n >\n <sky-checkbox-label> Hide orange fruits </sky-checkbox-label>\n </sky-checkbox>\n </sky-filter-inline-item>\n </sky-filter-inline>\n</div>\n\n<sky-repeater expandMode=\"none\">\n <sky-repeater-item *ngFor=\"let item of filteredItems\">\n <sky-repeater-item-title>\n {{ item.name }}\n </sky-repeater-item-title>\n </sky-repeater-item>\n</sky-repeater>\n"
5078
5083
  },
5079
5084
  {
5080
5085
  "fileName": "filter-demo.component.ts",
5081
5086
  "filePath": "/projects/lists/documentation/code-examples/filter/inline/filter-demo.component.ts",
5082
- "rawContents": "import {\n Component\n} from '@angular/core';\n\n@Component({\n selector: 'app-filter-demo',\n templateUrl: './filter-demo.component.html'\n})\nexport class FilterDemoComponent {\n\n public appliedFilters: any[] = [];\n\n public filteredItems: any[];\n\n public filtersActive: boolean = false;\n\n public fruitType: string = 'any';\n\n public hideOrange: boolean = false;\n\n public items: any[] = [\n {\n name: 'Orange',\n type: 'citrus',\n color: 'orange'\n },\n {\n name: 'Mango',\n type: 'other',\n color: 'orange'\n },\n {\n name: 'Lime',\n type: 'citrus',\n color: 'green'\n },\n {\n name: 'Strawberry',\n type: 'berry',\n color: 'red'\n },\n {\n name: 'Blueberry',\n type: 'berry',\n color: 'blue'\n }\n ];\n\n public showInlineFilters: boolean = false;\n\n constructor() {\n this.filteredItems = this.items.slice();\n }\n\n public filterButtonClicked(): void {\n this.showInlineFilters = !this.showInlineFilters;\n }\n\n public fruitTypeChange(newValue: string): void {\n this.fruitType = newValue;\n this.setFilterActiveState();\n }\n\n public hideOrangeChange(newValue: boolean): void {\n this.hideOrange = newValue;\n this.setFilterActiveState();\n }\n\n private setFilterActiveState(): void {\n this.appliedFilters = [];\n if (this.fruitType !== 'any') {\n this.appliedFilters.push({\n name: 'fruitType',\n value: this.fruitType\n });\n }\n if (this.hideOrange) {\n this.appliedFilters.push({\n name: 'hideOrange',\n value: true\n });\n }\n this.filtersActive = this.appliedFilters.length > 0;\n\n this.filteredItems = this.filterItems(this.items, this.appliedFilters);\n }\n\n private orangeFilterFailed(filter: any, item: any): any {\n return filter.name === 'hideOrange' && filter.value && item.color === 'orange';\n }\n\n private fruitTypeFilterFailed(filter: any, item: any): any {\n return filter.name === 'fruitType' && filter.value !== 'any' && filter.value !== item.type;\n }\n\n private itemIsShown(filters: any[], item: any[]): boolean {\n let passesFilter = true,\n j: number;\n\n for (j = 0; j < filters.length; j++) {\n if (this.orangeFilterFailed(filters[j], item)) {\n passesFilter = false;\n } else if (this.fruitTypeFilterFailed(filters[j], item)) {\n passesFilter = false;\n }\n }\n\n return passesFilter;\n }\n\n private filterItems(items: any[], filters: any[]): any[] {\n let i: number,\n passesFilter: boolean,\n result: any[] = [];\n\n for (i = 0; i < items.length; i++) {\n passesFilter = this.itemIsShown(filters, items[i]);\n if (passesFilter) {\n result.push(items[i]);\n }\n }\n\n return result;\n }\n\n}\n"
5087
+ "rawContents": "import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-filter-demo',\n templateUrl: './filter-demo.component.html',\n})\nexport class FilterDemoComponent {\n public appliedFilters: any[] = [];\n\n public filteredItems: any[];\n\n public filtersActive: boolean = false;\n\n public fruitType: string = 'any';\n\n public hideOrange: boolean = false;\n\n public items: any[] = [\n {\n name: 'Orange',\n type: 'citrus',\n color: 'orange',\n },\n {\n name: 'Mango',\n type: 'other',\n color: 'orange',\n },\n {\n name: 'Lime',\n type: 'citrus',\n color: 'green',\n },\n {\n name: 'Strawberry',\n type: 'berry',\n color: 'red',\n },\n {\n name: 'Blueberry',\n type: 'berry',\n color: 'blue',\n },\n ];\n\n public showInlineFilters: boolean = false;\n\n constructor() {\n this.filteredItems = this.items.slice();\n }\n\n public filterButtonClicked(): void {\n this.showInlineFilters = !this.showInlineFilters;\n }\n\n public fruitTypeChange(newValue: string): void {\n this.fruitType = newValue;\n this.setFilterActiveState();\n }\n\n public hideOrangeChange(newValue: boolean): void {\n this.hideOrange = newValue;\n this.setFilterActiveState();\n }\n\n private setFilterActiveState(): void {\n this.appliedFilters = [];\n if (this.fruitType !== 'any') {\n this.appliedFilters.push({\n name: 'fruitType',\n value: this.fruitType,\n });\n }\n if (this.hideOrange) {\n this.appliedFilters.push({\n name: 'hideOrange',\n value: true,\n });\n }\n this.filtersActive = this.appliedFilters.length > 0;\n\n this.filteredItems = this.filterItems(this.items, this.appliedFilters);\n }\n\n private orangeFilterFailed(filter: any, item: any): any {\n return (\n filter.name === 'hideOrange' && filter.value && item.color === 'orange'\n );\n }\n\n private fruitTypeFilterFailed(filter: any, item: any): any {\n return (\n filter.name === 'fruitType' &&\n filter.value !== 'any' &&\n filter.value !== item.type\n );\n }\n\n private itemIsShown(filters: any[], item: any[]): boolean {\n let passesFilter = true,\n j: number;\n\n for (j = 0; j < filters.length; j++) {\n if (this.orangeFilterFailed(filters[j], item)) {\n passesFilter = false;\n } else if (this.fruitTypeFilterFailed(filters[j], item)) {\n passesFilter = false;\n }\n }\n\n return passesFilter;\n }\n\n private filterItems(items: any[], filters: any[]): any[] {\n let i: number,\n passesFilter: boolean,\n result: any[] = [];\n\n for (i = 0; i < items.length; i++) {\n passesFilter = this.itemIsShown(filters, items[i]);\n if (passesFilter) {\n result.push(items[i]);\n }\n }\n\n return result;\n }\n}\n"
5083
5088
  },
5084
5089
  {
5085
5090
  "fileName": "filter-demo.module.ts",
5086
5091
  "filePath": "/projects/lists/documentation/code-examples/filter/inline/filter-demo.module.ts",
5087
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n FormsModule\n} from '@angular/forms';\n\nimport {\n SkyIdModule\n} from '@skyux/core';\n\nimport {\n SkyCheckboxModule\n} from '@skyux/forms';\n\nimport {\n SkyToolbarModule\n} from '@skyux/layout';\n\nimport {\n SkyFilterModule,\n SkyRepeaterModule\n} from '@skyux/lists';\n\nimport {\n FilterDemoComponent\n} from './filter-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n SkyCheckboxModule,\n SkyIdModule,\n SkyFilterModule,\n SkyRepeaterModule,\n SkyToolbarModule\n ],\n declarations: [\n FilterDemoComponent\n ],\n exports: [\n FilterDemoComponent\n ]\n})\nexport class FilterDemoModule { }\n"
5092
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { FormsModule } from '@angular/forms';\n\nimport { SkyIdModule } from '@skyux/core';\n\nimport { SkyCheckboxModule } from '@skyux/forms';\n\nimport { SkyToolbarModule } from '@skyux/layout';\n\nimport { SkyFilterModule, SkyRepeaterModule } from '@skyux/lists';\n\nimport { FilterDemoComponent } from './filter-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n SkyCheckboxModule,\n SkyIdModule,\n SkyFilterModule,\n SkyRepeaterModule,\n SkyToolbarModule,\n ],\n declarations: [FilterDemoComponent],\n exports: [FilterDemoComponent],\n})\nexport class FilterDemoModule {}\n"
5088
5093
  },
5089
5094
  {
5090
5095
  "fileName": "filter-demo-modal-context.ts",
5091
5096
  "filePath": "/projects/lists/documentation/code-examples/filter/modal/filter-demo-modal-context.ts",
5092
- "rawContents": "export class FilterDemoModalContext {\n\n public appliedFilters: any[];\n\n}\n"
5097
+ "rawContents": "export class FilterDemoModalContext {\n public appliedFilters: any[];\n}\n"
5093
5098
  },
5094
5099
  {
5095
5100
  "fileName": "filter-demo-modal.component.html",
5096
5101
  "filePath": "/projects/lists/documentation/code-examples/filter/modal/filter-demo-modal.component.html",
5097
- "rawContents": "<sky-modal>\n <sky-modal-header>\n Food preferences\n </sky-modal-header>\n <sky-modal-content>\n <label\n class=\"sky-control-label\"\n [for]=\"fruitInput.id\"\n >\n Fruit type\n </label>\n <select\n class=\"sky-form-control\"\n skyId\n [(ngModel)]=\"fruitType\"\n #fruitInput\n >\n <option value=\"any\">\n Any fruit\n </option>\n <option value=\"citrus\">\n Citrus\n </option>\n <option value=\"berry\">\n Berry\n </option>\n </select>\n <div\n style=\"margin-top: 15px;\"\n >\n <sky-checkbox\n [(ngModel)]=\"hideOrange\"\n >\n <sky-checkbox-label>\n Hide orange fruits\n </sky-checkbox-label>\n </sky-checkbox>\n </div>\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"applyFilters()\"\n >\n Apply filters\n </button>\n <button\n class=\"sky-btn sky-btn-link\"\n type=\"button\"\n (click)=\"clearAllFilters()\"\n >\n Clear filters\n </button>\n <button\n class=\"sky-btn sky-btn-link\"\n type=\"button\"\n (click)=\"cancel()\"\n >\n Cancel\n </button>\n </sky-modal-footer>\n</sky-modal>\n"
5102
+ "rawContents": "<sky-modal>\n <sky-modal-header> Food preferences </sky-modal-header>\n <sky-modal-content>\n <label class=\"sky-control-label\" [for]=\"fruitInput.id\"> Fruit type </label>\n <select class=\"sky-form-control\" skyId [(ngModel)]=\"fruitType\" #fruitInput>\n <option value=\"any\">Any fruit</option>\n <option value=\"citrus\">Citrus</option>\n <option value=\"berry\">Berry</option>\n </select>\n <div style=\"margin-top: 15px\">\n <sky-checkbox [(ngModel)]=\"hideOrange\">\n <sky-checkbox-label> Hide orange fruits </sky-checkbox-label>\n </sky-checkbox>\n </div>\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"applyFilters()\"\n >\n Apply filters\n </button>\n <button\n class=\"sky-btn sky-btn-link\"\n type=\"button\"\n (click)=\"clearAllFilters()\"\n >\n Clear filters\n </button>\n <button class=\"sky-btn sky-btn-link\" type=\"button\" (click)=\"cancel()\">\n Cancel\n </button>\n </sky-modal-footer>\n</sky-modal>\n"
5098
5103
  },
5099
5104
  {
5100
5105
  "fileName": "filter-demo-modal.component.ts",
5101
5106
  "filePath": "/projects/lists/documentation/code-examples/filter/modal/filter-demo-modal.component.ts",
5102
- "rawContents": "import {\n Component\n} from '@angular/core';\n\nimport {\n SkyModalInstance\n} from '@skyux/modals';\n\nimport {\n FilterDemoModalContext\n} from './filter-demo-modal-context';\n\n@Component({\n selector: 'app-filter-demo-modal',\n templateUrl: './filter-demo-modal.component.html'\n})\nexport class FilterDemoModalComponent {\n\n public hideOrange: boolean;\n\n public fruitType = 'any';\n\n constructor(\n public context: FilterDemoModalContext,\n public instance: SkyModalInstance\n ) {\n if (\n this.context &&\n this.context.appliedFilters &&\n this.context.appliedFilters.length > 0\n ) {\n this.setFormFilters(this.context.appliedFilters);\n } else {\n this.clearAllFilters();\n }\n }\n\n public applyFilters(): void {\n let result = this.getAppliedFiltersArray();\n this.instance.save(result);\n }\n\n public cancel(): void {\n this.instance.cancel();\n }\n\n public clearAllFilters(): void {\n this.hideOrange = false;\n this.fruitType = 'any';\n }\n\n private getAppliedFiltersArray(): any[] {\n let appliedFilters: any[] = [];\n if (this.fruitType !== 'any') {\n appliedFilters.push({\n name: 'fruitType',\n value: this.fruitType,\n label: this.fruitType\n });\n }\n\n if (this.hideOrange) {\n appliedFilters.push({\n name: 'hideOrange',\n value: true,\n label: 'hide orange fruits'\n });\n }\n\n return appliedFilters;\n }\n\n private setFormFilters(appliedFilters: any[]): void {\n for (let i = 0; i < appliedFilters.length; i++) {\n if (appliedFilters[i].name === 'fruitType') {\n this.fruitType = appliedFilters[i].value;\n }\n\n if (appliedFilters[i].name === 'hideOrange') {\n this.hideOrange = appliedFilters[i].value;\n }\n }\n }\n}\n"
5107
+ "rawContents": "import { Component } from '@angular/core';\n\nimport { SkyModalInstance } from '@skyux/modals';\n\nimport { FilterDemoModalContext } from './filter-demo-modal-context';\n\n@Component({\n selector: 'app-filter-demo-modal',\n templateUrl: './filter-demo-modal.component.html',\n})\nexport class FilterDemoModalComponent {\n public hideOrange: boolean;\n\n public fruitType = 'any';\n\n constructor(\n public context: FilterDemoModalContext,\n public instance: SkyModalInstance\n ) {\n if (\n this.context &&\n this.context.appliedFilters &&\n this.context.appliedFilters.length > 0\n ) {\n this.setFormFilters(this.context.appliedFilters);\n } else {\n this.clearAllFilters();\n }\n }\n\n public applyFilters(): void {\n let result = this.getAppliedFiltersArray();\n this.instance.save(result);\n }\n\n public cancel(): void {\n this.instance.cancel();\n }\n\n public clearAllFilters(): void {\n this.hideOrange = false;\n this.fruitType = 'any';\n }\n\n private getAppliedFiltersArray(): any[] {\n let appliedFilters: any[] = [];\n if (this.fruitType !== 'any') {\n appliedFilters.push({\n name: 'fruitType',\n value: this.fruitType,\n label: this.fruitType,\n });\n }\n\n if (this.hideOrange) {\n appliedFilters.push({\n name: 'hideOrange',\n value: true,\n label: 'hide orange fruits',\n });\n }\n\n return appliedFilters;\n }\n\n private setFormFilters(appliedFilters: any[]): void {\n for (let i = 0; i < appliedFilters.length; i++) {\n if (appliedFilters[i].name === 'fruitType') {\n this.fruitType = appliedFilters[i].value;\n }\n\n if (appliedFilters[i].name === 'hideOrange') {\n this.hideOrange = appliedFilters[i].value;\n }\n }\n }\n}\n"
5103
5108
  },
5104
5109
  {
5105
5110
  "fileName": "filter-demo.component.html",
5106
5111
  "filePath": "/projects/lists/documentation/code-examples/filter/modal/filter-demo.component.html",
5107
- "rawContents": "<sky-toolbar>\n <sky-toolbar-section>\n <sky-toolbar-item>\n <sky-filter-button\n [showButtonText]=\"true\"\n (filterButtonClick)=\"onModalFilterButtonClick()\"\n >\n </sky-filter-button>\n </sky-toolbar-item>\n </sky-toolbar-section>\n <sky-toolbar-section *ngIf=\"appliedFilters && appliedFilters.length > 0\">\n <sky-filter-summary>\n <sky-filter-summary-item *ngFor=\"let item of appliedFilters; let i = index\"\n (dismiss)=\"onDismiss(i)\"\n >\n {{item.label}}\n </sky-filter-summary-item>\n </sky-filter-summary>\n </sky-toolbar-section>\n</sky-toolbar>\n<sky-repeater\n expandMode=\"none\"\n>\n <sky-repeater-item *ngFor=\"let item of filteredItems\">\n <sky-repeater-item-title>\n {{item.name}}\n </sky-repeater-item-title>\n </sky-repeater-item>\n</sky-repeater>\n"
5112
+ "rawContents": "<sky-toolbar>\n <sky-toolbar-section>\n <sky-toolbar-item>\n <sky-filter-button\n [showButtonText]=\"true\"\n (filterButtonClick)=\"onModalFilterButtonClick()\"\n >\n </sky-filter-button>\n </sky-toolbar-item>\n </sky-toolbar-section>\n <sky-toolbar-section *ngIf=\"appliedFilters && appliedFilters.length > 0\">\n <sky-filter-summary>\n <sky-filter-summary-item\n *ngFor=\"let item of appliedFilters; let i = index\"\n (dismiss)=\"onDismiss(i)\"\n >\n {{ item.label }}\n </sky-filter-summary-item>\n </sky-filter-summary>\n </sky-toolbar-section>\n</sky-toolbar>\n<sky-repeater expandMode=\"none\">\n <sky-repeater-item *ngFor=\"let item of filteredItems\">\n <sky-repeater-item-title>\n {{ item.name }}\n </sky-repeater-item-title>\n </sky-repeater-item>\n</sky-repeater>\n"
5108
5113
  },
5109
5114
  {
5110
5115
  "fileName": "filter-demo.component.ts",
5111
5116
  "filePath": "/projects/lists/documentation/code-examples/filter/modal/filter-demo.component.ts",
5112
- "rawContents": "import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component\n} from '@angular/core';\n\nimport {\n SkyModalCloseArgs,\n SkyModalService\n} from '@skyux/modals';\n\nimport {\n FilterDemoModalContext\n} from './filter-demo-modal-context';\n\nimport {\n FilterDemoModalComponent\n} from './filter-demo-modal.component';\n\n@Component({\n selector: 'app-filter-demo',\n templateUrl: './filter-demo.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FilterDemoComponent {\n\n public appliedFilters: any[] = [];\n\n public filteredItems: any[];\n\n public items: any[] = [\n {\n name: 'Orange',\n type: 'citrus',\n color: 'orange'\n },\n {\n name: 'Mango',\n type: 'other',\n color: 'orange'\n },\n {\n name: 'Lime',\n type: 'citrus',\n color: 'green'\n },\n {\n name: 'Strawberry',\n type: 'berry',\n color: 'red'\n },\n {\n name: 'Blueberry',\n type: 'berry',\n color: 'blue'\n }\n ];\n\n public showInlineFilters: boolean = false;\n\n constructor(\n private modal: SkyModalService,\n private changeRef: ChangeDetectorRef\n ) {\n this.filteredItems = this.items.slice();\n }\n\n public onDismiss(index: number): void {\n this.appliedFilters.splice(index, 1);\n this.filteredItems = this.filterItems(this.items, this.appliedFilters);\n }\n\n public onInlineFilterButtonClicked(): void {\n this.showInlineFilters = !this.showInlineFilters;\n }\n\n public onModalFilterButtonClick(): void {\n let modalInstance = this.modal.open(\n FilterDemoModalComponent,\n [{\n provide: FilterDemoModalContext,\n useValue: {\n appliedFilters: this.appliedFilters\n }\n }]\n );\n\n modalInstance.closed.subscribe((result: SkyModalCloseArgs) => {\n if (result.reason === 'save') {\n this.appliedFilters = result.data.slice();\n this.filteredItems = this.filterItems(this.items, this.appliedFilters);\n this.changeRef.markForCheck();\n }\n });\n }\n\n private fruitTypeFilterFailed(filter: any, item: any): boolean {\n return filter.name === 'fruitType' && filter.value !== 'any' && filter.value !== item.type;\n }\n\n private itemIsShown(filters: any[], item: any[]): boolean {\n let passesFilter = true,\n j: number;\n\n for (j = 0; j < filters.length; j++) {\n if (this.orangeFilterFailed(filters[j], item)) {\n passesFilter = false;\n } else if (this.fruitTypeFilterFailed(filters[j], item)) {\n passesFilter = false;\n }\n }\n\n return passesFilter;\n }\n\n private filterItems(items: any[], filters: any[]): any[] {\n let i: number,\n passesFilter: boolean,\n result: any[] = [];\n\n for (i = 0; i < items.length; i++) {\n passesFilter = this.itemIsShown(filters, items[i]);\n if (passesFilter) {\n result.push(items[i]);\n }\n }\n\n return result;\n }\n\n private orangeFilterFailed(filter: any, item: any): boolean {\n return filter.name === 'hideOrange' && filter.value && item.color === 'orange';\n }\n}\n"
5117
+ "rawContents": "import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n} from '@angular/core';\n\nimport { SkyModalCloseArgs, SkyModalService } from '@skyux/modals';\n\nimport { FilterDemoModalContext } from './filter-demo-modal-context';\n\nimport { FilterDemoModalComponent } from './filter-demo-modal.component';\n\n@Component({\n selector: 'app-filter-demo',\n templateUrl: './filter-demo.component.html',\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class FilterDemoComponent {\n public appliedFilters: any[] = [];\n\n public filteredItems: any[];\n\n public items: any[] = [\n {\n name: 'Orange',\n type: 'citrus',\n color: 'orange',\n },\n {\n name: 'Mango',\n type: 'other',\n color: 'orange',\n },\n {\n name: 'Lime',\n type: 'citrus',\n color: 'green',\n },\n {\n name: 'Strawberry',\n type: 'berry',\n color: 'red',\n },\n {\n name: 'Blueberry',\n type: 'berry',\n color: 'blue',\n },\n ];\n\n public showInlineFilters: boolean = false;\n\n constructor(\n private modal: SkyModalService,\n private changeRef: ChangeDetectorRef\n ) {\n this.filteredItems = this.items.slice();\n }\n\n public onDismiss(index: number): void {\n this.appliedFilters.splice(index, 1);\n this.filteredItems = this.filterItems(this.items, this.appliedFilters);\n }\n\n public onInlineFilterButtonClicked(): void {\n this.showInlineFilters = !this.showInlineFilters;\n }\n\n public onModalFilterButtonClick(): void {\n let modalInstance = this.modal.open(FilterDemoModalComponent, [\n {\n provide: FilterDemoModalContext,\n useValue: {\n appliedFilters: this.appliedFilters,\n },\n },\n ]);\n\n modalInstance.closed.subscribe((result: SkyModalCloseArgs) => {\n if (result.reason === 'save') {\n this.appliedFilters = result.data.slice();\n this.filteredItems = this.filterItems(this.items, this.appliedFilters);\n this.changeRef.markForCheck();\n }\n });\n }\n\n private fruitTypeFilterFailed(filter: any, item: any): boolean {\n return (\n filter.name === 'fruitType' &&\n filter.value !== 'any' &&\n filter.value !== item.type\n );\n }\n\n private itemIsShown(filters: any[], item: any[]): boolean {\n let passesFilter = true,\n j: number;\n\n for (j = 0; j < filters.length; j++) {\n if (this.orangeFilterFailed(filters[j], item)) {\n passesFilter = false;\n } else if (this.fruitTypeFilterFailed(filters[j], item)) {\n passesFilter = false;\n }\n }\n\n return passesFilter;\n }\n\n private filterItems(items: any[], filters: any[]): any[] {\n let i: number,\n passesFilter: boolean,\n result: any[] = [];\n\n for (i = 0; i < items.length; i++) {\n passesFilter = this.itemIsShown(filters, items[i]);\n if (passesFilter) {\n result.push(items[i]);\n }\n }\n\n return result;\n }\n\n private orangeFilterFailed(filter: any, item: any): boolean {\n return (\n filter.name === 'hideOrange' && filter.value && item.color === 'orange'\n );\n }\n}\n"
5113
5118
  },
5114
5119
  {
5115
5120
  "fileName": "filter-demo.module.ts",
5116
5121
  "filePath": "/projects/lists/documentation/code-examples/filter/modal/filter-demo.module.ts",
5117
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n FormsModule\n} from '@angular/forms';\n\nimport {\n SkyIdModule\n} from '@skyux/core';\n\nimport {\n SkyCheckboxModule\n} from '@skyux/forms';\n\nimport {\n SkyToolbarModule\n} from '@skyux/layout';\n\nimport {\n SkyFilterModule,\n SkyRepeaterModule\n} from '@skyux/lists';\n\nimport {\n SkyModalModule\n} from '@skyux/modals';\n\nimport {\n FilterDemoComponent\n} from './filter-demo.component';\n\nimport {\n FilterDemoModalComponent\n} from './filter-demo-modal.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n SkyIdModule,\n SkyCheckboxModule,\n SkyFilterModule,\n SkyModalModule,\n SkyRepeaterModule,\n SkyToolbarModule\n ],\n declarations: [\n FilterDemoComponent,\n FilterDemoModalComponent\n ],\n entryComponents: [\n FilterDemoModalComponent\n ],\n exports: [\n FilterDemoComponent\n ]\n})\nexport class FilterDemoModule { }\n"
5122
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { FormsModule } from '@angular/forms';\n\nimport { SkyIdModule } from '@skyux/core';\n\nimport { SkyCheckboxModule } from '@skyux/forms';\n\nimport { SkyToolbarModule } from '@skyux/layout';\n\nimport { SkyFilterModule, SkyRepeaterModule } from '@skyux/lists';\n\nimport { SkyModalModule } from '@skyux/modals';\n\nimport { FilterDemoComponent } from './filter-demo.component';\n\nimport { FilterDemoModalComponent } from './filter-demo-modal.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n SkyIdModule,\n SkyCheckboxModule,\n SkyFilterModule,\n SkyModalModule,\n SkyRepeaterModule,\n SkyToolbarModule,\n ],\n declarations: [FilterDemoComponent, FilterDemoModalComponent],\n entryComponents: [FilterDemoModalComponent],\n exports: [FilterDemoComponent],\n})\nexport class FilterDemoModule {}\n"
5118
5123
  },
5119
5124
  {
5120
5125
  "fileName": "infinite-scroll-demo.component.html",
5121
5126
  "filePath": "/projects/lists/documentation/code-examples/infinite-scroll/list/infinite-scroll-demo.component.html",
5122
- "rawContents": "<div\n style=\"overflow-y: auto; max-height: 400px; position: relative;\"\n>\n <sky-list\n [data]=\"items\"\n >\n <sky-list-view-grid\n fit=\"scroll\"\n >\n <sky-grid-column\n field=\"name\"\n heading=\"Name\"\n ></sky-grid-column>\n </sky-list-view-grid>\n </sky-list>\n <sky-infinite-scroll\n [enabled]=\"itemsHaveMore\"\n (scrollEnd)=\"onScrollEnd()\"\n >\n </sky-infinite-scroll>\n</div>\n<br>\n<br>\n"
5127
+ "rawContents": "<div style=\"overflow-y: auto; max-height: 400px; position: relative\">\n <sky-list [data]=\"items\">\n <sky-list-view-grid fit=\"scroll\">\n <sky-grid-column field=\"name\" heading=\"Name\"></sky-grid-column>\n </sky-list-view-grid>\n </sky-list>\n <sky-infinite-scroll [enabled]=\"itemsHaveMore\" (scrollEnd)=\"onScrollEnd()\">\n </sky-infinite-scroll>\n</div>\n<br />\n<br />\n"
5123
5128
  },
5124
5129
  {
5125
5130
  "fileName": "infinite-scroll-demo.component.ts",
5126
5131
  "filePath": "/projects/lists/documentation/code-examples/infinite-scroll/list/infinite-scroll-demo.component.ts",
5127
- "rawContents": "import {\n Component,\n OnInit\n} from '@angular/core';\n\nimport {\n BehaviorSubject\n} from 'rxjs';\n\nlet nextId = 0;\n\n@Component({\n selector: 'app-infinite-scroll-demo',\n templateUrl: './infinite-scroll-demo.component.html'\n})\nexport class InfiniteScrollDemoComponent implements OnInit {\n\n public itemsHaveMore = true;\n\n public items = new BehaviorSubject<any[]>([]);\n\n private _items: any[] = [];\n\n public ngOnInit(): void {\n this.addData();\n }\n\n public onScrollEnd(): void {\n if (this.itemsHaveMore) {\n this.addData();\n }\n }\n\n private addData(): void {\n this.mockRemote().then((result: any) => {\n this._items = this._items.concat(result.data);\n this.items.next(this._items);\n this.itemsHaveMore = result.hasMore;\n });\n }\n\n private mockRemote(): Promise<any> {\n const data: any[] = [];\n\n for (let i = 0; i < 8; i++) {\n data.push({\n name: `List item #${++nextId}`\n });\n }\n\n // Simulate async request.\n return new Promise((resolve: any) => {\n setTimeout(() => {\n resolve({\n data,\n hasMore: (nextId < 50)\n });\n }, 1000);\n });\n }\n}\n"
5132
+ "rawContents": "import { Component, OnInit } from '@angular/core';\n\nimport { BehaviorSubject } from 'rxjs';\n\nlet nextId = 0;\n\n@Component({\n selector: 'app-infinite-scroll-demo',\n templateUrl: './infinite-scroll-demo.component.html',\n})\nexport class InfiniteScrollDemoComponent implements OnInit {\n public itemsHaveMore = true;\n\n public items = new BehaviorSubject<any[]>([]);\n\n private _items: any[] = [];\n\n public ngOnInit(): void {\n this.addData();\n }\n\n public onScrollEnd(): void {\n if (this.itemsHaveMore) {\n this.addData();\n }\n }\n\n private addData(): void {\n this.mockRemote().then((result: any) => {\n this._items = this._items.concat(result.data);\n this.items.next(this._items);\n this.itemsHaveMore = result.hasMore;\n });\n }\n\n private mockRemote(): Promise<any> {\n const data: any[] = [];\n\n for (let i = 0; i < 8; i++) {\n data.push({\n name: `List item #${++nextId}`,\n });\n }\n\n // Simulate async request.\n return new Promise((resolve: any) => {\n setTimeout(() => {\n resolve({\n data,\n hasMore: nextId < 50,\n });\n }, 1000);\n });\n }\n}\n"
5128
5133
  },
5129
5134
  {
5130
5135
  "fileName": "infinite-scroll-demo.module.ts",
5131
5136
  "filePath": "/projects/lists/documentation/code-examples/infinite-scroll/list/infinite-scroll-demo.module.ts",
5132
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n SkyBackToTopModule\n} from '@skyux/layout';\n\nimport {\n SkyListModule\n} from '@skyux/list-builder';\n\nimport {\n SkyListViewGridModule\n} from '@skyux/list-builder-view-grids';\n\nimport {\n SkyInfiniteScrollModule\n} from '@skyux/lists';\n\nimport {\n InfiniteScrollDemoComponent\n} from './infinite-scroll-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n SkyBackToTopModule,\n SkyInfiniteScrollModule,\n SkyListModule,\n SkyListViewGridModule\n ],\n declarations: [\n InfiniteScrollDemoComponent\n ],\n exports: [\n InfiniteScrollDemoComponent\n ]\n})\nexport class InfiniteScrollDemoModule { }\n"
5137
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { SkyBackToTopModule } from '@skyux/layout';\n\nimport { SkyListModule } from '@skyux/list-builder';\n\nimport { SkyListViewGridModule } from '@skyux/list-builder-view-grids';\n\nimport { SkyInfiniteScrollModule } from '@skyux/lists';\n\nimport { InfiniteScrollDemoComponent } from './infinite-scroll-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n SkyBackToTopModule,\n SkyInfiniteScrollModule,\n SkyListModule,\n SkyListViewGridModule,\n ],\n declarations: [InfiniteScrollDemoComponent],\n exports: [InfiniteScrollDemoComponent],\n})\nexport class InfiniteScrollDemoModule {}\n"
5133
5138
  },
5134
5139
  {
5135
5140
  "fileName": "infinite-scroll-demo.component.html",
5136
5141
  "filePath": "/projects/lists/documentation/code-examples/infinite-scroll/repeater/infinite-scroll-demo.component.html",
5137
- "rawContents": "<div\n style=\"overflow-y: auto; max-height: 400px; position: relative;\"\n>\n <sky-repeater>\n <sky-repeater-item *ngFor=\"let item of items\">\n <sky-repeater-item-title>\n {{ item.name }}\n </sky-repeater-item-title>\n </sky-repeater-item>\n </sky-repeater>\n <sky-infinite-scroll\n [enabled]=\"itemsHaveMore\"\n (scrollEnd)=\"onScrollEnd()\"\n >\n </sky-infinite-scroll>\n</div>\n<br>\n<br>\n"
5142
+ "rawContents": "<div style=\"overflow-y: auto; max-height: 400px; position: relative\">\n <sky-repeater>\n <sky-repeater-item *ngFor=\"let item of items\">\n <sky-repeater-item-title>\n {{ item.name }}\n </sky-repeater-item-title>\n </sky-repeater-item>\n </sky-repeater>\n <sky-infinite-scroll [enabled]=\"itemsHaveMore\" (scrollEnd)=\"onScrollEnd()\">\n </sky-infinite-scroll>\n</div>\n<br />\n<br />\n"
5138
5143
  },
5139
5144
  {
5140
5145
  "fileName": "infinite-scroll-demo.component.ts",
5141
5146
  "filePath": "/projects/lists/documentation/code-examples/infinite-scroll/repeater/infinite-scroll-demo.component.ts",
5142
- "rawContents": "import {\n Component,\n OnInit\n} from '@angular/core';\n\nlet nextId = 0;\n\n@Component({\n selector: 'app-infinite-scroll-demo',\n templateUrl: './infinite-scroll-demo.component.html'\n})\nexport class InfiniteScrollDemoComponent implements OnInit {\n\n public items: any[] = [];\n\n public itemsHaveMore = true;\n\n public ngOnInit(): void {\n this.addData();\n }\n\n public onScrollEnd(): void {\n if (this.itemsHaveMore) {\n this.addData();\n }\n }\n\n private addData(): void {\n this.mockRemote().then((result: any) => {\n this.items = this.items.concat(result.data);\n this.itemsHaveMore = result.hasMore;\n });\n }\n\n private mockRemote(): Promise<any> {\n const data: any[] = [];\n\n for (let i = 0; i < 8; i++) {\n data.push({\n name: `Item #${++nextId}`\n });\n }\n\n // Simulate async request.\n return new Promise((resolve: any) => {\n setTimeout(() => {\n resolve({\n data,\n hasMore: (nextId < 50)\n });\n }, 1000);\n });\n }\n}\n"
5147
+ "rawContents": "import { Component, OnInit } from '@angular/core';\n\nlet nextId = 0;\n\n@Component({\n selector: 'app-infinite-scroll-demo',\n templateUrl: './infinite-scroll-demo.component.html',\n})\nexport class InfiniteScrollDemoComponent implements OnInit {\n public items: any[] = [];\n\n public itemsHaveMore = true;\n\n public ngOnInit(): void {\n this.addData();\n }\n\n public onScrollEnd(): void {\n if (this.itemsHaveMore) {\n this.addData();\n }\n }\n\n private addData(): void {\n this.mockRemote().then((result: any) => {\n this.items = this.items.concat(result.data);\n this.itemsHaveMore = result.hasMore;\n });\n }\n\n private mockRemote(): Promise<any> {\n const data: any[] = [];\n\n for (let i = 0; i < 8; i++) {\n data.push({\n name: `Item #${++nextId}`,\n });\n }\n\n // Simulate async request.\n return new Promise((resolve: any) => {\n setTimeout(() => {\n resolve({\n data,\n hasMore: nextId < 50,\n });\n }, 1000);\n });\n }\n}\n"
5143
5148
  },
5144
5149
  {
5145
5150
  "fileName": "infinite-scroll-demo.module.ts",
5146
5151
  "filePath": "/projects/lists/documentation/code-examples/infinite-scroll/repeater/infinite-scroll-demo.module.ts",
5147
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n SkyBackToTopModule\n} from '@skyux/layout';\n\nimport {\n SkyInfiniteScrollModule,\n SkyRepeaterModule\n} from '@skyux/lists';\n\nimport {\n InfiniteScrollDemoComponent\n} from './infinite-scroll-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n SkyBackToTopModule,\n SkyInfiniteScrollModule,\n SkyRepeaterModule\n ],\n declarations: [\n InfiniteScrollDemoComponent\n ],\n exports: [\n InfiniteScrollDemoComponent\n ]\n})\nexport class InfiniteScrollDemoModule { }\n"
5152
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { SkyBackToTopModule } from '@skyux/layout';\n\nimport { SkyInfiniteScrollModule, SkyRepeaterModule } from '@skyux/lists';\n\nimport { InfiniteScrollDemoComponent } from './infinite-scroll-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n SkyBackToTopModule,\n SkyInfiniteScrollModule,\n SkyRepeaterModule,\n ],\n declarations: [InfiniteScrollDemoComponent],\n exports: [InfiniteScrollDemoComponent],\n})\nexport class InfiniteScrollDemoModule {}\n"
5148
5153
  },
5149
5154
  {
5150
5155
  "fileName": "paging-demo.component.html",
5151
5156
  "filePath": "/projects/lists/documentation/code-examples/paging/basic/paging-demo.component.html",
5152
- "rawContents": "<sky-paging\n [itemCount]=\"8\"\n [maxPages]=\"3\"\n [pageSize]=\"2\"\n [(currentPage)]=\"currentPage\"\n>\n</sky-paging>\n<p>\n The current page is {{currentPage}}.\n</p>\n"
5157
+ "rawContents": "<sky-paging\n [itemCount]=\"8\"\n [maxPages]=\"3\"\n [pageSize]=\"2\"\n [(currentPage)]=\"currentPage\"\n>\n</sky-paging>\n<p>The current page is {{ currentPage }}.</p>\n"
5153
5158
  },
5154
5159
  {
5155
5160
  "fileName": "paging-demo.component.ts",
5156
5161
  "filePath": "/projects/lists/documentation/code-examples/paging/basic/paging-demo.component.ts",
5157
- "rawContents": "import {\n Component\n} from '@angular/core';\n\n@Component({\n selector: 'app-paging-demo',\n templateUrl: './paging-demo.component.html'\n})\nexport class PagingDemoComponent {\n\n public currentPage: number = 1;\n\n}\n"
5162
+ "rawContents": "import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-paging-demo',\n templateUrl: './paging-demo.component.html',\n})\nexport class PagingDemoComponent {\n public currentPage: number = 1;\n}\n"
5158
5163
  },
5159
5164
  {
5160
5165
  "fileName": "paging-demo.module.ts",
5161
5166
  "filePath": "/projects/lists/documentation/code-examples/paging/basic/paging-demo.module.ts",
5162
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n SkyPagingModule\n} from '@skyux/lists';\n\nimport {\n PagingDemoComponent\n} from './paging-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n SkyPagingModule\n ],\n declarations: [\n PagingDemoComponent\n ],\n exports: [\n PagingDemoComponent\n ]\n})\nexport class PagingDemoModule { }\n"
5167
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { SkyPagingModule } from '@skyux/lists';\n\nimport { PagingDemoComponent } from './paging-demo.component';\n\n@NgModule({\n imports: [CommonModule, SkyPagingModule],\n declarations: [PagingDemoComponent],\n exports: [PagingDemoComponent],\n})\nexport class PagingDemoModule {}\n"
5163
5168
  },
5164
5169
  {
5165
5170
  "fileName": "repeater-demo.component.html",
5166
5171
  "filePath": "/projects/lists/documentation/code-examples/repeater/add-remove/repeater-demo.component.html",
5167
- "rawContents": "<div\n class=\"sky-margin-stacked-default\"\n>\n <sky-repeater\n [reorderable]=\"true\"\n (orderChange)=\"changeItems($event)\"\n >\n <sky-repeater-item\n *ngFor=\"let item of items\"\n [tag]=\"item\"\n >\n <sky-repeater-item-title\n class=\"demo-repeater-flex\"\n >\n <div\n class=\"sky-emphasized\"\n >\n {{item.title}}\n </div>\n <div>\n {{item.status}}\n </div>\n </sky-repeater-item-title>\n <sky-repeater-item-context-menu>\n <sky-dropdown\n buttonType=\"context-menu\"\n >\n <sky-dropdown-menu>\n <sky-dropdown-item>\n <button\n type=\"button\"\n >\n Action 1\n </button>\n </sky-dropdown-item>\n <sky-dropdown-item>\n <button\n type=\"button\"\n >\n Action 2\n </button>\n </sky-dropdown-item>\n </sky-dropdown-menu>\n </sky-dropdown>\n </sky-repeater-item-context-menu>\n <sky-repeater-item-content>\n {{item.note}}\n </sky-repeater-item-content>\n </sky-repeater-item>\n </sky-repeater>\n</div>\n\n<button\n class=\"sky-btn sky-margin-inline-default\"\n (click)=\"addItem()\"\n>\n Add item\n</button>\n\n<button\n class=\"sky-btn sky-margin-inline-default\"\n (click)=\"removeItem()\"\n>\n Remove item\n</button>\n"
5172
+ "rawContents": "<div class=\"sky-margin-stacked-default\">\n <sky-repeater [reorderable]=\"true\" (orderChange)=\"changeItems($event)\">\n <sky-repeater-item *ngFor=\"let item of items\" [tag]=\"item\">\n <sky-repeater-item-title class=\"demo-repeater-flex\">\n <div class=\"sky-emphasized\">\n {{ item.title }}\n </div>\n <div>\n {{ item.status }}\n </div>\n </sky-repeater-item-title>\n <sky-repeater-item-context-menu>\n <sky-dropdown buttonType=\"context-menu\">\n <sky-dropdown-menu>\n <sky-dropdown-item>\n <button type=\"button\">Action 1</button>\n </sky-dropdown-item>\n <sky-dropdown-item>\n <button type=\"button\">Action 2</button>\n </sky-dropdown-item>\n </sky-dropdown-menu>\n </sky-dropdown>\n </sky-repeater-item-context-menu>\n <sky-repeater-item-content>\n {{ item.note }}\n </sky-repeater-item-content>\n </sky-repeater-item>\n </sky-repeater>\n</div>\n\n<button class=\"sky-btn sky-margin-inline-default\" (click)=\"addItem()\">\n Add item\n</button>\n\n<button class=\"sky-btn sky-margin-inline-default\" (click)=\"removeItem()\">\n Remove item\n</button>\n"
5168
5173
  },
5169
5174
  {
5170
5175
  "fileName": "repeater-demo.component.scss",
@@ -5174,17 +5179,17 @@
5174
5179
  {
5175
5180
  "fileName": "repeater-demo.component.ts",
5176
5181
  "filePath": "/projects/lists/documentation/code-examples/repeater/add-remove/repeater-demo.component.ts",
5177
- "rawContents": "import {\n Component\n} from '@angular/core';\n\nlet nextId: number = 0;\n\n@Component({\n selector: 'app-repeater-demo',\n templateUrl: './repeater-demo.component.html',\n styleUrls: ['./repeater-demo.component.scss']\n})\nexport class RepeaterDemoComponent {\n\n public items: any[] = [\n {\n title: 'Call Robert Hernandez',\n note: 'Robert recently gave a very generous gift. We should call him to thank him.',\n status: 'Completed'\n },\n {\n title: 'Send invitation to Spring Ball',\n note: 'The Spring Ball is coming up soon. Let\\'s get those invitations out!',\n status: 'Past due'\n }\n ];\n\n public addItem(): void {\n this.items.push({\n title: 'New reminder ' + ++nextId,\n note: 'This is a new reminder',\n status: 'Active'\n });\n }\n\n public changeItems(tags: any): void {\n this.items = tags;\n }\n\n public removeItem(): void {\n this.items.pop();\n }\n}\n"
5182
+ "rawContents": "import { Component } from '@angular/core';\n\nlet nextId: number = 0;\n\n@Component({\n selector: 'app-repeater-demo',\n templateUrl: './repeater-demo.component.html',\n styleUrls: ['./repeater-demo.component.scss'],\n})\nexport class RepeaterDemoComponent {\n public items: any[] = [\n {\n title: 'Call Robert Hernandez',\n note: 'Robert recently gave a very generous gift. We should call him to thank him.',\n status: 'Completed',\n },\n {\n title: 'Send invitation to Spring Ball',\n note: \"The Spring Ball is coming up soon. Let's get those invitations out!\",\n status: 'Past due',\n },\n ];\n\n public addItem(): void {\n this.items.push({\n title: 'New reminder ' + ++nextId,\n note: 'This is a new reminder',\n status: 'Active',\n });\n }\n\n public changeItems(tags: any): void {\n this.items = tags;\n }\n\n public removeItem(): void {\n this.items.pop();\n }\n}\n"
5178
5183
  },
5179
5184
  {
5180
5185
  "fileName": "repeater-demo.module.ts",
5181
5186
  "filePath": "/projects/lists/documentation/code-examples/repeater/add-remove/repeater-demo.module.ts",
5182
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n SkyRepeaterModule\n} from '@skyux/lists';\n\nimport {\n SkyDropdownModule\n} from '@skyux/popovers';\n\nimport {\n RepeaterDemoComponent\n} from './repeater-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n SkyDropdownModule,\n SkyRepeaterModule\n ],\n declarations: [\n RepeaterDemoComponent\n ],\n exports: [\n RepeaterDemoComponent\n ]\n})\nexport class RepeaterDemoModule { }\n"
5187
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { SkyRepeaterModule } from '@skyux/lists';\n\nimport { SkyDropdownModule } from '@skyux/popovers';\n\nimport { RepeaterDemoComponent } from './repeater-demo.component';\n\n@NgModule({\n imports: [CommonModule, SkyDropdownModule, SkyRepeaterModule],\n declarations: [RepeaterDemoComponent],\n exports: [RepeaterDemoComponent],\n})\nexport class RepeaterDemoModule {}\n"
5183
5188
  },
5184
5189
  {
5185
5190
  "fileName": "repeater-demo.component.html",
5186
5191
  "filePath": "/projects/lists/documentation/code-examples/repeater/basic/repeater-demo.component.html",
5187
- "rawContents": "<sky-repeater>\n <sky-repeater-item\n *ngFor=\"let item of items\"\n >\n <sky-repeater-item-title\n class=\"demo-repeater-flex\"\n >\n <div\n class=\"sky-emphasized\"\n >\n {{item.title}}\n </div>\n <div>\n {{item.status}}\n </div>\n </sky-repeater-item-title>\n <sky-repeater-item-context-menu>\n <sky-dropdown\n buttonType=\"context-menu\"\n >\n <sky-dropdown-menu>\n <sky-dropdown-item>\n <button\n type=\"button\"\n >\n Action 1\n </button>\n </sky-dropdown-item>\n <sky-dropdown-item>\n <button\n type=\"button\"\n >\n Action 2\n </button>\n </sky-dropdown-item>\n </sky-dropdown-menu>\n </sky-dropdown>\n </sky-repeater-item-context-menu>\n <sky-repeater-item-content>\n {{item.note}}\n </sky-repeater-item-content>\n </sky-repeater-item>\n</sky-repeater>\n"
5192
+ "rawContents": "<sky-repeater>\n <sky-repeater-item *ngFor=\"let item of items\">\n <sky-repeater-item-title class=\"demo-repeater-flex\">\n <div class=\"sky-emphasized\">\n {{ item.title }}\n </div>\n <div>\n {{ item.status }}\n </div>\n </sky-repeater-item-title>\n <sky-repeater-item-context-menu>\n <sky-dropdown buttonType=\"context-menu\">\n <sky-dropdown-menu>\n <sky-dropdown-item>\n <button type=\"button\">Action 1</button>\n </sky-dropdown-item>\n <sky-dropdown-item>\n <button type=\"button\">Action 2</button>\n </sky-dropdown-item>\n </sky-dropdown-menu>\n </sky-dropdown>\n </sky-repeater-item-context-menu>\n <sky-repeater-item-content>\n {{ item.note }}\n </sky-repeater-item-content>\n </sky-repeater-item>\n</sky-repeater>\n"
5188
5193
  },
5189
5194
  {
5190
5195
  "fileName": "repeater-demo.component.scss",
@@ -5194,27 +5199,27 @@
5194
5199
  {
5195
5200
  "fileName": "repeater-demo.component.ts",
5196
5201
  "filePath": "/projects/lists/documentation/code-examples/repeater/basic/repeater-demo.component.ts",
5197
- "rawContents": "import {\n Component\n} from '@angular/core';\n\n@Component({\n selector: 'app-repeater-demo',\n templateUrl: './repeater-demo.component.html',\n styleUrls: ['./repeater-demo.component.scss']\n})\nexport class RepeaterDemoComponent {\n\n public items: any[] = [\n {\n title: 'Call Robert Hernandez',\n note: 'Robert recently gave a very generous gift. We should call him to thank him.',\n status: 'Completed'\n },\n {\n title: 'Send invitation to Spring Ball',\n note: 'The Spring Ball is coming up soon. Let\\'s get those invitations out!',\n status: 'Past due'\n }\n ];\n}\n"
5202
+ "rawContents": "import { Component } from '@angular/core';\n\n@Component({\n selector: 'app-repeater-demo',\n templateUrl: './repeater-demo.component.html',\n styleUrls: ['./repeater-demo.component.scss'],\n})\nexport class RepeaterDemoComponent {\n public items: any[] = [\n {\n title: 'Call Robert Hernandez',\n note: 'Robert recently gave a very generous gift. We should call him to thank him.',\n status: 'Completed',\n },\n {\n title: 'Send invitation to Spring Ball',\n note: \"The Spring Ball is coming up soon. Let's get those invitations out!\",\n status: 'Past due',\n },\n ];\n}\n"
5198
5203
  },
5199
5204
  {
5200
5205
  "fileName": "repeater-demo.module.ts",
5201
5206
  "filePath": "/projects/lists/documentation/code-examples/repeater/basic/repeater-demo.module.ts",
5202
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n SkyRepeaterModule\n} from '@skyux/lists';\n\nimport {\n SkyDropdownModule\n} from '@skyux/popovers';\n\nimport {\n RepeaterDemoComponent\n} from './repeater-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n SkyDropdownModule,\n SkyRepeaterModule\n ],\n declarations: [\n RepeaterDemoComponent\n ],\n exports: [\n RepeaterDemoComponent\n ]\n})\nexport class RepeaterDemoModule { }\n"
5207
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { SkyRepeaterModule } from '@skyux/lists';\n\nimport { SkyDropdownModule } from '@skyux/popovers';\n\nimport { RepeaterDemoComponent } from './repeater-demo.component';\n\n@NgModule({\n imports: [CommonModule, SkyDropdownModule, SkyRepeaterModule],\n declarations: [RepeaterDemoComponent],\n exports: [RepeaterDemoComponent],\n})\nexport class RepeaterDemoModule {}\n"
5203
5208
  },
5204
5209
  {
5205
5210
  "fileName": "sort-demo.component.html",
5206
5211
  "filePath": "/projects/lists/documentation/code-examples/sort/basic/sort-demo.component.html",
5207
- "rawContents": "<sky-toolbar>\n <sky-toolbar-item>\n <sky-sort\n [showButtonText]=\"true\"\n >\n <sky-sort-item *ngFor=\"let item of sortOptions\"\n [active]=\"initialState === item.id\"\n (itemSelect)=\"sortItems(item)\"\n >\n {{item.label}}\n </sky-sort-item>\n </sky-sort>\n </sky-toolbar-item>\n</sky-toolbar>\n<sky-repeater\n expandMode=\"none\"\n>\n <sky-repeater-item *ngFor=\"let item of sortedItems\">\n <sky-repeater-item-title>\n {{item.title}}\n </sky-repeater-item-title>\n <sky-repeater-item-content>\n <div\n style=\"display: flex; justify-content: space-between\"\n >\n <div>\n Assigned to {{item.assignee}}\n </div>\n <div>\n Created {{item.date | date}}\n </div>\n </div>\n <div>\n {{item.note}}\n </div>\n </sky-repeater-item-content>\n </sky-repeater-item>\n</sky-repeater>\n"
5212
+ "rawContents": "<sky-toolbar>\n <sky-toolbar-item>\n <sky-sort [showButtonText]=\"true\">\n <sky-sort-item\n *ngFor=\"let item of sortOptions\"\n [active]=\"initialState === item.id\"\n (itemSelect)=\"sortItems(item)\"\n >\n {{ item.label }}\n </sky-sort-item>\n </sky-sort>\n </sky-toolbar-item>\n</sky-toolbar>\n<sky-repeater expandMode=\"none\">\n <sky-repeater-item *ngFor=\"let item of sortedItems\">\n <sky-repeater-item-title>\n {{ item.title }}\n </sky-repeater-item-title>\n <sky-repeater-item-content>\n <div style=\"display: flex; justify-content: space-between\">\n <div>Assigned to {{ item.assignee }}</div>\n <div>Created {{ item.date | date }}</div>\n </div>\n <div>\n {{ item.note }}\n </div>\n </sky-repeater-item-content>\n </sky-repeater-item>\n</sky-repeater>\n"
5208
5213
  },
5209
5214
  {
5210
5215
  "fileName": "sort-demo.component.ts",
5211
5216
  "filePath": "/projects/lists/documentation/code-examples/sort/basic/sort-demo.component.ts",
5212
- "rawContents": "import {\n Component,\n OnInit\n} from '@angular/core';\n\n@Component({\n selector: 'app-sort-demo',\n templateUrl: './sort-demo.component.html'\n})\nexport class SortDemoComponent implements OnInit {\n\n public initialState: number;\n\n public sortedItems: any[] = [\n {\n title: 'Call Robert Hernandez',\n note: 'Robert recently gave a very generous gift. We should call to thank him.',\n assignee: 'Debby Fowler',\n date: new Date('12/22/2015')\n },\n {\n title: 'Send invitation to ball',\n note: 'The Spring Ball is coming up soon. Let\\'s get those invitations out!',\n assignee: 'Debby Fowler',\n date: new Date('1/1/2016')\n },\n {\n title: 'Clean up desk',\n note: 'File and organize papers.',\n assignee: 'Tim Howard',\n date: new Date('2/2/2016')\n },\n {\n title: 'Investigate leads',\n note: 'Check out leads for important charity event funding.',\n assignee: 'Larry Williams',\n date: new Date('4/5/2016')\n },\n {\n title: 'Send thank you note',\n note: 'Send a thank you note to Timothy for his donation.',\n assignee: 'Catherine Hooper',\n date: new Date('11/11/2015')\n }\n ];\n\n public sortOptions: any[] = [\n {\n id: 1,\n label: 'Assigned to (A - Z)',\n name: 'assignee',\n descending: false\n },\n {\n id: 2,\n label: 'Assigned to (Z - A)',\n name: 'assignee',\n descending: true\n },\n {\n id: 3,\n label: 'Date created (newest first)',\n name: 'date',\n descending: true\n },\n {\n id: 4,\n label: 'Date created (oldest first)',\n name: 'date',\n descending: false\n },\n {\n id: 5,\n label: 'Note title (A - Z)',\n name: 'title',\n descending: false\n },\n {\n id: 6,\n label: 'Note title (Z - A)',\n name: 'title',\n descending: true\n }\n ];\n\n public ngOnInit(): void {\n this.initialState = 3;\n this.sortItems(this.sortOptions[2]);\n }\n\n public sortItems(item: any): void {\n this.sortedItems = this.sortedItems.sort(function (a: any, b: any) {\n const descending = item.descending ? -1 : 1;\n const sortProperty = item.name;\n\n if (a[sortProperty] > b[sortProperty]) {\n return (descending);\n } else if (a[sortProperty] < b[sortProperty]) {\n return (-1 * descending);\n } else {\n return 0;\n }\n });\n }\n}\n"
5217
+ "rawContents": "import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'app-sort-demo',\n templateUrl: './sort-demo.component.html',\n})\nexport class SortDemoComponent implements OnInit {\n public initialState: number;\n\n public sortedItems: any[] = [\n {\n title: 'Call Robert Hernandez',\n note: 'Robert recently gave a very generous gift. We should call to thank him.',\n assignee: 'Debby Fowler',\n date: new Date('12/22/2015'),\n },\n {\n title: 'Send invitation to ball',\n note: \"The Spring Ball is coming up soon. Let's get those invitations out!\",\n assignee: 'Debby Fowler',\n date: new Date('1/1/2016'),\n },\n {\n title: 'Clean up desk',\n note: 'File and organize papers.',\n assignee: 'Tim Howard',\n date: new Date('2/2/2016'),\n },\n {\n title: 'Investigate leads',\n note: 'Check out leads for important charity event funding.',\n assignee: 'Larry Williams',\n date: new Date('4/5/2016'),\n },\n {\n title: 'Send thank you note',\n note: 'Send a thank you note to Timothy for his donation.',\n assignee: 'Catherine Hooper',\n date: new Date('11/11/2015'),\n },\n ];\n\n public sortOptions: any[] = [\n {\n id: 1,\n label: 'Assigned to (A - Z)',\n name: 'assignee',\n descending: false,\n },\n {\n id: 2,\n label: 'Assigned to (Z - A)',\n name: 'assignee',\n descending: true,\n },\n {\n id: 3,\n label: 'Date created (newest first)',\n name: 'date',\n descending: true,\n },\n {\n id: 4,\n label: 'Date created (oldest first)',\n name: 'date',\n descending: false,\n },\n {\n id: 5,\n label: 'Note title (A - Z)',\n name: 'title',\n descending: false,\n },\n {\n id: 6,\n label: 'Note title (Z - A)',\n name: 'title',\n descending: true,\n },\n ];\n\n public ngOnInit(): void {\n this.initialState = 3;\n this.sortItems(this.sortOptions[2]);\n }\n\n public sortItems(item: any): void {\n this.sortedItems = this.sortedItems.sort(function (a: any, b: any) {\n const descending = item.descending ? -1 : 1;\n const sortProperty = item.name;\n\n if (a[sortProperty] > b[sortProperty]) {\n return descending;\n } else if (a[sortProperty] < b[sortProperty]) {\n return -1 * descending;\n } else {\n return 0;\n }\n });\n }\n}\n"
5213
5218
  },
5214
5219
  {
5215
5220
  "fileName": "sort-demo.module.ts",
5216
5221
  "filePath": "/projects/lists/documentation/code-examples/sort/basic/sort-demo.module.ts",
5217
- "rawContents": "import {\n NgModule\n} from '@angular/core';\n\nimport {\n CommonModule\n} from '@angular/common';\n\nimport {\n SkyToolbarModule\n} from '@skyux/layout';\n\nimport {\n SkyRepeaterModule,\n SkySortModule\n} from '@skyux/lists';\n\nimport {\n SortDemoComponent\n} from './sort-demo.component';\n\n@NgModule({\n imports: [\n CommonModule,\n SkyRepeaterModule,\n SkySortModule,\n SkyToolbarModule\n ],\n declarations: [\n SortDemoComponent\n ],\n exports: [\n SortDemoComponent\n ]\n})\nexport class SortDemoModule { }\n"
5222
+ "rawContents": "import { NgModule } from '@angular/core';\n\nimport { CommonModule } from '@angular/common';\n\nimport { SkyToolbarModule } from '@skyux/layout';\n\nimport { SkyRepeaterModule, SkySortModule } from '@skyux/lists';\n\nimport { SortDemoComponent } from './sort-demo.component';\n\n@NgModule({\n imports: [CommonModule, SkyRepeaterModule, SkySortModule, SkyToolbarModule],\n declarations: [SortDemoComponent],\n exports: [SortDemoComponent],\n})\nexport class SortDemoModule {}\n"
5218
5223
  }
5219
5224
  ]
5220
5225
  }