@skyux/code-examples 13.7.1 → 13.7.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-code-examples.mjs +283 -137
- package/fesm2022/skyux-code-examples.mjs.map +1 -1
- package/index.d.ts +26 -8
- package/package.json +34 -34
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, inject, ChangeDetectionStrategy, Input, ChangeDetectorRef, ViewChild, Injectable, signal,
|
|
2
|
+
import { Component, inject, ChangeDetectionStrategy, Input, ChangeDetectorRef, ViewChild, Injectable, signal, InjectionToken } from '@angular/core';
|
|
3
3
|
import * as i2 from '@skyux/action-bars';
|
|
4
4
|
import { SkySummaryActionBarModule } from '@skyux/action-bars';
|
|
5
5
|
import * as i1 from '@skyux/indicators';
|
|
@@ -7,7 +7,7 @@ import { SkyKeyInfoModule, SkyStatusIndicatorModule, SkyAlertModule, SkyIllustra
|
|
|
7
7
|
import { toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
8
8
|
import * as i1$1 from '@angular/forms';
|
|
9
9
|
import { FormControl, FormBuilder, ReactiveFormsModule, FormsModule, Validators, FormGroup } from '@angular/forms';
|
|
10
|
-
import { switchMap, of, Subject, takeUntil, Subscription, delay as delay$1, fromEvent, tap, shareReplay
|
|
10
|
+
import { switchMap, of, Subject, takeUntil, map, Subscription, delay as delay$1, fromEvent, tap, shareReplay } from 'rxjs';
|
|
11
11
|
import * as i3 from '@skyux/modals';
|
|
12
12
|
import { SkyModalInstance, SkyModalModule, SkyModalService, SkyConfirmService, SkyConfirmType } from '@skyux/modals';
|
|
13
13
|
import * as i1$2 from '@skyux/tabs';
|
|
@@ -24,18 +24,16 @@ import { ModuleRegistry, AllCommunityModule } from 'ag-grid-community';
|
|
|
24
24
|
import * as i1$3 from '@skyux/popovers';
|
|
25
25
|
import { SkyDropdownModule, SkyPopoverModule, SkyPopoverMessageType } from '@skyux/popovers';
|
|
26
26
|
import * as i1$6 from '@skyux/data-manager';
|
|
27
|
-
import {
|
|
28
|
-
import * as i3$1 from '@skyux/core';
|
|
29
|
-
import { SkyIdModule, SkyMediaQueryService, SkyResponsiveHostDirective, SkyNumericModule, SkyUIConfigService, SkyHelpService } from '@skyux/core';
|
|
30
|
-
import * as i2$3 from '@skyux/forms';
|
|
31
|
-
import { SkyCheckboxModule, SkyInputBoxModule, SkyRadioModule, SkyCharacterCounterModule, SkyFieldGroupModule, SkyFileAttachmentModule, SkyFileDropModule, SkySelectionBoxModule, SkyToggleSwitchModule, SkyFormErrorModule } from '@skyux/forms';
|
|
32
|
-
import * as i1$7 from '@skyux/help-inline';
|
|
33
|
-
import { SkyHelpInlineModule } from '@skyux/help-inline';
|
|
27
|
+
import { SkyDataManagerState, SkyDataManagerService, SkyDataManagerModule } from '@skyux/data-manager';
|
|
34
28
|
import * as i2$4 from '@skyux/filter-bar';
|
|
35
29
|
import { SkyFilterItemModalInstance, SkyFilterBarModule } from '@skyux/filter-bar';
|
|
36
30
|
import * as i2$5 from '@skyux/lists';
|
|
37
31
|
import { SkyListSummaryModule, SkyPagingModule, SkyRepeaterModule, SkyInfiniteScrollModule, SkyFilterModule, SkySortModule } from '@skyux/lists';
|
|
38
|
-
import { delay, map, filter, takeUntil as takeUntil$1, take } from 'rxjs/operators';
|
|
32
|
+
import { delay, map as map$1, filter, takeUntil as takeUntil$1, take } from 'rxjs/operators';
|
|
33
|
+
import * as i2$3 from '@skyux/forms';
|
|
34
|
+
import { SkyCheckboxModule, SkyInputBoxModule, SkyFormErrorModule, SkyRadioModule, SkyCharacterCounterModule, SkyFieldGroupModule, SkyFileAttachmentModule, SkyFileDropModule, SkySelectionBoxModule, SkyToggleSwitchModule } from '@skyux/forms';
|
|
35
|
+
import * as i1$7 from '@skyux/help-inline';
|
|
36
|
+
import { SkyHelpInlineModule } from '@skyux/help-inline';
|
|
39
37
|
import * as i1$c from '@angular/router';
|
|
40
38
|
import { ActivatedRoute, Router, NavigationEnd, RouterModule } from '@angular/router';
|
|
41
39
|
import * as i2$6 from '@blackbaud/angular-tree-component';
|
|
@@ -48,6 +46,8 @@ import * as i1$9 from '@skyux/avatar';
|
|
|
48
46
|
import { SkyAvatarModule } from '@skyux/avatar';
|
|
49
47
|
import * as i2$8 from '@skyux/colorpicker';
|
|
50
48
|
import { SkyColorpickerModule, SkyColorpickerMessageType } from '@skyux/colorpicker';
|
|
49
|
+
import * as i3$1 from '@skyux/core';
|
|
50
|
+
import { SkyIdModule, SkyMediaQueryService, SkyResponsiveHostDirective, SkyNumericModule, SkyUIConfigService, SkyHelpService } from '@skyux/core';
|
|
51
51
|
import * as i1$a from '@skyux/icon';
|
|
52
52
|
import { SkyIconModule } from '@skyux/icon';
|
|
53
53
|
import * as i4 from '@angular/common';
|
|
@@ -192,7 +192,7 @@ class ActionBarsSummaryActionBarModalExampleComponent {
|
|
|
192
192
|
}
|
|
193
193
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ActionBarsSummaryActionBarModalExampleComponent, decorators: [{
|
|
194
194
|
type: Component,
|
|
195
|
-
args: [{
|
|
195
|
+
args: [{ selector: 'app-action-bars-summary-action-bar-modal-example', template: "<button class=\"sky-btn sky-btn-primary\" type=\"button\" (click)=\"openModal()\">\n Open modal\n</button>\n" }]
|
|
196
196
|
}] });
|
|
197
197
|
|
|
198
198
|
/**
|
|
@@ -414,7 +414,7 @@ class MarkInactiveComponent {
|
|
|
414
414
|
}
|
|
415
415
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: MarkInactiveComponent, decorators: [{
|
|
416
416
|
type: Component,
|
|
417
|
-
args: [{
|
|
417
|
+
args: [{ selector: 'app-mark-inactive', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n type=\"button\"\n class=\"sky-btn sky-btn-link-inline\"\n [attr.aria-label]=\"markInactiveAriaLabel\"\n (click)=\"markInactive()\"\n>\n Mark inactive\n</button>\n" }]
|
|
418
418
|
}], propDecorators: { name: [{
|
|
419
419
|
type: Input
|
|
420
420
|
}] } });
|
|
@@ -1054,47 +1054,63 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
1054
1054
|
args: [{ selector: 'app-edit-modal', changeDetection: ChangeDetectionStrategy.OnPush, imports: [AgGridModule, SkyAgGridModule, SkyModalModule], template: "<sky-modal headingText=\"Edit employee information\">\n <sky-modal-content>\n <sky-ag-grid-wrapper>\n <ag-grid-angular\n class=\"sky-ag-grid-editable\"\n [gridOptions]=\"gridOptions\"\n [rowData]=\"gridData\"\n />\n </sky-ag-grid-wrapper>\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"instance.save(gridData)\"\n >\n Save\n </button>\n <button\n class=\"sky-btn sky-btn-link\"\n type=\"button\"\n (click)=\"instance.cancel()\"\n >\n Cancel\n </button>\n </sky-modal-footer>\n</sky-modal>\n" }]
|
|
1055
1055
|
}], ctorParameters: () => [] });
|
|
1056
1056
|
|
|
1057
|
-
let
|
|
1058
|
-
#
|
|
1057
|
+
let ExampleService$6 = class ExampleService {
|
|
1058
|
+
#jobs = Object.values(JOB_TITLES$9).flat();
|
|
1059
|
+
search(searchText) {
|
|
1060
|
+
searchText = searchText.toUpperCase();
|
|
1061
|
+
const matchingJobs = this.#jobs.filter((job) => job.name?.toUpperCase().includes(searchText));
|
|
1062
|
+
// Simulate a network call with latency. A real-world application might
|
|
1063
|
+
// use Angular's HttpClient to create an Observable from a call to a
|
|
1064
|
+
// web service.
|
|
1065
|
+
return of({
|
|
1066
|
+
hasMore: false,
|
|
1067
|
+
items: matchingJobs,
|
|
1068
|
+
totalCount: matchingJobs.length,
|
|
1069
|
+
}).pipe(delay(800));
|
|
1070
|
+
}
|
|
1071
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ExampleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1072
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ExampleService, providedIn: 'root' }); }
|
|
1073
|
+
};
|
|
1074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ExampleService$6, decorators: [{
|
|
1075
|
+
type: Injectable,
|
|
1076
|
+
args: [{
|
|
1077
|
+
providedIn: 'root',
|
|
1078
|
+
}]
|
|
1079
|
+
}] });
|
|
1080
|
+
|
|
1081
|
+
let SalesModalComponent$2 = class SalesModalComponent {
|
|
1082
|
+
#changeDetectorRef;
|
|
1059
1083
|
#context;
|
|
1060
|
-
#instance;
|
|
1061
1084
|
constructor() {
|
|
1085
|
+
this.modalInstance = inject(SkyFilterItemModalInstance);
|
|
1062
1086
|
this.hideSales = false;
|
|
1063
|
-
this
|
|
1064
|
-
this.#
|
|
1065
|
-
this
|
|
1066
|
-
this.#
|
|
1067
|
-
|
|
1068
|
-
const filters = this.#context.filterData.filters;
|
|
1069
|
-
this.jobTitle = filters.jobTitle ?? 'any';
|
|
1070
|
-
this.hideSales = filters.hideSales ?? false;
|
|
1087
|
+
this.#changeDetectorRef = inject(ChangeDetectorRef);
|
|
1088
|
+
this.#context = this.modalInstance.context;
|
|
1089
|
+
this.modalLabel = this.#context.filterLabelText;
|
|
1090
|
+
if (this.#context.filterValue) {
|
|
1091
|
+
this.hideSales = !!this.#context.filterValue.value;
|
|
1071
1092
|
}
|
|
1072
|
-
this.#
|
|
1093
|
+
this.#changeDetectorRef.markForCheck();
|
|
1073
1094
|
}
|
|
1074
1095
|
applyFilters() {
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
this
|
|
1083
|
-
}
|
|
1084
|
-
clearAllFilters() {
|
|
1085
|
-
this.hideSales = false;
|
|
1086
|
-
this.jobTitle = 'any';
|
|
1087
|
-
this.#changeDetector.markForCheck();
|
|
1096
|
+
let result;
|
|
1097
|
+
if (this.hideSales) {
|
|
1098
|
+
result = {
|
|
1099
|
+
value: true,
|
|
1100
|
+
displayValue: 'True',
|
|
1101
|
+
};
|
|
1102
|
+
}
|
|
1103
|
+
this.modalInstance.save({ filterValue: result });
|
|
1088
1104
|
}
|
|
1089
1105
|
cancel() {
|
|
1090
|
-
this
|
|
1106
|
+
this.modalInstance.cancel();
|
|
1091
1107
|
}
|
|
1092
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type:
|
|
1093
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type:
|
|
1108
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: SalesModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1109
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: SalesModalComponent, isStandalone: true, selector: "app-sales-modal", ngImport: i0, template: "<sky-modal [headingText]=\"modalLabel\">\n <sky-modal-content>\n <sky-checkbox labelText=\"Hide Sales employees\" [(ngModel)]=\"hideSales\" />\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"applyFilters()\"\n >\n Apply\n </button>\n <button class=\"sky-btn sky-btn-link\" type=\"button\" (click)=\"cancel()\">\n Cancel\n </button>\n </sky-modal-footer>\n</sky-modal>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SkyCheckboxModule }, { kind: "component", type: i2$3.λ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: "ngmodule", type: SkyModalModule }, { kind: "component", type: i3.λ5, selector: "sky-modal", inputs: ["formErrors", "headingText", "helpKey", "helpPopoverContent", "helpPopoverTitle", "ariaRole", "tiledBody", "ariaDescribedBy", "ariaLabelledBy", "layout"] }, { kind: "component", type: i3.λ2, selector: "sky-modal-content" }, { kind: "component", type: i3.λ3, selector: "sky-modal-footer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1094
1110
|
};
|
|
1095
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type:
|
|
1111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: SalesModalComponent$2, decorators: [{
|
|
1096
1112
|
type: Component,
|
|
1097
|
-
args: [{ selector: 'app-
|
|
1113
|
+
args: [{ selector: 'app-sales-modal', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, SkyCheckboxModule, SkyModalModule], template: "<sky-modal [headingText]=\"modalLabel\">\n <sky-modal-content>\n <sky-checkbox labelText=\"Hide Sales employees\" [(ngModel)]=\"hideSales\" />\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"applyFilters()\"\n >\n Apply\n </button>\n <button class=\"sky-btn sky-btn-link\" type=\"button\" (click)=\"cancel()\">\n Cancel\n </button>\n </sky-modal-footer>\n</sky-modal>\n" }]
|
|
1098
1114
|
}], ctorParameters: () => [] });
|
|
1099
1115
|
|
|
1100
1116
|
let ContextMenuComponent$8 = class ContextMenuComponent {
|
|
@@ -1224,9 +1240,7 @@ let ViewGridComponent$3 = class ViewGridComponent {
|
|
|
1224
1240
|
name: 'Data Grid View',
|
|
1225
1241
|
iconName: 'table',
|
|
1226
1242
|
searchEnabled: true,
|
|
1227
|
-
multiselectToolbarEnabled: true,
|
|
1228
1243
|
columnPickerEnabled: true,
|
|
1229
|
-
filterButtonEnabled: true,
|
|
1230
1244
|
columnOptions: [
|
|
1231
1245
|
{
|
|
1232
1246
|
id: 'selected',
|
|
@@ -1338,16 +1352,23 @@ let ViewGridComponent$3 = class ViewGridComponent {
|
|
|
1338
1352
|
}
|
|
1339
1353
|
#filterItems(items) {
|
|
1340
1354
|
let filteredItems = items;
|
|
1341
|
-
const
|
|
1342
|
-
if (
|
|
1343
|
-
const filters =
|
|
1355
|
+
const filterState = this.#dataState.filterData?.filters;
|
|
1356
|
+
if (filterState?.appliedFilters) {
|
|
1357
|
+
const filters = filterState.appliedFilters;
|
|
1358
|
+
const hideSales = filters.some((filter) => filter.filterId === 'hideSales' && !!filter.filterValue?.value);
|
|
1359
|
+
const jobTitleFilter = filters.find((f) => f.filterId === 'jobTitle');
|
|
1360
|
+
const selectedTypes = Array.isArray(jobTitleFilter?.filterValue?.value)
|
|
1361
|
+
? jobTitleFilter.filterValue.value.map((v) => v.id)
|
|
1362
|
+
: [];
|
|
1344
1363
|
filteredItems = items.filter((item) => {
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1364
|
+
if (hideSales && item.department.name === 'Sales') {
|
|
1365
|
+
return false;
|
|
1366
|
+
}
|
|
1367
|
+
if (selectedTypes.length &&
|
|
1368
|
+
(!item.jobTitle || !selectedTypes.includes(item.jobTitle.id))) {
|
|
1369
|
+
return false;
|
|
1370
|
+
}
|
|
1371
|
+
return true;
|
|
1351
1372
|
});
|
|
1352
1373
|
}
|
|
1353
1374
|
return filteredItems;
|
|
@@ -1404,6 +1425,10 @@ let ViewGridComponent$3 = class ViewGridComponent {
|
|
|
1404
1425
|
else {
|
|
1405
1426
|
this.#gridApi?.showNoRowsOverlay();
|
|
1406
1427
|
}
|
|
1428
|
+
this.#dataManagerSvc.updateDataSummary({
|
|
1429
|
+
totalItems: this.items.length,
|
|
1430
|
+
itemsMatching: this.displayedItems.length,
|
|
1431
|
+
}, this.#viewId);
|
|
1407
1432
|
this.#changeDetectorRef.markForCheck();
|
|
1408
1433
|
}
|
|
1409
1434
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ViewGridComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
@@ -1416,6 +1441,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
1416
1441
|
type: Input
|
|
1417
1442
|
}] } });
|
|
1418
1443
|
|
|
1444
|
+
const SOURCE_ID$3 = 'data_entry_grid_data_manager_example_id';
|
|
1419
1445
|
/**
|
|
1420
1446
|
* @title Data manager setup
|
|
1421
1447
|
*/
|
|
@@ -1426,16 +1452,16 @@ class AgGridDataEntryGridDataManagerAddedExampleComponent {
|
|
|
1426
1452
|
#ngUnsubscribe;
|
|
1427
1453
|
#changeDetectorRef;
|
|
1428
1454
|
#dataManagerSvc;
|
|
1455
|
+
#exampleSvc;
|
|
1429
1456
|
#modalSvc;
|
|
1430
1457
|
constructor() {
|
|
1431
1458
|
this.items = AG_GRID_DEMO_DATA$a;
|
|
1459
|
+
this.salesModal = SalesModalComponent$2;
|
|
1432
1460
|
this.#activeViewId = 'dataEntryGridWithDataManagerView';
|
|
1433
1461
|
this.#defaultDataState = new SkyDataManagerState({
|
|
1434
1462
|
filterData: {
|
|
1435
1463
|
filtersApplied: false,
|
|
1436
|
-
filters: {
|
|
1437
|
-
hideSales: false,
|
|
1438
|
-
},
|
|
1464
|
+
filters: {},
|
|
1439
1465
|
},
|
|
1440
1466
|
views: [
|
|
1441
1467
|
{
|
|
@@ -1456,7 +1482,6 @@ class AgGridDataEntryGridDataManagerAddedExampleComponent {
|
|
|
1456
1482
|
],
|
|
1457
1483
|
});
|
|
1458
1484
|
this.#dataManagerConfig = {
|
|
1459
|
-
filterModalComponent: FilterModalComponent$2,
|
|
1460
1485
|
sortOptions: [
|
|
1461
1486
|
{
|
|
1462
1487
|
id: 'az',
|
|
@@ -1475,7 +1500,11 @@ class AgGridDataEntryGridDataManagerAddedExampleComponent {
|
|
|
1475
1500
|
this.#ngUnsubscribe = new Subject();
|
|
1476
1501
|
this.#changeDetectorRef = inject(ChangeDetectorRef);
|
|
1477
1502
|
this.#dataManagerSvc = inject(SkyDataManagerService);
|
|
1503
|
+
this.#exampleSvc = inject(ExampleService$6);
|
|
1478
1504
|
this.#modalSvc = inject(SkyModalService);
|
|
1505
|
+
this.recordCount = toSignal(this.#dataManagerSvc
|
|
1506
|
+
.getDataSummaryUpdates(SOURCE_ID$3)
|
|
1507
|
+
.pipe(map((summary) => summary.itemsMatching)), { initialValue: 0 });
|
|
1479
1508
|
this.#dataManagerSvc
|
|
1480
1509
|
.getActiveViewIdUpdates()
|
|
1481
1510
|
.pipe(takeUntil(this.#ngUnsubscribe))
|
|
@@ -1521,12 +1550,24 @@ class AgGridDataEntryGridDataManagerAddedExampleComponent {
|
|
|
1521
1550
|
this.#changeDetectorRef.markForCheck();
|
|
1522
1551
|
});
|
|
1523
1552
|
}
|
|
1553
|
+
onJobTitleSearchAsync(args) {
|
|
1554
|
+
// In a real-world application the search service might return an Observable
|
|
1555
|
+
// created by calling HttpClient.get(). Assigning that Observable to the result
|
|
1556
|
+
// allows the lookup component to cancel the web request if it does not complete
|
|
1557
|
+
// before the user searches again.
|
|
1558
|
+
args.result = this.#exampleSvc.search(args.searchText);
|
|
1559
|
+
}
|
|
1524
1560
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AgGridDataEntryGridDataManagerAddedExampleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
1525
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: AgGridDataEntryGridDataManagerAddedExampleComponent, isStandalone: true, selector: "app-ag-grid-data-entry-grid-data-manager-added-example", providers: [SkyDataManagerService], ngImport: i0, template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-data-manager-toolbar-left-item>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"openModal()\"\n >\n Edit\n </button>\n </sky-data-manager-toolbar-left-item>\n </sky-data-manager-toolbar>\n <app-view-grid [items]=\"items\" />\n</sky-data-manager>\n", dependencies: [{ kind: "component", type: ViewGridComponent$3, selector: "app-view-grid", inputs: ["items"] }, { kind: "ngmodule", type: SkyDataManagerModule }, { kind: "component", type: i1$6.λ2, selector: "sky-data-manager", inputs: ["dock"] }, { kind: "component", type: i1$6.λ7, selector: "sky-data-manager-toolbar" }, { kind: "component", type: i1$6.λ3, selector: "sky-data-manager-toolbar-left-item" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1561
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: AgGridDataEntryGridDataManagerAddedExampleComponent, isStandalone: true, selector: "app-ag-grid-data-entry-grid-data-manager-added-example", providers: [SkyDataManagerService], ngImport: i0, template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-data-manager-toolbar-left-item>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"openModal()\"\n >\n Edit\n </button>\n </sky-data-manager-toolbar-left-item>\n <sky-filter-bar skyDataManagerFilterController>\n <sky-filter-item-modal\n filterId=\"hideSales\"\n labelText=\"Hide sales\"\n modalSize=\"small\"\n [modalComponent]=\"salesModal\"\n />\n <sky-filter-item-lookup\n filterId=\"jobTitle\"\n labelText=\"Job title\"\n searchDescriptorProperty=\"name\"\n searchIdProperty=\"id\"\n (searchAsync)=\"onJobTitleSearchAsync($event)\"\n />\n </sky-filter-bar>\n <sky-list-summary>\n <sky-list-summary-item\n [labelText]=\"recordCount() === 1 ? 'Record' : 'Records'\"\n [value]=\"recordCount()\"\n />\n </sky-list-summary>\n </sky-data-manager-toolbar>\n <app-view-grid [items]=\"items\" />\n</sky-data-manager>\n", dependencies: [{ kind: "component", type: ViewGridComponent$3, selector: "app-view-grid", inputs: ["items"] }, { kind: "ngmodule", type: SkyDataManagerModule }, { kind: "component", type: i1$6.λ2, selector: "sky-data-manager", inputs: ["dock"] }, { kind: "directive", type: i1$6.λ9, selector: "[skyDataManagerFilterController]" }, { kind: "component", type: i1$6.λ7, selector: "sky-data-manager-toolbar" }, { kind: "component", type: i1$6.λ3, selector: "sky-data-manager-toolbar-left-item" }, { kind: "ngmodule", type: SkyFilterBarModule }, { kind: "component", type: i2$4.λ1, selector: "sky-filter-bar", inputs: ["appliedFilters", "selectedFilterIds"], outputs: ["appliedFiltersChange", "selectedFilterIdsChange"] }, { kind: "component", type: i2$4.λ2, selector: "sky-filter-item-modal", inputs: ["filterId", "labelText", "modalComponent", "modalSize"], outputs: ["modalOpened"] }, { kind: "component", type: i2$4.λ3, selector: "sky-filter-item-lookup", inputs: ["filterId", "labelText", "searchDescriptorProperty", "searchIdProperty"], outputs: ["searchAsync"] }, { kind: "ngmodule", type: SkyListSummaryModule }, { kind: "component", type: i2$5.λ16, selector: "sky-list-summary" }, { kind: "component", type: i2$5.λ17, selector: "sky-list-summary-item", inputs: ["value", "labelText", "valueFormat", "helpKey", "helpPopoverContent", "helpPopoverTitle"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
1526
1562
|
}
|
|
1527
1563
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AgGridDataEntryGridDataManagerAddedExampleComponent, decorators: [{
|
|
1528
1564
|
type: Component,
|
|
1529
|
-
args: [{ selector: 'app-ag-grid-data-entry-grid-data-manager-added-example', changeDetection: ChangeDetectionStrategy.OnPush, providers: [SkyDataManagerService], imports: [
|
|
1565
|
+
args: [{ selector: 'app-ag-grid-data-entry-grid-data-manager-added-example', changeDetection: ChangeDetectionStrategy.OnPush, providers: [SkyDataManagerService], imports: [
|
|
1566
|
+
ViewGridComponent$3,
|
|
1567
|
+
SkyDataManagerModule,
|
|
1568
|
+
SkyFilterBarModule,
|
|
1569
|
+
SkyListSummaryModule,
|
|
1570
|
+
], template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-data-manager-toolbar-left-item>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"openModal()\"\n >\n Edit\n </button>\n </sky-data-manager-toolbar-left-item>\n <sky-filter-bar skyDataManagerFilterController>\n <sky-filter-item-modal\n filterId=\"hideSales\"\n labelText=\"Hide sales\"\n modalSize=\"small\"\n [modalComponent]=\"salesModal\"\n />\n <sky-filter-item-lookup\n filterId=\"jobTitle\"\n labelText=\"Job title\"\n searchDescriptorProperty=\"name\"\n searchIdProperty=\"id\"\n (searchAsync)=\"onJobTitleSearchAsync($event)\"\n />\n </sky-filter-bar>\n <sky-list-summary>\n <sky-list-summary-item\n [labelText]=\"recordCount() === 1 ? 'Record' : 'Records'\"\n [value]=\"recordCount()\"\n />\n </sky-list-summary>\n </sky-data-manager-toolbar>\n <app-view-grid [items]=\"items\" />\n</sky-data-manager>\n" }]
|
|
1530
1571
|
}], ctorParameters: () => [] });
|
|
1531
1572
|
|
|
1532
1573
|
const DEPARTMENTS$8 = [
|
|
@@ -3000,11 +3041,11 @@ let SalesModalComponent$1 = class SalesModalComponent {
|
|
|
3000
3041
|
this.modalInstance.cancel();
|
|
3001
3042
|
}
|
|
3002
3043
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: SalesModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3003
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: SalesModalComponent, isStandalone: true, selector: "app-sales-modal", ngImport: i0, template: "<sky-modal [headingText]=\"modalLabel\">\n <sky-modal-content>\n <
|
|
3044
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: SalesModalComponent, isStandalone: true, selector: "app-sales-modal", ngImport: i0, template: "<sky-modal [headingText]=\"modalLabel\">\n <sky-modal-content>\n <sky-checkbox labelText=\"Hide Sales employees\" [(ngModel)]=\"hideSales\" />\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"applyFilters()\"\n >\n Apply\n </button>\n <button class=\"sky-btn sky-btn-link\" type=\"button\" (click)=\"cancel()\">\n Cancel\n </button>\n </sky-modal-footer>\n</sky-modal>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SkyCheckboxModule }, { kind: "component", type: i2$3.λ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: "ngmodule", type: SkyModalModule }, { kind: "component", type: i3.λ5, selector: "sky-modal", inputs: ["formErrors", "headingText", "helpKey", "helpPopoverContent", "helpPopoverTitle", "ariaRole", "tiledBody", "ariaDescribedBy", "ariaLabelledBy", "layout"] }, { kind: "component", type: i3.λ2, selector: "sky-modal-content" }, { kind: "component", type: i3.λ3, selector: "sky-modal-footer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3004
3045
|
};
|
|
3005
3046
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: SalesModalComponent$1, decorators: [{
|
|
3006
3047
|
type: Component,
|
|
3007
|
-
args: [{ selector: 'app-sales-modal', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, SkyCheckboxModule, SkyModalModule], template: "<sky-modal [headingText]=\"modalLabel\">\n <sky-modal-content>\n <
|
|
3048
|
+
args: [{ selector: 'app-sales-modal', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, SkyCheckboxModule, SkyModalModule], template: "<sky-modal [headingText]=\"modalLabel\">\n <sky-modal-content>\n <sky-checkbox labelText=\"Hide Sales employees\" [(ngModel)]=\"hideSales\" />\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"applyFilters()\"\n >\n Apply\n </button>\n <button class=\"sky-btn sky-btn-link\" type=\"button\" (click)=\"cancel()\">\n Cancel\n </button>\n </sky-modal-footer>\n</sky-modal>\n" }]
|
|
3008
3049
|
}], ctorParameters: () => [] });
|
|
3009
3050
|
|
|
3010
3051
|
let ContextMenuComponent$4 = class ContextMenuComponent {
|
|
@@ -3154,7 +3195,6 @@ let ViewGridComponent$2 = class ViewGridComponent {
|
|
|
3154
3195
|
name: 'Data Grid View',
|
|
3155
3196
|
iconName: 'table',
|
|
3156
3197
|
searchEnabled: true,
|
|
3157
|
-
multiselectToolbarEnabled: true,
|
|
3158
3198
|
columnPickerEnabled: true,
|
|
3159
3199
|
columnOptions: this.#columnPickerOptions,
|
|
3160
3200
|
};
|
|
@@ -3307,8 +3347,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
3307
3347
|
type: Input
|
|
3308
3348
|
}] } });
|
|
3309
3349
|
|
|
3350
|
+
const SOURCE_ID$2 = 'data_grid_data_manager_multiselect_example_id';
|
|
3310
3351
|
/**
|
|
3311
|
-
* @title Data manager setup
|
|
3352
|
+
* @title Data manager setup with multiselect
|
|
3312
3353
|
*/
|
|
3313
3354
|
class AgGridDataGridDataManagerMultiselectExampleComponent {
|
|
3314
3355
|
#activeViewId;
|
|
@@ -3321,7 +3362,7 @@ class AgGridDataGridDataManagerMultiselectExampleComponent {
|
|
|
3321
3362
|
constructor() {
|
|
3322
3363
|
this.items = AG_GRID_DEMO_DATA$5;
|
|
3323
3364
|
this.salesModal = SalesModalComponent$1;
|
|
3324
|
-
this.#activeViewId = '
|
|
3365
|
+
this.#activeViewId = 'dataGridMultiselectWithDataManagerView';
|
|
3325
3366
|
this.#dataManagerConfig = {
|
|
3326
3367
|
sortOptions: [
|
|
3327
3368
|
{
|
|
@@ -3344,8 +3385,9 @@ class AgGridDataGridDataManagerMultiselectExampleComponent {
|
|
|
3344
3385
|
},
|
|
3345
3386
|
views: [
|
|
3346
3387
|
{
|
|
3347
|
-
viewId: '
|
|
3388
|
+
viewId: 'dataGridMultiselectWithDataManagerView',
|
|
3348
3389
|
displayedColumnIds: [
|
|
3390
|
+
'selected',
|
|
3349
3391
|
'context',
|
|
3350
3392
|
'name',
|
|
3351
3393
|
'age',
|
|
@@ -3361,6 +3403,9 @@ class AgGridDataGridDataManagerMultiselectExampleComponent {
|
|
|
3361
3403
|
this.#changeDetectorRef = inject(ChangeDetectorRef);
|
|
3362
3404
|
this.#dataManagerSvc = inject(SkyDataManagerService);
|
|
3363
3405
|
this.#exampleSvc = inject(ExampleService$5);
|
|
3406
|
+
this.recordCount = toSignal(this.#dataManagerSvc
|
|
3407
|
+
.getDataSummaryUpdates(SOURCE_ID$2)
|
|
3408
|
+
.pipe(map((summary) => summary.itemsMatching)), { initialValue: 0 });
|
|
3364
3409
|
this.#dataManagerSvc
|
|
3365
3410
|
.getActiveViewIdUpdates()
|
|
3366
3411
|
.pipe(takeUntil(this.#ngUnsubscribe))
|
|
@@ -3388,7 +3433,7 @@ class AgGridDataGridDataManagerMultiselectExampleComponent {
|
|
|
3388
3433
|
args.result = this.#exampleSvc.search(args.searchText);
|
|
3389
3434
|
}
|
|
3390
3435
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AgGridDataGridDataManagerMultiselectExampleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3391
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: AgGridDataGridDataManagerMultiselectExampleComponent, isStandalone: true, selector: "app-ag-grid-data-grid-data-manager-example", providers: [SkyDataManagerService], ngImport: i0, template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-filter-bar skyDataManagerFilterController>\n <sky-filter-item-modal\n filterId=\"hideSales\"\n labelText=\"Hide sales\"\n modalSize=\"small\"\n [modalComponent]=\"salesModal\"\n />\n <sky-filter-item-lookup\n filterId=\"jobTitle\"\n labelText=\"Job title\"\n searchDescriptorProperty=\"name\"\n searchIdProperty=\"id\"\n (searchAsync)=\"onJobTitleSearchAsync($event)\"\n />\n </sky-filter-bar>\n <sky-list-summary>\n <sky-list-summary-item
|
|
3436
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: AgGridDataGridDataManagerMultiselectExampleComponent, isStandalone: true, selector: "app-ag-grid-data-grid-data-manager-example", providers: [SkyDataManagerService], ngImport: i0, template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-filter-bar skyDataManagerFilterController>\n <sky-filter-item-modal\n filterId=\"hideSales\"\n labelText=\"Hide sales\"\n modalSize=\"small\"\n [modalComponent]=\"salesModal\"\n />\n <sky-filter-item-lookup\n filterId=\"jobTitle\"\n labelText=\"Job title\"\n searchDescriptorProperty=\"name\"\n searchIdProperty=\"id\"\n (searchAsync)=\"onJobTitleSearchAsync($event)\"\n />\n </sky-filter-bar>\n <sky-list-summary>\n <sky-list-summary-item\n [labelText]=\"recordCount() === 1 ? 'Record' : 'Records'\"\n [value]=\"recordCount()\"\n />\n </sky-list-summary>\n </sky-data-manager-toolbar>\n <app-view-grid [items]=\"items\" />\n</sky-data-manager>\n", dependencies: [{ kind: "ngmodule", type: SkyDataManagerModule }, { kind: "component", type: i1$6.λ2, selector: "sky-data-manager", inputs: ["dock"] }, { kind: "directive", type: i1$6.λ9, selector: "[skyDataManagerFilterController]" }, { kind: "component", type: i1$6.λ7, selector: "sky-data-manager-toolbar" }, { kind: "ngmodule", type: SkyFilterBarModule }, { kind: "component", type: i2$4.λ1, selector: "sky-filter-bar", inputs: ["appliedFilters", "selectedFilterIds"], outputs: ["appliedFiltersChange", "selectedFilterIdsChange"] }, { kind: "component", type: i2$4.λ2, selector: "sky-filter-item-modal", inputs: ["filterId", "labelText", "modalComponent", "modalSize"], outputs: ["modalOpened"] }, { kind: "component", type: i2$4.λ3, selector: "sky-filter-item-lookup", inputs: ["filterId", "labelText", "searchDescriptorProperty", "searchIdProperty"], outputs: ["searchAsync"] }, { kind: "ngmodule", type: SkyListSummaryModule }, { kind: "component", type: i2$5.λ16, selector: "sky-list-summary" }, { kind: "component", type: i2$5.λ17, selector: "sky-list-summary-item", inputs: ["value", "labelText", "valueFormat", "helpKey", "helpPopoverContent", "helpPopoverTitle"] }, { kind: "component", type: ViewGridComponent$2, selector: "app-view-grid", inputs: ["items"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3392
3437
|
}
|
|
3393
3438
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AgGridDataGridDataManagerMultiselectExampleComponent, decorators: [{
|
|
3394
3439
|
type: Component,
|
|
@@ -3397,7 +3442,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
3397
3442
|
SkyFilterBarModule,
|
|
3398
3443
|
SkyListSummaryModule,
|
|
3399
3444
|
ViewGridComponent$2,
|
|
3400
|
-
], template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-filter-bar skyDataManagerFilterController>\n <sky-filter-item-modal\n filterId=\"hideSales\"\n labelText=\"Hide sales\"\n modalSize=\"small\"\n [modalComponent]=\"salesModal\"\n />\n <sky-filter-item-lookup\n filterId=\"jobTitle\"\n labelText=\"Job title\"\n searchDescriptorProperty=\"name\"\n searchIdProperty=\"id\"\n (searchAsync)=\"onJobTitleSearchAsync($event)\"\n />\n </sky-filter-bar>\n <sky-list-summary>\n <sky-list-summary-item
|
|
3445
|
+
], template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-filter-bar skyDataManagerFilterController>\n <sky-filter-item-modal\n filterId=\"hideSales\"\n labelText=\"Hide sales\"\n modalSize=\"small\"\n [modalComponent]=\"salesModal\"\n />\n <sky-filter-item-lookup\n filterId=\"jobTitle\"\n labelText=\"Job title\"\n searchDescriptorProperty=\"name\"\n searchIdProperty=\"id\"\n (searchAsync)=\"onJobTitleSearchAsync($event)\"\n />\n </sky-filter-bar>\n <sky-list-summary>\n <sky-list-summary-item\n [labelText]=\"recordCount() === 1 ? 'Record' : 'Records'\"\n [value]=\"recordCount()\"\n />\n </sky-list-summary>\n </sky-data-manager-toolbar>\n <app-view-grid [items]=\"items\" />\n</sky-data-manager>\n" }]
|
|
3401
3446
|
}], ctorParameters: () => [] });
|
|
3402
3447
|
|
|
3403
3448
|
const DEPARTMENTS$3 = [
|
|
@@ -3586,11 +3631,11 @@ class SalesModalComponent {
|
|
|
3586
3631
|
this.modalInstance.cancel();
|
|
3587
3632
|
}
|
|
3588
3633
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: SalesModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3589
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: SalesModalComponent, isStandalone: true, selector: "app-sales-modal", ngImport: i0, template: "<sky-modal [headingText]=\"modalLabel\">\n <sky-modal-content>\n <
|
|
3634
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: SalesModalComponent, isStandalone: true, selector: "app-sales-modal", ngImport: i0, template: "<sky-modal [headingText]=\"modalLabel\">\n <sky-modal-content>\n <sky-checkbox labelText=\"Hide Sales employees\" [(ngModel)]=\"hideSales\" />\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"applyFilters()\"\n >\n Apply\n </button>\n <button class=\"sky-btn sky-btn-link\" type=\"button\" (click)=\"cancel()\">\n Cancel\n </button>\n </sky-modal-footer>\n</sky-modal>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SkyCheckboxModule }, { kind: "component", type: i2$3.λ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: "ngmodule", type: SkyModalModule }, { kind: "component", type: i3.λ5, selector: "sky-modal", inputs: ["formErrors", "headingText", "helpKey", "helpPopoverContent", "helpPopoverTitle", "ariaRole", "tiledBody", "ariaDescribedBy", "ariaLabelledBy", "layout"] }, { kind: "component", type: i3.λ2, selector: "sky-modal-content" }, { kind: "component", type: i3.λ3, selector: "sky-modal-footer" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3590
3635
|
}
|
|
3591
3636
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: SalesModalComponent, decorators: [{
|
|
3592
3637
|
type: Component,
|
|
3593
|
-
args: [{ selector: 'app-sales-modal', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, SkyCheckboxModule, SkyModalModule], template: "<sky-modal [headingText]=\"modalLabel\">\n <sky-modal-content>\n <
|
|
3638
|
+
args: [{ selector: 'app-sales-modal', changeDetection: ChangeDetectionStrategy.OnPush, imports: [FormsModule, SkyCheckboxModule, SkyModalModule], template: "<sky-modal [headingText]=\"modalLabel\">\n <sky-modal-content>\n <sky-checkbox labelText=\"Hide Sales employees\" [(ngModel)]=\"hideSales\" />\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"applyFilters()\"\n >\n Apply\n </button>\n <button class=\"sky-btn sky-btn-link\" type=\"button\" (click)=\"cancel()\">\n Cancel\n </button>\n </sky-modal-footer>\n</sky-modal>\n" }]
|
|
3594
3639
|
}], ctorParameters: () => [] });
|
|
3595
3640
|
|
|
3596
3641
|
let ContextMenuComponent$3 = class ContextMenuComponent {
|
|
@@ -3869,6 +3914,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
3869
3914
|
type: Input
|
|
3870
3915
|
}] } });
|
|
3871
3916
|
|
|
3917
|
+
const SOURCE_ID$1 = 'data_grid_data_manager_example_id';
|
|
3872
3918
|
/**
|
|
3873
3919
|
* @title Data manager setup
|
|
3874
3920
|
*/
|
|
@@ -3923,6 +3969,9 @@ class AgGridDataGridDataManagerExampleComponent {
|
|
|
3923
3969
|
this.#changeDetectorRef = inject(ChangeDetectorRef);
|
|
3924
3970
|
this.#dataManagerSvc = inject(SkyDataManagerService);
|
|
3925
3971
|
this.#exampleSvc = inject(ExampleService$4);
|
|
3972
|
+
this.recordCount = toSignal(this.#dataManagerSvc
|
|
3973
|
+
.getDataSummaryUpdates(SOURCE_ID$1)
|
|
3974
|
+
.pipe(map((summary) => summary.itemsMatching)), { initialValue: 0 });
|
|
3926
3975
|
this.#dataManagerSvc
|
|
3927
3976
|
.getActiveViewIdUpdates()
|
|
3928
3977
|
.pipe(takeUntil(this.#ngUnsubscribe))
|
|
@@ -3950,7 +3999,7 @@ class AgGridDataGridDataManagerExampleComponent {
|
|
|
3950
3999
|
args.result = this.#exampleSvc.search(args.searchText);
|
|
3951
4000
|
}
|
|
3952
4001
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AgGridDataGridDataManagerExampleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3953
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: AgGridDataGridDataManagerExampleComponent, isStandalone: true, selector: "app-ag-grid-data-grid-data-manager-example", providers: [SkyDataManagerService], ngImport: i0, template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-filter-bar skyDataManagerFilterController>\n <sky-filter-item-modal\n filterId=\"hideSales\"\n labelText=\"Hide sales\"\n modalSize=\"small\"\n [modalComponent]=\"salesModal\"\n />\n <sky-filter-item-lookup\n filterId=\"jobTitle\"\n labelText=\"Job title\"\n searchDescriptorProperty=\"name\"\n searchIdProperty=\"id\"\n (searchAsync)=\"onJobTitleSearchAsync($event)\"\n />\n </sky-filter-bar>\n <sky-list-summary>\n <sky-list-summary-item
|
|
4002
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: AgGridDataGridDataManagerExampleComponent, isStandalone: true, selector: "app-ag-grid-data-grid-data-manager-example", providers: [SkyDataManagerService], ngImport: i0, template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-filter-bar skyDataManagerFilterController>\n <sky-filter-item-modal\n filterId=\"hideSales\"\n labelText=\"Hide sales\"\n modalSize=\"small\"\n [modalComponent]=\"salesModal\"\n />\n <sky-filter-item-lookup\n filterId=\"jobTitle\"\n labelText=\"Job title\"\n searchDescriptorProperty=\"name\"\n searchIdProperty=\"id\"\n (searchAsync)=\"onJobTitleSearchAsync($event)\"\n />\n </sky-filter-bar>\n <sky-list-summary>\n <sky-list-summary-item\n [labelText]=\"recordCount() === 1 ? 'Record' : 'Records'\"\n [value]=\"recordCount()\"\n />\n </sky-list-summary>\n </sky-data-manager-toolbar>\n <app-view-grid [items]=\"items\" />\n</sky-data-manager>\n", dependencies: [{ kind: "ngmodule", type: SkyDataManagerModule }, { kind: "component", type: i1$6.λ2, selector: "sky-data-manager", inputs: ["dock"] }, { kind: "directive", type: i1$6.λ9, selector: "[skyDataManagerFilterController]" }, { kind: "component", type: i1$6.λ7, selector: "sky-data-manager-toolbar" }, { kind: "ngmodule", type: SkyFilterBarModule }, { kind: "component", type: i2$4.λ1, selector: "sky-filter-bar", inputs: ["appliedFilters", "selectedFilterIds"], outputs: ["appliedFiltersChange", "selectedFilterIdsChange"] }, { kind: "component", type: i2$4.λ2, selector: "sky-filter-item-modal", inputs: ["filterId", "labelText", "modalComponent", "modalSize"], outputs: ["modalOpened"] }, { kind: "component", type: i2$4.λ3, selector: "sky-filter-item-lookup", inputs: ["filterId", "labelText", "searchDescriptorProperty", "searchIdProperty"], outputs: ["searchAsync"] }, { kind: "ngmodule", type: SkyListSummaryModule }, { kind: "component", type: i2$5.λ16, selector: "sky-list-summary" }, { kind: "component", type: i2$5.λ17, selector: "sky-list-summary-item", inputs: ["value", "labelText", "valueFormat", "helpKey", "helpPopoverContent", "helpPopoverTitle"] }, { kind: "component", type: ViewGridComponent$1, selector: "app-view-grid", inputs: ["items"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
3954
4003
|
}
|
|
3955
4004
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AgGridDataGridDataManagerExampleComponent, decorators: [{
|
|
3956
4005
|
type: Component,
|
|
@@ -3959,7 +4008,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
3959
4008
|
SkyFilterBarModule,
|
|
3960
4009
|
SkyListSummaryModule,
|
|
3961
4010
|
ViewGridComponent$1,
|
|
3962
|
-
], template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-filter-bar skyDataManagerFilterController>\n <sky-filter-item-modal\n filterId=\"hideSales\"\n labelText=\"Hide sales\"\n modalSize=\"small\"\n [modalComponent]=\"salesModal\"\n />\n <sky-filter-item-lookup\n filterId=\"jobTitle\"\n labelText=\"Job title\"\n searchDescriptorProperty=\"name\"\n searchIdProperty=\"id\"\n (searchAsync)=\"onJobTitleSearchAsync($event)\"\n />\n </sky-filter-bar>\n <sky-list-summary>\n <sky-list-summary-item
|
|
4011
|
+
], template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-filter-bar skyDataManagerFilterController>\n <sky-filter-item-modal\n filterId=\"hideSales\"\n labelText=\"Hide sales\"\n modalSize=\"small\"\n [modalComponent]=\"salesModal\"\n />\n <sky-filter-item-lookup\n filterId=\"jobTitle\"\n labelText=\"Job title\"\n searchDescriptorProperty=\"name\"\n searchIdProperty=\"id\"\n (searchAsync)=\"onJobTitleSearchAsync($event)\"\n />\n </sky-filter-bar>\n <sky-list-summary>\n <sky-list-summary-item\n [labelText]=\"recordCount() === 1 ? 'Record' : 'Records'\"\n [value]=\"recordCount()\"\n />\n </sky-list-summary>\n </sky-data-manager-toolbar>\n <app-view-grid [items]=\"items\" />\n</sky-data-manager>\n" }]
|
|
3963
4012
|
}], ctorParameters: () => [] });
|
|
3964
4013
|
|
|
3965
4014
|
let ContextMenuComponent$2 = class ContextMenuComponent {
|
|
@@ -4507,7 +4556,7 @@ class AgGridDataGridPagingExampleComponent {
|
|
|
4507
4556
|
}
|
|
4508
4557
|
ngOnInit() {
|
|
4509
4558
|
this.#subscriptions.add(this.#activatedRoute.queryParamMap
|
|
4510
|
-
.pipe(map((params) => params.get('page') ?? '1'))
|
|
4559
|
+
.pipe(map$1((params) => params.get('page') ?? '1'))
|
|
4511
4560
|
.subscribe((page) => {
|
|
4512
4561
|
this.currentPage = Number(page);
|
|
4513
4562
|
this.#gridApi?.paginationGoToPage(this.currentPage - 1);
|
|
@@ -5300,11 +5349,11 @@ class ColorpickerBasicExampleComponent {
|
|
|
5300
5349
|
alert('Your favorite color is: \n' + favoriteColor);
|
|
5301
5350
|
}
|
|
5302
5351
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ColorpickerBasicExampleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5303
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: ColorpickerBasicExampleComponent, isStandalone: true, selector: "app-colorpicker-basic-example", ngImport: i0, template: "<form [formGroup]=\"formGroup\" (ngSubmit)=\"submit()\">\n <sky-colorpicker\n #colorPicker\n data-sky-id=\"favorite-color\"\n labelText=\"What is your favorite color?\"\n hintText=\"Pick a color with at least 80% opacity.\"\n [stacked]=\"true\"\n (selectedColorChanged)=\"onSelectedColorChanged($event)\"\n >\n <input\n formControlName=\"favoriteColor\"\n type=\"text\"\n [presetColors]=\"swatches\"\n [skyColorpickerInput]=\"colorPicker\"\n />\n @if (favoriteColor.errors?.['opaque']) {\n <sky-form-error\n errorName=\"opaque\"\n errorText=\"Color must have at least 80% opacity.\"\n />\n }\n </sky-colorpicker>\n\n <button class=\"sky-btn sky-btn-primary\" type=\"submit\">Submit</button>\n</form>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: SkyColorpickerModule }, { kind: "component", type: i2$8.λ1, selector: "sky-colorpicker", inputs: ["pickerButtonIcon", "label", "labelledBy", "labelText", "labelHidden", "helpKey", "helpPopoverContent", "helpPopoverTitle", "hintText", "stacked", "messageStream", "showResetButton"], outputs: ["selectedColorChanged", "selectedColorApplied"] }, { kind: "directive", type: i2$8.λ2, selector: "[skyColorpickerInput]", inputs: ["skyColorpickerInput", "initialColor", "id", "returnFormat", "outputFormat", "presetColors", "alphaChannel", "allowTransparency"] }, { kind: "component", type: i2$3.λ22, selector: "sky-form-error", inputs: ["errorName", "errorText"] }] }); }
|
|
5352
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: ColorpickerBasicExampleComponent, isStandalone: true, selector: "app-colorpicker-basic-example", ngImport: i0, template: "<form [formGroup]=\"formGroup\" (ngSubmit)=\"submit()\">\n <sky-colorpicker\n #colorPicker\n data-sky-id=\"favorite-color\"\n labelText=\"What is your favorite color?\"\n hintText=\"Pick a color with at least 80% opacity.\"\n [stacked]=\"true\"\n (selectedColorChanged)=\"onSelectedColorChanged($event)\"\n >\n <input\n formControlName=\"favoriteColor\"\n type=\"text\"\n [presetColors]=\"swatches\"\n [skyColorpickerInput]=\"colorPicker\"\n />\n @if (favoriteColor.errors?.['opaque']) {\n <sky-form-error\n errorName=\"opaque\"\n errorText=\"Color must have at least 80% opacity.\"\n />\n }\n </sky-colorpicker>\n\n <button class=\"sky-btn sky-btn-primary\" type=\"submit\">Submit</button>\n</form>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: SkyColorpickerModule }, { kind: "component", type: i2$8.λ1, selector: "sky-colorpicker", inputs: ["pickerButtonIcon", "label", "labelledBy", "labelText", "labelHidden", "helpKey", "helpPopoverContent", "helpPopoverTitle", "hintText", "stacked", "messageStream", "showResetButton"], outputs: ["selectedColorChanged", "selectedColorApplied"] }, { kind: "directive", type: i2$8.λ2, selector: "[skyColorpickerInput]", inputs: ["skyColorpickerInput", "initialColor", "id", "returnFormat", "outputFormat", "presetColors", "alphaChannel", "allowTransparency"] }, { kind: "ngmodule", type: SkyFormErrorModule }, { kind: "component", type: i2$3.λ22, selector: "sky-form-error", inputs: ["errorName", "errorText"] }] }); }
|
|
5304
5353
|
}
|
|
5305
5354
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ColorpickerBasicExampleComponent, decorators: [{
|
|
5306
5355
|
type: Component,
|
|
5307
|
-
args: [{ selector: 'app-colorpicker-basic-example', imports: [ReactiveFormsModule, SkyColorpickerModule], template: "<form [formGroup]=\"formGroup\" (ngSubmit)=\"submit()\">\n <sky-colorpicker\n #colorPicker\n data-sky-id=\"favorite-color\"\n labelText=\"What is your favorite color?\"\n hintText=\"Pick a color with at least 80% opacity.\"\n [stacked]=\"true\"\n (selectedColorChanged)=\"onSelectedColorChanged($event)\"\n >\n <input\n formControlName=\"favoriteColor\"\n type=\"text\"\n [presetColors]=\"swatches\"\n [skyColorpickerInput]=\"colorPicker\"\n />\n @if (favoriteColor.errors?.['opaque']) {\n <sky-form-error\n errorName=\"opaque\"\n errorText=\"Color must have at least 80% opacity.\"\n />\n }\n </sky-colorpicker>\n\n <button class=\"sky-btn sky-btn-primary\" type=\"submit\">Submit</button>\n</form>\n" }]
|
|
5356
|
+
args: [{ selector: 'app-colorpicker-basic-example', imports: [ReactiveFormsModule, SkyColorpickerModule, SkyFormErrorModule], template: "<form [formGroup]=\"formGroup\" (ngSubmit)=\"submit()\">\n <sky-colorpicker\n #colorPicker\n data-sky-id=\"favorite-color\"\n labelText=\"What is your favorite color?\"\n hintText=\"Pick a color with at least 80% opacity.\"\n [stacked]=\"true\"\n (selectedColorChanged)=\"onSelectedColorChanged($event)\"\n >\n <input\n formControlName=\"favoriteColor\"\n type=\"text\"\n [presetColors]=\"swatches\"\n [skyColorpickerInput]=\"colorPicker\"\n />\n @if (favoriteColor.errors?.['opaque']) {\n <sky-form-error\n errorName=\"opaque\"\n errorText=\"Color must have at least 80% opacity.\"\n />\n }\n </sky-colorpicker>\n\n <button class=\"sky-btn sky-btn-primary\" type=\"submit\">Submit</button>\n</form>\n" }]
|
|
5308
5357
|
}], ctorParameters: () => [] });
|
|
5309
5358
|
|
|
5310
5359
|
function isColorpickerOutput$1(value) {
|
|
@@ -5349,11 +5398,11 @@ class ColorpickerHelpKeyExampleComponent {
|
|
|
5349
5398
|
alert('Your favorite color is: \n' + favoriteColor);
|
|
5350
5399
|
}
|
|
5351
5400
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ColorpickerHelpKeyExampleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5352
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: ColorpickerHelpKeyExampleComponent, isStandalone: true, selector: "app-colorpicker-help-key-example", ngImport: i0, template: "<form [formGroup]=\"formGroup\" (ngSubmit)=\"submit()\">\n <sky-colorpicker\n #colorPicker\n data-sky-id=\"favorite-color\"\n labelText=\"What is your favorite color?\"\n helpKey=\"color-help\"\n hintText=\"Pick a color with at least 80% opacity.\"\n [stacked]=\"true\"\n (selectedColorChanged)=\"onSelectedColorChanged($event)\"\n >\n <input\n formControlName=\"favoriteColor\"\n type=\"text\"\n [presetColors]=\"swatches\"\n [skyColorpickerInput]=\"colorPicker\"\n />\n @if (favoriteColor.errors?.['opaque']) {\n <sky-form-error\n errorName=\"opaque\"\n errorText=\"Color must have at least 80% opacity.\"\n />\n }\n </sky-colorpicker>\n\n <button class=\"sky-btn sky-btn-primary\" type=\"submit\">Submit</button>\n</form>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: SkyColorpickerModule }, { kind: "component", type: i2$8.λ1, selector: "sky-colorpicker", inputs: ["pickerButtonIcon", "label", "labelledBy", "labelText", "labelHidden", "helpKey", "helpPopoverContent", "helpPopoverTitle", "hintText", "stacked", "messageStream", "showResetButton"], outputs: ["selectedColorChanged", "selectedColorApplied"] }, { kind: "directive", type: i2$8.λ2, selector: "[skyColorpickerInput]", inputs: ["skyColorpickerInput", "initialColor", "id", "returnFormat", "outputFormat", "presetColors", "alphaChannel", "allowTransparency"] }, { kind: "component", type: i2$3.λ22, selector: "sky-form-error", inputs: ["errorName", "errorText"] }] }); }
|
|
5401
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: ColorpickerHelpKeyExampleComponent, isStandalone: true, selector: "app-colorpicker-help-key-example", ngImport: i0, template: "<form [formGroup]=\"formGroup\" (ngSubmit)=\"submit()\">\n <sky-colorpicker\n #colorPicker\n data-sky-id=\"favorite-color\"\n labelText=\"What is your favorite color?\"\n helpKey=\"color-help\"\n hintText=\"Pick a color with at least 80% opacity.\"\n [stacked]=\"true\"\n (selectedColorChanged)=\"onSelectedColorChanged($event)\"\n >\n <input\n formControlName=\"favoriteColor\"\n type=\"text\"\n [presetColors]=\"swatches\"\n [skyColorpickerInput]=\"colorPicker\"\n />\n @if (favoriteColor.errors?.['opaque']) {\n <sky-form-error\n errorName=\"opaque\"\n errorText=\"Color must have at least 80% opacity.\"\n />\n }\n </sky-colorpicker>\n\n <button class=\"sky-btn sky-btn-primary\" type=\"submit\">Submit</button>\n</form>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: SkyColorpickerModule }, { kind: "component", type: i2$8.λ1, selector: "sky-colorpicker", inputs: ["pickerButtonIcon", "label", "labelledBy", "labelText", "labelHidden", "helpKey", "helpPopoverContent", "helpPopoverTitle", "hintText", "stacked", "messageStream", "showResetButton"], outputs: ["selectedColorChanged", "selectedColorApplied"] }, { kind: "directive", type: i2$8.λ2, selector: "[skyColorpickerInput]", inputs: ["skyColorpickerInput", "initialColor", "id", "returnFormat", "outputFormat", "presetColors", "alphaChannel", "allowTransparency"] }, { kind: "ngmodule", type: SkyFormErrorModule }, { kind: "component", type: i2$3.λ22, selector: "sky-form-error", inputs: ["errorName", "errorText"] }] }); }
|
|
5353
5402
|
}
|
|
5354
5403
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ColorpickerHelpKeyExampleComponent, decorators: [{
|
|
5355
5404
|
type: Component,
|
|
5356
|
-
args: [{ selector: 'app-colorpicker-help-key-example', imports: [ReactiveFormsModule, SkyColorpickerModule], template: "<form [formGroup]=\"formGroup\" (ngSubmit)=\"submit()\">\n <sky-colorpicker\n #colorPicker\n data-sky-id=\"favorite-color\"\n labelText=\"What is your favorite color?\"\n helpKey=\"color-help\"\n hintText=\"Pick a color with at least 80% opacity.\"\n [stacked]=\"true\"\n (selectedColorChanged)=\"onSelectedColorChanged($event)\"\n >\n <input\n formControlName=\"favoriteColor\"\n type=\"text\"\n [presetColors]=\"swatches\"\n [skyColorpickerInput]=\"colorPicker\"\n />\n @if (favoriteColor.errors?.['opaque']) {\n <sky-form-error\n errorName=\"opaque\"\n errorText=\"Color must have at least 80% opacity.\"\n />\n }\n </sky-colorpicker>\n\n <button class=\"sky-btn sky-btn-primary\" type=\"submit\">Submit</button>\n</form>\n" }]
|
|
5405
|
+
args: [{ selector: 'app-colorpicker-help-key-example', imports: [ReactiveFormsModule, SkyColorpickerModule, SkyFormErrorModule], template: "<form [formGroup]=\"formGroup\" (ngSubmit)=\"submit()\">\n <sky-colorpicker\n #colorPicker\n data-sky-id=\"favorite-color\"\n labelText=\"What is your favorite color?\"\n helpKey=\"color-help\"\n hintText=\"Pick a color with at least 80% opacity.\"\n [stacked]=\"true\"\n (selectedColorChanged)=\"onSelectedColorChanged($event)\"\n >\n <input\n formControlName=\"favoriteColor\"\n type=\"text\"\n [presetColors]=\"swatches\"\n [skyColorpickerInput]=\"colorPicker\"\n />\n @if (favoriteColor.errors?.['opaque']) {\n <sky-form-error\n errorName=\"opaque\"\n errorText=\"Color must have at least 80% opacity.\"\n />\n }\n </sky-colorpicker>\n\n <button class=\"sky-btn sky-btn-primary\" type=\"submit\">Submit</button>\n</form>\n" }]
|
|
5357
5406
|
}], ctorParameters: () => [] });
|
|
5358
5407
|
|
|
5359
5408
|
function isColorpickerOutput(value) {
|
|
@@ -5394,11 +5443,16 @@ class ColorpickerProgrammaticExampleComponent {
|
|
|
5394
5443
|
this.colorpickerController.next({ type });
|
|
5395
5444
|
}
|
|
5396
5445
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ColorpickerProgrammaticExampleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5397
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: ColorpickerProgrammaticExampleComponent, isStandalone: true, selector: "app-colorpicker-programmatic-example", ngImport: i0, template: "<form class=\"sky-margin-stacked-xxl\" [formGroup]=\"formGroup\">\n <sky-colorpicker\n #colorPicker\n labelText=\"What is your favorite color?\"\n hintText=\"Pick a color with at least 80% opacity.\"\n [messageStream]=\"colorpickerController\"\n [showResetButton]=\"showResetButton\"\n [stacked]=\"true\"\n >\n <input\n formControlName=\"favoriteColor\"\n type=\"text\"\n [skyColorpickerInput]=\"colorPicker\"\n />\n @if (favoriteColor.errors?.['opaque']) {\n <sky-form-error\n errorName=\"opaque\"\n errorText=\"Color must have at least 80% opacity.\"\n />\n }\n </sky-colorpicker>\n</form>\n\n<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openColorpicker()\"\n>\n Open colorpicker\n</button>\n\n<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"resetColorpicker()\"\n>\n Reset colorpicker\n</button>\n\n<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"toggleResetButton()\"\n>\n Toggle reset button\n</button>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: SkyColorpickerModule }, { kind: "component", type: i2$8.λ1, selector: "sky-colorpicker", inputs: ["pickerButtonIcon", "label", "labelledBy", "labelText", "labelHidden", "helpKey", "helpPopoverContent", "helpPopoverTitle", "hintText", "stacked", "messageStream", "showResetButton"], outputs: ["selectedColorChanged", "selectedColorApplied"] }, { kind: "directive", type: i2$8.λ2, selector: "[skyColorpickerInput]", inputs: ["skyColorpickerInput", "initialColor", "id", "returnFormat", "outputFormat", "presetColors", "alphaChannel", "allowTransparency"] }, { kind: "component", type: i2$3.λ22, selector: "sky-form-error", inputs: ["errorName", "errorText"] }] }); }
|
|
5446
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: ColorpickerProgrammaticExampleComponent, isStandalone: true, selector: "app-colorpicker-programmatic-example", ngImport: i0, template: "<form class=\"sky-margin-stacked-xxl\" [formGroup]=\"formGroup\">\n <sky-colorpicker\n #colorPicker\n labelText=\"What is your favorite color?\"\n hintText=\"Pick a color with at least 80% opacity.\"\n [messageStream]=\"colorpickerController\"\n [showResetButton]=\"showResetButton\"\n [stacked]=\"true\"\n >\n <input\n formControlName=\"favoriteColor\"\n type=\"text\"\n [skyColorpickerInput]=\"colorPicker\"\n />\n @if (favoriteColor.errors?.['opaque']) {\n <sky-form-error\n errorName=\"opaque\"\n errorText=\"Color must have at least 80% opacity.\"\n />\n }\n </sky-colorpicker>\n</form>\n\n<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openColorpicker()\"\n>\n Open colorpicker\n</button>\n\n<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"resetColorpicker()\"\n>\n Reset colorpicker\n</button>\n\n<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"toggleResetButton()\"\n>\n Toggle reset button\n</button>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: SkyColorpickerModule }, { kind: "component", type: i2$8.λ1, selector: "sky-colorpicker", inputs: ["pickerButtonIcon", "label", "labelledBy", "labelText", "labelHidden", "helpKey", "helpPopoverContent", "helpPopoverTitle", "hintText", "stacked", "messageStream", "showResetButton"], outputs: ["selectedColorChanged", "selectedColorApplied"] }, { kind: "directive", type: i2$8.λ2, selector: "[skyColorpickerInput]", inputs: ["skyColorpickerInput", "initialColor", "id", "returnFormat", "outputFormat", "presetColors", "alphaChannel", "allowTransparency"] }, { kind: "ngmodule", type: SkyFormErrorModule }, { kind: "component", type: i2$3.λ22, selector: "sky-form-error", inputs: ["errorName", "errorText"] }] }); }
|
|
5398
5447
|
}
|
|
5399
5448
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ColorpickerProgrammaticExampleComponent, decorators: [{
|
|
5400
5449
|
type: Component,
|
|
5401
|
-
args: [{ selector: 'app-colorpicker-programmatic-example', imports: [
|
|
5450
|
+
args: [{ selector: 'app-colorpicker-programmatic-example', imports: [
|
|
5451
|
+
FormsModule,
|
|
5452
|
+
ReactiveFormsModule,
|
|
5453
|
+
SkyColorpickerModule,
|
|
5454
|
+
SkyFormErrorModule,
|
|
5455
|
+
], template: "<form class=\"sky-margin-stacked-xxl\" [formGroup]=\"formGroup\">\n <sky-colorpicker\n #colorPicker\n labelText=\"What is your favorite color?\"\n hintText=\"Pick a color with at least 80% opacity.\"\n [messageStream]=\"colorpickerController\"\n [showResetButton]=\"showResetButton\"\n [stacked]=\"true\"\n >\n <input\n formControlName=\"favoriteColor\"\n type=\"text\"\n [skyColorpickerInput]=\"colorPicker\"\n />\n @if (favoriteColor.errors?.['opaque']) {\n <sky-form-error\n errorName=\"opaque\"\n errorText=\"Color must have at least 80% opacity.\"\n />\n }\n </sky-colorpicker>\n</form>\n\n<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openColorpicker()\"\n>\n Open colorpicker\n</button>\n\n<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"resetColorpicker()\"\n>\n Reset colorpicker\n</button>\n\n<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"toggleResetButton()\"\n>\n Toggle reset button\n</button>\n" }]
|
|
5402
5456
|
}], ctorParameters: () => [] });
|
|
5403
5457
|
|
|
5404
5458
|
/**
|
|
@@ -5439,7 +5493,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
5439
5493
|
type: Component,
|
|
5440
5494
|
args: [{
|
|
5441
5495
|
selector: 'app-child',
|
|
5442
|
-
standalone: true,
|
|
5443
5496
|
template: `<p>Breakpoint for child: {{ breakpoint() }}</p>`,
|
|
5444
5497
|
}]
|
|
5445
5498
|
}] });
|
|
@@ -5456,7 +5509,7 @@ class DemoContainerComponent {
|
|
|
5456
5509
|
}
|
|
5457
5510
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: DemoContainerComponent, decorators: [{
|
|
5458
5511
|
type: Component,
|
|
5459
|
-
args: [{ hostDirectives: [SkyResponsiveHostDirective], selector: 'app-container',
|
|
5512
|
+
args: [{ hostDirectives: [SkyResponsiveHostDirective], selector: 'app-container', template: `
|
|
5460
5513
|
<p>Breakpoint within container: {{ breakpoint() }}</p>
|
|
5461
5514
|
<ng-content />
|
|
5462
5515
|
`, styles: [":host{border:1px solid var(--sky-border-color-neutral-medium-dark);display:block;margin:0 auto;max-width:800px}\n"] }]
|
|
@@ -5608,7 +5661,7 @@ class OrangeModalComponent {
|
|
|
5608
5661
|
this.modalInstance.cancel();
|
|
5609
5662
|
}
|
|
5610
5663
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: OrangeModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
5611
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: OrangeModalComponent, isStandalone: true, selector: "app-orange-modal", ngImport: i0, template: "<sky-modal [headingText]=\"modalLabel\">\n <sky-modal-content>\n <sky-checkbox labelText=\"Hide orange fruits\" [(ngModel)]=\"hideOrange\" />\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary
|
|
5664
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: OrangeModalComponent, isStandalone: true, selector: "app-orange-modal", ngImport: i0, template: "<sky-modal [headingText]=\"modalLabel\">\n <sky-modal-content>\n <sky-checkbox labelText=\"Hide orange fruits\" [(ngModel)]=\"hideOrange\" />\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"applyFilters()\"\n >\n Apply\n </button>\n <button class=\"sky-btn sky-btn-link\" type=\"button\" (click)=\"cancel()\">\n Cancel\n </button>\n </sky-modal-footer>\n</sky-modal>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: SkyCheckboxModule }, { kind: "component", type: i2$3.λ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: "ngmodule", type: SkyModalModule }, { kind: "component", type: i3.λ5, selector: "sky-modal", inputs: ["formErrors", "headingText", "helpKey", "helpPopoverContent", "helpPopoverTitle", "ariaRole", "tiledBody", "ariaDescribedBy", "ariaLabelledBy", "layout"] }, { kind: "component", type: i3.λ2, selector: "sky-modal-content" }, { kind: "component", type: i3.λ3, selector: "sky-modal-footer" }] }); }
|
|
5612
5665
|
}
|
|
5613
5666
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: OrangeModalComponent, decorators: [{
|
|
5614
5667
|
type: Component,
|
|
@@ -5617,7 +5670,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
5617
5670
|
ReactiveFormsModule,
|
|
5618
5671
|
SkyCheckboxModule,
|
|
5619
5672
|
SkyModalModule,
|
|
5620
|
-
], template: "<sky-modal [headingText]=\"modalLabel\">\n <sky-modal-content>\n <sky-checkbox labelText=\"Hide orange fruits\" [(ngModel)]=\"hideOrange\" />\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary
|
|
5673
|
+
], template: "<sky-modal [headingText]=\"modalLabel\">\n <sky-modal-content>\n <sky-checkbox labelText=\"Hide orange fruits\" [(ngModel)]=\"hideOrange\" />\n </sky-modal-content>\n <sky-modal-footer>\n <button\n class=\"sky-btn sky-btn-primary\"\n type=\"button\"\n (click)=\"applyFilters()\"\n >\n Apply\n </button>\n <button class=\"sky-btn sky-btn-link\" type=\"button\" (click)=\"cancel()\">\n Cancel\n </button>\n </sky-modal-footer>\n</sky-modal>\n" }]
|
|
5621
5674
|
}], ctorParameters: () => [] });
|
|
5622
5675
|
|
|
5623
5676
|
ModuleRegistry.registerModules([AllCommunityModule]);
|
|
@@ -5671,7 +5724,6 @@ class ViewGridComponent {
|
|
|
5671
5724
|
name: 'Grid View',
|
|
5672
5725
|
iconName: 'table',
|
|
5673
5726
|
searchEnabled: true,
|
|
5674
|
-
multiselectToolbarEnabled: true,
|
|
5675
5727
|
columnPickerEnabled: true,
|
|
5676
5728
|
columnOptions: [
|
|
5677
5729
|
{
|
|
@@ -6026,6 +6078,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
6026
6078
|
type: Input
|
|
6027
6079
|
}] } });
|
|
6028
6080
|
|
|
6081
|
+
const SOURCE_ID = 'data_manager_example_id';
|
|
6029
6082
|
/**
|
|
6030
6083
|
* @title Data manager with basic setup
|
|
6031
6084
|
*/
|
|
@@ -6037,6 +6090,9 @@ class DataManagerBasicExampleComponent {
|
|
|
6037
6090
|
this.orangeModalComponent = OrangeModalComponent;
|
|
6038
6091
|
this.#dataManagerSvc = inject(SkyDataManagerService);
|
|
6039
6092
|
this.#exampleSvc = inject(ExampleService$3);
|
|
6093
|
+
this.recordCount = toSignal(this.#dataManagerSvc
|
|
6094
|
+
.getDataSummaryUpdates(SOURCE_ID)
|
|
6095
|
+
.pipe(map((summary) => summary.itemsMatching)), { initialValue: 0 });
|
|
6040
6096
|
this.#dataManagerSvc.initDataManager({
|
|
6041
6097
|
activeViewId: 'repeaterView',
|
|
6042
6098
|
dataManagerConfig: {
|
|
@@ -6087,7 +6143,7 @@ class DataManagerBasicExampleComponent {
|
|
|
6087
6143
|
args.result = this.#exampleSvc.search(args.searchText);
|
|
6088
6144
|
}
|
|
6089
6145
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: DataManagerBasicExampleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6090
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: DataManagerBasicExampleComponent, isStandalone: true, selector: "app-data-manager-basic-example", providers: [SkyDataManagerService, SkyUIConfigService], ngImport: i0, template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-filter-bar skyDataManagerFilterController>\n <sky-filter-item-lookup\n filterId=\"fruitType\"\n labelText=\"Fruit type\"\n searchDescriptorProperty=\"name\"\n searchIdProperty=\"id\"\n (searchAsync)=\"onFruitTypeSearchAsync($event)\"\n />\n <sky-filter-item-modal\n filterId=\"hideOrange\"\n labelText=\"Hide orange\"\n modalSize=\"small\"\n [modalComponent]=\"orangeModalComponent\"\n />\n </sky-filter-bar>\n <sky-list-summary>\n <sky-list-summary-item
|
|
6146
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: DataManagerBasicExampleComponent, isStandalone: true, selector: "app-data-manager-basic-example", providers: [SkyDataManagerService, SkyUIConfigService], ngImport: i0, template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-filter-bar skyDataManagerFilterController>\n <sky-filter-item-lookup\n filterId=\"fruitType\"\n labelText=\"Fruit type\"\n searchDescriptorProperty=\"name\"\n searchIdProperty=\"id\"\n (searchAsync)=\"onFruitTypeSearchAsync($event)\"\n />\n <sky-filter-item-modal\n filterId=\"hideOrange\"\n labelText=\"Hide orange\"\n modalSize=\"small\"\n [modalComponent]=\"orangeModalComponent\"\n />\n </sky-filter-bar>\n <sky-list-summary>\n <sky-list-summary-item\n [labelText]=\"recordCount() === 1 ? 'Record' : 'Records'\"\n [value]=\"recordCount()\"\n />\n </sky-list-summary>\n </sky-data-manager-toolbar>\n <app-view-repeater [items]=\"items\" />\n <app-view-grid [items]=\"items\" />\n</sky-data-manager>\n", dependencies: [{ kind: "ngmodule", type: SkyDataManagerModule }, { kind: "component", type: i1$6.λ2, selector: "sky-data-manager", inputs: ["dock"] }, { kind: "directive", type: i1$6.λ9, selector: "[skyDataManagerFilterController]" }, { kind: "component", type: i1$6.λ7, selector: "sky-data-manager-toolbar" }, { kind: "ngmodule", type: SkyFilterBarModule }, { kind: "component", type: i2$4.λ1, selector: "sky-filter-bar", inputs: ["appliedFilters", "selectedFilterIds"], outputs: ["appliedFiltersChange", "selectedFilterIdsChange"] }, { kind: "component", type: i2$4.λ2, selector: "sky-filter-item-modal", inputs: ["filterId", "labelText", "modalComponent", "modalSize"], outputs: ["modalOpened"] }, { kind: "component", type: i2$4.λ3, selector: "sky-filter-item-lookup", inputs: ["filterId", "labelText", "searchDescriptorProperty", "searchIdProperty"], outputs: ["searchAsync"] }, { kind: "ngmodule", type: SkyListSummaryModule }, { kind: "component", type: i2$5.λ16, selector: "sky-list-summary" }, { kind: "component", type: i2$5.λ17, selector: "sky-list-summary-item", inputs: ["value", "labelText", "valueFormat", "helpKey", "helpPopoverContent", "helpPopoverTitle"] }, { kind: "component", type: ViewGridComponent, selector: "app-view-grid", inputs: ["items"] }, { kind: "component", type: ViewRepeaterComponent, selector: "app-view-repeater", inputs: ["items"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
6091
6147
|
}
|
|
6092
6148
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: DataManagerBasicExampleComponent, decorators: [{
|
|
6093
6149
|
type: Component,
|
|
@@ -6097,7 +6153,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
6097
6153
|
SkyListSummaryModule,
|
|
6098
6154
|
ViewGridComponent,
|
|
6099
6155
|
ViewRepeaterComponent,
|
|
6100
|
-
], template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-filter-bar skyDataManagerFilterController>\n <sky-filter-item-lookup\n filterId=\"fruitType\"\n labelText=\"Fruit type\"\n searchDescriptorProperty=\"name\"\n searchIdProperty=\"id\"\n (searchAsync)=\"onFruitTypeSearchAsync($event)\"\n />\n <sky-filter-item-modal\n filterId=\"hideOrange\"\n labelText=\"Hide orange\"\n modalSize=\"small\"\n [modalComponent]=\"orangeModalComponent\"\n />\n </sky-filter-bar>\n <sky-list-summary>\n <sky-list-summary-item
|
|
6156
|
+
], template: "<sky-data-manager>\n <sky-data-manager-toolbar>\n <sky-filter-bar skyDataManagerFilterController>\n <sky-filter-item-lookup\n filterId=\"fruitType\"\n labelText=\"Fruit type\"\n searchDescriptorProperty=\"name\"\n searchIdProperty=\"id\"\n (searchAsync)=\"onFruitTypeSearchAsync($event)\"\n />\n <sky-filter-item-modal\n filterId=\"hideOrange\"\n labelText=\"Hide orange\"\n modalSize=\"small\"\n [modalComponent]=\"orangeModalComponent\"\n />\n </sky-filter-bar>\n <sky-list-summary>\n <sky-list-summary-item\n [labelText]=\"recordCount() === 1 ? 'Record' : 'Records'\"\n [value]=\"recordCount()\"\n />\n </sky-list-summary>\n </sky-data-manager-toolbar>\n <app-view-repeater [items]=\"items\" />\n <app-view-grid [items]=\"items\" />\n</sky-data-manager>\n" }]
|
|
6101
6157
|
}], ctorParameters: () => [] });
|
|
6102
6158
|
|
|
6103
6159
|
/**
|
|
@@ -6488,7 +6544,7 @@ class ErrorsErrorModalExampleComponent {
|
|
|
6488
6544
|
}
|
|
6489
6545
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ErrorsErrorModalExampleComponent, decorators: [{
|
|
6490
6546
|
type: Component,
|
|
6491
|
-
args: [{
|
|
6547
|
+
args: [{ selector: 'app-errors-error-modal-example', template: "<button\n class=\"sky-btn sky-btn-default\"\n type=\"button\"\n (click)=\"openErrorModal()\"\n>\n Open error modal\n</button>\n" }]
|
|
6492
6548
|
}] });
|
|
6493
6549
|
|
|
6494
6550
|
/* cspell: disable */
|
|
@@ -6540,7 +6596,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
6540
6596
|
*/
|
|
6541
6597
|
class FilterBarLookupExampleComponent {
|
|
6542
6598
|
constructor() {
|
|
6543
|
-
this.appliedFilters =
|
|
6599
|
+
this.appliedFilters = signal(undefined, ...(ngDevMode ? [{ debugName: "appliedFilters" }] : []));
|
|
6544
6600
|
this.#svc = inject(ExampleService$2);
|
|
6545
6601
|
}
|
|
6546
6602
|
#svc;
|
|
@@ -6552,7 +6608,7 @@ class FilterBarLookupExampleComponent {
|
|
|
6552
6608
|
args.result = this.#svc.search(args.searchText);
|
|
6553
6609
|
}
|
|
6554
6610
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FilterBarLookupExampleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6555
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6611
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: FilterBarLookupExampleComponent, isStandalone: true, selector: "app-filter-bar-lookup-example", ngImport: i0, template: "<sky-filter-bar [(appliedFilters)]=\"appliedFilters\">\n <sky-filter-item-lookup\n filterId=\"lookup-filter\"\n labelText=\"Lookup filter\"\n searchDescriptorProperty=\"displayValue\"\n searchIdProperty=\"value\"\n (searchAsync)=\"onSearchAsync($event)\"\n />\n</sky-filter-bar>\n", dependencies: [{ kind: "ngmodule", type: SkyFilterBarModule }, { kind: "component", type: i2$4.λ1, selector: "sky-filter-bar", inputs: ["appliedFilters", "selectedFilterIds"], outputs: ["appliedFiltersChange", "selectedFilterIdsChange"] }, { kind: "component", type: i2$4.λ3, selector: "sky-filter-item-lookup", inputs: ["filterId", "labelText", "searchDescriptorProperty", "searchIdProperty"], outputs: ["searchAsync"] }] }); }
|
|
6556
6612
|
}
|
|
6557
6613
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FilterBarLookupExampleComponent, decorators: [{
|
|
6558
6614
|
type: Component,
|
|
@@ -6607,11 +6663,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
6607
6663
|
*/
|
|
6608
6664
|
class FilterBarModalExampleComponent {
|
|
6609
6665
|
constructor() {
|
|
6610
|
-
this.appliedFilters =
|
|
6666
|
+
this.appliedFilters = signal(undefined, ...(ngDevMode ? [{ debugName: "appliedFilters" }] : []));
|
|
6611
6667
|
this.modalComponent = FilterModalComponent$1;
|
|
6612
6668
|
}
|
|
6613
6669
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FilterBarModalExampleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6614
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6670
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: FilterBarModalExampleComponent, isStandalone: true, selector: "app-filter-bar-modal-example", ngImport: i0, template: "<sky-filter-bar [(appliedFilters)]=\"appliedFilters\">\n <sky-filter-item-modal\n filterId=\"modal-filter\"\n labelText=\"Modal filter\"\n modalSize=\"small\"\n [modalComponent]=\"modalComponent\"\n />\n</sky-filter-bar>\n", dependencies: [{ kind: "ngmodule", type: SkyFilterBarModule }, { kind: "component", type: i2$4.λ1, selector: "sky-filter-bar", inputs: ["appliedFilters", "selectedFilterIds"], outputs: ["appliedFiltersChange", "selectedFilterIdsChange"] }, { kind: "component", type: i2$4.λ2, selector: "sky-filter-item-modal", inputs: ["filterId", "labelText", "modalComponent", "modalSize"], outputs: ["modalOpened"] }] }); }
|
|
6615
6671
|
}
|
|
6616
6672
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FilterBarModalExampleComponent, decorators: [{
|
|
6617
6673
|
type: Component,
|
|
@@ -6743,8 +6799,8 @@ const FILTER_SELECTION_VALUES = {
|
|
|
6743
6799
|
*/
|
|
6744
6800
|
class FilterBarSelectableExampleComponent {
|
|
6745
6801
|
constructor() {
|
|
6746
|
-
this.appliedFilters =
|
|
6747
|
-
this.selectedFilterIds =
|
|
6802
|
+
this.appliedFilters = signal(undefined, ...(ngDevMode ? [{ debugName: "appliedFilters" }] : []));
|
|
6803
|
+
this.selectedFilterIds = signal([
|
|
6748
6804
|
'staff-assigned',
|
|
6749
6805
|
'entering-grade',
|
|
6750
6806
|
'current-grade',
|
|
@@ -6761,7 +6817,7 @@ class FilterBarSelectableExampleComponent {
|
|
|
6761
6817
|
args.result = of({ items: results, totalCount: count });
|
|
6762
6818
|
}
|
|
6763
6819
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FilterBarSelectableExampleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
6764
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
6820
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: FilterBarSelectableExampleComponent, isStandalone: true, selector: "app-filter-bar-selectable-example", ngImport: i0, template: "<sky-filter-bar\n [(appliedFilters)]=\"appliedFilters\"\n [(selectedFilterIds)]=\"selectedFilterIds\"\n>\n <sky-filter-item-modal\n filterId=\"application-fee-received\"\n labelText=\"Application fee received\"\n modalSize=\"small\"\n [modalComponent]=\"applicationFeeModal\"\n />\n <sky-filter-item-lookup\n filterId=\"community-connection\"\n labelText=\"Community connection\"\n searchDescriptorProperty=\"displayValue\"\n searchIdProperty=\"value\"\n (searchAsync)=\"onSearchAsync($event)\"\n />\n <sky-filter-item-lookup\n filterId=\"current-grade\"\n labelText=\"Current grade\"\n searchDescriptorProperty=\"displayValue\"\n searchIdProperty=\"value\"\n (searchAsync)=\"onSearchAsync($event)\"\n />\n <sky-filter-item-lookup\n filterId=\"entering-grade\"\n labelText=\"Entering grade\"\n searchDescriptorProperty=\"displayValue\"\n searchIdProperty=\"value\"\n (searchAsync)=\"onSearchAsync($event)\"\n />\n <sky-filter-item-lookup\n filterId=\"role\"\n labelText=\"Role\"\n searchDescriptorProperty=\"displayValue\"\n searchIdProperty=\"value\"\n (searchAsync)=\"onSearchAsync($event)\"\n />\n <sky-filter-item-lookup\n filterId=\"staff-assigned\"\n labelText=\"Staff assigned\"\n searchDescriptorProperty=\"displayValue\"\n searchIdProperty=\"value\"\n (searchAsync)=\"onSearchAsync($event)\"\n />\n</sky-filter-bar>\n", dependencies: [{ kind: "ngmodule", type: SkyFilterBarModule }, { kind: "component", type: i2$4.λ1, selector: "sky-filter-bar", inputs: ["appliedFilters", "selectedFilterIds"], outputs: ["appliedFiltersChange", "selectedFilterIdsChange"] }, { kind: "component", type: i2$4.λ2, selector: "sky-filter-item-modal", inputs: ["filterId", "labelText", "modalComponent", "modalSize"], outputs: ["modalOpened"] }, { kind: "component", type: i2$4.λ3, selector: "sky-filter-item-lookup", inputs: ["filterId", "labelText", "searchDescriptorProperty", "searchIdProperty"], outputs: ["searchAsync"] }] }); }
|
|
6765
6821
|
}
|
|
6766
6822
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FilterBarSelectableExampleComponent, decorators: [{
|
|
6767
6823
|
type: Component,
|
|
@@ -6788,7 +6844,6 @@ let FlyoutComponent$1 = class FlyoutComponent {
|
|
|
6788
6844
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FlyoutComponent$1, decorators: [{
|
|
6789
6845
|
type: Component,
|
|
6790
6846
|
args: [{
|
|
6791
|
-
standalone: true,
|
|
6792
6847
|
selector: 'app-flyout',
|
|
6793
6848
|
template: `
|
|
6794
6849
|
<div class="sky-padding-even-xl">
|
|
@@ -6845,7 +6900,7 @@ class FlyoutBasicExampleComponent {
|
|
|
6845
6900
|
}
|
|
6846
6901
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FlyoutBasicExampleComponent, decorators: [{
|
|
6847
6902
|
type: Component,
|
|
6848
|
-
args: [{
|
|
6903
|
+
args: [{ selector: 'app-flyout-basic-example', template: "<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openSimpleFlyout()\"\n>\n Open flyout\n</button>\n\n<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openFlyoutWithCustomWidth()\"\n>\n Open flyout with custom width\n</button>\n\n<button\n class=\"sky-btn sky-btn-default\"\n type=\"button\"\n (click)=\"closeAndRemoveFlyout()\"\n>\n Close flyout programmatically\n</button>\n" }]
|
|
6849
6904
|
}] });
|
|
6850
6905
|
|
|
6851
6906
|
class FlyoutComponent {
|
|
@@ -6868,7 +6923,6 @@ class FlyoutComponent {
|
|
|
6868
6923
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FlyoutComponent, decorators: [{
|
|
6869
6924
|
type: Component,
|
|
6870
6925
|
args: [{
|
|
6871
|
-
standalone: true,
|
|
6872
6926
|
selector: 'app-flyout',
|
|
6873
6927
|
template: `
|
|
6874
6928
|
<div class="sky-padding-even-xl">
|
|
@@ -6983,7 +7037,7 @@ class FlyoutCustomHeadersExampleComponent {
|
|
|
6983
7037
|
}
|
|
6984
7038
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FlyoutCustomHeadersExampleComponent, decorators: [{
|
|
6985
7039
|
type: Component,
|
|
6986
|
-
args: [{
|
|
7040
|
+
args: [{ selector: 'app-flyout-custom-headers-example', template: "<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openFlyoutWithUrlPermalink()\"\n>\n Open flyout with a URL permalink\n</button>\n\n<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openFlyoutWithRoutePermalink()\"\n>\n Open flyout with an Angular routing permalink\n</button>\n\n<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openFlyoutWithIterators()\"\n>\n Open flyout with iterators\n</button>\n\n<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openFlyoutWithPrimaryAction()\"\n>\n Open flyout with primary action\n</button>\n" }]
|
|
6987
7041
|
}] });
|
|
6988
7042
|
|
|
6989
7043
|
/**
|
|
@@ -7000,7 +7054,7 @@ class FormsCharacterCountExampleComponent {
|
|
|
7000
7054
|
});
|
|
7001
7055
|
}
|
|
7002
7056
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FormsCharacterCountExampleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
7003
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: FormsCharacterCountExampleComponent, isStandalone: true, selector: "app-forms-character-count-example", ngImport: i0, template: "<form [formGroup]=\"formGroup\">\n <sky-input-box stacked=\"true\" labelText=\"Transaction description\">\n <sky-character-counter-indicator\n #descriptionIndicator\n data-sky-id=\"description-indicator\"\n />\n\n <input\n #descriptionInput=\"skyId\"\n class=\"
|
|
7057
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.0", type: FormsCharacterCountExampleComponent, isStandalone: true, selector: "app-forms-character-count-example", ngImport: i0, template: "<form [formGroup]=\"formGroup\">\n <sky-input-box stacked=\"true\" labelText=\"Transaction description\">\n <sky-character-counter-indicator\n #descriptionIndicator\n data-sky-id=\"description-indicator\"\n />\n\n <input\n #descriptionInput=\"skyId\"\n class=\"description-input\"\n formControlName=\"description\"\n skyCharacterCounter\n skyId\n type=\"text\"\n [attr.aria-describedby]=\"characterCountError.id\"\n [skyCharacterCounterIndicator]=\"descriptionIndicator\"\n [skyCharacterCounterLimit]=\"maxDescriptionCharacterCount\"\n />\n\n <span #characterCountError=\"skyId\" class=\"sky-error-indicator\" skyId>\n @if (description.errors?.['skyCharacterCounter']) {\n <sky-status-indicator\n data-sky-id=\"description-status-indicator-over-limit\"\n descriptionType=\"error\"\n indicatorType=\"danger\"\n >\n Limit Transaction description to\n {{ maxDescriptionCharacterCount }} characters.\n </sky-status-indicator>\n }\n </span>\n </sky-input-box>\n</form>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: SkyCharacterCounterModule }, { kind: "directive", type: i2$3.λ2, selector: "[skyCharacterCounter]", inputs: ["skyCharacterCounterIndicator", "skyCharacterCounterLimit"] }, { kind: "component", type: i2$3.λ1, selector: "sky-character-counter-indicator", inputs: ["characterCount", "characterCountLimit"] }, { kind: "ngmodule", type: SkyIdModule }, { kind: "directive", type: i3$1.λ2, selector: "[skyId]", exportAs: ["skyId"] }, { kind: "ngmodule", type: SkyInputBoxModule }, { kind: "component", type: i2$3.λ10, selector: "sky-input-box", inputs: ["hasErrors", "disabled", "labelText", "characterLimit", "stacked", "helpPopoverTitle", "helpPopoverContent", "helpKey", "hintText"] }, { kind: "ngmodule", type: SkyStatusIndicatorModule }, { kind: "component", type: i1.λ10, selector: "sky-status-indicator", inputs: ["indicatorType", "descriptionType", "customDescription", "helpPopoverContent", "helpPopoverTitle", "helpKey"] }] }); }
|
|
7004
7058
|
}
|
|
7005
7059
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: FormsCharacterCountExampleComponent, decorators: [{
|
|
7006
7060
|
type: Component,
|
|
@@ -7011,7 +7065,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
7011
7065
|
SkyIdModule,
|
|
7012
7066
|
SkyInputBoxModule,
|
|
7013
7067
|
SkyStatusIndicatorModule,
|
|
7014
|
-
], template: "<form [formGroup]=\"formGroup\">\n <sky-input-box stacked=\"true\" labelText=\"Transaction description\">\n <sky-character-counter-indicator\n #descriptionIndicator\n data-sky-id=\"description-indicator\"\n />\n\n <input\n #descriptionInput=\"skyId\"\n class=\"
|
|
7068
|
+
], template: "<form [formGroup]=\"formGroup\">\n <sky-input-box stacked=\"true\" labelText=\"Transaction description\">\n <sky-character-counter-indicator\n #descriptionIndicator\n data-sky-id=\"description-indicator\"\n />\n\n <input\n #descriptionInput=\"skyId\"\n class=\"description-input\"\n formControlName=\"description\"\n skyCharacterCounter\n skyId\n type=\"text\"\n [attr.aria-describedby]=\"characterCountError.id\"\n [skyCharacterCounterIndicator]=\"descriptionIndicator\"\n [skyCharacterCounterLimit]=\"maxDescriptionCharacterCount\"\n />\n\n <span #characterCountError=\"skyId\" class=\"sky-error-indicator\" skyId>\n @if (description.errors?.['skyCharacterCounter']) {\n <sky-status-indicator\n data-sky-id=\"description-status-indicator-over-limit\"\n descriptionType=\"error\"\n indicatorType=\"danger\"\n >\n Limit Transaction description to\n {{ maxDescriptionCharacterCount }} characters.\n </sky-status-indicator>\n }\n </span>\n </sky-input-box>\n</form>\n" }]
|
|
7015
7069
|
}], ctorParameters: () => [] });
|
|
7016
7070
|
|
|
7017
7071
|
/**
|
|
@@ -8196,7 +8250,7 @@ class IndicatorsWaitPageExampleComponent {
|
|
|
8196
8250
|
}
|
|
8197
8251
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: IndicatorsWaitPageExampleComponent, decorators: [{
|
|
8198
8252
|
type: Component,
|
|
8199
|
-
args: [{
|
|
8253
|
+
args: [{ selector: 'app-indicators-wait-page-example', template: "<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"togglePageWait(true)\"\n>\n Show page wait\n</button>\n\n<button\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"togglePageWait(false)\"\n>\n Show non-blocking page wait\n</button>\n" }]
|
|
8200
8254
|
}] });
|
|
8201
8255
|
|
|
8202
8256
|
/**
|
|
@@ -10076,7 +10130,7 @@ class LookupAutocompleteAnyValueExampleComponent {
|
|
|
10076
10130
|
// created by calling HttpClient.get(). Assigning that Observable to the result
|
|
10077
10131
|
// allows the autocomplete component to cancel the web request if it does not
|
|
10078
10132
|
// // complete before the user searches again.
|
|
10079
|
-
args.result = this.#svc.search(args.searchText).pipe(map
|
|
10133
|
+
args.result = this.#svc.search(args.searchText).pipe(map((result) => ({
|
|
10080
10134
|
hasMore: result.hasMore,
|
|
10081
10135
|
items: result.colors,
|
|
10082
10136
|
totalCount: result.totalCount,
|
|
@@ -10383,7 +10437,7 @@ class LookupAddItemExampleComponent {
|
|
|
10383
10437
|
// created by calling HttpClient.get(). Assigning that Observable to the result
|
|
10384
10438
|
// allows the lookup component to cancel the web request if it does not complete
|
|
10385
10439
|
// before the user searches again.
|
|
10386
|
-
args.result = this.#svc.search(args.searchText).pipe(map((result) => ({
|
|
10440
|
+
args.result = this.#svc.search(args.searchText).pipe(map$1((result) => ({
|
|
10387
10441
|
hasMore: result.hasMore,
|
|
10388
10442
|
items: result.people,
|
|
10389
10443
|
totalCount: result.totalCount,
|
|
@@ -10628,7 +10682,7 @@ class LookupCustomPickerExampleComponent {
|
|
|
10628
10682
|
// created by calling HttpClient.get(). Assigning that Observable to the result
|
|
10629
10683
|
// allows the lookup component to cancel the web request if it does not complete
|
|
10630
10684
|
// before the user searches again.
|
|
10631
|
-
args.result = this.#svc.search(args.searchText).pipe(map((result) => ({
|
|
10685
|
+
args.result = this.#svc.search(args.searchText).pipe(map$1((result) => ({
|
|
10632
10686
|
hasMore: result.hasMore,
|
|
10633
10687
|
items: result.people,
|
|
10634
10688
|
totalCount: result.totalCount,
|
|
@@ -10757,7 +10811,7 @@ class LookupMultiSelectExampleComponent {
|
|
|
10757
10811
|
// created by calling HttpClient.get(). Assigning that Observable to the result
|
|
10758
10812
|
// allows the lookup component to cancel the web request if it does not complete
|
|
10759
10813
|
// before the user searches again.
|
|
10760
|
-
args.result = this.#svc.search(args.searchText).pipe(map((result) => ({
|
|
10814
|
+
args.result = this.#svc.search(args.searchText).pipe(map$1((result) => ({
|
|
10761
10815
|
hasMore: result.hasMore,
|
|
10762
10816
|
items: result.people,
|
|
10763
10817
|
totalCount: result.totalCount,
|
|
@@ -10944,7 +10998,7 @@ class LookupResultTemplatesExampleComponent {
|
|
|
10944
10998
|
// created by calling HttpClient.get(). Assigning that Observable to the result
|
|
10945
10999
|
// allows the lookup component to cancel the web request if it does not complete
|
|
10946
11000
|
// before the user searches again.
|
|
10947
|
-
args.result = this.#svc.search(args.searchText).pipe(map((result) => ({
|
|
11001
|
+
args.result = this.#svc.search(args.searchText).pipe(map$1((result) => ({
|
|
10948
11002
|
hasMore: result.hasMore,
|
|
10949
11003
|
items: result.people,
|
|
10950
11004
|
totalCount: result.totalCount,
|
|
@@ -11076,7 +11130,7 @@ class LookupSingleSelectExampleComponent {
|
|
|
11076
11130
|
// created by calling HttpClient.get(). Assigning that Observable to the result
|
|
11077
11131
|
// allows the lookup component to cancel the web request if it does not complete
|
|
11078
11132
|
// before the user searches again.
|
|
11079
|
-
args.result = this.#svc.search(args.searchText).pipe(map((result) => ({
|
|
11133
|
+
args.result = this.#svc.search(args.searchText).pipe(map$1((result) => ({
|
|
11080
11134
|
hasMore: result.hasMore,
|
|
11081
11135
|
items: result.people,
|
|
11082
11136
|
totalCount: result.totalCount,
|
|
@@ -11187,11 +11241,11 @@ class AddItemModalComponent {
|
|
|
11187
11241
|
}
|
|
11188
11242
|
}
|
|
11189
11243
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AddItemModalComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11190
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: AddItemModalComponent, isStandalone: true, selector: "app-add-item-modal", ngImport: i0, template: "<form novalidate [formGroup]=\"formGroup\" (ngSubmit)=\"save()\">\n <sky-modal headingText=\"Add Item\">\n <sky-modal-content>\n <sky-input-box labelText=\"Name\">\n <input\n type=\"text\"\n autocapitalize=\"words\"\n autocomplete=\"off\"\n formControlName=\"name\"\n
|
|
11244
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: AddItemModalComponent, isStandalone: true, selector: "app-add-item-modal", ngImport: i0, template: "<form novalidate [formGroup]=\"formGroup\" (ngSubmit)=\"save()\">\n <sky-modal headingText=\"Add Item\">\n <sky-modal-content>\n <sky-input-box labelText=\"Name\">\n <input\n type=\"text\"\n autocapitalize=\"words\"\n autocomplete=\"off\"\n formControlName=\"name\"\n />\n </sky-input-box>\n </sky-modal-content>\n <sky-modal-footer>\n <button class=\"sky-btn sky-btn-primary\" type=\"submit\">Add</button>\n <button class=\"sky-btn sky-btn-link\" type=\"button\" (click)=\"close()\">\n Cancel\n </button>\n </sky-modal-footer>\n </sky-modal>\n</form>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: SkyInputBoxModule }, { kind: "component", type: i2$3.λ10, selector: "sky-input-box", inputs: ["hasErrors", "disabled", "labelText", "characterLimit", "stacked", "helpPopoverTitle", "helpPopoverContent", "helpKey", "hintText"] }, { kind: "directive", type: i2$3.λ20, selector: "input:not([skyId]):not(.sky-form-control),select:not([skyId]):not(.sky-form-control),textarea:not([skyId]):not(.sky-form-control)", inputs: ["autocomplete"] }, { kind: "ngmodule", type: SkyModalModule }, { kind: "component", type: i3.λ5, selector: "sky-modal", inputs: ["formErrors", "headingText", "helpKey", "helpPopoverContent", "helpPopoverTitle", "ariaRole", "tiledBody", "ariaDescribedBy", "ariaLabelledBy", "layout"] }, { kind: "component", type: i3.λ2, selector: "sky-modal-content" }, { kind: "component", type: i3.λ3, selector: "sky-modal-footer" }] }); }
|
|
11191
11245
|
}
|
|
11192
11246
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AddItemModalComponent, decorators: [{
|
|
11193
11247
|
type: Component,
|
|
11194
|
-
args: [{ selector: 'app-add-item-modal', imports: [ReactiveFormsModule, SkyInputBoxModule, SkyModalModule], template: "<form novalidate [formGroup]=\"formGroup\" (ngSubmit)=\"save()\">\n <sky-modal headingText=\"Add Item\">\n <sky-modal-content>\n <sky-input-box labelText=\"Name\">\n <input\n type=\"text\"\n autocapitalize=\"words\"\n autocomplete=\"off\"\n formControlName=\"name\"\n
|
|
11248
|
+
args: [{ selector: 'app-add-item-modal', imports: [ReactiveFormsModule, SkyInputBoxModule, SkyModalModule], template: "<form novalidate [formGroup]=\"formGroup\" (ngSubmit)=\"save()\">\n <sky-modal headingText=\"Add Item\">\n <sky-modal-content>\n <sky-input-box labelText=\"Name\">\n <input\n type=\"text\"\n autocapitalize=\"words\"\n autocomplete=\"off\"\n formControlName=\"name\"\n />\n </sky-input-box>\n </sky-modal-content>\n <sky-modal-footer>\n <button class=\"sky-btn sky-btn-primary\" type=\"submit\">Add</button>\n <button class=\"sky-btn sky-btn-link\" type=\"button\" (click)=\"close()\">\n Cancel\n </button>\n </sky-modal-footer>\n </sky-modal>\n</form>\n" }]
|
|
11195
11249
|
}], ctorParameters: () => [] });
|
|
11196
11250
|
|
|
11197
11251
|
const people$1 = [
|
|
@@ -11258,7 +11312,7 @@ class LookupSelectionModalAddItemExampleComponent {
|
|
|
11258
11312
|
descriptorProperty: 'name',
|
|
11259
11313
|
idProperty: 'id',
|
|
11260
11314
|
selectionDescriptor: 'person',
|
|
11261
|
-
searchAsync: (args) => this.#searchSvc.search(args.searchText).pipe(map((results) => ({
|
|
11315
|
+
searchAsync: (args) => this.#searchSvc.search(args.searchText).pipe(map$1((results) => ({
|
|
11262
11316
|
hasMore: results.hasMore,
|
|
11263
11317
|
items: results.people,
|
|
11264
11318
|
totalCount: results.totalCount,
|
|
@@ -11287,7 +11341,7 @@ class LookupSelectionModalAddItemExampleComponent {
|
|
|
11287
11341
|
}
|
|
11288
11342
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: LookupSelectionModalAddItemExampleComponent, decorators: [{
|
|
11289
11343
|
type: Component,
|
|
11290
|
-
args: [{
|
|
11344
|
+
args: [{ selector: 'app-lookup-selection-modal-add-item-example', template: "<div class=\"sky-margin-stacked-xl\">\n <button\n class=\"sky-btn sky-btn-default selection-modal-example-show-btn\"\n type=\"button\"\n (click)=\"showSelectionModal()\"\n >\n Select a value\n </button>\n</div>\n\n@if (selectedPeople?.length) {\n <div>\n Selected people:\n <ul class=\"selection-modal-example-selected\">\n @for (selectedPerson of selectedPeople; track selectedPerson) {\n <li>\n {{ selectedPerson.name }}\n </li>\n }\n </ul>\n </div>\n}\n" }]
|
|
11291
11345
|
}] });
|
|
11292
11346
|
|
|
11293
11347
|
const people = [
|
|
@@ -11346,7 +11400,7 @@ class LookupSelectionModalBasicExampleComponent {
|
|
|
11346
11400
|
descriptorProperty: 'name',
|
|
11347
11401
|
idProperty: 'id',
|
|
11348
11402
|
selectionDescriptor: 'person',
|
|
11349
|
-
searchAsync: (args) => this.#searchSvc.search(args.searchText).pipe(map((results) => ({
|
|
11403
|
+
searchAsync: (args) => this.#searchSvc.search(args.searchText).pipe(map$1((results) => ({
|
|
11350
11404
|
hasMore: results.hasMore,
|
|
11351
11405
|
items: results.people,
|
|
11352
11406
|
totalCount: results.totalCount,
|
|
@@ -11364,7 +11418,7 @@ class LookupSelectionModalBasicExampleComponent {
|
|
|
11364
11418
|
}
|
|
11365
11419
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: LookupSelectionModalBasicExampleComponent, decorators: [{
|
|
11366
11420
|
type: Component,
|
|
11367
|
-
args: [{
|
|
11421
|
+
args: [{ selector: 'app-lookup-selection-modal-basic-example', template: "<div class=\"sky-margin-stacked-xl\">\n <button\n type=\"button\"\n class=\"sky-btn sky-btn-default selection-modal-example-show-btn\"\n (click)=\"showSelectionModal()\"\n >\n Select a value\n </button>\n</div>\n\n@if (selectedPeople?.length) {\n <div>\n Selected people:\n <ul class=\"selection-modal-example-selected\">\n @for (selectedPerson of selectedPeople; track selectedPerson) {\n <li>\n {{ selectedPerson.name }}\n </li>\n }\n </ul>\n </div>\n}\n" }]
|
|
11368
11422
|
}] });
|
|
11369
11423
|
|
|
11370
11424
|
/**
|
|
@@ -11394,7 +11448,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
11394
11448
|
type: Component,
|
|
11395
11449
|
args: [{
|
|
11396
11450
|
selector: 'app-modals-confirm-basic-with-controller-example',
|
|
11397
|
-
standalone: true,
|
|
11398
11451
|
template: `<button
|
|
11399
11452
|
aria-haspopup="dialog"
|
|
11400
11453
|
class="sky-btn sky-btn-default"
|
|
@@ -11488,7 +11541,7 @@ class ModalsConfirmBasicWithHarnessExampleComponent {
|
|
|
11488
11541
|
}
|
|
11489
11542
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalsConfirmBasicWithHarnessExampleComponent, decorators: [{
|
|
11490
11543
|
type: Component,
|
|
11491
|
-
args: [{ selector: 'app-modals-confirm-basic-with-harness-example',
|
|
11544
|
+
args: [{ selector: 'app-modals-confirm-basic-with-harness-example', template: "<button\n aria-haspopup=\"dialog\"\n class=\"sky-btn sky-btn-default sky-margin-inline-sm ok-confirm-btn\"\n type=\"button\"\n (click)=\"openOKConfirm()\"\n>\n OK confirm\n</button>\n\n<button\n aria-haspopup=\"dialog\"\n class=\"sky-btn sky-btn-default sky-margin-inline-sm two-action-confirm-btn\"\n type=\"button\"\n (click)=\"openTwoActionConfirm()\"\n>\n Confirm with two actions\n</button>\n\n<button\n aria-haspopup=\"dialog\"\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openThreeActionConfirm()\"\n>\n Confirm with three actions\n</button>\n\n<button\n aria-haspopup=\"dialog\"\n class=\"sky-btn sky-btn-default sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openDeleteConfirm()\"\n>\n Confirm with delete button\n</button>\n\n@if (selectedAction) {\n @if (selectedText) {\n <p class=\"displayed-text\">\n You selected the \"{{ selectedText }}\" button, which has an action of \"{{\n selectedAction\n }}.\"\n </p>\n } @else {\n <p class=\"displayed-text\">\n You selected the \"{{ selectedAction }}\" action.\n </p>\n }\n}\n" }]
|
|
11492
11545
|
}] });
|
|
11493
11546
|
|
|
11494
11547
|
/**
|
|
@@ -11656,7 +11709,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
11656
11709
|
type: Component,
|
|
11657
11710
|
args: [{
|
|
11658
11711
|
selector: 'app-modals-modal-basic-with-controller-example',
|
|
11659
|
-
standalone: true,
|
|
11660
11712
|
template: `<button
|
|
11661
11713
|
class="sky-btn sky-btn-default"
|
|
11662
11714
|
type="button"
|
|
@@ -11775,7 +11827,7 @@ class ModalsModalBasicWithHarnessHelpKeyExampleComponent {
|
|
|
11775
11827
|
}
|
|
11776
11828
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalsModalBasicWithHarnessHelpKeyExampleComponent, decorators: [{
|
|
11777
11829
|
type: Component,
|
|
11778
|
-
args: [{
|
|
11830
|
+
args: [{ selector: 'app-modals-modal-basic-with-harness-help-key-example', template: "<button\n class=\"sky-btn sky-btn-default\"\n type=\"button\"\n (click)=\"onOpenModalClick()\"\n>\n Open modal example\n</button>\n@if (exampleValue) {\n <div>The user entered {{ exampleValue }}</div>\n}\n" }]
|
|
11779
11831
|
}] });
|
|
11780
11832
|
|
|
11781
11833
|
let ModalDemoContext$1 = class ModalDemoContext {
|
|
@@ -11886,7 +11938,7 @@ class ModalsModalBasicWithHarnessExampleComponent {
|
|
|
11886
11938
|
}
|
|
11887
11939
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalsModalBasicWithHarnessExampleComponent, decorators: [{
|
|
11888
11940
|
type: Component,
|
|
11889
|
-
args: [{
|
|
11941
|
+
args: [{ selector: 'app-modals-modal-basic-with-harness-example', template: "<button\n class=\"sky-btn sky-btn-default\"\n type=\"button\"\n (click)=\"onOpenModalClick()\"\n>\n Open modal example\n</button>\n@if (exampleValue) {\n <div>The user entered {{ exampleValue }}</div>\n}\n" }]
|
|
11890
11942
|
}] });
|
|
11891
11943
|
|
|
11892
11944
|
class ModalDemoContext {
|
|
@@ -12012,7 +12064,7 @@ class ModalsModalWithErrorExampleComponent {
|
|
|
12012
12064
|
}
|
|
12013
12065
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ModalsModalWithErrorExampleComponent, decorators: [{
|
|
12014
12066
|
type: Component,
|
|
12015
|
-
args: [{
|
|
12067
|
+
args: [{ selector: 'app-modals-modal-with-error-example', template: "<button\n class=\"sky-btn sky-btn-default\"\n type=\"button\"\n (click)=\"onOpenModalClick()\"\n>\n Open modal example\n</button>\n@if (exampleValue) {\n <div>The user entered {{ exampleValue }}</div>\n}\n" }]
|
|
12016
12068
|
}] });
|
|
12017
12069
|
|
|
12018
12070
|
/**
|
|
@@ -12559,6 +12611,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
12559
12611
|
args: [{ selector: 'app-pages-page-home-page-blocks-layout-example', imports: [HomePageContentComponent, SkyIconModule, SkyPageModule], template: "<sky-page layout=\"blocks\">\n <sky-page-header pageTitle=\"Home\">\n <sky-page-header-actions>\n <button type=\"button\" class=\"sky-btn sky-btn-default\">\n <sky-icon iconName=\"add\" /> New\n </button>\n </sky-page-header-actions>\n </sky-page-header>\n <sky-page-content>\n <app-home-page-content />\n </sky-page-content>\n\n <sky-page-links>\n <sky-link-list-recently-accessed [recentLinks]=\"recentLinks\" />\n <sky-link-list headingText=\"Resources\">\n <sky-link-list-item>\n <a href=\"#\">Help</a>\n </sky-link-list-item>\n <sky-link-list-item>\n <a href=\"#\">Support</a>\n </sky-link-list-item>\n <sky-link-list-item>\n <a href=\"#\">Training</a>\n </sky-link-list-item>\n </sky-link-list>\n </sky-page-links>\n</sky-page>\n" }]
|
|
12560
12612
|
}] });
|
|
12561
12613
|
|
|
12614
|
+
/**
|
|
12615
|
+
* Cell renderer for dashboard name links.
|
|
12616
|
+
*/
|
|
12617
|
+
class DashboardLinkCellRendererComponent {
|
|
12618
|
+
constructor() {
|
|
12619
|
+
this.value = '';
|
|
12620
|
+
}
|
|
12621
|
+
agInit(params) {
|
|
12622
|
+
this.value = params.value || '';
|
|
12623
|
+
}
|
|
12624
|
+
refresh(params) {
|
|
12625
|
+
this.value = params.value || '';
|
|
12626
|
+
return true;
|
|
12627
|
+
}
|
|
12628
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: DashboardLinkCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12629
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: DashboardLinkCellRendererComponent, isStandalone: true, selector: "app-dashboard-link-cell-renderer", ngImport: i0, template: `<a
|
|
12630
|
+
href="/"
|
|
12631
|
+
[attr.aria-label]="'View dashboard details for ' + value"
|
|
12632
|
+
>{{ value }}</a
|
|
12633
|
+
>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12634
|
+
}
|
|
12635
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: DashboardLinkCellRendererComponent, decorators: [{
|
|
12636
|
+
type: Component,
|
|
12637
|
+
args: [{
|
|
12638
|
+
selector: 'app-dashboard-link-cell-renderer',
|
|
12639
|
+
template: `<a
|
|
12640
|
+
href="/"
|
|
12641
|
+
[attr.aria-label]="'View dashboard details for ' + value"
|
|
12642
|
+
>{{ value }}</a
|
|
12643
|
+
>`,
|
|
12644
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
12645
|
+
}]
|
|
12646
|
+
}] });
|
|
12647
|
+
|
|
12562
12648
|
class DashboardGridContextMenuComponent {
|
|
12563
12649
|
constructor() {
|
|
12564
12650
|
this.dashboardName = '';
|
|
@@ -12629,9 +12715,7 @@ let ListPageContentComponent$1 = class ListPageContentComponent {
|
|
|
12629
12715
|
field: 'dashboard',
|
|
12630
12716
|
headerName: 'Name',
|
|
12631
12717
|
width: 150,
|
|
12632
|
-
cellRenderer:
|
|
12633
|
-
return `<a href="/">${params.value}</a>`;
|
|
12634
|
-
},
|
|
12718
|
+
cellRenderer: DashboardLinkCellRendererComponent,
|
|
12635
12719
|
},
|
|
12636
12720
|
{
|
|
12637
12721
|
colId: 'name',
|
|
@@ -12722,6 +12806,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
12722
12806
|
args: [{ selector: 'app-contacts-grid-context-menu', imports: [SkyDropdownModule], template: "<sky-dropdown\n buttonType=\"context-menu\"\n [label]=\"'context menu for ' + contactName\"\n>\n <sky-dropdown-menu>\n <sky-dropdown-item>\n <button type=\"button\" [attr.aria-label]=\"'Edit ' + contactName\">\n Edit\n </button>\n </sky-dropdown-item>\n <sky-dropdown-item>\n <button type=\"button\" [attr.aria-label]=\"'Delete ' + contactName\">\n Delete\n </button>\n </sky-dropdown-item>\n </sky-dropdown-menu>\n</sky-dropdown>\n" }]
|
|
12723
12807
|
}] });
|
|
12724
12808
|
|
|
12809
|
+
/**
|
|
12810
|
+
* Cell renderer for contact name links.
|
|
12811
|
+
*/
|
|
12812
|
+
class ContactLinkCellRendererComponent {
|
|
12813
|
+
constructor() {
|
|
12814
|
+
this.value = '';
|
|
12815
|
+
}
|
|
12816
|
+
agInit(params) {
|
|
12817
|
+
this.value = params.value || '';
|
|
12818
|
+
}
|
|
12819
|
+
refresh(params) {
|
|
12820
|
+
this.value = params.value || '';
|
|
12821
|
+
return true;
|
|
12822
|
+
}
|
|
12823
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ContactLinkCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
12824
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: ContactLinkCellRendererComponent, isStandalone: true, selector: "app-contact-link-cell-renderer", ngImport: i0, template: `<a
|
|
12825
|
+
href="/"
|
|
12826
|
+
[attr.aria-label]="'View contact details for ' + value"
|
|
12827
|
+
>{{ value }}</a
|
|
12828
|
+
>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
12829
|
+
}
|
|
12830
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ContactLinkCellRendererComponent, decorators: [{
|
|
12831
|
+
type: Component,
|
|
12832
|
+
args: [{
|
|
12833
|
+
selector: 'app-contact-link-cell-renderer',
|
|
12834
|
+
template: `<a
|
|
12835
|
+
href="/"
|
|
12836
|
+
[attr.aria-label]="'View contact details for ' + value"
|
|
12837
|
+
>{{ value }}</a
|
|
12838
|
+
>`,
|
|
12839
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
12840
|
+
}]
|
|
12841
|
+
}] });
|
|
12842
|
+
|
|
12725
12843
|
ModuleRegistry.registerModules([AllCommunityModule]);
|
|
12726
12844
|
class ListPageContactsGridComponent {
|
|
12727
12845
|
#dataManagerService;
|
|
@@ -12745,9 +12863,7 @@ class ListPageContactsGridComponent {
|
|
|
12745
12863
|
field: 'name',
|
|
12746
12864
|
headerName: 'Name',
|
|
12747
12865
|
width: 150,
|
|
12748
|
-
cellRenderer:
|
|
12749
|
-
return `<a href="/">${params.value}</a>`;
|
|
12750
|
-
},
|
|
12866
|
+
cellRenderer: ContactLinkCellRendererComponent,
|
|
12751
12867
|
},
|
|
12752
12868
|
{
|
|
12753
12869
|
colId: 'organization',
|
|
@@ -13013,6 +13129,40 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
13013
13129
|
args: [{ selector: 'app-pages-page-record-page-blocks-layout-example', imports: [RecordPageContentComponent$1, SkyPageModule], template: "<sky-page layout=\"blocks\" helpKey=\"example-help\">\n <sky-page-header\n pageTitle=\"$500 pledge\"\n [parentLink]=\"{\n label: 'Pledges',\n permalink: {\n route: {\n commands: ['/']\n }\n }\n }\"\n />\n <sky-page-content>\n <app-record-page-content />\n </sky-page-content>\n <sky-page-links>\n <sky-link-list-recently-accessed [recentLinks]=\"recentLinks\" />\n <sky-link-list headingText=\"Related links\">\n <sky-link-list-item>\n <a href=\"#\">Analysis</a>\n </sky-link-list-item>\n <sky-link-list-item>\n <a href=\"#\">Tools</a>\n </sky-link-list-item>\n <sky-link-list-item>\n <button type=\"button\" class=\"sky-btn-link-inline\">Settings</button>\n </sky-link-list-item>\n </sky-link-list>\n </sky-page-links>\n</sky-page>\n" }]
|
|
13014
13130
|
}] });
|
|
13015
13131
|
|
|
13132
|
+
/**
|
|
13133
|
+
* Cell renderer for attachment name links.
|
|
13134
|
+
*/
|
|
13135
|
+
class AttachmentLinkCellRendererComponent {
|
|
13136
|
+
constructor() {
|
|
13137
|
+
this.value = '';
|
|
13138
|
+
}
|
|
13139
|
+
agInit(params) {
|
|
13140
|
+
this.value = params.value || '';
|
|
13141
|
+
}
|
|
13142
|
+
refresh(params) {
|
|
13143
|
+
this.value = params.value || '';
|
|
13144
|
+
return true;
|
|
13145
|
+
}
|
|
13146
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AttachmentLinkCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13147
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: AttachmentLinkCellRendererComponent, isStandalone: true, selector: "app-attachment-link-cell-renderer", ngImport: i0, template: `<a
|
|
13148
|
+
href="/"
|
|
13149
|
+
[attr.aria-label]="'View attachment details for ' + value"
|
|
13150
|
+
>{{ value }}</a
|
|
13151
|
+
>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
13152
|
+
}
|
|
13153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AttachmentLinkCellRendererComponent, decorators: [{
|
|
13154
|
+
type: Component,
|
|
13155
|
+
args: [{
|
|
13156
|
+
selector: 'app-attachment-link-cell-renderer',
|
|
13157
|
+
template: `<a
|
|
13158
|
+
href="/"
|
|
13159
|
+
[attr.aria-label]="'View attachment details for ' + value"
|
|
13160
|
+
>{{ value }}</a
|
|
13161
|
+
>`,
|
|
13162
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
13163
|
+
}]
|
|
13164
|
+
}] });
|
|
13165
|
+
|
|
13016
13166
|
class AttachmentsGridContextMenuComponent {
|
|
13017
13167
|
constructor() {
|
|
13018
13168
|
this.attachmentName = '';
|
|
@@ -13067,9 +13217,7 @@ class RecordPageAttachmentsTabComponent {
|
|
|
13067
13217
|
field: 'name',
|
|
13068
13218
|
headerName: 'Name',
|
|
13069
13219
|
width: 150,
|
|
13070
|
-
cellRenderer:
|
|
13071
|
-
return `<a href="/">${params.value}</a>`;
|
|
13072
|
-
},
|
|
13220
|
+
cellRenderer: AttachmentLinkCellRendererComponent,
|
|
13073
13221
|
},
|
|
13074
13222
|
{
|
|
13075
13223
|
colId: 'description',
|
|
@@ -13732,7 +13880,7 @@ class ProgressIndicatorWizardBasicExampleComponent {
|
|
|
13732
13880
|
}
|
|
13733
13881
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ProgressIndicatorWizardBasicExampleComponent, decorators: [{
|
|
13734
13882
|
type: Component,
|
|
13735
|
-
args: [{
|
|
13883
|
+
args: [{ selector: 'app-progress-indicator-wizard-basic-example', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button class=\"sky-btn sky-btn-default\" type=\"button\" (click)=\"openWizard()\">\n Open wizard\n</button>\n" }]
|
|
13736
13884
|
}] });
|
|
13737
13885
|
|
|
13738
13886
|
/**
|
|
@@ -14104,7 +14252,6 @@ class AddressFormComponent {
|
|
|
14104
14252
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: AddressFormComponent, decorators: [{
|
|
14105
14253
|
type: Component,
|
|
14106
14254
|
args: [{
|
|
14107
|
-
standalone: true,
|
|
14108
14255
|
selector: 'app-address-form',
|
|
14109
14256
|
template: `<div>Address form</div>`,
|
|
14110
14257
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -14174,7 +14321,6 @@ class PhoneFormComponent {
|
|
|
14174
14321
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: PhoneFormComponent, decorators: [{
|
|
14175
14322
|
type: Component,
|
|
14176
14323
|
args: [{
|
|
14177
|
-
standalone: true,
|
|
14178
14324
|
selector: 'app-phone-form',
|
|
14179
14325
|
template: `<div>Phone form</div>`,
|
|
14180
14326
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -14240,7 +14386,7 @@ class TabsSectionedFormModalExampleComponent {
|
|
|
14240
14386
|
}
|
|
14241
14387
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: TabsSectionedFormModalExampleComponent, decorators: [{
|
|
14242
14388
|
type: Component,
|
|
14243
|
-
args: [{
|
|
14389
|
+
args: [{ selector: 'app-tabs-sectioned-form-modal-example', changeDetection: ChangeDetectionStrategy.OnPush, template: "<button class=\"sky-btn sky-btn-default\" type=\"button\" (click)=\"openModal()\">\n Open sectioned form\n</button>\n" }]
|
|
14244
14390
|
}] });
|
|
14245
14391
|
|
|
14246
14392
|
/**
|
|
@@ -14533,7 +14679,7 @@ class TabsWizardBasicExampleComponent {
|
|
|
14533
14679
|
}
|
|
14534
14680
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: TabsWizardBasicExampleComponent, decorators: [{
|
|
14535
14681
|
type: Component,
|
|
14536
|
-
args: [{
|
|
14682
|
+
args: [{ selector: 'app-tabs-wizard-basic-example', template: "<button type=\"button\" class=\"sky-btn sky-btn-default\" (click)=\"openWizard()\">\n Open Wizard\n</button>\n" }]
|
|
14537
14683
|
}] });
|
|
14538
14684
|
|
|
14539
14685
|
function validateText$1(control) {
|
|
@@ -14698,7 +14844,7 @@ class ToastBasicExampleComponent {
|
|
|
14698
14844
|
}
|
|
14699
14845
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ToastBasicExampleComponent, decorators: [{
|
|
14700
14846
|
type: Component,
|
|
14701
|
-
args: [{
|
|
14847
|
+
args: [{ selector: 'app-toast-basic-example', template: "<button\n class=\"sky-btn sky-btn-primary sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openToast()\"\n>\n Open toast\n</button>\n<button class=\"sky-btn sky-btn-default\" type=\"button\" (click)=\"closeAll()\">\n Close all\n</button>\n" }]
|
|
14702
14848
|
}] });
|
|
14703
14849
|
|
|
14704
14850
|
class CustomToastContext {
|
|
@@ -14721,7 +14867,7 @@ class CustomToastComponent {
|
|
|
14721
14867
|
}
|
|
14722
14868
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: CustomToastComponent, decorators: [{
|
|
14723
14869
|
type: Component,
|
|
14724
|
-
args: [{
|
|
14870
|
+
args: [{ selector: 'app-toast-content-example', template: "<div><strong>Custom message:</strong> {{ context.message }}</div>\n" }]
|
|
14725
14871
|
}] });
|
|
14726
14872
|
|
|
14727
14873
|
/**
|
|
@@ -14748,7 +14894,7 @@ class ToastCustomComponentExampleComponent {
|
|
|
14748
14894
|
}
|
|
14749
14895
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ToastCustomComponentExampleComponent, decorators: [{
|
|
14750
14896
|
type: Component,
|
|
14751
|
-
args: [{
|
|
14897
|
+
args: [{ selector: 'app-toast-custom-component-example', template: "<button\n class=\"sky-btn sky-btn-primary sky-margin-inline-sm\"\n type=\"button\"\n (click)=\"openToast()\"\n>\n Open toast\n</button>\n<button class=\"sky-btn sky-btn-default\" type=\"button\" (click)=\"closeAll()\">\n Close all\n</button>\n" }]
|
|
14752
14898
|
}] });
|
|
14753
14899
|
|
|
14754
14900
|
/**
|
|
@@ -14782,7 +14928,7 @@ class ValidationEmailValidationDirectiveExampleComponent {
|
|
|
14782
14928
|
this.exampleModel = {};
|
|
14783
14929
|
}
|
|
14784
14930
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ValidationEmailValidationDirectiveExampleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14785
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: ValidationEmailValidationDirectiveExampleComponent, isStandalone: true, selector: "app-validation-email-validation-directive-example", ngImport: i0, template: "<form novalidate>\n <div>\n <sky-input-box stacked=\"true\" labelText=\"Email address\">\n <input\n
|
|
14931
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.0", type: ValidationEmailValidationDirectiveExampleComponent, isStandalone: true, selector: "app-validation-email-validation-directive-example", ngImport: i0, template: "<form novalidate>\n <div>\n <sky-input-box stacked=\"true\" labelText=\"Email address\">\n <input\n name=\"emailAddress\"\n skyEmailValidation\n type=\"text\"\n [(ngModel)]=\"exampleModel.emailAddress\"\n />\n </sky-input-box>\n </div>\n</form>\n", dependencies: [{ kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1$1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i1$1.NgForm, selector: "form:not([ngNoForm]):not([formGroup]),ng-form,[ngForm]", inputs: ["ngFormOptions"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "ngmodule", type: SkyEmailValidationModule }, { kind: "directive", type: i2$b.λ1, selector: "[skyEmailValidation]" }, { kind: "ngmodule", type: SkyInputBoxModule }, { kind: "component", type: i2$3.λ10, selector: "sky-input-box", inputs: ["hasErrors", "disabled", "labelText", "characterLimit", "stacked", "helpPopoverTitle", "helpPopoverContent", "helpKey", "hintText"] }, { kind: "directive", type: i2$3.λ20, selector: "input:not([skyId]):not(.sky-form-control),select:not([skyId]):not(.sky-form-control),textarea:not([skyId]):not(.sky-form-control)", inputs: ["autocomplete"] }] }); }
|
|
14786
14932
|
}
|
|
14787
14933
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImport: i0, type: ValidationEmailValidationDirectiveExampleComponent, decorators: [{
|
|
14788
14934
|
type: Component,
|
|
@@ -14791,7 +14937,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.0", ngImpor
|
|
|
14791
14937
|
ReactiveFormsModule,
|
|
14792
14938
|
SkyEmailValidationModule,
|
|
14793
14939
|
SkyInputBoxModule,
|
|
14794
|
-
], template: "<form novalidate>\n <div>\n <sky-input-box stacked=\"true\" labelText=\"Email address\">\n <input\n
|
|
14940
|
+
], template: "<form novalidate>\n <div>\n <sky-input-box stacked=\"true\" labelText=\"Email address\">\n <input\n name=\"emailAddress\"\n skyEmailValidation\n type=\"text\"\n [(ngModel)]=\"exampleModel.emailAddress\"\n />\n </sky-input-box>\n </div>\n</form>\n" }]
|
|
14795
14941
|
}] });
|
|
14796
14942
|
|
|
14797
14943
|
/**
|