@progress/kendo-angular-spreadsheet 13.6.0-develop.6
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/LICENSE.md +11 -0
- package/NOTICE.txt +654 -0
- package/README.md +32 -0
- package/action-bar/formula-input.directive.d.ts +33 -0
- package/action-bar/list.component.d.ts +23 -0
- package/action-bar/namebox.component.d.ts +30 -0
- package/common/main-menu.directive.d.ts +17 -0
- package/common/sheet-changes.d.ts +23 -0
- package/common/spreadsheet.service.d.ts +28 -0
- package/esm2020/action-bar/formula-input.directive.mjs +142 -0
- package/esm2020/action-bar/list.component.mjs +75 -0
- package/esm2020/action-bar/namebox.component.mjs +110 -0
- package/esm2020/common/main-menu.directive.mjs +25 -0
- package/esm2020/common/sheet-changes.mjs +5 -0
- package/esm2020/common/spreadsheet.service.mjs +42 -0
- package/esm2020/index.mjs +12 -0
- package/esm2020/localization/custom-messages.component.mjs +42 -0
- package/esm2020/localization/localized-messages.directive.mjs +33 -0
- package/esm2020/localization/messages.mjs +80 -0
- package/esm2020/localization/spreadsheet-localization.service.mjs +31 -0
- package/esm2020/models/events.mjs +5 -0
- package/esm2020/models/index.mjs +7 -0
- package/esm2020/models/main-menu-item.mjs +5 -0
- package/esm2020/models/sheet-info.mjs +5 -0
- package/esm2020/package-metadata.mjs +15 -0
- package/esm2020/progress-kendo-angular-spreadsheet.mjs +8 -0
- package/esm2020/sheets-bar/action-dialog.component.mjs +68 -0
- package/esm2020/sheets-bar/remove.directive.mjs +25 -0
- package/esm2020/sheets-bar/sheets-bar.component.mjs +278 -0
- package/esm2020/sheets-bar/utils.mjs +45 -0
- package/esm2020/spreadsheet.component.mjs +725 -0
- package/esm2020/spreadsheet.module.mjs +235 -0
- package/esm2020/tools/align-tool.directive.mjs +58 -0
- package/esm2020/tools/colorpicker/spreadsheet-backcolor.component.mjs +98 -0
- package/esm2020/tools/colorpicker/spreadsheet-forecolor.component.mjs +98 -0
- package/esm2020/tools/font-family/font-family-dropdownlist.component.mjs +57 -0
- package/esm2020/tools/font-family/spreadsheet-fontfamily-tool.component.mjs +92 -0
- package/esm2020/tools/font-size/font-size-dropdownlist.component.mjs +42 -0
- package/esm2020/tools/font-size/spreadsheet-fontsize-tool.component.mjs +92 -0
- package/esm2020/tools/format-tool.directive.mjs +61 -0
- package/esm2020/tools/gridlines-tool.directive.mjs +46 -0
- package/esm2020/tools/history/redo-tool.mjs +36 -0
- package/esm2020/tools/history/undo-tool.mjs +36 -0
- package/esm2020/tools/index.mjs +20 -0
- package/esm2020/tools/load-file.component.mjs +186 -0
- package/esm2020/tools/save-file-tool.directive.mjs +52 -0
- package/esm2020/tools/shared/command-icons.mjs +71 -0
- package/esm2020/tools/shared/commands.mjs +5 -0
- package/esm2020/tools/shared/constants.mjs +61 -0
- package/esm2020/tools/shared/dialog-content.component.mjs +114 -0
- package/esm2020/tools/shared/spreadsheet-command-base.mjs +75 -0
- package/esm2020/tools/shared/spreadsheet-command-button.mjs +25 -0
- package/esm2020/tools/shared/spreadsheet-dropdown-tools-base.mjs +184 -0
- package/esm2020/tools/shared/spreadsheet-dropdownlist.base.mjs +50 -0
- package/esm2020/tools/tables/add-column-left-button.directive.mjs +36 -0
- package/esm2020/tools/tables/add-column-right-button.directive.mjs +36 -0
- package/esm2020/tools/tables/add-row-above-button.directive.mjs +36 -0
- package/esm2020/tools/tables/add-row-below-button.directive.mjs +36 -0
- package/esm2020/tools/tables/delete-column-button.directive.mjs +34 -0
- package/esm2020/tools/tables/delete-row-button.directive.mjs +34 -0
- package/esm2020/tools/tables/index.mjs +10 -0
- package/esm2020/tools/text-wrap-tool.directive.mjs +47 -0
- package/esm2020/tools/tools.service.mjs +60 -0
- package/esm2020/tools/typographical-emphasis/bold-tool.directive.mjs +36 -0
- package/esm2020/tools/typographical-emphasis/italic-tool.directive.mjs +36 -0
- package/esm2020/tools/typographical-emphasis/underline-tool.directive.mjs +36 -0
- package/esm2020/tools/utils.mjs +13 -0
- package/esm2020/utils.mjs +25 -0
- package/fesm2015/progress-kendo-angular-spreadsheet.mjs +3372 -0
- package/fesm2020/progress-kendo-angular-spreadsheet.mjs +3382 -0
- package/index.d.ts +13 -0
- package/localization/custom-messages.component.d.ts +18 -0
- package/localization/localized-messages.directive.d.ts +16 -0
- package/localization/messages.d.ts +133 -0
- package/localization/spreadsheet-localization.service.d.ts +14 -0
- package/models/events.d.ts +65 -0
- package/models/index.d.ts +7 -0
- package/models/main-menu-item.d.ts +19 -0
- package/models/sheet-info.d.ts +26 -0
- package/package-metadata.d.ts +9 -0
- package/package.json +65 -0
- package/progress-kendo-angular-spreadsheet.d.ts +9 -0
- package/schematics/collection.json +12 -0
- package/schematics/ngAdd/index.js +13 -0
- package/schematics/ngAdd/schema.json +24 -0
- package/sheets-bar/action-dialog.component.d.ts +19 -0
- package/sheets-bar/remove.directive.d.ts +13 -0
- package/sheets-bar/sheets-bar.component.d.ts +53 -0
- package/sheets-bar/utils.d.ts +10 -0
- package/spreadsheet.component.d.ts +176 -0
- package/spreadsheet.module.d.ts +62 -0
- package/tools/align-tool.directive.d.ts +25 -0
- package/tools/colorpicker/spreadsheet-backcolor.component.d.ts +20 -0
- package/tools/colorpicker/spreadsheet-forecolor.component.d.ts +20 -0
- package/tools/font-family/font-family-dropdownlist.component.d.ts +13 -0
- package/tools/font-family/spreadsheet-fontfamily-tool.component.d.ts +24 -0
- package/tools/font-size/font-size-dropdownlist.component.d.ts +13 -0
- package/tools/font-size/spreadsheet-fontsize-tool.component.d.ts +24 -0
- package/tools/format-tool.directive.d.ts +36 -0
- package/tools/gridlines-tool.directive.d.ts +19 -0
- package/tools/history/redo-tool.d.ts +19 -0
- package/tools/history/undo-tool.d.ts +19 -0
- package/tools/index.d.ts +20 -0
- package/tools/load-file.component.d.ts +41 -0
- package/tools/save-file-tool.directive.d.ts +22 -0
- package/tools/shared/command-icons.d.ts +14 -0
- package/tools/shared/commands.d.ts +8 -0
- package/tools/shared/constants.d.ts +50 -0
- package/tools/shared/dialog-content.component.d.ts +21 -0
- package/tools/shared/spreadsheet-command-base.d.ts +29 -0
- package/tools/shared/spreadsheet-command-button.d.ts +23 -0
- package/tools/shared/spreadsheet-dropdown-tools-base.d.ts +76 -0
- package/tools/shared/spreadsheet-dropdownlist.base.d.ts +25 -0
- package/tools/tables/add-column-left-button.directive.d.ts +18 -0
- package/tools/tables/add-column-right-button.directive.d.ts +18 -0
- package/tools/tables/add-row-above-button.directive.d.ts +18 -0
- package/tools/tables/add-row-below-button.directive.d.ts +18 -0
- package/tools/tables/delete-column-button.directive.d.ts +18 -0
- package/tools/tables/delete-row-button.directive.d.ts +18 -0
- package/tools/tables/index.d.ts +10 -0
- package/tools/text-wrap-tool.directive.d.ts +19 -0
- package/tools/tools.service.d.ts +21 -0
- package/tools/typographical-emphasis/bold-tool.directive.d.ts +18 -0
- package/tools/typographical-emphasis/italic-tool.directive.d.ts +18 -0
- package/tools/typographical-emphasis/underline-tool.directive.d.ts +18 -0
- package/tools/utils.d.ts +8 -0
- package/utils.d.ts +9 -0
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<a href="https://www.telerik.com/kendo-angular-ui/" target="_blank">
|
|
2
|
+
<img width="631" src="https://www.telerik.com/kendo-angular-ui/npm-banner.svg">
|
|
3
|
+
</a>
|
|
4
|
+
|
|
5
|
+
## Kendo UI for Angular Spreadsheet Component
|
|
6
|
+
|
|
7
|
+
> **Important**
|
|
8
|
+
>
|
|
9
|
+
> - This package is part of [Kendo UI for Angular](https://www.telerik.com/kendo-angular-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-spreadsheet)—a commercial library designed and built for developing business applications with Angular. Every UI component in the Kendo UI for Angular suite has been built from the ground-up specifically for Angular.
|
|
10
|
+
> - You will need to install a license key when adding the package to your project. For more information, please refer to the [Kendo UI for Angular My License page](https://www.telerik.com/kendo-angular-ui/my-license?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-spreadsheet).
|
|
11
|
+
> - To receive a license key, you need to either [purchase a license](https://www.telerik.com/purchase/kendo-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-spreadsheet) or register for a [free trial](https://www.telerik.com/download-login-v2-kendo-angular-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-spreadsheet). Doing so indicates that you [accept the Kendo UI for Angular License Agreement](https://www.telerik.com/purchase/license-agreement/kendo-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-spreadsheet).
|
|
12
|
+
> - The 30-day free trial gives you access to all the Kendo UI for Angular components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the Kendo UI for Angular dev team!
|
|
13
|
+
>
|
|
14
|
+
> [Start using Kendo UI for Angular](https://www.telerik.com/download-login-v2-kendo-angular-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-spreadsheet) and speed up your development process!
|
|
15
|
+
|
|
16
|
+
## Resources
|
|
17
|
+
|
|
18
|
+
- [Get Started with Kendo UI for Angular (requires trial registration)](https://www.telerik.com/kendo-angular-ui/getting-started)
|
|
19
|
+
- [Demos, documentation, and component reference](https://www.telerik.com/kendo-angular-ui/components)
|
|
20
|
+
- [Blogs](http://www.telerik.com/blogs/kendo-ui)
|
|
21
|
+
- [Kendo UI for Angular pricing and licensing](https://www.telerik.com/purchase/kendo-ui)
|
|
22
|
+
|
|
23
|
+
## Questions and Feedback
|
|
24
|
+
|
|
25
|
+
- [Official Forums](https://www.telerik.com/forums/kendo-angular-ui)
|
|
26
|
+
- [GitHub Issues](https://github.com/telerik/kendo-angular/issues)
|
|
27
|
+
- [Feedback Portal](https://feedback.telerik.com/kendo-angular-ui)
|
|
28
|
+
- [StackOverflow](https://stackoverflow.com/questions/tagged/kendo-ui-angular2)
|
|
29
|
+
|
|
30
|
+
_Copyright © 2023 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved._
|
|
31
|
+
|
|
32
|
+
_Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries._
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ElementRef } from '@angular/core';
|
|
6
|
+
import { FormulaListComponent } from './list.component';
|
|
7
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
8
|
+
import { SpreadsheetService } from '../common/spreadsheet.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
*/
|
|
13
|
+
export declare class FormulaInputDirective {
|
|
14
|
+
element: ElementRef;
|
|
15
|
+
private popupService;
|
|
16
|
+
private spreadsheetService;
|
|
17
|
+
hostClasses: boolean;
|
|
18
|
+
ariaHasPopup: string;
|
|
19
|
+
ariaExpanded: any;
|
|
20
|
+
get ariaControls(): string;
|
|
21
|
+
list: FormulaListComponent;
|
|
22
|
+
data: any[];
|
|
23
|
+
constructor(element: ElementRef, popupService: PopupService, spreadsheetService: SpreadsheetService);
|
|
24
|
+
private popupRef;
|
|
25
|
+
private handler;
|
|
26
|
+
private get listElement();
|
|
27
|
+
get current(): any;
|
|
28
|
+
private focusedItem;
|
|
29
|
+
private unfocus;
|
|
30
|
+
private focusNext;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormulaInputDirective, never>;
|
|
32
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormulaInputDirective, "[kendoSpreadsheetFormulaInput]", never, {}, {}, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ElementRef } from '@angular/core';
|
|
6
|
+
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
7
|
+
import { SpreadsheetService } from '../common/spreadsheet.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare class FormulaListComponent {
|
|
13
|
+
element: ElementRef;
|
|
14
|
+
private spreadsheetService;
|
|
15
|
+
id: string;
|
|
16
|
+
data: any[];
|
|
17
|
+
itemClick: (value: any) => void;
|
|
18
|
+
formulaFxIcon: SVGIcon;
|
|
19
|
+
constructor(element: ElementRef, spreadsheetService: SpreadsheetService);
|
|
20
|
+
handleMouseDown: (ev: MouseEvent) => void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FormulaListComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormulaListComponent, "kendo-spreadsheet-formula-list", never, { "data": "data"; "itemClick": "itemClick"; }, {}, never, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ElementRef, NgZone } from '@angular/core';
|
|
6
|
+
import { SpreadsheetWidget } from '@progress/kendo-spreadsheet-common';
|
|
7
|
+
import { Observable } from 'rxjs';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export declare class NameBoxComponent {
|
|
13
|
+
private ngZone;
|
|
14
|
+
private host;
|
|
15
|
+
hostClass: boolean;
|
|
16
|
+
keyDownHandler(): void;
|
|
17
|
+
private combobox;
|
|
18
|
+
data: any[];
|
|
19
|
+
spreadsheetWidget: SpreadsheetWidget;
|
|
20
|
+
constructor(ngZone: NgZone, host: ElementRef);
|
|
21
|
+
value: any;
|
|
22
|
+
get current(): any;
|
|
23
|
+
onSelectionChange(value: any): void;
|
|
24
|
+
onOpen(): void;
|
|
25
|
+
valueNormalizer: (text: Observable<string>) => Observable<{
|
|
26
|
+
name: string;
|
|
27
|
+
}>;
|
|
28
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NameBoxComponent, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NameBoxComponent, "[kendoSpreadsheetNameBox]", never, { "data": "data"; "spreadsheetWidget": "spreadsheetWidget"; }, {}, never, never>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { AfterViewInit, ElementRef, Renderer2 } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export declare class MainMenuDirective implements AfterViewInit {
|
|
11
|
+
private host;
|
|
12
|
+
private renderer;
|
|
13
|
+
constructor(host: ElementRef, renderer: Renderer2);
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MainMenuDirective, never>;
|
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MainMenuDirective, "[kendoSpreadsheetMenu]", never, {}, {}, never>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Sheet } from "@progress/kendo-spreadsheet-common";
|
|
6
|
+
import { SheetInfo } from "../models";
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
*/
|
|
10
|
+
export interface SheetsChanges {
|
|
11
|
+
/**
|
|
12
|
+
* The current Spreadsheet sheets collection.
|
|
13
|
+
*/
|
|
14
|
+
sheets: Sheet[];
|
|
15
|
+
/**
|
|
16
|
+
* The type of the change action. The built-in types are `add`, `rename`, `delete`, `reorder`, `hide`.
|
|
17
|
+
*/
|
|
18
|
+
actionType: string;
|
|
19
|
+
/**
|
|
20
|
+
* The updated Spreadsheet sheet.
|
|
21
|
+
*/
|
|
22
|
+
sheet?: SheetInfo;
|
|
23
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ViewContainerRef } from '@angular/core';
|
|
6
|
+
import { Sheet, SpreadsheetWidget } from '@progress/kendo-spreadsheet-common';
|
|
7
|
+
import { Subject } from 'rxjs';
|
|
8
|
+
import { SheetsChanges } from './sheet-changes';
|
|
9
|
+
import { SheetInfo } from '../models';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export declare class SpreadsheetService {
|
|
15
|
+
spreadsheet: SpreadsheetWidget;
|
|
16
|
+
sheetsChanged: Subject<SheetsChanges>;
|
|
17
|
+
activeSheetChanged: Subject<Sheet>;
|
|
18
|
+
dialogContainer: ViewContainerRef;
|
|
19
|
+
constructor();
|
|
20
|
+
set currentActiveSheet(value: string);
|
|
21
|
+
get currentActiveSheet(): string;
|
|
22
|
+
get activeSheet(): string;
|
|
23
|
+
get formulaListId(): string;
|
|
24
|
+
private _currentActiveSheet;
|
|
25
|
+
notifySheetsChange(actionType: string, sheetInfo?: SheetInfo): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpreadsheetService, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SpreadsheetService>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Directive, ElementRef, HostBinding } from '@angular/core';
|
|
6
|
+
import { FormulaListComponent } from './list.component';
|
|
7
|
+
import { PopupService } from '@progress/kendo-angular-popup';
|
|
8
|
+
import { SpreadsheetService } from '../common/spreadsheet.service';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@progress/kendo-angular-popup";
|
|
11
|
+
import * as i2 from "../common/spreadsheet.service";
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
*/
|
|
15
|
+
export class FormulaInputDirective {
|
|
16
|
+
constructor(element, popupService, spreadsheetService) {
|
|
17
|
+
this.element = element;
|
|
18
|
+
this.popupService = popupService;
|
|
19
|
+
this.spreadsheetService = spreadsheetService;
|
|
20
|
+
this.hostClasses = true;
|
|
21
|
+
this.ariaHasPopup = 'menu';
|
|
22
|
+
this.ariaExpanded = null;
|
|
23
|
+
this.focusedItem = () => this.list?.element.nativeElement.querySelector('.k-focus');
|
|
24
|
+
this.unfocus = () => {
|
|
25
|
+
const focused = this.focusedItem();
|
|
26
|
+
if (focused) {
|
|
27
|
+
focused.classList.remove('k-focus');
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
this.focusNext = (dir) => {
|
|
31
|
+
const element = this.list?.element.nativeElement.firstElementChild;
|
|
32
|
+
const items = Array.from((element && element.children) || []);
|
|
33
|
+
const focused = this.focusedItem();
|
|
34
|
+
let next;
|
|
35
|
+
if (focused) {
|
|
36
|
+
const index = items.indexOf(focused);
|
|
37
|
+
focused.classList.remove('k-focus');
|
|
38
|
+
next = items[index + dir] ? items[index + dir] : (dir === 1 ? items[0] : items[items.length - 1]);
|
|
39
|
+
}
|
|
40
|
+
else {
|
|
41
|
+
next = (dir === 1 ? items[0] : items[items.length - 1]);
|
|
42
|
+
}
|
|
43
|
+
if (next) {
|
|
44
|
+
next.classList.add('k-focus');
|
|
45
|
+
}
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
get ariaControls() {
|
|
49
|
+
return this.ariaExpanded ? this.spreadsheetService.formulaListId : null;
|
|
50
|
+
}
|
|
51
|
+
get listElement() {
|
|
52
|
+
return this.list?.element.nativeElement.firstElementChild;
|
|
53
|
+
}
|
|
54
|
+
get current() {
|
|
55
|
+
return {
|
|
56
|
+
element: this.element.nativeElement,
|
|
57
|
+
list: {
|
|
58
|
+
element: this.list?.element.nativeElement,
|
|
59
|
+
data: (d) => {
|
|
60
|
+
if (d) {
|
|
61
|
+
this.data = d;
|
|
62
|
+
this.list && (this.list.data = d);
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
return this.data;
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
itemClick: (handler) => {
|
|
69
|
+
this.handler = handler;
|
|
70
|
+
},
|
|
71
|
+
value: () => { return {}; },
|
|
72
|
+
focus: () => {
|
|
73
|
+
const items = Array.from(this.listElement?.children || []);
|
|
74
|
+
return items.indexOf(this.focusedItem());
|
|
75
|
+
},
|
|
76
|
+
focusNext: () => this.focusNext(1),
|
|
77
|
+
focusPrev: () => this.focusNext(-1),
|
|
78
|
+
focusFirst: () => {
|
|
79
|
+
const list = this.listElement;
|
|
80
|
+
if (list && list.children.item(0)) {
|
|
81
|
+
this.unfocus();
|
|
82
|
+
list.children.item(0).classList.add('k-focus');
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
focusLast: () => {
|
|
86
|
+
const list = this.listElement;
|
|
87
|
+
if (list && list.children.length) {
|
|
88
|
+
this.unfocus();
|
|
89
|
+
list.children.item(list.children.length - 1).classList.add('k-focus');
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
popup: {
|
|
94
|
+
open: () => {
|
|
95
|
+
this.popupRef && this.popupRef.close();
|
|
96
|
+
this.popupRef = null;
|
|
97
|
+
this.popupRef = this.popupService.open({
|
|
98
|
+
anchor: this.element,
|
|
99
|
+
content: FormulaListComponent,
|
|
100
|
+
animate: { direction: 'down', duration: 100 }
|
|
101
|
+
});
|
|
102
|
+
const list = this.popupRef.content.instance;
|
|
103
|
+
this.list = list;
|
|
104
|
+
list.data = this.data;
|
|
105
|
+
list.itemClick = this.handler;
|
|
106
|
+
this.ariaExpanded = true;
|
|
107
|
+
},
|
|
108
|
+
close: () => {
|
|
109
|
+
this.popupRef && this.popupRef.close();
|
|
110
|
+
this.popupRef = null;
|
|
111
|
+
this.ariaExpanded = null;
|
|
112
|
+
},
|
|
113
|
+
position: () => {
|
|
114
|
+
// contentKey++;
|
|
115
|
+
},
|
|
116
|
+
visible: () => {
|
|
117
|
+
return this.popupRef;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
FormulaInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormulaInputDirective, deps: [{ token: i0.ElementRef }, { token: i1.PopupService }, { token: i2.SpreadsheetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
124
|
+
FormulaInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: FormulaInputDirective, selector: "[kendoSpreadsheetFormulaInput]", host: { properties: { "class.k-spreadsheet-formula-input": "this.hostClasses", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-controls": "this.ariaControls" } }, ngImport: i0 });
|
|
125
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormulaInputDirective, decorators: [{
|
|
126
|
+
type: Directive,
|
|
127
|
+
args: [{
|
|
128
|
+
selector: '[kendoSpreadsheetFormulaInput]',
|
|
129
|
+
}]
|
|
130
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.PopupService }, { type: i2.SpreadsheetService }]; }, propDecorators: { hostClasses: [{
|
|
131
|
+
type: HostBinding,
|
|
132
|
+
args: ['class.k-spreadsheet-formula-input']
|
|
133
|
+
}], ariaHasPopup: [{
|
|
134
|
+
type: HostBinding,
|
|
135
|
+
args: ['attr.aria-haspopup']
|
|
136
|
+
}], ariaExpanded: [{
|
|
137
|
+
type: HostBinding,
|
|
138
|
+
args: ['attr.aria-expanded']
|
|
139
|
+
}], ariaControls: [{
|
|
140
|
+
type: HostBinding,
|
|
141
|
+
args: ['attr.aria-controls']
|
|
142
|
+
}] } });
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Component, ElementRef, HostBinding, Input } from '@angular/core';
|
|
6
|
+
import { formulaFxIcon } from '@progress/kendo-svg-icons';
|
|
7
|
+
import { SpreadsheetService } from '../common/spreadsheet.service';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "../common/spreadsheet.service";
|
|
10
|
+
import * as i2 from "@progress/kendo-angular-icons";
|
|
11
|
+
import * as i3 from "@progress/kendo-angular-common";
|
|
12
|
+
import * as i4 from "@angular/common";
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
*/
|
|
16
|
+
export class FormulaListComponent {
|
|
17
|
+
constructor(element, spreadsheetService) {
|
|
18
|
+
this.element = element;
|
|
19
|
+
this.spreadsheetService = spreadsheetService;
|
|
20
|
+
this.id = this.spreadsheetService.formulaListId;
|
|
21
|
+
this.data = [];
|
|
22
|
+
this.formulaFxIcon = formulaFxIcon;
|
|
23
|
+
this.handleMouseDown = (ev) => {
|
|
24
|
+
ev.preventDefault();
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
FormulaListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormulaListComponent, deps: [{ token: i0.ElementRef }, { token: i1.SpreadsheetService }], target: i0.ɵɵFactoryTarget.Component });
|
|
29
|
+
FormulaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: FormulaListComponent, selector: "kendo-spreadsheet-formula-list", inputs: { data: "data", itemClick: "itemClick" }, host: { properties: { "attr.id": "this.id" } }, ngImport: i0, template: `
|
|
30
|
+
<ul #ulRef
|
|
31
|
+
class="k-spreadsheet-formula-list k-list-ul k-list-md k-group k-reset"
|
|
32
|
+
role="menu"
|
|
33
|
+
[kendoEventsOutsideAngular]="{mousedown: handleMouseDown}">
|
|
34
|
+
<li *ngFor="let item of data"
|
|
35
|
+
(click)="itemClick(item.text)"
|
|
36
|
+
class="k-list-item"
|
|
37
|
+
role="menuitem">
|
|
38
|
+
<kendo-icon-wrapper
|
|
39
|
+
[svgIcon]="formulaFxIcon"
|
|
40
|
+
name="formula-fx"
|
|
41
|
+
></kendo-icon-wrapper>
|
|
42
|
+
<span className="k-list-item-text">{{item.text}}</span>
|
|
43
|
+
</li>
|
|
44
|
+
</ul>
|
|
45
|
+
`, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3.EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
|
|
46
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: FormulaListComponent, decorators: [{
|
|
47
|
+
type: Component,
|
|
48
|
+
args: [{
|
|
49
|
+
selector: 'kendo-spreadsheet-formula-list',
|
|
50
|
+
template: `
|
|
51
|
+
<ul #ulRef
|
|
52
|
+
class="k-spreadsheet-formula-list k-list-ul k-list-md k-group k-reset"
|
|
53
|
+
role="menu"
|
|
54
|
+
[kendoEventsOutsideAngular]="{mousedown: handleMouseDown}">
|
|
55
|
+
<li *ngFor="let item of data"
|
|
56
|
+
(click)="itemClick(item.text)"
|
|
57
|
+
class="k-list-item"
|
|
58
|
+
role="menuitem">
|
|
59
|
+
<kendo-icon-wrapper
|
|
60
|
+
[svgIcon]="formulaFxIcon"
|
|
61
|
+
name="formula-fx"
|
|
62
|
+
></kendo-icon-wrapper>
|
|
63
|
+
<span className="k-list-item-text">{{item.text}}</span>
|
|
64
|
+
</li>
|
|
65
|
+
</ul>
|
|
66
|
+
`
|
|
67
|
+
}]
|
|
68
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.SpreadsheetService }]; }, propDecorators: { id: [{
|
|
69
|
+
type: HostBinding,
|
|
70
|
+
args: ['attr.id']
|
|
71
|
+
}], data: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}], itemClick: [{
|
|
74
|
+
type: Input
|
|
75
|
+
}] } });
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ComboBoxComponent } from '@progress/kendo-angular-dropdowns';
|
|
6
|
+
import { Component, ElementRef, HostBinding, HostListener, Input, NgZone, ViewChild } from '@angular/core';
|
|
7
|
+
import { SpreadsheetWidget } from '@progress/kendo-spreadsheet-common';
|
|
8
|
+
import { map } from 'rxjs/operators';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
import * as i1 from "@progress/kendo-angular-dropdowns";
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
export class NameBoxComponent {
|
|
15
|
+
constructor(ngZone, host) {
|
|
16
|
+
this.ngZone = ngZone;
|
|
17
|
+
this.host = host;
|
|
18
|
+
this.hostClass = true;
|
|
19
|
+
this.valueNormalizer = (text) => text.pipe(map((content) => ({ name: content })));
|
|
20
|
+
}
|
|
21
|
+
keyDownHandler() {
|
|
22
|
+
const editor = this.spreadsheetWidget.view.nameEditor;
|
|
23
|
+
if (editor) {
|
|
24
|
+
const name = this.host.nativeElement.querySelector('.k-input-inner').value;
|
|
25
|
+
editor.trigger('enter', { value: name });
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
get current() {
|
|
29
|
+
return {
|
|
30
|
+
value: (val) => {
|
|
31
|
+
if (val === undefined) {
|
|
32
|
+
const item = this.combobox && this.combobox.value;
|
|
33
|
+
return item ? (item.name || item) : item;
|
|
34
|
+
}
|
|
35
|
+
else {
|
|
36
|
+
this.ngZone.run(() => {
|
|
37
|
+
this.value = { name: val } || null;
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
onSelectionChange(value) {
|
|
44
|
+
const editor = this.spreadsheetWidget.view.nameEditor;
|
|
45
|
+
if (editor && value) {
|
|
46
|
+
const name = value.name;
|
|
47
|
+
if (name !== this.value.name) {
|
|
48
|
+
editor.trigger('select', { name });
|
|
49
|
+
this.value = { name };
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
onOpen() {
|
|
54
|
+
const editor = this.spreadsheetWidget.view.nameEditor;
|
|
55
|
+
if (editor) {
|
|
56
|
+
this.data = editor.readData();
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
;
|
|
60
|
+
}
|
|
61
|
+
NameBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NameBoxComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
62
|
+
NameBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: NameBoxComponent, selector: "[kendoSpreadsheetNameBox]", inputs: { data: "data", spreadsheetWidget: "spreadsheetWidget" }, host: { listeners: { "keydown.enter": "keyDownHandler()" }, properties: { "class.k-spreadsheet-name-editor": "this.hostClass" } }, viewQueries: [{ propertyName: "combobox", first: true, predicate: ["combobox"], descendants: true }], ngImport: i0, template: `
|
|
63
|
+
<kendo-combobox #combobox
|
|
64
|
+
[popupSettings]="{popupClass: 'k-spreadsheet-names-popup'}"
|
|
65
|
+
fillMode="flat"
|
|
66
|
+
[clearButton]="false"
|
|
67
|
+
textField="name"
|
|
68
|
+
valueField="name"
|
|
69
|
+
[data]="data"
|
|
70
|
+
[allowCustom]="true"
|
|
71
|
+
(selectionChange)="onSelectionChange($event)"
|
|
72
|
+
[value]="value"
|
|
73
|
+
(open)="onOpen()"
|
|
74
|
+
[valueNormalizer]="valueNormalizer"
|
|
75
|
+
></kendo-combobox>
|
|
76
|
+
`, isInline: true, components: [{ type: i1.ComboBoxComponent, selector: "kendo-combobox", inputs: ["showStickyHeader", "focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "iconClass", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoComboBox"] }] });
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: NameBoxComponent, decorators: [{
|
|
78
|
+
type: Component,
|
|
79
|
+
args: [{
|
|
80
|
+
selector: '[kendoSpreadsheetNameBox]',
|
|
81
|
+
template: `
|
|
82
|
+
<kendo-combobox #combobox
|
|
83
|
+
[popupSettings]="{popupClass: 'k-spreadsheet-names-popup'}"
|
|
84
|
+
fillMode="flat"
|
|
85
|
+
[clearButton]="false"
|
|
86
|
+
textField="name"
|
|
87
|
+
valueField="name"
|
|
88
|
+
[data]="data"
|
|
89
|
+
[allowCustom]="true"
|
|
90
|
+
(selectionChange)="onSelectionChange($event)"
|
|
91
|
+
[value]="value"
|
|
92
|
+
(open)="onOpen()"
|
|
93
|
+
[valueNormalizer]="valueNormalizer"
|
|
94
|
+
></kendo-combobox>
|
|
95
|
+
`
|
|
96
|
+
}]
|
|
97
|
+
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }]; }, propDecorators: { hostClass: [{
|
|
98
|
+
type: HostBinding,
|
|
99
|
+
args: ['class.k-spreadsheet-name-editor']
|
|
100
|
+
}], keyDownHandler: [{
|
|
101
|
+
type: HostListener,
|
|
102
|
+
args: ['keydown.enter']
|
|
103
|
+
}], combobox: [{
|
|
104
|
+
type: ViewChild,
|
|
105
|
+
args: ['combobox']
|
|
106
|
+
}], data: [{
|
|
107
|
+
type: Input
|
|
108
|
+
}], spreadsheetWidget: [{
|
|
109
|
+
type: Input
|
|
110
|
+
}] } });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Directive, ElementRef, Renderer2 } from '@angular/core';
|
|
6
|
+
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
*/
|
|
11
|
+
export class MainMenuDirective {
|
|
12
|
+
constructor(host, renderer) {
|
|
13
|
+
this.host = host;
|
|
14
|
+
this.renderer = renderer;
|
|
15
|
+
}
|
|
16
|
+
ngAfterViewInit() {
|
|
17
|
+
isDocumentAvailable() && this.renderer.addClass(this.host.nativeElement.firstElementChild, 'k-spreadsheet-menu');
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
MainMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MainMenuDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
21
|
+
MainMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: MainMenuDirective, selector: "[kendoSpreadsheetMenu]", ngImport: i0 });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: MainMenuDirective, decorators: [{
|
|
23
|
+
type: Directive,
|
|
24
|
+
args: [{ selector: '[kendoSpreadsheetMenu]' }]
|
|
25
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; } });
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export {};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { Injectable } from '@angular/core';
|
|
6
|
+
import { Subject } from 'rxjs';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
let spreadsheetCounter = 0;
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
*/
|
|
12
|
+
export class SpreadsheetService {
|
|
13
|
+
constructor() {
|
|
14
|
+
this.sheetsChanged = new Subject();
|
|
15
|
+
this.activeSheetChanged = new Subject();
|
|
16
|
+
spreadsheetCounter++;
|
|
17
|
+
}
|
|
18
|
+
set currentActiveSheet(value) {
|
|
19
|
+
this._currentActiveSheet = value;
|
|
20
|
+
}
|
|
21
|
+
get currentActiveSheet() {
|
|
22
|
+
return this._currentActiveSheet;
|
|
23
|
+
}
|
|
24
|
+
get activeSheet() {
|
|
25
|
+
return this.spreadsheet.activeSheet()?.name();
|
|
26
|
+
}
|
|
27
|
+
get formulaListId() {
|
|
28
|
+
return `k-spreadsheet-${spreadsheetCounter}-formula-list`;
|
|
29
|
+
}
|
|
30
|
+
notifySheetsChange(actionType, sheetInfo) {
|
|
31
|
+
const sheets = this.spreadsheet.sheets();
|
|
32
|
+
this.sheetsChanged.next({ sheets, sheet: sheetInfo, actionType });
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
SpreadsheetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SpreadsheetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
36
|
+
SpreadsheetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SpreadsheetService, providedIn: 'root' });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SpreadsheetService, decorators: [{
|
|
38
|
+
type: Injectable,
|
|
39
|
+
args: [{
|
|
40
|
+
providedIn: 'root'
|
|
41
|
+
}]
|
|
42
|
+
}], ctorParameters: function () { return []; } });
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright © 2023 Progress Software Corporation. All rights reserved.
|
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
|
5
|
+
export { SpreadsheetComponent } from './spreadsheet.component';
|
|
6
|
+
export { SpreadsheetModule } from './spreadsheet.module';
|
|
7
|
+
export { FormulaListComponent } from './action-bar/list.component';
|
|
8
|
+
export { FormulaInputDirective } from './action-bar/formula-input.directive';
|
|
9
|
+
export { NameBoxComponent } from './action-bar/namebox.component';
|
|
10
|
+
export { SheetsBarComponent } from './sheets-bar/sheets-bar.component';
|
|
11
|
+
export * from './tools';
|
|
12
|
+
export { CustomMessagesComponent } from './localization/custom-messages.component';
|