@progress/kendo-angular-grid 12.2.0-develop.7 → 13.0.0-develop.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/column-menu/column-chooser.component.d.ts +4 -4
- package/column-menu/column-menu-autosize-all.component.d.ts +2 -4
- package/column-menu/column-menu-autosize.component.d.ts +1 -3
- package/column-menu/column-menu-chooser.component.d.ts +3 -3
- package/column-menu/column-menu-filter.component.d.ts +3 -3
- package/column-menu/column-menu-lock.component.d.ts +3 -3
- package/column-menu/column-menu-position.component.d.ts +4 -4
- package/column-menu/column-menu-settings.interface.d.ts +5 -0
- package/column-menu/column-menu-sort.component.d.ts +6 -3
- package/column-menu/column-menu-stick.component.d.ts +3 -3
- package/column-menu/column-menu.component.d.ts +39 -5
- package/column-menu/column-menu.module.d.ts +2 -1
- package/column-resizing/column-handle.directive.d.ts +3 -3
- package/common/provider.service.d.ts +3 -1
- package/common/single-popup.service.d.ts +3 -3
- package/editing/add-command.directive.d.ts +2 -2
- package/editing/cancel-command.directive.d.ts +2 -2
- package/editing/edit-command.directive.d.ts +2 -2
- package/editing/remove-command.directive.d.ts +2 -2
- package/editing/save-command.directive.d.ts +2 -2
- package/esm2020/column-menu/column-chooser.component.mjs +17 -17
- package/esm2020/column-menu/column-list.component.mjs +3 -3
- package/esm2020/column-menu/column-menu-autosize-all.component.mjs +15 -18
- package/esm2020/column-menu/column-menu-autosize.component.mjs +9 -12
- package/esm2020/column-menu/column-menu-chooser.component.mjs +13 -13
- package/esm2020/column-menu/column-menu-filter.component.mjs +9 -9
- package/esm2020/column-menu/column-menu-item.component.mjs +1 -1
- package/esm2020/column-menu/column-menu-lock.component.mjs +7 -7
- package/esm2020/column-menu/column-menu-position.component.mjs +9 -9
- package/esm2020/column-menu/column-menu-sort.component.mjs +13 -10
- package/esm2020/column-menu/column-menu-stick.component.mjs +7 -7
- package/esm2020/column-menu/column-menu.component.mjs +257 -17
- package/esm2020/column-menu/column-menu.module.mjs +4 -3
- package/esm2020/column-resizing/column-handle.directive.mjs +7 -7
- package/esm2020/common/provider.service.mjs +6 -3
- package/esm2020/common/single-popup.service.mjs +8 -8
- package/esm2020/editing/add-command.directive.mjs +7 -7
- package/esm2020/editing/cancel-command.directive.mjs +7 -7
- package/esm2020/editing/edit-command.directive.mjs +7 -7
- package/esm2020/editing/remove-command.directive.mjs +7 -7
- package/esm2020/editing/save-command.directive.mjs +7 -7
- package/esm2020/excel/excel-command.directive.mjs +7 -7
- package/esm2020/excel/excel.component.mjs +7 -7
- package/esm2020/filtering/boolean-filter.component.mjs +13 -13
- package/esm2020/filtering/cell/autocomplete-filter-cell.component.mjs +7 -7
- package/esm2020/filtering/cell/boolean-filter-cell.component.mjs +7 -7
- package/esm2020/filtering/cell/date-filter-cell.component.mjs +9 -9
- package/esm2020/filtering/cell/filter-cell-operators.component.mjs +7 -7
- package/esm2020/filtering/cell/numeric-filter-cell.component.mjs +10 -10
- package/esm2020/filtering/cell/string-filter-cell.component.mjs +7 -7
- package/esm2020/filtering/date-filter.component.mjs +9 -9
- package/esm2020/filtering/filter-row.component.mjs +7 -7
- package/esm2020/filtering/menu/boolean-filter-menu.component.mjs +10 -8
- package/esm2020/filtering/menu/date-filter-menu-input.component.mjs +8 -8
- package/esm2020/filtering/menu/date-filter-menu.component.mjs +9 -9
- package/esm2020/filtering/menu/filter-menu-container.component.mjs +20 -20
- package/esm2020/filtering/menu/filter-menu-input-wrapper.component.mjs +10 -8
- package/esm2020/filtering/menu/filter-menu.component.mjs +8 -8
- package/esm2020/filtering/menu/menu-tabbing.service.mjs +1 -0
- package/esm2020/filtering/menu/numeric-filter-menu-input.component.mjs +8 -8
- package/esm2020/filtering/menu/numeric-filter-menu.component.mjs +9 -9
- package/esm2020/filtering/menu/string-filter-menu-input.component.mjs +7 -7
- package/esm2020/filtering/menu/string-filter-menu.component.mjs +9 -9
- package/esm2020/filtering/numeric-filter.component.mjs +9 -9
- package/esm2020/filtering/operators/after-eq-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/after-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/before-eq-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/before-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/contains-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/ends-with-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/eq-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/filter-operator.base.mjs +9 -9
- package/esm2020/filtering/operators/gt-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/gte-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/is-empty-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/is-not-empty-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/is-not-null-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/isnull-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/lt-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/lte-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/neq-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/not-contains-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/operators/starts-with-filter-operator.component.mjs +5 -5
- package/esm2020/filtering/string-filter.component.mjs +8 -8
- package/esm2020/grid.component.mjs +33 -15
- package/esm2020/grouping/group-header.component.mjs +32 -15
- package/esm2020/grouping/group-panel.component.mjs +10 -10
- package/esm2020/localization/messages.mjs +7 -1
- package/esm2020/navigation/navigation.service.mjs +8 -8
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/pager/pager-element.component.mjs +25 -8
- package/esm2020/pager/pager-info.component.mjs +6 -6
- package/esm2020/pager/pager-input.component.mjs +6 -6
- package/esm2020/pager/pager-next-buttons.component.mjs +14 -17
- package/esm2020/pager/pager-numeric-buttons.component.mjs +6 -6
- package/esm2020/pager/pager-page-sizes.component.mjs +7 -7
- package/esm2020/pager/pager-prev-buttons.component.mjs +14 -17
- package/esm2020/pager/pager.component.mjs +7 -7
- package/esm2020/pdf/pdf-command.directive.mjs +7 -7
- package/esm2020/rendering/cell.component.mjs +9 -9
- package/esm2020/rendering/common/loading.component.mjs +7 -7
- package/esm2020/rendering/header/header.component.mjs +27 -30
- package/esm2020/rendering/list.component.mjs +7 -7
- package/esm2020/rendering/table-body.component.mjs +12 -12
- package/excel/excel-command.directive.d.ts +2 -2
- package/excel/excel.component.d.ts +3 -3
- package/fesm2015/progress-kendo-angular-grid.mjs +858 -558
- package/fesm2020/progress-kendo-angular-grid.mjs +855 -558
- package/filtering/base-filter-cell.component.d.ts +1 -1
- package/filtering/boolean-filter.component.d.ts +3 -3
- package/filtering/cell/autocomplete-filter-cell.component.d.ts +3 -3
- package/filtering/cell/boolean-filter-cell.component.d.ts +2 -2
- package/filtering/cell/date-filter-cell.component.d.ts +3 -3
- package/filtering/cell/filter-cell-operators.component.d.ts +3 -3
- package/filtering/cell/numeric-filter-cell.component.d.ts +4 -4
- package/filtering/cell/string-filter-cell.component.d.ts +2 -2
- package/filtering/date-filter.component.d.ts +3 -3
- package/filtering/filter-row.component.d.ts +3 -3
- package/filtering/menu/boolean-filter-menu.component.d.ts +2 -2
- package/filtering/menu/date-filter-menu-input.component.d.ts +3 -3
- package/filtering/menu/date-filter-menu.component.d.ts +2 -2
- package/filtering/menu/filter-menu-container.component.d.ts +3 -3
- package/filtering/menu/filter-menu-input-wrapper.component.d.ts +3 -3
- package/filtering/menu/filter-menu.component.d.ts +3 -3
- package/filtering/menu/menu-tabbing.service.d.ts +1 -0
- package/filtering/menu/numeric-filter-menu-input.component.d.ts +3 -3
- package/filtering/menu/numeric-filter-menu.component.d.ts +2 -2
- package/filtering/menu/string-filter-menu-input.component.d.ts +3 -3
- package/filtering/menu/string-filter-menu.component.d.ts +2 -2
- package/filtering/numeric-filter.component.d.ts +3 -3
- package/filtering/operators/after-eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/after-filter-operator.component.d.ts +2 -2
- package/filtering/operators/before-eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/before-filter-operator.component.d.ts +2 -2
- package/filtering/operators/contains-filter-operator.component.d.ts +2 -2
- package/filtering/operators/ends-with-filter-operator.component.d.ts +2 -2
- package/filtering/operators/eq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/filter-operator.base.d.ts +3 -3
- package/filtering/operators/gt-filter-operator.component.d.ts +2 -2
- package/filtering/operators/gte-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-empty-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-not-empty-filter-operator.component.d.ts +2 -2
- package/filtering/operators/is-not-null-filter-operator.component.d.ts +2 -2
- package/filtering/operators/isnull-filter-operator.component.d.ts +2 -2
- package/filtering/operators/lt-filter-operator.component.d.ts +2 -2
- package/filtering/operators/lte-filter-operator.component.d.ts +2 -2
- package/filtering/operators/neq-filter-operator.component.d.ts +2 -2
- package/filtering/operators/not-contains-filter-operator.component.d.ts +2 -2
- package/filtering/operators/starts-with-filter-operator.component.d.ts +2 -2
- package/filtering/string-filter.component.d.ts +3 -3
- package/grouping/group-header.component.d.ts +8 -5
- package/grouping/group-panel.component.d.ts +3 -3
- package/localization/messages.d.ts +13 -1
- package/navigation/navigation.service.d.ts +3 -3
- package/package.json +16 -15
- package/pager/pager-element.component.d.ts +12 -3
- package/pager/pager-info.component.d.ts +2 -2
- package/pager/pager-input.component.d.ts +2 -2
- package/pager/pager-next-buttons.component.d.ts +2 -5
- package/pager/pager-numeric-buttons.component.d.ts +2 -2
- package/pager/pager-page-sizes.component.d.ts +2 -2
- package/pager/pager-prev-buttons.component.d.ts +2 -5
- package/pager/pager.component.d.ts +3 -3
- package/pdf/pdf-command.directive.d.ts +2 -2
- package/rendering/cell.component.d.ts +3 -3
- package/rendering/common/loading.component.d.ts +3 -3
- package/rendering/header/header.component.d.ts +1 -3
- package/rendering/list.component.d.ts +3 -3
- package/rendering/table-body.component.d.ts +3 -3
- package/schematics/ngAdd/index.js +5 -3
- package/scrolling/scroll-request.service.d.ts +6 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ChangeDetectorRef } from '@angular/core';
|
|
6
|
-
import {
|
|
6
|
+
import { ContextService } from '../common/provider.service';
|
|
7
7
|
import { PagerContextChanges, PagerContextService } from './pager-context.service';
|
|
8
8
|
import { PagerElementComponent } from './pager-element.component';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
@@ -36,7 +36,7 @@ export declare class PagerNumericButtonsComponent extends PagerElementComponent
|
|
|
36
36
|
* @hidden
|
|
37
37
|
*/
|
|
38
38
|
get start(): number;
|
|
39
|
-
constructor(
|
|
39
|
+
constructor(ctx: ContextService, cd: ChangeDetectorRef, pagerContext: PagerContextService);
|
|
40
40
|
/**
|
|
41
41
|
* @hidden
|
|
42
42
|
*/
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
import { NavigationService } from './../navigation/navigation.service';
|
|
6
6
|
import { ChangeDetectorRef } from '@angular/core';
|
|
7
7
|
import { PagerElementComponent } from './pager-element.component';
|
|
8
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
8
|
import { PagerContextService, PagerContextChanges } from './pager-context.service';
|
|
10
9
|
import { PageSizeItem } from './pagesize-item.interface';
|
|
10
|
+
import { ContextService } from '../common/provider.service';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
/**
|
|
13
13
|
* Displays a drop-down list for the page size selection ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
|
|
@@ -34,7 +34,7 @@ export declare class PagerPageSizesComponent extends PagerElementComponent {
|
|
|
34
34
|
*/
|
|
35
35
|
get showInitialPageSize(): boolean;
|
|
36
36
|
private _pageSizes;
|
|
37
|
-
constructor(
|
|
37
|
+
constructor(ctx: ContextService, cd: ChangeDetectorRef, pagerContext: PagerContextService, navigationService: NavigationService);
|
|
38
38
|
/**
|
|
39
39
|
* @hidden
|
|
40
40
|
*/
|
|
@@ -6,17 +6,14 @@ import { NavigationService } from './../navigation/navigation.service';
|
|
|
6
6
|
import { ChangeDetectorRef } from '@angular/core';
|
|
7
7
|
import { PagerContextService, PagerContextChanges } from "./pager-context.service";
|
|
8
8
|
import { PagerElementComponent } from './pager-element.component';
|
|
9
|
-
import {
|
|
10
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
9
|
+
import { ContextService } from '../common/provider.service';
|
|
11
10
|
import * as i0 from "@angular/core";
|
|
12
11
|
/**
|
|
13
12
|
* Displays buttons for navigating to the first and to the previous page ([see example](slug:pager_template_grid#toc-using-built-in-pager-components)).
|
|
14
13
|
*/
|
|
15
14
|
export declare class PagerPrevButtonsComponent extends PagerElementComponent {
|
|
16
15
|
navigationService: NavigationService;
|
|
17
|
-
|
|
18
|
-
caretAltToLeftIcon: SVGIcon;
|
|
19
|
-
constructor(localization: LocalizationService, pagerContext: PagerContextService, cd: ChangeDetectorRef, navigationService: NavigationService);
|
|
16
|
+
constructor(ctx: ContextService, pagerContext: PagerContextService, cd: ChangeDetectorRef, navigationService: NavigationService);
|
|
20
17
|
/**
|
|
21
18
|
* @hidden
|
|
22
19
|
*
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
5
|
import { EventEmitter, OnChanges, SimpleChanges, OnInit, OnDestroy, ElementRef, Renderer2, NgZone } from '@angular/core';
|
|
7
6
|
import { PagerSettings } from './pager-settings';
|
|
8
7
|
import { PageChangeEvent } from '../data/change-event-args.interface';
|
|
@@ -13,6 +12,7 @@ import { CellContext } from '../rendering/common/cell-context';
|
|
|
13
12
|
import { FocusGroup } from '../navigation/focus-group';
|
|
14
13
|
import { FocusRoot } from '../navigation/focus-root';
|
|
15
14
|
import { GridSize } from '../common/size-options';
|
|
15
|
+
import { ContextService } from '../common/provider.service';
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
17
17
|
/**
|
|
18
18
|
* @hidden
|
|
@@ -23,7 +23,7 @@ export declare class PagerComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
23
23
|
private element;
|
|
24
24
|
private renderer;
|
|
25
25
|
private zone;
|
|
26
|
-
private
|
|
26
|
+
private ctx;
|
|
27
27
|
private cellContext;
|
|
28
28
|
private focusRoot;
|
|
29
29
|
private focusGroup;
|
|
@@ -59,7 +59,7 @@ export declare class PagerComponent implements OnChanges, OnInit, OnDestroy {
|
|
|
59
59
|
get totalPages(): number;
|
|
60
60
|
get currentPage(): number;
|
|
61
61
|
get templateContext(): any;
|
|
62
|
-
constructor(pagerContext: PagerContextService, navigationService: NavigationService, element: ElementRef, renderer: Renderer2, zone: NgZone,
|
|
62
|
+
constructor(pagerContext: PagerContextService, navigationService: NavigationService, element: ElementRef, renderer: Renderer2, zone: NgZone, ctx: ContextService, cellContext: CellContext, focusRoot: FocusRoot, focusGroup: FocusGroup);
|
|
63
63
|
ngOnInit(): void;
|
|
64
64
|
ngDoCheck(): void;
|
|
65
65
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ElementRef, Renderer2 as Renderer, NgZone } from '@angular/core';
|
|
6
6
|
import { Button } from '@progress/kendo-angular-buttons';
|
|
7
|
-
import {
|
|
7
|
+
import { ContextService } from '../common/provider.service';
|
|
8
8
|
import { PDFService } from './pdf.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
/**
|
|
@@ -36,7 +36,7 @@ export declare class PDFCommandDirective extends Button {
|
|
|
36
36
|
* @hidden
|
|
37
37
|
*/
|
|
38
38
|
get pdfClass(): boolean;
|
|
39
|
-
constructor(pdfService: PDFService, element: ElementRef, renderer: Renderer,
|
|
39
|
+
constructor(pdfService: PDFService, element: ElementRef, renderer: Renderer, ctx: ContextService, ngZone: NgZone);
|
|
40
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<PDFCommandDirective, never>;
|
|
41
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<PDFCommandDirective, "[kendoGridPDFCommand]", never, {}, {}, never, ["*"]>;
|
|
42
42
|
}
|
|
@@ -8,8 +8,8 @@ import { ColumnComponent } from '../columns/column.component';
|
|
|
8
8
|
import { FormGroup } from '@angular/forms';
|
|
9
9
|
import { CellContext } from './common/cell-context';
|
|
10
10
|
import { IdService } from '../common/id.service';
|
|
11
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
12
11
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
12
|
+
import { ContextService } from '../common/provider.service';
|
|
13
13
|
import * as i0 from "@angular/core";
|
|
14
14
|
/**
|
|
15
15
|
* @hidden
|
|
@@ -17,7 +17,7 @@ import * as i0 from "@angular/core";
|
|
|
17
17
|
export declare class CellComponent implements DoCheck {
|
|
18
18
|
private editService;
|
|
19
19
|
private idService;
|
|
20
|
-
private
|
|
20
|
+
private ctx;
|
|
21
21
|
private cellContext;
|
|
22
22
|
get commandCellClass(): boolean;
|
|
23
23
|
get dragHandleCellClass(): boolean;
|
|
@@ -49,7 +49,7 @@ export declare class CellComponent implements DoCheck {
|
|
|
49
49
|
private get isColumnEditable();
|
|
50
50
|
private _templateContext;
|
|
51
51
|
private _editTemplateContext;
|
|
52
|
-
constructor(editService: EditService, idService: IdService,
|
|
52
|
+
constructor(editService: EditService, idService: IdService, ctx: ContextService, cellContext: CellContext);
|
|
53
53
|
ngDoCheck(): void;
|
|
54
54
|
ngOnChanges(_changes: any): void;
|
|
55
55
|
ngAfterContentChecked(): void;
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import {
|
|
5
|
+
import { ContextService } from '../../common/provider.service';
|
|
6
6
|
import { LoadingTemplateDirective } from '../loading-template.directive';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
/**
|
|
9
9
|
* @hidden
|
|
10
10
|
*/
|
|
11
11
|
export declare class LoadingComponent {
|
|
12
|
-
private
|
|
12
|
+
private ctx;
|
|
13
13
|
hostClass: boolean;
|
|
14
14
|
loadingTemplate: LoadingTemplateDirective;
|
|
15
15
|
get loadingText(): string;
|
|
16
|
-
constructor(
|
|
16
|
+
constructor(ctx: ContextService);
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
|
|
18
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "[kendoGridLoading]", never, { "loadingTemplate": "loadingTemplate"; }, {}, never, never>;
|
|
19
19
|
}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { ColumnInfoService } from './../../common/column-info.service';
|
|
6
6
|
import { ChangeDetectorRef, AfterViewInit, OnChanges, OnDestroy, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
7
|
import { ColumnComponent } from '../../columns/column.component';
|
|
9
8
|
import { ColumnBase } from '../../columns/column-base';
|
|
10
9
|
import { DetailTemplateDirective } from '../details/detail-template.directive';
|
|
@@ -37,7 +36,6 @@ export declare class HeaderComponent implements AfterViewInit, OnInit, OnChanges
|
|
|
37
36
|
private reorderService;
|
|
38
37
|
private idService;
|
|
39
38
|
private sortService;
|
|
40
|
-
private localization;
|
|
41
39
|
private columnInfoService;
|
|
42
40
|
private cd;
|
|
43
41
|
private contextService;
|
|
@@ -76,7 +74,7 @@ export declare class HeaderComponent implements AfterViewInit, OnInit, OnChanges
|
|
|
76
74
|
private subscription;
|
|
77
75
|
private targetSubscription;
|
|
78
76
|
private _leafColumns;
|
|
79
|
-
constructor(popupService: SinglePopupService, hint: DragHintService, cue: DropCueService, reorderService: ColumnReorderService, idService: IdService, sortService: SortService,
|
|
77
|
+
constructor(popupService: SinglePopupService, hint: DragHintService, cue: DropCueService, reorderService: ColumnReorderService, idService: IdService, sortService: SortService, columnInfoService: ColumnInfoService, cd: ChangeDetectorRef, contextService: ContextService);
|
|
80
78
|
sortColumn(descriptor: SortDescriptor[]): void;
|
|
81
79
|
getColumnComponent(column: ColumnBase): ColumnComponent;
|
|
82
80
|
onSortClick(column: ColumnComponent, event: MouseEvent, link: Element): void;
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { OnInit, EventEmitter, ElementRef, OnDestroy, AfterViewInit, AfterViewChecked, SimpleChange, OnChanges, InjectionToken, QueryList, NgZone, Renderer2, TrackByFunction, ChangeDetectorRef, TemplateRef } from '@angular/core';
|
|
6
6
|
import { Observable } from 'rxjs';
|
|
7
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
8
7
|
import { ScrollerService, Action } from '../scrolling/scroller.service';
|
|
9
8
|
import { ScrollRequestService } from '../scrolling/scroll-request.service';
|
|
10
9
|
import { ColumnBase } from '../columns/column-base';
|
|
@@ -31,6 +30,7 @@ import { GridItem } from '../data/grid-item.interface';
|
|
|
31
30
|
import { PDFService } from '../pdf/pdf.service';
|
|
32
31
|
import { ColumnInfoService } from '../common/column-info.service';
|
|
33
32
|
import { GridSize } from '../common/size-options';
|
|
33
|
+
import { ContextService } from '../common/provider.service';
|
|
34
34
|
import * as i0 from "@angular/core";
|
|
35
35
|
/**
|
|
36
36
|
* @hidden
|
|
@@ -54,7 +54,7 @@ export declare class ListComponent implements OnInit, OnDestroy, AfterViewInit,
|
|
|
54
54
|
private editService;
|
|
55
55
|
private supportService;
|
|
56
56
|
private navigationService;
|
|
57
|
-
private
|
|
57
|
+
private ctx;
|
|
58
58
|
private columnResizingService;
|
|
59
59
|
private changeDetector;
|
|
60
60
|
private pdfService;
|
|
@@ -119,7 +119,7 @@ export declare class ListComponent implements OnInit, OnDestroy, AfterViewInit,
|
|
|
119
119
|
private rtl;
|
|
120
120
|
private columnUpdateFrame;
|
|
121
121
|
private hasLockedContainer;
|
|
122
|
-
constructor(scrollerFactory: any, detailsService: DetailsService, changeNotification: ChangeNotificationService, suspendService: SuspendService, groupsService: GroupsService, ngZone: NgZone, renderer: Renderer2, scrollSyncService: ScrollSyncService, resizeService: ResizeService, editService: EditService, supportService: BrowserSupportService, navigationService: NavigationService, scrollRequestService: ScrollRequestService,
|
|
122
|
+
constructor(scrollerFactory: any, detailsService: DetailsService, changeNotification: ChangeNotificationService, suspendService: SuspendService, groupsService: GroupsService, ngZone: NgZone, renderer: Renderer2, scrollSyncService: ScrollSyncService, resizeService: ResizeService, editService: EditService, supportService: BrowserSupportService, navigationService: NavigationService, scrollRequestService: ScrollRequestService, ctx: ContextService, columnResizingService: ColumnResizingService, changeDetector: ChangeDetectorRef, pdfService: PDFService, columnInfo: ColumnInfoService);
|
|
123
123
|
ngOnInit(): void;
|
|
124
124
|
ngOnChanges(changes: {
|
|
125
125
|
[propertyName: string]: SimpleChange;
|
|
@@ -10,7 +10,6 @@ import { GroupsService } from '../grouping/groups.service';
|
|
|
10
10
|
import { ChangeNotificationService } from '../data/change-notification.service';
|
|
11
11
|
import { NoRecordsTemplateDirective } from './no-records-template.directive';
|
|
12
12
|
import { EditService } from '../editing/edit.service';
|
|
13
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
14
13
|
import { RowClassFn, RowStickyFn } from './common/row-class';
|
|
15
14
|
import { SelectableSettings } from '../selection/types';
|
|
16
15
|
import { DomEventsService } from '../common/dom-events.service';
|
|
@@ -25,6 +24,7 @@ import { GroupItem } from '../data/group-item.interface';
|
|
|
25
24
|
import { GroupFooterItem } from '../data/group-footer-item.interface';
|
|
26
25
|
import { DataItem } from '../data/data-item.interface';
|
|
27
26
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
27
|
+
import { ContextService } from '../common/provider.service';
|
|
28
28
|
import * as i0 from "@angular/core";
|
|
29
29
|
/**
|
|
30
30
|
* @hidden
|
|
@@ -34,7 +34,7 @@ export declare class TableBodyComponent implements OnInit, OnDestroy, OnChanges,
|
|
|
34
34
|
groupsService: GroupsService;
|
|
35
35
|
private changeNotification;
|
|
36
36
|
editService: EditService;
|
|
37
|
-
private
|
|
37
|
+
private ctx;
|
|
38
38
|
private ngZone;
|
|
39
39
|
private renderer;
|
|
40
40
|
private element;
|
|
@@ -75,7 +75,7 @@ export declare class TableBodyComponent implements OnInit, OnDestroy, OnChanges,
|
|
|
75
75
|
private minusIcon;
|
|
76
76
|
private plusIcon;
|
|
77
77
|
rowClass: RowClassFn;
|
|
78
|
-
constructor(detailsService: DetailsService, groupsService: GroupsService, changeNotification: ChangeNotificationService, editService: EditService,
|
|
78
|
+
constructor(detailsService: DetailsService, groupsService: GroupsService, changeNotification: ChangeNotificationService, editService: EditService, ctx: ContextService, ngZone: NgZone, renderer: Renderer2, element: ElementRef, domEvents: DomEventsService, selectionService: SelectionService, cellSelectionService: CellSelectionService, columnInfoService: ColumnInfoService, navigationService: NavigationService);
|
|
79
79
|
get newDataItem(): any;
|
|
80
80
|
get unlockedColumnsCount(): number;
|
|
81
81
|
isAriaSelected(item: any, column: ColumnBase): string;
|
|
@@ -4,11 +4,13 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
4
4
|
function default_1(options) {
|
|
5
5
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'GridModule', package: 'grid', peerDependencies: {
|
|
6
6
|
// peer dep of the dropdowns
|
|
7
|
-
'@progress/kendo-angular-treeview': '
|
|
7
|
+
'@progress/kendo-angular-treeview': '13.0.0-develop.10',
|
|
8
8
|
// peer dependency of kendo-angular-inputs
|
|
9
|
-
'@progress/kendo-angular-dialog': '
|
|
9
|
+
'@progress/kendo-angular-dialog': '13.0.0-develop.10',
|
|
10
10
|
// peer dependency of kendo-angular-icons
|
|
11
|
-
'@progress/kendo-svg-icons': '^1.0.0'
|
|
11
|
+
'@progress/kendo-svg-icons': '^1.0.0',
|
|
12
|
+
// peer dependency of kendo-angular-layout
|
|
13
|
+
'@progress/kendo-angular-progressbar': '13.0.0-develop.10'
|
|
12
14
|
} });
|
|
13
15
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
14
16
|
}
|
|
@@ -9,7 +9,13 @@ import * as i0 from "@angular/core";
|
|
|
9
9
|
* [See example](slug:scrollmmodes_grid#toc-scrolling-to-a-specific-row-and-column-index).
|
|
10
10
|
*/
|
|
11
11
|
export interface ScrollRequest {
|
|
12
|
+
/**
|
|
13
|
+
* The row index to which the Grid should scroll to, considering `0` as first row.
|
|
14
|
+
*/
|
|
12
15
|
row?: number;
|
|
16
|
+
/**
|
|
17
|
+
* The column index to which the Grid should scroll to, considering `0` as first column.
|
|
18
|
+
*/
|
|
13
19
|
column?: number;
|
|
14
20
|
}
|
|
15
21
|
/**
|