@progress/kendo-angular-grid 19.0.0-develop.31 → 19.0.0-develop.33
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/adaptiveness/adaptive-renderer.component.d.ts +5 -0
- package/common/adaptiveness.service.d.ts +1 -1
- package/directives.d.ts +4 -3
- package/esm2022/adaptiveness/adaptive-renderer.component.mjs +95 -6
- package/esm2022/directives.mjs +3 -1
- package/esm2022/filtering/menu/filter-menu-container.component.mjs +3 -0
- package/esm2022/grid.component.mjs +32 -8
- package/esm2022/grid.module.mjs +100 -99
- package/esm2022/index.mjs +1 -0
- package/esm2022/localization/messages.mjs +25 -1
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/rendering/toolbar/tools/column-chooser-tool.directive.mjs +7 -0
- package/esm2022/rendering/toolbar/tools/filter-command-tool.directive.mjs +8 -0
- package/esm2022/rendering/toolbar/tools/filter-toolbar-tool.component.mjs +5 -0
- package/esm2022/rendering/toolbar/tools/group-command-tool.directive.mjs +206 -0
- package/esm2022/rendering/toolbar/tools/group-toolbar-tool.component.mjs +425 -0
- package/esm2022/rendering/toolbar/tools/sort-command-tool.directive.mjs +8 -0
- package/fesm2022/progress-kendo-angular-grid.mjs +856 -87
- package/filtering/menu/filter-menu-container.component.d.ts +1 -0
- package/grid.module.d.ts +99 -98
- package/index.d.ts +1 -0
- package/localization/messages.d.ts +17 -1
- package/package.json +21 -21
- package/rendering/toolbar/tools/column-chooser-tool.directive.d.ts +1 -0
- package/rendering/toolbar/tools/filter-command-tool.directive.d.ts +1 -0
- package/rendering/toolbar/tools/group-command-tool.directive.d.ts +51 -0
- package/rendering/toolbar/tools/group-toolbar-tool.component.d.ts +61 -0
- package/rendering/toolbar/tools/sort-command-tool.directive.d.ts +1 -0
- package/schematics/ngAdd/index.js +4 -4
|
@@ -10,31 +10,31 @@ import { isDocumentAvailable, Keys, isPresent as isPresent$1, anyChanged, Templa
|
|
|
10
10
|
import * as i1 from '@angular/platform-browser';
|
|
11
11
|
import * as i1$1 from '@progress/kendo-angular-icons';
|
|
12
12
|
import { IconWrapperComponent, IconsService, KENDO_ICONS } from '@progress/kendo-angular-icons';
|
|
13
|
-
import { plusIcon, cancelIcon, lockIcon, unlockIcon, caretAltDownIcon, caretAltRightIcon, caretAltLeftIcon, arrowLeftIcon, arrowRightIcon, sortDescSmallIcon, sortAscSmallIcon, filterClearIcon, filterIcon, checkIcon, arrowRotateCcwIcon, columnsIcon, pencilIcon, saveIcon, trashIcon, fileExcelIcon, filePdfIcon, chevronUpIcon, chevronDownIcon, chevronRightIcon, displayInlineFlexIcon, maxWidthIcon, stickIcon, unstickIcon, setColumnPositionIcon, slidersIcon, moreVerticalIcon, reorderIcon, minusIcon, insertMiddleIcon, xIcon, chevronLeftIcon, undoIcon, redoIcon, arrowsSwapIcon } from '@progress/kendo-svg-icons';
|
|
13
|
+
import { plusIcon, cancelIcon, lockIcon, unlockIcon, caretAltDownIcon, caretAltRightIcon, caretAltLeftIcon, arrowLeftIcon, arrowRightIcon, sortDescSmallIcon, sortAscSmallIcon, filterClearIcon, filterIcon, checkIcon, arrowRotateCcwIcon, columnsIcon, pencilIcon, saveIcon, trashIcon, fileExcelIcon, filePdfIcon, chevronUpIcon, chevronDownIcon, chevronRightIcon, displayInlineFlexIcon, maxWidthIcon, stickIcon, unstickIcon, setColumnPositionIcon, slidersIcon, moreVerticalIcon, reorderIcon, minusIcon, insertMiddleIcon, xIcon, xCircleIcon, plusCircleIcon, chevronLeftIcon, undoIcon, redoIcon, arrowsSwapIcon, groupIcon } from '@progress/kendo-svg-icons';
|
|
14
14
|
import { switchMap, take, map, filter, takeUntil, switchMapTo, delay, tap, throttleTime, debounceTime, distinctUntilChanged, skip, auditTime, bufferCount, flatMap } from 'rxjs/operators';
|
|
15
15
|
import * as i1$2 from '@progress/kendo-angular-l10n';
|
|
16
16
|
import { ComponentMessages, LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
17
|
-
import * as
|
|
17
|
+
import * as i51 from '@progress/kendo-angular-pager';
|
|
18
18
|
import { PagerContextService, PagerNavigationService, PagerTemplateDirective, KENDO_PAGER } from '@progress/kendo-angular-pager';
|
|
19
19
|
import { orderBy, isCompositeFilterDescriptor, groupBy, process, filterBy } from '@progress/kendo-data-query';
|
|
20
20
|
import { NgFor, NgIf, NgTemplateOutlet, NgSwitch, NgSwitchCase, NgClass, NgStyle, NgSwitchDefault, KeyValuePipe } from '@angular/common';
|
|
21
21
|
import { getter } from '@progress/kendo-common';
|
|
22
22
|
import * as i1$4 from '@progress/kendo-angular-intl';
|
|
23
|
-
import * as
|
|
23
|
+
import * as i2 from '@progress/kendo-angular-popup';
|
|
24
24
|
import { PopupService } from '@progress/kendo-angular-popup';
|
|
25
|
-
import * as i1$
|
|
25
|
+
import * as i1$6 from '@progress/kendo-angular-buttons';
|
|
26
26
|
import { ChipListComponent, ChipComponent, ButtonComponent, ButtonDirective, Button, KENDO_BUTTON } from '@progress/kendo-angular-buttons';
|
|
27
|
-
import * as i1$
|
|
27
|
+
import * as i1$5 from '@progress/kendo-angular-dropdowns';
|
|
28
28
|
import { DropDownListComponent, AutoCompleteComponent } from '@progress/kendo-angular-dropdowns';
|
|
29
29
|
import * as i4 from '@angular/forms';
|
|
30
30
|
import { NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule, FormControl, FormGroup } from '@angular/forms';
|
|
31
|
-
import * as i2 from '@progress/kendo-angular-utils';
|
|
31
|
+
import * as i2$1 from '@progress/kendo-angular-utils';
|
|
32
32
|
import { DragTargetContainerDirective, DropTargetContainerDirective } from '@progress/kendo-angular-utils';
|
|
33
33
|
import * as i4$1 from '@progress/kendo-angular-inputs';
|
|
34
34
|
import { TextBoxComponent, NumericTextBoxComponent, NumericTextBoxCustomMessagesComponent, RadioButtonComponent, CheckBoxComponent, KENDO_FORMFIELD, KENDO_TEXTBOX, KENDO_NUMERICTEXTBOX, KENDO_CHECKBOX } from '@progress/kendo-angular-inputs';
|
|
35
35
|
import * as i5 from '@progress/kendo-angular-dateinputs';
|
|
36
36
|
import { DatePickerComponent, DatePickerCustomMessagesComponent, KENDO_DATEPICKER, CalendarDOMService, CenturyViewService, DecadeViewService, MonthViewService, YearViewService, NavigationService as NavigationService$1 } from '@progress/kendo-angular-dateinputs';
|
|
37
|
-
import * as
|
|
37
|
+
import * as i52 from '@progress/kendo-angular-toolbar';
|
|
38
38
|
import { KENDO_TOOLBAR } from '@progress/kendo-angular-toolbar';
|
|
39
39
|
import { trigger, state, style, transition, animate } from '@angular/animations';
|
|
40
40
|
import { TabStripComponent, TabStripTabComponent, TabTitleDirective, TabContentDirective } from '@progress/kendo-angular-layout';
|
|
@@ -46,7 +46,7 @@ import { validatePackage } from '@progress/kendo-licensing';
|
|
|
46
46
|
import { ActionSheetComponent, ActionSheetViewComponent, ActionSheetHeaderTemplateDirective, ActionSheetContentTemplateDirective, ActionSheetFooterTemplateDirective } from '@progress/kendo-angular-navigation';
|
|
47
47
|
import * as i3 from '@progress/kendo-angular-label';
|
|
48
48
|
import { KENDO_LABELS } from '@progress/kendo-angular-label';
|
|
49
|
-
import * as i1$
|
|
49
|
+
import * as i1$7 from '@progress/kendo-angular-dialog';
|
|
50
50
|
import { DialogContentBase, DialogActionsComponent, DialogService, DialogContainerService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
|
|
51
51
|
|
|
52
52
|
/* eslint-disable no-bitwise */
|
|
@@ -4094,12 +4094,12 @@ class NavigationService {
|
|
|
4094
4094
|
const offset = direction === 'Up' ? Math.abs(this.lastCellRowIndex - this.activeRowIndex) : (this.activeRowIndex + cellRowspan - this.lastCellRowIndex - 1);
|
|
4095
4095
|
return offset;
|
|
4096
4096
|
}
|
|
4097
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService, deps: [{ token: i0.NgZone }, { token: DomEventsService }, { token:
|
|
4097
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService, deps: [{ token: i0.NgZone }, { token: DomEventsService }, { token: i51.PagerContextService }, { token: ScrollRequestService }, { token: GroupsService }, { token: DetailsService }, { token: FocusRoot }, { token: EditService }, { token: i0.ChangeDetectorRef }, { token: ContextService }, { token: ColumnResizingService }, { token: FocusableDirective, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4098
4098
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService });
|
|
4099
4099
|
}
|
|
4100
4100
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NavigationService, decorators: [{
|
|
4101
4101
|
type: Injectable
|
|
4102
|
-
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: DomEventsService }, { type:
|
|
4102
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: DomEventsService }, { type: i51.PagerContextService }, { type: ScrollRequestService }, { type: GroupsService }, { type: DetailsService }, { type: FocusRoot }, { type: EditService }, { type: i0.ChangeDetectorRef }, { type: ContextService }, { type: ColumnResizingService }, { type: FocusableDirective, decorators: [{
|
|
4103
4103
|
type: Optional
|
|
4104
4104
|
}] }]; } });
|
|
4105
4105
|
|
|
@@ -5991,7 +5991,7 @@ class GroupPanelComponent {
|
|
|
5991
5991
|
this.destroyMenu(true);
|
|
5992
5992
|
}
|
|
5993
5993
|
}
|
|
5994
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupPanelComponent, deps: [{ token: DragHintService }, { token: DropCueService }, { token: GroupInfoService }, { token: ContextService }, { token: i0.ChangeDetectorRef }, { token:
|
|
5994
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupPanelComponent, deps: [{ token: DragHintService }, { token: DropCueService }, { token: GroupInfoService }, { token: ContextService }, { token: i0.ChangeDetectorRef }, { token: i2.PopupService }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
5995
5995
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GroupPanelComponent, isStandalone: true, selector: "kendo-grid-group-panel", inputs: { text: "text", navigable: "navigable", groups: "groups" }, outputs: { change: "change" }, host: { properties: { "class.k-grouping-header": "this.groupHeaderClass" } }, viewQueries: [{ propertyName: "defaultTemplate", first: true, predicate: ["defaultTemplate"], descendants: true, read: TemplateRef, static: true }, { propertyName: "dropTargets", predicate: DropTargetDirective, descendants: true }], ngImport: i0, template: `
|
|
5996
5996
|
<div
|
|
5997
5997
|
*ngIf="groups.length === 0"
|
|
@@ -6159,7 +6159,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6159
6159
|
standalone: true,
|
|
6160
6160
|
imports: [NgIf, DropTargetDirective, ChipListComponent, NgFor, ChipComponent, DraggableColumnDirective, DraggableDirective, EventsOutsideAngularDirective, IconWrapperComponent]
|
|
6161
6161
|
}]
|
|
6162
|
-
}], ctorParameters: function () { return [{ type: DragHintService }, { type: DropCueService }, { type: GroupInfoService }, { type: ContextService }, { type: i0.ChangeDetectorRef }, { type:
|
|
6162
|
+
}], ctorParameters: function () { return [{ type: DragHintService }, { type: DropCueService }, { type: GroupInfoService }, { type: ContextService }, { type: i0.ChangeDetectorRef }, { type: i2.PopupService }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { change: [{
|
|
6163
6163
|
type: Output
|
|
6164
6164
|
}], groupHeaderClass: [{
|
|
6165
6165
|
type: HostBinding,
|
|
@@ -7366,12 +7366,12 @@ class AdaptiveGridService {
|
|
|
7366
7366
|
get windowSize() {
|
|
7367
7367
|
return this.adaptiveService.size;
|
|
7368
7368
|
}
|
|
7369
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AdaptiveGridService, deps: [{ token: ContextService }, { token: i2.AdaptiveService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7369
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AdaptiveGridService, deps: [{ token: ContextService }, { token: i2$1.AdaptiveService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7370
7370
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AdaptiveGridService });
|
|
7371
7371
|
}
|
|
7372
7372
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AdaptiveGridService, decorators: [{
|
|
7373
7373
|
type: Injectable
|
|
7374
|
-
}], ctorParameters: function () { return [{ type: ContextService }, { type: i2.AdaptiveService }]; } });
|
|
7374
|
+
}], ctorParameters: function () { return [{ type: ContextService }, { type: i2$1.AdaptiveService }]; } });
|
|
7375
7375
|
|
|
7376
7376
|
const contains = (node, predicate) => {
|
|
7377
7377
|
while (node) {
|
|
@@ -7503,12 +7503,12 @@ class SinglePopupService {
|
|
|
7503
7503
|
}));
|
|
7504
7504
|
});
|
|
7505
7505
|
}
|
|
7506
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SinglePopupService, deps: [{ token:
|
|
7506
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SinglePopupService, deps: [{ token: i2.PopupService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: ScrollSyncService }, { token: ContextService }, { token: AdaptiveGridService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7507
7507
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SinglePopupService });
|
|
7508
7508
|
}
|
|
7509
7509
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SinglePopupService, decorators: [{
|
|
7510
7510
|
type: Injectable
|
|
7511
|
-
}], ctorParameters: function () { return [{ type:
|
|
7511
|
+
}], ctorParameters: function () { return [{ type: i2.PopupService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: ScrollSyncService }, { type: ContextService }, { type: AdaptiveGridService }]; } });
|
|
7512
7512
|
|
|
7513
7513
|
const insertDefaultFilter = (index, rootFilter, filter) => {
|
|
7514
7514
|
rootFilter = (rootFilter || { filters: [], logic: "and" });
|
|
@@ -7887,7 +7887,7 @@ class FilterMenuDropDownListDirective {
|
|
|
7887
7887
|
this.host.toggle(false);
|
|
7888
7888
|
}
|
|
7889
7889
|
};
|
|
7890
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuDropDownListDirective, deps: [{ token: i1$
|
|
7890
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuDropDownListDirective, deps: [{ token: i1$5.DropDownListComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
7891
7891
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FilterMenuDropDownListDirective, isStandalone: true, selector: "[kendoFilterMenuDropDown]", inputs: { filterMenuDropDownLabel: "filterMenuDropDownLabel" }, ngImport: i0 });
|
|
7892
7892
|
}
|
|
7893
7893
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterMenuDropDownListDirective, decorators: [{
|
|
@@ -7896,7 +7896,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
7896
7896
|
selector: '[kendoFilterMenuDropDown]',
|
|
7897
7897
|
standalone: true
|
|
7898
7898
|
}]
|
|
7899
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
7899
|
+
}], ctorParameters: function () { return [{ type: i1$5.DropDownListComponent }]; }, propDecorators: { filterMenuDropDownLabel: [{
|
|
7900
7900
|
type: Input
|
|
7901
7901
|
}] } });
|
|
7902
7902
|
|
|
@@ -9884,6 +9884,9 @@ class FilterMenuContainerComponent {
|
|
|
9884
9884
|
this.parentService.filter(root);
|
|
9885
9885
|
this.close.emit();
|
|
9886
9886
|
}
|
|
9887
|
+
resetChildFilters() {
|
|
9888
|
+
this._childFilter = null;
|
|
9889
|
+
}
|
|
9887
9890
|
onTab(e, buttonType) {
|
|
9888
9891
|
if (this.menuTabbingService.firstFocusable && (!this.menuTabbingService.isColumnMenu || this.isLast)) {
|
|
9889
9892
|
e.preventDefault();
|
|
@@ -11733,7 +11736,7 @@ class ColumnChooserComponent {
|
|
|
11733
11736
|
this.closeClick = null;
|
|
11734
11737
|
}
|
|
11735
11738
|
}
|
|
11736
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnChooserComponent, deps: [{ token: ContextService }, { token: ColumnInfoService }, { token:
|
|
11739
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnChooserComponent, deps: [{ token: ContextService }, { token: ColumnInfoService }, { token: i2.PopupService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
11737
11740
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: ColumnChooserComponent, isStandalone: true, selector: "kendo-grid-column-chooser", inputs: { autoSync: "autoSync", allowHideAll: "allowHideAll" }, viewQueries: [{ propertyName: "anchor", first: true, predicate: ["anchor"], descendants: true }, { propertyName: "columnList", first: true, predicate: ["columnList"], descendants: true }], ngImport: i0, template: `
|
|
11738
11741
|
<button #anchor
|
|
11739
11742
|
kendoButton
|
|
@@ -11796,7 +11799,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
11796
11799
|
standalone: true,
|
|
11797
11800
|
imports: [ButtonComponent, ColumnListComponent]
|
|
11798
11801
|
}]
|
|
11799
|
-
}], ctorParameters: function () { return [{ type: ContextService }, { type: ColumnInfoService }, { type:
|
|
11802
|
+
}], ctorParameters: function () { return [{ type: ContextService }, { type: ColumnInfoService }, { type: i2.PopupService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { autoSync: [{
|
|
11800
11803
|
type: Input
|
|
11801
11804
|
}], allowHideAll: [{
|
|
11802
11805
|
type: Input
|
|
@@ -11879,18 +11882,18 @@ class ToolbarToolBase {
|
|
|
11879
11882
|
this.clickSub.unsubscribe();
|
|
11880
11883
|
}
|
|
11881
11884
|
onClick(_e) { }
|
|
11882
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarToolBase, deps: [{ token:
|
|
11885
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarToolBase, deps: [{ token: i52.ToolBarButtonComponent }, { token: 'command' }, { token: ContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
11883
11886
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarToolBase, ngImport: i0 });
|
|
11884
11887
|
}
|
|
11885
11888
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarToolBase, decorators: [{
|
|
11886
11889
|
type: Directive,
|
|
11887
11890
|
args: [{}]
|
|
11888
|
-
}], ctorParameters: function () { return [{ type:
|
|
11891
|
+
}], ctorParameters: function () { return [{ type: i52.ToolBarButtonComponent }, { type: undefined, decorators: [{
|
|
11889
11892
|
type: Inject,
|
|
11890
11893
|
args: ['command']
|
|
11891
11894
|
}] }, { type: ContextService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
11892
11895
|
|
|
11893
|
-
let incrementingId$
|
|
11896
|
+
let incrementingId$3 = 0;
|
|
11894
11897
|
/**
|
|
11895
11898
|
* Represents the `column-chooser` toolbar tool of the Grid.
|
|
11896
11899
|
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
|
@@ -11934,7 +11937,8 @@ class ColumnChooserToolbarDirective extends ToolbarToolBase {
|
|
|
11934
11937
|
}
|
|
11935
11938
|
popupRef;
|
|
11936
11939
|
subs = new Subscription();
|
|
11937
|
-
|
|
11940
|
+
actionSheetCloseSub;
|
|
11941
|
+
nextId = incrementingId$3++;
|
|
11938
11942
|
constructor(renderer, popupSerivce, host, ctx, zone, refresh, adaptiveGridService, columnInfoService, cdr) {
|
|
11939
11943
|
super(host, ToolbarToolName.columns, ctx, zone, cdr);
|
|
11940
11944
|
this.renderer = renderer;
|
|
@@ -11975,6 +11979,10 @@ class ColumnChooserToolbarDirective extends ToolbarToolBase {
|
|
|
11975
11979
|
ngOnDestroy() {
|
|
11976
11980
|
super.ngOnDestroy();
|
|
11977
11981
|
this.subs.unsubscribe();
|
|
11982
|
+
if (this.actionSheetCloseSub) {
|
|
11983
|
+
this.actionSheetCloseSub.unsubscribe();
|
|
11984
|
+
this.actionSheetCloseSub = null;
|
|
11985
|
+
}
|
|
11978
11986
|
}
|
|
11979
11987
|
/**
|
|
11980
11988
|
* @hidden
|
|
@@ -11986,6 +11994,8 @@ class ColumnChooserToolbarDirective extends ToolbarToolBase {
|
|
|
11986
11994
|
this.adaptiveGridService.viewType = 'columnChooserToolbarTool';
|
|
11987
11995
|
this.adaptiveGridService.columns = this.columns;
|
|
11988
11996
|
this.ctx.grid.adaptiveRenderer.actionSheet.toggle(true);
|
|
11997
|
+
this.host.selected = true;
|
|
11998
|
+
this.actionSheetCloseSub = this.ctx.grid.adaptiveRenderer.actionSheet.collapse.subscribe(() => this.host.selected = false);
|
|
11989
11999
|
}
|
|
11990
12000
|
}
|
|
11991
12001
|
else {
|
|
@@ -12056,7 +12066,7 @@ class ColumnChooserToolbarDirective extends ToolbarToolBase {
|
|
|
12056
12066
|
get buttonElement() {
|
|
12057
12067
|
return this.host.getButton();
|
|
12058
12068
|
}
|
|
12059
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnChooserToolbarDirective, deps: [{ token: i0.Renderer2 }, { token:
|
|
12069
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnChooserToolbarDirective, deps: [{ token: i0.Renderer2 }, { token: i2.PopupService }, { token: i52.ToolBarButtonComponent }, { token: ContextService }, { token: i0.NgZone }, { token: i52.RefreshService }, { token: AdaptiveGridService }, { token: ColumnInfoService }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
12060
12070
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ColumnChooserToolbarDirective, isStandalone: true, selector: "[kendoGridColumnChooserTool]", inputs: { autoSync: "autoSync", allowHideAll: "allowHideAll" }, usesInheritance: true, ngImport: i0 });
|
|
12061
12071
|
}
|
|
12062
12072
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ColumnChooserToolbarDirective, decorators: [{
|
|
@@ -12065,7 +12075,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
12065
12075
|
selector: '[kendoGridColumnChooserTool]',
|
|
12066
12076
|
standalone: true
|
|
12067
12077
|
}]
|
|
12068
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type:
|
|
12078
|
+
}], ctorParameters: function () { return [{ type: i0.Renderer2 }, { type: i2.PopupService }, { type: i52.ToolBarButtonComponent }, { type: ContextService }, { type: i0.NgZone }, { type: i52.RefreshService }, { type: AdaptiveGridService }, { type: ColumnInfoService }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { autoSync: [{
|
|
12069
12079
|
type: Input
|
|
12070
12080
|
}], allowHideAll: [{
|
|
12071
12081
|
type: Input
|
|
@@ -20466,8 +20476,8 @@ const packageMetadata = {
|
|
|
20466
20476
|
productName: 'Kendo UI for Angular',
|
|
20467
20477
|
productCode: 'KENDOUIANGULAR',
|
|
20468
20478
|
productCodes: ['KENDOUIANGULAR'],
|
|
20469
|
-
publishDate:
|
|
20470
|
-
version: '19.0.0-develop.
|
|
20479
|
+
publishDate: 1748358835,
|
|
20480
|
+
version: '19.0.0-develop.33',
|
|
20471
20481
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
20472
20482
|
};
|
|
20473
20483
|
|
|
@@ -23870,10 +23880,18 @@ class GridMessages extends ComponentMessages {
|
|
|
23870
23880
|
* The title that is displayed in the adaptive Sort Toolbar Tool.
|
|
23871
23881
|
*/
|
|
23872
23882
|
adaptiveSortTitle;
|
|
23883
|
+
/**
|
|
23884
|
+
* The title that is displayed in the adaptive Group Toolbar Tool.
|
|
23885
|
+
*/
|
|
23886
|
+
adaptiveGroupTitle;
|
|
23873
23887
|
/**
|
|
23874
23888
|
* The text of the **Clear all filters** button located in the Filter Toolbar Tool and adaptive Filter Toolbar Tool.
|
|
23875
23889
|
*/
|
|
23876
23890
|
filterClearAllButton;
|
|
23891
|
+
/**
|
|
23892
|
+
* The text of the **Clear grouping** button in the Group Toolbar Tool and adaptive Group Toolbar Tool.
|
|
23893
|
+
*/
|
|
23894
|
+
groupClearButton;
|
|
23877
23895
|
/**
|
|
23878
23896
|
* The text of the clear sort button located in the Sort Toolbar Tool and adaptive Sort Toolbar Tool.
|
|
23879
23897
|
*/
|
|
@@ -23882,6 +23900,10 @@ class GridMessages extends ComponentMessages {
|
|
|
23882
23900
|
* The text of the **Done** sort button.
|
|
23883
23901
|
*/
|
|
23884
23902
|
sortDoneButton;
|
|
23903
|
+
/**
|
|
23904
|
+
* The text of the **Done** group button in the adaptive Group Toolbar Tool.
|
|
23905
|
+
*/
|
|
23906
|
+
groupDoneButton;
|
|
23885
23907
|
/**
|
|
23886
23908
|
* The text that is displayed in the column menu for the lock item.
|
|
23887
23909
|
*/
|
|
@@ -24048,6 +24070,10 @@ class GridMessages extends ComponentMessages {
|
|
|
24048
24070
|
* The text for the Group pane Chip Menu Move as next item.
|
|
24049
24071
|
*/
|
|
24050
24072
|
groupChipMenuNext;
|
|
24073
|
+
/**
|
|
24074
|
+
* The button text of the Group toolbar tool.
|
|
24075
|
+
*/
|
|
24076
|
+
groupToolbarToolText;
|
|
24051
24077
|
/**
|
|
24052
24078
|
* The default text of a form validation error when using the built-in external editing.
|
|
24053
24079
|
* <br/><br/>
|
|
@@ -24098,7 +24124,7 @@ class GridMessages extends ComponentMessages {
|
|
|
24098
24124
|
*/
|
|
24099
24125
|
externalEditingCancelText;
|
|
24100
24126
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
24101
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GridMessages, selector: "kendo-grid-messages-base", inputs: { groupPanelEmpty: "groupPanelEmpty", noRecords: "noRecords", pagerLabel: "pagerLabel", pagerFirstPage: "pagerFirstPage", pagerLastPage: "pagerLastPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerPage: "pagerPage", pagerItemsPerPage: "pagerItemsPerPage", pagerOf: "pagerOf", pagerItems: "pagerItems", pagerPageNumberInputTitle: "pagerPageNumberInputTitle", pagerInputLabel: "pagerInputLabel", pagerSelectPage: "pagerSelectPage", filter: "filter", filterInputLabel: "filterInputLabel", filterMenuTitle: "filterMenuTitle", filterMenuOperatorsDropDownLabel: "filterMenuOperatorsDropDownLabel", filterMenuLogicDropDownLabel: "filterMenuLogicDropDownLabel", filterCellOperatorLabel: "filterCellOperatorLabel", booleanFilterCellLabel: "booleanFilterCellLabel", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", adaptiveFilterOperatorsTitle: "adaptiveFilterOperatorsTitle", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", adaptiveCloseButtonTitle: "adaptiveCloseButtonTitle", adaptiveBackButtonTitle: "adaptiveBackButtonTitle", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", filterToolbarToolText: "filterToolbarToolText", loading: "loading", gridLabel: "gridLabel", columnMenu: "columnMenu", setColumnPosition: "setColumnPosition", columns: "columns", columnsSubtitle: "columnsSubtitle", adaptiveFilterTitle: "adaptiveFilterTitle", adaptiveSortTitle: "adaptiveSortTitle", filterClearAllButton: "filterClearAllButton", sortClearButton: "sortClearButton", sortDoneButton: "sortDoneButton", lock: "lock", unlock: "unlock", stick: "stick", unstick: "unstick", sortable: "sortable", sortAscending: "sortAscending", sortDescending: "sortDescending", autosizeThisColumn: "autosizeThisColumn", autosizeAllColumns: "autosizeAllColumns", sortedAscending: "sortedAscending", sortedDescending: "sortedDescending", sortedDefault: "sortedDefault", sortToolbarToolText: "sortToolbarToolText", columnsApply: "columnsApply", columnsReset: "columnsReset", detailExpand: "detailExpand", detailCollapse: "detailCollapse", filterDateToday: "filterDateToday", filterDateToggle: "filterDateToggle", filterNumericDecrement: "filterNumericDecrement", filterNumericIncrement: "filterNumericIncrement", selectionCheckboxLabel: "selectionCheckboxLabel", selectAllCheckboxLabel: "selectAllCheckboxLabel", groupCollapse: "groupCollapse", groupExpand: "groupExpand", topToolbarLabel: "topToolbarLabel", bottomToolbarLabel: "bottomToolbarLabel", editToolbarToolText: "editToolbarToolText", saveToolbarToolText: "saveToolbarToolText", addToolbarToolText: "addToolbarToolText", cancelToolbarToolText: "cancelToolbarToolText", removeToolbarToolText: "removeToolbarToolText", excelExportToolbarToolText: "excelExportToolbarToolText", pdfExportToolbarToolText: "pdfExportToolbarToolText", groupPanelLabel: "groupPanelLabel", dragRowHandleLabel: "dragRowHandleLabel", columnMenuFilterTabTitle: "columnMenuFilterTabTitle", columnMenuGeneralTabTitle: "columnMenuGeneralTabTitle", columnMenuColumnsTabTitle: "columnMenuColumnsTabTitle", groupChipMenuPrevious: "groupChipMenuPrevious", groupChipMenuNext: "groupChipMenuNext", formValidationErrorText: "formValidationErrorText", removeConfirmationDialogTitle: "removeConfirmationDialogTitle", removeConfirmationDialogContent: "removeConfirmationDialogContent", removeConfirmationDialogConfirmText: "removeConfirmationDialogConfirmText", removeConfirmationDialogRejectText: "removeConfirmationDialogRejectText", externalEditingTitle: "externalEditingTitle", externalEditingAddTitle: "externalEditingAddTitle", externalEditingSaveText: "externalEditingSaveText", externalEditingCancelText: "externalEditingCancelText" }, usesInheritance: true, ngImport: i0 });
|
|
24127
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GridMessages, selector: "kendo-grid-messages-base", inputs: { groupPanelEmpty: "groupPanelEmpty", noRecords: "noRecords", pagerLabel: "pagerLabel", pagerFirstPage: "pagerFirstPage", pagerLastPage: "pagerLastPage", pagerPreviousPage: "pagerPreviousPage", pagerNextPage: "pagerNextPage", pagerPage: "pagerPage", pagerItemsPerPage: "pagerItemsPerPage", pagerOf: "pagerOf", pagerItems: "pagerItems", pagerPageNumberInputTitle: "pagerPageNumberInputTitle", pagerInputLabel: "pagerInputLabel", pagerSelectPage: "pagerSelectPage", filter: "filter", filterInputLabel: "filterInputLabel", filterMenuTitle: "filterMenuTitle", filterMenuOperatorsDropDownLabel: "filterMenuOperatorsDropDownLabel", filterMenuLogicDropDownLabel: "filterMenuLogicDropDownLabel", filterCellOperatorLabel: "filterCellOperatorLabel", booleanFilterCellLabel: "booleanFilterCellLabel", filterEqOperator: "filterEqOperator", filterNotEqOperator: "filterNotEqOperator", filterIsNullOperator: "filterIsNullOperator", filterIsNotNullOperator: "filterIsNotNullOperator", filterIsEmptyOperator: "filterIsEmptyOperator", filterIsNotEmptyOperator: "filterIsNotEmptyOperator", filterStartsWithOperator: "filterStartsWithOperator", filterContainsOperator: "filterContainsOperator", filterNotContainsOperator: "filterNotContainsOperator", filterEndsWithOperator: "filterEndsWithOperator", filterGteOperator: "filterGteOperator", filterGtOperator: "filterGtOperator", filterLteOperator: "filterLteOperator", filterLtOperator: "filterLtOperator", filterIsTrue: "filterIsTrue", filterIsFalse: "filterIsFalse", filterBooleanAll: "filterBooleanAll", adaptiveFilterOperatorsTitle: "adaptiveFilterOperatorsTitle", filterAfterOrEqualOperator: "filterAfterOrEqualOperator", filterAfterOperator: "filterAfterOperator", filterBeforeOperator: "filterBeforeOperator", filterBeforeOrEqualOperator: "filterBeforeOrEqualOperator", filterFilterButton: "filterFilterButton", filterClearButton: "filterClearButton", adaptiveCloseButtonTitle: "adaptiveCloseButtonTitle", adaptiveBackButtonTitle: "adaptiveBackButtonTitle", filterAndLogic: "filterAndLogic", filterOrLogic: "filterOrLogic", filterToolbarToolText: "filterToolbarToolText", loading: "loading", gridLabel: "gridLabel", columnMenu: "columnMenu", setColumnPosition: "setColumnPosition", columns: "columns", columnsSubtitle: "columnsSubtitle", adaptiveFilterTitle: "adaptiveFilterTitle", adaptiveSortTitle: "adaptiveSortTitle", adaptiveGroupTitle: "adaptiveGroupTitle", filterClearAllButton: "filterClearAllButton", groupClearButton: "groupClearButton", sortClearButton: "sortClearButton", sortDoneButton: "sortDoneButton", groupDoneButton: "groupDoneButton", lock: "lock", unlock: "unlock", stick: "stick", unstick: "unstick", sortable: "sortable", sortAscending: "sortAscending", sortDescending: "sortDescending", autosizeThisColumn: "autosizeThisColumn", autosizeAllColumns: "autosizeAllColumns", sortedAscending: "sortedAscending", sortedDescending: "sortedDescending", sortedDefault: "sortedDefault", sortToolbarToolText: "sortToolbarToolText", columnsApply: "columnsApply", columnsReset: "columnsReset", detailExpand: "detailExpand", detailCollapse: "detailCollapse", filterDateToday: "filterDateToday", filterDateToggle: "filterDateToggle", filterNumericDecrement: "filterNumericDecrement", filterNumericIncrement: "filterNumericIncrement", selectionCheckboxLabel: "selectionCheckboxLabel", selectAllCheckboxLabel: "selectAllCheckboxLabel", groupCollapse: "groupCollapse", groupExpand: "groupExpand", topToolbarLabel: "topToolbarLabel", bottomToolbarLabel: "bottomToolbarLabel", editToolbarToolText: "editToolbarToolText", saveToolbarToolText: "saveToolbarToolText", addToolbarToolText: "addToolbarToolText", cancelToolbarToolText: "cancelToolbarToolText", removeToolbarToolText: "removeToolbarToolText", excelExportToolbarToolText: "excelExportToolbarToolText", pdfExportToolbarToolText: "pdfExportToolbarToolText", groupPanelLabel: "groupPanelLabel", dragRowHandleLabel: "dragRowHandleLabel", columnMenuFilterTabTitle: "columnMenuFilterTabTitle", columnMenuGeneralTabTitle: "columnMenuGeneralTabTitle", columnMenuColumnsTabTitle: "columnMenuColumnsTabTitle", groupChipMenuPrevious: "groupChipMenuPrevious", groupChipMenuNext: "groupChipMenuNext", groupToolbarToolText: "groupToolbarToolText", formValidationErrorText: "formValidationErrorText", removeConfirmationDialogTitle: "removeConfirmationDialogTitle", removeConfirmationDialogContent: "removeConfirmationDialogContent", removeConfirmationDialogConfirmText: "removeConfirmationDialogConfirmText", removeConfirmationDialogRejectText: "removeConfirmationDialogRejectText", externalEditingTitle: "externalEditingTitle", externalEditingAddTitle: "externalEditingAddTitle", externalEditingSaveText: "externalEditingSaveText", externalEditingCancelText: "externalEditingCancelText" }, usesInheritance: true, ngImport: i0 });
|
|
24102
24128
|
}
|
|
24103
24129
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridMessages, decorators: [{
|
|
24104
24130
|
type: Directive,
|
|
@@ -24222,12 +24248,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
24222
24248
|
type: Input
|
|
24223
24249
|
}], adaptiveSortTitle: [{
|
|
24224
24250
|
type: Input
|
|
24251
|
+
}], adaptiveGroupTitle: [{
|
|
24252
|
+
type: Input
|
|
24225
24253
|
}], filterClearAllButton: [{
|
|
24226
24254
|
type: Input
|
|
24255
|
+
}], groupClearButton: [{
|
|
24256
|
+
type: Input
|
|
24227
24257
|
}], sortClearButton: [{
|
|
24228
24258
|
type: Input
|
|
24229
24259
|
}], sortDoneButton: [{
|
|
24230
24260
|
type: Input
|
|
24261
|
+
}], groupDoneButton: [{
|
|
24262
|
+
type: Input
|
|
24231
24263
|
}], lock: [{
|
|
24232
24264
|
type: Input
|
|
24233
24265
|
}], unlock: [{
|
|
@@ -24310,6 +24342,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
24310
24342
|
type: Input
|
|
24311
24343
|
}], groupChipMenuNext: [{
|
|
24312
24344
|
type: Input
|
|
24345
|
+
}], groupToolbarToolText: [{
|
|
24346
|
+
type: Input
|
|
24313
24347
|
}], formValidationErrorText: [{
|
|
24314
24348
|
type: Input
|
|
24315
24349
|
}], removeConfirmationDialogTitle: [{
|
|
@@ -24461,6 +24495,11 @@ class FilterToolbarToolComponent {
|
|
|
24461
24495
|
handleClose(filterItem) {
|
|
24462
24496
|
filterItem.expanded = false;
|
|
24463
24497
|
filterItem.contentState = 'collapsed';
|
|
24498
|
+
const filterContainer = this.filterContainers.find(container => container.column === filterItem.column);
|
|
24499
|
+
if (filterContainer) {
|
|
24500
|
+
// reset the child filter to ensure it is reinitialized based on the global filter on the next open
|
|
24501
|
+
filterContainer.resetChildFilters();
|
|
24502
|
+
}
|
|
24464
24503
|
}
|
|
24465
24504
|
toggleItem(event, index) {
|
|
24466
24505
|
const menuItem = this.menuItems.get(index);
|
|
@@ -24717,7 +24756,7 @@ class SortToolbarToolComponent {
|
|
|
24717
24756
|
{{ctx?.localization.get('sortClearButton')}}
|
|
24718
24757
|
</button>
|
|
24719
24758
|
</div>
|
|
24720
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i1$
|
|
24759
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
24721
24760
|
}
|
|
24722
24761
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortToolbarToolComponent, decorators: [{
|
|
24723
24762
|
type: Component,
|
|
@@ -25010,7 +25049,7 @@ class FormComponent {
|
|
|
25010
25049
|
</button>
|
|
25011
25050
|
</div>
|
|
25012
25051
|
</div>
|
|
25013
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: FormFormFieldComponent, selector: "kendo-form-formfield", inputs: ["control", "floatingLabel", "showError"] }, { kind: "component", type: i1$
|
|
25052
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "component", type: FormFormFieldComponent, selector: "kendo-form-formfield", inputs: ["control", "floatingLabel", "showError"] }, { kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
25014
25053
|
}
|
|
25015
25054
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FormComponent, decorators: [{
|
|
25016
25055
|
type: Component,
|
|
@@ -25088,7 +25127,7 @@ class DialogFormComponent extends DialogContentBase {
|
|
|
25088
25127
|
messageFor(key) {
|
|
25089
25128
|
return this.localization.get(key);
|
|
25090
25129
|
}
|
|
25091
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogFormComponent, deps: [{ token: i1$
|
|
25130
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogFormComponent, deps: [{ token: i1$7.DialogRef }, { token: i1$2.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
25092
25131
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DialogFormComponent, isStandalone: true, selector: "kendo-grid-dialog-form", inputs: { controls: "controls", formGroup: "formGroup", formSettings: "formSettings" }, usesInheritance: true, ngImport: i0, template: `
|
|
25093
25132
|
<kendo-grid-external-form
|
|
25094
25133
|
[controls]="controls"
|
|
@@ -25112,7 +25151,7 @@ class DialogFormComponent extends DialogContentBase {
|
|
|
25112
25151
|
{{messageFor('externalEditingCancelText')}}
|
|
25113
25152
|
</button>
|
|
25114
25153
|
</kendo-dialog-actions>
|
|
25115
|
-
`, isInline: true, dependencies: [{ kind: "component", type: FormComponent, selector: "kendo-grid-external-form", inputs: ["controls", "formSettings", "formGroup", "actionButtons"], outputs: ["formSubmit"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: i1$
|
|
25154
|
+
`, isInline: true, dependencies: [{ kind: "component", type: FormComponent, selector: "kendo-grid-external-form", inputs: ["controls", "formSettings", "formGroup", "actionButtons"], outputs: ["formSubmit"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
25116
25155
|
}
|
|
25117
25156
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DialogFormComponent, decorators: [{
|
|
25118
25157
|
type: Component,
|
|
@@ -25145,7 +25184,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
25145
25184
|
</kendo-dialog-actions>
|
|
25146
25185
|
`
|
|
25147
25186
|
}]
|
|
25148
|
-
}], ctorParameters: function () { return [{ type: i1$
|
|
25187
|
+
}], ctorParameters: function () { return [{ type: i1$7.DialogRef }, { type: i1$2.LocalizationService }]; }, propDecorators: { controls: [{
|
|
25149
25188
|
type: Input
|
|
25150
25189
|
}], formGroup: [{
|
|
25151
25190
|
type: Input
|
|
@@ -25153,6 +25192,419 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
25153
25192
|
type: Input
|
|
25154
25193
|
}] } });
|
|
25155
25194
|
|
|
25195
|
+
/**
|
|
25196
|
+
* @hidden
|
|
25197
|
+
*/
|
|
25198
|
+
class GroupToolbarToolComponent {
|
|
25199
|
+
element;
|
|
25200
|
+
ngZone;
|
|
25201
|
+
hostClass = true;
|
|
25202
|
+
get lgClass() {
|
|
25203
|
+
return this.adaptive;
|
|
25204
|
+
}
|
|
25205
|
+
get mdClass() {
|
|
25206
|
+
return !this.adaptive;
|
|
25207
|
+
}
|
|
25208
|
+
onEscKeyDown(event) {
|
|
25209
|
+
event.preventDefault();
|
|
25210
|
+
this.hostButton?.focus(event);
|
|
25211
|
+
this.close.emit();
|
|
25212
|
+
}
|
|
25213
|
+
set groupItems(items) {
|
|
25214
|
+
this._groupItems = items;
|
|
25215
|
+
if (items?.first && (!isPresent$1(this.currentFocusedItemIndex) || this.currentFocusedItemIndex >= items.length || this.currentFocusedItemIndex < 0)) {
|
|
25216
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
25217
|
+
this.currentFocusedItemIndex = 0;
|
|
25218
|
+
this.groupItems.first.nativeElement.focus();
|
|
25219
|
+
});
|
|
25220
|
+
return;
|
|
25221
|
+
}
|
|
25222
|
+
if (items?.first) {
|
|
25223
|
+
items.get(this.currentFocusedItemIndex).nativeElement.focus();
|
|
25224
|
+
}
|
|
25225
|
+
}
|
|
25226
|
+
get groupItems() {
|
|
25227
|
+
return this._groupItems;
|
|
25228
|
+
}
|
|
25229
|
+
_groupItems;
|
|
25230
|
+
adaptive = false;
|
|
25231
|
+
close = new EventEmitter();
|
|
25232
|
+
groupClear = new EventEmitter();
|
|
25233
|
+
currentFocusedItemIndex;
|
|
25234
|
+
group = new Array();
|
|
25235
|
+
columns = [];
|
|
25236
|
+
iconSize = 'medium';
|
|
25237
|
+
upIcon = chevronUpIcon;
|
|
25238
|
+
downIcon = chevronDownIcon;
|
|
25239
|
+
removeIcon = xCircleIcon;
|
|
25240
|
+
addIcon = plusCircleIcon;
|
|
25241
|
+
clearIcon = xIcon;
|
|
25242
|
+
_ctx;
|
|
25243
|
+
set ctx(ctx) {
|
|
25244
|
+
if (!ctx || !ctx.grid) {
|
|
25245
|
+
return;
|
|
25246
|
+
}
|
|
25247
|
+
this._ctx = ctx;
|
|
25248
|
+
this.group = ctx.grid.group;
|
|
25249
|
+
this.subscription = ctx.grid.groupChange.subscribe((group) => {
|
|
25250
|
+
this.group = group;
|
|
25251
|
+
this.updateGroupedColumns();
|
|
25252
|
+
});
|
|
25253
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
25254
|
+
this.updateGroupedColumns();
|
|
25255
|
+
});
|
|
25256
|
+
}
|
|
25257
|
+
get ctx() {
|
|
25258
|
+
return this._ctx;
|
|
25259
|
+
}
|
|
25260
|
+
groupedColumns = [];
|
|
25261
|
+
ungroupedColumns = [];
|
|
25262
|
+
subscription;
|
|
25263
|
+
hostButton;
|
|
25264
|
+
constructor(element, ngZone) {
|
|
25265
|
+
this.element = element;
|
|
25266
|
+
this.ngZone = ngZone;
|
|
25267
|
+
}
|
|
25268
|
+
ngOnInit() {
|
|
25269
|
+
this.iconSize = this.adaptive ? 'large' : 'medium';
|
|
25270
|
+
}
|
|
25271
|
+
ngOnDestroy() {
|
|
25272
|
+
if (this.subscription) {
|
|
25273
|
+
this.subscription.unsubscribe();
|
|
25274
|
+
}
|
|
25275
|
+
}
|
|
25276
|
+
addGroup(column, ev) {
|
|
25277
|
+
ev.stopImmediatePropagation();
|
|
25278
|
+
const index = this.group.length;
|
|
25279
|
+
const groups = this.group.filter(x => x.field !== column?.field);
|
|
25280
|
+
if (groups.length || this.group.length === 0) {
|
|
25281
|
+
this.group = [...groups.slice(0, index), { field: column?.field }, ...groups.slice(index)];
|
|
25282
|
+
this.ctx.grid.groupChange.emit(this.group);
|
|
25283
|
+
this.updateGroupedColumns();
|
|
25284
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
25285
|
+
const newIndex = this.groupedColumns.length - 1;
|
|
25286
|
+
const newItem = this.groupItems.get(newIndex);
|
|
25287
|
+
if (newItem) {
|
|
25288
|
+
this.currentFocusedItemIndex = (this.groupedColumns?.length || 0) + newIndex;
|
|
25289
|
+
newItem.nativeElement.focus();
|
|
25290
|
+
}
|
|
25291
|
+
});
|
|
25292
|
+
}
|
|
25293
|
+
}
|
|
25294
|
+
removeGroup(column, ev) {
|
|
25295
|
+
ev.stopImmediatePropagation();
|
|
25296
|
+
this.group = this.group.filter(x => x.field !== column?.field);
|
|
25297
|
+
this.ctx.grid.groupChange.emit(this.group);
|
|
25298
|
+
this.updateGroupedColumns();
|
|
25299
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
25300
|
+
const newIndex = this.ungroupedColumns.findIndex(ungroupedColumn => ungroupedColumn?.field === column?.field);
|
|
25301
|
+
const newItem = this.groupItems.get(newIndex + this.groupedColumns.length);
|
|
25302
|
+
if (newItem) {
|
|
25303
|
+
newItem.nativeElement.focus();
|
|
25304
|
+
}
|
|
25305
|
+
});
|
|
25306
|
+
}
|
|
25307
|
+
moveGroupUp(column, ev) {
|
|
25308
|
+
ev.stopImmediatePropagation();
|
|
25309
|
+
const index = this.group.findIndex(x => x.field === column?.field);
|
|
25310
|
+
if (index > 0) {
|
|
25311
|
+
const groupToMove = this.group[index];
|
|
25312
|
+
this.group.splice(index, 1);
|
|
25313
|
+
this.group.splice(index - 1, 0, groupToMove);
|
|
25314
|
+
this.ctx.grid.groupChange.emit(this.group);
|
|
25315
|
+
this.updateGroupedColumns();
|
|
25316
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
25317
|
+
const newItem = this.groupItems.get(index - 1);
|
|
25318
|
+
if (newItem) {
|
|
25319
|
+
newItem.nativeElement.focus();
|
|
25320
|
+
this.currentFocusedItemIndex = index - 1;
|
|
25321
|
+
}
|
|
25322
|
+
});
|
|
25323
|
+
}
|
|
25324
|
+
}
|
|
25325
|
+
moveGroupDown(column, ev) {
|
|
25326
|
+
ev.stopImmediatePropagation();
|
|
25327
|
+
const index = this.group.findIndex(x => x.field === column?.field);
|
|
25328
|
+
if (index < this.group.length - 1) {
|
|
25329
|
+
const groupToMove = this.group[index];
|
|
25330
|
+
this.group.splice(index, 1);
|
|
25331
|
+
this.group.splice(index + 1, 0, groupToMove);
|
|
25332
|
+
this.ctx.grid.groupChange.emit(this.group);
|
|
25333
|
+
this.updateGroupedColumns();
|
|
25334
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
25335
|
+
const newItem = this.groupItems.get(index + 1);
|
|
25336
|
+
if (newItem) {
|
|
25337
|
+
newItem.nativeElement.focus();
|
|
25338
|
+
this.currentFocusedItemIndex = index + 1;
|
|
25339
|
+
}
|
|
25340
|
+
});
|
|
25341
|
+
}
|
|
25342
|
+
}
|
|
25343
|
+
clear() {
|
|
25344
|
+
this.group = [];
|
|
25345
|
+
this.ctx.grid.groupChange.emit(this.group);
|
|
25346
|
+
this.groupClear.emit(this.group);
|
|
25347
|
+
}
|
|
25348
|
+
getColumnComponent(column) {
|
|
25349
|
+
return column;
|
|
25350
|
+
}
|
|
25351
|
+
onItemFocus(groupIndex, index) {
|
|
25352
|
+
const currentIndex = (typeof groupIndex === 'number' ? groupIndex : this.groupedColumns?.length || 0) + index;
|
|
25353
|
+
this.currentFocusedItemIndex = currentIndex;
|
|
25354
|
+
}
|
|
25355
|
+
handleGroupedKeydown(column, index, ev) {
|
|
25356
|
+
if (ev.code === 'Enter' || ev.code === 'Backspace' || ev.code === 'Delete') {
|
|
25357
|
+
this.removeGroup(column, ev);
|
|
25358
|
+
}
|
|
25359
|
+
else if (ev.code === 'ArrowUp' && ev.shiftKey) {
|
|
25360
|
+
this.moveGroupUp(column, ev);
|
|
25361
|
+
}
|
|
25362
|
+
else if (ev.code === 'ArrowDown' && ev.shiftKey) {
|
|
25363
|
+
this.moveGroupDown(column, ev);
|
|
25364
|
+
}
|
|
25365
|
+
else if (ev.code === 'ArrowUp') {
|
|
25366
|
+
this.navigateToPreviousItem();
|
|
25367
|
+
}
|
|
25368
|
+
else if (ev.code === 'ArrowDown') {
|
|
25369
|
+
this.navigateToNextItem();
|
|
25370
|
+
}
|
|
25371
|
+
}
|
|
25372
|
+
handleUngroupedKeydown(column, index, ev) {
|
|
25373
|
+
if (ev.code === 'Enter') {
|
|
25374
|
+
this.addGroup(column, ev);
|
|
25375
|
+
}
|
|
25376
|
+
else if (ev.code === 'ArrowUp') {
|
|
25377
|
+
this.navigateToPreviousItem();
|
|
25378
|
+
}
|
|
25379
|
+
else if (ev.code === 'ArrowDown') {
|
|
25380
|
+
this.navigateToNextItem();
|
|
25381
|
+
}
|
|
25382
|
+
}
|
|
25383
|
+
updateGroupedColumns() {
|
|
25384
|
+
this.groupedColumns = this.group
|
|
25385
|
+
.map(group => this.ctx.grid.columns.find(column => column?.field === group.field))
|
|
25386
|
+
.filter(column => !!column);
|
|
25387
|
+
this.ungroupedColumns = this.ctx.grid.columns.filter(column => column?.groupable &&
|
|
25388
|
+
!this.groupedColumns.some(gc => gc?.field === column?.field));
|
|
25389
|
+
}
|
|
25390
|
+
navigateToNextItem() {
|
|
25391
|
+
if (this.currentFocusedItemIndex < this.groupItems.length - 1) {
|
|
25392
|
+
this.currentFocusedItemIndex++;
|
|
25393
|
+
this.groupItems.get(this.currentFocusedItemIndex).nativeElement.focus();
|
|
25394
|
+
}
|
|
25395
|
+
else if (this.currentFocusedItemIndex === this.groupItems.length - 1) {
|
|
25396
|
+
this.currentFocusedItemIndex = 0;
|
|
25397
|
+
this.groupItems.get(this.currentFocusedItemIndex).nativeElement.focus();
|
|
25398
|
+
}
|
|
25399
|
+
}
|
|
25400
|
+
navigateToPreviousItem() {
|
|
25401
|
+
if (this.currentFocusedItemIndex > 0) {
|
|
25402
|
+
this.currentFocusedItemIndex--;
|
|
25403
|
+
this.groupItems.get(this.currentFocusedItemIndex).nativeElement.focus();
|
|
25404
|
+
}
|
|
25405
|
+
else if (this.currentFocusedItemIndex === 0) {
|
|
25406
|
+
this.currentFocusedItemIndex = this.groupItems.length - 1;
|
|
25407
|
+
this.groupItems.get(this.currentFocusedItemIndex).nativeElement.focus();
|
|
25408
|
+
}
|
|
25409
|
+
}
|
|
25410
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupToolbarToolComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
25411
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GroupToolbarToolComponent, isStandalone: true, selector: "kendo-group-toolbar-tool", inputs: { adaptive: "adaptive" }, outputs: { close: "close", groupClear: "groupClear" }, host: { listeners: { "keydown.escape": "onEscKeyDown($event)" }, properties: { "class.k-group-menu": "this.hostClass", "class.k-group-menu-lg": "this.lgClass", "class.k-group-menu-md": "this.mdClass" } }, viewQueries: [{ propertyName: "groupItems", predicate: ["groupItem"], descendants: true, read: ElementRef }], ngImport: i0, template: `
|
|
25412
|
+
<div *ngIf="groupedColumns.length" class="k-group-menu-item-wrap">
|
|
25413
|
+
<div *ngFor="let column of groupedColumns; let i = index"
|
|
25414
|
+
#groupItem
|
|
25415
|
+
role="button"
|
|
25416
|
+
class="k-group-menu-item"
|
|
25417
|
+
tabindex="0"
|
|
25418
|
+
(keydown)="handleGroupedKeydown(column, i, $event)"
|
|
25419
|
+
(focus)="onItemFocus(i, 0)"
|
|
25420
|
+
>
|
|
25421
|
+
<span class="k-group-menu-item-actions" *ngIf="groupedColumns.length > 1">
|
|
25422
|
+
<span
|
|
25423
|
+
class="k-group-menu-item-action k-group-menu-item-up-action"
|
|
25424
|
+
(click)="moveGroupUp(column, $event)"
|
|
25425
|
+
[attr.aria-disabled]="i === 0"
|
|
25426
|
+
[class.k-disabled]="i === 0"
|
|
25427
|
+
>
|
|
25428
|
+
<kendo-icon-wrapper
|
|
25429
|
+
name="arrow-chevron-up"
|
|
25430
|
+
[svgIcon]="upIcon"
|
|
25431
|
+
[size]="iconSize"
|
|
25432
|
+
></kendo-icon-wrapper>
|
|
25433
|
+
</span>
|
|
25434
|
+
<span
|
|
25435
|
+
class="k-group-menu-item-action k-group-menu-item-down-action"
|
|
25436
|
+
(click)="moveGroupDown(column, $event)"
|
|
25437
|
+
[attr.aria-disabled]="i === groupedColumns.length - 1"
|
|
25438
|
+
[class.k-disabled]="i === groupedColumns.length - 1"
|
|
25439
|
+
>
|
|
25440
|
+
<kendo-icon-wrapper
|
|
25441
|
+
name="arrow-chevron-down"
|
|
25442
|
+
[svgIcon]="downIcon"
|
|
25443
|
+
[size]="iconSize"
|
|
25444
|
+
></kendo-icon-wrapper>
|
|
25445
|
+
</span>
|
|
25446
|
+
</span>
|
|
25447
|
+
<span class="k-group-item-text">{{column.title || getColumnComponent(column).field}}</span>
|
|
25448
|
+
<span class="k-spacer"></span>
|
|
25449
|
+
<span class="k-group-menu-item-actions">
|
|
25450
|
+
<span class="k-group-menu-item-action k-group-menu-item-remove-action" (click)="removeGroup(column, $event)">
|
|
25451
|
+
<kendo-icon-wrapper
|
|
25452
|
+
name="x-circle"
|
|
25453
|
+
[svgIcon]="removeIcon"
|
|
25454
|
+
[size]="iconSize"
|
|
25455
|
+
></kendo-icon-wrapper>
|
|
25456
|
+
</span>
|
|
25457
|
+
</span>
|
|
25458
|
+
</div>
|
|
25459
|
+
</div>
|
|
25460
|
+
|
|
25461
|
+
<div *ngIf="ungroupedColumns.length" class="k-group-menu-item-wrap">
|
|
25462
|
+
<div *ngFor="let column of ungroupedColumns; let i = index"
|
|
25463
|
+
#groupItem
|
|
25464
|
+
role="button"
|
|
25465
|
+
class="k-group-menu-item"
|
|
25466
|
+
tabindex="0"
|
|
25467
|
+
(keydown)="handleUngroupedKeydown(column, i, $event)"
|
|
25468
|
+
(focus)="onItemFocus(null, i)"
|
|
25469
|
+
>
|
|
25470
|
+
<span class="k-group-item-text">{{column.title || getColumnComponent(column).field}}</span>
|
|
25471
|
+
<span class="k-spacer"></span>
|
|
25472
|
+
<span class="k-group-menu-item-actions">
|
|
25473
|
+
<span class="k-group-menu-item-action k-group-menu-item-add-action" (click)="addGroup(column, $event)">
|
|
25474
|
+
<kendo-icon-wrapper
|
|
25475
|
+
name="plus-circle"
|
|
25476
|
+
[svgIcon]="addIcon"
|
|
25477
|
+
[size]="iconSize"
|
|
25478
|
+
></kendo-icon-wrapper>
|
|
25479
|
+
</span>
|
|
25480
|
+
</span>
|
|
25481
|
+
</div>
|
|
25482
|
+
</div>
|
|
25483
|
+
|
|
25484
|
+
<div *ngIf="!adaptive" class="k-actions k-actions-stretched k-actions-horizontal k-column-menu-footer">
|
|
25485
|
+
<button kendoButton
|
|
25486
|
+
[svgIcon]="clearIcon"
|
|
25487
|
+
(click)="clear()"
|
|
25488
|
+
icon="x"
|
|
25489
|
+
>
|
|
25490
|
+
{{ctx?.localization.get('groupClearButton')}}
|
|
25491
|
+
</button>
|
|
25492
|
+
</div>
|
|
25493
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
25494
|
+
}
|
|
25495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupToolbarToolComponent, decorators: [{
|
|
25496
|
+
type: Component,
|
|
25497
|
+
args: [{
|
|
25498
|
+
selector: 'kendo-group-toolbar-tool',
|
|
25499
|
+
template: `
|
|
25500
|
+
<div *ngIf="groupedColumns.length" class="k-group-menu-item-wrap">
|
|
25501
|
+
<div *ngFor="let column of groupedColumns; let i = index"
|
|
25502
|
+
#groupItem
|
|
25503
|
+
role="button"
|
|
25504
|
+
class="k-group-menu-item"
|
|
25505
|
+
tabindex="0"
|
|
25506
|
+
(keydown)="handleGroupedKeydown(column, i, $event)"
|
|
25507
|
+
(focus)="onItemFocus(i, 0)"
|
|
25508
|
+
>
|
|
25509
|
+
<span class="k-group-menu-item-actions" *ngIf="groupedColumns.length > 1">
|
|
25510
|
+
<span
|
|
25511
|
+
class="k-group-menu-item-action k-group-menu-item-up-action"
|
|
25512
|
+
(click)="moveGroupUp(column, $event)"
|
|
25513
|
+
[attr.aria-disabled]="i === 0"
|
|
25514
|
+
[class.k-disabled]="i === 0"
|
|
25515
|
+
>
|
|
25516
|
+
<kendo-icon-wrapper
|
|
25517
|
+
name="arrow-chevron-up"
|
|
25518
|
+
[svgIcon]="upIcon"
|
|
25519
|
+
[size]="iconSize"
|
|
25520
|
+
></kendo-icon-wrapper>
|
|
25521
|
+
</span>
|
|
25522
|
+
<span
|
|
25523
|
+
class="k-group-menu-item-action k-group-menu-item-down-action"
|
|
25524
|
+
(click)="moveGroupDown(column, $event)"
|
|
25525
|
+
[attr.aria-disabled]="i === groupedColumns.length - 1"
|
|
25526
|
+
[class.k-disabled]="i === groupedColumns.length - 1"
|
|
25527
|
+
>
|
|
25528
|
+
<kendo-icon-wrapper
|
|
25529
|
+
name="arrow-chevron-down"
|
|
25530
|
+
[svgIcon]="downIcon"
|
|
25531
|
+
[size]="iconSize"
|
|
25532
|
+
></kendo-icon-wrapper>
|
|
25533
|
+
</span>
|
|
25534
|
+
</span>
|
|
25535
|
+
<span class="k-group-item-text">{{column.title || getColumnComponent(column).field}}</span>
|
|
25536
|
+
<span class="k-spacer"></span>
|
|
25537
|
+
<span class="k-group-menu-item-actions">
|
|
25538
|
+
<span class="k-group-menu-item-action k-group-menu-item-remove-action" (click)="removeGroup(column, $event)">
|
|
25539
|
+
<kendo-icon-wrapper
|
|
25540
|
+
name="x-circle"
|
|
25541
|
+
[svgIcon]="removeIcon"
|
|
25542
|
+
[size]="iconSize"
|
|
25543
|
+
></kendo-icon-wrapper>
|
|
25544
|
+
</span>
|
|
25545
|
+
</span>
|
|
25546
|
+
</div>
|
|
25547
|
+
</div>
|
|
25548
|
+
|
|
25549
|
+
<div *ngIf="ungroupedColumns.length" class="k-group-menu-item-wrap">
|
|
25550
|
+
<div *ngFor="let column of ungroupedColumns; let i = index"
|
|
25551
|
+
#groupItem
|
|
25552
|
+
role="button"
|
|
25553
|
+
class="k-group-menu-item"
|
|
25554
|
+
tabindex="0"
|
|
25555
|
+
(keydown)="handleUngroupedKeydown(column, i, $event)"
|
|
25556
|
+
(focus)="onItemFocus(null, i)"
|
|
25557
|
+
>
|
|
25558
|
+
<span class="k-group-item-text">{{column.title || getColumnComponent(column).field}}</span>
|
|
25559
|
+
<span class="k-spacer"></span>
|
|
25560
|
+
<span class="k-group-menu-item-actions">
|
|
25561
|
+
<span class="k-group-menu-item-action k-group-menu-item-add-action" (click)="addGroup(column, $event)">
|
|
25562
|
+
<kendo-icon-wrapper
|
|
25563
|
+
name="plus-circle"
|
|
25564
|
+
[svgIcon]="addIcon"
|
|
25565
|
+
[size]="iconSize"
|
|
25566
|
+
></kendo-icon-wrapper>
|
|
25567
|
+
</span>
|
|
25568
|
+
</span>
|
|
25569
|
+
</div>
|
|
25570
|
+
</div>
|
|
25571
|
+
|
|
25572
|
+
<div *ngIf="!adaptive" class="k-actions k-actions-stretched k-actions-horizontal k-column-menu-footer">
|
|
25573
|
+
<button kendoButton
|
|
25574
|
+
[svgIcon]="clearIcon"
|
|
25575
|
+
(click)="clear()"
|
|
25576
|
+
icon="x"
|
|
25577
|
+
>
|
|
25578
|
+
{{ctx?.localization.get('groupClearButton')}}
|
|
25579
|
+
</button>
|
|
25580
|
+
</div>
|
|
25581
|
+
`,
|
|
25582
|
+
standalone: true,
|
|
25583
|
+
imports: [NgFor, NgIf, IconWrapperComponent, KENDO_BUTTON]
|
|
25584
|
+
}]
|
|
25585
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { hostClass: [{
|
|
25586
|
+
type: HostBinding,
|
|
25587
|
+
args: ['class.k-group-menu']
|
|
25588
|
+
}], lgClass: [{
|
|
25589
|
+
type: HostBinding,
|
|
25590
|
+
args: ['class.k-group-menu-lg']
|
|
25591
|
+
}], mdClass: [{
|
|
25592
|
+
type: HostBinding,
|
|
25593
|
+
args: ['class.k-group-menu-md']
|
|
25594
|
+
}], onEscKeyDown: [{
|
|
25595
|
+
type: HostListener,
|
|
25596
|
+
args: ['keydown.escape', ['$event']]
|
|
25597
|
+
}], groupItems: [{
|
|
25598
|
+
type: ViewChildren,
|
|
25599
|
+
args: ['groupItem', { read: ElementRef }]
|
|
25600
|
+
}], adaptive: [{
|
|
25601
|
+
type: Input
|
|
25602
|
+
}], close: [{
|
|
25603
|
+
type: Output
|
|
25604
|
+
}], groupClear: [{
|
|
25605
|
+
type: Output
|
|
25606
|
+
}] } });
|
|
25607
|
+
|
|
25156
25608
|
/**
|
|
25157
25609
|
* @hidden
|
|
25158
25610
|
*/
|
|
@@ -25208,6 +25660,7 @@ class AdaptiveRendererComponent {
|
|
|
25208
25660
|
this.adaptiveGridService.viewType === 'columnChooserToolbarTool' ||
|
|
25209
25661
|
this.adaptiveGridService.viewType === 'filterMenu' ||
|
|
25210
25662
|
this.adaptiveGridService.viewType === 'sortToolbarTool' ||
|
|
25663
|
+
this.adaptiveGridService.viewType === 'groupToolbarTool' ||
|
|
25211
25664
|
this.adaptiveGridService.viewType === 'externalEditing';
|
|
25212
25665
|
return hasTitle;
|
|
25213
25666
|
}
|
|
@@ -25244,6 +25697,9 @@ class AdaptiveRendererComponent {
|
|
|
25244
25697
|
if (this.adaptiveGridService.viewType === 'sortToolbarTool') {
|
|
25245
25698
|
return this.messageFor('adaptiveSortTitle');
|
|
25246
25699
|
}
|
|
25700
|
+
if (this.adaptiveGridService.viewType === 'groupToolbarTool') {
|
|
25701
|
+
return this.messageFor('adaptiveGroupTitle');
|
|
25702
|
+
}
|
|
25247
25703
|
if (this.adaptiveGridService.viewType === 'externalEditing') {
|
|
25248
25704
|
return this.messageFor(this.externalEditingSettings.event.isNew ? 'externalEditingAddTitle' : 'externalEditingTitle');
|
|
25249
25705
|
}
|
|
@@ -25261,10 +25717,19 @@ class AdaptiveRendererComponent {
|
|
|
25261
25717
|
const columnName = this.adaptiveGridService.column.title || this.adaptiveGridService.column.field;
|
|
25262
25718
|
return replaceMessagePlaceholder(localizationMsg, 'columnName', columnName);
|
|
25263
25719
|
}
|
|
25720
|
+
get hasXCloseIcon() {
|
|
25721
|
+
return this.adaptiveGridService.viewType !== 'sortToolbarTool' && this.adaptiveGridService.viewType !== 'groupToolbarTool';
|
|
25722
|
+
}
|
|
25723
|
+
get hasCheckCloseIcon() {
|
|
25724
|
+
return this.adaptiveGridService.viewType === 'sortToolbarTool' || this.adaptiveGridService.viewType === 'groupToolbarTool';
|
|
25725
|
+
}
|
|
25264
25726
|
columnList;
|
|
25265
25727
|
filterToolbarToolTemplate;
|
|
25266
25728
|
filterMenuContainer;
|
|
25267
25729
|
actionSheet;
|
|
25730
|
+
set groupToolbarTool(value) {
|
|
25731
|
+
value && (value.ctx = this.ctx);
|
|
25732
|
+
}
|
|
25268
25733
|
adaptiveSizeChangeSubscription;
|
|
25269
25734
|
constructor(service, adaptiveGridService, filterService, ctx, adaptiveService, sortService, columnInfoService) {
|
|
25270
25735
|
this.service = service;
|
|
@@ -25363,6 +25828,13 @@ class AdaptiveRendererComponent {
|
|
|
25363
25828
|
}
|
|
25364
25829
|
this.actionSheet.toggle(false);
|
|
25365
25830
|
}
|
|
25831
|
+
clearGrouping() {
|
|
25832
|
+
if (this.ctx.grid.group.length > 0) {
|
|
25833
|
+
this.ctx.grid.group = [];
|
|
25834
|
+
this.ctx.grid.groupChange.emit(this.ctx.grid.group);
|
|
25835
|
+
}
|
|
25836
|
+
this.actionSheet.toggle(false);
|
|
25837
|
+
}
|
|
25366
25838
|
onAnimationEnd() {
|
|
25367
25839
|
this.adaptiveGridService.notifyAnimationEnd();
|
|
25368
25840
|
}
|
|
@@ -25377,8 +25849,8 @@ class AdaptiveRendererComponent {
|
|
|
25377
25849
|
externalEditingDirective.saveHandler({ ...event, formGroup });
|
|
25378
25850
|
this.actionSheet.toggle(false);
|
|
25379
25851
|
}
|
|
25380
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AdaptiveRendererComponent, deps: [{ token: ColumnMenuService }, { token: AdaptiveGridService }, { token: FilterService }, { token: ContextService }, { token: i2.AdaptiveService }, { token: SortService }, { token: ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
|
|
25381
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AdaptiveRendererComponent, isStandalone: true, selector: "kendo-grid-adaptive-renderer", viewQueries: [{ propertyName: "columnList", first: true, predicate: ["columnList"], descendants: true }, { propertyName: "filterToolbarToolTemplate", first: true, predicate: ["filterToolbarToolTemplate"], descendants: true, read: ViewContainerRef }, { propertyName: "filterMenuContainer", first: true, predicate: ["filterMenuContainer"], descendants: true }, { propertyName: "actionSheet", first: true, predicate: ActionSheetComponent, descendants: true }], ngImport: i0, template: `
|
|
25852
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AdaptiveRendererComponent, deps: [{ token: ColumnMenuService }, { token: AdaptiveGridService }, { token: FilterService }, { token: ContextService }, { token: i2$1.AdaptiveService }, { token: SortService }, { token: ColumnInfoService }], target: i0.ɵɵFactoryTarget.Component });
|
|
25853
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: AdaptiveRendererComponent, isStandalone: true, selector: "kendo-grid-adaptive-renderer", viewQueries: [{ propertyName: "columnList", first: true, predicate: ["columnList"], descendants: true }, { propertyName: "filterToolbarToolTemplate", first: true, predicate: ["filterToolbarToolTemplate"], descendants: true, read: ViewContainerRef }, { propertyName: "filterMenuContainer", first: true, predicate: ["filterMenuContainer"], descendants: true }, { propertyName: "actionSheet", first: true, predicate: ActionSheetComponent, descendants: true }, { propertyName: "groupToolbarTool", first: true, predicate: GroupToolbarToolComponent, descendants: true }], ngImport: i0, template: `
|
|
25382
25854
|
<kendo-actionsheet
|
|
25383
25855
|
[cssClass]="{
|
|
25384
25856
|
'k-adaptive-actionsheet': true,
|
|
@@ -25669,6 +26141,38 @@ class AdaptiveRendererComponent {
|
|
|
25669
26141
|
</button>
|
|
25670
26142
|
</ng-template>
|
|
25671
26143
|
</kendo-actionsheet-view>
|
|
26144
|
+
|
|
26145
|
+
<!-- groupToolbarTool view -->
|
|
26146
|
+
<kendo-actionsheet-view *ngIf="adaptiveGridService.viewType === 'groupToolbarTool'">
|
|
26147
|
+
<ng-template kendoActionSheetHeaderTemplate>
|
|
26148
|
+
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
26149
|
+
</ng-container>
|
|
26150
|
+
</ng-template>
|
|
26151
|
+
<ng-template kendoActionSheetContentTemplate>
|
|
26152
|
+
<kendo-group-toolbar-tool [adaptive]="true"></kendo-group-toolbar-tool>
|
|
26153
|
+
</ng-template>
|
|
26154
|
+
<ng-template kendoActionSheetFooterTemplate>
|
|
26155
|
+
<button
|
|
26156
|
+
kendoButton
|
|
26157
|
+
size="large"
|
|
26158
|
+
fillMode="solid"
|
|
26159
|
+
icon="x"
|
|
26160
|
+
[svgIcon]="xIcon"
|
|
26161
|
+
(click)="clearGrouping()">
|
|
26162
|
+
{{messageFor('groupClearButton')}}
|
|
26163
|
+
</button>
|
|
26164
|
+
<button
|
|
26165
|
+
kendoButton
|
|
26166
|
+
size="large"
|
|
26167
|
+
fillMode="solid"
|
|
26168
|
+
icon="check"
|
|
26169
|
+
[svgIcon]="checkIcon"
|
|
26170
|
+
themeColor="primary"
|
|
26171
|
+
(click)="actionSheet.toggle(false)">
|
|
26172
|
+
{{messageFor('groupDoneButton')}}
|
|
26173
|
+
</button>
|
|
26174
|
+
</ng-template>
|
|
26175
|
+
</kendo-actionsheet-view>
|
|
25672
26176
|
</kendo-actionsheet>
|
|
25673
26177
|
|
|
25674
26178
|
<ng-template #actionSheetHeaderTemplate>
|
|
@@ -25693,7 +26197,7 @@ class AdaptiveRendererComponent {
|
|
|
25693
26197
|
{{messageFor('columnsSubtitle')}}
|
|
25694
26198
|
</div>
|
|
25695
26199
|
</div>
|
|
25696
|
-
<div *ngIf="
|
|
26200
|
+
<div *ngIf="hasXCloseIcon" class="k-actionsheet-actions">
|
|
25697
26201
|
<button
|
|
25698
26202
|
kendoButton
|
|
25699
26203
|
icon="x"
|
|
@@ -25704,7 +26208,7 @@ class AdaptiveRendererComponent {
|
|
|
25704
26208
|
(click)="close()">
|
|
25705
26209
|
</button>
|
|
25706
26210
|
</div>
|
|
25707
|
-
<div *ngIf="
|
|
26211
|
+
<div *ngIf="hasCheckCloseIcon" class="k-actionsheet-actions">
|
|
25708
26212
|
<button
|
|
25709
26213
|
kendoButton
|
|
25710
26214
|
icon="check"
|
|
@@ -25772,7 +26276,7 @@ class AdaptiveRendererComponent {
|
|
|
25772
26276
|
{{messageFor('filterFilterButton')}}
|
|
25773
26277
|
</button>
|
|
25774
26278
|
</ng-template>
|
|
25775
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "component", type: ActionSheetViewComponent, selector: "kendo-actionsheet-view", inputs: ["title", "subtitle", "titleId"] }, { kind: "component", type: FilterToolbarToolComponent, selector: "kendo-filter-toolbar-tool", outputs: ["close"] }, { kind: "component", type: ButtonDirective, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: ActionSheetHeaderTemplateDirective, selector: "[kendoActionSheetHeaderTemplate]" }, { kind: "directive", type: ActionSheetContentTemplateDirective, selector: "[kendoActionSheetContentTemplate]" }, { kind: "directive", type: ActionSheetFooterTemplateDirective, selector: "[kendoActionSheetFooterTemplate]" }, { kind: "component", type: ColumnMenuContainerComponent, selector: "kendo-grid-columnmenu-container" }, { kind: "component", type: ColumnMenuFilterComponent, selector: "kendo-grid-columnmenu-filter", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuSortComponent, selector: "kendo-grid-columnmenu-sort" }, { kind: "component", type: ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { kind: "component", type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }, { kind: "component", type: ColumnMenuPositionComponent, selector: "kendo-grid-columnmenu-position", inputs: ["expanded", "showLock", "showStick", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuChooserComponent, selector: "kendo-grid-columnmenu-chooser", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuAutoSizeColumnComponent, selector: "kendo-grid-columnmenu-autosize-column", inputs: ["column"] }, { kind: "component", type: ColumnMenuAutoSizeAllColumnsComponent, selector: "kendo-grid-columnmenu-autosize-all-columns" }, { kind: "component", type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "indicatorIcon", "text", "selected", "disabled", "expanded", "focused", "service", "column"], outputs: ["itemClick", "expand", "collapse"] }, { kind: "directive", type: ColumnMenuItemDirective, selector: "[kendoGridColumnMenuItem]", inputs: ["kendoGridColumnMenuItem"] }, { kind: "component", type: ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "showActions", "autoSync", "ariaLabel", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }, { kind: "component", type: FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: FormComponent, selector: "kendo-grid-external-form", inputs: ["controls", "formSettings", "formGroup", "actionButtons"], outputs: ["formSubmit"] }] });
|
|
26279
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ActionSheetComponent, selector: "kendo-actionsheet", inputs: ["actions", "actionsLayout", "overlayClickClose", "title", "subtitle", "items", "cssClass", "cssStyle", "animation", "expanded", "titleId", "initialFocus"], outputs: ["expandedChange", "action", "expand", "collapse", "itemClick", "overlayClick"], exportAs: ["kendoActionSheet"] }, { kind: "component", type: ActionSheetViewComponent, selector: "kendo-actionsheet-view", inputs: ["title", "subtitle", "titleId"] }, { kind: "component", type: FilterToolbarToolComponent, selector: "kendo-filter-toolbar-tool", outputs: ["close"] }, { kind: "component", type: GroupToolbarToolComponent, selector: "kendo-group-toolbar-tool", inputs: ["adaptive"], outputs: ["close", "groupClear"] }, { kind: "component", type: ButtonDirective, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: ActionSheetHeaderTemplateDirective, selector: "[kendoActionSheetHeaderTemplate]" }, { kind: "directive", type: ActionSheetContentTemplateDirective, selector: "[kendoActionSheetContentTemplate]" }, { kind: "directive", type: ActionSheetFooterTemplateDirective, selector: "[kendoActionSheetFooterTemplate]" }, { kind: "component", type: ColumnMenuContainerComponent, selector: "kendo-grid-columnmenu-container" }, { kind: "component", type: ColumnMenuFilterComponent, selector: "kendo-grid-columnmenu-filter", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuSortComponent, selector: "kendo-grid-columnmenu-sort" }, { kind: "component", type: ColumnMenuLockComponent, selector: "kendo-grid-columnmenu-lock" }, { kind: "component", type: ColumnMenuStickComponent, selector: "kendo-grid-columnmenu-stick" }, { kind: "component", type: ColumnMenuPositionComponent, selector: "kendo-grid-columnmenu-position", inputs: ["expanded", "showLock", "showStick", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuChooserComponent, selector: "kendo-grid-columnmenu-chooser", inputs: ["expanded", "isLast"], outputs: ["expand", "collapse"] }, { kind: "component", type: ColumnMenuAutoSizeColumnComponent, selector: "kendo-grid-columnmenu-autosize-column", inputs: ["column"] }, { kind: "component", type: ColumnMenuAutoSizeAllColumnsComponent, selector: "kendo-grid-columnmenu-autosize-all-columns" }, { kind: "component", type: ColumnMenuItemComponent, selector: "kendo-grid-columnmenu-item", inputs: ["icon", "svgIcon", "indicatorIcon", "text", "selected", "disabled", "expanded", "focused", "service", "column"], outputs: ["itemClick", "expand", "collapse"] }, { kind: "directive", type: ColumnMenuItemDirective, selector: "[kendoGridColumnMenuItem]", inputs: ["kendoGridColumnMenuItem"] }, { kind: "component", type: ColumnListComponent, selector: "kendo-grid-columnlist", inputs: ["columns", "showActions", "autoSync", "ariaLabel", "allowHideAll", "applyText", "resetText", "actionsClass", "isLast", "isExpanded", "service"], outputs: ["reset", "apply", "columnChange"] }, { kind: "component", type: FilterMenuContainerComponent, selector: "kendo-grid-filter-menu-container", inputs: ["column", "isLast", "isExpanded", "menuTabbingService", "filter", "actionsClass"], outputs: ["close"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: FormComponent, selector: "kendo-grid-external-form", inputs: ["controls", "formSettings", "formGroup", "actionButtons"], outputs: ["formSubmit"] }] });
|
|
25776
26280
|
}
|
|
25777
26281
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AdaptiveRendererComponent, decorators: [{
|
|
25778
26282
|
type: Component,
|
|
@@ -26069,6 +26573,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
26069
26573
|
</button>
|
|
26070
26574
|
</ng-template>
|
|
26071
26575
|
</kendo-actionsheet-view>
|
|
26576
|
+
|
|
26577
|
+
<!-- groupToolbarTool view -->
|
|
26578
|
+
<kendo-actionsheet-view *ngIf="adaptiveGridService.viewType === 'groupToolbarTool'">
|
|
26579
|
+
<ng-template kendoActionSheetHeaderTemplate>
|
|
26580
|
+
<ng-container [ngTemplateOutlet]="actionSheetHeaderTemplate">
|
|
26581
|
+
</ng-container>
|
|
26582
|
+
</ng-template>
|
|
26583
|
+
<ng-template kendoActionSheetContentTemplate>
|
|
26584
|
+
<kendo-group-toolbar-tool [adaptive]="true"></kendo-group-toolbar-tool>
|
|
26585
|
+
</ng-template>
|
|
26586
|
+
<ng-template kendoActionSheetFooterTemplate>
|
|
26587
|
+
<button
|
|
26588
|
+
kendoButton
|
|
26589
|
+
size="large"
|
|
26590
|
+
fillMode="solid"
|
|
26591
|
+
icon="x"
|
|
26592
|
+
[svgIcon]="xIcon"
|
|
26593
|
+
(click)="clearGrouping()">
|
|
26594
|
+
{{messageFor('groupClearButton')}}
|
|
26595
|
+
</button>
|
|
26596
|
+
<button
|
|
26597
|
+
kendoButton
|
|
26598
|
+
size="large"
|
|
26599
|
+
fillMode="solid"
|
|
26600
|
+
icon="check"
|
|
26601
|
+
[svgIcon]="checkIcon"
|
|
26602
|
+
themeColor="primary"
|
|
26603
|
+
(click)="actionSheet.toggle(false)">
|
|
26604
|
+
{{messageFor('groupDoneButton')}}
|
|
26605
|
+
</button>
|
|
26606
|
+
</ng-template>
|
|
26607
|
+
</kendo-actionsheet-view>
|
|
26072
26608
|
</kendo-actionsheet>
|
|
26073
26609
|
|
|
26074
26610
|
<ng-template #actionSheetHeaderTemplate>
|
|
@@ -26093,7 +26629,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
26093
26629
|
{{messageFor('columnsSubtitle')}}
|
|
26094
26630
|
</div>
|
|
26095
26631
|
</div>
|
|
26096
|
-
<div *ngIf="
|
|
26632
|
+
<div *ngIf="hasXCloseIcon" class="k-actionsheet-actions">
|
|
26097
26633
|
<button
|
|
26098
26634
|
kendoButton
|
|
26099
26635
|
icon="x"
|
|
@@ -26104,7 +26640,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
26104
26640
|
(click)="close()">
|
|
26105
26641
|
</button>
|
|
26106
26642
|
</div>
|
|
26107
|
-
<div *ngIf="
|
|
26643
|
+
<div *ngIf="hasCheckCloseIcon" class="k-actionsheet-actions">
|
|
26108
26644
|
<button
|
|
26109
26645
|
kendoButton
|
|
26110
26646
|
icon="check"
|
|
@@ -26181,6 +26717,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
26181
26717
|
ActionSheetComponent,
|
|
26182
26718
|
ActionSheetViewComponent,
|
|
26183
26719
|
FilterToolbarToolComponent,
|
|
26720
|
+
GroupToolbarToolComponent,
|
|
26184
26721
|
ButtonDirective,
|
|
26185
26722
|
ActionSheetHeaderTemplateDirective,
|
|
26186
26723
|
ActionSheetContentTemplateDirective,
|
|
@@ -26204,7 +26741,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
26204
26741
|
FormComponent
|
|
26205
26742
|
]
|
|
26206
26743
|
}]
|
|
26207
|
-
}], ctorParameters: function () { return [{ type: ColumnMenuService }, { type: AdaptiveGridService }, { type: FilterService }, { type: ContextService }, { type: i2.AdaptiveService }, { type: SortService }, { type: ColumnInfoService }]; }, propDecorators: { columnList: [{
|
|
26744
|
+
}], ctorParameters: function () { return [{ type: ColumnMenuService }, { type: AdaptiveGridService }, { type: FilterService }, { type: ContextService }, { type: i2$1.AdaptiveService }, { type: SortService }, { type: ColumnInfoService }]; }, propDecorators: { columnList: [{
|
|
26208
26745
|
type: ViewChild,
|
|
26209
26746
|
args: ['columnList', { static: false }]
|
|
26210
26747
|
}], filterToolbarToolTemplate: [{
|
|
@@ -26216,6 +26753,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
26216
26753
|
}], actionSheet: [{
|
|
26217
26754
|
type: ViewChild,
|
|
26218
26755
|
args: [ActionSheetComponent]
|
|
26756
|
+
}], groupToolbarTool: [{
|
|
26757
|
+
type: ViewChild,
|
|
26758
|
+
args: [GroupToolbarToolComponent]
|
|
26219
26759
|
}] } });
|
|
26220
26760
|
|
|
26221
26761
|
const createControl = (source) => (acc, key) => {
|
|
@@ -28429,7 +28969,7 @@ class GridComponent {
|
|
|
28429
28969
|
this.dragTargetContainer?.notify();
|
|
28430
28970
|
this.dropTargetContainer?.notify();
|
|
28431
28971
|
}
|
|
28432
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridComponent, deps: [{ token: BrowserSupportService }, { token: SelectionService }, { token: CellSelectionService }, { token: i0.ElementRef }, { token: GroupInfoService }, { token: GroupsService }, { token: ChangeNotificationService }, { token: DetailsService }, { token: EditService }, { token: FilterService }, { token: PDFService }, { token: ResponsiveService }, { token: i0.Renderer2 }, { token: ExcelService }, { token: i0.NgZone }, { token: ScrollSyncService }, { token: DomEventsService }, { token: ColumnResizingService }, { token: i0.ChangeDetectorRef }, { token: ColumnReorderService }, { token: ColumnInfoService }, { token: NavigationService }, { token: SortService }, { token: ScrollRequestService }, { token: i1$2.LocalizationService }, { token: ContextService }, { token: SizingOptionsService }, { token: i2.AdaptiveService }, { token: AdaptiveGridService }, { token: RowReorderService }], target: i0.ɵɵFactoryTarget.Component });
|
|
28972
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridComponent, deps: [{ token: BrowserSupportService }, { token: SelectionService }, { token: CellSelectionService }, { token: i0.ElementRef }, { token: GroupInfoService }, { token: GroupsService }, { token: ChangeNotificationService }, { token: DetailsService }, { token: EditService }, { token: FilterService }, { token: PDFService }, { token: ResponsiveService }, { token: i0.Renderer2 }, { token: ExcelService }, { token: i0.NgZone }, { token: ScrollSyncService }, { token: DomEventsService }, { token: ColumnResizingService }, { token: i0.ChangeDetectorRef }, { token: ColumnReorderService }, { token: ColumnInfoService }, { token: NavigationService }, { token: SortService }, { token: ScrollRequestService }, { token: i1$2.LocalizationService }, { token: ContextService }, { token: SizingOptionsService }, { token: i2$1.AdaptiveService }, { token: AdaptiveGridService }, { token: RowReorderService }], target: i0.ɵɵFactoryTarget.Component });
|
|
28433
28973
|
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: GridComponent, isStandalone: true, selector: "kendo-grid", inputs: { data: "data", pageSize: "pageSize", height: "height", rowHeight: "rowHeight", adaptiveMode: "adaptiveMode", detailRowHeight: "detailRowHeight", skip: "skip", scrollable: "scrollable", selectable: "selectable", sort: "sort", size: "size", trackBy: "trackBy", filter: "filter", group: "group", virtualColumns: "virtualColumns", filterable: "filterable", sortable: "sortable", pageable: "pageable", groupable: "groupable", gridResizable: "gridResizable", rowReorderable: "rowReorderable", navigable: "navigable", autoSize: "autoSize", rowClass: "rowClass", rowSticky: "rowSticky", rowSelected: "rowSelected", isRowSelectable: "isRowSelectable", cellSelected: "cellSelected", resizable: "resizable", reorderable: "reorderable", loading: "loading", columnMenu: "columnMenu", hideHeader: "hideHeader", showInactiveTools: "showInactiveTools", isDetailExpanded: "isDetailExpanded", isGroupExpanded: "isGroupExpanded" }, outputs: { filterChange: "filterChange", pageChange: "pageChange", groupChange: "groupChange", sortChange: "sortChange", selectionChange: "selectionChange", rowReorder: "rowReorder", dataStateChange: "dataStateChange", gridStateChange: "gridStateChange", groupExpand: "groupExpand", groupCollapse: "groupCollapse", detailExpand: "detailExpand", detailCollapse: "detailCollapse", edit: "edit", cancel: "cancel", save: "save", remove: "remove", add: "add", cellClose: "cellClose", cellClick: "cellClick", pdfExport: "pdfExport", excelExport: "excelExport", columnResize: "columnResize", columnReorder: "columnReorder", columnVisibilityChange: "columnVisibilityChange", columnLockedChange: "columnLockedChange", columnStickyChange: "columnStickyChange", scrollBottom: "scrollBottom", contentScroll: "contentScroll" }, host: { properties: { "attr.dir": "this.dir", "class.k-grid": "this.hostClass", "class.k-grid-sm": "this.sizeSmallClass", "class.k-grid-md": "this.sizeMediumClass", "class.k-grid-lockedcolumns": "this.lockedClasses", "class.k-grid-virtual": "this.virtualClasses", "class.k-grid-no-scrollbar": "this.noScrollbarClass", "class.k-grid-resizable": "this.isResizable", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
|
|
28434
28974
|
BrowserSupportService,
|
|
28435
28975
|
LocalizationService,
|
|
@@ -28623,9 +29163,15 @@ class GridComponent {
|
|
|
28623
29163
|
i18n-filterClearAllButton="kendo.grid.filterClearAllButton|The text of the clear all filters button located in the Filter Toolbar Tool and adaptive Filter Toolbar Tool"
|
|
28624
29164
|
filterClearAllButton="Clear all filters"
|
|
28625
29165
|
|
|
29166
|
+
i18n-groupClearButton="kendo.grid.groupClearButton|The text of the clear grouping button in the Group Toolbar Tool and adaptive Group Toolbar Tool"
|
|
29167
|
+
groupClearButton="Clear grouping"
|
|
29168
|
+
|
|
28626
29169
|
i18n-sortDoneButton="kendo.grid.sortDoneButton|The text of the done sort button"
|
|
28627
29170
|
sortDoneButton="Done"
|
|
28628
29171
|
|
|
29172
|
+
i18n-groupDoneButton="kendo.grid.groupDoneButton|The text of the done group button in the adaptive Group Toolbar Tool"
|
|
29173
|
+
groupDoneButton="Done"
|
|
29174
|
+
|
|
28629
29175
|
i18n-filterAndLogic="kendo.grid.filterAndLogic|The text of the And filter logic"
|
|
28630
29176
|
filterAndLogic="And"
|
|
28631
29177
|
|
|
@@ -28647,18 +29193,21 @@ class GridComponent {
|
|
|
28647
29193
|
i18n-columns="kendo.grid.columns|The text for the Grid Column Chooser and Column Chooser toolbar tool"
|
|
28648
29194
|
columns="Columns"
|
|
28649
29195
|
|
|
28650
|
-
i18n-
|
|
29196
|
+
i18n-columnsSubtitle="kendo.grid.columnsSubtitle|The subtitle for the adaptive Grid Column Chooser and Column Chooser toolbar tool"
|
|
28651
29197
|
columnsSubtitle="Selected fields are visible"
|
|
28652
29198
|
|
|
28653
|
-
i18n-
|
|
29199
|
+
i18n-adaptiveFilterTitle="kendo.grid.adaptiveFilterTitle|The title that is displayed in the adaptive Filter Toolbar Tool and Filter Menu"
|
|
28654
29200
|
adaptiveFilterTitle="Filter by"
|
|
28655
29201
|
|
|
28656
|
-
i18n-
|
|
29202
|
+
i18n-adaptiveFilterOperatorsTitle="kendo.grid.adaptiveFilterOperatorsTitle|The title that is displayed in the Operators Action Sheet"
|
|
28657
29203
|
adaptiveFilterOperatorsTitle="Operators"
|
|
28658
29204
|
|
|
28659
|
-
i18n-
|
|
29205
|
+
i18n-adaptiveSortTitle="kendo.grid.adaptiveSortTitle|The title that is displayed in the adaptive Sort Toolbar Tool"
|
|
28660
29206
|
adaptiveSortTitle="Sort by"
|
|
28661
29207
|
|
|
29208
|
+
i18n-adaptiveGroupTitle="kendo.grid.adaptiveGroupTitle|The title that is displayed in the adaptive Group Toolbar Tool."
|
|
29209
|
+
adaptiveGroupTitle="Group by"
|
|
29210
|
+
|
|
28662
29211
|
i18n-lock="kendo.grid.lock|The text shown in the column menu for the lock item"
|
|
28663
29212
|
lock="Lock"
|
|
28664
29213
|
|
|
@@ -28788,6 +29337,9 @@ class GridComponent {
|
|
|
28788
29337
|
i18n-groupChipMenuNext="kendo.grid.groupChipMenuNext|The text for the Group pane Chip Menu Move as next item"
|
|
28789
29338
|
groupChipMenuNext="Move as next"
|
|
28790
29339
|
|
|
29340
|
+
i18n-groupToolbarToolText="kendo.grid.groupToolbarToolText|The button text of the Group toolbar tool"
|
|
29341
|
+
groupToolbarToolText="Group"
|
|
29342
|
+
|
|
28791
29343
|
i18n-formValidationErrorText="kendo.grid.formValidationErrorText|The default text of a form validation error when using external editing."
|
|
28792
29344
|
formValidationErrorText="{{ 'The {fieldName} field has {errorName} validation error' }}"
|
|
28793
29345
|
|
|
@@ -29232,7 +29784,7 @@ class GridComponent {
|
|
|
29232
29784
|
<kendo-grid-adaptive-renderer *ngIf="isAdaptiveModeEnabled"></kendo-grid-adaptive-renderer>
|
|
29233
29785
|
|
|
29234
29786
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
29235
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoGridLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ToolbarComponent, selector: "kendo-grid-toolbar", inputs: ["position", "size", "navigable"] }, { kind: "component", type: GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: ["text", "navigable", "groups"], outputs: ["change"] }, { kind: "directive", type: TableDirective, selector: "[kendoGridResizableTable]", inputs: ["locked", "virtualColumns"] }, { kind: "directive", type: GridTableDirective, selector: "[kendoGridTable]", inputs: ["size"] }, { kind: "component", type: ColGroupComponent, selector: "[kendoGridColGroup]", inputs: ["columns", "groups", "detailTemplate", "sort"] }, { kind: "component", type: HeaderComponent, selector: "[kendoGridHeader]", inputs: ["totalColumnLevels", "columns", "groups", "detailTemplate", "scrollable", "filterable", "sort", "filter", "sortable", "groupable", "lockedColumnsCount", "resizable", "reorderable", "columnMenu", "columnMenuTemplate", "totalColumnsCount", "totalColumns", "tabIndex", "size"] }, { kind: "directive", type: ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: ["lockedWidth", "kendoGridResizableContainer"] }, { kind: "component", type: ListComponent, selector: "kendo-grid-list", inputs: ["data", "groups", "total", "rowHeight", "stickyRowHeight", "detailRowHeight", "take", "skip", "columns", "detailTemplate", "noRecordsTemplate", "selectable", "groupable", "filterable", "rowClass", "rowSticky", "loading", "trackBy", "virtualColumns", "isVirtual", "cellLoadingTemplate", "loadingTemplate", "sort", "size"], outputs: ["contentScroll", "pageChange", "scrollBottom"] }, { kind: "directive", type: DragTargetContainerDirective, selector: "[kendoDragTargetContainer]", inputs: ["hint", "dragTargetFilter", "dragHandle", "dragDelay", "threshold", "dragTargetId", "dragData", "dragDisabled", "mode", "cursorStyle", "hintContext"], outputs: ["onDragReady", "onPress", "onDragStart", "onDrag", "onRelease", "onDragEnd"], exportAs: ["kendoDragTargetContainer"] }, { kind: "directive", type: DropTargetContainerDirective, selector: "[kendoDropTargetContainer]", inputs: ["dropTargetFilter", "dropDisabled"], outputs: ["onDragEnter", "onDragOver", "onDragLeave", "onDrop"], exportAs: ["kendoDropTargetContainer"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "directive", type: GridMarqueeDirective, selector: "[kendoGridSelectionMarquee]" }, { kind: "component", type: FooterComponent, selector: "[kendoGridFooter]", inputs: ["columns", "groups", "detailTemplate", "scrollable", "lockedColumnsCount", "logicalRowIndex", "totalColumns", "totalColumnsCount"] }, { kind: "component", type: TableBodyComponent, selector: "[kendoGridTableBody]", inputs: ["columns", "allColumns", "groups", "detailTemplate", "noRecordsTemplate", "data", "skip", "selectable", "filterable", "noRecordsText", "isLocked", "isLoading", "isVirtual", "cellLoadingTemplate", "skipGroupDecoration", "showGroupFooters", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "trackBy", "rowSticky", "totalColumns", "rowClass"] }, { kind: "component", type: LoadingComponent, selector: "[kendoGridLoading]", inputs: ["loadingTemplate"] }, { kind: "component", type: StatusBarComponent, selector: "kendo-grid-status-bar", inputs: ["statusBarTemplate"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }, { kind: "component", type:
|
|
29787
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoGridLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ToolbarComponent, selector: "kendo-grid-toolbar", inputs: ["position", "size", "navigable"] }, { kind: "component", type: GroupPanelComponent, selector: "kendo-grid-group-panel", inputs: ["text", "navigable", "groups"], outputs: ["change"] }, { kind: "directive", type: TableDirective, selector: "[kendoGridResizableTable]", inputs: ["locked", "virtualColumns"] }, { kind: "directive", type: GridTableDirective, selector: "[kendoGridTable]", inputs: ["size"] }, { kind: "component", type: ColGroupComponent, selector: "[kendoGridColGroup]", inputs: ["columns", "groups", "detailTemplate", "sort"] }, { kind: "component", type: HeaderComponent, selector: "[kendoGridHeader]", inputs: ["totalColumnLevels", "columns", "groups", "detailTemplate", "scrollable", "filterable", "sort", "filter", "sortable", "groupable", "lockedColumnsCount", "resizable", "reorderable", "columnMenu", "columnMenuTemplate", "totalColumnsCount", "totalColumns", "tabIndex", "size"] }, { kind: "directive", type: ResizableContainerDirective, selector: "[kendoGridResizableContainer]", inputs: ["lockedWidth", "kendoGridResizableContainer"] }, { kind: "component", type: ListComponent, selector: "kendo-grid-list", inputs: ["data", "groups", "total", "rowHeight", "stickyRowHeight", "detailRowHeight", "take", "skip", "columns", "detailTemplate", "noRecordsTemplate", "selectable", "groupable", "filterable", "rowClass", "rowSticky", "loading", "trackBy", "virtualColumns", "isVirtual", "cellLoadingTemplate", "loadingTemplate", "sort", "size"], outputs: ["contentScroll", "pageChange", "scrollBottom"] }, { kind: "directive", type: DragTargetContainerDirective, selector: "[kendoDragTargetContainer]", inputs: ["hint", "dragTargetFilter", "dragHandle", "dragDelay", "threshold", "dragTargetId", "dragData", "dragDisabled", "mode", "cursorStyle", "hintContext"], outputs: ["onDragReady", "onPress", "onDragStart", "onDrag", "onRelease", "onDragEnd"], exportAs: ["kendoDragTargetContainer"] }, { kind: "directive", type: DropTargetContainerDirective, selector: "[kendoDropTargetContainer]", inputs: ["dropTargetFilter", "dropDisabled"], outputs: ["onDragEnter", "onDragOver", "onDragLeave", "onDrop"], exportAs: ["kendoDropTargetContainer"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { kind: "directive", type: GridMarqueeDirective, selector: "[kendoGridSelectionMarquee]" }, { kind: "component", type: FooterComponent, selector: "[kendoGridFooter]", inputs: ["columns", "groups", "detailTemplate", "scrollable", "lockedColumnsCount", "logicalRowIndex", "totalColumns", "totalColumnsCount"] }, { kind: "component", type: TableBodyComponent, selector: "[kendoGridTableBody]", inputs: ["columns", "allColumns", "groups", "detailTemplate", "noRecordsTemplate", "data", "skip", "selectable", "filterable", "noRecordsText", "isLocked", "isLoading", "isVirtual", "cellLoadingTemplate", "skipGroupDecoration", "showGroupFooters", "lockedColumnsCount", "totalColumnsCount", "virtualColumns", "trackBy", "rowSticky", "totalColumns", "rowClass"] }, { kind: "component", type: LoadingComponent, selector: "[kendoGridLoading]", inputs: ["loadingTemplate"] }, { kind: "component", type: StatusBarComponent, selector: "kendo-grid-status-bar", inputs: ["statusBarTemplate"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }, { kind: "component", type: i51.CustomMessagesComponent, selector: "kendo-datapager-messages, kendo-pager-messages" }, { kind: "component", type: i51.PagerInfoComponent, selector: "kendo-datapager-info, kendo-pager-info" }, { kind: "component", type: i51.PagerInputComponent, selector: "kendo-datapager-input, kendo-pager-input", inputs: ["showPageText", "size"] }, { kind: "component", type: i51.PagerNextButtonsComponent, selector: "kendo-datapager-next-buttons, kendo-pager-next-buttons", inputs: ["size"] }, { kind: "component", type: i51.PagerNumericButtonsComponent, selector: "kendo-datapager-numeric-buttons, kendo-pager-numeric-buttons", inputs: ["buttonCount", "size"] }, { kind: "component", type: i51.PagerPageSizesComponent, selector: "kendo-datapager-page-sizes, kendo-pager-page-sizes", inputs: ["showItemsText", "pageSizes", "size", "adaptiveMode"] }, { kind: "component", type: i51.PagerPrevButtonsComponent, selector: "kendo-datapager-prev-buttons, kendo-pager-prev-buttons", inputs: ["size"] }, { kind: "directive", type: i51.PagerTemplateDirective, selector: "[kendoDataPagerTemplate], [kendoPagerTemplate]" }, { kind: "component", type: i51.PagerComponent, selector: "kendo-datapager, kendo-pager", inputs: ["externalTemplate", "total", "skip", "pageSize", "buttonCount", "info", "type", "pageSizeValues", "previousNext", "navigable", "size", "responsive", "adaptiveMode"], outputs: ["pageChange", "pageSizeChange", "pagerInputVisibilityChange", "pageTextVisibilityChange", "itemsTextVisibilityChange"], exportAs: ["kendoDataPager", "kendoPager"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: AdaptiveRendererComponent, selector: "kendo-grid-adaptive-renderer" }], encapsulation: i0.ViewEncapsulation.None });
|
|
29236
29788
|
}
|
|
29237
29789
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridComponent, decorators: [{
|
|
29238
29790
|
type: Component,
|
|
@@ -29434,9 +29986,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
29434
29986
|
i18n-filterClearAllButton="kendo.grid.filterClearAllButton|The text of the clear all filters button located in the Filter Toolbar Tool and adaptive Filter Toolbar Tool"
|
|
29435
29987
|
filterClearAllButton="Clear all filters"
|
|
29436
29988
|
|
|
29989
|
+
i18n-groupClearButton="kendo.grid.groupClearButton|The text of the clear grouping button in the Group Toolbar Tool and adaptive Group Toolbar Tool"
|
|
29990
|
+
groupClearButton="Clear grouping"
|
|
29991
|
+
|
|
29437
29992
|
i18n-sortDoneButton="kendo.grid.sortDoneButton|The text of the done sort button"
|
|
29438
29993
|
sortDoneButton="Done"
|
|
29439
29994
|
|
|
29995
|
+
i18n-groupDoneButton="kendo.grid.groupDoneButton|The text of the done group button in the adaptive Group Toolbar Tool"
|
|
29996
|
+
groupDoneButton="Done"
|
|
29997
|
+
|
|
29440
29998
|
i18n-filterAndLogic="kendo.grid.filterAndLogic|The text of the And filter logic"
|
|
29441
29999
|
filterAndLogic="And"
|
|
29442
30000
|
|
|
@@ -29458,18 +30016,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
29458
30016
|
i18n-columns="kendo.grid.columns|The text for the Grid Column Chooser and Column Chooser toolbar tool"
|
|
29459
30017
|
columns="Columns"
|
|
29460
30018
|
|
|
29461
|
-
i18n-
|
|
30019
|
+
i18n-columnsSubtitle="kendo.grid.columnsSubtitle|The subtitle for the adaptive Grid Column Chooser and Column Chooser toolbar tool"
|
|
29462
30020
|
columnsSubtitle="Selected fields are visible"
|
|
29463
30021
|
|
|
29464
|
-
i18n-
|
|
30022
|
+
i18n-adaptiveFilterTitle="kendo.grid.adaptiveFilterTitle|The title that is displayed in the adaptive Filter Toolbar Tool and Filter Menu"
|
|
29465
30023
|
adaptiveFilterTitle="Filter by"
|
|
29466
30024
|
|
|
29467
|
-
i18n-
|
|
30025
|
+
i18n-adaptiveFilterOperatorsTitle="kendo.grid.adaptiveFilterOperatorsTitle|The title that is displayed in the Operators Action Sheet"
|
|
29468
30026
|
adaptiveFilterOperatorsTitle="Operators"
|
|
29469
30027
|
|
|
29470
|
-
i18n-
|
|
30028
|
+
i18n-adaptiveSortTitle="kendo.grid.adaptiveSortTitle|The title that is displayed in the adaptive Sort Toolbar Tool"
|
|
29471
30029
|
adaptiveSortTitle="Sort by"
|
|
29472
30030
|
|
|
30031
|
+
i18n-adaptiveGroupTitle="kendo.grid.adaptiveGroupTitle|The title that is displayed in the adaptive Group Toolbar Tool."
|
|
30032
|
+
adaptiveGroupTitle="Group by"
|
|
30033
|
+
|
|
29473
30034
|
i18n-lock="kendo.grid.lock|The text shown in the column menu for the lock item"
|
|
29474
30035
|
lock="Lock"
|
|
29475
30036
|
|
|
@@ -29599,6 +30160,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
29599
30160
|
i18n-groupChipMenuNext="kendo.grid.groupChipMenuNext|The text for the Group pane Chip Menu Move as next item"
|
|
29600
30161
|
groupChipMenuNext="Move as next"
|
|
29601
30162
|
|
|
30163
|
+
i18n-groupToolbarToolText="kendo.grid.groupToolbarToolText|The button text of the Group toolbar tool"
|
|
30164
|
+
groupToolbarToolText="Group"
|
|
30165
|
+
|
|
29602
30166
|
i18n-formValidationErrorText="kendo.grid.formValidationErrorText|The default text of a form validation error when using external editing."
|
|
29603
30167
|
formValidationErrorText="{{ 'The {fieldName} field has {errorName} validation error' }}"
|
|
29604
30168
|
|
|
@@ -30053,7 +30617,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
30053
30617
|
IconWrapperComponent, WatermarkOverlayComponent, ...KENDO_PAGER, NgTemplateOutlet, AdaptiveRendererComponent
|
|
30054
30618
|
]
|
|
30055
30619
|
}]
|
|
30056
|
-
}], ctorParameters: function () { return [{ type: BrowserSupportService }, { type: SelectionService }, { type: CellSelectionService }, { type: i0.ElementRef }, { type: GroupInfoService }, { type: GroupsService }, { type: ChangeNotificationService }, { type: DetailsService }, { type: EditService }, { type: FilterService }, { type: PDFService }, { type: ResponsiveService }, { type: i0.Renderer2 }, { type: ExcelService }, { type: i0.NgZone }, { type: ScrollSyncService }, { type: DomEventsService }, { type: ColumnResizingService }, { type: i0.ChangeDetectorRef }, { type: ColumnReorderService }, { type: ColumnInfoService }, { type: NavigationService }, { type: SortService }, { type: ScrollRequestService }, { type: i1$2.LocalizationService }, { type: ContextService }, { type: SizingOptionsService }, { type: i2.AdaptiveService }, { type: AdaptiveGridService }, { type: RowReorderService }]; }, propDecorators: { data: [{
|
|
30620
|
+
}], ctorParameters: function () { return [{ type: BrowserSupportService }, { type: SelectionService }, { type: CellSelectionService }, { type: i0.ElementRef }, { type: GroupInfoService }, { type: GroupsService }, { type: ChangeNotificationService }, { type: DetailsService }, { type: EditService }, { type: FilterService }, { type: PDFService }, { type: ResponsiveService }, { type: i0.Renderer2 }, { type: ExcelService }, { type: i0.NgZone }, { type: ScrollSyncService }, { type: DomEventsService }, { type: ColumnResizingService }, { type: i0.ChangeDetectorRef }, { type: ColumnReorderService }, { type: ColumnInfoService }, { type: NavigationService }, { type: SortService }, { type: ScrollRequestService }, { type: i1$2.LocalizationService }, { type: ContextService }, { type: SizingOptionsService }, { type: i2$1.AdaptiveService }, { type: AdaptiveGridService }, { type: RowReorderService }]; }, propDecorators: { data: [{
|
|
30057
30621
|
type: Input
|
|
30058
30622
|
}], pageSize: [{
|
|
30059
30623
|
type: Input
|
|
@@ -31984,7 +32548,7 @@ class PDFCommandToolbarDirective extends ToolbarToolBase {
|
|
|
31984
32548
|
e.preventDefault();
|
|
31985
32549
|
this.pdfService.exportClick.emit();
|
|
31986
32550
|
}
|
|
31987
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFCommandToolbarDirective, deps: [{ token: PDFService }, { token:
|
|
32551
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFCommandToolbarDirective, deps: [{ token: PDFService }, { token: i52.ToolBarButtonComponent }, { token: ContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
31988
32552
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: PDFCommandToolbarDirective, isStandalone: true, selector: "[kendoGridPDFTool]", usesInheritance: true, ngImport: i0 });
|
|
31989
32553
|
}
|
|
31990
32554
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: PDFCommandToolbarDirective, decorators: [{
|
|
@@ -31993,7 +32557,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
31993
32557
|
selector: '[kendoGridPDFTool]',
|
|
31994
32558
|
standalone: true
|
|
31995
32559
|
}]
|
|
31996
|
-
}], ctorParameters: function () { return [{ type: PDFService }, { type:
|
|
32560
|
+
}], ctorParameters: function () { return [{ type: PDFService }, { type: i52.ToolBarButtonComponent }, { type: ContextService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
31997
32561
|
|
|
31998
32562
|
/**
|
|
31999
32563
|
* Represents the `export-to-Excel` toolbar tool of the Grid.
|
|
@@ -32032,7 +32596,7 @@ class ExcelCommandToolbarDirective extends ToolbarToolBase {
|
|
|
32032
32596
|
e.preventDefault();
|
|
32033
32597
|
this.excelService.exportClick.emit();
|
|
32034
32598
|
}
|
|
32035
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExcelCommandToolbarDirective, deps: [{ token: ExcelService }, { token:
|
|
32599
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExcelCommandToolbarDirective, deps: [{ token: ExcelService }, { token: i52.ToolBarButtonComponent }, { token: ContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
32036
32600
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ExcelCommandToolbarDirective, isStandalone: true, selector: "[kendoGridExcelTool]", usesInheritance: true, ngImport: i0 });
|
|
32037
32601
|
}
|
|
32038
32602
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ExcelCommandToolbarDirective, decorators: [{
|
|
@@ -32041,7 +32605,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
32041
32605
|
selector: '[kendoGridExcelTool]',
|
|
32042
32606
|
standalone: true
|
|
32043
32607
|
}]
|
|
32044
|
-
}], ctorParameters: function () { return [{ type: ExcelService }, { type:
|
|
32608
|
+
}], ctorParameters: function () { return [{ type: ExcelService }, { type: i52.ToolBarButtonComponent }, { type: ContextService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
32045
32609
|
|
|
32046
32610
|
/**
|
|
32047
32611
|
* @hidden
|
|
@@ -32109,13 +32673,13 @@ class ToolbarEditingToolBase extends ToolbarToolBase {
|
|
|
32109
32673
|
get isSelectionPresent() {
|
|
32110
32674
|
return isPresent$1(this.lastSelectionIndex) && this.lastSelectionIndex > -1;
|
|
32111
32675
|
}
|
|
32112
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarEditingToolBase, deps: [{ token:
|
|
32676
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarEditingToolBase, deps: [{ token: i52.ToolBarButtonComponent }, { token: 'command' }, { token: ContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: EditService }, { token: SelectionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
32113
32677
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: ToolbarEditingToolBase, usesInheritance: true, ngImport: i0 });
|
|
32114
32678
|
}
|
|
32115
32679
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ToolbarEditingToolBase, decorators: [{
|
|
32116
32680
|
type: Directive,
|
|
32117
32681
|
args: [{}]
|
|
32118
|
-
}], ctorParameters: function () { return [{ type:
|
|
32682
|
+
}], ctorParameters: function () { return [{ type: i52.ToolBarButtonComponent }, { type: undefined, decorators: [{
|
|
32119
32683
|
type: Inject,
|
|
32120
32684
|
args: ['command']
|
|
32121
32685
|
}] }, { type: ContextService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: EditService }, { type: SelectionService }]; } });
|
|
@@ -32157,7 +32721,7 @@ class AddCommandToolbarDirective extends ToolbarEditingToolBase {
|
|
|
32157
32721
|
e.preventDefault();
|
|
32158
32722
|
this.editService.beginAdd();
|
|
32159
32723
|
}
|
|
32160
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddCommandToolbarDirective, deps: [{ token: EditService }, { token:
|
|
32724
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddCommandToolbarDirective, deps: [{ token: EditService }, { token: i52.ToolBarButtonComponent }, { token: ContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
32161
32725
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: AddCommandToolbarDirective, isStandalone: true, selector: "[kendoGridAddTool]", usesInheritance: true, ngImport: i0 });
|
|
32162
32726
|
}
|
|
32163
32727
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: AddCommandToolbarDirective, decorators: [{
|
|
@@ -32166,7 +32730,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
32166
32730
|
selector: '[kendoGridAddTool]',
|
|
32167
32731
|
standalone: true
|
|
32168
32732
|
}]
|
|
32169
|
-
}], ctorParameters: function () { return [{ type: EditService }, { type:
|
|
32733
|
+
}], ctorParameters: function () { return [{ type: EditService }, { type: i52.ToolBarButtonComponent }, { type: ContextService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
32170
32734
|
|
|
32171
32735
|
/**
|
|
32172
32736
|
* @hidden
|
|
@@ -32638,7 +33202,7 @@ class UndoCommandToolbarDirective {
|
|
|
32638
33202
|
e.preventDefault();
|
|
32639
33203
|
this.undoRedoService.onUndo.next();
|
|
32640
33204
|
}
|
|
32641
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UndoCommandToolbarDirective, deps: [{ token: UndoRedoService }, { token:
|
|
33205
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UndoCommandToolbarDirective, deps: [{ token: UndoRedoService }, { token: i52.ToolBarButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
32642
33206
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: UndoCommandToolbarDirective, isStandalone: true, selector: "[kendoGridUndoTool]", ngImport: i0 });
|
|
32643
33207
|
}
|
|
32644
33208
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: UndoCommandToolbarDirective, decorators: [{
|
|
@@ -32647,7 +33211,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
32647
33211
|
selector: '[kendoGridUndoTool]',
|
|
32648
33212
|
standalone: true
|
|
32649
33213
|
}]
|
|
32650
|
-
}], ctorParameters: function () { return [{ type: UndoRedoService }, { type:
|
|
33214
|
+
}], ctorParameters: function () { return [{ type: UndoRedoService }, { type: i52.ToolBarButtonComponent }]; } });
|
|
32651
33215
|
|
|
32652
33216
|
/**
|
|
32653
33217
|
* Represents the command for triggering the redo action in the Grid.
|
|
@@ -32693,7 +33257,7 @@ class RedoCommandToolbarDirective {
|
|
|
32693
33257
|
e.preventDefault();
|
|
32694
33258
|
this.undoRedoService.onRedo.next();
|
|
32695
33259
|
}
|
|
32696
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RedoCommandToolbarDirective, deps: [{ token: UndoRedoService }, { token:
|
|
33260
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RedoCommandToolbarDirective, deps: [{ token: UndoRedoService }, { token: i52.ToolBarButtonComponent }], target: i0.ɵɵFactoryTarget.Directive });
|
|
32697
33261
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RedoCommandToolbarDirective, isStandalone: true, selector: "[kendoGridRedoTool]", ngImport: i0 });
|
|
32698
33262
|
}
|
|
32699
33263
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RedoCommandToolbarDirective, decorators: [{
|
|
@@ -32702,9 +33266,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
32702
33266
|
selector: '[kendoGridRedoTool]',
|
|
32703
33267
|
standalone: true
|
|
32704
33268
|
}]
|
|
32705
|
-
}], ctorParameters: function () { return [{ type: UndoRedoService }, { type:
|
|
33269
|
+
}], ctorParameters: function () { return [{ type: UndoRedoService }, { type: i52.ToolBarButtonComponent }]; } });
|
|
32706
33270
|
|
|
32707
|
-
let incrementingId$
|
|
33271
|
+
let incrementingId$2 = 0;
|
|
32708
33272
|
/**
|
|
32709
33273
|
* Represents the toolbar tool for sorting columns of the Grid.
|
|
32710
33274
|
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
|
@@ -32732,9 +33296,10 @@ class SortCommandToolbarDirective {
|
|
|
32732
33296
|
renderer;
|
|
32733
33297
|
adaptiveGridService;
|
|
32734
33298
|
popupRef;
|
|
32735
|
-
nextId = incrementingId$
|
|
33299
|
+
nextId = incrementingId$2++;
|
|
32736
33300
|
toolSubs = new Subscription();
|
|
32737
33301
|
popupSubs;
|
|
33302
|
+
actionSheetCloseSub;
|
|
32738
33303
|
removeClickListener;
|
|
32739
33304
|
/**
|
|
32740
33305
|
* @hidden
|
|
@@ -32757,6 +33322,7 @@ class SortCommandToolbarDirective {
|
|
|
32757
33322
|
this.toolSubs.add(this.sortService.changes.subscribe(sort => {
|
|
32758
33323
|
this.host.showBadge = this.isSortingApplied(sort);
|
|
32759
33324
|
}));
|
|
33325
|
+
this.host.hasBadgeContainer = true;
|
|
32760
33326
|
this.host.showBadge = this.isSortingApplied(this.ctx.grid.sort);
|
|
32761
33327
|
const hasToolbarIcon = isPresent$1(this.host.toolbarOptions.icon) && this.host.toolbarOptions.icon !== '';
|
|
32762
33328
|
const hasOverflowIcon = isPresent$1(this.host.overflowOptions.icon) && this.host.overflowOptions.icon !== '';
|
|
@@ -32790,6 +33356,10 @@ class SortCommandToolbarDirective {
|
|
|
32790
33356
|
this.popupRef.close();
|
|
32791
33357
|
this.popupRef = null;
|
|
32792
33358
|
}
|
|
33359
|
+
if (this.actionSheetCloseSub) {
|
|
33360
|
+
this.actionSheetCloseSub.unsubscribe();
|
|
33361
|
+
this.actionSheetCloseSub = null;
|
|
33362
|
+
}
|
|
32793
33363
|
if (this.removeClickListener) {
|
|
32794
33364
|
this.removeClickListener();
|
|
32795
33365
|
this.removeClickListener = null;
|
|
@@ -32801,6 +33371,8 @@ class SortCommandToolbarDirective {
|
|
|
32801
33371
|
if (!this.ctx.grid.isActionSheetExpanded) {
|
|
32802
33372
|
this.adaptiveGridService.viewType = 'sortToolbarTool';
|
|
32803
33373
|
this.ctx.grid.adaptiveRenderer.actionSheet.toggle(true);
|
|
33374
|
+
this.host.selected = true;
|
|
33375
|
+
this.actionSheetCloseSub = this.ctx.grid.adaptiveRenderer.actionSheet.collapse.subscribe(() => this.host.selected = false);
|
|
32804
33376
|
}
|
|
32805
33377
|
}
|
|
32806
33378
|
else {
|
|
@@ -32885,7 +33457,7 @@ class SortCommandToolbarDirective {
|
|
|
32885
33457
|
get buttonElement() {
|
|
32886
33458
|
return this.host.getButton();
|
|
32887
33459
|
}
|
|
32888
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortCommandToolbarDirective, deps: [{ token:
|
|
33460
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortCommandToolbarDirective, deps: [{ token: i52.ToolBarButtonComponent }, { token: i2.PopupService }, { token: ContextService }, { token: SortService }, { token: ColumnInfoService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: AdaptiveGridService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
32889
33461
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SortCommandToolbarDirective, isStandalone: true, selector: "[kendoGridSortTool]", ngImport: i0 });
|
|
32890
33462
|
}
|
|
32891
33463
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SortCommandToolbarDirective, decorators: [{
|
|
@@ -32894,7 +33466,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
32894
33466
|
selector: '[kendoGridSortTool]',
|
|
32895
33467
|
standalone: true
|
|
32896
33468
|
}]
|
|
32897
|
-
}], ctorParameters: function () { return [{ type:
|
|
33469
|
+
}], ctorParameters: function () { return [{ type: i52.ToolBarButtonComponent }, { type: i2.PopupService }, { type: ContextService }, { type: SortService }, { type: ColumnInfoService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: AdaptiveGridService }]; } });
|
|
32898
33470
|
|
|
32899
33471
|
/**
|
|
32900
33472
|
* @hidden
|
|
@@ -32992,7 +33564,7 @@ class FilterToolWrapperComponent {
|
|
|
32992
33564
|
{{ctx?.localization.get('filterClearAllButton')}}
|
|
32993
33565
|
</button>
|
|
32994
33566
|
</div>
|
|
32995
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1$
|
|
33567
|
+
`, isInline: true, dependencies: [{ kind: "component", type: i1$6.ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
|
|
32996
33568
|
}
|
|
32997
33569
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterToolWrapperComponent, decorators: [{
|
|
32998
33570
|
type: Component,
|
|
@@ -33031,7 +33603,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
33031
33603
|
type: Output
|
|
33032
33604
|
}] } });
|
|
33033
33605
|
|
|
33034
|
-
let incrementingId = 0;
|
|
33606
|
+
let incrementingId$1 = 0;
|
|
33035
33607
|
/**
|
|
33036
33608
|
* Represents the toolbar tool for filtering columns of the Grid.
|
|
33037
33609
|
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
|
@@ -33059,9 +33631,10 @@ class FilterCommandToolbarDirective {
|
|
|
33059
33631
|
renderer;
|
|
33060
33632
|
adaptiveGridService;
|
|
33061
33633
|
popupRef;
|
|
33062
|
-
nextId = incrementingId++;
|
|
33634
|
+
nextId = incrementingId$1++;
|
|
33063
33635
|
toolSubs = new Subscription();
|
|
33064
33636
|
popupSubs;
|
|
33637
|
+
actionSheetCloseSub;
|
|
33065
33638
|
removeClickListener;
|
|
33066
33639
|
/**
|
|
33067
33640
|
* @hidden
|
|
@@ -33084,6 +33657,7 @@ class FilterCommandToolbarDirective {
|
|
|
33084
33657
|
this.toolSubs.add(this.filterService.changes.subscribe(filter => {
|
|
33085
33658
|
this.host.showBadge = this.isFilterApplied(filter);
|
|
33086
33659
|
}));
|
|
33660
|
+
this.host.hasBadgeContainer = true;
|
|
33087
33661
|
this.host.showBadge = this.isFilterApplied(this.ctx.grid.filter);
|
|
33088
33662
|
const hasToolbarIcon = isPresent$1(this.host.toolbarOptions.icon) && this.host.toolbarOptions.icon !== '';
|
|
33089
33663
|
const hasOverflowIcon = isPresent$1(this.host.overflowOptions.icon) && this.host.overflowOptions.icon !== '';
|
|
@@ -33117,6 +33691,10 @@ class FilterCommandToolbarDirective {
|
|
|
33117
33691
|
this.popupRef.close();
|
|
33118
33692
|
this.popupRef = null;
|
|
33119
33693
|
}
|
|
33694
|
+
if (this.actionSheetCloseSub) {
|
|
33695
|
+
this.actionSheetCloseSub.unsubscribe();
|
|
33696
|
+
this.actionSheetCloseSub = null;
|
|
33697
|
+
}
|
|
33120
33698
|
if (this.removeClickListener) {
|
|
33121
33699
|
this.removeClickListener();
|
|
33122
33700
|
this.removeClickListener = null;
|
|
@@ -33136,6 +33714,8 @@ class FilterCommandToolbarDirective {
|
|
|
33136
33714
|
if (!this.ctx.grid.isActionSheetExpanded) {
|
|
33137
33715
|
this.adaptiveGridService.viewType = 'filterToolbarTool';
|
|
33138
33716
|
this.ctx.grid.adaptiveRenderer.actionSheet.toggle(true);
|
|
33717
|
+
this.host.selected = true;
|
|
33718
|
+
this.actionSheetCloseSub = this.ctx.grid.adaptiveRenderer.actionSheet.collapse.subscribe(() => this.host.selected = false);
|
|
33139
33719
|
}
|
|
33140
33720
|
}
|
|
33141
33721
|
else {
|
|
@@ -33209,7 +33789,7 @@ class FilterCommandToolbarDirective {
|
|
|
33209
33789
|
get buttonElement() {
|
|
33210
33790
|
return this.host.getButton();
|
|
33211
33791
|
}
|
|
33212
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterCommandToolbarDirective, deps: [{ token:
|
|
33792
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterCommandToolbarDirective, deps: [{ token: i52.ToolBarButtonComponent }, { token: i2.PopupService }, { token: ContextService }, { token: FilterService }, { token: ColumnInfoService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: AdaptiveGridService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33213
33793
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FilterCommandToolbarDirective, isStandalone: true, selector: "[kendoGridFilterTool]", ngImport: i0 });
|
|
33214
33794
|
}
|
|
33215
33795
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FilterCommandToolbarDirective, decorators: [{
|
|
@@ -33218,7 +33798,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
33218
33798
|
selector: '[kendoGridFilterTool]',
|
|
33219
33799
|
standalone: true
|
|
33220
33800
|
}]
|
|
33221
|
-
}], ctorParameters: function () { return [{ type:
|
|
33801
|
+
}], ctorParameters: function () { return [{ type: i52.ToolBarButtonComponent }, { type: i2.PopupService }, { type: ContextService }, { type: FilterService }, { type: ColumnInfoService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: AdaptiveGridService }]; } });
|
|
33222
33802
|
|
|
33223
33803
|
/**
|
|
33224
33804
|
* Represents the `edit` command in the Grid.
|
|
@@ -33253,7 +33833,7 @@ class EditCommandToolbarDirective extends ToolbarEditingToolBase {
|
|
|
33253
33833
|
}
|
|
33254
33834
|
this.editService.beginEdit(this.lastSelectionIndex);
|
|
33255
33835
|
}
|
|
33256
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditCommandToolbarDirective, deps: [{ token: EditService }, { token:
|
|
33836
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditCommandToolbarDirective, deps: [{ token: EditService }, { token: i52.ToolBarButtonComponent }, { token: SelectionService }, { token: ContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33257
33837
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditCommandToolbarDirective, isStandalone: true, selector: "[kendoGridEditTool]", usesInheritance: true, ngImport: i0 });
|
|
33258
33838
|
}
|
|
33259
33839
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditCommandToolbarDirective, decorators: [{
|
|
@@ -33262,7 +33842,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
33262
33842
|
selector: '[kendoGridEditTool]',
|
|
33263
33843
|
standalone: true
|
|
33264
33844
|
}]
|
|
33265
|
-
}], ctorParameters: function () { return [{ type: EditService }, { type:
|
|
33845
|
+
}], ctorParameters: function () { return [{ type: EditService }, { type: i52.ToolBarButtonComponent }, { type: SelectionService }, { type: ContextService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
33266
33846
|
|
|
33267
33847
|
/**
|
|
33268
33848
|
* Represents the `save` command in the Grid.
|
|
@@ -33302,7 +33882,7 @@ class SaveCommandToolbarDirective extends ToolbarEditingToolBase {
|
|
|
33302
33882
|
this.editService.editedIndices.forEach(i => this.editService.save(i.index));
|
|
33303
33883
|
}
|
|
33304
33884
|
}
|
|
33305
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SaveCommandToolbarDirective, deps: [{ token: EditService }, { token:
|
|
33885
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SaveCommandToolbarDirective, deps: [{ token: EditService }, { token: i52.ToolBarButtonComponent }, { token: SelectionService }, { token: ContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33306
33886
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: SaveCommandToolbarDirective, isStandalone: true, selector: "[kendoGridSaveTool]", usesInheritance: true, ngImport: i0 });
|
|
33307
33887
|
}
|
|
33308
33888
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SaveCommandToolbarDirective, decorators: [{
|
|
@@ -33311,7 +33891,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
33311
33891
|
selector: '[kendoGridSaveTool]',
|
|
33312
33892
|
standalone: true
|
|
33313
33893
|
}]
|
|
33314
|
-
}], ctorParameters: function () { return [{ type: EditService }, { type:
|
|
33894
|
+
}], ctorParameters: function () { return [{ type: EditService }, { type: i52.ToolBarButtonComponent }, { type: SelectionService }, { type: ContextService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
33315
33895
|
|
|
33316
33896
|
/**
|
|
33317
33897
|
* Represents the `remove` command in the Grid.
|
|
@@ -33347,7 +33927,7 @@ class RemoveCommandToolbarDirective extends ToolbarEditingToolBase {
|
|
|
33347
33927
|
this.editService.remove(this.lastSelectionIndex);
|
|
33348
33928
|
}
|
|
33349
33929
|
}
|
|
33350
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RemoveCommandToolbarDirective, deps: [{ token: EditService }, { token:
|
|
33930
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RemoveCommandToolbarDirective, deps: [{ token: EditService }, { token: i52.ToolBarButtonComponent }, { token: SelectionService }, { token: ContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33351
33931
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: RemoveCommandToolbarDirective, isStandalone: true, selector: "[kendoGridRemoveTool]", usesInheritance: true, ngImport: i0 });
|
|
33352
33932
|
}
|
|
33353
33933
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: RemoveCommandToolbarDirective, decorators: [{
|
|
@@ -33356,7 +33936,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
33356
33936
|
selector: '[kendoGridRemoveTool]',
|
|
33357
33937
|
standalone: true
|
|
33358
33938
|
}]
|
|
33359
|
-
}], ctorParameters: function () { return [{ type: EditService }, { type:
|
|
33939
|
+
}], ctorParameters: function () { return [{ type: EditService }, { type: i52.ToolBarButtonComponent }, { type: SelectionService }, { type: ContextService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
33360
33940
|
|
|
33361
33941
|
/**
|
|
33362
33942
|
* Represents the `cancel` command in the Grid.
|
|
@@ -33396,7 +33976,7 @@ class CancelCommandToolbarDirective extends ToolbarEditingToolBase {
|
|
|
33396
33976
|
this.editService.editedIndices.forEach(i => this.editService.endEdit(i.index));
|
|
33397
33977
|
}
|
|
33398
33978
|
}
|
|
33399
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CancelCommandToolbarDirective, deps: [{ token: EditService }, { token:
|
|
33979
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CancelCommandToolbarDirective, deps: [{ token: EditService }, { token: i52.ToolBarButtonComponent }, { token: SelectionService }, { token: ContextService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
33400
33980
|
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: CancelCommandToolbarDirective, isStandalone: true, selector: "[kendoGridCancelTool]", usesInheritance: true, ngImport: i0 });
|
|
33401
33981
|
}
|
|
33402
33982
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: CancelCommandToolbarDirective, decorators: [{
|
|
@@ -33405,7 +33985,195 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
33405
33985
|
selector: '[kendoGridCancelTool]',
|
|
33406
33986
|
standalone: true
|
|
33407
33987
|
}]
|
|
33408
|
-
}], ctorParameters: function () { return [{ type: EditService }, { type:
|
|
33988
|
+
}], ctorParameters: function () { return [{ type: EditService }, { type: i52.ToolBarButtonComponent }, { type: SelectionService }, { type: ContextService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; } });
|
|
33989
|
+
|
|
33990
|
+
let incrementingId = 0;
|
|
33991
|
+
/**
|
|
33992
|
+
* Represents the toolbar tool for grouping columns of the Grid.
|
|
33993
|
+
* You can apply this directive to any `kendo-toolbar-button` element inside a
|
|
33994
|
+
* ToolbarComponent used in the Grid.
|
|
33995
|
+
*
|
|
33996
|
+
* @example
|
|
33997
|
+
* ```html-no-run
|
|
33998
|
+
* <kendo-grid>
|
|
33999
|
+
* <kendo-toolbar>
|
|
34000
|
+
* <kendo-toolbar-button text="Group" kendoGridGroupTool></kendo-toolbar-button>
|
|
34001
|
+
* </kendo-toolbar>
|
|
34002
|
+
* </kendo-grid>
|
|
34003
|
+
* ```
|
|
34004
|
+
*/
|
|
34005
|
+
class GroupCommandToolbarDirective {
|
|
34006
|
+
host;
|
|
34007
|
+
popupService;
|
|
34008
|
+
ctx;
|
|
34009
|
+
ngZone;
|
|
34010
|
+
renderer;
|
|
34011
|
+
adaptiveGridService;
|
|
34012
|
+
popupRef;
|
|
34013
|
+
nextId = incrementingId++;
|
|
34014
|
+
toolSubs = new Subscription();
|
|
34015
|
+
popupSubs;
|
|
34016
|
+
actionSheetCloseSub;
|
|
34017
|
+
removeClickListener;
|
|
34018
|
+
constructor(host, popupService, ctx, ngZone, renderer, adaptiveGridService) {
|
|
34019
|
+
this.host = host;
|
|
34020
|
+
this.popupService = popupService;
|
|
34021
|
+
this.ctx = ctx;
|
|
34022
|
+
this.ngZone = ngZone;
|
|
34023
|
+
this.renderer = renderer;
|
|
34024
|
+
this.adaptiveGridService = adaptiveGridService;
|
|
34025
|
+
}
|
|
34026
|
+
ngOnInit() {
|
|
34027
|
+
this.toolSubs = this.host.click.subscribe(e => this.onClick(e));
|
|
34028
|
+
this.toolSubs.add(this.ctx.grid.groupChange.subscribe(group => {
|
|
34029
|
+
this.host.showBadge = this.isGroupingApplied(group);
|
|
34030
|
+
}));
|
|
34031
|
+
this.host.hasBadgeContainer = true;
|
|
34032
|
+
this.host.showBadge = this.isGroupingApplied(this.ctx.grid.group);
|
|
34033
|
+
const hasToolbarIcon = isPresent$1(this.host.toolbarOptions.icon) && this.host.toolbarOptions.icon !== '';
|
|
34034
|
+
const hasOverflowIcon = isPresent$1(this.host.overflowOptions.icon) && this.host.overflowOptions.icon !== '';
|
|
34035
|
+
const hasIcon = hasToolbarIcon && hasOverflowIcon;
|
|
34036
|
+
const hasSvgIcon = isPresent$1(this.host.toolbarOptions.svgIcon) && isPresent$1(this.host.overflowOptions.svgIcon);
|
|
34037
|
+
if (!hasIcon) {
|
|
34038
|
+
this.host.icon = 'group';
|
|
34039
|
+
}
|
|
34040
|
+
if (!hasSvgIcon) {
|
|
34041
|
+
this.host.svgIcon = groupIcon;
|
|
34042
|
+
}
|
|
34043
|
+
}
|
|
34044
|
+
ngAfterViewInit() {
|
|
34045
|
+
if (!isPresent$1(this.host.text)) {
|
|
34046
|
+
this.ngZone.onStable.pipe(take(1)).subscribe(() => {
|
|
34047
|
+
this.host.text = this.ctx.localization.get(`groupToolbarToolText`);
|
|
34048
|
+
});
|
|
34049
|
+
}
|
|
34050
|
+
this.buttonElement?.setAttribute('aria-haspopup', 'dialog');
|
|
34051
|
+
this.buttonElement?.setAttribute('aria-expanded', 'false');
|
|
34052
|
+
this.buttonElement?.setAttribute('title', this.ctx.localization.get('groupToolbarToolText'));
|
|
34053
|
+
}
|
|
34054
|
+
ngOnDestroy() {
|
|
34055
|
+
if (this.toolSubs) {
|
|
34056
|
+
this.toolSubs.unsubscribe();
|
|
34057
|
+
}
|
|
34058
|
+
if (this.popupSubs) {
|
|
34059
|
+
this.popupSubs.unsubscribe();
|
|
34060
|
+
}
|
|
34061
|
+
if (this.popupRef) {
|
|
34062
|
+
this.popupRef.close();
|
|
34063
|
+
this.popupRef = null;
|
|
34064
|
+
}
|
|
34065
|
+
if (this.actionSheetCloseSub) {
|
|
34066
|
+
this.actionSheetCloseSub.unsubscribe();
|
|
34067
|
+
this.actionSheetCloseSub = null;
|
|
34068
|
+
}
|
|
34069
|
+
if (this.removeClickListener) {
|
|
34070
|
+
this.removeClickListener();
|
|
34071
|
+
this.removeClickListener = null;
|
|
34072
|
+
}
|
|
34073
|
+
}
|
|
34074
|
+
onClick(e) {
|
|
34075
|
+
e.preventDefault();
|
|
34076
|
+
if (this.ctx.grid.adaptiveMode === 'auto' && this.adaptiveGridService.windowSize !== 'large') {
|
|
34077
|
+
if (!this.ctx.grid.isActionSheetExpanded) {
|
|
34078
|
+
this.adaptiveGridService.viewType = 'groupToolbarTool';
|
|
34079
|
+
this.ctx.grid.adaptiveRenderer.actionSheet.toggle(true);
|
|
34080
|
+
this.host.selected = true;
|
|
34081
|
+
this.actionSheetCloseSub = this.ctx.grid.adaptiveRenderer.actionSheet.collapse.subscribe(() => this.host.selected = false);
|
|
34082
|
+
}
|
|
34083
|
+
}
|
|
34084
|
+
else {
|
|
34085
|
+
if (this.popupRef) {
|
|
34086
|
+
this.closePopup();
|
|
34087
|
+
return;
|
|
34088
|
+
}
|
|
34089
|
+
this.openPopup();
|
|
34090
|
+
}
|
|
34091
|
+
}
|
|
34092
|
+
openPopup() {
|
|
34093
|
+
const direction = this.ctx.localization.rtl ? 'right' : 'left';
|
|
34094
|
+
this.popupRef = this.popupService.open({
|
|
34095
|
+
anchor: this.buttonElement,
|
|
34096
|
+
content: GroupToolbarToolComponent,
|
|
34097
|
+
popupClass: 'k-grid-columnmenu-popup',
|
|
34098
|
+
positionMode: 'absolute',
|
|
34099
|
+
anchorAlign: { vertical: 'bottom', horizontal: direction },
|
|
34100
|
+
popupAlign: { vertical: 'top', horizontal: direction }
|
|
34101
|
+
});
|
|
34102
|
+
this.adaptiveGridService.popupRef = this.popupRef;
|
|
34103
|
+
this.setPopupAttributes();
|
|
34104
|
+
this.host.selected = true;
|
|
34105
|
+
this.ngZone.runOutsideAngular(() => {
|
|
34106
|
+
if (!isDocumentAvailable()) {
|
|
34107
|
+
return;
|
|
34108
|
+
}
|
|
34109
|
+
this.removeClickListener = this.renderer.listen('document', 'click', (e) => {
|
|
34110
|
+
if (this.popupRef && !closest$1(e.target, node => node === this.popupRef.popupElement || node === this.buttonElement)) {
|
|
34111
|
+
this.ngZone.run(() => {
|
|
34112
|
+
this.closePopup();
|
|
34113
|
+
});
|
|
34114
|
+
}
|
|
34115
|
+
});
|
|
34116
|
+
});
|
|
34117
|
+
this.popupSubs = this.popupRef.popup.instance.anchorViewportLeave.subscribe(() => {
|
|
34118
|
+
this.popupSubs?.unsubscribe();
|
|
34119
|
+
this.popupSubs = null;
|
|
34120
|
+
this.closePopup();
|
|
34121
|
+
});
|
|
34122
|
+
this.initPopupProperties();
|
|
34123
|
+
}
|
|
34124
|
+
setPopupAttributes() {
|
|
34125
|
+
const popupElement = this.popupRef.popupElement;
|
|
34126
|
+
const popupId = `k-group-tool-${this.nextId}-popup`;
|
|
34127
|
+
const popupAriaElement = popupElement.querySelector('.k-popup');
|
|
34128
|
+
this.renderer.setAttribute(popupElement, 'dir', this.ctx.localization.rtl ? 'rtl' : 'ltr');
|
|
34129
|
+
this.renderer.setAttribute(popupAriaElement, 'id', popupId);
|
|
34130
|
+
this.renderer.setAttribute(popupAriaElement, 'role', 'dialog');
|
|
34131
|
+
this.buttonElement?.setAttribute('aria-expanded', 'true');
|
|
34132
|
+
this.buttonElement?.setAttribute('aria-controls', popupId);
|
|
34133
|
+
}
|
|
34134
|
+
initPopupProperties() {
|
|
34135
|
+
this.popupRef.content.instance.ctx = this.ctx;
|
|
34136
|
+
this.popupRef.content.instance.hostButton = this.host;
|
|
34137
|
+
this.popupSubs.add(this.popupRef.content.instance.groupClear.subscribe(() => {
|
|
34138
|
+
this.closePopup();
|
|
34139
|
+
}));
|
|
34140
|
+
this.popupSubs.add(this.popupRef.content.instance.close.subscribe(() => {
|
|
34141
|
+
this.closePopup();
|
|
34142
|
+
}));
|
|
34143
|
+
}
|
|
34144
|
+
closePopup() {
|
|
34145
|
+
this.buttonElement?.setAttribute('aria-expanded', 'false');
|
|
34146
|
+
this.buttonElement?.removeAttribute('aria-controls');
|
|
34147
|
+
this.host.selected = false;
|
|
34148
|
+
if (this.popupRef) {
|
|
34149
|
+
this.popupRef.close();
|
|
34150
|
+
this.popupRef = null;
|
|
34151
|
+
}
|
|
34152
|
+
if (this.popupSubs) {
|
|
34153
|
+
this.popupSubs.unsubscribe();
|
|
34154
|
+
this.popupSubs = null;
|
|
34155
|
+
}
|
|
34156
|
+
if (this.removeClickListener) {
|
|
34157
|
+
this.removeClickListener();
|
|
34158
|
+
this.removeClickListener = null;
|
|
34159
|
+
}
|
|
34160
|
+
}
|
|
34161
|
+
get buttonElement() {
|
|
34162
|
+
return this.host.getButton();
|
|
34163
|
+
}
|
|
34164
|
+
isGroupingApplied(group) {
|
|
34165
|
+
return isPresent$1(group) && group.length > 0;
|
|
34166
|
+
}
|
|
34167
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupCommandToolbarDirective, deps: [{ token: i52.ToolBarButtonComponent }, { token: i2.PopupService }, { token: ContextService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: AdaptiveGridService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
34168
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: GroupCommandToolbarDirective, isStandalone: true, selector: "[kendoGridGroupTool]", ngImport: i0 });
|
|
34169
|
+
}
|
|
34170
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GroupCommandToolbarDirective, decorators: [{
|
|
34171
|
+
type: Directive,
|
|
34172
|
+
args: [{
|
|
34173
|
+
selector: '[kendoGridGroupTool]',
|
|
34174
|
+
standalone: true
|
|
34175
|
+
}]
|
|
34176
|
+
}], ctorParameters: function () { return [{ type: i52.ToolBarButtonComponent }, { type: i2.PopupService }, { type: ContextService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: AdaptiveGridService }]; } });
|
|
33409
34177
|
|
|
33410
34178
|
// DRAGGABLE COLUMN
|
|
33411
34179
|
/**
|
|
@@ -33635,7 +34403,8 @@ const KENDO_GRID_BODY_EXPORTS = [
|
|
|
33635
34403
|
LoadingTemplateDirective,
|
|
33636
34404
|
RowReorderColumnComponent,
|
|
33637
34405
|
SortCommandToolbarDirective,
|
|
33638
|
-
FilterCommandToolbarDirective
|
|
34406
|
+
FilterCommandToolbarDirective,
|
|
34407
|
+
GroupCommandToolbarDirective
|
|
33639
34408
|
];
|
|
33640
34409
|
/**
|
|
33641
34410
|
* @hidden
|
|
@@ -33765,9 +34534,9 @@ const KENDO_GRID = [
|
|
|
33765
34534
|
*/
|
|
33766
34535
|
class GridModule {
|
|
33767
34536
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
33768
|
-
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, HeaderComponent, HeaderTemplateDirective, ColumnHandleDirective, SelectAllCheckboxDirective, FooterComponent,
|
|
34537
|
+
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,
|
|
33769
34538
|
UndoCommandToolbarDirective,
|
|
33770
|
-
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, 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,
|
|
34539
|
+
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] });
|
|
33771
34540
|
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridModule, providers: [
|
|
33772
34541
|
PopupService,
|
|
33773
34542
|
ResizeBatchService,
|
|
@@ -33782,7 +34551,7 @@ class GridModule {
|
|
|
33782
34551
|
MonthViewService,
|
|
33783
34552
|
YearViewService,
|
|
33784
34553
|
NavigationService$1
|
|
33785
|
-
], imports: [GroupHeaderComponent, GroupPanelComponent, TableBodyComponent, CellComponent, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, HeaderComponent,
|
|
34554
|
+
], imports: [GroupHeaderComponent, GroupPanelComponent, TableBodyComponent, CellComponent, EditCommandDirective, CancelCommandDirective, SaveCommandDirective, RemoveCommandDirective, AddCommandDirective, HeaderComponent, i51.CustomMessagesComponent, i51.PagerInfoComponent, i51.PagerInputComponent, i51.PagerNextButtonsComponent, i51.PagerNumericButtonsComponent, i51.PagerPageSizesComponent, i51.PagerPrevButtonsComponent, i51.PagerComponent, i51.PagerSpacerComponent, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent, StringFilterCellComponent, NumericFilterCellComponent, AutoCompleteFilterCellComponent, BooleanFilterCellComponent, FilterCellWrapperComponent, DateFilterCellComponent, FilterCellOperatorsComponent, FilterCellOperatorsComponent, FilterMenuComponent, FilterMenuContainerComponent, FilterMenuInputWrapperComponent, StringFilterMenuInputComponent, StringFilterMenuComponent, NumericFilterMenuComponent, NumericFilterMenuInputComponent, DateFilterMenuInputComponent, DateFilterMenuComponent, BooleanFilterMenuComponent, ColumnListComponent, ColumnChooserComponent, ColumnMenuChooserComponent, ColumnMenuFilterComponent, ColumnMenuItemComponent, ColumnMenuSortComponent, ColumnMenuComponent, ColumnMenuLockComponent, ColumnMenuStickComponent, ColumnMenuPositionComponent, ColumnMenuAutoSizeColumnComponent, ColumnMenuAutoSizeAllColumnsComponent, GridComponent, ListComponent, FormComponent, DialogFormComponent, FormFormFieldComponent, i52.ToolBarComponent, i52.ToolbarCustomMessagesComponent, i52.ToolBarButtonComponent, i52.ToolBarButtonGroupComponent, i52.ToolBarDropDownButtonComponent, i52.ToolBarSeparatorComponent, i52.ToolBarSpacerComponent, i52.ToolBarSplitButtonComponent] });
|
|
33786
34555
|
}
|
|
33787
34556
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GridModule, decorators: [{
|
|
33788
34557
|
type: NgModule,
|
|
@@ -33900,5 +34669,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
33900
34669
|
* Generated bundle index. Do not edit.
|
|
33901
34670
|
*/
|
|
33902
34671
|
|
|
33903
|
-
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, 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 };
|
|
34672
|
+
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 };
|
|
33904
34673
|
|