@skyux/lists 5.0.2 → 5.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/skyux-lists-testing.umd.js +26 -39
- package/bundles/skyux-lists.umd.js +184 -205
- package/documentation.json +402 -363
- package/esm2015/modules/filter/filter-button.component.js +6 -6
- package/esm2015/modules/filter/filter-inline-item.component.js +5 -5
- package/esm2015/modules/filter/filter-inline.component.js +5 -5
- package/esm2015/modules/filter/filter-summary-item.component.js +6 -6
- package/esm2015/modules/filter/filter-summary.component.js +5 -5
- package/esm2015/modules/filter/filter.module.js +10 -10
- package/esm2015/modules/infinite-scroll/infinite-scroll-dom-adapter.service.js +11 -12
- package/esm2015/modules/infinite-scroll/infinite-scroll.component.js +10 -12
- package/esm2015/modules/infinite-scroll/infinite-scroll.module.js +8 -22
- package/esm2015/modules/paging/paging.component.js +9 -10
- package/esm2015/modules/paging/paging.module.js +9 -13
- package/esm2015/modules/repeater/repeater-adapter.service.js +4 -4
- package/esm2015/modules/repeater/repeater-item-content.component.js +5 -5
- package/esm2015/modules/repeater/repeater-item-context-menu.component.js +5 -5
- package/esm2015/modules/repeater/repeater-item-title.component.js +5 -5
- package/esm2015/modules/repeater/repeater-item.component.js +21 -14
- package/esm2015/modules/repeater/repeater.component.js +18 -17
- package/esm2015/modules/repeater/repeater.module.js +10 -10
- package/esm2015/modules/repeater/repeater.service.js +5 -5
- package/esm2015/modules/shared/sky-lists-resources.module.js +6 -6
- package/esm2015/modules/sort/sort-item.component.js +10 -9
- package/esm2015/modules/sort/sort-menu-heading.component.js +5 -5
- package/esm2015/modules/sort/sort.component.js +8 -12
- package/esm2015/modules/sort/sort.module.js +10 -14
- package/esm2015/modules/sort/sort.service.js +4 -4
- package/esm2015/testing/filter/filter-fixture-button.js +2 -2
- package/esm2015/testing/filter/filter-fixture-summary.js +1 -1
- package/esm2015/testing/filter/filter-testing.module.js +6 -8
- package/esm2015/testing/infinite-scroll/infinite-scroll-fixture.js +1 -1
- package/esm2015/testing/infinite-scroll/infinite-scroll-testing.module.js +6 -8
- package/esm2015/testing/paging/paging-fixture.js +2 -2
- package/esm2015/testing/paging/paging-testing.module.js +6 -8
- package/esm2015/testing/sort/sort-fixture.js +5 -6
- package/esm2015/testing/sort/sort-testing.module.js +7 -13
- package/fesm2015/skyux-lists-testing.js +27 -40
- package/fesm2015/skyux-lists-testing.js.map +1 -1
- package/fesm2015/skyux-lists.js +167 -188
- package/fesm2015/skyux-lists.js.map +1 -1
- package/modules/repeater/repeater-item.component.d.ts +8 -1
- package/package.json +12 -12
- package/bundles/skyux-lists-testing.umd.js.map +0 -1
- package/bundles/skyux-lists.umd.js.map +0 -1
|
@@ -29,15 +29,13 @@
|
|
|
29
29
|
}
|
|
30
30
|
return SkyFilterTestingModule;
|
|
31
31
|
}());
|
|
32
|
-
SkyFilterTestingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
33
|
-
SkyFilterTestingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
34
|
-
SkyFilterTestingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
35
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
32
|
+
SkyFilterTestingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyFilterTestingModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
33
|
+
SkyFilterTestingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyFilterTestingModule, exports: [lists.SkyFilterModule] });
|
|
34
|
+
SkyFilterTestingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyFilterTestingModule, imports: [lists.SkyFilterModule] });
|
|
35
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyFilterTestingModule, decorators: [{
|
|
36
36
|
type: i0.NgModule,
|
|
37
37
|
args: [{
|
|
38
|
-
exports: [
|
|
39
|
-
lists.SkyFilterModule
|
|
40
|
-
]
|
|
38
|
+
exports: [lists.SkyFilterModule],
|
|
41
39
|
}]
|
|
42
40
|
}] });
|
|
43
41
|
|
|
@@ -425,7 +423,7 @@
|
|
|
425
423
|
ariaControls: buttonElement.getAttribute('aria-controls'),
|
|
426
424
|
ariaExpanded: buttonElement.getAttribute('aria-expanded') === 'true',
|
|
427
425
|
disabled: buttonElement.disabled,
|
|
428
|
-
id: buttonElement.id
|
|
426
|
+
id: buttonElement.id,
|
|
429
427
|
};
|
|
430
428
|
},
|
|
431
429
|
enumerable: false,
|
|
@@ -457,15 +455,13 @@
|
|
|
457
455
|
}
|
|
458
456
|
return SkyPagingTestingModule;
|
|
459
457
|
}());
|
|
460
|
-
SkyPagingTestingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
461
|
-
SkyPagingTestingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
462
|
-
SkyPagingTestingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
463
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
458
|
+
SkyPagingTestingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyPagingTestingModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
459
|
+
SkyPagingTestingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyPagingTestingModule, exports: [lists.SkyPagingModule] });
|
|
460
|
+
SkyPagingTestingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyPagingTestingModule, imports: [lists.SkyPagingModule] });
|
|
461
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyPagingTestingModule, decorators: [{
|
|
464
462
|
type: i0.NgModule,
|
|
465
463
|
args: [{
|
|
466
|
-
exports: [
|
|
467
|
-
lists.SkyPagingModule
|
|
468
|
-
]
|
|
464
|
+
exports: [lists.SkyPagingModule],
|
|
469
465
|
}]
|
|
470
466
|
}] });
|
|
471
467
|
|
|
@@ -500,7 +496,7 @@
|
|
|
500
496
|
return {
|
|
501
497
|
id: _this.getPageId(page.nativeElement),
|
|
502
498
|
isActive: page.nativeElement.classList.contains('sky-paging-current'),
|
|
503
|
-
isEnabled: !page.nativeElement.disabled
|
|
499
|
+
isEnabled: !page.nativeElement.disabled,
|
|
504
500
|
};
|
|
505
501
|
});
|
|
506
502
|
},
|
|
@@ -620,20 +616,14 @@
|
|
|
620
616
|
}
|
|
621
617
|
return SkySortTestingModule;
|
|
622
618
|
}());
|
|
623
|
-
SkySortTestingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
624
|
-
SkySortTestingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
625
|
-
SkySortTestingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
626
|
-
|
|
627
|
-
], lists.SkySortModule] });
|
|
628
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.10", ngImport: i0__namespace, type: SkySortTestingModule, decorators: [{
|
|
619
|
+
SkySortTestingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkySortTestingModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
620
|
+
SkySortTestingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkySortTestingModule, imports: [animations.NoopAnimationsModule], exports: [lists.SkySortModule] });
|
|
621
|
+
SkySortTestingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkySortTestingModule, imports: [[animations.NoopAnimationsModule], lists.SkySortModule] });
|
|
622
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkySortTestingModule, decorators: [{
|
|
629
623
|
type: i0.NgModule,
|
|
630
624
|
args: [{
|
|
631
|
-
imports: [
|
|
632
|
-
|
|
633
|
-
],
|
|
634
|
-
exports: [
|
|
635
|
-
lists.SkySortModule
|
|
636
|
-
]
|
|
625
|
+
imports: [animations.NoopAnimationsModule],
|
|
626
|
+
exports: [lists.SkySortModule],
|
|
637
627
|
}]
|
|
638
628
|
}] });
|
|
639
629
|
|
|
@@ -666,7 +656,7 @@
|
|
|
666
656
|
get: function () {
|
|
667
657
|
return {
|
|
668
658
|
buttonText: testing.SkyAppTestUtility.getText(this.getSortButtonTextEl()),
|
|
669
|
-
isOpen: this.getDropdownMenuEl() !== null
|
|
659
|
+
isOpen: this.getDropdownMenuEl() !== null,
|
|
670
660
|
};
|
|
671
661
|
},
|
|
672
662
|
enumerable: false,
|
|
@@ -683,13 +673,12 @@
|
|
|
683
673
|
if (!this.menu.isOpen) {
|
|
684
674
|
return;
|
|
685
675
|
}
|
|
686
|
-
return this.getSortItems()
|
|
687
|
-
.map(function (item, i) {
|
|
676
|
+
return this.getSortItems().map(function (item, i) {
|
|
688
677
|
var itemButton = item.querySelector('button');
|
|
689
678
|
return {
|
|
690
679
|
index: i,
|
|
691
680
|
isActive: item.classList.contains('sky-sort-item-selected'),
|
|
692
|
-
text: testing.SkyAppTestUtility.getText(itemButton)
|
|
681
|
+
text: testing.SkyAppTestUtility.getText(itemButton),
|
|
693
682
|
};
|
|
694
683
|
});
|
|
695
684
|
},
|
|
@@ -832,15 +821,13 @@
|
|
|
832
821
|
}
|
|
833
822
|
return SkyInfiniteScrollTestingModule;
|
|
834
823
|
}());
|
|
835
|
-
SkyInfiniteScrollTestingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.
|
|
836
|
-
SkyInfiniteScrollTestingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.
|
|
837
|
-
SkyInfiniteScrollTestingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.
|
|
838
|
-
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.
|
|
824
|
+
SkyInfiniteScrollTestingModule.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyInfiniteScrollTestingModule, deps: [], target: i0__namespace.ɵɵFactoryTarget.NgModule });
|
|
825
|
+
SkyInfiniteScrollTestingModule.ɵmod = i0__namespace.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyInfiniteScrollTestingModule, exports: [lists.SkyInfiniteScrollModule] });
|
|
826
|
+
SkyInfiniteScrollTestingModule.ɵinj = i0__namespace.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyInfiniteScrollTestingModule, imports: [lists.SkyInfiniteScrollModule] });
|
|
827
|
+
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.15", ngImport: i0__namespace, type: SkyInfiniteScrollTestingModule, decorators: [{
|
|
839
828
|
type: i0.NgModule,
|
|
840
829
|
args: [{
|
|
841
|
-
exports: [
|
|
842
|
-
lists.SkyInfiniteScrollModule
|
|
843
|
-
]
|
|
830
|
+
exports: [lists.SkyInfiniteScrollModule],
|
|
844
831
|
}]
|
|
845
832
|
}] });
|
|
846
833
|
|