@progress/kendo-angular-grid 18.5.2-develop.9 → 18.6.0-develop.1

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.
@@ -0,0 +1,53 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { AfterViewInit, NgZone, OnDestroy, Renderer2 } from '@angular/core';
6
+ import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
7
+ import { PopupService } from '@progress/kendo-angular-popup';
8
+ import { ContextService } from '../../../common/provider.service';
9
+ import { SortService } from '../../../common/sort.service';
10
+ import { ColumnInfoService } from '../../../common/column-info.service';
11
+ import * as i0 from "@angular/core";
12
+ /**
13
+ * Represents the toolbar tool for sorting columns of the Grid.
14
+ * You can apply this directive to any `kendo-toolbar-button` element inside a
15
+ * ToolbarComponent used in the Grid.
16
+ *
17
+ * When the user clicks the toolbar button that is associated with the directive, the
18
+ * sort event is triggered.
19
+ *
20
+ * @example
21
+ * ```html-no-run
22
+ * <kendo-grid>
23
+ * <kendo-toolbar>
24
+ * <kendo-toolbar-button text="Sort" kendoGridSortTool></kendo-toolbar-button>
25
+ * </kendo-toolbar>
26
+ * </kendo-grid>
27
+ * ```
28
+ */
29
+ export declare class SortCommandToolbarDirective implements AfterViewInit, OnDestroy {
30
+ private host;
31
+ private popupService;
32
+ private ctx;
33
+ private sortService;
34
+ private columnInfoService;
35
+ private ngZone;
36
+ private renderer;
37
+ private popupRef;
38
+ private nextId;
39
+ private toolSubs;
40
+ private popupSubs;
41
+ private removeClickListener;
42
+ constructor(host: ToolBarButtonComponent, popupService: PopupService, ctx: ContextService, sortService: SortService, columnInfoService: ColumnInfoService, ngZone: NgZone, renderer: Renderer2);
43
+ ngOnInit(): void;
44
+ ngAfterViewInit(): void;
45
+ ngOnDestroy(): void;
46
+ private onClick;
47
+ private openPopup;
48
+ private setPopupAttributes;
49
+ private initPopupProperties;
50
+ private closePopup;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortCommandToolbarDirective, never>;
52
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SortCommandToolbarDirective, "[kendoGridSortTool]", never, {}, {}, never, never, true, never>;
53
+ }
@@ -0,0 +1,53 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2025 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { ElementRef, EventEmitter, QueryList, NgZone, AfterViewInit, OnDestroy } from '@angular/core';
6
+ import { ContextService } from '../../../common/provider.service';
7
+ import { ColumnBase } from '../../../columns/column-base';
8
+ import { SortService } from '../../../common/sort.service';
9
+ import { ColumnComponent } from '../../../columns/column.component';
10
+ import { SortDescriptor } from '@progress/kendo-data-query';
11
+ import { SVGIcon } from '@progress/kendo-angular-icons';
12
+ import { ColumnInfoService } from '../../../common/column-info.service';
13
+ import * as i0 from "@angular/core";
14
+ /**
15
+ * @hidden
16
+ */
17
+ export declare class SortToolbarToolComponent implements AfterViewInit, OnDestroy {
18
+ element: ElementRef;
19
+ private ngZone;
20
+ sortItems: QueryList<ElementRef>;
21
+ wrapperClasses: boolean;
22
+ onEscKeyDown(event: KeyboardEvent): void;
23
+ close: EventEmitter<any>;
24
+ sortClear: EventEmitter<any>;
25
+ sort: Array<SortDescriptor>;
26
+ columns: Array<ColumnBase>;
27
+ sortAscSmallIcon: SVGIcon;
28
+ sortDescSmallIcon: SVGIcon;
29
+ clearIcon: SVGIcon;
30
+ private _columnInfoService;
31
+ set columnInfoService(columnInfoService: ColumnInfoService);
32
+ get columnInfoService(): ColumnInfoService;
33
+ private _ctx;
34
+ set ctx(ctx: ContextService);
35
+ get ctx(): ContextService;
36
+ private _sortService;
37
+ set sortService(sortService: SortService);
38
+ get sortService(): SortService;
39
+ private subscription;
40
+ private hostButton;
41
+ constructor(element: ElementRef, ngZone: NgZone);
42
+ ngAfterViewInit(): void;
43
+ ngOnDestroy(): void;
44
+ toggleSort(column: ColumnBase): void;
45
+ getColumnComponent(column: ColumnBase): ColumnComponent;
46
+ sortDescriptor(field: string): SortDescriptor;
47
+ getDescriptor(column: ColumnBase): SortDescriptor[];
48
+ showSortNumbering(column: ColumnComponent): boolean;
49
+ sortOrder(field: string): number;
50
+ clearSorting(): void;
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortToolbarToolComponent, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<SortToolbarToolComponent, "kendo-sort-toolbar-tool", never, {}, { "close": "close"; "sortClear": "sortClear"; }, never, never, true, never>;
53
+ }
@@ -4,14 +4,14 @@ 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 deps of the dropdowns
7
- '@progress/kendo-angular-treeview': '18.5.2-develop.9',
8
- '@progress/kendo-angular-navigation': '18.5.2-develop.9',
7
+ '@progress/kendo-angular-treeview': '18.6.0-develop.1',
8
+ '@progress/kendo-angular-navigation': '18.6.0-develop.1',
9
9
  // peer dependency of kendo-angular-inputs
10
- '@progress/kendo-angular-dialog': '18.5.2-develop.9',
10
+ '@progress/kendo-angular-dialog': '18.6.0-develop.1',
11
11
  // peer dependency of kendo-angular-icons
12
12
  '@progress/kendo-svg-icons': '^4.0.0',
13
13
  // peer dependency of kendo-angular-layout
14
- '@progress/kendo-angular-progressbar': '18.5.2-develop.9'
14
+ '@progress/kendo-angular-progressbar': '18.6.0-develop.1'
15
15
  } });
16
16
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
17
17
  }