@progress/kendo-angular-grid 19.3.0-develop.16 → 19.3.0-develop.17
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/common/provider.service.d.ts +2 -0
- package/data/data-mapping.service.d.ts +3 -1
- package/directives.d.ts +4 -3
- package/esm2022/common/provider.service.mjs +1 -0
- package/esm2022/data/data-mapping.service.mjs +14 -3
- package/esm2022/directives.mjs +3 -0
- package/esm2022/grid.module.mjs +23 -22
- package/esm2022/highlight/highlight-item.mjs +5 -0
- package/esm2022/highlight/highlight.directive.mjs +132 -0
- package/esm2022/index.mjs +1 -0
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/rendering/table-body.component.mjs +8 -4
- package/esm2022/selection/pair-set.mjs +87 -10
- package/fesm2022/progress-kendo-angular-grid.mjs +237 -22
- package/grid.module.d.ts +22 -21
- package/highlight/highlight-item.d.ts +17 -0
- package/highlight/highlight.directive.d.ts +56 -0
- package/index.d.ts +2 -0
- package/package.json +20 -20
- package/rendering/table-body.component.d.ts +1 -0
- package/schematics/ngAdd/index.js +4 -4
- package/selection/pair-set.d.ts +36 -8
|
@@ -5,13 +5,17 @@
|
|
|
5
5
|
/**
|
|
6
6
|
* @hidden
|
|
7
7
|
*
|
|
8
|
-
* Quick look-up structure for combinations of keys.
|
|
9
|
-
* Similar to the native JS Set, however, working with a couple of keys
|
|
8
|
+
* Quick look-up structure for combinations of keys or single keys.
|
|
9
|
+
* Similar to the native JS Set, however, working with single keys or a couple of keys.
|
|
10
10
|
* Supports both primitive keys and object keys (compared by reference).
|
|
11
11
|
*/
|
|
12
12
|
export class PairSet {
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Symbol used internally to represent "no Y key" when storing single X keys.
|
|
15
|
+
*/
|
|
16
|
+
static SINGLE_KEY_SYMBOL = Symbol('SINGLE_KEY');
|
|
17
|
+
/**
|
|
18
|
+
* Gets the total number of key entries (both single keys and key pairs).
|
|
15
19
|
*/
|
|
16
20
|
get size() {
|
|
17
21
|
return this.totalKeysCount;
|
|
@@ -19,17 +23,38 @@ export class PairSet {
|
|
|
19
23
|
/**
|
|
20
24
|
* Holds a set of Y keys for each defined X key.
|
|
21
25
|
* Each X key creates a map which holds a set of Y keys.
|
|
26
|
+
* For single keys, the Y value is the SINGLE_KEY_SYMBOL.
|
|
22
27
|
*
|
|
23
|
-
* Map {
|
|
28
|
+
* Map { 'foo' => Set { Symbol(SINGLE_KEY) } } // single key: {x: 'foo'}
|
|
29
|
+
* Map { 'foo2' => Set { 'bar', 'baz' } } // pairs: {x: 'foo2', y: 'bar'}, {x: 'foo2', y: 'baz'}
|
|
24
30
|
*/
|
|
25
31
|
keysX = new Map();
|
|
26
32
|
/**
|
|
27
|
-
* Count
|
|
33
|
+
* Count each added or deleted key manually to avoid iterating over all items when calling `this.size`.
|
|
28
34
|
*/
|
|
29
35
|
totalKeysCount = 0;
|
|
30
36
|
constructor(items, keyXField, keyYField) {
|
|
31
|
-
if (items && keyXField
|
|
32
|
-
items.forEach(item =>
|
|
37
|
+
if (items && keyXField) {
|
|
38
|
+
items.forEach(item => {
|
|
39
|
+
if (keyYField && item[keyYField] !== undefined) {
|
|
40
|
+
this.add(item[keyXField], item[keyYField]);
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
this.addSingle(item[keyXField]);
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Adds a single key entry.
|
|
50
|
+
*/
|
|
51
|
+
addSingle(keyX) {
|
|
52
|
+
if (!this.keysX.has(keyX)) {
|
|
53
|
+
this.keysX.set(keyX, new Set());
|
|
54
|
+
}
|
|
55
|
+
if (!this.hasSingle(keyX)) {
|
|
56
|
+
this.keysX.get(keyX).add(PairSet.SINGLE_KEY_SYMBOL);
|
|
57
|
+
this.totalKeysCount += 1;
|
|
33
58
|
}
|
|
34
59
|
}
|
|
35
60
|
/**
|
|
@@ -45,14 +70,35 @@ export class PairSet {
|
|
|
45
70
|
}
|
|
46
71
|
}
|
|
47
72
|
/**
|
|
48
|
-
*
|
|
73
|
+
* Deletes a single key entry.
|
|
74
|
+
*/
|
|
75
|
+
deleteSingle(keyX) {
|
|
76
|
+
if (this.hasSingle(keyX)) {
|
|
77
|
+
this.keysX.get(keyX).delete(PairSet.SINGLE_KEY_SYMBOL);
|
|
78
|
+
this.totalKeysCount -= 1;
|
|
79
|
+
if (this.keysX.get(keyX).size === 0) {
|
|
80
|
+
this.keysX.delete(keyX);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Deletes a combination of a couple of items identified together.
|
|
49
86
|
*/
|
|
50
87
|
delete(keyX, keyY) {
|
|
51
88
|
if (this.has(keyX, keyY)) {
|
|
52
89
|
this.keysX.get(keyX).delete(keyY);
|
|
53
90
|
this.totalKeysCount -= 1;
|
|
91
|
+
if (this.keysX.get(keyX).size === 0) {
|
|
92
|
+
this.keysX.delete(keyX);
|
|
93
|
+
}
|
|
54
94
|
}
|
|
55
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* Checks whether a single key is stored.
|
|
98
|
+
*/
|
|
99
|
+
hasSingle(keyX) {
|
|
100
|
+
return this.keysX.has(keyX) && this.keysX.get(keyX).has(PairSet.SINGLE_KEY_SYMBOL);
|
|
101
|
+
}
|
|
56
102
|
/**
|
|
57
103
|
* Checks whether the defined combination is stored.
|
|
58
104
|
*/
|
|
@@ -60,7 +106,23 @@ export class PairSet {
|
|
|
60
106
|
return this.keysX.has(keyX) && this.keysX.get(keyX).has(keyY);
|
|
61
107
|
}
|
|
62
108
|
/**
|
|
63
|
-
*
|
|
109
|
+
* Checks whether any entry exists for the given X key (single or paired).
|
|
110
|
+
*/
|
|
111
|
+
hasX(keyX) {
|
|
112
|
+
return this.keysX.has(keyX) && this.keysX.get(keyX).size > 0;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Gets all Y keys for a given X key, excluding single key entries.
|
|
116
|
+
*/
|
|
117
|
+
getYKeys(keyX) {
|
|
118
|
+
if (!this.keysX.has(keyX)) {
|
|
119
|
+
return [];
|
|
120
|
+
}
|
|
121
|
+
const yKeys = Array.from(this.keysX.get(keyX));
|
|
122
|
+
return yKeys.filter(yKey => yKey !== PairSet.SINGLE_KEY_SYMBOL);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Clears all key combinations and single keys.
|
|
64
126
|
*/
|
|
65
127
|
clear() {
|
|
66
128
|
this.keysX.clear();
|
|
@@ -69,12 +131,27 @@ export class PairSet {
|
|
|
69
131
|
/**
|
|
70
132
|
* Converts the persisted data structure to an array of objects,
|
|
71
133
|
* using the provided field names for the object props.
|
|
134
|
+
* Single keys will only have the keyXField property.
|
|
135
|
+
* Pair keys will have both keyXField and keyYField properties.
|
|
72
136
|
*/
|
|
73
137
|
toArray(keyXField, keyYField) {
|
|
74
138
|
return Array.from(this.keysX).reduce((pairs, pair) => {
|
|
75
139
|
// Array.from(mapInstance) returns an array of arrays [[itemKey1, columnKeysSet1], [itemKey2, columnKeysSet2]]
|
|
76
140
|
const [keyX, keysY] = pair;
|
|
77
|
-
Array.from(keysY).forEach(keyY =>
|
|
141
|
+
Array.from(keysY).forEach(keyY => {
|
|
142
|
+
if (keyY === PairSet.SINGLE_KEY_SYMBOL) {
|
|
143
|
+
// Single key entry
|
|
144
|
+
pairs.push({ [keyXField]: keyX });
|
|
145
|
+
}
|
|
146
|
+
else {
|
|
147
|
+
// Pair key entry
|
|
148
|
+
const entry = { [keyXField]: keyX };
|
|
149
|
+
if (keyYField) {
|
|
150
|
+
entry[keyYField] = keyY;
|
|
151
|
+
}
|
|
152
|
+
pairs.push(entry);
|
|
153
|
+
}
|
|
154
|
+
});
|
|
78
155
|
return pairs;
|
|
79
156
|
}, []);
|
|
80
157
|
}
|
|
@@ -865,6 +865,7 @@ class ContextService {
|
|
|
865
865
|
bottomToolbarNavigation;
|
|
866
866
|
navigable;
|
|
867
867
|
dataBindingDirective;
|
|
868
|
+
highlightDirective;
|
|
868
869
|
constructor(renderer, localization) {
|
|
869
870
|
this.renderer = renderer;
|
|
870
871
|
this.localization = localization;
|
|
@@ -20091,7 +20092,8 @@ class TableBodyComponent {
|
|
|
20091
20092
|
[class.k-grid-edit-row]="isEditingRow($any(item).index)"
|
|
20092
20093
|
[attr.aria-selected]="lockedColumnsCount < 1 ? isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item) : undefined"
|
|
20093
20094
|
[attr.data-kendo-grid-item-index]="$any(item).index"
|
|
20094
|
-
[class.k-selected]="isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item)"
|
|
20095
|
+
[class.k-selected]="isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item)"
|
|
20096
|
+
[class.k-highlighted]="item.isHighlighted">
|
|
20095
20097
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
20096
20098
|
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups" role="presentation"></td>
|
|
20097
20099
|
</ng-container>
|
|
@@ -20143,7 +20145,8 @@ class TableBodyComponent {
|
|
|
20143
20145
|
[class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"
|
|
20144
20146
|
[ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"
|
|
20145
20147
|
[attr.colspan]="column.colspan"
|
|
20146
|
-
[class.k-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)"
|
|
20148
|
+
[class.k-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)"
|
|
20149
|
+
[class.k-highlighted]="item.cells[lockedColumnsCount + columnIndex]?.isHighlighted">
|
|
20147
20150
|
</td>
|
|
20148
20151
|
</ng-container>
|
|
20149
20152
|
</tr>
|
|
@@ -20311,7 +20314,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
20311
20314
|
[class.k-grid-edit-row]="isEditingRow($any(item).index)"
|
|
20312
20315
|
[attr.aria-selected]="lockedColumnsCount < 1 ? isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item) : undefined"
|
|
20313
20316
|
[attr.data-kendo-grid-item-index]="$any(item).index"
|
|
20314
|
-
[class.k-selected]="isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item)"
|
|
20317
|
+
[class.k-selected]="isSelectable({ dataItem: item.data, index: $any(item).index }) && isRowSelected(item)"
|
|
20318
|
+
[class.k-highlighted]="item.isHighlighted">
|
|
20315
20319
|
<ng-container *ngIf="!skipGroupDecoration">
|
|
20316
20320
|
<td class="k-group-cell k-table-td k-table-group-td" *ngFor="let g of groups" role="presentation"></td>
|
|
20317
20321
|
</ng-container>
|
|
@@ -20363,7 +20367,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
20363
20367
|
[class.k-grid-edit-cell]="isEditingCell($any(item).index, column)"
|
|
20364
20368
|
[ngStyle]="column.sticky ? addStickyColumnStyles(column) : column.style"
|
|
20365
20369
|
[attr.colspan]="column.colspan"
|
|
20366
|
-
[class.k-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)"
|
|
20370
|
+
[class.k-selected]="isSelectable && cellSelectionService.isCellSelected(item, column)"
|
|
20371
|
+
[class.k-highlighted]="item.cells[lockedColumnsCount + columnIndex]?.isHighlighted">
|
|
20367
20372
|
</td>
|
|
20368
20373
|
</ng-container>
|
|
20369
20374
|
</tr>
|
|
@@ -21226,8 +21231,8 @@ const packageMetadata = {
|
|
|
21226
21231
|
productName: 'Kendo UI for Angular',
|
|
21227
21232
|
productCode: 'KENDOUIANGULAR',
|
|
21228
21233
|
productCodes: ['KENDOUIANGULAR'],
|
|
21229
|
-
publishDate:
|
|
21230
|
-
version: '19.3.0-develop.
|
|
21234
|
+
publishDate: 1753856827,
|
|
21235
|
+
version: '19.3.0-develop.17',
|
|
21231
21236
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
21232
21237
|
};
|
|
21233
21238
|
|
|
@@ -21642,13 +21647,17 @@ class DataCollection {
|
|
|
21642
21647
|
/**
|
|
21643
21648
|
* @hidden
|
|
21644
21649
|
*
|
|
21645
|
-
* Quick look-up structure for combinations of keys.
|
|
21646
|
-
* Similar to the native JS Set, however, working with a couple of keys
|
|
21650
|
+
* Quick look-up structure for combinations of keys or single keys.
|
|
21651
|
+
* Similar to the native JS Set, however, working with single keys or a couple of keys.
|
|
21647
21652
|
* Supports both primitive keys and object keys (compared by reference).
|
|
21648
21653
|
*/
|
|
21649
21654
|
class PairSet {
|
|
21650
21655
|
/**
|
|
21651
|
-
*
|
|
21656
|
+
* Symbol used internally to represent "no Y key" when storing single X keys.
|
|
21657
|
+
*/
|
|
21658
|
+
static SINGLE_KEY_SYMBOL = Symbol('SINGLE_KEY');
|
|
21659
|
+
/**
|
|
21660
|
+
* Gets the total number of key entries (both single keys and key pairs).
|
|
21652
21661
|
*/
|
|
21653
21662
|
get size() {
|
|
21654
21663
|
return this.totalKeysCount;
|
|
@@ -21656,17 +21665,38 @@ class PairSet {
|
|
|
21656
21665
|
/**
|
|
21657
21666
|
* Holds a set of Y keys for each defined X key.
|
|
21658
21667
|
* Each X key creates a map which holds a set of Y keys.
|
|
21668
|
+
* For single keys, the Y value is the SINGLE_KEY_SYMBOL.
|
|
21659
21669
|
*
|
|
21660
|
-
* Map {
|
|
21670
|
+
* Map { 'foo' => Set { Symbol(SINGLE_KEY) } } // single key: {x: 'foo'}
|
|
21671
|
+
* Map { 'foo2' => Set { 'bar', 'baz' } } // pairs: {x: 'foo2', y: 'bar'}, {x: 'foo2', y: 'baz'}
|
|
21661
21672
|
*/
|
|
21662
21673
|
keysX = new Map();
|
|
21663
21674
|
/**
|
|
21664
|
-
* Count
|
|
21675
|
+
* Count each added or deleted key manually to avoid iterating over all items when calling `this.size`.
|
|
21665
21676
|
*/
|
|
21666
21677
|
totalKeysCount = 0;
|
|
21667
21678
|
constructor(items, keyXField, keyYField) {
|
|
21668
|
-
if (items && keyXField
|
|
21669
|
-
items.forEach(item =>
|
|
21679
|
+
if (items && keyXField) {
|
|
21680
|
+
items.forEach(item => {
|
|
21681
|
+
if (keyYField && item[keyYField] !== undefined) {
|
|
21682
|
+
this.add(item[keyXField], item[keyYField]);
|
|
21683
|
+
}
|
|
21684
|
+
else {
|
|
21685
|
+
this.addSingle(item[keyXField]);
|
|
21686
|
+
}
|
|
21687
|
+
});
|
|
21688
|
+
}
|
|
21689
|
+
}
|
|
21690
|
+
/**
|
|
21691
|
+
* Adds a single key entry.
|
|
21692
|
+
*/
|
|
21693
|
+
addSingle(keyX) {
|
|
21694
|
+
if (!this.keysX.has(keyX)) {
|
|
21695
|
+
this.keysX.set(keyX, new Set());
|
|
21696
|
+
}
|
|
21697
|
+
if (!this.hasSingle(keyX)) {
|
|
21698
|
+
this.keysX.get(keyX).add(PairSet.SINGLE_KEY_SYMBOL);
|
|
21699
|
+
this.totalKeysCount += 1;
|
|
21670
21700
|
}
|
|
21671
21701
|
}
|
|
21672
21702
|
/**
|
|
@@ -21682,14 +21712,35 @@ class PairSet {
|
|
|
21682
21712
|
}
|
|
21683
21713
|
}
|
|
21684
21714
|
/**
|
|
21685
|
-
*
|
|
21715
|
+
* Deletes a single key entry.
|
|
21716
|
+
*/
|
|
21717
|
+
deleteSingle(keyX) {
|
|
21718
|
+
if (this.hasSingle(keyX)) {
|
|
21719
|
+
this.keysX.get(keyX).delete(PairSet.SINGLE_KEY_SYMBOL);
|
|
21720
|
+
this.totalKeysCount -= 1;
|
|
21721
|
+
if (this.keysX.get(keyX).size === 0) {
|
|
21722
|
+
this.keysX.delete(keyX);
|
|
21723
|
+
}
|
|
21724
|
+
}
|
|
21725
|
+
}
|
|
21726
|
+
/**
|
|
21727
|
+
* Deletes a combination of a couple of items identified together.
|
|
21686
21728
|
*/
|
|
21687
21729
|
delete(keyX, keyY) {
|
|
21688
21730
|
if (this.has(keyX, keyY)) {
|
|
21689
21731
|
this.keysX.get(keyX).delete(keyY);
|
|
21690
21732
|
this.totalKeysCount -= 1;
|
|
21733
|
+
if (this.keysX.get(keyX).size === 0) {
|
|
21734
|
+
this.keysX.delete(keyX);
|
|
21735
|
+
}
|
|
21691
21736
|
}
|
|
21692
21737
|
}
|
|
21738
|
+
/**
|
|
21739
|
+
* Checks whether a single key is stored.
|
|
21740
|
+
*/
|
|
21741
|
+
hasSingle(keyX) {
|
|
21742
|
+
return this.keysX.has(keyX) && this.keysX.get(keyX).has(PairSet.SINGLE_KEY_SYMBOL);
|
|
21743
|
+
}
|
|
21693
21744
|
/**
|
|
21694
21745
|
* Checks whether the defined combination is stored.
|
|
21695
21746
|
*/
|
|
@@ -21697,7 +21748,23 @@ class PairSet {
|
|
|
21697
21748
|
return this.keysX.has(keyX) && this.keysX.get(keyX).has(keyY);
|
|
21698
21749
|
}
|
|
21699
21750
|
/**
|
|
21700
|
-
*
|
|
21751
|
+
* Checks whether any entry exists for the given X key (single or paired).
|
|
21752
|
+
*/
|
|
21753
|
+
hasX(keyX) {
|
|
21754
|
+
return this.keysX.has(keyX) && this.keysX.get(keyX).size > 0;
|
|
21755
|
+
}
|
|
21756
|
+
/**
|
|
21757
|
+
* Gets all Y keys for a given X key, excluding single key entries.
|
|
21758
|
+
*/
|
|
21759
|
+
getYKeys(keyX) {
|
|
21760
|
+
if (!this.keysX.has(keyX)) {
|
|
21761
|
+
return [];
|
|
21762
|
+
}
|
|
21763
|
+
const yKeys = Array.from(this.keysX.get(keyX));
|
|
21764
|
+
return yKeys.filter(yKey => yKey !== PairSet.SINGLE_KEY_SYMBOL);
|
|
21765
|
+
}
|
|
21766
|
+
/**
|
|
21767
|
+
* Clears all key combinations and single keys.
|
|
21701
21768
|
*/
|
|
21702
21769
|
clear() {
|
|
21703
21770
|
this.keysX.clear();
|
|
@@ -21706,12 +21773,27 @@ class PairSet {
|
|
|
21706
21773
|
/**
|
|
21707
21774
|
* Converts the persisted data structure to an array of objects,
|
|
21708
21775
|
* using the provided field names for the object props.
|
|
21776
|
+
* Single keys will only have the keyXField property.
|
|
21777
|
+
* Pair keys will have both keyXField and keyYField properties.
|
|
21709
21778
|
*/
|
|
21710
21779
|
toArray(keyXField, keyYField) {
|
|
21711
21780
|
return Array.from(this.keysX).reduce((pairs, pair) => {
|
|
21712
21781
|
// Array.from(mapInstance) returns an array of arrays [[itemKey1, columnKeysSet1], [itemKey2, columnKeysSet2]]
|
|
21713
21782
|
const [keyX, keysY] = pair;
|
|
21714
|
-
Array.from(keysY).forEach(keyY =>
|
|
21783
|
+
Array.from(keysY).forEach(keyY => {
|
|
21784
|
+
if (keyY === PairSet.SINGLE_KEY_SYMBOL) {
|
|
21785
|
+
// Single key entry
|
|
21786
|
+
pairs.push({ [keyXField]: keyX });
|
|
21787
|
+
}
|
|
21788
|
+
else {
|
|
21789
|
+
// Pair key entry
|
|
21790
|
+
const entry = { [keyXField]: keyX };
|
|
21791
|
+
if (keyYField) {
|
|
21792
|
+
entry[keyYField] = keyY;
|
|
21793
|
+
}
|
|
21794
|
+
pairs.push(entry);
|
|
21795
|
+
}
|
|
21796
|
+
});
|
|
21715
21797
|
return pairs;
|
|
21716
21798
|
}, []);
|
|
21717
21799
|
}
|
|
@@ -23290,12 +23372,14 @@ class DataMappingService {
|
|
|
23290
23372
|
rowspanService;
|
|
23291
23373
|
groupsService;
|
|
23292
23374
|
detailsService;
|
|
23375
|
+
ctx;
|
|
23293
23376
|
recalculateRowspan = true;
|
|
23294
23377
|
dataArray = null;
|
|
23295
|
-
constructor(rowspanService, groupsService, detailsService) {
|
|
23378
|
+
constructor(rowspanService, groupsService, detailsService, ctx) {
|
|
23296
23379
|
this.rowspanService = rowspanService;
|
|
23297
23380
|
this.groupsService = groupsService;
|
|
23298
23381
|
this.detailsService = detailsService;
|
|
23382
|
+
this.ctx = ctx;
|
|
23299
23383
|
}
|
|
23300
23384
|
isGroup(item) {
|
|
23301
23385
|
return item.type === 'group';
|
|
@@ -23325,8 +23409,14 @@ class DataMappingService {
|
|
|
23325
23409
|
dataItem: item
|
|
23326
23410
|
}, column, i, data) : 1;
|
|
23327
23411
|
}
|
|
23412
|
+
if (isPresent$1(this.ctx.highlightDirective)) {
|
|
23413
|
+
cell.isHighlighted = this.ctx.highlightDirective.isCellHighlighted(item, column, i);
|
|
23414
|
+
}
|
|
23328
23415
|
item.cells.push(cell);
|
|
23329
23416
|
}
|
|
23417
|
+
if (isPresent$1(this.ctx.highlightDirective)) {
|
|
23418
|
+
item.isHighlighted = this.ctx.highlightDirective.isRowHighlighted(item);
|
|
23419
|
+
}
|
|
23330
23420
|
}
|
|
23331
23421
|
result.push(item);
|
|
23332
23422
|
}
|
|
@@ -23390,12 +23480,12 @@ class DataMappingService {
|
|
|
23390
23480
|
}
|
|
23391
23481
|
return rowspan;
|
|
23392
23482
|
}
|
|
23393
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataMappingService, deps: [{ token: RowspanService }, { token: GroupsService }, { token: DetailsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
23483
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataMappingService, deps: [{ token: RowspanService }, { token: GroupsService }, { token: DetailsService }, { token: ContextService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
23394
23484
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataMappingService });
|
|
23395
23485
|
}
|
|
23396
23486
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DataMappingService, decorators: [{
|
|
23397
23487
|
type: Injectable
|
|
23398
|
-
}], ctorParameters: function () { return [{ type: RowspanService }, { type: GroupsService }, { type: DetailsService }]; } });
|
|
23488
|
+
}], ctorParameters: function () { return [{ type: RowspanService }, { type: GroupsService }, { type: DetailsService }, { type: ContextService }]; } });
|
|
23399
23489
|
|
|
23400
23490
|
const elementAt = (index, elements, elementOffset) => {
|
|
23401
23491
|
for (let idx = 0, elementIdx = 0; idx < elements.length; idx++) {
|
|
@@ -35278,6 +35368,129 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
35278
35368
|
}]
|
|
35279
35369
|
}], ctorParameters: function () { return [{ type: i52.ToolBarButtonComponent }, { type: i2.PopupService }, { type: ContextService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: AdaptiveGridService }]; } });
|
|
35280
35370
|
|
|
35371
|
+
/**
|
|
35372
|
+
* Stores the row and cell highlight state of the Grid.
|
|
35373
|
+
*
|
|
35374
|
+
* @example
|
|
35375
|
+
* ```typescript
|
|
35376
|
+
* <kendo-grid kendoGridHighlight="ProductID"></kendo-grid>
|
|
35377
|
+
*
|
|
35378
|
+
* <kendo-grid [kendoGridHighlight]="myKey"></kendo-grid>
|
|
35379
|
+
* ```
|
|
35380
|
+
* @remarks
|
|
35381
|
+
* Applied to: {@link GridComponent}.
|
|
35382
|
+
*/
|
|
35383
|
+
class HighlightDirective {
|
|
35384
|
+
ctx;
|
|
35385
|
+
/**
|
|
35386
|
+
* Stores the highlighted items keys.
|
|
35387
|
+
* @default []
|
|
35388
|
+
*/
|
|
35389
|
+
highlightedKeys = [];
|
|
35390
|
+
/**
|
|
35391
|
+
* Sets the item key to store in `highlightedKeys`. The Grid uses the row index as the default item key.
|
|
35392
|
+
*/
|
|
35393
|
+
highlightItemKey;
|
|
35394
|
+
/**
|
|
35395
|
+
* Sets the column key for a data cell. The Grid uses the column index as the default column key.
|
|
35396
|
+
*/
|
|
35397
|
+
highlightColumnKey;
|
|
35398
|
+
rowHighlightState = new Set();
|
|
35399
|
+
cellHighlightState = new PairSet();
|
|
35400
|
+
constructor(ctx) {
|
|
35401
|
+
this.ctx = ctx;
|
|
35402
|
+
this.ctx.highlightDirective = this;
|
|
35403
|
+
}
|
|
35404
|
+
ngOnChanges(changes) {
|
|
35405
|
+
if (isPresent$1(changes['highlightedKeys'])) {
|
|
35406
|
+
this.setState(this.highlightedKeys);
|
|
35407
|
+
}
|
|
35408
|
+
}
|
|
35409
|
+
ngOnDestroy() {
|
|
35410
|
+
this.reset();
|
|
35411
|
+
this.ctx.highlightDirective = null;
|
|
35412
|
+
}
|
|
35413
|
+
/**
|
|
35414
|
+
* @hidden
|
|
35415
|
+
*/
|
|
35416
|
+
isRowHighlighted(row) {
|
|
35417
|
+
return this.rowHighlightState.has(this.getItemKey(row));
|
|
35418
|
+
}
|
|
35419
|
+
/**
|
|
35420
|
+
* @hidden
|
|
35421
|
+
*/
|
|
35422
|
+
isCellHighlighted(row, column, colIndex) {
|
|
35423
|
+
const highlightItem = this.getHighlightItem(row, column, colIndex);
|
|
35424
|
+
return this.cellHighlightState.has(highlightItem.itemKey, highlightItem.columnKey);
|
|
35425
|
+
}
|
|
35426
|
+
getItemKey(row) {
|
|
35427
|
+
if (this.highlightItemKey) {
|
|
35428
|
+
if (typeof this.highlightItemKey === "string") {
|
|
35429
|
+
return row.data?.[this.highlightItemKey];
|
|
35430
|
+
}
|
|
35431
|
+
if (typeof this.highlightItemKey === "function") {
|
|
35432
|
+
return this.highlightItemKey(row);
|
|
35433
|
+
}
|
|
35434
|
+
}
|
|
35435
|
+
return row.index;
|
|
35436
|
+
}
|
|
35437
|
+
getHighlightItem(row, col, colIndex) {
|
|
35438
|
+
const itemIdentifiers = {};
|
|
35439
|
+
itemIdentifiers.itemKey = this.getItemKey(row);
|
|
35440
|
+
if (!isPresent$1(col) && !isPresent$1(colIndex)) {
|
|
35441
|
+
return itemIdentifiers;
|
|
35442
|
+
}
|
|
35443
|
+
if (this.highlightColumnKey) {
|
|
35444
|
+
if (typeof this.highlightColumnKey === "string") {
|
|
35445
|
+
itemIdentifiers.columnKey = row.dataItem[this.highlightColumnKey];
|
|
35446
|
+
}
|
|
35447
|
+
if (typeof this.highlightColumnKey === "function") {
|
|
35448
|
+
itemIdentifiers.columnKey = this.highlightColumnKey(col, colIndex);
|
|
35449
|
+
}
|
|
35450
|
+
}
|
|
35451
|
+
return {
|
|
35452
|
+
itemKey: itemIdentifiers.itemKey,
|
|
35453
|
+
columnKey: itemIdentifiers.columnKey ? itemIdentifiers.columnKey : colIndex
|
|
35454
|
+
};
|
|
35455
|
+
}
|
|
35456
|
+
setState(highlightedKeys) {
|
|
35457
|
+
this.reset();
|
|
35458
|
+
if (!highlightedKeys || highlightedKeys.length === 0) {
|
|
35459
|
+
return;
|
|
35460
|
+
}
|
|
35461
|
+
const rowHighlights = highlightedKeys.filter(item => !isPresent$1(item.columnKey));
|
|
35462
|
+
const cellHighlights = highlightedKeys.filter(item => isPresent$1(item.columnKey));
|
|
35463
|
+
if (cellHighlights.length > 0) {
|
|
35464
|
+
this.cellHighlightState = new PairSet(cellHighlights, 'itemKey', 'columnKey');
|
|
35465
|
+
}
|
|
35466
|
+
if (rowHighlights.length > 0) {
|
|
35467
|
+
rowHighlights.forEach(item => {
|
|
35468
|
+
this.rowHighlightState.add(item.itemKey);
|
|
35469
|
+
});
|
|
35470
|
+
}
|
|
35471
|
+
}
|
|
35472
|
+
reset() {
|
|
35473
|
+
this.rowHighlightState.clear();
|
|
35474
|
+
this.cellHighlightState.clear();
|
|
35475
|
+
}
|
|
35476
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HighlightDirective, deps: [{ token: ContextService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
35477
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: HighlightDirective, isStandalone: true, selector: "[kendoGridHighlight]", inputs: { highlightedKeys: "highlightedKeys", highlightItemKey: ["kendoGridHighlight", "highlightItemKey"], highlightColumnKey: "highlightColumnKey" }, usesOnChanges: true, ngImport: i0 });
|
|
35478
|
+
}
|
|
35479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: HighlightDirective, decorators: [{
|
|
35480
|
+
type: Directive,
|
|
35481
|
+
args: [{
|
|
35482
|
+
selector: '[kendoGridHighlight]',
|
|
35483
|
+
standalone: true
|
|
35484
|
+
}]
|
|
35485
|
+
}], ctorParameters: function () { return [{ type: ContextService }]; }, propDecorators: { highlightedKeys: [{
|
|
35486
|
+
type: Input
|
|
35487
|
+
}], highlightItemKey: [{
|
|
35488
|
+
type: Input,
|
|
35489
|
+
args: ["kendoGridHighlight"]
|
|
35490
|
+
}], highlightColumnKey: [{
|
|
35491
|
+
type: Input
|
|
35492
|
+
}] } });
|
|
35493
|
+
|
|
35281
35494
|
// DRAGGABLE COLUMN
|
|
35282
35495
|
/**
|
|
35283
35496
|
* @hidden
|
|
@@ -35523,6 +35736,7 @@ const KENDO_GRID_DECLARATIONS = [
|
|
|
35523
35736
|
DataBindingDirective,
|
|
35524
35737
|
ToolbarTemplateDirective,
|
|
35525
35738
|
SelectionDirective,
|
|
35739
|
+
HighlightDirective,
|
|
35526
35740
|
TemplateEditingDirective,
|
|
35527
35741
|
ReactiveEditingDirective,
|
|
35528
35742
|
InCellEditingDirective,
|
|
@@ -35554,6 +35768,7 @@ const KENDO_GRID_EXPORTS = [
|
|
|
35554
35768
|
StatusBarTemplateDirective,
|
|
35555
35769
|
DataBindingDirective,
|
|
35556
35770
|
SelectionDirective,
|
|
35771
|
+
HighlightDirective,
|
|
35557
35772
|
CustomMessagesComponent,
|
|
35558
35773
|
GroupBindingDirective,
|
|
35559
35774
|
TemplateEditingDirective,
|
|
@@ -35647,9 +35862,9 @@ const KENDO_GRID = [
|
|
|
35647
35862
|
*/
|
|
35648
35863
|
class GridModule {
|
|
35649
35864
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
35650
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GridModule, imports: [GroupHeaderTemplateDirective, GroupHeaderColumnTemplateDirective, GroupFooterTemplateDirective, GroupHeaderComponent, GroupPanelComponent, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, FooterTemplateDirective, ColGroupComponent, ResizableContainerDirective, i1$3.TemplateContextDirective, FieldAccessorPipe, DetailTemplateDirective, SpanColumnComponent, LoadingComponent, GridTableDirective, CommandColumnComponent, CheckboxColumnComponent, SelectionCheckboxDirective, CellTemplateDirective, EditTemplateDirective, RowDragHandleTemplateDirective, RowDragHintTemplateDirective, TableBodyComponent, NoRecordsTemplateDirective, CellComponent, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, AddCommandToolbarDirective, EditCommandToolbarDirective, SaveCommandToolbarDirective, RemoveCommandToolbarDirective, CancelCommandToolbarDirective, CellLoadingTemplateDirective, LoadingTemplateDirective, RowReorderColumnComponent, SortCommandToolbarDirective, FilterCommandToolbarDirective, GroupCommandToolbarDirective, HeaderComponent, HeaderTemplateDirective, ColumnHandleDirective, SelectAllCheckboxDirective, FooterComponent, i51.CustomMessagesComponent, i51.PagerFocusableDirective, i51.PagerInfoComponent, i51.PagerInputComponent, i51.PagerNextButtonsComponent, i51.PagerNumericButtonsComponent, i51.PagerPageSizesComponent, i51.PagerPrevButtonsComponent, i51.PagerTemplateDirective, i51.PagerComponent, i51.PagerSpacerComponent, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, i52.ToolBarToolComponent, FilterRowComponent, FilterCellComponent, FilterCellTemplateDirective, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellHostDirective, FilterCellWrapperComponent, DateFilterCellComponent, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, FooterTemplateDirective, ColGroupComponent, ResizableContainerDirective, i1$3.TemplateContextDirective, FieldAccessorPipe, DetailTemplateDirective, SpanColumnComponent, LoadingComponent, GridTableDirective, FilterCellOperatorsComponent, ContainsFilterOperatorComponent, DoesNotContainFilterOperatorComponent, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, NotEqualFilterOperatorComponent, StartsWithFilterOperatorComponent, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, AfterFilterOperatorComponent, AfterEqFilterOperatorComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, FilterInputDirective, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, FooterTemplateDirective, ColGroupComponent, ResizableContainerDirective, i1$3.TemplateContextDirective, FieldAccessorPipe, DetailTemplateDirective, SpanColumnComponent, LoadingComponent, GridTableDirective, FilterCellOperatorsComponent, ContainsFilterOperatorComponent, DoesNotContainFilterOperatorComponent, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, NotEqualFilterOperatorComponent, StartsWithFilterOperatorComponent, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, AfterFilterOperatorComponent, AfterEqFilterOperatorComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, FilterMenuTemplateDirective, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, FilterMenuHostDirective, BooleanFilterMenuComponent, FilterMenuDropDownListDirective, BooleanFilterRadioButtonDirective, ColumnMenuChooserItemCheckedDirective, ColumnListComponent, ColumnChooserComponent, ColumnChooserToolbarDirective, ColumnMenuChooserComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuSortComponent, ColumnMenuComponent, ColumnMenuLockComponent, ColumnMenuTemplateDirective, ColumnMenuContainerComponent, ColumnMenuItemDirective, ColumnMenuStickComponent, ColumnMenuPositionComponent, ColumnMenuAutoSizeColumnComponent, ColumnMenuAutoSizeAllColumnsComponent, GridComponent, ListComponent, ToolbarComponent, LocalizedMessagesDirective, CustomMessagesComponent, DataBindingDirective, ToolbarTemplateDirective, SelectionDirective, TemplateEditingDirective, ReactiveEditingDirective, InCellEditingDirective, ExternalEditingDirective, ExpandDetailsDirective, ExpandGroupDirective, GroupBindingDirective, GridMarqueeDirective, GridSpacerComponent, GridToolbarFocusableDirective, StatusBarComponent, StatusBarTemplateDirective, GridClipboardDirective, FormComponent, DialogFormComponent, FormFormFieldComponent, UndoRedoDirective, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, i52.ToolBarToolComponent, TableDirective,
|
|
35865
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: GridModule, imports: [GroupHeaderTemplateDirective, GroupHeaderColumnTemplateDirective, GroupFooterTemplateDirective, GroupHeaderComponent, GroupPanelComponent, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, FooterTemplateDirective, ColGroupComponent, ResizableContainerDirective, i1$3.TemplateContextDirective, FieldAccessorPipe, DetailTemplateDirective, SpanColumnComponent, LoadingComponent, GridTableDirective, CommandColumnComponent, CheckboxColumnComponent, SelectionCheckboxDirective, CellTemplateDirective, EditTemplateDirective, RowDragHandleTemplateDirective, RowDragHintTemplateDirective, TableBodyComponent, NoRecordsTemplateDirective, CellComponent, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, AddCommandToolbarDirective, EditCommandToolbarDirective, SaveCommandToolbarDirective, RemoveCommandToolbarDirective, CancelCommandToolbarDirective, CellLoadingTemplateDirective, LoadingTemplateDirective, RowReorderColumnComponent, SortCommandToolbarDirective, FilterCommandToolbarDirective, GroupCommandToolbarDirective, HeaderComponent, HeaderTemplateDirective, ColumnHandleDirective, SelectAllCheckboxDirective, FooterComponent, i51.CustomMessagesComponent, i51.PagerFocusableDirective, i51.PagerInfoComponent, i51.PagerInputComponent, i51.PagerNextButtonsComponent, i51.PagerNumericButtonsComponent, i51.PagerPageSizesComponent, i51.PagerPrevButtonsComponent, i51.PagerTemplateDirective, i51.PagerComponent, i51.PagerSpacerComponent, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, i52.ToolBarToolComponent, FilterRowComponent, FilterCellComponent, FilterCellTemplateDirective, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellHostDirective, FilterCellWrapperComponent, DateFilterCellComponent, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, FooterTemplateDirective, ColGroupComponent, ResizableContainerDirective, i1$3.TemplateContextDirective, FieldAccessorPipe, DetailTemplateDirective, SpanColumnComponent, LoadingComponent, GridTableDirective, FilterCellOperatorsComponent, ContainsFilterOperatorComponent, DoesNotContainFilterOperatorComponent, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, NotEqualFilterOperatorComponent, StartsWithFilterOperatorComponent, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, AfterFilterOperatorComponent, AfterEqFilterOperatorComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, FilterInputDirective, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, FooterTemplateDirective, ColGroupComponent, ResizableContainerDirective, i1$3.TemplateContextDirective, FieldAccessorPipe, DetailTemplateDirective, SpanColumnComponent, LoadingComponent, GridTableDirective, FilterCellOperatorsComponent, ContainsFilterOperatorComponent, DoesNotContainFilterOperatorComponent, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, NotEqualFilterOperatorComponent, StartsWithFilterOperatorComponent, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, AfterFilterOperatorComponent, AfterEqFilterOperatorComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, FilterMenuTemplateDirective, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, FilterMenuHostDirective, BooleanFilterMenuComponent, FilterMenuDropDownListDirective, BooleanFilterRadioButtonDirective, ColumnMenuChooserItemCheckedDirective, ColumnListComponent, ColumnChooserComponent, ColumnChooserToolbarDirective, ColumnMenuChooserComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuSortComponent, ColumnMenuComponent, ColumnMenuLockComponent, ColumnMenuTemplateDirective, ColumnMenuContainerComponent, ColumnMenuItemDirective, ColumnMenuStickComponent, ColumnMenuPositionComponent, ColumnMenuAutoSizeColumnComponent, ColumnMenuAutoSizeAllColumnsComponent, GridComponent, ListComponent, ToolbarComponent, LocalizedMessagesDirective, CustomMessagesComponent, DataBindingDirective, ToolbarTemplateDirective, SelectionDirective, HighlightDirective, TemplateEditingDirective, ReactiveEditingDirective, InCellEditingDirective, ExternalEditingDirective, ExpandDetailsDirective, ExpandGroupDirective, GroupBindingDirective, GridMarqueeDirective, GridSpacerComponent, GridToolbarFocusableDirective, StatusBarComponent, StatusBarTemplateDirective, GridClipboardDirective, FormComponent, DialogFormComponent, FormFormFieldComponent, UndoRedoDirective, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, i52.ToolBarToolComponent, TableDirective,
|
|
35651
35866
|
UndoCommandToolbarDirective,
|
|
35652
|
-
RedoCommandToolbarDirective], exports: [GridComponent, ToolbarTemplateDirective, ToolbarComponent, GridSpacerComponent, StatusBarTemplateDirective, DataBindingDirective, SelectionDirective, CustomMessagesComponent, GroupBindingDirective, TemplateEditingDirective, ReactiveEditingDirective, InCellEditingDirective, ExternalEditingDirective, ExpandDetailsDirective, ExpandGroupDirective, GridToolbarFocusableDirective, GroupHeaderTemplateDirective, GroupHeaderColumnTemplateDirective, GroupFooterTemplateDirective, GroupHeaderComponent, GroupPanelComponent, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, FooterTemplateDirective, ColGroupComponent, ResizableContainerDirective, i1$3.TemplateContextDirective, FieldAccessorPipe, DetailTemplateDirective, SpanColumnComponent, LoadingComponent, GridTableDirective, CommandColumnComponent, CheckboxColumnComponent, SelectionCheckboxDirective, CellTemplateDirective, EditTemplateDirective, RowDragHandleTemplateDirective, RowDragHintTemplateDirective, TableBodyComponent, NoRecordsTemplateDirective, CellComponent, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, AddCommandToolbarDirective, EditCommandToolbarDirective, SaveCommandToolbarDirective, RemoveCommandToolbarDirective, CancelCommandToolbarDirective, CellLoadingTemplateDirective, LoadingTemplateDirective, RowReorderColumnComponent, SortCommandToolbarDirective, FilterCommandToolbarDirective, GroupCommandToolbarDirective, HeaderComponent, HeaderTemplateDirective, ColumnHandleDirective, SelectAllCheckboxDirective, FilterRowComponent, FilterCellComponent, FilterCellTemplateDirective, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellHostDirective, FilterCellWrapperComponent, DateFilterCellComponent, FilterCellOperatorsComponent, ContainsFilterOperatorComponent, DoesNotContainFilterOperatorComponent, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, NotEqualFilterOperatorComponent, StartsWithFilterOperatorComponent, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, AfterFilterOperatorComponent, AfterEqFilterOperatorComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, FilterMenuTemplateDirective, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, FilterMenuHostDirective, BooleanFilterMenuComponent, FilterMenuDropDownListDirective, BooleanFilterRadioButtonDirective, ColumnChooserComponent, ColumnChooserToolbarDirective, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuSortComponent, ColumnMenuLockComponent, ColumnMenuStickComponent, ColumnMenuPositionComponent, ColumnMenuChooserComponent, ColumnMenuTemplateDirective, ColumnMenuContainerComponent, ColumnMenuItemDirective, ColumnMenuComponent, ColumnMenuAutoSizeColumnComponent, ColumnMenuAutoSizeAllColumnsComponent, GridClipboardDirective, UndoRedoDirective, UndoCommandToolbarDirective, RedoCommandToolbarDirective, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, i52.ToolBarToolComponent, i51.CustomMessagesComponent, i51.PagerFocusableDirective, i51.PagerInfoComponent, i51.PagerInputComponent, i51.PagerNextButtonsComponent, i51.PagerNumericButtonsComponent, i51.PagerPageSizesComponent, i51.PagerPrevButtonsComponent, i51.PagerTemplateDirective, i51.PagerComponent, i51.PagerSpacerComponent] });
|
|
35867
|
+
RedoCommandToolbarDirective], exports: [GridComponent, ToolbarTemplateDirective, ToolbarComponent, GridSpacerComponent, StatusBarTemplateDirective, DataBindingDirective, SelectionDirective, HighlightDirective, CustomMessagesComponent, GroupBindingDirective, TemplateEditingDirective, ReactiveEditingDirective, InCellEditingDirective, ExternalEditingDirective, ExpandDetailsDirective, ExpandGroupDirective, GridToolbarFocusableDirective, GroupHeaderTemplateDirective, GroupHeaderColumnTemplateDirective, GroupFooterTemplateDirective, GroupHeaderComponent, GroupPanelComponent, ColumnComponent, ColumnGroupComponent, LogicalCellDirective, LogicalRowDirective, FocusableDirective, FooterTemplateDirective, ColGroupComponent, ResizableContainerDirective, i1$3.TemplateContextDirective, FieldAccessorPipe, DetailTemplateDirective, SpanColumnComponent, LoadingComponent, GridTableDirective, CommandColumnComponent, CheckboxColumnComponent, SelectionCheckboxDirective, CellTemplateDirective, EditTemplateDirective, RowDragHandleTemplateDirective, RowDragHintTemplateDirective, TableBodyComponent, NoRecordsTemplateDirective, CellComponent, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, AddCommandToolbarDirective, EditCommandToolbarDirective, SaveCommandToolbarDirective, RemoveCommandToolbarDirective, CancelCommandToolbarDirective, CellLoadingTemplateDirective, LoadingTemplateDirective, RowReorderColumnComponent, SortCommandToolbarDirective, FilterCommandToolbarDirective, GroupCommandToolbarDirective, HeaderComponent, HeaderTemplateDirective, ColumnHandleDirective, SelectAllCheckboxDirective, FilterRowComponent, FilterCellComponent, FilterCellTemplateDirective, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellHostDirective, FilterCellWrapperComponent, DateFilterCellComponent, FilterCellOperatorsComponent, ContainsFilterOperatorComponent, DoesNotContainFilterOperatorComponent, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, NotEqualFilterOperatorComponent, StartsWithFilterOperatorComponent, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, AfterFilterOperatorComponent, AfterEqFilterOperatorComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, FilterMenuTemplateDirective, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, FilterMenuHostDirective, BooleanFilterMenuComponent, FilterMenuDropDownListDirective, BooleanFilterRadioButtonDirective, ColumnChooserComponent, ColumnChooserToolbarDirective, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuSortComponent, ColumnMenuLockComponent, ColumnMenuStickComponent, ColumnMenuPositionComponent, ColumnMenuChooserComponent, ColumnMenuTemplateDirective, ColumnMenuContainerComponent, ColumnMenuItemDirective, ColumnMenuComponent, ColumnMenuAutoSizeColumnComponent, ColumnMenuAutoSizeAllColumnsComponent, GridClipboardDirective, UndoRedoDirective, UndoCommandToolbarDirective, RedoCommandToolbarDirective, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, i52.ToolBarToolComponent, i51.CustomMessagesComponent, i51.PagerFocusableDirective, i51.PagerInfoComponent, i51.PagerInputComponent, i51.PagerNextButtonsComponent, i51.PagerNumericButtonsComponent, i51.PagerPageSizesComponent, i51.PagerPrevButtonsComponent, i51.PagerTemplateDirective, i51.PagerComponent, i51.PagerSpacerComponent] });
|
|
35653
35868
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridModule, providers: [
|
|
35654
35869
|
PopupService,
|
|
35655
35870
|
ResizeBatchService,
|
|
@@ -35776,5 +35991,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
35776
35991
|
* Generated bundle index. Do not edit.
|
|
35777
35992
|
*/
|
|
35778
35993
|
|
|
35779
|
-
export { AddCommandDirective, AddCommandToolbarDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, BrowserSupportService, CELL_CONTEXT, CancelCommandDirective, CancelCommandToolbarDirective, CellCloseEvent, CellComponent, CellLoadingTemplateDirective, CellSelectionAggregateService, CellSelectionService, CellTemplateDirective, ChangeNotificationService, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnChooserToolbarDirective, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, ColumnListComponent, ColumnLockedChangeEvent, ColumnMenuAutoSizeAllColumnsComponent, ColumnMenuAutoSizeColumnComponent, ColumnMenuChooserComponent, ColumnMenuComponent, ColumnMenuContainerComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuItemDirective, ColumnMenuLockComponent, ColumnMenuPositionComponent, ColumnMenuService, ColumnMenuSortComponent, ColumnMenuStickComponent, ColumnMenuTemplateDirective, ColumnReorderEvent, ColumnReorderService, ColumnResizingService, ColumnStickyChangeEvent, ColumnVisibilityChangeEvent, ColumnsContainer, CommandColumnComponent, ContainsFilterOperatorComponent, ContextService, CustomMessagesComponent, DEFAULT_SCROLLER_FACTORY, DataBindingDirective, DateFilterCellComponent, DateFilterComponent, DateFilterMenuComponent, DateFilterMenuInputComponent, DetailCollapseEvent, DetailExpandEvent, DetailTemplateDirective, DetailsService, DoesNotContainFilterOperatorComponent, DomEventsService, DragAndDropService, DragHintService, DropCueService, EditCommandDirective, EditCommandToolbarDirective, EditService as EditServiceClass, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelCommandToolbarDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandDetailsDirective, ExpandGroupDirective, ExternalEditingDirective, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterCommandToolbarDirective, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuDropDownListDirective, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuTemplateDirective, FilterRowComponent, FilterService, FocusRoot, FocusableDirective, FooterComponent, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, GridClipboardDirective, GridComponent, GridModule, GridSpacerComponent, GridTableDirective, GridToolbarFocusableDirective, GridToolbarNavigationService, GroupBindingDirective, GroupCommandToolbarDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderComponent, GroupHeaderTemplateDirective, GroupInfoService, GroupPanelComponent, GroupsService, HeaderComponent, HeaderTemplateDirective, IdService, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, KENDO_GRID, KENDO_GRID_BODY_EXPORTS, KENDO_GRID_COLUMN_DRAGANDDROP, KENDO_GRID_COLUMN_MENU_DECLARATIONS, KENDO_GRID_COLUMN_MENU_EXPORTS, KENDO_GRID_DECLARATIONS, KENDO_GRID_EXCEL_EXPORT, KENDO_GRID_EXPORTS, KENDO_GRID_FILTER_MENU, KENDO_GRID_FILTER_MENU_EXPORTS, KENDO_GRID_FILTER_OPERATORS, KENDO_GRID_FILTER_ROW, KENDO_GRID_FILTER_ROW_EXPORTS, KENDO_GRID_FILTER_SHARED, KENDO_GRID_FOOTER_EXPORTS, KENDO_GRID_GROUP_EXPORTS, KENDO_GRID_HEADER_EXPORTS, KENDO_GRID_PDF_EXPORT, KENDO_GRID_SHARED, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, ListComponent, LoadingComponent, LoadingTemplateDirective, LocalDataChangesService, LogicalCellDirective, LogicalRowDirective, MenuTabbingService, NavigationService, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PDFCommandDirective, PDFCommandToolbarDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PopupCloseEvent, ReactiveEditingDirective, RedoCommandToolbarDirective, RemoveCommandDirective, RemoveCommandToolbarDirective, ResizableContainerDirective, ResizeService, ResponsiveService, RowDragHandleTemplateDirective, RowDragHintTemplateDirective, RowEditingDirectiveBase, RowReorderColumnComponent, RowReorderService, SaveCommandDirective, SaveCommandToolbarDirective, ScrollRequestService, ScrollSyncService, SelectAllCheckboxDirective, SelectionCheckboxDirective, SelectionDirective, SelectionService, SinglePopupService, SizingOptionsService, Skip, SortCommandToolbarDirective, SortService, SpanColumnComponent, StartsWithFilterOperatorComponent, StatusBarTemplateDirective, StringFilterCellComponent, StringFilterComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, UndoCommandToolbarDirective, UndoRedoDirective, UndoRedoEvent, count, defaultTrackBy, hasFilterMenu, hasFilterRow, isFilterable, slice };
|
|
35994
|
+
export { AddCommandDirective, AddCommandToolbarDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, BrowserSupportService, CELL_CONTEXT, CancelCommandDirective, CancelCommandToolbarDirective, CellCloseEvent, CellComponent, CellLoadingTemplateDirective, CellSelectionAggregateService, CellSelectionService, CellTemplateDirective, ChangeNotificationService, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnChooserToolbarDirective, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, ColumnListComponent, ColumnLockedChangeEvent, ColumnMenuAutoSizeAllColumnsComponent, ColumnMenuAutoSizeColumnComponent, ColumnMenuChooserComponent, ColumnMenuComponent, ColumnMenuContainerComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuItemContentTemplateDirective, ColumnMenuItemDirective, ColumnMenuLockComponent, ColumnMenuPositionComponent, ColumnMenuService, ColumnMenuSortComponent, ColumnMenuStickComponent, ColumnMenuTemplateDirective, ColumnReorderEvent, ColumnReorderService, ColumnResizingService, ColumnStickyChangeEvent, ColumnVisibilityChangeEvent, ColumnsContainer, CommandColumnComponent, ContainsFilterOperatorComponent, ContextService, CustomMessagesComponent, DEFAULT_SCROLLER_FACTORY, DataBindingDirective, DateFilterCellComponent, DateFilterComponent, DateFilterMenuComponent, DateFilterMenuInputComponent, DetailCollapseEvent, DetailExpandEvent, DetailTemplateDirective, DetailsService, DoesNotContainFilterOperatorComponent, DomEventsService, DragAndDropService, DragHintService, DropCueService, EditCommandDirective, EditCommandToolbarDirective, EditService as EditServiceClass, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelCommandToolbarDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandDetailsDirective, ExpandGroupDirective, ExternalEditingDirective, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterCommandToolbarDirective, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuDropDownListDirective, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuTemplateDirective, FilterRowComponent, FilterService, FocusRoot, FocusableDirective, FooterComponent, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, GridClipboardDirective, GridComponent, GridModule, GridSpacerComponent, GridTableDirective, GridToolbarFocusableDirective, GridToolbarNavigationService, GroupBindingDirective, GroupCommandToolbarDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderComponent, GroupHeaderTemplateDirective, GroupInfoService, GroupPanelComponent, GroupsService, HeaderComponent, HeaderTemplateDirective, HighlightDirective, IdService, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, KENDO_GRID, KENDO_GRID_BODY_EXPORTS, KENDO_GRID_COLUMN_DRAGANDDROP, KENDO_GRID_COLUMN_MENU_DECLARATIONS, KENDO_GRID_COLUMN_MENU_EXPORTS, KENDO_GRID_DECLARATIONS, KENDO_GRID_EXCEL_EXPORT, KENDO_GRID_EXPORTS, KENDO_GRID_FILTER_MENU, KENDO_GRID_FILTER_MENU_EXPORTS, KENDO_GRID_FILTER_OPERATORS, KENDO_GRID_FILTER_ROW, KENDO_GRID_FILTER_ROW_EXPORTS, KENDO_GRID_FILTER_SHARED, KENDO_GRID_FOOTER_EXPORTS, KENDO_GRID_GROUP_EXPORTS, KENDO_GRID_HEADER_EXPORTS, KENDO_GRID_PDF_EXPORT, KENDO_GRID_SHARED, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, ListComponent, LoadingComponent, LoadingTemplateDirective, LocalDataChangesService, LogicalCellDirective, LogicalRowDirective, MenuTabbingService, NavigationService, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PDFCommandDirective, PDFCommandToolbarDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PopupCloseEvent, ReactiveEditingDirective, RedoCommandToolbarDirective, RemoveCommandDirective, RemoveCommandToolbarDirective, ResizableContainerDirective, ResizeService, ResponsiveService, RowDragHandleTemplateDirective, RowDragHintTemplateDirective, RowEditingDirectiveBase, RowReorderColumnComponent, RowReorderService, SaveCommandDirective, SaveCommandToolbarDirective, ScrollRequestService, ScrollSyncService, SelectAllCheckboxDirective, SelectionCheckboxDirective, SelectionDirective, SelectionService, SinglePopupService, SizingOptionsService, Skip, SortCommandToolbarDirective, SortService, SpanColumnComponent, StartsWithFilterOperatorComponent, StatusBarTemplateDirective, StringFilterCellComponent, StringFilterComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, UndoCommandToolbarDirective, UndoRedoDirective, UndoRedoEvent, count, defaultTrackBy, hasFilterMenu, hasFilterRow, isFilterable, slice };
|
|
35780
35995
|
|