@skyux/lists 9.19.0 → 9.20.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/documentation.json +1317 -998
- package/esm2022/index.mjs +2 -1
- package/esm2022/lib/modules/paging/paging-content.component.mjs +17 -0
- package/esm2022/lib/modules/paging/paging.component.mjs +34 -6
- package/esm2022/lib/modules/paging/paging.module.mjs +12 -5
- package/esm2022/lib/modules/paging/types/paging-content-change-args.mjs +2 -0
- package/esm2022/lib/modules/shared/sky-lists-resources.module.mjs +4 -1
- package/fesm2022/skyux-lists.mjs +59 -9
- package/fesm2022/skyux-lists.mjs.map +1 -1
- package/index.d.ts +2 -0
- package/lib/modules/paging/paging-content.component.d.ts +5 -0
- package/lib/modules/paging/paging.component.d.ts +15 -3
- package/lib/modules/paging/paging.module.d.ts +3 -2
- package/lib/modules/paging/types/paging-content-change-args.d.ts +13 -0
- package/package.json +10 -10
package/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { SkyFilterModule } from './lib/modules/filter/filter.module';
|
|
2
2
|
export { SkyInfiniteScrollModule } from './lib/modules/infinite-scroll/infinite-scroll.module';
|
|
3
3
|
export { SkyPagingModule } from './lib/modules/paging/paging.module';
|
|
4
|
+
export { SkyPagingContentChangeArgs } from './lib/modules/paging/types/paging-content-change-args';
|
|
4
5
|
export { SkyRepeaterExpandModeType } from './lib/modules/repeater/repeater-expand-mode-type';
|
|
5
6
|
export { SkyRepeaterModule } from './lib/modules/repeater/repeater.module';
|
|
6
7
|
export { SkySortModule } from './lib/modules/sort/sort.module';
|
|
@@ -18,3 +19,4 @@ export { SkyRepeaterItemComponent as λ10 } from './lib/modules/repeater/repeate
|
|
|
18
19
|
export { SkyRepeaterComponent as λ11 } from './lib/modules/repeater/repeater.component';
|
|
19
20
|
export { SkySortItemComponent as λ13 } from './lib/modules/sort/sort-item.component';
|
|
20
21
|
export { SkySortComponent as λ14 } from './lib/modules/sort/sort.component';
|
|
22
|
+
export { SkyPagingContentComponent as λ15 } from './lib/modules/paging/paging-content.component';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class SkyPagingContentComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPagingContentComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyPagingContentComponent, "sky-paging-content", never, {}, {}, never, ["*"], true, never>;
|
|
5
|
+
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
import { SkyPagingContentChangeArgs } from './types/paging-content-change-args';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
export declare class SkyPagingComponent implements OnChanges {
|
|
4
6
|
#private;
|
|
@@ -30,14 +32,24 @@ export declare class SkyPagingComponent implements OnChanges {
|
|
|
30
32
|
* Fires when the current page changes and emits the new current page.
|
|
31
33
|
*/
|
|
32
34
|
currentPageChange: EventEmitter<number>;
|
|
35
|
+
/**
|
|
36
|
+
* Fires when the current page changes and emits the new current page with a function
|
|
37
|
+
* to call when loading the new page completes. Handling this event will display the
|
|
38
|
+
* wait component until the callback function is called, and focus will move to the top
|
|
39
|
+
* of the list for keyboard navigation if the list contents are placed inside the
|
|
40
|
+
* sky-paging-content element.
|
|
41
|
+
*/
|
|
42
|
+
contentChange: EventEmitter<SkyPagingContentChangeArgs>;
|
|
43
|
+
contentWrapper: ElementRef | undefined;
|
|
33
44
|
displayedPages: Array<number>;
|
|
34
45
|
pageCount: number;
|
|
46
|
+
protected isLoading: BehaviorSubject<boolean>;
|
|
35
47
|
ngOnChanges(changes: SimpleChanges): void;
|
|
36
|
-
setPage(pageNumber: number): void;
|
|
48
|
+
setPage(pageNumber: number, forceContentChange?: boolean): void;
|
|
37
49
|
nextPage(): void;
|
|
38
50
|
previousPage(): void;
|
|
39
51
|
get isPreviousButtonDisabled(): boolean;
|
|
40
52
|
get isNextButtonDisabled(): boolean;
|
|
41
53
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPagingComponent, never>;
|
|
42
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyPagingComponent, "sky-paging", never, { "currentPage": { "alias": "currentPage"; "required": false; }; "itemCount": { "alias": "itemCount"; "required": false; }; "maxPages": { "alias": "maxPages"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pagingLabel": { "alias": "pagingLabel"; "required": false; }; }, { "currentPageChange": "currentPageChange"; }, never,
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyPagingComponent, "sky-paging", never, { "currentPage": { "alias": "currentPage"; "required": false; }; "itemCount": { "alias": "itemCount"; "required": false; }; "maxPages": { "alias": "maxPages"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pagingLabel": { "alias": "pagingLabel"; "required": false; }; }, { "currentPageChange": "currentPageChange"; "contentChange": "contentChange"; }, never, ["sky-paging-content"], false, never>;
|
|
43
55
|
}
|
|
@@ -3,9 +3,10 @@ import * as i1 from "./paging.component";
|
|
|
3
3
|
import * as i2 from "@angular/common";
|
|
4
4
|
import * as i3 from "@skyux/indicators";
|
|
5
5
|
import * as i4 from "../shared/sky-lists-resources.module";
|
|
6
|
-
import * as i5 from "
|
|
6
|
+
import * as i5 from "./paging-content.component";
|
|
7
|
+
import * as i6 from "@skyux/theme";
|
|
7
8
|
export declare class SkyPagingModule {
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyPagingModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyPagingModule, [typeof i1.SkyPagingComponent], [typeof i2.CommonModule, typeof i3.SkyIconModule, typeof i4.SkyListsResourcesModule, typeof i5.SkyThemeModule], [typeof i1.SkyPagingComponent]>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyPagingModule, [typeof i1.SkyPagingComponent], [typeof i2.CommonModule, typeof i3.SkyIconModule, typeof i4.SkyListsResourcesModule, typeof i5.SkyPagingContentComponent, typeof i6.SkyThemeModule, typeof i3.SkyWaitModule], [typeof i1.SkyPagingComponent, typeof i5.SkyPagingContentComponent]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyPagingModule>;
|
|
11
12
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Information about the paged content to load.
|
|
3
|
+
*/
|
|
4
|
+
export interface SkyPagingContentChangeArgs {
|
|
5
|
+
/**
|
|
6
|
+
* The current page number.
|
|
7
|
+
*/
|
|
8
|
+
currentPage: number;
|
|
9
|
+
/**
|
|
10
|
+
* A function to call when loading the paged content completes.
|
|
11
|
+
*/
|
|
12
|
+
loadingComplete: () => void;
|
|
13
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/lists",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.20.0",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"@angular/common": "^16.2.9",
|
|
41
41
|
"@angular/core": "^16.2.9",
|
|
42
42
|
"@angular/platform-browser": "^16.2.9",
|
|
43
|
-
"@skyux-sdk/testing": "9.
|
|
44
|
-
"@skyux/animations": "9.
|
|
45
|
-
"@skyux/core": "9.
|
|
46
|
-
"@skyux/forms": "9.
|
|
47
|
-
"@skyux/i18n": "9.
|
|
48
|
-
"@skyux/indicators": "9.
|
|
49
|
-
"@skyux/inline-form": "9.
|
|
50
|
-
"@skyux/popovers": "9.
|
|
51
|
-
"@skyux/theme": "9.
|
|
43
|
+
"@skyux-sdk/testing": "9.20.0",
|
|
44
|
+
"@skyux/animations": "9.20.0",
|
|
45
|
+
"@skyux/core": "9.20.0",
|
|
46
|
+
"@skyux/forms": "9.20.0",
|
|
47
|
+
"@skyux/i18n": "9.20.0",
|
|
48
|
+
"@skyux/indicators": "9.20.0",
|
|
49
|
+
"@skyux/inline-form": "9.20.0",
|
|
50
|
+
"@skyux/popovers": "9.20.0",
|
|
51
|
+
"@skyux/theme": "9.20.0"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@types/dragula": "2.1.36",
|