@skyux/list-builder 15.0.0-alpha.0 → 15.0.0-alpha.2
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 +153 -153
- package/fesm2022/skyux-list-builder.mjs.map +1 -1
- package/package.json +12 -12
- package/types/skyux-list-builder.d.ts +143 -191
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as i1$1 from '@angular/common';
|
|
2
2
|
import { CommonModule } from '@angular/common';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { Injectable, EventEmitter, ContentChildren, Input, Output, ChangeDetectionStrategy, Component, NgModule, TemplateRef, ViewChild, ViewContainerRef, forwardRef } from '@angular/core';
|
|
4
|
+
import { Injectable, inject, EventEmitter, ContentChildren, Input, Output, ChangeDetectionStrategy, Component, NgModule, TemplateRef, ViewChild, ViewContainerRef, forwardRef, ChangeDetectorRef } from '@angular/core';
|
|
5
|
+
import { SkyLogService } from '@skyux/core';
|
|
5
6
|
import { ListItemModel, getData, compare, StateOrchestrator, StateDispatcher, AsyncList, AsyncItem, StateNode, getValue, isObservable } from '@skyux/list-builder-common';
|
|
6
7
|
import { BehaviorSubject, Observable, Subject, of, combineLatest } from 'rxjs';
|
|
7
8
|
import { map, distinctUntilChanged, take, takeUntil, skip, flatMap, scan } from 'rxjs/operators';
|
|
8
|
-
import * as
|
|
9
|
-
import * as i3$1 from '@skyux/lists';
|
|
9
|
+
import * as i1 from '@skyux/lists';
|
|
10
10
|
import { SkyFilterModule, SkyPagingModule, SkySortModule } from '@skyux/lists';
|
|
11
|
-
import * as
|
|
11
|
+
import * as i3 from '@skyux/icon';
|
|
12
12
|
import { SkyIconModule } from '@skyux/icon';
|
|
13
|
-
import * as
|
|
13
|
+
import * as i2 from '@skyux/popovers';
|
|
14
14
|
import { SkyDropdownModule } from '@skyux/popovers';
|
|
15
|
-
import * as
|
|
15
|
+
import * as i4 from '@skyux/i18n';
|
|
16
16
|
import { SkyLibResourcesService, SkyI18nModule } from '@skyux/i18n';
|
|
17
|
-
import * as
|
|
17
|
+
import * as i2$1 from '@skyux/forms';
|
|
18
18
|
import { SkyCheckboxModule } from '@skyux/forms';
|
|
19
|
-
import * as
|
|
19
|
+
import * as i3$1 from '@skyux/layout';
|
|
20
20
|
import { SkyToolbarModule } from '@skyux/layout';
|
|
21
|
-
import * as
|
|
21
|
+
import * as i2$2 from '@skyux/lookup';
|
|
22
22
|
import { SkySearchComponent, SkySearchModule } from '@skyux/lookup';
|
|
23
23
|
|
|
24
24
|
/**
|
|
@@ -516,10 +516,10 @@ class ListStateDispatcher extends StateDispatcher {
|
|
|
516
516
|
setSelected(selectedIds, selected, refresh = false) {
|
|
517
517
|
this.next(new ListSelectedSetItemsSelectedAction(selectedIds, selected, refresh));
|
|
518
518
|
}
|
|
519
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
520
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
519
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ListStateDispatcher, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
520
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ListStateDispatcher }); }
|
|
521
521
|
}
|
|
522
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
522
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ListStateDispatcher, decorators: [{
|
|
523
523
|
type: Injectable
|
|
524
524
|
}] });
|
|
525
525
|
|
|
@@ -1060,8 +1060,8 @@ class ListViewsOrchestrator extends ListStateOrchestrator {
|
|
|
1060
1060
|
* @deprecated
|
|
1061
1061
|
*/
|
|
1062
1062
|
class ListState extends StateNode {
|
|
1063
|
-
constructor(
|
|
1064
|
-
super(new ListStateModel(),
|
|
1063
|
+
constructor() {
|
|
1064
|
+
super(new ListStateModel(), inject(ListStateDispatcher));
|
|
1065
1065
|
this.register('filters', ListFiltersOrchestrator)
|
|
1066
1066
|
.register('items', ListItemsOrchestrator)
|
|
1067
1067
|
.register('paging', ListPagingOrchestrator)
|
|
@@ -1072,12 +1072,12 @@ class ListState extends StateNode {
|
|
|
1072
1072
|
.register('selected', ListSelectedOrchestrator)
|
|
1073
1073
|
.begin();
|
|
1074
1074
|
}
|
|
1075
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1076
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
1075
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ListState, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1076
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ListState }); }
|
|
1077
1077
|
}
|
|
1078
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1078
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ListState, decorators: [{
|
|
1079
1079
|
type: Injectable
|
|
1080
|
-
}], ctorParameters: () => [
|
|
1080
|
+
}], ctorParameters: () => [] });
|
|
1081
1081
|
|
|
1082
1082
|
/**
|
|
1083
1083
|
* @internal
|
|
@@ -1095,9 +1095,7 @@ let idIndex$1 = 0;
|
|
|
1095
1095
|
* @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager.
|
|
1096
1096
|
*/
|
|
1097
1097
|
class SkyListComponent {
|
|
1098
|
-
constructor(
|
|
1099
|
-
this.state = state;
|
|
1100
|
-
this.dispatcher = dispatcher;
|
|
1098
|
+
constructor() {
|
|
1101
1099
|
this.id = `sky-list-cmp-${++idIndex$1}`;
|
|
1102
1100
|
/**
|
|
1103
1101
|
* The data to display. The list component requires this property or the
|
|
@@ -1127,7 +1125,9 @@ class SkyListComponent {
|
|
|
1127
1125
|
this.lastSelectedIds = [];
|
|
1128
1126
|
this.lastFilters = [];
|
|
1129
1127
|
this.ngUnsubscribe = new Subject();
|
|
1130
|
-
|
|
1128
|
+
this.state = inject(ListState);
|
|
1129
|
+
this.dispatcher = inject(ListStateDispatcher);
|
|
1130
|
+
inject(SkyLogService).deprecated('SkyListComponent', {
|
|
1131
1131
|
deprecationMajorVersion: 6,
|
|
1132
1132
|
moreInfoUrl: 'https://developer.blackbaud.com/skyux/components/data-manager',
|
|
1133
1133
|
replacementRecommendation: 'Use data manager instead.',
|
|
@@ -1341,10 +1341,10 @@ class SkyListComponent {
|
|
|
1341
1341
|
}
|
|
1342
1342
|
return true;
|
|
1343
1343
|
}
|
|
1344
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1345
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
1344
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1345
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyListComponent, isStandalone: false, selector: "sky-list", inputs: { data: "data", dataProvider: "dataProvider", defaultView: "defaultView", initialTotal: "initialTotal", selectedIds: "selectedIds", sortFields: "sortFields", appliedFilters: "appliedFilters", searchFunction: ["search", "searchFunction"] }, outputs: { selectedIdsChange: "selectedIdsChange", appliedFiltersChange: "appliedFiltersChange" }, providers: [ListState, ListStateDispatcher], queries: [{ propertyName: "listViews", predicate: ListViewComponent }], usesOnChanges: true, ngImport: i0, template: '<ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1346
1346
|
}
|
|
1347
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1347
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListComponent, decorators: [{
|
|
1348
1348
|
type: Component,
|
|
1349
1349
|
args: [{
|
|
1350
1350
|
selector: 'sky-list',
|
|
@@ -1353,7 +1353,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
1353
1353
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1354
1354
|
standalone: false,
|
|
1355
1355
|
}]
|
|
1356
|
-
}], ctorParameters: () => [
|
|
1356
|
+
}], ctorParameters: () => [], propDecorators: { data: [{
|
|
1357
1357
|
type: Input
|
|
1358
1358
|
}], dataProvider: [{
|
|
1359
1359
|
type: Input
|
|
@@ -1383,11 +1383,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
1383
1383
|
* @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager.
|
|
1384
1384
|
*/
|
|
1385
1385
|
class SkyListModule {
|
|
1386
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1387
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.
|
|
1388
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.
|
|
1386
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1387
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.6", ngImport: i0, type: SkyListModule, declarations: [SkyListComponent], imports: [CommonModule], exports: [SkyListComponent] }); }
|
|
1388
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListModule, imports: [CommonModule] }); }
|
|
1389
1389
|
}
|
|
1390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListModule, decorators: [{
|
|
1391
1391
|
type: NgModule,
|
|
1392
1392
|
args: [{
|
|
1393
1393
|
declarations: [SkyListComponent],
|
|
@@ -1444,9 +1444,9 @@ class SkyListFilterInlineModel {
|
|
|
1444
1444
|
* @deprecated
|
|
1445
1445
|
*/
|
|
1446
1446
|
class SkyListFilterButtonComponent {
|
|
1447
|
-
constructor(
|
|
1448
|
-
this.dispatcher = dispatcher;
|
|
1447
|
+
constructor() {
|
|
1449
1448
|
this.filterButtonItemToolbarIndex = 5000;
|
|
1449
|
+
this.dispatcher = inject(ListStateDispatcher);
|
|
1450
1450
|
}
|
|
1451
1451
|
ngAfterViewInit() {
|
|
1452
1452
|
this.dispatcher.toolbarAddItems([
|
|
@@ -1457,13 +1457,13 @@ class SkyListFilterButtonComponent {
|
|
|
1457
1457
|
}),
|
|
1458
1458
|
]);
|
|
1459
1459
|
}
|
|
1460
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1461
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
1460
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListFilterButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1461
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyListFilterButtonComponent, isStandalone: false, selector: "sky-list-filter-button", viewQueries: [{ propertyName: "filterButtonTemplate", first: true, predicate: ["filterButton"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: "<ng-template #filterButton>\n <ng-content />\n</ng-template>\n", changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
1462
1462
|
}
|
|
1463
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1463
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListFilterButtonComponent, decorators: [{
|
|
1464
1464
|
type: Component,
|
|
1465
1465
|
args: [{ selector: 'sky-list-filter-button', changeDetection: ChangeDetectionStrategy.Eager, standalone: false, template: "<ng-template #filterButton>\n <ng-content />\n</ng-template>\n" }]
|
|
1466
|
-
}],
|
|
1466
|
+
}], propDecorators: { filterButtonTemplate: [{
|
|
1467
1467
|
type: ViewChild,
|
|
1468
1468
|
args: ['filterButton', {
|
|
1469
1469
|
read: TemplateRef,
|
|
@@ -1482,10 +1482,10 @@ class SkyListFilterInlineItemRendererComponent {
|
|
|
1482
1482
|
this.container.createEmbeddedView(this.template, this);
|
|
1483
1483
|
}
|
|
1484
1484
|
}
|
|
1485
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1486
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
1485
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListFilterInlineItemRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1486
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyListFilterInlineItemRendererComponent, isStandalone: false, selector: "sky-list-filter-inline-item-renderer", inputs: { template: "template", filter: "filter" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: '<ng-template #container />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
1487
1487
|
}
|
|
1488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListFilterInlineItemRendererComponent, decorators: [{
|
|
1489
1489
|
type: Component,
|
|
1490
1490
|
args: [{
|
|
1491
1491
|
selector: 'sky-list-filter-inline-item-renderer',
|
|
@@ -1523,10 +1523,10 @@ class SkyListFilterInlineItemComponent {
|
|
|
1523
1523
|
? this.templates.first
|
|
1524
1524
|
: this.templateInput;
|
|
1525
1525
|
}
|
|
1526
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1527
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
1526
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListFilterInlineItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1527
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyListFilterInlineItemComponent, isStandalone: false, selector: "sky-list-filter-inline-item", inputs: { name: "name", value: "value", defaultValue: "defaultValue", filterFunction: ["filter", "filterFunction"], templateInput: ["template", "templateInput"] }, queries: [{ propertyName: "templates", predicate: TemplateRef }], ngImport: i0, template: '<ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
1528
1528
|
}
|
|
1529
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1529
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListFilterInlineItemComponent, decorators: [{
|
|
1530
1530
|
type: Component,
|
|
1531
1531
|
args: [{
|
|
1532
1532
|
selector: 'sky-list-filter-inline-item',
|
|
@@ -1557,10 +1557,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
1557
1557
|
* @deprecated
|
|
1558
1558
|
*/
|
|
1559
1559
|
class SkyListFilterInlineComponent {
|
|
1560
|
-
constructor(
|
|
1561
|
-
this.dispatcher = dispatcher;
|
|
1562
|
-
this.state = state;
|
|
1560
|
+
constructor() {
|
|
1563
1561
|
this.inlineFilters = [];
|
|
1562
|
+
this.dispatcher = inject(ListStateDispatcher);
|
|
1563
|
+
this.state = inject(ListState);
|
|
1564
1564
|
}
|
|
1565
1565
|
ngAfterContentInit() {
|
|
1566
1566
|
this.inlineFilters = this.filters.map((filter) => {
|
|
@@ -1598,13 +1598,13 @@ class SkyListFilterInlineComponent {
|
|
|
1598
1598
|
});
|
|
1599
1599
|
});
|
|
1600
1600
|
}
|
|
1601
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1602
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
1601
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListFilterInlineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1602
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: SkyListFilterInlineComponent, isStandalone: false, selector: "sky-list-filter-inline", queries: [{ propertyName: "filters", predicate: SkyListFilterInlineItemComponent }], ngImport: i0, template: "<ng-content />\n\n<sky-filter-inline>\n @for (filter of inlineFilters; track filter) {\n <sky-filter-inline-item>\n <sky-list-filter-inline-item-renderer\n [template]=\"filter.template\"\n [filter]=\"filter\"\n />\n </sky-filter-inline-item>\n }\n</sky-filter-inline>\n", dependencies: [{ kind: "component", type: i1.λ2, selector: "sky-filter-inline" }, { kind: "component", type: i1.λ3, selector: "sky-filter-inline-item" }, { kind: "component", type: SkyListFilterInlineItemRendererComponent, selector: "sky-list-filter-inline-item-renderer", inputs: ["template", "filter"] }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
1603
1603
|
}
|
|
1604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListFilterInlineComponent, decorators: [{
|
|
1605
1605
|
type: Component,
|
|
1606
1606
|
args: [{ selector: 'sky-list-filter-inline', changeDetection: ChangeDetectionStrategy.Eager, standalone: false, template: "<ng-content />\n\n<sky-filter-inline>\n @for (filter of inlineFilters; track filter) {\n <sky-filter-inline-item>\n <sky-list-filter-inline-item-renderer\n [template]=\"filter.template\"\n [filter]=\"filter\"\n />\n </sky-filter-inline-item>\n }\n</sky-filter-inline>\n" }]
|
|
1607
|
-
}],
|
|
1607
|
+
}], propDecorators: { filters: [{
|
|
1608
1608
|
type: ContentChildren,
|
|
1609
1609
|
args: [SkyListFilterInlineItemComponent]
|
|
1610
1610
|
}] } });
|
|
@@ -1617,14 +1617,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
1617
1617
|
* @deprecated
|
|
1618
1618
|
*/
|
|
1619
1619
|
class SkyListFilterSummaryComponent {
|
|
1620
|
-
constructor(
|
|
1621
|
-
this.state = state;
|
|
1622
|
-
this.dispatcher = dispatcher;
|
|
1620
|
+
constructor() {
|
|
1623
1621
|
/**
|
|
1624
1622
|
* Emits a `ListFilterModel` when users select a summary item. A common use case is
|
|
1625
1623
|
* to open a filter modal when this event is received.
|
|
1626
1624
|
*/
|
|
1627
1625
|
this.summaryItemClick = new EventEmitter();
|
|
1626
|
+
this.state = inject(ListState);
|
|
1627
|
+
this.dispatcher = inject(ListStateDispatcher);
|
|
1628
1628
|
}
|
|
1629
1629
|
ngAfterContentInit() {
|
|
1630
1630
|
// The setTimeout here is to ensure we avoid any ExpressionChangedAfterItHasBeenCheckedError issues.
|
|
@@ -1648,13 +1648,13 @@ class SkyListFilterSummaryComponent {
|
|
|
1648
1648
|
filterSummaryItemClick(item) {
|
|
1649
1649
|
this.summaryItemClick.emit(item);
|
|
1650
1650
|
}
|
|
1651
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1652
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
1651
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListFilterSummaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1652
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: SkyListFilterSummaryComponent, isStandalone: false, selector: "sky-list-filter-summary", outputs: { summaryItemClick: "summaryItemClick" }, ngImport: i0, template: "<sky-filter-summary>\n @for (item of appliedFilters | async; track item; let i = $index) {\n <sky-filter-summary-item\n [dismissible]=\"item.dismissible\"\n (dismiss)=\"filterSummaryItemDismiss(i)\"\n (itemClick)=\"filterSummaryItemClick(item)\"\n >\n {{ item.label || item.value }}\n </sky-filter-summary-item>\n }\n</sky-filter-summary>\n", dependencies: [{ kind: "component", type: i1.λ5, selector: "sky-filter-summary" }, { kind: "component", type: i1.λ4, selector: "sky-filter-summary-item", inputs: ["dismissible"], outputs: ["dismiss", "itemClick"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
1653
1653
|
}
|
|
1654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1654
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListFilterSummaryComponent, decorators: [{
|
|
1655
1655
|
type: Component,
|
|
1656
1656
|
args: [{ selector: 'sky-list-filter-summary', changeDetection: ChangeDetectionStrategy.Eager, standalone: false, template: "<sky-filter-summary>\n @for (item of appliedFilters | async; track item; let i = $index) {\n <sky-filter-summary-item\n [dismissible]=\"item.dismissible\"\n (dismiss)=\"filterSummaryItemDismiss(i)\"\n (itemClick)=\"filterSummaryItemClick(item)\"\n >\n {{ item.label || item.value }}\n </sky-filter-summary-item>\n }\n</sky-filter-summary>\n" }]
|
|
1657
|
-
}],
|
|
1657
|
+
}], propDecorators: { summaryItemClick: [{
|
|
1658
1658
|
type: Output
|
|
1659
1659
|
}] } });
|
|
1660
1660
|
|
|
@@ -1662,8 +1662,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
1662
1662
|
* @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager.
|
|
1663
1663
|
*/
|
|
1664
1664
|
class SkyListFiltersModule {
|
|
1665
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1666
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.
|
|
1665
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListFiltersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1666
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.6", ngImport: i0, type: SkyListFiltersModule, declarations: [SkyListFilterButtonComponent,
|
|
1667
1667
|
SkyListFilterSummaryComponent,
|
|
1668
1668
|
SkyListFilterInlineItemComponent,
|
|
1669
1669
|
SkyListFilterInlineComponent,
|
|
@@ -1671,9 +1671,9 @@ class SkyListFiltersModule {
|
|
|
1671
1671
|
SkyListFilterSummaryComponent,
|
|
1672
1672
|
SkyListFilterInlineItemComponent,
|
|
1673
1673
|
SkyListFilterInlineComponent] }); }
|
|
1674
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.
|
|
1674
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListFiltersModule, imports: [CommonModule, SkyFilterModule] }); }
|
|
1675
1675
|
}
|
|
1676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListFiltersModule, decorators: [{
|
|
1677
1677
|
type: NgModule,
|
|
1678
1678
|
args: [{
|
|
1679
1679
|
declarations: [
|
|
@@ -1713,8 +1713,8 @@ const listPagingComponentRef = forwardRef(() => SkyListPagingComponent);
|
|
|
1713
1713
|
* @deprecated
|
|
1714
1714
|
*/
|
|
1715
1715
|
class SkyListPagingComponent extends ListPagingComponent {
|
|
1716
|
-
constructor(
|
|
1717
|
-
super(
|
|
1716
|
+
constructor() {
|
|
1717
|
+
super(inject(ListState), inject(ListStateDispatcher));
|
|
1718
1718
|
/**
|
|
1719
1719
|
* The number of list items per page.
|
|
1720
1720
|
* @default 10
|
|
@@ -1730,7 +1730,7 @@ class SkyListPagingComponent extends ListPagingComponent {
|
|
|
1730
1730
|
* @default 1
|
|
1731
1731
|
*/
|
|
1732
1732
|
this.pageNumber = 1;
|
|
1733
|
-
|
|
1733
|
+
inject(SkyLogService).deprecated('SkyListPagingComponent', {
|
|
1734
1734
|
deprecationMajorVersion: 6,
|
|
1735
1735
|
moreInfoUrl: 'https://developer.blackbaud.com/skyux/components/data-manager',
|
|
1736
1736
|
replacementRecommendation: 'Use data manager and the paging component instead.',
|
|
@@ -1764,17 +1764,17 @@ class SkyListPagingComponent extends ListPagingComponent {
|
|
|
1764
1764
|
this.dispatcher.next(new ListPagingSetPageNumberAction(Number(currentPage)));
|
|
1765
1765
|
});
|
|
1766
1766
|
}
|
|
1767
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1768
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
1767
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListPagingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1768
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyListPagingComponent, isStandalone: false, selector: "sky-list-paging", inputs: { pageSize: "pageSize", maxPages: "maxPages", pageNumber: "pageNumber" }, providers: [
|
|
1769
1769
|
{ provide: ListPagingComponent, useExisting: listPagingComponentRef },
|
|
1770
|
-
], usesInheritance: true, ngImport: i0, template: "<sky-paging\n [pageSize]=\"itemsPerPage | async\"\n [maxPages]=\"maxDisplayedPages | async\"\n [currentPage]=\"currentPageNumber | async\"\n [itemCount]=\"itemCount | async\"\n (currentPageChange)=\"pageChange($event)\"\n/>\n", dependencies: [{ kind: "component", type:
|
|
1770
|
+
], usesInheritance: true, ngImport: i0, template: "<sky-paging\n [pageSize]=\"itemsPerPage | async\"\n [maxPages]=\"maxDisplayedPages | async\"\n [currentPage]=\"currentPageNumber | async\"\n [itemCount]=\"itemCount | async\"\n (currentPageChange)=\"pageChange($event)\"\n/>\n", dependencies: [{ kind: "component", type: i1.λ7, selector: "sky-paging", inputs: ["currentPage", "itemCount", "maxPages", "pageSize", "pagingLabel"], outputs: ["currentPageChange", "contentChange"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1771
1771
|
}
|
|
1772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListPagingComponent, decorators: [{
|
|
1773
1773
|
type: Component,
|
|
1774
1774
|
args: [{ selector: 'sky-list-paging', providers: [
|
|
1775
1775
|
{ provide: ListPagingComponent, useExisting: listPagingComponentRef },
|
|
1776
1776
|
], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<sky-paging\n [pageSize]=\"itemsPerPage | async\"\n [maxPages]=\"maxDisplayedPages | async\"\n [currentPage]=\"currentPageNumber | async\"\n [itemCount]=\"itemCount | async\"\n (currentPageChange)=\"pageChange($event)\"\n/>\n" }]
|
|
1777
|
-
}], ctorParameters: () => [
|
|
1777
|
+
}], ctorParameters: () => [], propDecorators: { pageSize: [{
|
|
1778
1778
|
type: Input
|
|
1779
1779
|
}], maxPages: [{
|
|
1780
1780
|
type: Input
|
|
@@ -1786,11 +1786,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
1786
1786
|
* @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager.
|
|
1787
1787
|
*/
|
|
1788
1788
|
class SkyListPagingModule {
|
|
1789
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1790
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.
|
|
1791
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.
|
|
1789
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListPagingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1790
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.6", ngImport: i0, type: SkyListPagingModule, declarations: [SkyListPagingComponent], imports: [CommonModule, SkyPagingModule], exports: [SkyListPagingComponent] }); }
|
|
1791
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListPagingModule, imports: [CommonModule, SkyPagingModule] }); }
|
|
1792
1792
|
}
|
|
1793
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1793
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListPagingModule, decorators: [{
|
|
1794
1794
|
type: NgModule,
|
|
1795
1795
|
args: [{
|
|
1796
1796
|
declarations: [SkyListPagingComponent],
|
|
@@ -1822,11 +1822,11 @@ SkyLibResourcesService.addResources(RESOURCES);
|
|
|
1822
1822
|
* Import into any component library module that needs to use resource strings.
|
|
1823
1823
|
*/
|
|
1824
1824
|
class SkyListBuilderResourcesModule {
|
|
1825
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1826
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.
|
|
1827
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.
|
|
1825
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListBuilderResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1826
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.6", ngImport: i0, type: SkyListBuilderResourcesModule, exports: [SkyI18nModule] }); }
|
|
1827
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListBuilderResourcesModule, imports: [SkyI18nModule] }); }
|
|
1828
1828
|
}
|
|
1829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1829
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListBuilderResourcesModule, decorators: [{
|
|
1830
1830
|
type: NgModule,
|
|
1831
1831
|
args: [{
|
|
1832
1832
|
exports: [SkyI18nModule],
|
|
@@ -1859,10 +1859,10 @@ class SkyListSecondaryActionsService {
|
|
|
1859
1859
|
this.secondaryActionsSubject.complete();
|
|
1860
1860
|
this.actionsStream.complete();
|
|
1861
1861
|
}
|
|
1862
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1863
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
1862
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListSecondaryActionsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1863
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListSecondaryActionsService }); }
|
|
1864
1864
|
}
|
|
1865
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1865
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListSecondaryActionsService, decorators: [{
|
|
1866
1866
|
type: Injectable
|
|
1867
1867
|
}] });
|
|
1868
1868
|
|
|
@@ -1871,21 +1871,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
1871
1871
|
* @deprecated
|
|
1872
1872
|
*/
|
|
1873
1873
|
class SkyListSecondaryActionComponent {
|
|
1874
|
-
constructor(
|
|
1875
|
-
this.actionService =
|
|
1874
|
+
constructor() {
|
|
1875
|
+
this.actionService = inject(SkyListSecondaryActionsService);
|
|
1876
1876
|
}
|
|
1877
1877
|
ngAfterContentInit() {
|
|
1878
1878
|
this.actionService.addSecondaryAction({
|
|
1879
1879
|
template: this.templateRef,
|
|
1880
1880
|
});
|
|
1881
1881
|
}
|
|
1882
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1883
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
1882
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListSecondaryActionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1883
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyListSecondaryActionComponent, isStandalone: false, selector: "sky-list-secondary-action", viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["listSecondaryAction"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: "<ng-template #listSecondaryAction>\n <ng-content />\n</ng-template>\n", changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
1884
1884
|
}
|
|
1885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListSecondaryActionComponent, decorators: [{
|
|
1886
1886
|
type: Component,
|
|
1887
1887
|
args: [{ selector: 'sky-list-secondary-action', changeDetection: ChangeDetectionStrategy.Eager, standalone: false, template: "<ng-template #listSecondaryAction>\n <ng-content />\n</ng-template>\n" }]
|
|
1888
|
-
}],
|
|
1888
|
+
}], propDecorators: { templateRef: [{
|
|
1889
1889
|
type: ViewChild,
|
|
1890
1890
|
args: ['listSecondaryAction', {
|
|
1891
1891
|
read: TemplateRef,
|
|
@@ -1899,12 +1899,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
1899
1899
|
* @internal
|
|
1900
1900
|
*/
|
|
1901
1901
|
class SkyListSecondaryActionsHostComponent {
|
|
1902
|
-
constructor(
|
|
1903
|
-
this.changeDetector = changeDetector;
|
|
1904
|
-
this.actionService = actionService;
|
|
1902
|
+
constructor() {
|
|
1905
1903
|
this.dropdownHidden = false;
|
|
1906
1904
|
this.actions = [];
|
|
1907
1905
|
this.ngUnsubscribe = new Subject();
|
|
1906
|
+
this.changeDetector = inject(ChangeDetectorRef);
|
|
1907
|
+
this.actionService = inject(SkyListSecondaryActionsService);
|
|
1908
1908
|
}
|
|
1909
1909
|
ngOnInit() {
|
|
1910
1910
|
this.actionService.actionsStream
|
|
@@ -1920,13 +1920,13 @@ class SkyListSecondaryActionsHostComponent {
|
|
|
1920
1920
|
this.ngUnsubscribe.next();
|
|
1921
1921
|
this.ngUnsubscribe.complete();
|
|
1922
1922
|
}
|
|
1923
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1924
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
1923
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListSecondaryActionsHostComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1924
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: SkyListSecondaryActionsHostComponent, isStandalone: false, selector: "sky-list-secondary-actions-host", ngImport: i0, template: "<div\n class=\"sky-list-secondary-actions\"\n [ngClass]=\"{ 'sky-list-secondary-actions-hidden': dropdownHidden }\"\n>\n <sky-dropdown\n [attr.title]=\"'skyux_list_show_secondary_actions_button' | skyLibResources\"\n [label]=\"'skyux_list_show_secondary_actions_button' | skyLibResources\"\n >\n <sky-dropdown-button>\n <sky-icon iconName=\"more-actions\" />\n <span class=\"sky-list-secondary-actions-btn-text\">\n {{ 'skyux_list_show_secondary_actions_button' | skyLibResources }}\n </span>\n </sky-dropdown-button>\n <sky-dropdown-menu>\n @for (action of actions; track action) {\n <sky-dropdown-item>\n <ng-container *ngTemplateOutlet=\"action.template\" />\n </sky-dropdown-item>\n }\n </sky-dropdown-menu>\n </sky-dropdown>\n</div>\n<ng-content />\n", styles: [".sky-list-secondary-actions-hidden{display:none}:host .sky-list-secondary-actions-btn-text{display:none}:host .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret{display:none}:host-context(.sky-responsive-container-xs) .sky-list-secondary-actions-btn-text,:host-context(.sky-responsive-container-sm) .sky-list-secondary-actions-btn-text,:host-context(.sky-responsive-container-md) .sky-list-secondary-actions-btn-text,:host-context(.sky-responsive-container-lg) .sky-list-secondary-actions-btn-text{display:none}:host-context(.sky-responsive-container-xs) .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret,:host-context(.sky-responsive-container-sm) .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret,:host-context(.sky-responsive-container-md) .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret,:host-context(.sky-responsive-container-lg) .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret{display:none}@media(min-width:768px){:host .sky-list-secondary-actions-btn-text{display:inline}:host .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret{display:inline-block}}:host-context(.sky-responsive-container-sm) .sky-list-secondary-actions-btn-text,:host-context(.sky-responsive-container-md) .sky-list-secondary-actions-btn-text,:host-context(.sky-responsive-container-lg) .sky-list-secondary-actions-btn-text{display:inline}:host-context(.sky-responsive-container-sm) .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret,:host-context(.sky-responsive-container-md) .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret,:host-context(.sky-responsive-container-lg) .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret{display:inline-block}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2.λ2, selector: "sky-dropdown-button" }, { kind: "component", type: i2.λ3, selector: "sky-dropdown", inputs: ["buttonStyle", "buttonType", "disabled", "label", "horizontalAlignment", "messageStream", "title", "trigger"] }, { kind: "component", type: i2.λ1, selector: "sky-dropdown-item", inputs: ["ariaRole"] }, { kind: "component", type: i2.λ4, selector: "sky-dropdown-menu", inputs: ["ariaLabelledBy", "ariaRole", "useNativeFocus"], outputs: ["menuChanges"] }, { kind: "component", type: i3.λ1, selector: "sky-icon", inputs: ["iconName", "variant", "iconSize"] }, { kind: "pipe", type: i4.SkyLibResourcesPipe, name: "skyLibResources" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1925
1925
|
}
|
|
1926
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1926
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListSecondaryActionsHostComponent, decorators: [{
|
|
1927
1927
|
type: Component,
|
|
1928
1928
|
args: [{ selector: 'sky-list-secondary-actions-host', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div\n class=\"sky-list-secondary-actions\"\n [ngClass]=\"{ 'sky-list-secondary-actions-hidden': dropdownHidden }\"\n>\n <sky-dropdown\n [attr.title]=\"'skyux_list_show_secondary_actions_button' | skyLibResources\"\n [label]=\"'skyux_list_show_secondary_actions_button' | skyLibResources\"\n >\n <sky-dropdown-button>\n <sky-icon iconName=\"more-actions\" />\n <span class=\"sky-list-secondary-actions-btn-text\">\n {{ 'skyux_list_show_secondary_actions_button' | skyLibResources }}\n </span>\n </sky-dropdown-button>\n <sky-dropdown-menu>\n @for (action of actions; track action) {\n <sky-dropdown-item>\n <ng-container *ngTemplateOutlet=\"action.template\" />\n </sky-dropdown-item>\n }\n </sky-dropdown-menu>\n </sky-dropdown>\n</div>\n<ng-content />\n", styles: [".sky-list-secondary-actions-hidden{display:none}:host .sky-list-secondary-actions-btn-text{display:none}:host .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret{display:none}:host-context(.sky-responsive-container-xs) .sky-list-secondary-actions-btn-text,:host-context(.sky-responsive-container-sm) .sky-list-secondary-actions-btn-text,:host-context(.sky-responsive-container-md) .sky-list-secondary-actions-btn-text,:host-context(.sky-responsive-container-lg) .sky-list-secondary-actions-btn-text{display:none}:host-context(.sky-responsive-container-xs) .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret,:host-context(.sky-responsive-container-sm) .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret,:host-context(.sky-responsive-container-md) .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret,:host-context(.sky-responsive-container-lg) .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret{display:none}@media(min-width:768px){:host .sky-list-secondary-actions-btn-text{display:inline}:host .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret{display:inline-block}}:host-context(.sky-responsive-container-sm) .sky-list-secondary-actions-btn-text,:host-context(.sky-responsive-container-md) .sky-list-secondary-actions-btn-text,:host-context(.sky-responsive-container-lg) .sky-list-secondary-actions-btn-text{display:inline}:host-context(.sky-responsive-container-sm) .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret,:host-context(.sky-responsive-container-md) .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret,:host-context(.sky-responsive-container-lg) .sky-list-secondary-actions ::ng-deep .sky-dropdown-caret{display:inline-block}\n"] }]
|
|
1929
|
-
}]
|
|
1929
|
+
}] });
|
|
1930
1930
|
|
|
1931
1931
|
/**
|
|
1932
1932
|
* Adds a dropdown to the list toolbar for secondary actions. If the dropdown does not
|
|
@@ -1934,10 +1934,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
1934
1934
|
* @deprecated
|
|
1935
1935
|
*/
|
|
1936
1936
|
class SkyListSecondaryActionsComponent {
|
|
1937
|
-
constructor(
|
|
1938
|
-
this.dispatcher = dispatcher;
|
|
1937
|
+
constructor() {
|
|
1939
1938
|
this.actions = [];
|
|
1940
1939
|
this.secondaryActionsItemToolbarIndex = 5000;
|
|
1940
|
+
this.dispatcher = inject(ListStateDispatcher);
|
|
1941
1941
|
}
|
|
1942
1942
|
ngAfterViewInit() {
|
|
1943
1943
|
const secondaryActionItem = new ListToolbarItemModel({
|
|
@@ -1948,13 +1948,13 @@ class SkyListSecondaryActionsComponent {
|
|
|
1948
1948
|
});
|
|
1949
1949
|
this.dispatcher.toolbarAddItems([secondaryActionItem]);
|
|
1950
1950
|
}
|
|
1951
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1952
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
1951
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListSecondaryActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1952
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyListSecondaryActionsComponent, isStandalone: false, selector: "sky-list-secondary-actions", providers: [SkyListSecondaryActionsService], viewQueries: [{ propertyName: "secondaryActionsTemplate", first: true, predicate: ["secondaryActions"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: "<ng-template #secondaryActions>\n <sky-list-secondary-actions-host>\n <ng-content />\n </sky-list-secondary-actions-host>\n</ng-template>\n", dependencies: [{ kind: "component", type: SkyListSecondaryActionsHostComponent, selector: "sky-list-secondary-actions-host" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1953
1953
|
}
|
|
1954
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1954
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListSecondaryActionsComponent, decorators: [{
|
|
1955
1955
|
type: Component,
|
|
1956
1956
|
args: [{ selector: 'sky-list-secondary-actions', providers: [SkyListSecondaryActionsService], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<ng-template #secondaryActions>\n <sky-list-secondary-actions-host>\n <ng-content />\n </sky-list-secondary-actions-host>\n</ng-template>\n" }]
|
|
1957
|
-
}],
|
|
1957
|
+
}], propDecorators: { secondaryActionsTemplate: [{
|
|
1958
1958
|
type: ViewChild,
|
|
1959
1959
|
args: ['secondaryActions', {
|
|
1960
1960
|
read: TemplateRef,
|
|
@@ -1966,19 +1966,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
1966
1966
|
* @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager.
|
|
1967
1967
|
*/
|
|
1968
1968
|
class SkyListSecondaryActionsModule {
|
|
1969
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
1970
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.
|
|
1969
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListSecondaryActionsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1970
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.6", ngImport: i0, type: SkyListSecondaryActionsModule, declarations: [SkyListSecondaryActionsComponent,
|
|
1971
1971
|
SkyListSecondaryActionsHostComponent,
|
|
1972
1972
|
SkyListSecondaryActionComponent], imports: [CommonModule,
|
|
1973
1973
|
SkyDropdownModule,
|
|
1974
1974
|
SkyIconModule,
|
|
1975
1975
|
SkyListBuilderResourcesModule], exports: [SkyListSecondaryActionsComponent, SkyListSecondaryActionComponent] }); }
|
|
1976
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.
|
|
1976
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListSecondaryActionsModule, imports: [CommonModule,
|
|
1977
1977
|
SkyDropdownModule,
|
|
1978
1978
|
SkyIconModule,
|
|
1979
1979
|
SkyListBuilderResourcesModule] }); }
|
|
1980
1980
|
}
|
|
1981
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
1981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListSecondaryActionsModule, decorators: [{
|
|
1982
1982
|
type: NgModule,
|
|
1983
1983
|
args: [{
|
|
1984
1984
|
declarations: [
|
|
@@ -2005,10 +2005,10 @@ class SkyListToolbarItemRendererComponent {
|
|
|
2005
2005
|
this.container.createEmbeddedView(this.template, this);
|
|
2006
2006
|
}
|
|
2007
2007
|
}
|
|
2008
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
2009
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
2008
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarItemRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2009
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyListToolbarItemRendererComponent, isStandalone: false, selector: "sky-list-toolbar-item-renderer", inputs: { template: "template" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0, template: '<ng-template #container />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
2010
2010
|
}
|
|
2011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
2011
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarItemRendererComponent, decorators: [{
|
|
2012
2012
|
type: Component,
|
|
2013
2013
|
args: [{
|
|
2014
2014
|
selector: 'sky-list-toolbar-item-renderer',
|
|
@@ -2032,13 +2032,13 @@ let uniqueId = 0;
|
|
|
2032
2032
|
* @deprecated
|
|
2033
2033
|
*/
|
|
2034
2034
|
class SkyListMultiselectToolbarComponent {
|
|
2035
|
-
constructor(
|
|
2036
|
-
this.state = state;
|
|
2037
|
-
this.dispatcher = dispatcher;
|
|
2035
|
+
constructor() {
|
|
2038
2036
|
this.showOnlySelected = false;
|
|
2039
2037
|
this.multiselectToolbarId = `sky-list-multiselect-toolbar-${uniqueId++}`;
|
|
2040
2038
|
this.selectedIdMap = new Map();
|
|
2041
2039
|
this.ngUnsubscribe = new Subject();
|
|
2040
|
+
this.state = inject(ListState);
|
|
2041
|
+
this.dispatcher = inject(ListStateDispatcher);
|
|
2042
2042
|
}
|
|
2043
2043
|
ngOnInit() {
|
|
2044
2044
|
this.state
|
|
@@ -2150,13 +2150,13 @@ class SkyListMultiselectToolbarComponent {
|
|
|
2150
2150
|
}
|
|
2151
2151
|
return true;
|
|
2152
2152
|
}
|
|
2153
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
2154
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
2153
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListMultiselectToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2154
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyListMultiselectToolbarComponent, isStandalone: false, selector: "sky-list-multiselect-toolbar", inputs: { showOnlySelected: "showOnlySelected" }, ngImport: i0, template: "<sky-toolbar class=\"sky-list-multiselect-toolbar\">\n <sky-toolbar-section>\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer [template]=\"selectAllTemplate\" />\n </sky-toolbar-item>\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer [template]=\"clearSelectionsTemplate\" />\n </sky-toolbar-item>\n <sky-toolbar-view-actions>\n <ng-container *ngTemplateOutlet=\"showSelectedTemplate\" />\n </sky-toolbar-view-actions>\n </sky-toolbar-section>\n</sky-toolbar>\n\n<ng-template #selectAllTemplate>\n <button\n class=\"sky-btn sky-btn-link\"\n type=\"button\"\n [attr.id]=\"multiselectToolbarId + '-select-all'\"\n (click)=\"selectAll(); $event.preventDefault()\"\n >\n {{ 'skyux_list_multiselect_select_all' | skyLibResources }}\n </button>\n</ng-template>\n\n<ng-template #clearSelectionsTemplate>\n <button\n class=\"sky-btn sky-btn-link\"\n type=\"button\"\n [attr.id]=\"multiselectToolbarId + '-clear-all'\"\n (click)=\"clearSelections(); $event.preventDefault()\"\n >\n {{ 'skyux_list_multiselect_clear_all' | skyLibResources }}\n </button>\n</ng-template>\n\n<ng-template #showSelectedTemplate>\n <sky-checkbox\n [attr.id]=\"multiselectToolbarId + '-show-selected'\"\n [checked]=\"showOnlySelected\"\n (change)=\"changeVisibleItems($event)\"\n >\n <sky-checkbox-label>\n {{ 'skyux_list_multiselect_show_selected' | skyLibResources }}\n </sky-checkbox-label>\n </sky-checkbox>\n</ng-template>\n", styles: [":host-context(sky-toolbar)+.sky-list-multiselect-toolbar ::ng-deep .sky-toolbar-container,:host-context(.sky-list-toolbar-search)+.sky-list-multiselect-toolbar ::ng-deep .sky-toolbar-container{border-top:none}\n"], dependencies: [{ kind: "directive", type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i2$1.λ3, selector: "sky-checkbox", inputs: ["label", "labelledBy", "id", "disabled", "tabindex", "name", "helpPopoverContent", "helpPopoverTitle", "iconName", "checkboxType", "checked", "indeterminate", "required", "labelText", "labelHidden", "hintText", "stacked", "helpKey"], outputs: ["change", "checkedChange", "disabledChange", "indeterminateChange"] }, { kind: "component", type: i2$1.λ4, selector: "sky-checkbox-label" }, { kind: "component", type: i3$1.λ37, selector: "sky-toolbar", inputs: ["listDescriptor"] }, { kind: "component", type: i3$1.λ39, selector: "sky-toolbar-item" }, { kind: "component", type: i3$1.λ38, selector: "sky-toolbar-section" }, { kind: "component", type: i3$1.λ40, selector: "sky-toolbar-view-actions" }, { kind: "component", type: SkyListToolbarItemRendererComponent, selector: "sky-list-toolbar-item-renderer", inputs: ["template"] }, { kind: "pipe", type: i4.SkyLibResourcesPipe, name: "skyLibResources" }], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
2155
2155
|
}
|
|
2156
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
2156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListMultiselectToolbarComponent, decorators: [{
|
|
2157
2157
|
type: Component,
|
|
2158
2158
|
args: [{ selector: 'sky-list-multiselect-toolbar', changeDetection: ChangeDetectionStrategy.Eager, standalone: false, template: "<sky-toolbar class=\"sky-list-multiselect-toolbar\">\n <sky-toolbar-section>\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer [template]=\"selectAllTemplate\" />\n </sky-toolbar-item>\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer [template]=\"clearSelectionsTemplate\" />\n </sky-toolbar-item>\n <sky-toolbar-view-actions>\n <ng-container *ngTemplateOutlet=\"showSelectedTemplate\" />\n </sky-toolbar-view-actions>\n </sky-toolbar-section>\n</sky-toolbar>\n\n<ng-template #selectAllTemplate>\n <button\n class=\"sky-btn sky-btn-link\"\n type=\"button\"\n [attr.id]=\"multiselectToolbarId + '-select-all'\"\n (click)=\"selectAll(); $event.preventDefault()\"\n >\n {{ 'skyux_list_multiselect_select_all' | skyLibResources }}\n </button>\n</ng-template>\n\n<ng-template #clearSelectionsTemplate>\n <button\n class=\"sky-btn sky-btn-link\"\n type=\"button\"\n [attr.id]=\"multiselectToolbarId + '-clear-all'\"\n (click)=\"clearSelections(); $event.preventDefault()\"\n >\n {{ 'skyux_list_multiselect_clear_all' | skyLibResources }}\n </button>\n</ng-template>\n\n<ng-template #showSelectedTemplate>\n <sky-checkbox\n [attr.id]=\"multiselectToolbarId + '-show-selected'\"\n [checked]=\"showOnlySelected\"\n (change)=\"changeVisibleItems($event)\"\n >\n <sky-checkbox-label>\n {{ 'skyux_list_multiselect_show_selected' | skyLibResources }}\n </sky-checkbox-label>\n </sky-checkbox>\n</ng-template>\n", styles: [":host-context(sky-toolbar)+.sky-list-multiselect-toolbar ::ng-deep .sky-toolbar-container,:host-context(.sky-list-toolbar-search)+.sky-list-multiselect-toolbar ::ng-deep .sky-toolbar-container{border-top:none}\n"] }]
|
|
2159
|
-
}],
|
|
2159
|
+
}], propDecorators: { showOnlySelected: [{
|
|
2160
2160
|
type: Input
|
|
2161
2161
|
}] } });
|
|
2162
2162
|
|
|
@@ -2186,10 +2186,10 @@ class SkyListToolbarItemComponent {
|
|
|
2186
2186
|
get template() {
|
|
2187
2187
|
return this.templates.length > 0 ? this.templates.first : undefined;
|
|
2188
2188
|
}
|
|
2189
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
2190
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
2189
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2190
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyListToolbarItemComponent, isStandalone: false, selector: "sky-list-toolbar-item", inputs: { id: "id", index: "index", location: "location" }, queries: [{ propertyName: "templates", predicate: TemplateRef }], ngImport: i0, template: '<ng-content />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
2191
2191
|
}
|
|
2192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
2192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarItemComponent, decorators: [{
|
|
2193
2193
|
type: Component,
|
|
2194
2194
|
args: [{
|
|
2195
2195
|
selector: 'sky-list-toolbar-item',
|
|
@@ -2213,10 +2213,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
2213
2213
|
* @deprecated
|
|
2214
2214
|
*/
|
|
2215
2215
|
class SkyListToolbarSearchActionsComponent {
|
|
2216
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
2217
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
2216
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarSearchActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2217
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyListToolbarSearchActionsComponent, isStandalone: false, selector: "sky-list-toolbar-search-actions", ngImport: i0, template: "<div class=\"sky-list-toolbar-search-actions\">\n <ng-content />\n</div>\n", styles: [".sky-list-toolbar-search-actions{margin-left:10px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2218
2218
|
}
|
|
2219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
2219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarSearchActionsComponent, decorators: [{
|
|
2220
2220
|
type: Component,
|
|
2221
2221
|
args: [{ selector: 'sky-list-toolbar-search-actions', changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"sky-list-toolbar-search-actions\">\n <ng-content />\n</div>\n", styles: [".sky-list-toolbar-search-actions{margin-left:10px}\n"] }]
|
|
2222
2222
|
}] });
|
|
@@ -2226,10 +2226,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
2226
2226
|
* @deprecated
|
|
2227
2227
|
*/
|
|
2228
2228
|
class SkyListToolbarSortComponent {
|
|
2229
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
2230
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
2229
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarSortComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2230
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyListToolbarSortComponent, isStandalone: false, selector: "sky-list-toolbar-sort", inputs: { label: "label", field: "field", type: "type", descending: "descending" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
2231
2231
|
}
|
|
2232
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
2232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarSortComponent, decorators: [{
|
|
2233
2233
|
type: Component,
|
|
2234
2234
|
args: [{
|
|
2235
2235
|
selector: 'sky-list-toolbar-sort',
|
|
@@ -2255,20 +2255,20 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
2255
2255
|
* @deprecated
|
|
2256
2256
|
*/
|
|
2257
2257
|
class SkyListToolbarViewActionsComponent {
|
|
2258
|
-
constructor(
|
|
2259
|
-
|
|
2258
|
+
constructor() {
|
|
2259
|
+
inject(SkyLogService).deprecated('SkyListToolbarViewActionsComponent', {
|
|
2260
2260
|
deprecationMajorVersion: 6,
|
|
2261
2261
|
moreInfoUrl: 'https://developer.blackbaud.com/skyux/components/data-manager',
|
|
2262
2262
|
replacementRecommendation: 'Use data manager instead.',
|
|
2263
2263
|
});
|
|
2264
2264
|
}
|
|
2265
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
2266
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.
|
|
2265
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarViewActionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2266
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.6", type: SkyListToolbarViewActionsComponent, isStandalone: false, selector: "sky-list-toolbar-view-actions", ngImport: i0, template: "<ng-content />\n", styles: [":host{display:flex;align-items:center}:host::ng-deep>:not(:last-child){margin-right:5px}.sky-list-toolbar-view-actions ::ng-deep>:not(:last-child){margin-right:5px}\n"], changeDetection: i0.ChangeDetectionStrategy.Eager }); }
|
|
2267
2267
|
}
|
|
2268
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
2268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarViewActionsComponent, decorators: [{
|
|
2269
2269
|
type: Component,
|
|
2270
2270
|
args: [{ selector: 'sky-list-toolbar-view-actions', changeDetection: ChangeDetectionStrategy.Eager, standalone: false, template: "<ng-content />\n", styles: [":host{display:flex;align-items:center}:host::ng-deep>:not(:last-child){margin-right:5px}.sky-list-toolbar-view-actions ::ng-deep>:not(:last-child){margin-right:5px}\n"] }]
|
|
2271
|
-
}], ctorParameters: () => [
|
|
2271
|
+
}], ctorParameters: () => [] });
|
|
2272
2272
|
|
|
2273
2273
|
/**
|
|
2274
2274
|
* @internal
|
|
@@ -2316,10 +2316,10 @@ class ListToolbarStateModel {
|
|
|
2316
2316
|
* @internal
|
|
2317
2317
|
*/
|
|
2318
2318
|
class ListToolbarStateDispatcher extends StateDispatcher {
|
|
2319
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
2320
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
2319
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ListToolbarStateDispatcher, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2320
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ListToolbarStateDispatcher }); }
|
|
2321
2321
|
}
|
|
2322
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
2322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ListToolbarStateDispatcher, decorators: [{
|
|
2323
2323
|
type: Injectable
|
|
2324
2324
|
}] });
|
|
2325
2325
|
/**
|
|
@@ -2349,16 +2349,16 @@ class ListToolbarConfigOrchestrator extends ListToolbarStateOrchestrator {
|
|
|
2349
2349
|
* @internal
|
|
2350
2350
|
*/
|
|
2351
2351
|
class ListToolbarState extends StateNode {
|
|
2352
|
-
constructor(
|
|
2353
|
-
super(
|
|
2352
|
+
constructor() {
|
|
2353
|
+
super(inject(ListToolbarStateModel), inject(ListToolbarStateDispatcher));
|
|
2354
2354
|
this.register('config', ListToolbarConfigOrchestrator).begin();
|
|
2355
2355
|
}
|
|
2356
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
2357
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.
|
|
2356
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ListToolbarState, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2357
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ListToolbarState }); }
|
|
2358
2358
|
}
|
|
2359
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
2359
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: ListToolbarState, decorators: [{
|
|
2360
2360
|
type: Injectable
|
|
2361
|
-
}], ctorParameters: () => [
|
|
2361
|
+
}], ctorParameters: () => [] });
|
|
2362
2362
|
|
|
2363
2363
|
let nextId = 0;
|
|
2364
2364
|
/**
|
|
@@ -2390,12 +2390,7 @@ class SkyListToolbarComponent {
|
|
|
2390
2390
|
get filterButtonAriaControls() {
|
|
2391
2391
|
return this.isFilterBarDisplayed ? this.listFilterInlineId : undefined;
|
|
2392
2392
|
}
|
|
2393
|
-
constructor(
|
|
2394
|
-
this.changeDetector = changeDetector;
|
|
2395
|
-
this.state = state;
|
|
2396
|
-
this.dispatcher = dispatcher;
|
|
2397
|
-
this.toolbarState = toolbarState;
|
|
2398
|
-
this.toolbarDispatcher = toolbarDispatcher;
|
|
2393
|
+
constructor() {
|
|
2399
2394
|
/**
|
|
2400
2395
|
* Display the search bar in the standard position or in a separate section.
|
|
2401
2396
|
* To highlight the search bar in a section above all other toolbar items,
|
|
@@ -2420,7 +2415,12 @@ class SkyListToolbarComponent {
|
|
|
2420
2415
|
this.inlineFiltersItemToolbarIndex = 5000;
|
|
2421
2416
|
this.sortSelectorItemToolbarIndex = 6000;
|
|
2422
2417
|
this.ngUnsubscribe = new Subject();
|
|
2423
|
-
|
|
2418
|
+
this.changeDetector = inject(ChangeDetectorRef);
|
|
2419
|
+
this.state = inject(ListState);
|
|
2420
|
+
this.dispatcher = inject(ListStateDispatcher);
|
|
2421
|
+
this.toolbarState = inject(ListToolbarState);
|
|
2422
|
+
this.toolbarDispatcher = inject(ListToolbarStateDispatcher);
|
|
2423
|
+
inject(SkyLogService).deprecated('SkyListToolbarComponent', {
|
|
2424
2424
|
deprecationMajorVersion: 6,
|
|
2425
2425
|
moreInfoUrl: 'https://developer.blackbaud.com/skyux/components/data-manager',
|
|
2426
2426
|
replacementRecommendation: 'Use data manager instead.',
|
|
@@ -2622,21 +2622,21 @@ class SkyListToolbarComponent {
|
|
|
2622
2622
|
this.changeDetector.markForCheck();
|
|
2623
2623
|
});
|
|
2624
2624
|
}
|
|
2625
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
2626
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.
|
|
2625
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2626
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: SkyListToolbarComponent, isStandalone: false, selector: "sky-list-toolbar", inputs: { inMemorySearchEnabled: "inMemorySearchEnabled", placeholder: "placeholder", searchEnabled: "searchEnabled", sortSelectorEnabled: "sortSelectorEnabled", toolbarType: "toolbarType", searchText: "searchText" }, providers: [
|
|
2627
2627
|
ListToolbarState,
|
|
2628
2628
|
ListToolbarStateDispatcher,
|
|
2629
2629
|
ListToolbarStateModel,
|
|
2630
|
-
], queries: [{ propertyName: "toolbarItems", predicate: SkyListToolbarItemComponent }, { propertyName: "toolbarSorts", predicate: SkyListToolbarSortComponent }, { propertyName: "filterSummary", predicate: SkyListFilterSummaryComponent }, { propertyName: "inlineFilter", predicate: SkyListFilterInlineComponent }, { propertyName: "viewActions", predicate: SkyListToolbarViewActionsComponent }], viewQueries: [{ propertyName: "searchComponent", first: true, predicate: SkySearchComponent, descendants: true, read: SkySearchComponent }, { propertyName: "searchTemplate", first: true, predicate: ["search"], descendants: true, read: TemplateRef, static: true }, { propertyName: "sortSelectorTemplate", first: true, predicate: ["sortSelector"], descendants: true, read: TemplateRef, static: true }, { propertyName: "inlineFilterButtonTemplate", first: true, predicate: ["inlineFilterButton"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: "<div class=\"sky-list-toolbar-container\">\n @if ((type | async) !== 'search') {\n <sky-toolbar>\n <sky-toolbar-section>\n @for (item of leftTemplates; track item) {\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n @for (item of centerTemplates; track item) {\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n @for (item of rightTemplates; track item) {\n <sky-toolbar-item [attr.sky-toolbar-id]=\"item.id\">\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n <ng-content />\n @if (hasViewActions) {\n <sky-toolbar-view-actions>\n <ng-content select=\"sky-list-toolbar-view-actions\" />\n </sky-toolbar-view-actions>\n }\n </sky-toolbar-section>\n @if (showFilterSummary && (hasAppliedFilters | async)) {\n <sky-toolbar-section>\n <ng-content select=\"sky-list-filter-summary\" />\n </sky-toolbar-section>\n }\n </sky-toolbar>\n }\n\n @if (\n (type | async) === 'search' &&\n ((isSearchEnabled | async) || hasAdditionalToolbarSection)\n ) {\n <div class=\"sky-list-toolbar-search\">\n <sky-toolbar>\n @if (isSearchEnabled | async) {\n <sky-toolbar-section>\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n sky-cmp-id=\"search\"\n [template]=\"search\"\n />\n </sky-toolbar-item>\n </sky-toolbar-section>\n }\n <sky-toolbar-section [hidden]=\"!hasAdditionalToolbarSection\">\n @for (item of leftTemplates; track item) {\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n @for (item of centerTemplates; track item) {\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n @for (item of rightTemplates; track item) {\n <sky-toolbar-item [attr.sky-toolbar-id]=\"item.id\">\n @if (item.id !== 'search') {\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n }\n </sky-toolbar-item>\n }\n <ng-content />\n @if (hasViewActions) {\n <sky-toolbar-view-actions>\n <ng-content select=\"sky-list-toolbar-view-actions\" />\n </sky-toolbar-view-actions>\n }\n </sky-toolbar-section>\n </sky-toolbar>\n </div>\n }\n @if (isFilterBarDisplayed) {\n <div [attr.aria-labelledby]=\"filterButtonId\" [id]=\"listFilterInlineId\">\n <ng-content select=\"sky-list-filter-inline\" />\n </div>\n }\n @if (isMultiselectEnabled | async) {\n <sky-list-multiselect-toolbar />\n }\n</div>\n\n<ng-template #search>\n @if (isSearchEnabled | async) {\n <div class=\"sky-list-toolbar-search-wrapper\">\n <sky-search\n [disabled]=\"isToolbarDisabled\"\n [expandMode]=\"(type | async) === 'search' ? 'fit' : 'responsive'\"\n [placeholderText]=\"placeholder\"\n [searchText]=\"searchTextInput | async\"\n (searchApply)=\"updateSearchText($event)\"\n />\n <ng-content select=\"sky-list-toolbar-search-actions\" />\n </div>\n }\n</ng-template>\n\n<ng-template #sortSelector>\n @if ((isSortSelectorEnabled | async) && (sortSelectors | async).length > 0) {\n <div class=\"sky-toolbar-item-sort-container\">\n <sky-sort [showButtonText]=\"true\">\n @for (item of sortSelectors | async; track item) {\n <sky-sort-item\n [active]=\"item.selected\"\n (itemSelect)=\"setSort(item.sort)\"\n >\n {{ item.sort.text }}\n </sky-sort-item>\n }\n </sky-sort>\n </div>\n }\n</ng-template>\n\n<ng-template #inlineFilterButton>\n <sky-filter-button\n [active]=\"hasAppliedFilters | async\"\n [ariaControls]=\"filterButtonAriaControls\"\n [ariaExpanded]=\"inlineFilterBarExpanded\"\n [disabled]=\"isToolbarDisabled\"\n [filterButtonId]=\"filterButtonId\"\n [showButtonText]=\"true\"\n (filterButtonClick)=\"inlineFilterButtonClick()\"\n />\n</ng-template>\n", styles: [".sky-list-toolbar-container:not(.sky-theme-modern *){--sky-override-list-toolbar-search-background: #eeeeef;--sky-override-list-toolbar-search-disabled-background: #cdcfd2}.sky-list-toolbar-search-wrapper{display:flex}.sky-list-toolbar-search-wrapper ::ng-deep .sky-search-dismiss-absolute{padding:0;position:static}.sky-list-toolbar-search-wrapper ::ng-deep .sky-search-container{position:relative;height:100%}.sky-list-toolbar-search-wrapper ::ng-deep sky-search{flex:1 1 auto}.sky-list-toolbar-search-wrapper ::ng-deep sky-list-toolbar-search-actions{flex:0 0 auto;z-index:1}.sky-list-toolbar-container ::ng-deep .sky-toolbar-section-items sky-toolbar-item{flex:0 1 auto;align-self:flex-start}.sky-list-toolbar-search ::ng-deep .sky-toolbar-section{padding-top:0}.sky-list-toolbar-search ::ng-deep .sky-toolbar-section-items{display:block;width:100%}.sky-list-toolbar-search ::ng-deep .sky-toolbar-item{margin:0}.sky-list-toolbar-search ::ng-deep .sky-toolbar-container,.sky-list-toolbar-search ::ng-deep .sky-search-dismiss-absolute{background-color:var(--sky-override-list-toolbar-search-background, var(--sky-color-background-container-base))}.sky-list-toolbar-search ::ng-deep input[type=text]:disabled,.sky-list-toolbar-search ::ng-deep .sky-search-btn:disabled{background-color:var(--sky-override-list-toolbar-search-disabled-background);opacity:1}.sky-list-toolbar-container ::ng-deep sky-toolbar-item[sky-toolbar-id=sort-selector] .sky-toolbar-item{margin-right:0}.sky-list-toolbar-container ::ng-deep sky-checkbox{position:relative;top:-2px}\n"], dependencies: [{ kind: "component", type:
|
|
2630
|
+
], queries: [{ propertyName: "toolbarItems", predicate: SkyListToolbarItemComponent }, { propertyName: "toolbarSorts", predicate: SkyListToolbarSortComponent }, { propertyName: "filterSummary", predicate: SkyListFilterSummaryComponent }, { propertyName: "inlineFilter", predicate: SkyListFilterInlineComponent }, { propertyName: "viewActions", predicate: SkyListToolbarViewActionsComponent }], viewQueries: [{ propertyName: "searchComponent", first: true, predicate: SkySearchComponent, descendants: true, read: SkySearchComponent }, { propertyName: "searchTemplate", first: true, predicate: ["search"], descendants: true, read: TemplateRef, static: true }, { propertyName: "sortSelectorTemplate", first: true, predicate: ["sortSelector"], descendants: true, read: TemplateRef, static: true }, { propertyName: "inlineFilterButtonTemplate", first: true, predicate: ["inlineFilterButton"], descendants: true, read: TemplateRef, static: true }], ngImport: i0, template: "<div class=\"sky-list-toolbar-container\">\n @if ((type | async) !== 'search') {\n <sky-toolbar>\n <sky-toolbar-section>\n @for (item of leftTemplates; track item) {\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n @for (item of centerTemplates; track item) {\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n @for (item of rightTemplates; track item) {\n <sky-toolbar-item [attr.sky-toolbar-id]=\"item.id\">\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n <ng-content />\n @if (hasViewActions) {\n <sky-toolbar-view-actions>\n <ng-content select=\"sky-list-toolbar-view-actions\" />\n </sky-toolbar-view-actions>\n }\n </sky-toolbar-section>\n @if (showFilterSummary && (hasAppliedFilters | async)) {\n <sky-toolbar-section>\n <ng-content select=\"sky-list-filter-summary\" />\n </sky-toolbar-section>\n }\n </sky-toolbar>\n }\n\n @if (\n (type | async) === 'search' &&\n ((isSearchEnabled | async) || hasAdditionalToolbarSection)\n ) {\n <div class=\"sky-list-toolbar-search\">\n <sky-toolbar>\n @if (isSearchEnabled | async) {\n <sky-toolbar-section>\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n sky-cmp-id=\"search\"\n [template]=\"search\"\n />\n </sky-toolbar-item>\n </sky-toolbar-section>\n }\n <sky-toolbar-section [hidden]=\"!hasAdditionalToolbarSection\">\n @for (item of leftTemplates; track item) {\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n @for (item of centerTemplates; track item) {\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n @for (item of rightTemplates; track item) {\n <sky-toolbar-item [attr.sky-toolbar-id]=\"item.id\">\n @if (item.id !== 'search') {\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n }\n </sky-toolbar-item>\n }\n <ng-content />\n @if (hasViewActions) {\n <sky-toolbar-view-actions>\n <ng-content select=\"sky-list-toolbar-view-actions\" />\n </sky-toolbar-view-actions>\n }\n </sky-toolbar-section>\n </sky-toolbar>\n </div>\n }\n @if (isFilterBarDisplayed) {\n <div [attr.aria-labelledby]=\"filterButtonId\" [id]=\"listFilterInlineId\">\n <ng-content select=\"sky-list-filter-inline\" />\n </div>\n }\n @if (isMultiselectEnabled | async) {\n <sky-list-multiselect-toolbar />\n }\n</div>\n\n<ng-template #search>\n @if (isSearchEnabled | async) {\n <div class=\"sky-list-toolbar-search-wrapper\">\n <sky-search\n [disabled]=\"isToolbarDisabled\"\n [expandMode]=\"(type | async) === 'search' ? 'fit' : 'responsive'\"\n [placeholderText]=\"placeholder\"\n [searchText]=\"searchTextInput | async\"\n (searchApply)=\"updateSearchText($event)\"\n />\n <ng-content select=\"sky-list-toolbar-search-actions\" />\n </div>\n }\n</ng-template>\n\n<ng-template #sortSelector>\n @if ((isSortSelectorEnabled | async) && (sortSelectors | async).length > 0) {\n <div class=\"sky-toolbar-item-sort-container\">\n <sky-sort [showButtonText]=\"true\">\n @for (item of sortSelectors | async; track item) {\n <sky-sort-item\n [active]=\"item.selected\"\n (itemSelect)=\"setSort(item.sort)\"\n >\n {{ item.sort.text }}\n </sky-sort-item>\n }\n </sky-sort>\n </div>\n }\n</ng-template>\n\n<ng-template #inlineFilterButton>\n <sky-filter-button\n [active]=\"hasAppliedFilters | async\"\n [ariaControls]=\"filterButtonAriaControls\"\n [ariaExpanded]=\"inlineFilterBarExpanded\"\n [disabled]=\"isToolbarDisabled\"\n [filterButtonId]=\"filterButtonId\"\n [showButtonText]=\"true\"\n (filterButtonClick)=\"inlineFilterButtonClick()\"\n />\n</ng-template>\n", styles: [".sky-list-toolbar-container:not(.sky-theme-modern *){--sky-override-list-toolbar-search-background: #eeeeef;--sky-override-list-toolbar-search-disabled-background: #cdcfd2}.sky-list-toolbar-search-wrapper{display:flex}.sky-list-toolbar-search-wrapper ::ng-deep .sky-search-dismiss-absolute{padding:0;position:static}.sky-list-toolbar-search-wrapper ::ng-deep .sky-search-container{position:relative;height:100%}.sky-list-toolbar-search-wrapper ::ng-deep sky-search{flex:1 1 auto}.sky-list-toolbar-search-wrapper ::ng-deep sky-list-toolbar-search-actions{flex:0 0 auto;z-index:1}.sky-list-toolbar-container ::ng-deep .sky-toolbar-section-items sky-toolbar-item{flex:0 1 auto;align-self:flex-start}.sky-list-toolbar-search ::ng-deep .sky-toolbar-section{padding-top:0}.sky-list-toolbar-search ::ng-deep .sky-toolbar-section-items{display:block;width:100%}.sky-list-toolbar-search ::ng-deep .sky-toolbar-item{margin:0}.sky-list-toolbar-search ::ng-deep .sky-toolbar-container,.sky-list-toolbar-search ::ng-deep .sky-search-dismiss-absolute{background-color:var(--sky-override-list-toolbar-search-background, var(--sky-color-background-container-base))}.sky-list-toolbar-search ::ng-deep input[type=text]:disabled,.sky-list-toolbar-search ::ng-deep .sky-search-btn:disabled{background-color:var(--sky-override-list-toolbar-search-disabled-background);opacity:1}.sky-list-toolbar-container ::ng-deep sky-toolbar-item[sky-toolbar-id=sort-selector] .sky-toolbar-item{margin-right:0}.sky-list-toolbar-container ::ng-deep sky-checkbox{position:relative;top:-2px}\n"], dependencies: [{ kind: "component", type: i3$1.λ37, selector: "sky-toolbar", inputs: ["listDescriptor"] }, { kind: "component", type: i3$1.λ39, selector: "sky-toolbar-item" }, { kind: "component", type: i3$1.λ38, selector: "sky-toolbar-section" }, { kind: "component", type: i3$1.λ40, selector: "sky-toolbar-view-actions" }, { kind: "component", type: i2$2.SkySearchComponent, selector: "sky-search", inputs: ["ariaLabel", "ariaLabelledBy", "searchText", "expandMode", "debounceTime", "disabled", "placeholderText"], outputs: ["searchApply", "searchChange", "searchClear"] }, { kind: "component", type: i1.λ14, selector: "sky-sort", inputs: ["ariaLabel", "showButtonText"] }, { kind: "component", type: i1.λ13, selector: "sky-sort-item", inputs: ["active"], outputs: ["itemSelect"] }, { kind: "component", type: i1.λ1, selector: "sky-filter-button", inputs: ["filterButtonId", "ariaControls", "ariaExpanded", "ariaLabel", "active", "disabled", "showButtonText"], outputs: ["filterButtonClick"] }, { kind: "component", type: SkyListToolbarItemRendererComponent, selector: "sky-list-toolbar-item-renderer", inputs: ["template"] }, { kind: "component", type: SkyListMultiselectToolbarComponent, selector: "sky-list-multiselect-toolbar", inputs: ["showOnlySelected"] }, { kind: "pipe", type: i1$1.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2631
2631
|
}
|
|
2632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
2632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarComponent, decorators: [{
|
|
2633
2633
|
type: Component,
|
|
2634
2634
|
args: [{ selector: 'sky-list-toolbar', providers: [
|
|
2635
2635
|
ListToolbarState,
|
|
2636
2636
|
ListToolbarStateDispatcher,
|
|
2637
2637
|
ListToolbarStateModel,
|
|
2638
2638
|
], changeDetection: ChangeDetectionStrategy.OnPush, standalone: false, template: "<div class=\"sky-list-toolbar-container\">\n @if ((type | async) !== 'search') {\n <sky-toolbar>\n <sky-toolbar-section>\n @for (item of leftTemplates; track item) {\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n @for (item of centerTemplates; track item) {\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n @for (item of rightTemplates; track item) {\n <sky-toolbar-item [attr.sky-toolbar-id]=\"item.id\">\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n <ng-content />\n @if (hasViewActions) {\n <sky-toolbar-view-actions>\n <ng-content select=\"sky-list-toolbar-view-actions\" />\n </sky-toolbar-view-actions>\n }\n </sky-toolbar-section>\n @if (showFilterSummary && (hasAppliedFilters | async)) {\n <sky-toolbar-section>\n <ng-content select=\"sky-list-filter-summary\" />\n </sky-toolbar-section>\n }\n </sky-toolbar>\n }\n\n @if (\n (type | async) === 'search' &&\n ((isSearchEnabled | async) || hasAdditionalToolbarSection)\n ) {\n <div class=\"sky-list-toolbar-search\">\n <sky-toolbar>\n @if (isSearchEnabled | async) {\n <sky-toolbar-section>\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n sky-cmp-id=\"search\"\n [template]=\"search\"\n />\n </sky-toolbar-item>\n </sky-toolbar-section>\n }\n <sky-toolbar-section [hidden]=\"!hasAdditionalToolbarSection\">\n @for (item of leftTemplates; track item) {\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n @for (item of centerTemplates; track item) {\n <sky-toolbar-item>\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n </sky-toolbar-item>\n }\n @for (item of rightTemplates; track item) {\n <sky-toolbar-item [attr.sky-toolbar-id]=\"item.id\">\n @if (item.id !== 'search') {\n <sky-list-toolbar-item-renderer\n [attr.sky-cmp-id]=\"item.id\"\n [template]=\"item.template\"\n />\n }\n </sky-toolbar-item>\n }\n <ng-content />\n @if (hasViewActions) {\n <sky-toolbar-view-actions>\n <ng-content select=\"sky-list-toolbar-view-actions\" />\n </sky-toolbar-view-actions>\n }\n </sky-toolbar-section>\n </sky-toolbar>\n </div>\n }\n @if (isFilterBarDisplayed) {\n <div [attr.aria-labelledby]=\"filterButtonId\" [id]=\"listFilterInlineId\">\n <ng-content select=\"sky-list-filter-inline\" />\n </div>\n }\n @if (isMultiselectEnabled | async) {\n <sky-list-multiselect-toolbar />\n }\n</div>\n\n<ng-template #search>\n @if (isSearchEnabled | async) {\n <div class=\"sky-list-toolbar-search-wrapper\">\n <sky-search\n [disabled]=\"isToolbarDisabled\"\n [expandMode]=\"(type | async) === 'search' ? 'fit' : 'responsive'\"\n [placeholderText]=\"placeholder\"\n [searchText]=\"searchTextInput | async\"\n (searchApply)=\"updateSearchText($event)\"\n />\n <ng-content select=\"sky-list-toolbar-search-actions\" />\n </div>\n }\n</ng-template>\n\n<ng-template #sortSelector>\n @if ((isSortSelectorEnabled | async) && (sortSelectors | async).length > 0) {\n <div class=\"sky-toolbar-item-sort-container\">\n <sky-sort [showButtonText]=\"true\">\n @for (item of sortSelectors | async; track item) {\n <sky-sort-item\n [active]=\"item.selected\"\n (itemSelect)=\"setSort(item.sort)\"\n >\n {{ item.sort.text }}\n </sky-sort-item>\n }\n </sky-sort>\n </div>\n }\n</ng-template>\n\n<ng-template #inlineFilterButton>\n <sky-filter-button\n [active]=\"hasAppliedFilters | async\"\n [ariaControls]=\"filterButtonAriaControls\"\n [ariaExpanded]=\"inlineFilterBarExpanded\"\n [disabled]=\"isToolbarDisabled\"\n [filterButtonId]=\"filterButtonId\"\n [showButtonText]=\"true\"\n (filterButtonClick)=\"inlineFilterButtonClick()\"\n />\n</ng-template>\n", styles: [".sky-list-toolbar-container:not(.sky-theme-modern *){--sky-override-list-toolbar-search-background: #eeeeef;--sky-override-list-toolbar-search-disabled-background: #cdcfd2}.sky-list-toolbar-search-wrapper{display:flex}.sky-list-toolbar-search-wrapper ::ng-deep .sky-search-dismiss-absolute{padding:0;position:static}.sky-list-toolbar-search-wrapper ::ng-deep .sky-search-container{position:relative;height:100%}.sky-list-toolbar-search-wrapper ::ng-deep sky-search{flex:1 1 auto}.sky-list-toolbar-search-wrapper ::ng-deep sky-list-toolbar-search-actions{flex:0 0 auto;z-index:1}.sky-list-toolbar-container ::ng-deep .sky-toolbar-section-items sky-toolbar-item{flex:0 1 auto;align-self:flex-start}.sky-list-toolbar-search ::ng-deep .sky-toolbar-section{padding-top:0}.sky-list-toolbar-search ::ng-deep .sky-toolbar-section-items{display:block;width:100%}.sky-list-toolbar-search ::ng-deep .sky-toolbar-item{margin:0}.sky-list-toolbar-search ::ng-deep .sky-toolbar-container,.sky-list-toolbar-search ::ng-deep .sky-search-dismiss-absolute{background-color:var(--sky-override-list-toolbar-search-background, var(--sky-color-background-container-base))}.sky-list-toolbar-search ::ng-deep input[type=text]:disabled,.sky-list-toolbar-search ::ng-deep .sky-search-btn:disabled{background-color:var(--sky-override-list-toolbar-search-disabled-background);opacity:1}.sky-list-toolbar-container ::ng-deep sky-toolbar-item[sky-toolbar-id=sort-selector] .sky-toolbar-item{margin-right:0}.sky-list-toolbar-container ::ng-deep sky-checkbox{position:relative;top:-2px}\n"] }]
|
|
2639
|
-
}], ctorParameters: () => [
|
|
2639
|
+
}], ctorParameters: () => [], propDecorators: { inMemorySearchEnabled: [{
|
|
2640
2640
|
type: Input
|
|
2641
2641
|
}], placeholder: [{
|
|
2642
2642
|
type: Input
|
|
@@ -2693,8 +2693,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.1", ngImpor
|
|
|
2693
2693
|
* @deprecated List builder and its features are deprecated. Use data manager instead. For more information, see https://developer.blackbaud.com/skyux/components/data-manager.
|
|
2694
2694
|
*/
|
|
2695
2695
|
class SkyListToolbarModule {
|
|
2696
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.
|
|
2697
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.
|
|
2696
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2697
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarModule, declarations: [SkyListToolbarComponent,
|
|
2698
2698
|
SkyListToolbarItemComponent,
|
|
2699
2699
|
SkyListToolbarItemRendererComponent,
|
|
2700
2700
|
SkyListMultiselectToolbarComponent,
|
|
@@ -2713,7 +2713,7 @@ class SkyListToolbarModule {
|
|
|
2713
2713
|
SkyListToolbarSearchActionsComponent,
|
|
2714
2714
|
SkyListToolbarSortComponent,
|
|
2715
2715
|
SkyListToolbarViewActionsComponent] }); }
|
|
2716
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.
|
|
2716
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarModule, imports: [CommonModule,
|
|
2717
2717
|
SkyCheckboxModule,
|
|
2718
2718
|
SkyToolbarModule,
|
|
2719
2719
|
SkySearchModule,
|
|
@@ -2723,7 +2723,7 @@ class SkyListToolbarModule {
|
|
|
2723
2723
|
SkyIconModule,
|
|
2724
2724
|
SkyListBuilderResourcesModule] }); }
|
|
2725
2725
|
}
|
|
2726
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.
|
|
2726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SkyListToolbarModule, decorators: [{
|
|
2727
2727
|
type: NgModule,
|
|
2728
2728
|
args: [{
|
|
2729
2729
|
declarations: [
|