@skyux/data-manager 9.0.0-alpha.0 → 9.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/documentation.json +4106 -1770
- package/esm2022/index.mjs +7 -16
- package/esm2022/lib/modules/data-manager/data-manager-column-picker/data-manager-column-picker-impl.service.mjs +3 -3
- package/esm2022/lib/modules/data-manager/data-manager-column-picker/data-manager-column-picker.component.mjs +42 -29
- package/esm2022/lib/modules/data-manager/data-manager-column-picker/data-manager-column-picker.service.mjs +3 -3
- package/esm2022/lib/modules/data-manager/data-manager-toolbar/data-manager-toolbar-left-item.component.mjs +6 -5
- package/esm2022/lib/modules/data-manager/data-manager-toolbar/data-manager-toolbar-primary-item.component.mjs +6 -5
- package/esm2022/lib/modules/data-manager/data-manager-toolbar/data-manager-toolbar-right-item.component.mjs +5 -5
- package/esm2022/lib/modules/data-manager/data-manager-toolbar/data-manager-toolbar-section.component.mjs +6 -5
- package/esm2022/lib/modules/data-manager/data-manager-toolbar/data-manager-toolbar.component.mjs +41 -28
- package/esm2022/lib/modules/data-manager/data-manager.component.mjs +29 -27
- package/esm2022/lib/modules/data-manager/data-manager.module.mjs +16 -71
- package/esm2022/lib/modules/data-manager/data-manager.service.mjs +3 -3
- package/esm2022/lib/modules/data-manager/data-view.component.mjs +12 -15
- package/esm2022/lib/modules/shared/sky-data-manager-resources.module.mjs +8 -6
- package/fesm2022/skyux-data-manager.mjs +242 -274
- package/fesm2022/skyux-data-manager.mjs.map +1 -1
- package/index.d.ts +15 -15
- package/lib/modules/data-manager/data-manager-column-picker/data-manager-column-picker.component.d.ts +4 -5
- package/lib/modules/data-manager/data-manager-toolbar/data-manager-toolbar-left-item.component.d.ts +1 -1
- package/lib/modules/data-manager/data-manager-toolbar/data-manager-toolbar-primary-item.component.d.ts +1 -1
- package/lib/modules/data-manager/data-manager-toolbar/data-manager-toolbar-right-item.component.d.ts +1 -1
- package/lib/modules/data-manager/data-manager-toolbar/data-manager-toolbar-section.component.d.ts +1 -1
- package/lib/modules/data-manager/data-manager-toolbar/data-manager-toolbar.component.d.ts +2 -6
- package/lib/modules/data-manager/data-manager.component.d.ts +2 -4
- package/lib/modules/data-manager/data-manager.module.d.ts +4 -15
- package/lib/modules/data-manager/data-view.component.d.ts +2 -4
- package/package.json +13 -13
@@ -1,28 +1,29 @@
|
|
1
|
-
import * as i4 from '@angular/common';
|
2
|
-
import { CommonModule } from '@angular/common';
|
3
1
|
import * as i0 from '@angular/core';
|
4
|
-
import { NgModule, Injectable, Component, ChangeDetectionStrategy, Input } from '@angular/core';
|
5
|
-
import * as
|
6
|
-
import {
|
7
|
-
import * as
|
8
|
-
import { SkyViewkeeperModule } from '@skyux/core';
|
9
|
-
import * as i6 from '@skyux/forms';
|
10
|
-
import { SkyCheckboxModule, SkyRadioModule } from '@skyux/forms';
|
11
|
-
import * as i8 from '@skyux/indicators';
|
2
|
+
import { NgModule, Injectable, inject, ChangeDetectorRef, Component, ChangeDetectionStrategy, Input } from '@angular/core';
|
3
|
+
import * as i1$1 from '@angular/common';
|
4
|
+
import { CommonModule } from '@angular/common';
|
5
|
+
import * as i5 from '@skyux/indicators';
|
12
6
|
import { SkyIconModule, SkyStatusIndicatorModule } from '@skyux/indicators';
|
13
|
-
import * as
|
14
|
-
import {
|
15
|
-
import * as
|
16
|
-
import {
|
17
|
-
import * as i9 from '@skyux/lookup';
|
18
|
-
import { SkySearchModule } from '@skyux/lookup';
|
19
|
-
import * as i3 from '@skyux/modals';
|
20
|
-
import { SkyModalModule } from '@skyux/modals';
|
21
|
-
import * as i11 from '@skyux/i18n';
|
22
|
-
import { getLibStringForLocale, SkyI18nModule, SKY_LIB_RESOURCES_PROVIDERS } from '@skyux/i18n';
|
7
|
+
import * as i4$1 from '@skyux/lists';
|
8
|
+
import { SkyFilterModule, SkySortModule, SkyRepeaterModule } from '@skyux/lists';
|
9
|
+
import * as i3$1 from '@skyux/modals';
|
10
|
+
import { SkyModalService, SkyModalInstance, SkyModalModule } from '@skyux/modals';
|
23
11
|
import { BehaviorSubject, ReplaySubject, Subject } from 'rxjs';
|
24
12
|
import { take, takeUntil, filter, map, distinctUntilChanged } from 'rxjs/operators';
|
13
|
+
import * as i4 from '@skyux/i18n';
|
14
|
+
import { SkyLibResourcesService, getLibStringForLocale, SkyI18nModule, SKY_LIB_RESOURCES_PROVIDERS } from '@skyux/i18n';
|
15
|
+
import * as i2 from '@angular/forms';
|
16
|
+
import { FormsModule } from '@angular/forms';
|
17
|
+
import * as i3 from '@skyux/forms';
|
18
|
+
import { SkyCheckboxModule, SkyRadioModule } from '@skyux/forms';
|
19
|
+
import * as i8 from '@skyux/layout';
|
20
|
+
import { SkyToolbarModule, SkyBackToTopMessageType, SkyBackToTopModule } from '@skyux/layout';
|
21
|
+
import * as i7 from '@skyux/lookup';
|
22
|
+
import { SkySearchModule } from '@skyux/lookup';
|
23
|
+
import * as i1 from '@skyux/core';
|
24
|
+
import { SkyViewkeeperModule } from '@skyux/core';
|
25
25
|
|
26
|
+
/* istanbul ignore file */
|
26
27
|
/**
|
27
28
|
* NOTICE: DO NOT MODIFY THIS FILE!
|
28
29
|
* The contents of this file were automatically generated by
|
@@ -47,6 +48,7 @@ const RESOURCES = {
|
|
47
48
|
},
|
48
49
|
},
|
49
50
|
};
|
51
|
+
SkyLibResourcesService.addResources(RESOURCES);
|
50
52
|
class SkyDataManagerResourcesProvider {
|
51
53
|
getString(localeInfo, name) {
|
52
54
|
return getLibStringForLocale(RESOURCES, localeInfo.locale, name);
|
@@ -56,9 +58,9 @@ class SkyDataManagerResourcesProvider {
|
|
56
58
|
* Import into any component library module that needs to use resource strings.
|
57
59
|
*/
|
58
60
|
class SkyDataManagerResourcesModule {
|
59
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
60
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1
|
61
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1
|
61
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerResourcesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
62
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerResourcesModule, exports: [SkyI18nModule] }); }
|
63
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerResourcesModule, providers: [
|
62
64
|
{
|
63
65
|
provide: SKY_LIB_RESOURCES_PROVIDERS,
|
64
66
|
useClass: SkyDataManagerResourcesProvider,
|
@@ -66,7 +68,7 @@ class SkyDataManagerResourcesModule {
|
|
66
68
|
},
|
67
69
|
], imports: [SkyI18nModule] }); }
|
68
70
|
}
|
69
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
71
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerResourcesModule, decorators: [{
|
70
72
|
type: NgModule,
|
71
73
|
args: [{
|
72
74
|
exports: [SkyI18nModule],
|
@@ -80,6 +82,51 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
80
82
|
}]
|
81
83
|
}] });
|
82
84
|
|
85
|
+
/**
|
86
|
+
* These options specify the sorting strategy applied to columns when `columnPickerEnabled` is enabled.
|
87
|
+
*/
|
88
|
+
var SkyDataManagerColumnPickerSortStrategy;
|
89
|
+
(function (SkyDataManagerColumnPickerSortStrategy) {
|
90
|
+
/**
|
91
|
+
* No sorting is applied to the columns.
|
92
|
+
*/
|
93
|
+
SkyDataManagerColumnPickerSortStrategy["None"] = "none";
|
94
|
+
/**
|
95
|
+
* If `sortEnabled` is set to `true`, then the selected columns are displayed before the unselected columns. Unselected columns are sorted alphabetically.
|
96
|
+
* If `sortEnabled` is set to `false`, then the columns are displayed in the order specified by `columnOptions`.
|
97
|
+
*/
|
98
|
+
SkyDataManagerColumnPickerSortStrategy["SelectedThenAlphabetical"] = "selectedThenAlphabetical";
|
99
|
+
})(SkyDataManagerColumnPickerSortStrategy || (SkyDataManagerColumnPickerSortStrategy = {}));
|
100
|
+
|
101
|
+
class SkyDataManagerColumnPickerContext {
|
102
|
+
constructor(columnOptions, displayedColumnIds, columnPickerSortStrategy = SkyDataManagerColumnPickerSortStrategy.SelectedThenAlphabetical) {
|
103
|
+
this.columnOptions = columnOptions;
|
104
|
+
this.displayedColumnIds = displayedColumnIds;
|
105
|
+
this.columnPickerSortStrategy = columnPickerSortStrategy;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
|
109
|
+
/**
|
110
|
+
* Service that provides the column picker component type so it can be dynamically
|
111
|
+
* created in the toolbar component. This avoids a circular reference between column
|
112
|
+
* picker and toolbar.
|
113
|
+
* https://angular.io/errors/NG3003
|
114
|
+
*/
|
115
|
+
class SkyDataManagerColumnPickerService {
|
116
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerColumnPickerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
117
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerColumnPickerService }); }
|
118
|
+
}
|
119
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerColumnPickerService, decorators: [{
|
120
|
+
type: Injectable
|
121
|
+
}] });
|
122
|
+
|
123
|
+
// TODO: In a future breaking change convert this to an interface
|
124
|
+
/**
|
125
|
+
* Sets the state of the filters.
|
126
|
+
*/
|
127
|
+
class SkyDataManagerFilterModalContext {
|
128
|
+
}
|
129
|
+
|
83
130
|
/**
|
84
131
|
* Provides options for defining how data is displayed, such as which columns appear.
|
85
132
|
*/
|
@@ -461,138 +508,13 @@ class SkyDataManagerService {
|
|
461
508
|
return JSON.stringify(filteredState1) === JSON.stringify(filteredState2);
|
462
509
|
};
|
463
510
|
}
|
464
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
465
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
511
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerService, deps: [{ token: i1.SkyUIConfigService }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
512
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerService }); }
|
466
513
|
}
|
467
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
514
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerService, decorators: [{
|
468
515
|
type: Injectable
|
469
516
|
}], ctorParameters: function () { return [{ type: i1.SkyUIConfigService }]; } });
|
470
517
|
|
471
|
-
/**
|
472
|
-
* These options specify the sorting strategy applied to columns when `columnPickerEnabled` is enabled.
|
473
|
-
*/
|
474
|
-
var SkyDataManagerColumnPickerSortStrategy;
|
475
|
-
(function (SkyDataManagerColumnPickerSortStrategy) {
|
476
|
-
/**
|
477
|
-
* No sorting is applied to the columns.
|
478
|
-
*/
|
479
|
-
SkyDataManagerColumnPickerSortStrategy["None"] = "none";
|
480
|
-
/**
|
481
|
-
* If `sortEnabled` is set to `true`, then the selected columns are displayed before the unselected columns. Unselected columns are sorted alphabetically.
|
482
|
-
* If `sortEnabled` is set to `false`, then the columns are displayed in the order specified by `columnOptions`.
|
483
|
-
*/
|
484
|
-
SkyDataManagerColumnPickerSortStrategy["SelectedThenAlphabetical"] = "selectedThenAlphabetical";
|
485
|
-
})(SkyDataManagerColumnPickerSortStrategy || (SkyDataManagerColumnPickerSortStrategy = {}));
|
486
|
-
|
487
|
-
class SkyDataManagerColumnPickerContext {
|
488
|
-
constructor(columnOptions, displayedColumnIds, columnPickerSortStrategy = SkyDataManagerColumnPickerSortStrategy.SelectedThenAlphabetical) {
|
489
|
-
this.columnOptions = columnOptions;
|
490
|
-
this.displayedColumnIds = displayedColumnIds;
|
491
|
-
this.columnPickerSortStrategy = columnPickerSortStrategy;
|
492
|
-
}
|
493
|
-
}
|
494
|
-
|
495
|
-
const VIEWKEEPER_CLASSES_DEFAULT = ['.sky-data-manager-toolbar'];
|
496
|
-
/**
|
497
|
-
* The top-level data manager component. Provide `SkyDataManagerService` at this level.
|
498
|
-
*/
|
499
|
-
class SkyDataManagerComponent {
|
500
|
-
get currentViewkeeperClasses() {
|
501
|
-
return this.#_currentViewkeeperClasses;
|
502
|
-
}
|
503
|
-
set currentViewkeeperClasses(value) {
|
504
|
-
this.#_currentViewkeeperClasses = [
|
505
|
-
...VIEWKEEPER_CLASSES_DEFAULT,
|
506
|
-
...(value || []),
|
507
|
-
];
|
508
|
-
this.#changeDetection.markForCheck();
|
509
|
-
}
|
510
|
-
get isInitialized() {
|
511
|
-
return this.#_isInitialized;
|
512
|
-
}
|
513
|
-
set isInitialized(value) {
|
514
|
-
this.#_isInitialized = value;
|
515
|
-
this.#changeDetection.markForCheck();
|
516
|
-
}
|
517
|
-
#activeViewId;
|
518
|
-
#allViewkeeperClasses;
|
519
|
-
#ngUnsubscribe;
|
520
|
-
#sourceId;
|
521
|
-
#changeDetection;
|
522
|
-
#dataManagerService;
|
523
|
-
#_isInitialized;
|
524
|
-
#_currentViewkeeperClasses;
|
525
|
-
constructor(changeDetection, dataManagerService) {
|
526
|
-
this.backToTopController = new Subject();
|
527
|
-
this.backToTopOptions = {
|
528
|
-
buttonHidden: true,
|
529
|
-
};
|
530
|
-
this.#allViewkeeperClasses = {};
|
531
|
-
this.#ngUnsubscribe = new Subject();
|
532
|
-
this.#sourceId = 'dataManagerComponent';
|
533
|
-
this.#_isInitialized = false;
|
534
|
-
this.#_currentViewkeeperClasses = VIEWKEEPER_CLASSES_DEFAULT;
|
535
|
-
this.#changeDetection = changeDetection;
|
536
|
-
this.#dataManagerService = dataManagerService;
|
537
|
-
}
|
538
|
-
ngOnInit() {
|
539
|
-
this.#dataManagerService
|
540
|
-
.getDataStateUpdates(this.#sourceId)
|
541
|
-
.pipe(takeUntil(this.#ngUnsubscribe))
|
542
|
-
.subscribe(() => (this.isInitialized = true));
|
543
|
-
this.#dataManagerService.viewkeeperClasses
|
544
|
-
.pipe(takeUntil(this.#ngUnsubscribe))
|
545
|
-
.subscribe((classes) => {
|
546
|
-
this.#allViewkeeperClasses = classes;
|
547
|
-
this.currentViewkeeperClasses = this.#activeViewId
|
548
|
-
? classes[this.#activeViewId]
|
549
|
-
: undefined;
|
550
|
-
});
|
551
|
-
this.#dataManagerService
|
552
|
-
.getActiveViewIdUpdates()
|
553
|
-
.pipe(takeUntil(this.#ngUnsubscribe))
|
554
|
-
.subscribe((activeViewId) => {
|
555
|
-
this.#activeViewId = activeViewId;
|
556
|
-
this.backToTopController.next({
|
557
|
-
type: SkyBackToTopMessageType.BackToTop,
|
558
|
-
});
|
559
|
-
this.currentViewkeeperClasses =
|
560
|
-
this.#allViewkeeperClasses[this.#activeViewId];
|
561
|
-
});
|
562
|
-
}
|
563
|
-
ngOnDestroy() {
|
564
|
-
this.#ngUnsubscribe.next();
|
565
|
-
this.#ngUnsubscribe.complete();
|
566
|
-
}
|
567
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyDataManagerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: SkyDataManagerService }], target: i0.ɵɵFactoryTarget.Component }); }
|
568
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.7", type: SkyDataManagerComponent, selector: "sky-data-manager", ngImport: i0, template: "<div\n *ngIf=\"isInitialized\"\n class=\"sky-data-manager\"\n [skyBackToTop]=\"backToTopOptions\"\n [skyBackToTopMessageStream]=\"backToTopController\"\n [skyViewkeeper]=\"currentViewkeeperClasses\"\n #dataManager\n>\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i10.λ7, selector: "[skyBackToTop]", inputs: ["skyBackToTop", "skyBackToTopMessageStream"] }, { kind: "directive", type: i1.λ3, selector: "[skyViewkeeper]", inputs: ["skyViewkeeper"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
569
|
-
}
|
570
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyDataManagerComponent, decorators: [{
|
571
|
-
type: Component,
|
572
|
-
args: [{ selector: 'sky-data-manager', changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n *ngIf=\"isInitialized\"\n class=\"sky-data-manager\"\n [skyBackToTop]=\"backToTopOptions\"\n [skyBackToTopMessageStream]=\"backToTopController\"\n [skyViewkeeper]=\"currentViewkeeperClasses\"\n #dataManager\n>\n <ng-content></ng-content>\n</div>\n" }]
|
573
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: SkyDataManagerService }]; } });
|
574
|
-
|
575
|
-
// TODO: In a future breaking change convert this to an interface
|
576
|
-
/**
|
577
|
-
* Sets the state of the filters.
|
578
|
-
*/
|
579
|
-
class SkyDataManagerFilterModalContext {
|
580
|
-
}
|
581
|
-
|
582
|
-
/**
|
583
|
-
* Service that provides the column picker component type so it can be dynamically
|
584
|
-
* created in the toolbar component. This avoids a circular reference between column
|
585
|
-
* picker and toolbar.
|
586
|
-
* https://angular.io/errors/NG3003
|
587
|
-
*/
|
588
|
-
class SkyDataManagerColumnPickerService {
|
589
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyDataManagerColumnPickerService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
590
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyDataManagerColumnPickerService }); }
|
591
|
-
}
|
592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImport: i0, type: SkyDataManagerColumnPickerService, decorators: [{
|
593
|
-
type: Injectable
|
594
|
-
}] });
|
595
|
-
|
596
518
|
/**
|
597
519
|
* Renders a `sky-toolbar` with the contents specified by the active view's `SkyDataViewConfig`
|
598
520
|
* and the `SkyDataManagerToolbarLeftItemsComponent`, `SkyDataManagerToolbarRightItemsComponent`,
|
@@ -630,22 +552,16 @@ class SkyDataManagerToolbarComponent {
|
|
630
552
|
this.#changeDetector.markForCheck();
|
631
553
|
}
|
632
554
|
#ngUnsubscribe = new Subject();
|
633
|
-
#changeDetector;
|
634
|
-
#dataManagerService;
|
635
|
-
#modalService;
|
636
|
-
#columnPickerService;
|
637
555
|
// the source to provide for data state changes
|
638
556
|
#_source = 'toolbar';
|
639
557
|
#_activeView;
|
640
558
|
#_dataManagerConfig;
|
641
559
|
#_dataState;
|
642
560
|
#_views = [];
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
this.#columnPickerService = columnPickerService;
|
648
|
-
}
|
561
|
+
#changeDetector = inject(ChangeDetectorRef);
|
562
|
+
#columnPickerService = inject(SkyDataManagerColumnPickerService);
|
563
|
+
#dataManagerService = inject(SkyDataManagerService);
|
564
|
+
#modalService = inject(SkyModalService);
|
649
565
|
ngOnInit() {
|
650
566
|
this.#dataManagerService
|
651
567
|
.getActiveViewIdUpdates()
|
@@ -766,13 +682,104 @@ class SkyDataManagerToolbarComponent {
|
|
766
682
|
this.#dataManagerService.updateDataState(this.dataState, this.#_source);
|
767
683
|
}
|
768
684
|
}
|
769
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
770
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1
|
685
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerToolbarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
686
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: SkyDataManagerToolbarComponent, isStandalone: true, selector: "sky-data-manager-toolbar", ngImport: i0, template: "<div class=\"sky-data-manager-toolbar\">\n <sky-toolbar>\n <sky-toolbar-section>\n <ng-content select=\"sky-data-manager-toolbar-primary-item\"></ng-content>\n\n <sky-toolbar-item *ngIf=\"activeView?.filterButtonEnabled\">\n <sky-filter-button\n [showButtonText]=\"activeView?.showFilterButtonText\"\n (filterButtonClick)=\"filterButtonClicked()\"\n >\n </sky-filter-button>\n </sky-toolbar-item>\n\n <sky-toolbar-item *ngIf=\"activeView?.sortEnabled\">\n <sky-sort [showButtonText]=\"activeView?.showSortButtonText\">\n <sky-sort-item\n *ngFor=\"let item of dataManagerConfig?.sortOptions\"\n [active]=\"!!(dataState?.activeSortOption?.id === item.id)\"\n (itemSelect)=\"sortSelected(item)\"\n >\n {{ item.label }}\n </sky-sort-item>\n </sky-sort>\n </sky-toolbar-item>\n\n <sky-toolbar-item *ngIf=\"activeView?.columnPickerEnabled\">\n <button\n class=\"sky-btn sky-btn-default sky-col-picker-btn\"\n type=\"button\"\n [attr.aria-label]=\"\n 'skyux_data_manager_columns_button_title' | skyLibResources\n \"\n [attr.title]=\"\n 'skyux_data_manager_columns_button_title' | skyLibResources\n \"\n (click)=\"openColumnPicker()\"\n >\n <sky-icon icon=\"columns\"></sky-icon>\n <span class=\"sky-column-selector-action-btn-text\">\n {{ 'skyux_data_manager_columns_button_title' | skyLibResources }}\n </span>\n </button>\n </sky-toolbar-item>\n\n <ng-content select=\"sky-data-manager-toolbar-left-item\"></ng-content>\n\n <sky-toolbar-item *ngIf=\"activeView?.searchEnabled\">\n <sky-search\n [expandMode]=\"activeView?.searchExpandMode\"\n [placeholderText]=\"activeView?.searchPlaceholderText\"\n [searchText]=\"dataState?.searchText\"\n (searchApply)=\"searchApplied($event)\"\n >\n </sky-search>\n </sky-toolbar-item>\n\n <sky-toolbar-view-actions>\n <ng-content select=\"sky-data-manager-toolbar-right-item\"></ng-content>\n <sky-radio-group\n *ngIf=\"activeView && views && views.length > 1\"\n [ariaLabel]=\"'data view switcher'\"\n [(ngModel)]=\"activeView.id\"\n class=\"sky-switch-icon-group\"\n >\n <sky-radio\n *ngFor=\"let view of views\"\n [attr.aria-label]=\"view.name\"\n [icon]=\"view.icon\"\n [value]=\"view.id\"\n [label]=\"view.name\"\n (change)=\"onViewChange(view.id)\"\n >\n </sky-radio>\n </sky-radio-group>\n </sky-toolbar-view-actions>\n </sky-toolbar-section>\n <ng-content select=\"sky-data-manager-toolbar-section\"></ng-content>\n </sky-toolbar>\n\n <sky-toolbar\n *ngIf=\"activeView?.multiselectToolbarEnabled\"\n class=\"sky-data-manager-multiselect-toolbar\"\n >\n <sky-toolbar-section>\n <sky-toolbar-item>\n <button\n class=\"sky-btn sky-btn-link sky-data-manager-select-all-btn\"\n type=\"button\"\n (click)=\"selectAll()\"\n >\n {{ 'skyux_data_manager_select_all_button_title' | skyLibResources }}\n </button>\n </sky-toolbar-item>\n <sky-toolbar-item>\n <button\n class=\"sky-btn sky-btn-link sky-data-manager-clear-all-btn\"\n type=\"button\"\n (click)=\"clearAll()\"\n >\n {{ 'skyux_data_manager_clear_all_button_title' | skyLibResources }}\n </button>\n </sky-toolbar-item>\n <sky-toolbar-view-actions>\n <sky-checkbox\n [checked]=\"onlyShowSelected\"\n (change)=\"onOnlyShowSelected($event)\"\n >\n <sky-checkbox-label>\n {{\n 'skyux_data_manager_show_selected_option_title' | skyLibResources\n }}\n </sky-checkbox-label>\n </sky-checkbox>\n </sky-toolbar-view-actions>\n </sky-toolbar-section>\n </sky-toolbar>\n</div>\n", styles: [":host .sky-col-picker-btn .sky-column-selector-action-btn-text{display:none}:host-context(.sky-responsive-container-xs) .sky-col-picker-btn .sky-column-selector-action-btn-text,:host-context(.sky-responsive-container-sm) .sky-col-picker-btn .sky-column-selector-action-btn-text,:host-context(.sky-responsive-container-md) .sky-col-picker-btn .sky-column-selector-action-btn-text,:host-context(.sky-responsive-container-lg) .sky-col-picker-btn .sky-column-selector-action-btn-text{display:none}@media (min-width: 768px){:host .sky-col-picker-btn .sky-column-selector-action-btn-text{display:inline}}:host-context(.sky-responsive-container-sm) .sky-col-picker-btn .sky-column-selector-action-btn-text,:host-context(.sky-responsive-container-md) .sky-col-picker-btn .sky-column-selector-action-btn-text,:host-context(.sky-responsive-container-lg) .sky-col-picker-btn .sky-column-selector-action-btn-text{display:inline}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "ngmodule", type: SkyCheckboxModule }, { kind: "component", type: i3.λ3, selector: "sky-checkbox", inputs: ["label", "labelledBy", "id", "disabled", "tabindex", "name", "icon", "checkboxType", "checked", "indeterminate", "required"], outputs: ["change", "checkedChange", "disabledChange", "indeterminateChange"] }, { kind: "component", type: i3.λ4, selector: "sky-checkbox-label" }, { kind: "ngmodule", type: SkyDataManagerResourcesModule }, { kind: "pipe", type: i4.SkyLibResourcesPipe, name: "skyLibResources" }, { kind: "ngmodule", type: SkyIconModule }, { kind: "component", type: i5.λ4, selector: "sky-icon", inputs: ["icon", "iconType", "size", "fixedWidth", "variant"] }, { kind: "ngmodule", type: SkyFilterModule }, { kind: "component", type: i4$1.λ1, selector: "sky-filter-button", inputs: ["filterButtonId", "ariaControls", "ariaExpanded", "active", "disabled", "showButtonText"], outputs: ["filterButtonClick"] }, { kind: "ngmodule", type: SkyRadioModule }, { kind: "component", type: i3.λ13, selector: "sky-radio", inputs: ["checked", "disabled", "id", "label", "labelledBy", "name", "tabindex", "value", "icon", "radioType"], outputs: ["change", "checkedChange", "disabledChange"] }, { kind: "component", type: i3.λ11, selector: "sky-radio-group", inputs: ["ariaLabelledBy", "ariaLabel", "disabled", "name", "required", "value", "tabIndex"] }, { kind: "ngmodule", type: SkySearchModule }, { kind: "component", type: i7.SkySearchComponent, selector: "sky-search", inputs: ["ariaLabel", "ariaLabelledBy", "searchText", "expandMode", "debounceTime", "disabled", "placeholderText"], outputs: ["searchApply", "searchChange", "searchClear"] }, { kind: "ngmodule", type: SkySortModule }, { kind: "component", type: i4$1.λ14, selector: "sky-sort", inputs: ["showButtonText"] }, { kind: "component", type: i4$1.λ13, selector: "sky-sort-item", inputs: ["active"], outputs: ["itemSelect"] }, { kind: "ngmodule", type: SkyToolbarModule }, { kind: "component", type: i8.λ37, selector: "sky-toolbar" }, { kind: "component", type: i8.λ39, selector: "sky-toolbar-item" }, { kind: "component", type: i8.λ38, selector: "sky-toolbar-section" }, { kind: "component", type: i8.λ40, selector: "sky-toolbar-view-actions" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
771
687
|
}
|
772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerToolbarComponent, decorators: [{
|
773
689
|
type: Component,
|
774
|
-
args: [{ selector: 'sky-data-manager-toolbar', changeDetection: ChangeDetectionStrategy.OnPush,
|
775
|
-
|
690
|
+
args: [{ standalone: true, selector: 'sky-data-manager-toolbar', changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
691
|
+
CommonModule,
|
692
|
+
FormsModule,
|
693
|
+
SkyCheckboxModule,
|
694
|
+
SkyDataManagerResourcesModule,
|
695
|
+
SkyIconModule,
|
696
|
+
SkyFilterModule,
|
697
|
+
SkyRadioModule,
|
698
|
+
SkySearchModule,
|
699
|
+
SkySortModule,
|
700
|
+
SkyToolbarModule,
|
701
|
+
], template: "<div class=\"sky-data-manager-toolbar\">\n <sky-toolbar>\n <sky-toolbar-section>\n <ng-content select=\"sky-data-manager-toolbar-primary-item\"></ng-content>\n\n <sky-toolbar-item *ngIf=\"activeView?.filterButtonEnabled\">\n <sky-filter-button\n [showButtonText]=\"activeView?.showFilterButtonText\"\n (filterButtonClick)=\"filterButtonClicked()\"\n >\n </sky-filter-button>\n </sky-toolbar-item>\n\n <sky-toolbar-item *ngIf=\"activeView?.sortEnabled\">\n <sky-sort [showButtonText]=\"activeView?.showSortButtonText\">\n <sky-sort-item\n *ngFor=\"let item of dataManagerConfig?.sortOptions\"\n [active]=\"!!(dataState?.activeSortOption?.id === item.id)\"\n (itemSelect)=\"sortSelected(item)\"\n >\n {{ item.label }}\n </sky-sort-item>\n </sky-sort>\n </sky-toolbar-item>\n\n <sky-toolbar-item *ngIf=\"activeView?.columnPickerEnabled\">\n <button\n class=\"sky-btn sky-btn-default sky-col-picker-btn\"\n type=\"button\"\n [attr.aria-label]=\"\n 'skyux_data_manager_columns_button_title' | skyLibResources\n \"\n [attr.title]=\"\n 'skyux_data_manager_columns_button_title' | skyLibResources\n \"\n (click)=\"openColumnPicker()\"\n >\n <sky-icon icon=\"columns\"></sky-icon>\n <span class=\"sky-column-selector-action-btn-text\">\n {{ 'skyux_data_manager_columns_button_title' | skyLibResources }}\n </span>\n </button>\n </sky-toolbar-item>\n\n <ng-content select=\"sky-data-manager-toolbar-left-item\"></ng-content>\n\n <sky-toolbar-item *ngIf=\"activeView?.searchEnabled\">\n <sky-search\n [expandMode]=\"activeView?.searchExpandMode\"\n [placeholderText]=\"activeView?.searchPlaceholderText\"\n [searchText]=\"dataState?.searchText\"\n (searchApply)=\"searchApplied($event)\"\n >\n </sky-search>\n </sky-toolbar-item>\n\n <sky-toolbar-view-actions>\n <ng-content select=\"sky-data-manager-toolbar-right-item\"></ng-content>\n <sky-radio-group\n *ngIf=\"activeView && views && views.length > 1\"\n [ariaLabel]=\"'data view switcher'\"\n [(ngModel)]=\"activeView.id\"\n class=\"sky-switch-icon-group\"\n >\n <sky-radio\n *ngFor=\"let view of views\"\n [attr.aria-label]=\"view.name\"\n [icon]=\"view.icon\"\n [value]=\"view.id\"\n [label]=\"view.name\"\n (change)=\"onViewChange(view.id)\"\n >\n </sky-radio>\n </sky-radio-group>\n </sky-toolbar-view-actions>\n </sky-toolbar-section>\n <ng-content select=\"sky-data-manager-toolbar-section\"></ng-content>\n </sky-toolbar>\n\n <sky-toolbar\n *ngIf=\"activeView?.multiselectToolbarEnabled\"\n class=\"sky-data-manager-multiselect-toolbar\"\n >\n <sky-toolbar-section>\n <sky-toolbar-item>\n <button\n class=\"sky-btn sky-btn-link sky-data-manager-select-all-btn\"\n type=\"button\"\n (click)=\"selectAll()\"\n >\n {{ 'skyux_data_manager_select_all_button_title' | skyLibResources }}\n </button>\n </sky-toolbar-item>\n <sky-toolbar-item>\n <button\n class=\"sky-btn sky-btn-link sky-data-manager-clear-all-btn\"\n type=\"button\"\n (click)=\"clearAll()\"\n >\n {{ 'skyux_data_manager_clear_all_button_title' | skyLibResources }}\n </button>\n </sky-toolbar-item>\n <sky-toolbar-view-actions>\n <sky-checkbox\n [checked]=\"onlyShowSelected\"\n (change)=\"onOnlyShowSelected($event)\"\n >\n <sky-checkbox-label>\n {{\n 'skyux_data_manager_show_selected_option_title' | skyLibResources\n }}\n </sky-checkbox-label>\n </sky-checkbox>\n </sky-toolbar-view-actions>\n </sky-toolbar-section>\n </sky-toolbar>\n</div>\n", styles: [":host .sky-col-picker-btn .sky-column-selector-action-btn-text{display:none}:host-context(.sky-responsive-container-xs) .sky-col-picker-btn .sky-column-selector-action-btn-text,:host-context(.sky-responsive-container-sm) .sky-col-picker-btn .sky-column-selector-action-btn-text,:host-context(.sky-responsive-container-md) .sky-col-picker-btn .sky-column-selector-action-btn-text,:host-context(.sky-responsive-container-lg) .sky-col-picker-btn .sky-column-selector-action-btn-text{display:none}@media (min-width: 768px){:host .sky-col-picker-btn .sky-column-selector-action-btn-text{display:inline}}:host-context(.sky-responsive-container-sm) .sky-col-picker-btn .sky-column-selector-action-btn-text,:host-context(.sky-responsive-container-md) .sky-col-picker-btn .sky-column-selector-action-btn-text,:host-context(.sky-responsive-container-lg) .sky-col-picker-btn .sky-column-selector-action-btn-text{display:inline}\n"] }]
|
702
|
+
}] });
|
703
|
+
|
704
|
+
const VIEWKEEPER_CLASSES_DEFAULT = ['.sky-data-manager-toolbar'];
|
705
|
+
/**
|
706
|
+
* The top-level data manager component. Provide `SkyDataManagerService` at this level.
|
707
|
+
*/
|
708
|
+
class SkyDataManagerComponent {
|
709
|
+
constructor() {
|
710
|
+
this.backToTopController = new Subject();
|
711
|
+
this.backToTopOptions = {
|
712
|
+
buttonHidden: true,
|
713
|
+
};
|
714
|
+
this.#allViewkeeperClasses = {};
|
715
|
+
this.#ngUnsubscribe = new Subject();
|
716
|
+
this.#sourceId = 'dataManagerComponent';
|
717
|
+
this.#_isInitialized = false;
|
718
|
+
this.#_currentViewkeeperClasses = VIEWKEEPER_CLASSES_DEFAULT;
|
719
|
+
this.#changeDetection = inject(ChangeDetectorRef);
|
720
|
+
this.#dataManagerService = inject(SkyDataManagerService);
|
721
|
+
}
|
722
|
+
get currentViewkeeperClasses() {
|
723
|
+
return this.#_currentViewkeeperClasses;
|
724
|
+
}
|
725
|
+
set currentViewkeeperClasses(value) {
|
726
|
+
this.#_currentViewkeeperClasses = [
|
727
|
+
...VIEWKEEPER_CLASSES_DEFAULT,
|
728
|
+
...(value || []),
|
729
|
+
];
|
730
|
+
this.#changeDetection.markForCheck();
|
731
|
+
}
|
732
|
+
get isInitialized() {
|
733
|
+
return this.#_isInitialized;
|
734
|
+
}
|
735
|
+
set isInitialized(value) {
|
736
|
+
this.#_isInitialized = value;
|
737
|
+
this.#changeDetection.markForCheck();
|
738
|
+
}
|
739
|
+
#activeViewId;
|
740
|
+
#allViewkeeperClasses;
|
741
|
+
#ngUnsubscribe;
|
742
|
+
#sourceId;
|
743
|
+
#_isInitialized;
|
744
|
+
#_currentViewkeeperClasses;
|
745
|
+
#changeDetection;
|
746
|
+
#dataManagerService;
|
747
|
+
ngOnInit() {
|
748
|
+
this.#dataManagerService
|
749
|
+
.getDataStateUpdates(this.#sourceId)
|
750
|
+
.pipe(takeUntil(this.#ngUnsubscribe))
|
751
|
+
.subscribe(() => (this.isInitialized = true));
|
752
|
+
this.#dataManagerService.viewkeeperClasses
|
753
|
+
.pipe(takeUntil(this.#ngUnsubscribe))
|
754
|
+
.subscribe((classes) => {
|
755
|
+
this.#allViewkeeperClasses = classes;
|
756
|
+
this.currentViewkeeperClasses = this.#activeViewId
|
757
|
+
? classes[this.#activeViewId]
|
758
|
+
: undefined;
|
759
|
+
});
|
760
|
+
this.#dataManagerService
|
761
|
+
.getActiveViewIdUpdates()
|
762
|
+
.pipe(takeUntil(this.#ngUnsubscribe))
|
763
|
+
.subscribe((activeViewId) => {
|
764
|
+
this.#activeViewId = activeViewId;
|
765
|
+
this.backToTopController.next({
|
766
|
+
type: SkyBackToTopMessageType.BackToTop,
|
767
|
+
});
|
768
|
+
this.currentViewkeeperClasses =
|
769
|
+
this.#allViewkeeperClasses[this.#activeViewId];
|
770
|
+
});
|
771
|
+
}
|
772
|
+
ngOnDestroy() {
|
773
|
+
this.#ngUnsubscribe.next();
|
774
|
+
this.#ngUnsubscribe.complete();
|
775
|
+
}
|
776
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
777
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: SkyDataManagerComponent, isStandalone: true, selector: "sky-data-manager", ngImport: i0, template: "<div\n *ngIf=\"isInitialized\"\n class=\"sky-data-manager\"\n [skyBackToTop]=\"backToTopOptions\"\n [skyBackToTopMessageStream]=\"backToTopController\"\n [skyViewkeeper]=\"currentViewkeeperClasses\"\n #dataManager\n>\n <ng-content></ng-content>\n</div>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: SkyBackToTopModule }, { kind: "directive", type: i8.λ7, selector: "[skyBackToTop]", inputs: ["skyBackToTop", "skyBackToTopMessageStream"] }, { kind: "ngmodule", type: SkyViewkeeperModule }, { kind: "directive", type: i1.λ3, selector: "[skyViewkeeper]", inputs: ["skyViewkeeper"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
778
|
+
}
|
779
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerComponent, decorators: [{
|
780
|
+
type: Component,
|
781
|
+
args: [{ standalone: true, selector: 'sky-data-manager', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule, SkyBackToTopModule, SkyViewkeeperModule], template: "<div\n *ngIf=\"isInitialized\"\n class=\"sky-data-manager\"\n [skyBackToTop]=\"backToTopOptions\"\n [skyBackToTopMessageStream]=\"backToTopController\"\n [skyViewkeeper]=\"currentViewkeeperClasses\"\n #dataManager\n>\n <ng-content></ng-content>\n</div>\n" }]
|
782
|
+
}] });
|
776
783
|
|
777
784
|
/**
|
778
785
|
* A data view is rendered within a data manager component.
|
@@ -789,12 +796,8 @@ class SkyDataViewComponent {
|
|
789
796
|
}
|
790
797
|
#_isActive = false;
|
791
798
|
#ngUnsubscribe = new Subject();
|
792
|
-
#dataManagerService;
|
793
|
-
#changeDetector;
|
794
|
-
constructor(dataManagerService, changeDetector) {
|
795
|
-
this.#dataManagerService = dataManagerService;
|
796
|
-
this.#changeDetector = changeDetector;
|
797
|
-
}
|
799
|
+
#dataManagerService = inject(SkyDataManagerService);
|
800
|
+
#changeDetector = inject(ChangeDetectorRef);
|
798
801
|
ngOnInit() {
|
799
802
|
this.#dataManagerService
|
800
803
|
.getActiveViewIdUpdates()
|
@@ -807,13 +810,13 @@ class SkyDataViewComponent {
|
|
807
810
|
this.#ngUnsubscribe.next();
|
808
811
|
this.#ngUnsubscribe.complete();
|
809
812
|
}
|
810
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
811
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1
|
813
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
814
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: SkyDataViewComponent, isStandalone: true, selector: "sky-data-view", inputs: { viewId: "viewId" }, ngImport: i0, template: "<ng-container *ngIf=\"isActive\">\n <ng-content></ng-content>\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
812
815
|
}
|
813
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataViewComponent, decorators: [{
|
814
817
|
type: Component,
|
815
|
-
args: [{ selector: 'sky-data-view', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"isActive\">\n <ng-content></ng-content>\n</ng-container>\n" }]
|
816
|
-
}],
|
818
|
+
args: [{ standalone: true, selector: 'sky-data-view', changeDetection: ChangeDetectionStrategy.OnPush, imports: [CommonModule], template: "<ng-container *ngIf=\"isActive\">\n <ng-content></ng-content>\n</ng-container>\n" }]
|
819
|
+
}], propDecorators: { viewId: [{
|
817
820
|
type: Input
|
818
821
|
}] } });
|
819
822
|
|
@@ -821,19 +824,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
821
824
|
* @internal
|
822
825
|
*/
|
823
826
|
class SkyDataManagerColumnPickerComponent {
|
824
|
-
|
825
|
-
return this.#_dataState;
|
826
|
-
}
|
827
|
-
set dataState(value) {
|
828
|
-
this.#_dataState = value;
|
829
|
-
this.updateData();
|
830
|
-
}
|
831
|
-
#ngUnsubscribe;
|
832
|
-
#_dataState;
|
833
|
-
constructor(context, dataManagerService, instance) {
|
834
|
-
this.context = context;
|
835
|
-
this.dataManagerService = dataManagerService;
|
836
|
-
this.instance = instance;
|
827
|
+
constructor() {
|
837
828
|
this.columnData = [];
|
838
829
|
this.displayedColumnData = [];
|
839
830
|
this.viewConfig = {
|
@@ -848,7 +839,19 @@ class SkyDataManagerColumnPickerComponent {
|
|
848
839
|
this.isAnyDisplayedColumnSelected = false;
|
849
840
|
this.#ngUnsubscribe = new Subject();
|
850
841
|
this.#_dataState = new SkyDataManagerState({});
|
842
|
+
this.context = inject(SkyDataManagerColumnPickerContext);
|
843
|
+
this.dataManagerService = inject(SkyDataManagerService);
|
844
|
+
this.instance = inject(SkyModalInstance);
|
845
|
+
}
|
846
|
+
get dataState() {
|
847
|
+
return this.#_dataState;
|
848
|
+
}
|
849
|
+
set dataState(value) {
|
850
|
+
this.#_dataState = value;
|
851
|
+
this.updateData();
|
851
852
|
}
|
853
|
+
#ngUnsubscribe;
|
854
|
+
#_dataState;
|
852
855
|
ngOnInit() {
|
853
856
|
this.dataManagerService.initDataManager({
|
854
857
|
activeViewId: this.viewConfig.id,
|
@@ -953,22 +956,31 @@ class SkyDataManagerColumnPickerComponent {
|
|
953
956
|
}
|
954
957
|
return formattedColumnOptions;
|
955
958
|
}
|
956
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
957
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1
|
959
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerColumnPickerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
960
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: SkyDataManagerColumnPickerComponent, isStandalone: true, selector: "sky-data-manager-column-picker", providers: [SkyDataManagerService], ngImport: i0, template: "<sky-modal>\n <sky-modal-header>\n {{ 'skyux_data_manager_column_picker_title' | skyLibResources }}\n </sky-modal-header>\n <sky-modal-content class=\"sky-data-manager-column-picker-content\">\n <sky-data-manager>\n <sky-data-manager-toolbar> </sky-data-manager-toolbar>\n\n <sky-data-view [viewId]=\"viewConfig.id\">\n <sky-repeater expandMode=\"none\">\n <sky-repeater-item\n *ngFor=\"let column of displayedColumnData\"\n [selectable]=\"true\"\n [(isSelected)]=\"column.isSelected\"\n (isSelectedChange)=\"onIsSelectedChange()\"\n >\n <sky-repeater-item-title>\n {{ column.label }}\n </sky-repeater-item-title>\n <sky-repeater-item-content>\n {{ column.description }}\n </sky-repeater-item-content>\n </sky-repeater-item>\n </sky-repeater>\n </sky-data-view>\n </sky-data-manager>\n </sky-modal-content>\n <sky-modal-footer>\n <div\n class=\"sky-data-manager-column-picker-footer-stacked-indicator\"\n *ngIf=\"!isAnyDisplayedColumnSelected\"\n >\n <sky-status-indicator descriptionType=\"error\" indicatorType=\"danger\">\n {{\n 'skyux_data_manager_select_column_status_indicator_title'\n | skyLibResources\n }}\n </sky-status-indicator>\n </div>\n <button\n sky-cmp-id=\"apply-changes\"\n class=\"sky-btn sky-btn-primary\"\n [disabled]=\"!isAnyDisplayedColumnSelected\"\n (click)=\"applyChanges()\"\n >\n {{ 'skyux_data_manager_apply_changes_button_title' | skyLibResources }}\n </button>\n <button\n sky-cmp-id=\"cancel\"\n class=\"sky-btn sky-btn-link\"\n (click)=\"cancelChanges()\"\n >\n {{ 'skyux_data_manager_cancel_button_title' | skyLibResources }}\n </button>\n </sky-modal-footer>\n</sky-modal>\n", styles: [".sky-data-manager-column-picker-content sky-repeater-item-content{margin-top:5px}.sky-data-manager-column-picker-footer-stacked-indicator{margin:0 5px 10px 0}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: SkyDataManagerComponent, selector: "sky-data-manager" }, { kind: "ngmodule", type: SkyDataManagerResourcesModule }, { kind: "pipe", type: i4.SkyLibResourcesPipe, name: "skyLibResources" }, { kind: "component", type: SkyDataManagerToolbarComponent, selector: "sky-data-manager-toolbar" }, { kind: "component", type: SkyDataViewComponent, selector: "sky-data-view", inputs: ["viewId"] }, { kind: "ngmodule", type: SkyModalModule }, { kind: "component", type: i3$1.λ5, selector: "sky-modal", inputs: ["formErrors", "ariaRole", "tiledBody", "ariaDescribedBy", "ariaLabelledBy"] }, { kind: "component", type: i3$1.λ2, selector: "sky-modal-content" }, { kind: "component", type: i3$1.λ3, selector: "sky-modal-footer" }, { kind: "component", type: i3$1.λ4, selector: "sky-modal-header" }, { kind: "ngmodule", type: SkyRepeaterModule }, { kind: "component", type: i4$1.λ11, selector: "sky-repeater", inputs: ["activeIndex", "ariaLabel", "reorderable", "expandMode"], outputs: ["activeIndexChange", "orderChange"] }, { kind: "component", type: i4$1.λ10, selector: "sky-repeater-item", inputs: ["disabled", "itemName", "inlineFormConfig", "inlineFormTemplate", "isExpanded", "isSelected", "reorderable", "selectable", "showInlineForm", "tag"], outputs: ["collapse", "expand", "inlineFormClose", "isSelectedChange"] }, { kind: "component", type: i4$1.λ8, selector: "sky-repeater-item-content" }, { kind: "component", type: i4$1.λ12, selector: "sky-repeater-item-title" }, { kind: "ngmodule", type: SkyStatusIndicatorModule }, { kind: "component", type: i5.λ10, selector: "sky-status-indicator", inputs: ["indicatorType", "descriptionType", "customDescription"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
958
961
|
}
|
959
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
962
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerColumnPickerComponent, decorators: [{
|
960
963
|
type: Component,
|
961
|
-
args: [{ selector: 'sky-data-manager-column-picker', providers: [SkyDataManagerService], changeDetection: ChangeDetectionStrategy.OnPush,
|
962
|
-
|
964
|
+
args: [{ standalone: true, selector: 'sky-data-manager-column-picker', providers: [SkyDataManagerService], changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
965
|
+
CommonModule,
|
966
|
+
SkyDataManagerComponent,
|
967
|
+
SkyDataManagerResourcesModule,
|
968
|
+
SkyDataManagerToolbarComponent,
|
969
|
+
SkyDataViewComponent,
|
970
|
+
SkyModalModule,
|
971
|
+
SkyRepeaterModule,
|
972
|
+
SkyStatusIndicatorModule,
|
973
|
+
], template: "<sky-modal>\n <sky-modal-header>\n {{ 'skyux_data_manager_column_picker_title' | skyLibResources }}\n </sky-modal-header>\n <sky-modal-content class=\"sky-data-manager-column-picker-content\">\n <sky-data-manager>\n <sky-data-manager-toolbar> </sky-data-manager-toolbar>\n\n <sky-data-view [viewId]=\"viewConfig.id\">\n <sky-repeater expandMode=\"none\">\n <sky-repeater-item\n *ngFor=\"let column of displayedColumnData\"\n [selectable]=\"true\"\n [(isSelected)]=\"column.isSelected\"\n (isSelectedChange)=\"onIsSelectedChange()\"\n >\n <sky-repeater-item-title>\n {{ column.label }}\n </sky-repeater-item-title>\n <sky-repeater-item-content>\n {{ column.description }}\n </sky-repeater-item-content>\n </sky-repeater-item>\n </sky-repeater>\n </sky-data-view>\n </sky-data-manager>\n </sky-modal-content>\n <sky-modal-footer>\n <div\n class=\"sky-data-manager-column-picker-footer-stacked-indicator\"\n *ngIf=\"!isAnyDisplayedColumnSelected\"\n >\n <sky-status-indicator descriptionType=\"error\" indicatorType=\"danger\">\n {{\n 'skyux_data_manager_select_column_status_indicator_title'\n | skyLibResources\n }}\n </sky-status-indicator>\n </div>\n <button\n sky-cmp-id=\"apply-changes\"\n class=\"sky-btn sky-btn-primary\"\n [disabled]=\"!isAnyDisplayedColumnSelected\"\n (click)=\"applyChanges()\"\n >\n {{ 'skyux_data_manager_apply_changes_button_title' | skyLibResources }}\n </button>\n <button\n sky-cmp-id=\"cancel\"\n class=\"sky-btn sky-btn-link\"\n (click)=\"cancelChanges()\"\n >\n {{ 'skyux_data_manager_cancel_button_title' | skyLibResources }}\n </button>\n </sky-modal-footer>\n</sky-modal>\n", styles: [".sky-data-manager-column-picker-content sky-repeater-item-content{margin-top:5px}.sky-data-manager-column-picker-footer-stacked-indicator{margin:0 5px 10px 0}\n"] }]
|
974
|
+
}] });
|
963
975
|
|
964
976
|
class SkyDataManagerColumnPickerImplService {
|
965
977
|
getComponentType() {
|
966
978
|
return SkyDataManagerColumnPickerComponent;
|
967
979
|
}
|
968
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
969
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1
|
980
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerColumnPickerImplService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
981
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerColumnPickerImplService }); }
|
970
982
|
}
|
971
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
983
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerColumnPickerImplService, decorators: [{
|
972
984
|
type: Injectable
|
973
985
|
}] });
|
974
986
|
|
@@ -978,12 +990,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
978
990
|
* wrapped in its own `sky-data-manager-toolbar-left-item`. The items render in the order they are in in the template.
|
979
991
|
*/
|
980
992
|
class SkyDataManagerToolbarLeftItemComponent {
|
981
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
982
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1
|
993
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerToolbarLeftItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
994
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: SkyDataManagerToolbarLeftItemComponent, isStandalone: true, selector: "sky-data-manager-toolbar-left-item", ngImport: i0, template: "<sky-toolbar-item>\n <ng-content></ng-content>\n</sky-toolbar-item>\n", dependencies: [{ kind: "ngmodule", type: SkyToolbarModule }, { kind: "component", type: i8.λ39, selector: "sky-toolbar-item" }] }); }
|
983
995
|
}
|
984
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerToolbarLeftItemComponent, decorators: [{
|
985
997
|
type: Component,
|
986
|
-
args: [{ selector: 'sky-data-manager-toolbar-left-item', template: "<sky-toolbar-item>\n <ng-content></ng-content>\n</sky-toolbar-item>\n" }]
|
998
|
+
args: [{ standalone: true, selector: 'sky-data-manager-toolbar-left-item', imports: [SkyToolbarModule], template: "<sky-toolbar-item>\n <ng-content></ng-content>\n</sky-toolbar-item>\n" }]
|
987
999
|
}] });
|
988
1000
|
|
989
1001
|
/**
|
@@ -992,12 +1004,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
992
1004
|
* wrapped in its own `sky-data-manager-toolbar-primary-item`. The items render in the order they are in in the template.
|
993
1005
|
*/
|
994
1006
|
class SkyDataManagerToolbarPrimaryItemComponent {
|
995
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
996
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1
|
1007
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerToolbarPrimaryItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
1008
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: SkyDataManagerToolbarPrimaryItemComponent, isStandalone: true, selector: "sky-data-manager-toolbar-primary-item", ngImport: i0, template: "<sky-toolbar-item>\n <ng-content></ng-content>\n</sky-toolbar-item>\n", dependencies: [{ kind: "ngmodule", type: SkyToolbarModule }, { kind: "component", type: i8.λ39, selector: "sky-toolbar-item" }] }); }
|
997
1009
|
}
|
998
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerToolbarPrimaryItemComponent, decorators: [{
|
999
1011
|
type: Component,
|
1000
|
-
args: [{ selector: 'sky-data-manager-toolbar-primary-item', template: "<sky-toolbar-item>\n <ng-content></ng-content>\n</sky-toolbar-item>\n" }]
|
1012
|
+
args: [{ standalone: true, selector: 'sky-data-manager-toolbar-primary-item', imports: [SkyToolbarModule], template: "<sky-toolbar-item>\n <ng-content></ng-content>\n</sky-toolbar-item>\n" }]
|
1001
1013
|
}] });
|
1002
1014
|
|
1003
1015
|
/**
|
@@ -1007,12 +1019,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
1007
1019
|
* `sky-data-manager-toolbar-right-item`. The items render in the order they are in in the template.
|
1008
1020
|
*/
|
1009
1021
|
class SkyDataManagerToolbarRightItemComponent {
|
1010
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1011
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1
|
1022
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerToolbarRightItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
1023
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: SkyDataManagerToolbarRightItemComponent, isStandalone: true, selector: "sky-data-manager-toolbar-right-item", ngImport: i0, template: "<ng-content></ng-content>\n" }); }
|
1012
1024
|
}
|
1013
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1025
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerToolbarRightItemComponent, decorators: [{
|
1014
1026
|
type: Component,
|
1015
|
-
args: [{ selector: 'sky-data-manager-toolbar-right-item', template: "<ng-content></ng-content>\n" }]
|
1027
|
+
args: [{ standalone: true, selector: 'sky-data-manager-toolbar-right-item', template: "<ng-content></ng-content>\n" }]
|
1016
1028
|
}] });
|
1017
1029
|
|
1018
1030
|
/**
|
@@ -1021,104 +1033,60 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.7", ngImpor
|
|
1021
1033
|
* toolbar (if present).
|
1022
1034
|
*/
|
1023
1035
|
class SkyDataManagerToolbarSectionComponent {
|
1024
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1025
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1
|
1036
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerToolbarSectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
1037
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.1", type: SkyDataManagerToolbarSectionComponent, isStandalone: true, selector: "sky-data-manager-toolbar-section", ngImport: i0, template: "<sky-toolbar-section>\n <ng-content></ng-content>\n</sky-toolbar-section>\n", dependencies: [{ kind: "ngmodule", type: SkyToolbarModule }, { kind: "component", type: i8.λ38, selector: "sky-toolbar-section" }] }); }
|
1026
1038
|
}
|
1027
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1039
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerToolbarSectionComponent, decorators: [{
|
1028
1040
|
type: Component,
|
1029
|
-
args: [{ selector: 'sky-data-manager-toolbar-section', template: "<sky-toolbar-section>\n <ng-content></ng-content>\n</sky-toolbar-section>\n" }]
|
1041
|
+
args: [{ standalone: true, selector: 'sky-data-manager-toolbar-section', imports: [SkyToolbarModule], template: "<sky-toolbar-section>\n <ng-content></ng-content>\n</sky-toolbar-section>\n" }]
|
1030
1042
|
}] });
|
1031
1043
|
|
1032
1044
|
class SkyDataManagerModule {
|
1033
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1
|
1034
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1
|
1035
|
-
|
1045
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
1046
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerModule, imports: [SkyDataManagerComponent,
|
1047
|
+
SkyDataManagerToolbarComponent,
|
1036
1048
|
SkyDataManagerToolbarLeftItemComponent,
|
1037
1049
|
SkyDataManagerToolbarPrimaryItemComponent,
|
1038
1050
|
SkyDataManagerToolbarRightItemComponent,
|
1039
1051
|
SkyDataManagerToolbarSectionComponent,
|
1052
|
+
SkyDataViewComponent], exports: [SkyDataManagerComponent,
|
1040
1053
|
SkyDataManagerToolbarComponent,
|
1041
|
-
SkyDataViewComponent], imports: [CommonModule,
|
1042
|
-
FormsModule,
|
1043
|
-
SkyBackToTopModule,
|
1044
|
-
SkyCheckboxModule,
|
1045
|
-
SkyDataManagerResourcesModule,
|
1046
|
-
SkyFilterModule,
|
1047
|
-
SkyIconModule,
|
1048
|
-
SkyModalModule,
|
1049
|
-
SkyRadioModule,
|
1050
|
-
SkyRepeaterModule,
|
1051
|
-
SkySearchModule,
|
1052
|
-
SkyStatusIndicatorModule,
|
1053
|
-
SkySortModule,
|
1054
|
-
SkyToolbarModule,
|
1055
|
-
SkyViewkeeperModule], exports: [SkyDataManagerColumnPickerComponent,
|
1056
|
-
SkyDataManagerComponent,
|
1057
1054
|
SkyDataManagerToolbarLeftItemComponent,
|
1058
1055
|
SkyDataManagerToolbarPrimaryItemComponent,
|
1059
1056
|
SkyDataManagerToolbarRightItemComponent,
|
1060
1057
|
SkyDataManagerToolbarSectionComponent,
|
1061
|
-
SkyDataManagerToolbarComponent,
|
1062
1058
|
SkyDataViewComponent] }); }
|
1063
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1
|
1059
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerModule, providers: [
|
1064
1060
|
{
|
1065
1061
|
provide: SkyDataManagerColumnPickerService,
|
1066
1062
|
useClass: SkyDataManagerColumnPickerImplService,
|
1067
1063
|
},
|
1068
|
-
], imports: [
|
1069
|
-
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1073
|
-
|
1074
|
-
SkyIconModule,
|
1075
|
-
SkyModalModule,
|
1076
|
-
SkyRadioModule,
|
1077
|
-
SkyRepeaterModule,
|
1078
|
-
SkySearchModule,
|
1079
|
-
SkyStatusIndicatorModule,
|
1080
|
-
SkySortModule,
|
1081
|
-
SkyToolbarModule,
|
1082
|
-
SkyViewkeeperModule] }); }
|
1064
|
+
], imports: [SkyDataManagerComponent,
|
1065
|
+
SkyDataManagerToolbarComponent,
|
1066
|
+
SkyDataManagerToolbarLeftItemComponent,
|
1067
|
+
SkyDataManagerToolbarPrimaryItemComponent,
|
1068
|
+
SkyDataManagerToolbarSectionComponent,
|
1069
|
+
SkyDataViewComponent] }); }
|
1083
1070
|
}
|
1084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1
|
1071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.1", ngImport: i0, type: SkyDataManagerModule, decorators: [{
|
1085
1072
|
type: NgModule,
|
1086
1073
|
args: [{
|
1087
|
-
|
1088
|
-
SkyDataManagerColumnPickerComponent,
|
1074
|
+
imports: [
|
1089
1075
|
SkyDataManagerComponent,
|
1076
|
+
SkyDataManagerToolbarComponent,
|
1090
1077
|
SkyDataManagerToolbarLeftItemComponent,
|
1091
1078
|
SkyDataManagerToolbarPrimaryItemComponent,
|
1092
1079
|
SkyDataManagerToolbarRightItemComponent,
|
1093
1080
|
SkyDataManagerToolbarSectionComponent,
|
1094
|
-
SkyDataManagerToolbarComponent,
|
1095
1081
|
SkyDataViewComponent,
|
1096
1082
|
],
|
1097
|
-
imports: [
|
1098
|
-
CommonModule,
|
1099
|
-
FormsModule,
|
1100
|
-
SkyBackToTopModule,
|
1101
|
-
SkyCheckboxModule,
|
1102
|
-
SkyDataManagerResourcesModule,
|
1103
|
-
SkyFilterModule,
|
1104
|
-
SkyIconModule,
|
1105
|
-
SkyModalModule,
|
1106
|
-
SkyRadioModule,
|
1107
|
-
SkyRepeaterModule,
|
1108
|
-
SkySearchModule,
|
1109
|
-
SkyStatusIndicatorModule,
|
1110
|
-
SkySortModule,
|
1111
|
-
SkyToolbarModule,
|
1112
|
-
SkyViewkeeperModule,
|
1113
|
-
],
|
1114
1083
|
exports: [
|
1115
|
-
SkyDataManagerColumnPickerComponent,
|
1116
1084
|
SkyDataManagerComponent,
|
1085
|
+
SkyDataManagerToolbarComponent,
|
1117
1086
|
SkyDataManagerToolbarLeftItemComponent,
|
1118
1087
|
SkyDataManagerToolbarPrimaryItemComponent,
|
1119
1088
|
SkyDataManagerToolbarRightItemComponent,
|
1120
1089
|
SkyDataManagerToolbarSectionComponent,
|
1121
|
-
SkyDataManagerToolbarComponent,
|
1122
1090
|
SkyDataViewComponent,
|
1123
1091
|
],
|
1124
1092
|
providers: [
|