@skyux/list-builder 14.6.0 → 14.6.1
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/fesm2022/skyux-list-builder.mjs +80 -80
- package/fesm2022/skyux-list-builder.mjs.map +1 -1
- package/package.json +10 -10
- package/types/skyux-list-builder.d.ts +143 -191
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/list-builder",
|
|
3
|
-
"version": "14.6.
|
|
3
|
+
"version": "14.6.1",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"@angular/common": "^21.2.0",
|
|
20
20
|
"@angular/core": "^21.2.0",
|
|
21
|
-
"@skyux/core": "14.6.
|
|
22
|
-
"@skyux/forms": "14.6.
|
|
23
|
-
"@skyux/i18n": "14.6.
|
|
24
|
-
"@skyux/icon": "14.6.
|
|
25
|
-
"@skyux/layout": "14.6.
|
|
26
|
-
"@skyux/list-builder-common": "14.6.
|
|
27
|
-
"@skyux/lists": "14.6.
|
|
28
|
-
"@skyux/lookup": "14.6.
|
|
29
|
-
"@skyux/popovers": "14.6.
|
|
21
|
+
"@skyux/core": "14.6.1",
|
|
22
|
+
"@skyux/forms": "14.6.1",
|
|
23
|
+
"@skyux/i18n": "14.6.1",
|
|
24
|
+
"@skyux/icon": "14.6.1",
|
|
25
|
+
"@skyux/layout": "14.6.1",
|
|
26
|
+
"@skyux/list-builder-common": "14.6.1",
|
|
27
|
+
"@skyux/lists": "14.6.1",
|
|
28
|
+
"@skyux/lookup": "14.6.1",
|
|
29
|
+
"@skyux/popovers": "14.6.1"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"tslib": "^2.8.1"
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { ListItemModel, ListSortFieldSelectorModel, AsyncList, AsyncItem, StateOrchestrator, StateDispatcher
|
|
1
|
+
import { ListItemModel, ListSortFieldSelectorModel, AsyncList, AsyncItem, StateNode, StateOrchestrator, StateDispatcher } from '@skyux/list-builder-common';
|
|
2
2
|
import { Observable, BehaviorSubject, Subject } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { TemplateRef, AfterContentInit, OnChanges, OnDestroy, EventEmitter, SimpleChanges, AfterViewInit, OnInit
|
|
5
|
-
import { SkyLogService } from '@skyux/core';
|
|
4
|
+
import { TemplateRef, AfterContentInit, OnChanges, OnDestroy, EventEmitter, SimpleChanges, AfterViewInit, OnInit } from '@angular/core';
|
|
6
5
|
import * as i2 from '@angular/common';
|
|
7
6
|
import * as i12 from '@skyux/lists';
|
|
8
7
|
import * as i5 from '@skyux/popovers';
|
|
@@ -278,6 +277,128 @@ declare class ListStateModel {
|
|
|
278
277
|
constructor();
|
|
279
278
|
}
|
|
280
279
|
|
|
280
|
+
/**
|
|
281
|
+
* @internal
|
|
282
|
+
* @deprecated
|
|
283
|
+
*/
|
|
284
|
+
declare class ListState extends StateNode<ListStateModel> {
|
|
285
|
+
constructor();
|
|
286
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ListState, never>;
|
|
287
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ListState>;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* @internal
|
|
292
|
+
* @deprecated
|
|
293
|
+
*/
|
|
294
|
+
declare abstract class ListViewComponent {
|
|
295
|
+
active: Observable<boolean>;
|
|
296
|
+
protected viewName: string;
|
|
297
|
+
protected state: ListState;
|
|
298
|
+
protected list: SkyListComponent;
|
|
299
|
+
protected hasToolbar: Observable<boolean>;
|
|
300
|
+
private viewId;
|
|
301
|
+
constructor(state: ListState, defaultName: string);
|
|
302
|
+
get id(): string;
|
|
303
|
+
get label(): string;
|
|
304
|
+
onViewActive(): void;
|
|
305
|
+
onViewInactive(): void;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager.
|
|
310
|
+
*/
|
|
311
|
+
declare class SkyListComponent implements AfterContentInit, OnChanges, OnDestroy {
|
|
312
|
+
id: string;
|
|
313
|
+
/**
|
|
314
|
+
* The data to display. The list component requires this property or the
|
|
315
|
+
* `dataProvider` property. For checklist or multiselect grids, each row requires an
|
|
316
|
+
* `id` property to manage selected items with the `selectedIds` input and the
|
|
317
|
+
* `selectedIdsChange` event. If you do not provide an `id`, the list automatically
|
|
318
|
+
* generates one. To update data in your view outside of a `dataProvider`, you must use
|
|
319
|
+
* an observable instead of a static array.
|
|
320
|
+
*/
|
|
321
|
+
data?: any[] | Observable<any[]>;
|
|
322
|
+
/**
|
|
323
|
+
* The data provider that obtains the data to display. The list component requires
|
|
324
|
+
* this property or the `data` property. For lists that use `dataProvider` instead of `data`,
|
|
325
|
+
* consumers are responsible for managing all `ListDataRequestModel` properties.
|
|
326
|
+
* @default SkyListInMemoryDataProvider
|
|
327
|
+
*/
|
|
328
|
+
dataProvider?: ListDataProvider;
|
|
329
|
+
/**
|
|
330
|
+
* @internal
|
|
331
|
+
*/
|
|
332
|
+
defaultView?: ListViewComponent;
|
|
333
|
+
/**
|
|
334
|
+
* The total number of items for the initial data set when initialized. When
|
|
335
|
+
* used in conjunction with `data` and `dataProvider`, it allows an initial data to be
|
|
336
|
+
* set with the need to call the `dataProvider`.
|
|
337
|
+
*/
|
|
338
|
+
initialTotal?: number;
|
|
339
|
+
/**
|
|
340
|
+
* The set of IDs for the items to select in a checklist or multiselect grid.
|
|
341
|
+
* The IDs match the `id` properties of the `data` objects. Items with IDs that are not
|
|
342
|
+
* included are de-selected in the checklist or multiselect grid.
|
|
343
|
+
*/
|
|
344
|
+
selectedIds?: string[] | Observable<string[]>;
|
|
345
|
+
/**
|
|
346
|
+
* The set of fields to sort by. If array of fields then sorted by order of array.
|
|
347
|
+
* For information about `ListSortFieldSelectorModel`, see the
|
|
348
|
+
* [shared classes for lists](https://developer.blackbaud.com/skyux-list-builder-common/docs/list-builder-common).
|
|
349
|
+
*/
|
|
350
|
+
sortFields?: ListSortFieldSelectorModel | ListSortFieldSelectorModel[] | Observable<ListSortFieldSelectorModel[]> | Observable<ListSortFieldSelectorModel>;
|
|
351
|
+
/**
|
|
352
|
+
* The set of filters to apply to list data.
|
|
353
|
+
* These filters create a filter summary when the list includes the
|
|
354
|
+
* [`sky-list-filter-summary`](https://developer.blackbaud.com/skyux/components/list-filters)
|
|
355
|
+
* component.
|
|
356
|
+
*/
|
|
357
|
+
appliedFilters: ListFilterModel[];
|
|
358
|
+
/**
|
|
359
|
+
* For list views that support item selection, emits the selected entries.
|
|
360
|
+
*/
|
|
361
|
+
selectedIdsChange: EventEmitter<Map<string, boolean>>;
|
|
362
|
+
/**
|
|
363
|
+
* Emits the filters applied to the list.
|
|
364
|
+
*/
|
|
365
|
+
appliedFiltersChange: EventEmitter<ListFilterModel[]>;
|
|
366
|
+
/**
|
|
367
|
+
* The function to apply as a global sort on the list.
|
|
368
|
+
*/
|
|
369
|
+
searchFunction: (data: any, searchText: string) => boolean;
|
|
370
|
+
private dataFirstLoad;
|
|
371
|
+
private listViews;
|
|
372
|
+
private lastSelectedIds;
|
|
373
|
+
private lastFilters;
|
|
374
|
+
private ngUnsubscribe;
|
|
375
|
+
private readonly state;
|
|
376
|
+
private readonly dispatcher;
|
|
377
|
+
constructor();
|
|
378
|
+
ngAfterContentInit(): void;
|
|
379
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
380
|
+
ngOnDestroy(): void;
|
|
381
|
+
refreshDisplayedItems(): void;
|
|
382
|
+
get displayedItems(): Observable<ListDataResponseModel>;
|
|
383
|
+
get selectedItems(): Observable<ListItemModel[]>;
|
|
384
|
+
get lastUpdate(): Observable<Date>;
|
|
385
|
+
get views(): ListViewComponent[];
|
|
386
|
+
get itemCount(): Observable<number>;
|
|
387
|
+
private getItemsAndRetainSelections;
|
|
388
|
+
private arraysEqual;
|
|
389
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyListComponent, never>;
|
|
390
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SkyListComponent, "sky-list", never, { "data": { "alias": "data"; "required": false; }; "dataProvider": { "alias": "dataProvider"; "required": false; }; "defaultView": { "alias": "defaultView"; "required": false; }; "initialTotal": { "alias": "initialTotal"; "required": false; }; "selectedIds": { "alias": "selectedIds"; "required": false; }; "sortFields": { "alias": "sortFields"; "required": false; }; "appliedFilters": { "alias": "appliedFilters"; "required": false; }; "searchFunction": { "alias": "search"; "required": false; }; }, { "selectedIdsChange": "selectedIdsChange"; "appliedFiltersChange": "appliedFiltersChange"; }, ["listViews"], ["*"], false, never>;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
* @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager.
|
|
395
|
+
*/
|
|
396
|
+
declare class SkyListModule {
|
|
397
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyListModule, never>;
|
|
398
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyListModule, [typeof SkyListComponent], [typeof i2.CommonModule], [typeof SkyListComponent]>;
|
|
399
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SkyListModule>;
|
|
400
|
+
}
|
|
401
|
+
|
|
281
402
|
/**
|
|
282
403
|
* @internal
|
|
283
404
|
* @deprecated
|
|
@@ -550,128 +671,6 @@ declare class ListStateDispatcher extends StateDispatcher<ListStateAction> {
|
|
|
550
671
|
static ɵprov: i0.ɵɵInjectableDeclaration<ListStateDispatcher>;
|
|
551
672
|
}
|
|
552
673
|
|
|
553
|
-
/**
|
|
554
|
-
* @internal
|
|
555
|
-
* @deprecated
|
|
556
|
-
*/
|
|
557
|
-
declare class ListState extends StateNode<ListStateModel> {
|
|
558
|
-
constructor(dispatcher: ListStateDispatcher);
|
|
559
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListState, never>;
|
|
560
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ListState>;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
/**
|
|
564
|
-
* @internal
|
|
565
|
-
* @deprecated
|
|
566
|
-
*/
|
|
567
|
-
declare abstract class ListViewComponent {
|
|
568
|
-
active: Observable<boolean>;
|
|
569
|
-
protected viewName: string;
|
|
570
|
-
protected state: ListState;
|
|
571
|
-
protected list: SkyListComponent;
|
|
572
|
-
protected hasToolbar: Observable<boolean>;
|
|
573
|
-
private viewId;
|
|
574
|
-
constructor(state: ListState, defaultName: string);
|
|
575
|
-
get id(): string;
|
|
576
|
-
get label(): string;
|
|
577
|
-
onViewActive(): void;
|
|
578
|
-
onViewInactive(): void;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
/**
|
|
582
|
-
* @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager.
|
|
583
|
-
*/
|
|
584
|
-
declare class SkyListComponent implements AfterContentInit, OnChanges, OnDestroy {
|
|
585
|
-
private state;
|
|
586
|
-
private dispatcher;
|
|
587
|
-
id: string;
|
|
588
|
-
/**
|
|
589
|
-
* The data to display. The list component requires this property or the
|
|
590
|
-
* `dataProvider` property. For checklist or multiselect grids, each row requires an
|
|
591
|
-
* `id` property to manage selected items with the `selectedIds` input and the
|
|
592
|
-
* `selectedIdsChange` event. If you do not provide an `id`, the list automatically
|
|
593
|
-
* generates one. To update data in your view outside of a `dataProvider`, you must use
|
|
594
|
-
* an observable instead of a static array.
|
|
595
|
-
*/
|
|
596
|
-
data?: any[] | Observable<any[]>;
|
|
597
|
-
/**
|
|
598
|
-
* The data provider that obtains the data to display. The list component requires
|
|
599
|
-
* this property or the `data` property. For lists that use `dataProvider` instead of `data`,
|
|
600
|
-
* consumers are responsible for managing all `ListDataRequestModel` properties.
|
|
601
|
-
* @default SkyListInMemoryDataProvider
|
|
602
|
-
*/
|
|
603
|
-
dataProvider?: ListDataProvider;
|
|
604
|
-
/**
|
|
605
|
-
* @internal
|
|
606
|
-
*/
|
|
607
|
-
defaultView?: ListViewComponent;
|
|
608
|
-
/**
|
|
609
|
-
* The total number of items for the initial data set when initialized. When
|
|
610
|
-
* used in conjunction with `data` and `dataProvider`, it allows an initial data to be
|
|
611
|
-
* set with the need to call the `dataProvider`.
|
|
612
|
-
*/
|
|
613
|
-
initialTotal?: number;
|
|
614
|
-
/**
|
|
615
|
-
* The set of IDs for the items to select in a checklist or multiselect grid.
|
|
616
|
-
* The IDs match the `id` properties of the `data` objects. Items with IDs that are not
|
|
617
|
-
* included are de-selected in the checklist or multiselect grid.
|
|
618
|
-
*/
|
|
619
|
-
selectedIds?: string[] | Observable<string[]>;
|
|
620
|
-
/**
|
|
621
|
-
* The set of fields to sort by. If array of fields then sorted by order of array.
|
|
622
|
-
* For information about `ListSortFieldSelectorModel`, see the
|
|
623
|
-
* [shared classes for lists](https://developer.blackbaud.com/skyux-list-builder-common/docs/list-builder-common).
|
|
624
|
-
*/
|
|
625
|
-
sortFields?: ListSortFieldSelectorModel | ListSortFieldSelectorModel[] | Observable<ListSortFieldSelectorModel[]> | Observable<ListSortFieldSelectorModel>;
|
|
626
|
-
/**
|
|
627
|
-
* The set of filters to apply to list data.
|
|
628
|
-
* These filters create a filter summary when the list includes the
|
|
629
|
-
* [`sky-list-filter-summary`](https://developer.blackbaud.com/skyux/components/list-filters)
|
|
630
|
-
* component.
|
|
631
|
-
*/
|
|
632
|
-
appliedFilters: ListFilterModel[];
|
|
633
|
-
/**
|
|
634
|
-
* For list views that support item selection, emits the selected entries.
|
|
635
|
-
*/
|
|
636
|
-
selectedIdsChange: EventEmitter<Map<string, boolean>>;
|
|
637
|
-
/**
|
|
638
|
-
* Emits the filters applied to the list.
|
|
639
|
-
*/
|
|
640
|
-
appliedFiltersChange: EventEmitter<ListFilterModel[]>;
|
|
641
|
-
/**
|
|
642
|
-
* The function to apply as a global sort on the list.
|
|
643
|
-
*/
|
|
644
|
-
searchFunction: (data: any, searchText: string) => boolean;
|
|
645
|
-
private dataFirstLoad;
|
|
646
|
-
private listViews;
|
|
647
|
-
private lastSelectedIds;
|
|
648
|
-
private lastFilters;
|
|
649
|
-
private ngUnsubscribe;
|
|
650
|
-
constructor(state: ListState, dispatcher: ListStateDispatcher, logger: SkyLogService);
|
|
651
|
-
ngAfterContentInit(): void;
|
|
652
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
653
|
-
ngOnDestroy(): void;
|
|
654
|
-
refreshDisplayedItems(): void;
|
|
655
|
-
get displayedItems(): Observable<ListDataResponseModel>;
|
|
656
|
-
get selectedItems(): Observable<ListItemModel[]>;
|
|
657
|
-
get lastUpdate(): Observable<Date>;
|
|
658
|
-
get views(): ListViewComponent[];
|
|
659
|
-
get itemCount(): Observable<number>;
|
|
660
|
-
private getItemsAndRetainSelections;
|
|
661
|
-
private arraysEqual;
|
|
662
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyListComponent, never>;
|
|
663
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SkyListComponent, "sky-list", never, { "data": { "alias": "data"; "required": false; }; "dataProvider": { "alias": "dataProvider"; "required": false; }; "defaultView": { "alias": "defaultView"; "required": false; }; "initialTotal": { "alias": "initialTotal"; "required": false; }; "selectedIds": { "alias": "selectedIds"; "required": false; }; "sortFields": { "alias": "sortFields"; "required": false; }; "appliedFilters": { "alias": "appliedFilters"; "required": false; }; "searchFunction": { "alias": "search"; "required": false; }; }, { "selectedIdsChange": "selectedIdsChange"; "appliedFiltersChange": "appliedFiltersChange"; }, ["listViews"], ["*"], false, never>;
|
|
664
|
-
}
|
|
665
|
-
|
|
666
|
-
/**
|
|
667
|
-
* @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager.
|
|
668
|
-
*/
|
|
669
|
-
declare class SkyListModule {
|
|
670
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyListModule, never>;
|
|
671
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyListModule, [typeof SkyListComponent], [typeof i2.CommonModule], [typeof SkyListComponent]>;
|
|
672
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyListModule>;
|
|
673
|
-
}
|
|
674
|
-
|
|
675
674
|
/**
|
|
676
675
|
* @internal
|
|
677
676
|
* @deprecated
|
|
@@ -814,10 +813,9 @@ declare class SkyListFilterInlineModel {
|
|
|
814
813
|
* @deprecated
|
|
815
814
|
*/
|
|
816
815
|
declare class SkyListFilterButtonComponent implements AfterViewInit {
|
|
817
|
-
private dispatcher;
|
|
818
816
|
private filterButtonTemplate;
|
|
819
817
|
private filterButtonItemToolbarIndex;
|
|
820
|
-
|
|
818
|
+
private readonly dispatcher;
|
|
821
819
|
ngAfterViewInit(): void;
|
|
822
820
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyListFilterButtonComponent, never>;
|
|
823
821
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyListFilterButtonComponent, "sky-list-filter-button", never, {}, {}, never, ["*"], false, never>;
|
|
@@ -831,15 +829,14 @@ declare class SkyListFilterButtonComponent implements AfterViewInit {
|
|
|
831
829
|
* @deprecated
|
|
832
830
|
*/
|
|
833
831
|
declare class SkyListFilterSummaryComponent implements AfterContentInit {
|
|
834
|
-
private state;
|
|
835
|
-
private dispatcher;
|
|
836
832
|
/**
|
|
837
833
|
* Emits a `ListFilterModel` when users select a summary item. A common use case is
|
|
838
834
|
* to open a filter modal when this event is received.
|
|
839
835
|
*/
|
|
840
836
|
summaryItemClick: EventEmitter<ListFilterModel>;
|
|
841
837
|
appliedFilters: Observable<ListFilterModel[]>;
|
|
842
|
-
|
|
838
|
+
private readonly state;
|
|
839
|
+
private readonly dispatcher;
|
|
843
840
|
ngAfterContentInit(): void;
|
|
844
841
|
filterSummaryItemDismiss(index: number): void;
|
|
845
842
|
filterSummaryItemClick(item: ListFilterModel): void;
|
|
@@ -894,11 +891,10 @@ declare class SkyListFilterInlineItemComponent implements OnInit {
|
|
|
894
891
|
* @deprecated
|
|
895
892
|
*/
|
|
896
893
|
declare class SkyListFilterInlineComponent implements AfterContentInit {
|
|
897
|
-
private dispatcher;
|
|
898
|
-
private state;
|
|
899
894
|
inlineFilters: SkyListFilterInlineModel[];
|
|
900
895
|
private filters;
|
|
901
|
-
|
|
896
|
+
private readonly dispatcher;
|
|
897
|
+
private readonly state;
|
|
902
898
|
ngAfterContentInit(): void;
|
|
903
899
|
applyFilters(): void;
|
|
904
900
|
private getFilterModelFromInline;
|
|
@@ -963,7 +959,7 @@ declare class SkyListPagingComponent extends ListPagingComponent implements OnIn
|
|
|
963
959
|
maxDisplayedPages: Observable<number>;
|
|
964
960
|
itemsPerPage: Observable<number>;
|
|
965
961
|
itemCount: Observable<number>;
|
|
966
|
-
constructor(
|
|
962
|
+
constructor();
|
|
967
963
|
ngOnInit(): void;
|
|
968
964
|
pageChange(currentPage: number): void;
|
|
969
965
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyListPagingComponent, never>;
|
|
@@ -993,41 +989,24 @@ interface SkyListSecondaryAction {
|
|
|
993
989
|
* @deprecated
|
|
994
990
|
*/
|
|
995
991
|
declare class SkyListSecondaryActionsComponent implements AfterViewInit {
|
|
996
|
-
private dispatcher;
|
|
997
992
|
actions: any[];
|
|
998
993
|
private secondaryActionsTemplate;
|
|
999
994
|
private secondaryActionsItemToolbarIndex;
|
|
1000
|
-
|
|
995
|
+
private readonly dispatcher;
|
|
1001
996
|
ngAfterViewInit(): void;
|
|
1002
997
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyListSecondaryActionsComponent, never>;
|
|
1003
998
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyListSecondaryActionsComponent, "sky-list-secondary-actions", never, {}, {}, never, ["*"], false, never>;
|
|
1004
999
|
}
|
|
1005
1000
|
|
|
1006
|
-
/**
|
|
1007
|
-
* @internal
|
|
1008
|
-
*/
|
|
1009
|
-
declare class SkyListSecondaryActionsService implements OnDestroy {
|
|
1010
|
-
secondaryActionsCount: number;
|
|
1011
|
-
secondaryActionsSubject: BehaviorSubject<number>;
|
|
1012
|
-
actionsStream: BehaviorSubject<SkyListSecondaryAction[]>;
|
|
1013
|
-
private actions;
|
|
1014
|
-
addSecondaryAction(action: SkyListSecondaryAction): void;
|
|
1015
|
-
removeSecondaryAction(action: any): void;
|
|
1016
|
-
ngOnDestroy(): void;
|
|
1017
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyListSecondaryActionsService, never>;
|
|
1018
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyListSecondaryActionsService>;
|
|
1019
|
-
}
|
|
1020
|
-
|
|
1021
1001
|
/**
|
|
1022
1002
|
* @internal
|
|
1023
1003
|
*/
|
|
1024
1004
|
declare class SkyListSecondaryActionsHostComponent implements OnInit, OnDestroy {
|
|
1025
|
-
private changeDetector;
|
|
1026
|
-
private actionService;
|
|
1027
1005
|
dropdownHidden: boolean;
|
|
1028
1006
|
actions: any[];
|
|
1029
1007
|
private ngUnsubscribe;
|
|
1030
|
-
|
|
1008
|
+
private readonly changeDetector;
|
|
1009
|
+
private readonly actionService;
|
|
1031
1010
|
ngOnInit(): void;
|
|
1032
1011
|
ngOnDestroy(): void;
|
|
1033
1012
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyListSecondaryActionsHostComponent, never>;
|
|
@@ -1039,9 +1018,8 @@ declare class SkyListSecondaryActionsHostComponent implements OnInit, OnDestroy
|
|
|
1039
1018
|
* @deprecated
|
|
1040
1019
|
*/
|
|
1041
1020
|
declare class SkyListSecondaryActionComponent implements AfterContentInit {
|
|
1042
|
-
private actionService;
|
|
1043
1021
|
private templateRef;
|
|
1044
|
-
|
|
1022
|
+
private readonly actionService;
|
|
1045
1023
|
ngAfterContentInit(): void;
|
|
1046
1024
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyListSecondaryActionComponent, never>;
|
|
1047
1025
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyListSecondaryActionComponent, "sky-list-secondary-action", never, {}, {}, never, ["*"], false, never>;
|
|
@@ -1094,41 +1072,11 @@ declare class ListToolbarStateDispatcher extends StateDispatcher<ListToolbarStat
|
|
|
1094
1072
|
static ɵprov: i0.ɵɵInjectableDeclaration<ListToolbarStateDispatcher>;
|
|
1095
1073
|
}
|
|
1096
1074
|
|
|
1097
|
-
/**
|
|
1098
|
-
* @internal
|
|
1099
|
-
*/
|
|
1100
|
-
declare class ListToolbarConfigModel {
|
|
1101
|
-
searchEnabled: boolean;
|
|
1102
|
-
sortSelectorEnabled: boolean;
|
|
1103
|
-
constructor(data?: any);
|
|
1104
|
-
}
|
|
1105
|
-
|
|
1106
|
-
/**
|
|
1107
|
-
* @internal
|
|
1108
|
-
*/
|
|
1109
|
-
declare class ListToolbarStateModel {
|
|
1110
|
-
config: ListToolbarConfigModel;
|
|
1111
|
-
}
|
|
1112
|
-
|
|
1113
|
-
/**
|
|
1114
|
-
* @internal
|
|
1115
|
-
*/
|
|
1116
|
-
declare class ListToolbarState extends StateNode<ListToolbarStateModel> {
|
|
1117
|
-
constructor(initialState: ListToolbarStateModel, dispatcher: ListToolbarStateDispatcher);
|
|
1118
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListToolbarState, never>;
|
|
1119
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ListToolbarState>;
|
|
1120
|
-
}
|
|
1121
|
-
|
|
1122
1075
|
/**
|
|
1123
1076
|
* Displays a toolbar for a SKY UX-themed list of data.
|
|
1124
1077
|
* @deprecated
|
|
1125
1078
|
*/
|
|
1126
1079
|
declare class SkyListToolbarComponent implements OnInit, AfterContentInit, OnDestroy {
|
|
1127
|
-
private changeDetector;
|
|
1128
|
-
private state;
|
|
1129
|
-
private dispatcher;
|
|
1130
|
-
private toolbarState;
|
|
1131
|
-
toolbarDispatcher: ListToolbarStateDispatcher;
|
|
1132
1080
|
/**
|
|
1133
1081
|
* Whether to use the in-memory search.
|
|
1134
1082
|
* Setting this to `false` will allow consumers to run their own searches remotely,
|
|
@@ -1208,7 +1156,12 @@ declare class SkyListToolbarComponent implements OnInit, AfterContentInit, OnDes
|
|
|
1208
1156
|
private sortSelectorItemToolbarIndex;
|
|
1209
1157
|
private ngUnsubscribe;
|
|
1210
1158
|
private _inMemorySearchEnabled;
|
|
1211
|
-
|
|
1159
|
+
private readonly changeDetector;
|
|
1160
|
+
private readonly state;
|
|
1161
|
+
private readonly dispatcher;
|
|
1162
|
+
private readonly toolbarState;
|
|
1163
|
+
readonly toolbarDispatcher: ListToolbarStateDispatcher;
|
|
1164
|
+
constructor();
|
|
1212
1165
|
ngOnInit(): void;
|
|
1213
1166
|
ngAfterContentInit(): void;
|
|
1214
1167
|
ngOnDestroy(): void;
|
|
@@ -1264,13 +1217,12 @@ declare class SkyListToolbarItemRendererComponent implements OnInit {
|
|
|
1264
1217
|
* @deprecated
|
|
1265
1218
|
*/
|
|
1266
1219
|
declare class SkyListMultiselectToolbarComponent implements OnInit, OnDestroy {
|
|
1267
|
-
private state;
|
|
1268
|
-
private dispatcher;
|
|
1269
1220
|
showOnlySelected: boolean;
|
|
1270
1221
|
multiselectToolbarId: string;
|
|
1271
1222
|
private selectedIdMap;
|
|
1272
1223
|
private ngUnsubscribe;
|
|
1273
|
-
|
|
1224
|
+
private readonly state;
|
|
1225
|
+
private readonly dispatcher;
|
|
1274
1226
|
ngOnInit(): void;
|
|
1275
1227
|
ngOnDestroy(): void;
|
|
1276
1228
|
selectAll(): void;
|
|
@@ -1330,7 +1282,7 @@ declare class SkyListToolbarSortComponent {
|
|
|
1330
1282
|
* @deprecated
|
|
1331
1283
|
*/
|
|
1332
1284
|
declare class SkyListToolbarViewActionsComponent {
|
|
1333
|
-
constructor(
|
|
1285
|
+
constructor();
|
|
1334
1286
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyListToolbarViewActionsComponent, never>;
|
|
1335
1287
|
static ɵcmp: i0.ɵɵComponentDeclaration<SkyListToolbarViewActionsComponent, "sky-list-toolbar-view-actions", never, {}, {}, never, ["*"], false, never>;
|
|
1336
1288
|
}
|