@progress/kendo-angular-grid 11.0.0-develop.88 → 11.0.0-develop.90
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/esm2020/dragdrop/drag-hint.service.mjs +1 -1
- package/esm2020/grouping/group-panel.component.mjs +66 -56
- package/esm2020/grouping/group.module.mjs +6 -9
- package/esm2020/index.mjs +0 -1
- package/esm2020/package-metadata.mjs +1 -1
- package/fesm2015/progress-kendo-angular-grid.mjs +74 -136
- package/fesm2020/progress-kendo-angular-grid.mjs +74 -136
- package/grouping/group-panel.component.d.ts +1 -0
- package/grouping/group.module.d.ts +5 -5
- package/index.d.ts +0 -1
- package/package.json +14 -14
- package/esm2020/grouping/group-indicator.component.mjs +0 -74
- package/grouping/group-indicator.component.d.ts +0 -22
|
@@ -39,7 +39,7 @@ export class DragHintService {
|
|
|
39
39
|
decorate(this.dom);
|
|
40
40
|
const safeTitle = this.santizer.sanitize(SecurityContext.HTML, title);
|
|
41
41
|
this.dom.innerHTML = `
|
|
42
|
-
<span class="k-icon k-drag-status k-i-cancel
|
|
42
|
+
<span class="k-icon k-drag-status k-i-cancel">
|
|
43
43
|
<span class="k-icon k-icon-modifier"></span>
|
|
44
44
|
</span>
|
|
45
45
|
${safeTitle}
|
|
@@ -17,7 +17,7 @@ import * as i1 from "../dragdrop/drag-hint.service";
|
|
|
17
17
|
import * as i2 from "../dragdrop/drop-cue.service";
|
|
18
18
|
import * as i3 from "./group-info.service";
|
|
19
19
|
import * as i4 from "@progress/kendo-angular-l10n";
|
|
20
|
-
import * as i5 from "
|
|
20
|
+
import * as i5 from "@progress/kendo-angular-buttons";
|
|
21
21
|
import * as i6 from "@angular/common";
|
|
22
22
|
import * as i7 from "../dragdrop/drop-target.directive";
|
|
23
23
|
import * as i8 from "../dragdrop/draggable-column.directive";
|
|
@@ -77,7 +77,12 @@ export class GroupPanelComponent {
|
|
|
77
77
|
this.targetSubscription.unsubscribe();
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
+
getDirectionIcon(group) {
|
|
81
|
+
return group.dir === 'desc' ? 'sort-desc-sm' : 'sort-asc-sm';
|
|
82
|
+
}
|
|
80
83
|
directionChange(group) {
|
|
84
|
+
group.dir = group.dir ? group.dir : "asc";
|
|
85
|
+
group.dir = group.dir === 'asc' ? 'desc' : 'asc';
|
|
81
86
|
const index = this.groups.findIndex(x => x.field === group.field);
|
|
82
87
|
const groups = [...this.groups.slice(0, index), group, ...this.groups.slice(index + 1)];
|
|
83
88
|
this.change.emit(groups);
|
|
@@ -134,90 +139,98 @@ export class GroupPanelComponent {
|
|
|
134
139
|
}
|
|
135
140
|
}
|
|
136
141
|
GroupPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupPanelComponent, deps: [{ token: i1.DragHintService }, { token: i2.DropCueService }, { token: i3.GroupInfoService }, { token: i4.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
137
|
-
GroupPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: { text: "text", groups: "groups" }, outputs: { change: "change" }, host: { properties: { "class.k-grouping-header": "this.groupHeaderClass"
|
|
138
|
-
<
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
[context]="{
|
|
142
|
-
lastTarget: true
|
|
143
|
-
}"
|
|
144
|
-
kendoDropTarget>
|
|
145
|
-
{{ text }}
|
|
146
|
-
</div>
|
|
147
|
-
</ng-container>
|
|
148
|
-
<div *ngFor="let group of groups; let index = index;"
|
|
149
|
-
class="k-indicator-container"
|
|
142
|
+
GroupPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: { text: "text", groups: "groups" }, outputs: { change: "change" }, host: { properties: { "class.k-grouping-header": "this.groupHeaderClass" } }, viewQueries: [{ propertyName: "dropTargets", predicate: DropTargetDirective, descendants: true }], ngImport: i0, template: `
|
|
143
|
+
<div
|
|
144
|
+
*ngIf="groups.length === 0"
|
|
145
|
+
class="k-grouping-drop-container"
|
|
150
146
|
[context]="{
|
|
151
|
-
|
|
147
|
+
lastTarget: true
|
|
152
148
|
}"
|
|
153
|
-
kendoDropTarget
|
|
154
|
-
|
|
149
|
+
kendoDropTarget
|
|
150
|
+
>
|
|
151
|
+
{{ text }}
|
|
152
|
+
</div>
|
|
153
|
+
|
|
154
|
+
<kendo-chiplist
|
|
155
|
+
*ngIf="groups.length !== 0"
|
|
156
|
+
>
|
|
157
|
+
<kendo-chip
|
|
158
|
+
*ngFor="let group of groups; let index = index;"
|
|
159
|
+
kendoDropTarget
|
|
155
160
|
kendoDraggableColumn
|
|
161
|
+
kendoDraggable
|
|
156
162
|
[enableDrag]="true"
|
|
157
163
|
[context]="{
|
|
158
164
|
field: group.field,
|
|
159
165
|
type: 'groupIndicator',
|
|
160
166
|
hint: groupTitles[index]
|
|
161
167
|
}"
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
[
|
|
165
|
-
|
|
166
|
-
(
|
|
167
|
-
|
|
168
|
-
</
|
|
169
|
-
</
|
|
170
|
-
|
|
168
|
+
[label]="groupTitles[index]"
|
|
169
|
+
[removable]="true"
|
|
170
|
+
[icon]="getDirectionIcon(group)"
|
|
171
|
+
(contentClick)="directionChange(group)"
|
|
172
|
+
(remove)="remove(group)"
|
|
173
|
+
>
|
|
174
|
+
</kendo-chip>
|
|
175
|
+
</kendo-chiplist>
|
|
176
|
+
|
|
177
|
+
<div
|
|
171
178
|
*ngIf="groups.length !== 0"
|
|
179
|
+
class="k-grouping-drop-container"
|
|
172
180
|
[context]="{
|
|
173
181
|
lastTarget: true
|
|
174
182
|
}"
|
|
175
|
-
kendoDropTarget
|
|
176
|
-
|
|
183
|
+
kendoDropTarget
|
|
184
|
+
> </div>
|
|
185
|
+
`, isInline: true, components: [{ type: i5.ChipListComponent, selector: "kendo-chiplist, kendo-chip-list", inputs: ["selection", "size"], outputs: ["selectedChange", "remove"] }, { type: i5.ChipComponent, selector: "kendo-chip", inputs: ["label", "icon", "svgIcon", "iconClass", "avatarClass", "selected", "removable", "removeIcon", "removeSvgIcon", "disabled", "size", "rounded", "fillMode", "themeColor"], outputs: ["remove", "contentClick"] }], directives: [{ type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i7.DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.DraggableColumnDirective, selector: "[kendoDraggableColumn]", inputs: ["context", "enableDrag"], outputs: ["drag"] }, { type: i9.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
177
186
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupPanelComponent, decorators: [{
|
|
178
187
|
type: Component,
|
|
179
188
|
args: [{
|
|
180
189
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
181
190
|
selector: 'kendo-grid-group-panel',
|
|
182
191
|
template: `
|
|
183
|
-
<
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
[context]="{
|
|
187
|
-
lastTarget: true
|
|
188
|
-
}"
|
|
189
|
-
kendoDropTarget>
|
|
190
|
-
{{ text }}
|
|
191
|
-
</div>
|
|
192
|
-
</ng-container>
|
|
193
|
-
<div *ngFor="let group of groups; let index = index;"
|
|
194
|
-
class="k-indicator-container"
|
|
192
|
+
<div
|
|
193
|
+
*ngIf="groups.length === 0"
|
|
194
|
+
class="k-grouping-drop-container"
|
|
195
195
|
[context]="{
|
|
196
|
-
|
|
196
|
+
lastTarget: true
|
|
197
197
|
}"
|
|
198
|
-
kendoDropTarget
|
|
199
|
-
|
|
198
|
+
kendoDropTarget
|
|
199
|
+
>
|
|
200
|
+
{{ text }}
|
|
201
|
+
</div>
|
|
202
|
+
|
|
203
|
+
<kendo-chiplist
|
|
204
|
+
*ngIf="groups.length !== 0"
|
|
205
|
+
>
|
|
206
|
+
<kendo-chip
|
|
207
|
+
*ngFor="let group of groups; let index = index;"
|
|
208
|
+
kendoDropTarget
|
|
200
209
|
kendoDraggableColumn
|
|
210
|
+
kendoDraggable
|
|
201
211
|
[enableDrag]="true"
|
|
202
212
|
[context]="{
|
|
203
213
|
field: group.field,
|
|
204
214
|
type: 'groupIndicator',
|
|
205
215
|
hint: groupTitles[index]
|
|
206
216
|
}"
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
[
|
|
210
|
-
|
|
211
|
-
(
|
|
212
|
-
|
|
213
|
-
</
|
|
214
|
-
</
|
|
215
|
-
|
|
217
|
+
[label]="groupTitles[index]"
|
|
218
|
+
[removable]="true"
|
|
219
|
+
[icon]="getDirectionIcon(group)"
|
|
220
|
+
(contentClick)="directionChange(group)"
|
|
221
|
+
(remove)="remove(group)"
|
|
222
|
+
>
|
|
223
|
+
</kendo-chip>
|
|
224
|
+
</kendo-chiplist>
|
|
225
|
+
|
|
226
|
+
<div
|
|
216
227
|
*ngIf="groups.length !== 0"
|
|
228
|
+
class="k-grouping-drop-container"
|
|
217
229
|
[context]="{
|
|
218
230
|
lastTarget: true
|
|
219
231
|
}"
|
|
220
|
-
kendoDropTarget
|
|
232
|
+
kendoDropTarget
|
|
233
|
+
> </div>
|
|
221
234
|
`
|
|
222
235
|
}]
|
|
223
236
|
}], ctorParameters: function () { return [{ type: i1.DragHintService }, { type: i2.DropCueService }, { type: i3.GroupInfoService }, { type: i4.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { change: [{
|
|
@@ -225,9 +238,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
225
238
|
}], groupHeaderClass: [{
|
|
226
239
|
type: HostBinding,
|
|
227
240
|
args: ["class.k-grouping-header"]
|
|
228
|
-
}, {
|
|
229
|
-
type: HostBinding,
|
|
230
|
-
args: ["class.k-grouping-header-flex"]
|
|
231
241
|
}], text: [{
|
|
232
242
|
type: Input
|
|
233
243
|
}], groups: [{
|
|
@@ -9,17 +9,16 @@ import { GroupHeaderColumnTemplateDirective } from './group-header-column-templa
|
|
|
9
9
|
import { GroupHeaderComponent } from './group-header.component';
|
|
10
10
|
import { GroupFooterTemplateDirective } from './group-footer-template.directive';
|
|
11
11
|
import { GroupPanelComponent } from './group-panel.component';
|
|
12
|
-
import { GroupIndicatorComponent } from './group-indicator.component';
|
|
13
12
|
import { SharedModule } from "../shared.module";
|
|
14
13
|
import { DragAndDropModule } from '../dragdrop/drag-and-drop.module';
|
|
14
|
+
import { ChipModule } from '@progress/kendo-angular-buttons';
|
|
15
15
|
import * as i0 from "@angular/core";
|
|
16
16
|
const exportedModules = [
|
|
17
17
|
GroupHeaderTemplateDirective,
|
|
18
18
|
GroupHeaderColumnTemplateDirective,
|
|
19
19
|
GroupFooterTemplateDirective,
|
|
20
20
|
GroupHeaderComponent,
|
|
21
|
-
GroupPanelComponent
|
|
22
|
-
GroupIndicatorComponent
|
|
21
|
+
GroupPanelComponent
|
|
23
22
|
];
|
|
24
23
|
/**
|
|
25
24
|
* @hidden
|
|
@@ -38,19 +37,17 @@ GroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "1
|
|
|
38
37
|
GroupHeaderColumnTemplateDirective,
|
|
39
38
|
GroupFooterTemplateDirective,
|
|
40
39
|
GroupHeaderComponent,
|
|
41
|
-
GroupPanelComponent,
|
|
42
|
-
GroupIndicatorComponent], imports: [CommonModule, SharedModule, DragAndDropModule], exports: [GroupHeaderTemplateDirective,
|
|
40
|
+
GroupPanelComponent], imports: [CommonModule, SharedModule, DragAndDropModule, ChipModule], exports: [GroupHeaderTemplateDirective,
|
|
43
41
|
GroupHeaderColumnTemplateDirective,
|
|
44
42
|
GroupFooterTemplateDirective,
|
|
45
43
|
GroupHeaderComponent,
|
|
46
|
-
GroupPanelComponent
|
|
47
|
-
|
|
48
|
-
GroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupModule, imports: [[CommonModule, SharedModule, DragAndDropModule]] });
|
|
44
|
+
GroupPanelComponent] });
|
|
45
|
+
GroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupModule, imports: [[CommonModule, SharedModule, DragAndDropModule, ChipModule]] });
|
|
49
46
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupModule, decorators: [{
|
|
50
47
|
type: NgModule,
|
|
51
48
|
args: [{
|
|
52
49
|
declarations: [exportedModules],
|
|
53
50
|
exports: [exportedModules],
|
|
54
|
-
imports: [CommonModule, SharedModule, DragAndDropModule]
|
|
51
|
+
imports: [CommonModule, SharedModule, DragAndDropModule, ChipModule]
|
|
55
52
|
}]
|
|
56
53
|
}] });
|
package/esm2020/index.mjs
CHANGED
|
@@ -201,7 +201,6 @@ export { PagerInputDirective } from './pager/pager-input.directive';
|
|
|
201
201
|
export { PagerDropDownListDirective } from './pager/pager-dropdown.directive';
|
|
202
202
|
export { GroupHeaderComponent } from './grouping/group-header.component';
|
|
203
203
|
export { GroupPanelComponent } from './grouping/group-panel.component';
|
|
204
|
-
export { GroupIndicatorComponent } from './grouping/group-indicator.component';
|
|
205
204
|
export { SizingOptionsService } from './layout/sizing-options.service';
|
|
206
205
|
export { GridTableDirective } from './rendering/grid-table.directive';
|
|
207
206
|
// Needed as it is an optional injection of the FilterService
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-grid',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1673012733,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -20,7 +20,7 @@ import * as i1$2 from '@progress/kendo-angular-popup';
|
|
|
20
20
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
21
21
|
import * as i1$3 from '@angular/platform-browser';
|
|
22
22
|
import * as i4$1 from '@progress/kendo-angular-buttons';
|
|
23
|
-
import { ButtonModule, Button } from '@progress/kendo-angular-buttons';
|
|
23
|
+
import { ButtonModule, ChipModule, Button } from '@progress/kendo-angular-buttons';
|
|
24
24
|
import * as i3 from '@progress/kendo-angular-inputs';
|
|
25
25
|
import { NumericTextBoxComponent, InputsModule, NumericTextBoxModule } from '@progress/kendo-angular-inputs';
|
|
26
26
|
import * as i1$4 from '@progress/kendo-angular-dropdowns';
|
|
@@ -2855,7 +2855,7 @@ const packageMetadata = {
|
|
|
2855
2855
|
name: '@progress/kendo-angular-grid',
|
|
2856
2856
|
productName: 'Kendo UI for Angular',
|
|
2857
2857
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
2858
|
-
publishDate:
|
|
2858
|
+
publishDate: 1673012733,
|
|
2859
2859
|
version: '',
|
|
2860
2860
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
2861
2861
|
};
|
|
@@ -6309,7 +6309,7 @@ class DragHintService {
|
|
|
6309
6309
|
decorate(this.dom);
|
|
6310
6310
|
const safeTitle = this.santizer.sanitize(SecurityContext.HTML, title);
|
|
6311
6311
|
this.dom.innerHTML = `
|
|
6312
|
-
<span class="k-icon k-drag-status k-i-cancel
|
|
6312
|
+
<span class="k-icon k-drag-status k-i-cancel">
|
|
6313
6313
|
<span class="k-icon k-icon-modifier"></span>
|
|
6314
6314
|
</span>
|
|
6315
6315
|
${safeTitle}
|
|
@@ -8276,75 +8276,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8276
8276
|
type: Output
|
|
8277
8277
|
}] } });
|
|
8278
8278
|
|
|
8279
|
-
/**
|
|
8280
|
-
* @hidden
|
|
8281
|
-
*/
|
|
8282
|
-
class GroupIndicatorComponent {
|
|
8283
|
-
constructor() {
|
|
8284
|
-
this.directionChange = new EventEmitter();
|
|
8285
|
-
this.remove = new EventEmitter();
|
|
8286
|
-
}
|
|
8287
|
-
get groupIndicatorClass() {
|
|
8288
|
-
return true;
|
|
8289
|
-
}
|
|
8290
|
-
get dir() {
|
|
8291
|
-
return this.group.dir ? this.group.dir : "asc";
|
|
8292
|
-
}
|
|
8293
|
-
toggleDirection() {
|
|
8294
|
-
this.directionChange.emit({
|
|
8295
|
-
dir: this.dir === "asc" ? "desc" : "asc",
|
|
8296
|
-
field: this.group.field
|
|
8297
|
-
});
|
|
8298
|
-
return false;
|
|
8299
|
-
}
|
|
8300
|
-
removeDescriptor() {
|
|
8301
|
-
this.remove.emit({
|
|
8302
|
-
dir: this.group.dir,
|
|
8303
|
-
field: this.group.field
|
|
8304
|
-
});
|
|
8305
|
-
return false;
|
|
8306
|
-
}
|
|
8307
|
-
}
|
|
8308
|
-
GroupIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8309
|
-
GroupIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GroupIndicatorComponent, selector: "[kendoGroupIndicator]", inputs: { group: "group", groupTitle: "groupTitle" }, outputs: { directionChange: "directionChange", remove: "remove" }, host: { properties: { "class.k-group-indicator": "this.groupIndicatorClass" } }, ngImport: i0, template: `
|
|
8310
|
-
<a href="#" class="k-link" tabindex="-1" (click)="toggleDirection()">
|
|
8311
|
-
<span class="k-icon"
|
|
8312
|
-
[class.k-i-sort-asc-small]="dir === 'asc'"
|
|
8313
|
-
[class.k-i-sort-desc-small]="dir === 'desc'"></span>
|
|
8314
|
-
{{groupTitle}}</a>
|
|
8315
|
-
<a class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button" tabindex="-1" (click)="removeDescriptor()">
|
|
8316
|
-
<span class="k-button-icon k-icon k-i-x"></span>
|
|
8317
|
-
</a>
|
|
8318
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupIndicatorComponent, decorators: [{
|
|
8320
|
-
type: Component,
|
|
8321
|
-
args: [{
|
|
8322
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
8323
|
-
selector: '[kendoGroupIndicator]',
|
|
8324
|
-
template: `
|
|
8325
|
-
<a href="#" class="k-link" tabindex="-1" (click)="toggleDirection()">
|
|
8326
|
-
<span class="k-icon"
|
|
8327
|
-
[class.k-i-sort-asc-small]="dir === 'asc'"
|
|
8328
|
-
[class.k-i-sort-desc-small]="dir === 'desc'"></span>
|
|
8329
|
-
{{groupTitle}}</a>
|
|
8330
|
-
<a class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button" tabindex="-1" (click)="removeDescriptor()">
|
|
8331
|
-
<span class="k-button-icon k-icon k-i-x"></span>
|
|
8332
|
-
</a>
|
|
8333
|
-
`
|
|
8334
|
-
}]
|
|
8335
|
-
}], propDecorators: { directionChange: [{
|
|
8336
|
-
type: Output
|
|
8337
|
-
}], remove: [{
|
|
8338
|
-
type: Output
|
|
8339
|
-
}], group: [{
|
|
8340
|
-
type: Input
|
|
8341
|
-
}], groupTitle: [{
|
|
8342
|
-
type: Input
|
|
8343
|
-
}], groupIndicatorClass: [{
|
|
8344
|
-
type: HostBinding,
|
|
8345
|
-
args: ["class.k-group-indicator"]
|
|
8346
|
-
}] } });
|
|
8347
|
-
|
|
8348
8279
|
/**
|
|
8349
8280
|
* @hidden
|
|
8350
8281
|
*/
|
|
@@ -8516,7 +8447,12 @@ class GroupPanelComponent {
|
|
|
8516
8447
|
this.targetSubscription.unsubscribe();
|
|
8517
8448
|
}
|
|
8518
8449
|
}
|
|
8450
|
+
getDirectionIcon(group) {
|
|
8451
|
+
return group.dir === 'desc' ? 'sort-desc-sm' : 'sort-asc-sm';
|
|
8452
|
+
}
|
|
8519
8453
|
directionChange(group) {
|
|
8454
|
+
group.dir = group.dir ? group.dir : "asc";
|
|
8455
|
+
group.dir = group.dir === 'asc' ? 'desc' : 'asc';
|
|
8520
8456
|
const index = this.groups.findIndex(x => x.field === group.field);
|
|
8521
8457
|
const groups = [...this.groups.slice(0, index), group, ...this.groups.slice(index + 1)];
|
|
8522
8458
|
this.change.emit(groups);
|
|
@@ -8573,90 +8509,98 @@ class GroupPanelComponent {
|
|
|
8573
8509
|
}
|
|
8574
8510
|
}
|
|
8575
8511
|
GroupPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupPanelComponent, deps: [{ token: DragHintService }, { token: DropCueService }, { token: GroupInfoService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
8576
|
-
GroupPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: { text: "text", groups: "groups" }, outputs: { change: "change" }, host: { properties: { "class.k-grouping-header": "this.groupHeaderClass"
|
|
8577
|
-
<
|
|
8578
|
-
|
|
8579
|
-
|
|
8580
|
-
[context]="{
|
|
8581
|
-
lastTarget: true
|
|
8582
|
-
}"
|
|
8583
|
-
kendoDropTarget>
|
|
8584
|
-
{{ text }}
|
|
8585
|
-
</div>
|
|
8586
|
-
</ng-container>
|
|
8587
|
-
<div *ngFor="let group of groups; let index = index;"
|
|
8588
|
-
class="k-indicator-container"
|
|
8512
|
+
GroupPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: { text: "text", groups: "groups" }, outputs: { change: "change" }, host: { properties: { "class.k-grouping-header": "this.groupHeaderClass" } }, viewQueries: [{ propertyName: "dropTargets", predicate: DropTargetDirective, descendants: true }], ngImport: i0, template: `
|
|
8513
|
+
<div
|
|
8514
|
+
*ngIf="groups.length === 0"
|
|
8515
|
+
class="k-grouping-drop-container"
|
|
8589
8516
|
[context]="{
|
|
8590
|
-
|
|
8517
|
+
lastTarget: true
|
|
8591
8518
|
}"
|
|
8592
|
-
kendoDropTarget
|
|
8593
|
-
|
|
8519
|
+
kendoDropTarget
|
|
8520
|
+
>
|
|
8521
|
+
{{ text }}
|
|
8522
|
+
</div>
|
|
8523
|
+
|
|
8524
|
+
<kendo-chiplist
|
|
8525
|
+
*ngIf="groups.length !== 0"
|
|
8526
|
+
>
|
|
8527
|
+
<kendo-chip
|
|
8528
|
+
*ngFor="let group of groups; let index = index;"
|
|
8529
|
+
kendoDropTarget
|
|
8594
8530
|
kendoDraggableColumn
|
|
8531
|
+
kendoDraggable
|
|
8595
8532
|
[enableDrag]="true"
|
|
8596
8533
|
[context]="{
|
|
8597
8534
|
field: group.field,
|
|
8598
8535
|
type: 'groupIndicator',
|
|
8599
8536
|
hint: groupTitles[index]
|
|
8600
8537
|
}"
|
|
8601
|
-
|
|
8602
|
-
|
|
8603
|
-
[
|
|
8604
|
-
|
|
8605
|
-
(
|
|
8606
|
-
|
|
8607
|
-
</
|
|
8608
|
-
</
|
|
8609
|
-
|
|
8538
|
+
[label]="groupTitles[index]"
|
|
8539
|
+
[removable]="true"
|
|
8540
|
+
[icon]="getDirectionIcon(group)"
|
|
8541
|
+
(contentClick)="directionChange(group)"
|
|
8542
|
+
(remove)="remove(group)"
|
|
8543
|
+
>
|
|
8544
|
+
</kendo-chip>
|
|
8545
|
+
</kendo-chiplist>
|
|
8546
|
+
|
|
8547
|
+
<div
|
|
8610
8548
|
*ngIf="groups.length !== 0"
|
|
8549
|
+
class="k-grouping-drop-container"
|
|
8611
8550
|
[context]="{
|
|
8612
8551
|
lastTarget: true
|
|
8613
8552
|
}"
|
|
8614
|
-
kendoDropTarget
|
|
8615
|
-
|
|
8553
|
+
kendoDropTarget
|
|
8554
|
+
> </div>
|
|
8555
|
+
`, isInline: true, components: [{ type: i4$1.ChipListComponent, selector: "kendo-chiplist, kendo-chip-list", inputs: ["selection", "size"], outputs: ["selectedChange", "remove"] }, { type: i4$1.ChipComponent, selector: "kendo-chip", inputs: ["label", "icon", "svgIcon", "iconClass", "avatarClass", "selected", "removable", "removeIcon", "removeSvgIcon", "disabled", "size", "rounded", "fillMode", "themeColor"], outputs: ["remove", "contentClick"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: DraggableColumnDirective, selector: "[kendoDraggableColumn]", inputs: ["context", "enableDrag"], outputs: ["drag"] }, { type: i1$1.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8616
8556
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupPanelComponent, decorators: [{
|
|
8617
8557
|
type: Component,
|
|
8618
8558
|
args: [{
|
|
8619
8559
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
8620
8560
|
selector: 'kendo-grid-group-panel',
|
|
8621
8561
|
template: `
|
|
8622
|
-
<
|
|
8623
|
-
|
|
8624
|
-
|
|
8625
|
-
[context]="{
|
|
8626
|
-
lastTarget: true
|
|
8627
|
-
}"
|
|
8628
|
-
kendoDropTarget>
|
|
8629
|
-
{{ text }}
|
|
8630
|
-
</div>
|
|
8631
|
-
</ng-container>
|
|
8632
|
-
<div *ngFor="let group of groups; let index = index;"
|
|
8633
|
-
class="k-indicator-container"
|
|
8562
|
+
<div
|
|
8563
|
+
*ngIf="groups.length === 0"
|
|
8564
|
+
class="k-grouping-drop-container"
|
|
8634
8565
|
[context]="{
|
|
8635
|
-
|
|
8566
|
+
lastTarget: true
|
|
8636
8567
|
}"
|
|
8637
|
-
kendoDropTarget
|
|
8638
|
-
|
|
8568
|
+
kendoDropTarget
|
|
8569
|
+
>
|
|
8570
|
+
{{ text }}
|
|
8571
|
+
</div>
|
|
8572
|
+
|
|
8573
|
+
<kendo-chiplist
|
|
8574
|
+
*ngIf="groups.length !== 0"
|
|
8575
|
+
>
|
|
8576
|
+
<kendo-chip
|
|
8577
|
+
*ngFor="let group of groups; let index = index;"
|
|
8578
|
+
kendoDropTarget
|
|
8639
8579
|
kendoDraggableColumn
|
|
8580
|
+
kendoDraggable
|
|
8640
8581
|
[enableDrag]="true"
|
|
8641
8582
|
[context]="{
|
|
8642
8583
|
field: group.field,
|
|
8643
8584
|
type: 'groupIndicator',
|
|
8644
8585
|
hint: groupTitles[index]
|
|
8645
8586
|
}"
|
|
8646
|
-
|
|
8647
|
-
|
|
8648
|
-
[
|
|
8649
|
-
|
|
8650
|
-
(
|
|
8651
|
-
|
|
8652
|
-
</
|
|
8653
|
-
</
|
|
8654
|
-
|
|
8587
|
+
[label]="groupTitles[index]"
|
|
8588
|
+
[removable]="true"
|
|
8589
|
+
[icon]="getDirectionIcon(group)"
|
|
8590
|
+
(contentClick)="directionChange(group)"
|
|
8591
|
+
(remove)="remove(group)"
|
|
8592
|
+
>
|
|
8593
|
+
</kendo-chip>
|
|
8594
|
+
</kendo-chiplist>
|
|
8595
|
+
|
|
8596
|
+
<div
|
|
8655
8597
|
*ngIf="groups.length !== 0"
|
|
8598
|
+
class="k-grouping-drop-container"
|
|
8656
8599
|
[context]="{
|
|
8657
8600
|
lastTarget: true
|
|
8658
8601
|
}"
|
|
8659
|
-
kendoDropTarget
|
|
8602
|
+
kendoDropTarget
|
|
8603
|
+
> </div>
|
|
8660
8604
|
`
|
|
8661
8605
|
}]
|
|
8662
8606
|
}], ctorParameters: function () { return [{ type: DragHintService }, { type: DropCueService }, { type: GroupInfoService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { change: [{
|
|
@@ -8664,9 +8608,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8664
8608
|
}], groupHeaderClass: [{
|
|
8665
8609
|
type: HostBinding,
|
|
8666
8610
|
args: ["class.k-grouping-header"]
|
|
8667
|
-
}, {
|
|
8668
|
-
type: HostBinding,
|
|
8669
|
-
args: ["class.k-grouping-header-flex"]
|
|
8670
8611
|
}], text: [{
|
|
8671
8612
|
type: Input
|
|
8672
8613
|
}], groups: [{
|
|
@@ -23604,8 +23545,7 @@ const exportedModules$4 = [
|
|
|
23604
23545
|
GroupHeaderColumnTemplateDirective,
|
|
23605
23546
|
GroupFooterTemplateDirective,
|
|
23606
23547
|
GroupHeaderComponent,
|
|
23607
|
-
GroupPanelComponent
|
|
23608
|
-
GroupIndicatorComponent
|
|
23548
|
+
GroupPanelComponent
|
|
23609
23549
|
];
|
|
23610
23550
|
/**
|
|
23611
23551
|
* @hidden
|
|
@@ -23624,20 +23564,18 @@ GroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "1
|
|
|
23624
23564
|
GroupHeaderColumnTemplateDirective,
|
|
23625
23565
|
GroupFooterTemplateDirective,
|
|
23626
23566
|
GroupHeaderComponent,
|
|
23627
|
-
GroupPanelComponent,
|
|
23628
|
-
GroupIndicatorComponent], imports: [CommonModule, SharedModule, DragAndDropModule], exports: [GroupHeaderTemplateDirective,
|
|
23567
|
+
GroupPanelComponent], imports: [CommonModule, SharedModule, DragAndDropModule, ChipModule], exports: [GroupHeaderTemplateDirective,
|
|
23629
23568
|
GroupHeaderColumnTemplateDirective,
|
|
23630
23569
|
GroupFooterTemplateDirective,
|
|
23631
23570
|
GroupHeaderComponent,
|
|
23632
|
-
GroupPanelComponent
|
|
23633
|
-
|
|
23634
|
-
GroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupModule, imports: [[CommonModule, SharedModule, DragAndDropModule]] });
|
|
23571
|
+
GroupPanelComponent] });
|
|
23572
|
+
GroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupModule, imports: [[CommonModule, SharedModule, DragAndDropModule, ChipModule]] });
|
|
23635
23573
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupModule, decorators: [{
|
|
23636
23574
|
type: NgModule,
|
|
23637
23575
|
args: [{
|
|
23638
23576
|
declarations: [exportedModules$4],
|
|
23639
23577
|
exports: [exportedModules$4],
|
|
23640
|
-
imports: [CommonModule, SharedModule, DragAndDropModule]
|
|
23578
|
+
imports: [CommonModule, SharedModule, DragAndDropModule, ChipModule]
|
|
23641
23579
|
}]
|
|
23642
23580
|
}] });
|
|
23643
23581
|
|
|
@@ -26406,5 +26344,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
26406
26344
|
* Generated bundle index. Do not edit.
|
|
26407
26345
|
*/
|
|
26408
26346
|
|
|
26409
|
-
export { AddCommandDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BodyModule, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, BrowserSupportService, CELL_CONTEXT, CancelCommandDirective, CellCloseEvent, CellComponent, CellLoadingTemplateDirective, CellSelectionService, CellTemplateDirective, ChangeNotificationService, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, 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, EditService, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandDetailsDirective, ExpandGroupDirective, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuDropDownListDirective, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuModule, FilterMenuTemplateDirective, FilterRowComponent, FilterService, FocusRoot, FocusableDirective, FooterComponent, FooterModule, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, GridComponent, GridModule, GridSpacerComponent, GridTableDirective, GroupBindingDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderComponent, GroupHeaderTemplateDirective,
|
|
26347
|
+
export { AddCommandDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BodyModule, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, BrowserSupportService, CELL_CONTEXT, CancelCommandDirective, CellCloseEvent, CellComponent, CellLoadingTemplateDirective, CellSelectionService, CellTemplateDirective, ChangeNotificationService, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, 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, EditService, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandDetailsDirective, ExpandGroupDirective, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuDropDownListDirective, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuModule, FilterMenuTemplateDirective, FilterRowComponent, FilterService, FocusRoot, FocusableDirective, FooterComponent, FooterModule, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, GridComponent, GridModule, GridSpacerComponent, GridTableDirective, GroupBindingDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderComponent, GroupHeaderTemplateDirective, GroupInfoService, GroupModule, GroupPanelComponent, GroupsService, HeaderComponent, HeaderModule, HeaderTemplateDirective, IdService, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, ListComponent, LoadingComponent, LoadingTemplateDirective, LocalDataChangesService, LogicalCellDirective, LogicalRowDirective, MenuTabbingService, NavigationService, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PDFCommandDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PagerComponent, PagerContextService, PagerDropDownListDirective, PagerInfoComponent, PagerInputComponent, PagerInputDirective, PagerModule, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PopupCloseEvent, ReactiveEditingDirective, RemoveCommandDirective, ResizableContainerDirective, ResizeService, ResponsiveService, RowEditingDirectiveBase, RowFilterModule, SaveCommandDirective, ScrollRequestService, ScrollSyncService, SelectAllCheckboxDirective, SelectionCheckboxDirective, SelectionDirective, SelectionService, SharedFilterModule, SharedModule, SinglePopupService, SizingOptionsService, Skip, SortService, SpanColumnComponent, StartsWithFilterOperatorComponent, StringFilterCellComponent, StringFilterComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateContextDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, count, defaultTrackBy, hasFilterMenu, hasFilterRow, isFilterable, slice };
|
|
26410
26348
|
|
|
@@ -20,7 +20,7 @@ import * as i1$2 from '@progress/kendo-angular-popup';
|
|
|
20
20
|
import { PopupModule } from '@progress/kendo-angular-popup';
|
|
21
21
|
import * as i1$3 from '@angular/platform-browser';
|
|
22
22
|
import * as i4$1 from '@progress/kendo-angular-buttons';
|
|
23
|
-
import { ButtonModule, Button } from '@progress/kendo-angular-buttons';
|
|
23
|
+
import { ButtonModule, ChipModule, Button } from '@progress/kendo-angular-buttons';
|
|
24
24
|
import * as i3 from '@progress/kendo-angular-inputs';
|
|
25
25
|
import { NumericTextBoxComponent, InputsModule, NumericTextBoxModule } from '@progress/kendo-angular-inputs';
|
|
26
26
|
import * as i1$4 from '@progress/kendo-angular-dropdowns';
|
|
@@ -2849,7 +2849,7 @@ const packageMetadata = {
|
|
|
2849
2849
|
name: '@progress/kendo-angular-grid',
|
|
2850
2850
|
productName: 'Kendo UI for Angular',
|
|
2851
2851
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
2852
|
-
publishDate:
|
|
2852
|
+
publishDate: 1673012733,
|
|
2853
2853
|
version: '',
|
|
2854
2854
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
2855
2855
|
};
|
|
@@ -6266,7 +6266,7 @@ class DragHintService {
|
|
|
6266
6266
|
decorate(this.dom);
|
|
6267
6267
|
const safeTitle = this.santizer.sanitize(SecurityContext.HTML, title);
|
|
6268
6268
|
this.dom.innerHTML = `
|
|
6269
|
-
<span class="k-icon k-drag-status k-i-cancel
|
|
6269
|
+
<span class="k-icon k-drag-status k-i-cancel">
|
|
6270
6270
|
<span class="k-icon k-icon-modifier"></span>
|
|
6271
6271
|
</span>
|
|
6272
6272
|
${safeTitle}
|
|
@@ -8229,75 +8229,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8229
8229
|
type: Output
|
|
8230
8230
|
}] } });
|
|
8231
8231
|
|
|
8232
|
-
/**
|
|
8233
|
-
* @hidden
|
|
8234
|
-
*/
|
|
8235
|
-
class GroupIndicatorComponent {
|
|
8236
|
-
constructor() {
|
|
8237
|
-
this.directionChange = new EventEmitter();
|
|
8238
|
-
this.remove = new EventEmitter();
|
|
8239
|
-
}
|
|
8240
|
-
get groupIndicatorClass() {
|
|
8241
|
-
return true;
|
|
8242
|
-
}
|
|
8243
|
-
get dir() {
|
|
8244
|
-
return this.group.dir ? this.group.dir : "asc";
|
|
8245
|
-
}
|
|
8246
|
-
toggleDirection() {
|
|
8247
|
-
this.directionChange.emit({
|
|
8248
|
-
dir: this.dir === "asc" ? "desc" : "asc",
|
|
8249
|
-
field: this.group.field
|
|
8250
|
-
});
|
|
8251
|
-
return false;
|
|
8252
|
-
}
|
|
8253
|
-
removeDescriptor() {
|
|
8254
|
-
this.remove.emit({
|
|
8255
|
-
dir: this.group.dir,
|
|
8256
|
-
field: this.group.field
|
|
8257
|
-
});
|
|
8258
|
-
return false;
|
|
8259
|
-
}
|
|
8260
|
-
}
|
|
8261
|
-
GroupIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
8262
|
-
GroupIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GroupIndicatorComponent, selector: "[kendoGroupIndicator]", inputs: { group: "group", groupTitle: "groupTitle" }, outputs: { directionChange: "directionChange", remove: "remove" }, host: { properties: { "class.k-group-indicator": "this.groupIndicatorClass" } }, ngImport: i0, template: `
|
|
8263
|
-
<a href="#" class="k-link" tabindex="-1" (click)="toggleDirection()">
|
|
8264
|
-
<span class="k-icon"
|
|
8265
|
-
[class.k-i-sort-asc-small]="dir === 'asc'"
|
|
8266
|
-
[class.k-i-sort-desc-small]="dir === 'desc'"></span>
|
|
8267
|
-
{{groupTitle}}</a>
|
|
8268
|
-
<a class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button" tabindex="-1" (click)="removeDescriptor()">
|
|
8269
|
-
<span class="k-button-icon k-icon k-i-x"></span>
|
|
8270
|
-
</a>
|
|
8271
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8272
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupIndicatorComponent, decorators: [{
|
|
8273
|
-
type: Component,
|
|
8274
|
-
args: [{
|
|
8275
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
8276
|
-
selector: '[kendoGroupIndicator]',
|
|
8277
|
-
template: `
|
|
8278
|
-
<a href="#" class="k-link" tabindex="-1" (click)="toggleDirection()">
|
|
8279
|
-
<span class="k-icon"
|
|
8280
|
-
[class.k-i-sort-asc-small]="dir === 'asc'"
|
|
8281
|
-
[class.k-i-sort-desc-small]="dir === 'desc'"></span>
|
|
8282
|
-
{{groupTitle}}</a>
|
|
8283
|
-
<a class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button" tabindex="-1" (click)="removeDescriptor()">
|
|
8284
|
-
<span class="k-button-icon k-icon k-i-x"></span>
|
|
8285
|
-
</a>
|
|
8286
|
-
`
|
|
8287
|
-
}]
|
|
8288
|
-
}], propDecorators: { directionChange: [{
|
|
8289
|
-
type: Output
|
|
8290
|
-
}], remove: [{
|
|
8291
|
-
type: Output
|
|
8292
|
-
}], group: [{
|
|
8293
|
-
type: Input
|
|
8294
|
-
}], groupTitle: [{
|
|
8295
|
-
type: Input
|
|
8296
|
-
}], groupIndicatorClass: [{
|
|
8297
|
-
type: HostBinding,
|
|
8298
|
-
args: ["class.k-group-indicator"]
|
|
8299
|
-
}] } });
|
|
8300
|
-
|
|
8301
8232
|
/**
|
|
8302
8233
|
* @hidden
|
|
8303
8234
|
*/
|
|
@@ -8467,7 +8398,12 @@ class GroupPanelComponent {
|
|
|
8467
8398
|
this.targetSubscription.unsubscribe();
|
|
8468
8399
|
}
|
|
8469
8400
|
}
|
|
8401
|
+
getDirectionIcon(group) {
|
|
8402
|
+
return group.dir === 'desc' ? 'sort-desc-sm' : 'sort-asc-sm';
|
|
8403
|
+
}
|
|
8470
8404
|
directionChange(group) {
|
|
8405
|
+
group.dir = group.dir ? group.dir : "asc";
|
|
8406
|
+
group.dir = group.dir === 'asc' ? 'desc' : 'asc';
|
|
8471
8407
|
const index = this.groups.findIndex(x => x.field === group.field);
|
|
8472
8408
|
const groups = [...this.groups.slice(0, index), group, ...this.groups.slice(index + 1)];
|
|
8473
8409
|
this.change.emit(groups);
|
|
@@ -8524,90 +8460,98 @@ class GroupPanelComponent {
|
|
|
8524
8460
|
}
|
|
8525
8461
|
}
|
|
8526
8462
|
GroupPanelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupPanelComponent, deps: [{ token: DragHintService }, { token: DropCueService }, { token: GroupInfoService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
8527
|
-
GroupPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: { text: "text", groups: "groups" }, outputs: { change: "change" }, host: { properties: { "class.k-grouping-header": "this.groupHeaderClass"
|
|
8528
|
-
<
|
|
8529
|
-
|
|
8530
|
-
|
|
8531
|
-
[context]="{
|
|
8532
|
-
lastTarget: true
|
|
8533
|
-
}"
|
|
8534
|
-
kendoDropTarget>
|
|
8535
|
-
{{ text }}
|
|
8536
|
-
</div>
|
|
8537
|
-
</ng-container>
|
|
8538
|
-
<div *ngFor="let group of groups; let index = index;"
|
|
8539
|
-
class="k-indicator-container"
|
|
8463
|
+
GroupPanelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: { text: "text", groups: "groups" }, outputs: { change: "change" }, host: { properties: { "class.k-grouping-header": "this.groupHeaderClass" } }, viewQueries: [{ propertyName: "dropTargets", predicate: DropTargetDirective, descendants: true }], ngImport: i0, template: `
|
|
8464
|
+
<div
|
|
8465
|
+
*ngIf="groups.length === 0"
|
|
8466
|
+
class="k-grouping-drop-container"
|
|
8540
8467
|
[context]="{
|
|
8541
|
-
|
|
8468
|
+
lastTarget: true
|
|
8542
8469
|
}"
|
|
8543
|
-
kendoDropTarget
|
|
8544
|
-
|
|
8470
|
+
kendoDropTarget
|
|
8471
|
+
>
|
|
8472
|
+
{{ text }}
|
|
8473
|
+
</div>
|
|
8474
|
+
|
|
8475
|
+
<kendo-chiplist
|
|
8476
|
+
*ngIf="groups.length !== 0"
|
|
8477
|
+
>
|
|
8478
|
+
<kendo-chip
|
|
8479
|
+
*ngFor="let group of groups; let index = index;"
|
|
8480
|
+
kendoDropTarget
|
|
8545
8481
|
kendoDraggableColumn
|
|
8482
|
+
kendoDraggable
|
|
8546
8483
|
[enableDrag]="true"
|
|
8547
8484
|
[context]="{
|
|
8548
8485
|
field: group.field,
|
|
8549
8486
|
type: 'groupIndicator',
|
|
8550
8487
|
hint: groupTitles[index]
|
|
8551
8488
|
}"
|
|
8552
|
-
|
|
8553
|
-
|
|
8554
|
-
[
|
|
8555
|
-
|
|
8556
|
-
(
|
|
8557
|
-
|
|
8558
|
-
</
|
|
8559
|
-
</
|
|
8560
|
-
|
|
8489
|
+
[label]="groupTitles[index]"
|
|
8490
|
+
[removable]="true"
|
|
8491
|
+
[icon]="getDirectionIcon(group)"
|
|
8492
|
+
(contentClick)="directionChange(group)"
|
|
8493
|
+
(remove)="remove(group)"
|
|
8494
|
+
>
|
|
8495
|
+
</kendo-chip>
|
|
8496
|
+
</kendo-chiplist>
|
|
8497
|
+
|
|
8498
|
+
<div
|
|
8561
8499
|
*ngIf="groups.length !== 0"
|
|
8500
|
+
class="k-grouping-drop-container"
|
|
8562
8501
|
[context]="{
|
|
8563
8502
|
lastTarget: true
|
|
8564
8503
|
}"
|
|
8565
|
-
kendoDropTarget
|
|
8566
|
-
|
|
8504
|
+
kendoDropTarget
|
|
8505
|
+
> </div>
|
|
8506
|
+
`, isInline: true, components: [{ type: i4$1.ChipListComponent, selector: "kendo-chiplist, kendo-chip-list", inputs: ["selection", "size"], outputs: ["selectedChange", "remove"] }, { type: i4$1.ChipComponent, selector: "kendo-chip", inputs: ["label", "icon", "svgIcon", "iconClass", "avatarClass", "selected", "removable", "removeIcon", "removeSvgIcon", "disabled", "size", "rounded", "fillMode", "themeColor"], outputs: ["remove", "contentClick"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: DropTargetDirective, selector: "[kendoDropTarget]", inputs: ["context"], outputs: ["enter", "leave", "drop"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: DraggableColumnDirective, selector: "[kendoDraggableColumn]", inputs: ["context", "enableDrag"], outputs: ["drag"] }, { type: i1$1.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
8567
8507
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupPanelComponent, decorators: [{
|
|
8568
8508
|
type: Component,
|
|
8569
8509
|
args: [{
|
|
8570
8510
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
8571
8511
|
selector: 'kendo-grid-group-panel',
|
|
8572
8512
|
template: `
|
|
8573
|
-
<
|
|
8574
|
-
|
|
8575
|
-
|
|
8576
|
-
[context]="{
|
|
8577
|
-
lastTarget: true
|
|
8578
|
-
}"
|
|
8579
|
-
kendoDropTarget>
|
|
8580
|
-
{{ text }}
|
|
8581
|
-
</div>
|
|
8582
|
-
</ng-container>
|
|
8583
|
-
<div *ngFor="let group of groups; let index = index;"
|
|
8584
|
-
class="k-indicator-container"
|
|
8513
|
+
<div
|
|
8514
|
+
*ngIf="groups.length === 0"
|
|
8515
|
+
class="k-grouping-drop-container"
|
|
8585
8516
|
[context]="{
|
|
8586
|
-
|
|
8517
|
+
lastTarget: true
|
|
8587
8518
|
}"
|
|
8588
|
-
kendoDropTarget
|
|
8589
|
-
|
|
8519
|
+
kendoDropTarget
|
|
8520
|
+
>
|
|
8521
|
+
{{ text }}
|
|
8522
|
+
</div>
|
|
8523
|
+
|
|
8524
|
+
<kendo-chiplist
|
|
8525
|
+
*ngIf="groups.length !== 0"
|
|
8526
|
+
>
|
|
8527
|
+
<kendo-chip
|
|
8528
|
+
*ngFor="let group of groups; let index = index;"
|
|
8529
|
+
kendoDropTarget
|
|
8590
8530
|
kendoDraggableColumn
|
|
8531
|
+
kendoDraggable
|
|
8591
8532
|
[enableDrag]="true"
|
|
8592
8533
|
[context]="{
|
|
8593
8534
|
field: group.field,
|
|
8594
8535
|
type: 'groupIndicator',
|
|
8595
8536
|
hint: groupTitles[index]
|
|
8596
8537
|
}"
|
|
8597
|
-
|
|
8598
|
-
|
|
8599
|
-
[
|
|
8600
|
-
|
|
8601
|
-
(
|
|
8602
|
-
|
|
8603
|
-
</
|
|
8604
|
-
</
|
|
8605
|
-
|
|
8538
|
+
[label]="groupTitles[index]"
|
|
8539
|
+
[removable]="true"
|
|
8540
|
+
[icon]="getDirectionIcon(group)"
|
|
8541
|
+
(contentClick)="directionChange(group)"
|
|
8542
|
+
(remove)="remove(group)"
|
|
8543
|
+
>
|
|
8544
|
+
</kendo-chip>
|
|
8545
|
+
</kendo-chiplist>
|
|
8546
|
+
|
|
8547
|
+
<div
|
|
8606
8548
|
*ngIf="groups.length !== 0"
|
|
8549
|
+
class="k-grouping-drop-container"
|
|
8607
8550
|
[context]="{
|
|
8608
8551
|
lastTarget: true
|
|
8609
8552
|
}"
|
|
8610
|
-
kendoDropTarget
|
|
8553
|
+
kendoDropTarget
|
|
8554
|
+
> </div>
|
|
8611
8555
|
`
|
|
8612
8556
|
}]
|
|
8613
8557
|
}], ctorParameters: function () { return [{ type: DragHintService }, { type: DropCueService }, { type: GroupInfoService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { change: [{
|
|
@@ -8615,9 +8559,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
8615
8559
|
}], groupHeaderClass: [{
|
|
8616
8560
|
type: HostBinding,
|
|
8617
8561
|
args: ["class.k-grouping-header"]
|
|
8618
|
-
}, {
|
|
8619
|
-
type: HostBinding,
|
|
8620
|
-
args: ["class.k-grouping-header-flex"]
|
|
8621
8562
|
}], text: [{
|
|
8622
8563
|
type: Input
|
|
8623
8564
|
}], groups: [{
|
|
@@ -23536,8 +23477,7 @@ const exportedModules$4 = [
|
|
|
23536
23477
|
GroupHeaderColumnTemplateDirective,
|
|
23537
23478
|
GroupFooterTemplateDirective,
|
|
23538
23479
|
GroupHeaderComponent,
|
|
23539
|
-
GroupPanelComponent
|
|
23540
|
-
GroupIndicatorComponent
|
|
23480
|
+
GroupPanelComponent
|
|
23541
23481
|
];
|
|
23542
23482
|
/**
|
|
23543
23483
|
* @hidden
|
|
@@ -23556,20 +23496,18 @@ GroupModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "1
|
|
|
23556
23496
|
GroupHeaderColumnTemplateDirective,
|
|
23557
23497
|
GroupFooterTemplateDirective,
|
|
23558
23498
|
GroupHeaderComponent,
|
|
23559
|
-
GroupPanelComponent,
|
|
23560
|
-
GroupIndicatorComponent], imports: [CommonModule, SharedModule, DragAndDropModule], exports: [GroupHeaderTemplateDirective,
|
|
23499
|
+
GroupPanelComponent], imports: [CommonModule, SharedModule, DragAndDropModule, ChipModule], exports: [GroupHeaderTemplateDirective,
|
|
23561
23500
|
GroupHeaderColumnTemplateDirective,
|
|
23562
23501
|
GroupFooterTemplateDirective,
|
|
23563
23502
|
GroupHeaderComponent,
|
|
23564
|
-
GroupPanelComponent
|
|
23565
|
-
|
|
23566
|
-
GroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupModule, imports: [[CommonModule, SharedModule, DragAndDropModule]] });
|
|
23503
|
+
GroupPanelComponent] });
|
|
23504
|
+
GroupModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupModule, imports: [[CommonModule, SharedModule, DragAndDropModule, ChipModule]] });
|
|
23567
23505
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupModule, decorators: [{
|
|
23568
23506
|
type: NgModule,
|
|
23569
23507
|
args: [{
|
|
23570
23508
|
declarations: [exportedModules$4],
|
|
23571
23509
|
exports: [exportedModules$4],
|
|
23572
|
-
imports: [CommonModule, SharedModule, DragAndDropModule]
|
|
23510
|
+
imports: [CommonModule, SharedModule, DragAndDropModule, ChipModule]
|
|
23573
23511
|
}]
|
|
23574
23512
|
}] });
|
|
23575
23513
|
|
|
@@ -26326,5 +26264,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImpo
|
|
|
26326
26264
|
* Generated bundle index. Do not edit.
|
|
26327
26265
|
*/
|
|
26328
26266
|
|
|
26329
|
-
export { AddCommandDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BodyModule, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, BrowserSupportService, CELL_CONTEXT, CancelCommandDirective, CellCloseEvent, CellComponent, CellLoadingTemplateDirective, CellSelectionService, CellTemplateDirective, ChangeNotificationService, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, 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, EditService, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandDetailsDirective, ExpandGroupDirective, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuDropDownListDirective, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuModule, FilterMenuTemplateDirective, FilterRowComponent, FilterService, FocusRoot, FocusableDirective, FooterComponent, FooterModule, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, GridComponent, GridModule, GridSpacerComponent, GridTableDirective, GroupBindingDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderComponent, GroupHeaderTemplateDirective,
|
|
26267
|
+
export { AddCommandDirective, AfterEqFilterOperatorComponent, AfterFilterOperatorComponent, AutoCompleteFilterCellComponent, BaseFilterCellComponent, BeforeEqFilterOperatorComponent, BeforeFilterOperatorComponent, BodyModule, BooleanFilterCellComponent, BooleanFilterComponent, BooleanFilterMenuComponent, BooleanFilterRadioButtonDirective, BrowserSupportService, CELL_CONTEXT, CancelCommandDirective, CellCloseEvent, CellComponent, CellLoadingTemplateDirective, CellSelectionService, CellTemplateDirective, ChangeNotificationService, CheckboxColumnComponent, ColGroupComponent, ColumnBase, ColumnChooserComponent, ColumnComponent, ColumnGroupComponent, ColumnHandleDirective, ColumnInfoService, 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, EditService, EditTemplateDirective, EditingDirectiveBase, EndsWithFilterOperatorComponent, EqualFilterOperatorComponent, ExcelCommandDirective, ExcelComponent, ExcelExportEvent, ExcelModule, ExcelService, ExpandDetailsDirective, ExpandGroupDirective, FieldAccessorPipe, FilterCellComponent, FilterCellHostDirective, FilterCellOperatorsComponent, FilterCellTemplateDirective, FilterCellWrapperComponent, FilterInputDirective, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuDropDownListDirective, FilterMenuHostDirective, FilterMenuInputWrapperComponent, FilterMenuModule, FilterMenuTemplateDirective, FilterRowComponent, FilterService, FocusRoot, FocusableDirective, FooterComponent, FooterModule, FooterTemplateDirective, GreaterFilterOperatorComponent, GreaterOrEqualToFilterOperatorComponent, GridComponent, GridModule, GridSpacerComponent, GridTableDirective, GroupBindingDirective, GroupFooterTemplateDirective, GroupHeaderColumnTemplateDirective, GroupHeaderComponent, GroupHeaderTemplateDirective, GroupInfoService, GroupModule, GroupPanelComponent, GroupsService, HeaderComponent, HeaderModule, HeaderTemplateDirective, IdService, InCellEditingDirective, IsEmptyFilterOperatorComponent, IsNotEmptyFilterOperatorComponent, IsNotNullFilterOperatorComponent, IsNullFilterOperatorComponent, LessFilterOperatorComponent, LessOrEqualToFilterOperatorComponent, ListComponent, LoadingComponent, LoadingTemplateDirective, LocalDataChangesService, LogicalCellDirective, LogicalRowDirective, MenuTabbingService, NavigationService, NoRecordsTemplateDirective, NotEqualFilterOperatorComponent, NumericFilterCellComponent, NumericFilterComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, PDFCommandDirective, PDFComponent, PDFMarginComponent, PDFModule, PDFService, PDFTemplateDirective, PagerComponent, PagerContextService, PagerDropDownListDirective, PagerInfoComponent, PagerInputComponent, PagerInputDirective, PagerModule, PagerNextButtonsComponent, PagerNumericButtonsComponent, PagerPageSizesComponent, PagerPrevButtonsComponent, PagerTemplateDirective, PopupCloseEvent, ReactiveEditingDirective, RemoveCommandDirective, ResizableContainerDirective, ResizeService, ResponsiveService, RowEditingDirectiveBase, RowFilterModule, SaveCommandDirective, ScrollRequestService, ScrollSyncService, SelectAllCheckboxDirective, SelectionCheckboxDirective, SelectionDirective, SelectionService, SharedFilterModule, SharedModule, SinglePopupService, SizingOptionsService, Skip, SortService, SpanColumnComponent, StartsWithFilterOperatorComponent, StringFilterCellComponent, StringFilterComponent, StringFilterMenuComponent, StringFilterMenuInputComponent, SuspendService, TableBodyComponent, TableDirective, TemplateContextDirective, TemplateEditingDirective, ToolbarComponent, ToolbarTemplateDirective, count, defaultTrackBy, hasFilterMenu, hasFilterRow, isFilterable, slice };
|
|
26330
26268
|
|
|
@@ -35,6 +35,7 @@ export declare class GroupPanelComponent implements OnDestroy, OnInit, DoCheck {
|
|
|
35
35
|
ngOnInit(): void;
|
|
36
36
|
ngDoCheck(): void;
|
|
37
37
|
ngOnDestroy(): void;
|
|
38
|
+
getDirectionIcon(group: GroupDescriptor): string;
|
|
38
39
|
directionChange(group: GroupDescriptor): void;
|
|
39
40
|
insert(field: string, index: number): void;
|
|
40
41
|
remove(group: GroupDescriptor): void;
|
|
@@ -8,16 +8,16 @@ import * as i2 from "./group-header-column-template.directive";
|
|
|
8
8
|
import * as i3 from "./group-footer-template.directive";
|
|
9
9
|
import * as i4 from "./group-header.component";
|
|
10
10
|
import * as i5 from "./group-panel.component";
|
|
11
|
-
import * as i6 from "
|
|
12
|
-
import * as i7 from "
|
|
13
|
-
import * as i8 from "../
|
|
14
|
-
import * as i9 from "
|
|
11
|
+
import * as i6 from "@angular/common";
|
|
12
|
+
import * as i7 from "../shared.module";
|
|
13
|
+
import * as i8 from "../dragdrop/drag-and-drop.module";
|
|
14
|
+
import * as i9 from "@progress/kendo-angular-buttons";
|
|
15
15
|
/**
|
|
16
16
|
* @hidden
|
|
17
17
|
*/
|
|
18
18
|
export declare class GroupModule {
|
|
19
19
|
static exports(): any[];
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<GroupModule, never>;
|
|
21
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GroupModule, [typeof i1.GroupHeaderTemplateDirective, typeof i2.GroupHeaderColumnTemplateDirective, typeof i3.GroupFooterTemplateDirective, typeof i4.GroupHeaderComponent, typeof i5.GroupPanelComponent, typeof i6.
|
|
21
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GroupModule, [typeof i1.GroupHeaderTemplateDirective, typeof i2.GroupHeaderColumnTemplateDirective, typeof i3.GroupFooterTemplateDirective, typeof i4.GroupHeaderComponent, typeof i5.GroupPanelComponent], [typeof i6.CommonModule, typeof i7.SharedModule, typeof i8.DragAndDropModule, typeof i9.ChipModule], [typeof i1.GroupHeaderTemplateDirective, typeof i2.GroupHeaderColumnTemplateDirective, typeof i3.GroupFooterTemplateDirective, typeof i4.GroupHeaderComponent, typeof i5.GroupPanelComponent]>;
|
|
22
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<GroupModule>;
|
|
23
23
|
}
|
package/index.d.ts
CHANGED
|
@@ -237,7 +237,6 @@ export { PagerInputDirective } from './pager/pager-input.directive';
|
|
|
237
237
|
export { PagerDropDownListDirective } from './pager/pager-dropdown.directive';
|
|
238
238
|
export { GroupHeaderComponent } from './grouping/group-header.component';
|
|
239
239
|
export { GroupPanelComponent } from './grouping/group-panel.component';
|
|
240
|
-
export { GroupIndicatorComponent } from './grouping/group-indicator.component';
|
|
241
240
|
export { SizingOptionsService } from './layout/sizing-options.service';
|
|
242
241
|
export { GridTableDirective } from './rendering/grid-table.directive';
|
|
243
242
|
export { MenuTabbingService } from './filtering/menu/menu-tabbing.service';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-grid",
|
|
3
|
-
"version": "11.0.0-develop.
|
|
3
|
+
"version": "11.0.0-develop.90",
|
|
4
4
|
"description": "Kendo UI Grid for Angular - high performance data grid with paging, filtering, virtualization, CRUD, and more.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
"@progress/kendo-drawing": "^1.0.0",
|
|
35
35
|
"@progress/kendo-file-saver": "^1.0.0",
|
|
36
36
|
"@progress/kendo-licensing": "^1.0.2",
|
|
37
|
-
"@progress/kendo-angular-buttons": "11.0.0-develop.
|
|
38
|
-
"@progress/kendo-angular-common": "11.0.0-develop.
|
|
39
|
-
"@progress/kendo-angular-dateinputs": "11.0.0-develop.
|
|
40
|
-
"@progress/kendo-angular-dropdowns": "11.0.0-develop.
|
|
41
|
-
"@progress/kendo-angular-excel-export": "11.0.0-develop.
|
|
42
|
-
"@progress/kendo-angular-icons": "11.0.0-develop.
|
|
43
|
-
"@progress/kendo-angular-inputs": "11.0.0-develop.
|
|
44
|
-
"@progress/kendo-angular-intl": "11.0.0-develop.
|
|
45
|
-
"@progress/kendo-angular-l10n": "11.0.0-develop.
|
|
46
|
-
"@progress/kendo-angular-label": "11.0.0-develop.
|
|
47
|
-
"@progress/kendo-angular-pdf-export": "11.0.0-develop.
|
|
48
|
-
"@progress/kendo-angular-popup": "11.0.0-develop.
|
|
49
|
-
"@progress/kendo-angular-schematics": "11.0.0-develop.
|
|
37
|
+
"@progress/kendo-angular-buttons": "11.0.0-develop.90",
|
|
38
|
+
"@progress/kendo-angular-common": "11.0.0-develop.90",
|
|
39
|
+
"@progress/kendo-angular-dateinputs": "11.0.0-develop.90",
|
|
40
|
+
"@progress/kendo-angular-dropdowns": "11.0.0-develop.90",
|
|
41
|
+
"@progress/kendo-angular-excel-export": "11.0.0-develop.90",
|
|
42
|
+
"@progress/kendo-angular-icons": "11.0.0-develop.90",
|
|
43
|
+
"@progress/kendo-angular-inputs": "11.0.0-develop.90",
|
|
44
|
+
"@progress/kendo-angular-intl": "11.0.0-develop.90",
|
|
45
|
+
"@progress/kendo-angular-l10n": "11.0.0-develop.90",
|
|
46
|
+
"@progress/kendo-angular-label": "11.0.0-develop.90",
|
|
47
|
+
"@progress/kendo-angular-pdf-export": "11.0.0-develop.90",
|
|
48
|
+
"@progress/kendo-angular-popup": "11.0.0-develop.90",
|
|
49
|
+
"@progress/kendo-angular-schematics": "11.0.0-develop.90",
|
|
50
50
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Component, HostBinding, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export class GroupIndicatorComponent {
|
|
11
|
-
constructor() {
|
|
12
|
-
this.directionChange = new EventEmitter();
|
|
13
|
-
this.remove = new EventEmitter();
|
|
14
|
-
}
|
|
15
|
-
get groupIndicatorClass() {
|
|
16
|
-
return true;
|
|
17
|
-
}
|
|
18
|
-
get dir() {
|
|
19
|
-
return this.group.dir ? this.group.dir : "asc";
|
|
20
|
-
}
|
|
21
|
-
toggleDirection() {
|
|
22
|
-
this.directionChange.emit({
|
|
23
|
-
dir: this.dir === "asc" ? "desc" : "asc",
|
|
24
|
-
field: this.group.field
|
|
25
|
-
});
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
removeDescriptor() {
|
|
29
|
-
this.remove.emit({
|
|
30
|
-
dir: this.group.dir,
|
|
31
|
-
field: this.group.field
|
|
32
|
-
});
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
GroupIndicatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupIndicatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
-
GroupIndicatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: GroupIndicatorComponent, selector: "[kendoGroupIndicator]", inputs: { group: "group", groupTitle: "groupTitle" }, outputs: { directionChange: "directionChange", remove: "remove" }, host: { properties: { "class.k-group-indicator": "this.groupIndicatorClass" } }, ngImport: i0, template: `
|
|
38
|
-
<a href="#" class="k-link" tabindex="-1" (click)="toggleDirection()">
|
|
39
|
-
<span class="k-icon"
|
|
40
|
-
[class.k-i-sort-asc-small]="dir === 'asc'"
|
|
41
|
-
[class.k-i-sort-desc-small]="dir === 'desc'"></span>
|
|
42
|
-
{{groupTitle}}</a>
|
|
43
|
-
<a class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button" tabindex="-1" (click)="removeDescriptor()">
|
|
44
|
-
<span class="k-button-icon k-icon k-i-x"></span>
|
|
45
|
-
</a>
|
|
46
|
-
`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
47
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: GroupIndicatorComponent, decorators: [{
|
|
48
|
-
type: Component,
|
|
49
|
-
args: [{
|
|
50
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
51
|
-
selector: '[kendoGroupIndicator]',
|
|
52
|
-
template: `
|
|
53
|
-
<a href="#" class="k-link" tabindex="-1" (click)="toggleDirection()">
|
|
54
|
-
<span class="k-icon"
|
|
55
|
-
[class.k-i-sort-asc-small]="dir === 'asc'"
|
|
56
|
-
[class.k-i-sort-desc-small]="dir === 'desc'"></span>
|
|
57
|
-
{{groupTitle}}</a>
|
|
58
|
-
<a class="k-button k-button-flat-base k-button-flat k-icon-button k-button-md k-rounded-md k-button-rectangle k-icon-button" tabindex="-1" (click)="removeDescriptor()">
|
|
59
|
-
<span class="k-button-icon k-icon k-i-x"></span>
|
|
60
|
-
</a>
|
|
61
|
-
`
|
|
62
|
-
}]
|
|
63
|
-
}], propDecorators: { directionChange: [{
|
|
64
|
-
type: Output
|
|
65
|
-
}], remove: [{
|
|
66
|
-
type: Output
|
|
67
|
-
}], group: [{
|
|
68
|
-
type: Input
|
|
69
|
-
}], groupTitle: [{
|
|
70
|
-
type: Input
|
|
71
|
-
}], groupIndicatorClass: [{
|
|
72
|
-
type: HostBinding,
|
|
73
|
-
args: ["class.k-group-indicator"]
|
|
74
|
-
}] } });
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { EventEmitter } from '@angular/core';
|
|
6
|
-
import { GroupDescriptor } from '@progress/kendo-data-query';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class GroupIndicatorComponent {
|
|
12
|
-
directionChange: EventEmitter<GroupDescriptor>;
|
|
13
|
-
remove: EventEmitter<GroupDescriptor>;
|
|
14
|
-
group: GroupDescriptor;
|
|
15
|
-
groupTitle: string;
|
|
16
|
-
get groupIndicatorClass(): boolean;
|
|
17
|
-
get dir(): string;
|
|
18
|
-
toggleDirection(): boolean;
|
|
19
|
-
removeDescriptor(): boolean;
|
|
20
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GroupIndicatorComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GroupIndicatorComponent, "[kendoGroupIndicator]", never, { "group": "group"; "groupTitle": "groupTitle"; }, { "directionChange": "directionChange"; "remove": "remove"; }, never, never>;
|
|
22
|
-
}
|