@progress/kendo-angular-spreadsheet 23.3.0-develop.1 → 23.3.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/directives.d.ts +2 -1
- package/fesm2022/progress-kendo-angular-spreadsheet.mjs +280 -46
- package/index.d.ts +1 -1
- package/localization/messages.d.ts +9 -1
- package/models/events.d.ts +14 -0
- package/models/index.d.ts +1 -0
- package/models/pdf-export.d.ts +62 -0
- package/package-metadata.mjs +2 -2
- package/package.json +18 -18
- package/schematics/ngAdd/index.js +2 -2
- package/spreadsheet.component.d.ts +28 -3
- package/spreadsheet.module.d.ts +28 -27
- package/tools/index.d.ts +1 -0
- package/tools/pdf-export-tool.directive.d.ts +22 -0
- package/tools/shared/commands.d.ts +1 -1
- package/tools/tables/add-column-left-button.directive.d.ts +4 -3
- package/tools/tables/add-column-right-button.directive.d.ts +4 -3
- package/tools/tables/add-row-above-button.directive.d.ts +4 -3
- package/tools/tables/add-row-below-button.directive.d.ts +4 -3
- package/tools/tables/delete-column-button.directive.d.ts +4 -3
- package/tools/tables/delete-row-button.directive.d.ts +4 -3
- package/tools/tables/selection-utils.d.ts +18 -0
- package/tools/tables/spreadsheet-table-command-button.d.ts +29 -0
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
* Copyright © 2026 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 { ChangeDetectorRef } from '@angular/core';
|
|
5
6
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { SpreadsheetLocalizationService } from '../../localization/spreadsheet-localization.service';
|
|
7
8
|
import { SpreadsheetService } from '../../common/spreadsheet.service';
|
|
8
9
|
import { SpreadsheetToolsService } from '.././tools.service';
|
|
9
|
-
import {
|
|
10
|
+
import { SpreadsheetTableCommandButton } from './spreadsheet-table-command-button';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
13
14
|
*/
|
|
14
|
-
export declare class SpreadsheetDeleteColumnButtonDirective extends
|
|
15
|
-
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
15
|
+
export declare class SpreadsheetDeleteColumnButtonDirective extends SpreadsheetTableCommandButton {
|
|
16
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, cdr: ChangeDetectorRef);
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetDeleteColumnButtonDirective, never>;
|
|
17
18
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetDeleteColumnButtonDirective, "kendo-toolbar-button[kendoSpreadsheetDeleteColumnButton]", never, {}, {}, never, never, true, never>;
|
|
18
19
|
}
|
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
* Copyright © 2026 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 { ChangeDetectorRef } from '@angular/core';
|
|
5
6
|
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
6
7
|
import { SpreadsheetLocalizationService } from '../../localization/spreadsheet-localization.service';
|
|
7
8
|
import { SpreadsheetService } from '../../common/spreadsheet.service';
|
|
8
9
|
import { SpreadsheetToolsService } from '.././tools.service';
|
|
9
|
-
import {
|
|
10
|
+
import { SpreadsheetTableCommandButton } from './spreadsheet-table-command-button';
|
|
10
11
|
import * as i0 from "@angular/core";
|
|
11
12
|
/**
|
|
12
13
|
* @hidden
|
|
13
14
|
*/
|
|
14
|
-
export declare class SpreadsheetDeleteRowButtonDirective extends
|
|
15
|
-
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService);
|
|
15
|
+
export declare class SpreadsheetDeleteRowButtonDirective extends SpreadsheetTableCommandButton {
|
|
16
|
+
constructor(button: ToolBarButtonComponent, localization: SpreadsheetLocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, cdr: ChangeDetectorRef);
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetDeleteRowButtonDirective, never>;
|
|
17
18
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetDeleteRowButtonDirective, "kendo-toolbar-button[kendoSpreadsheetDeleteRowButton]", never, {}, {}, never, never, true, never>;
|
|
18
19
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
/**
|
|
6
|
+
* @hidden
|
|
7
|
+
*
|
|
8
|
+
* Checks if the selection spans an entire row (all columns selected).
|
|
9
|
+
* Used to disable column insert/delete tools when a full row is selected.
|
|
10
|
+
*/
|
|
11
|
+
export declare function isFullRowSelection(ref: any, grid: any): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*
|
|
15
|
+
* Checks if the selection spans an entire column (all rows selected).
|
|
16
|
+
* Used to disable row insert/delete tools when a full column is selected.
|
|
17
|
+
*/
|
|
18
|
+
export declare function isFullColumnSelection(ref: any, grid: any): boolean;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
6
|
+
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
+
import { ToolBarButtonComponent } from '@progress/kendo-angular-toolbar';
|
|
8
|
+
import { SpreadsheetService } from '../../common/spreadsheet.service';
|
|
9
|
+
import { SpreadsheetToolsService } from '../tools.service';
|
|
10
|
+
import { SpreadsheetCommand } from '../shared/commands';
|
|
11
|
+
import { SpreadsheetCommandButton } from '../shared/spreadsheet-command-button';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*
|
|
16
|
+
* Intermediary base class for insert/delete row/column toolbar buttons.
|
|
17
|
+
* Disables the button when the current selection would cause undesired behavior:
|
|
18
|
+
* - Row tools are disabled when a full column is selected
|
|
19
|
+
* - Column tools are disabled when a full row is selected
|
|
20
|
+
*/
|
|
21
|
+
export declare abstract class SpreadsheetTableCommandButton extends SpreadsheetCommandButton {
|
|
22
|
+
private cdr;
|
|
23
|
+
private disableOn;
|
|
24
|
+
constructor(command: SpreadsheetCommand, button: ToolBarButtonComponent, localization: LocalizationService, spreadsheetService: SpreadsheetService, toolsService: SpreadsheetToolsService, commandOptions: any, cdr: ChangeDetectorRef, disableOn: 'fullRow' | 'fullColumn');
|
|
25
|
+
ngOnInit(): void;
|
|
26
|
+
private updateDisabledState;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetTableCommandButton, never>;
|
|
28
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SpreadsheetTableCommandButton, never, never, {}, {}, never, never, true, never>;
|
|
29
|
+
}
|