@progress/kendo-angular-spreadsheet 16.5.0 → 16.6.0-develop.2
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/action-bar/formula-input.directive.d.ts +1 -1
- package/action-bar/list.component.d.ts +1 -1
- package/action-bar/namebox.component.d.ts +2 -2
- package/common/main-menu.directive.d.ts +1 -1
- package/directives.d.ts +39 -0
- package/esm2020/action-bar/formula-input.directive.mjs +2 -1
- package/esm2020/action-bar/list.component.mjs +8 -6
- package/esm2020/action-bar/namebox.component.mjs +7 -6
- package/esm2020/common/main-menu.directive.mjs +5 -2
- package/esm2020/directives.mjs +71 -0
- package/esm2020/localization/custom-messages.component.mjs +3 -2
- package/esm2020/localization/localized-messages.directive.mjs +3 -2
- package/esm2020/localization/messages.mjs +3 -2
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/sheets-bar/action-dialog.component.mjs +8 -6
- package/esm2020/sheets-bar/sheets-bar.component.mjs +12 -13
- package/esm2020/spreadsheet.component.mjs +46 -47
- package/esm2020/spreadsheet.module.mjs +42 -255
- package/esm2020/tools/align/align-tool.directive.mjs +2 -1
- package/esm2020/tools/align/horizontal-align-tool.directive.mjs +2 -1
- package/esm2020/tools/align/vertical-align-tool.directive.mjs +2 -1
- package/esm2020/tools/colorpicker/spreadsheet-backcolor.component.mjs +10 -8
- package/esm2020/tools/colorpicker/spreadsheet-forecolor.component.mjs +11 -9
- package/esm2020/tools/decrease-decimal-tool.directive.mjs +3 -2
- package/esm2020/tools/font-family/font-family-dropdownlist.component.mjs +7 -5
- package/esm2020/tools/font-family/spreadsheet-fontfamily-tool.component.mjs +11 -9
- package/esm2020/tools/font-size/decrease-font-tool.directive.mjs +3 -2
- package/esm2020/tools/font-size/font-size-dropdownlist.component.mjs +6 -4
- package/esm2020/tools/font-size/increase-font-tool.directive.mjs +3 -2
- package/esm2020/tools/font-size/spreadsheet-fontsize-tool.component.mjs +11 -9
- package/esm2020/tools/format-tool.directive.mjs +2 -1
- package/esm2020/tools/gridlines-tool.directive.mjs +3 -2
- package/esm2020/tools/history/redo-tool.mjs +3 -2
- package/esm2020/tools/history/undo-tool.mjs +3 -2
- package/esm2020/tools/increase-decimal-tool.directive.mjs +3 -2
- package/esm2020/tools/insert/insert-link-dialog.component.mjs +7 -5
- package/esm2020/tools/insert/insert-link-tool.directive.mjs +3 -2
- package/esm2020/tools/load-file.component.mjs +9 -8
- package/esm2020/tools/save-file-tool.directive.mjs +5 -2
- package/esm2020/tools/shared/dialog-content.component.mjs +9 -7
- package/esm2020/tools/tables/add-column-left-button.directive.mjs +3 -2
- package/esm2020/tools/tables/add-column-right-button.directive.mjs +3 -2
- package/esm2020/tools/tables/add-row-above-button.directive.mjs +3 -2
- package/esm2020/tools/tables/add-row-below-button.directive.mjs +3 -2
- package/esm2020/tools/tables/delete-column-button.directive.mjs +3 -2
- package/esm2020/tools/tables/delete-row-button.directive.mjs +3 -2
- package/esm2020/tools/tables/merge-tool.directive.mjs +2 -1
- package/esm2020/tools/text-wrap-tool.directive.mjs +3 -2
- package/esm2020/tools/typographical-emphasis/bold-tool.directive.mjs +3 -2
- package/esm2020/tools/typographical-emphasis/italic-tool.directive.mjs +3 -2
- package/esm2020/tools/typographical-emphasis/underline-tool.directive.mjs +3 -2
- package/fesm2015/progress-kendo-angular-spreadsheet.mjs +1445 -1549
- package/fesm2020/progress-kendo-angular-spreadsheet.mjs +1445 -1549
- package/localization/custom-messages.component.d.ts +1 -1
- package/localization/localized-messages.directive.d.ts +1 -1
- package/localization/messages.d.ts +1 -1
- package/package.json +15 -15
- package/schematics/ngAdd/index.js +2 -2
- package/sheets-bar/action-dialog.component.d.ts +1 -1
- package/sheets-bar/sheets-bar.component.d.ts +5 -5
- package/spreadsheet.component.d.ts +4 -4
- package/spreadsheet.module.d.ts +31 -56
- package/tools/align/align-tool.directive.d.ts +1 -1
- package/tools/align/horizontal-align-tool.directive.d.ts +1 -1
- package/tools/align/vertical-align-tool.directive.d.ts +1 -1
- package/tools/colorpicker/spreadsheet-backcolor.component.d.ts +1 -1
- package/tools/colorpicker/spreadsheet-forecolor.component.d.ts +2 -2
- package/tools/decrease-decimal-tool.directive.d.ts +1 -1
- package/tools/font-family/font-family-dropdownlist.component.d.ts +1 -1
- package/tools/font-family/spreadsheet-fontfamily-tool.component.d.ts +2 -2
- package/tools/font-size/decrease-font-tool.directive.d.ts +1 -1
- package/tools/font-size/font-size-dropdownlist.component.d.ts +1 -1
- package/tools/font-size/increase-font-tool.directive.d.ts +1 -1
- package/tools/font-size/spreadsheet-fontsize-tool.component.d.ts +2 -2
- package/tools/format-tool.directive.d.ts +1 -1
- package/tools/gridlines-tool.directive.d.ts +1 -1
- package/tools/history/redo-tool.d.ts +1 -1
- package/tools/history/undo-tool.d.ts +1 -1
- package/tools/increase-decimal-tool.directive.d.ts +1 -1
- package/tools/insert/insert-link-dialog.component.d.ts +1 -1
- package/tools/insert/insert-link-tool.directive.d.ts +1 -1
- package/tools/load-file.component.d.ts +2 -2
- package/tools/save-file-tool.directive.d.ts +1 -1
- package/tools/shared/dialog-content.component.d.ts +1 -1
- package/tools/tables/add-column-left-button.directive.d.ts +1 -1
- package/tools/tables/add-column-right-button.directive.d.ts +1 -1
- package/tools/tables/add-row-above-button.directive.d.ts +1 -1
- package/tools/tables/add-row-below-button.directive.d.ts +1 -1
- package/tools/tables/delete-column-button.directive.d.ts +1 -1
- package/tools/tables/delete-row-button.directive.d.ts +1 -1
- package/tools/tables/merge-tool.directive.d.ts +1 -1
- package/tools/text-wrap-tool.directive.d.ts +1 -1
- package/tools/typographical-emphasis/bold-tool.directive.d.ts +1 -1
- package/tools/typographical-emphasis/italic-tool.directive.d.ts +1 -1
- package/tools/typographical-emphasis/underline-tool.directive.d.ts +1 -1
@@ -34,5 +34,5 @@ export declare class FormulaInputDirective {
|
|
34
34
|
private unfocus;
|
35
35
|
private focusNext;
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormulaInputDirective, never>;
|
37
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<FormulaInputDirective, "[kendoSpreadsheetFormulaInput]", never, { "formulaListMaxHeight": "formulaListMaxHeight"; }, {}, never, never,
|
37
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<FormulaInputDirective, "[kendoSpreadsheetFormulaInput]", never, { "formulaListMaxHeight": "formulaListMaxHeight"; }, {}, never, never, true, never>;
|
38
38
|
}
|
@@ -20,5 +20,5 @@ export declare class FormulaListComponent {
|
|
20
20
|
constructor(element: ElementRef, spreadsheetService: SpreadsheetService);
|
21
21
|
handleMouseDown: (ev: MouseEvent) => void;
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormulaListComponent, never>;
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormulaListComponent, "kendo-spreadsheet-formula-list", never, { "maxHeight": "maxHeight"; "data": "data"; "itemClick": "itemClick"; }, {}, never, never,
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormulaListComponent, "kendo-spreadsheet-formula-list", never, { "maxHeight": "maxHeight"; "data": "data"; "itemClick": "itemClick"; }, {}, never, never, true, never>;
|
24
24
|
}
|
@@ -3,8 +3,8 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { AfterViewInit, ElementRef, NgZone, Renderer2 } from '@angular/core';
|
6
|
-
import { SpreadsheetWidget } from '@progress/kendo-spreadsheet-common';
|
7
6
|
import { Observable } from 'rxjs';
|
7
|
+
import { SpreadsheetWidget } from '@progress/kendo-spreadsheet-common';
|
8
8
|
import { SpreadsheetLocalizationService } from '../localization/spreadsheet-localization.service';
|
9
9
|
import * as i0 from "@angular/core";
|
10
10
|
/**
|
@@ -32,5 +32,5 @@ export declare class NameBoxComponent implements AfterViewInit {
|
|
32
32
|
name: string;
|
33
33
|
}>;
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<NameBoxComponent, never>;
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NameBoxComponent, "[kendoSpreadsheetNameBox]", never, { "data": "data"; "spreadsheetWidget": "spreadsheetWidget"; }, {}, never, never,
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NameBoxComponent, "[kendoSpreadsheetNameBox]", never, { "data": "data"; "spreadsheetWidget": "spreadsheetWidget"; }, {}, never, never, true, never>;
|
36
36
|
}
|
@@ -13,5 +13,5 @@ export declare class MainMenuDirective implements AfterViewInit {
|
|
13
13
|
constructor(host: ElementRef, renderer: Renderer2);
|
14
14
|
ngAfterViewInit(): void;
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<MainMenuDirective, never>;
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MainMenuDirective, "[kendoSpreadsheetMenu]", never, {}, {}, never, never,
|
16
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MainMenuDirective, "[kendoSpreadsheetMenu]", never, {}, {}, never, never, true, never>;
|
17
17
|
}
|
package/directives.d.ts
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
5
|
+
import { SpreadsheetComponent } from './spreadsheet.component';
|
6
|
+
import { SpreadsheetBoldDirective } from './tools/typographical-emphasis/bold-tool.directive';
|
7
|
+
import { SpreadsheetItalicDirective } from './tools/typographical-emphasis/italic-tool.directive';
|
8
|
+
import { SpreadsheetUndoDirective } from './tools/history/undo-tool';
|
9
|
+
import { SpreadsheetRedoDirective } from './tools/history/redo-tool';
|
10
|
+
import { SpreadsheetUnderlineDirective } from './tools/typographical-emphasis/underline-tool.directive';
|
11
|
+
import { SpreadsheetLoadFileComponent } from './tools/load-file.component';
|
12
|
+
import { SpreadsheetSaveFileDirective } from './tools/save-file-tool.directive';
|
13
|
+
import { CustomMessagesComponent } from './localization/custom-messages.component';
|
14
|
+
import { SpreadsheetFormatDirective } from './tools/format-tool.directive';
|
15
|
+
import { SpreadsheetFontFamilyComponent } from './tools/font-family/spreadsheet-fontfamily-tool.component';
|
16
|
+
import { SpreadsheetFontSizeComponent } from './tools/font-size/spreadsheet-fontsize-tool.component';
|
17
|
+
import { SpreadsheetBackColorComponent } from './tools/colorpicker/spreadsheet-backcolor.component';
|
18
|
+
import { SpreadsheetForeColorComponent } from './tools/colorpicker/spreadsheet-forecolor.component';
|
19
|
+
import { SpreadsheetGridLinesDirective } from './tools/gridlines-tool.directive';
|
20
|
+
import { SpreadsheetAddColumnLeftButtonDirective } from './tools/tables/add-column-left-button.directive';
|
21
|
+
import { SpreadsheetAddColumnRightButtonDirective } from './tools/tables/add-column-right-button.directive';
|
22
|
+
import { SpreadsheetAddRowAboveButtonDirective } from './tools/tables/add-row-above-button.directive';
|
23
|
+
import { SpreadsheetAddRowBelowButtonDirective } from './tools/tables/add-row-below-button.directive';
|
24
|
+
import { SpreadsheetDeleteColumnButtonDirective } from './tools/tables/delete-column-button.directive';
|
25
|
+
import { SpreadsheetDeleteRowButtonDirective } from './tools/tables/delete-row-button.directive';
|
26
|
+
import { SpreadsheetTextAlignDirective } from './tools/align/align-tool.directive';
|
27
|
+
import { SpreadsheetTextWrapDirective } from './tools/text-wrap-tool.directive';
|
28
|
+
import { SpreadsheetMergeDirective } from './tools/tables/merge-tool.directive';
|
29
|
+
import { SpreadsheetInsertLinkDirective } from './tools/insert/insert-link-tool.directive';
|
30
|
+
import { SpreadsheetIncreaseFontSizeDirective } from './tools/font-size/increase-font-tool.directive';
|
31
|
+
import { SpreadsheetDecreaseFontSizeDirective } from './tools/font-size/decrease-font-tool.directive';
|
32
|
+
import { SpreadsheetIncreaseDecimalDirective } from './tools/increase-decimal-tool.directive';
|
33
|
+
import { SpreadsheetDecreaseDecimalDirective } from './tools/decrease-decimal-tool.directive';
|
34
|
+
import { SpreadsheetHorizontalTextAlignDirective } from './tools/align/horizontal-align-tool.directive';
|
35
|
+
import { SpreadsheetVerticalTextAlignDirective } from './tools/align/vertical-align-tool.directive';
|
36
|
+
/**
|
37
|
+
* Utility array that contains all `@progress/kendo-angular-spreadsheet` related components and directives.
|
38
|
+
*/
|
39
|
+
export declare const KENDO_SPREADSHEET: readonly [typeof SpreadsheetComponent, typeof CustomMessagesComponent, typeof SpreadsheetBoldDirective, typeof SpreadsheetItalicDirective, typeof SpreadsheetUnderlineDirective, typeof SpreadsheetLoadFileComponent, typeof SpreadsheetSaveFileDirective, typeof SpreadsheetFormatDirective, typeof SpreadsheetUndoDirective, typeof SpreadsheetRedoDirective, typeof SpreadsheetFontFamilyComponent, typeof SpreadsheetFontSizeComponent, typeof SpreadsheetBackColorComponent, typeof SpreadsheetForeColorComponent, typeof SpreadsheetGridLinesDirective, typeof SpreadsheetAddColumnLeftButtonDirective, typeof SpreadsheetAddColumnRightButtonDirective, typeof SpreadsheetAddRowAboveButtonDirective, typeof SpreadsheetAddRowBelowButtonDirective, typeof SpreadsheetDeleteColumnButtonDirective, typeof SpreadsheetDeleteRowButtonDirective, typeof SpreadsheetTextAlignDirective, typeof SpreadsheetTextWrapDirective, typeof SpreadsheetMergeDirective, typeof SpreadsheetInsertLinkDirective, typeof SpreadsheetIncreaseFontSizeDirective, typeof SpreadsheetDecreaseFontSizeDirective, typeof SpreadsheetIncreaseDecimalDirective, typeof SpreadsheetDecreaseDecimalDirective, typeof SpreadsheetHorizontalTextAlignDirective, typeof SpreadsheetVerticalTextAlignDirective];
|
@@ -146,11 +146,12 @@ export class FormulaInputDirective {
|
|
146
146
|
}
|
147
147
|
}
|
148
148
|
FormulaInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormulaInputDirective, deps: [{ token: i0.ElementRef }, { token: i1.PopupService }, { token: i2.SpreadsheetService }, { token: i3.SpreadsheetLocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
149
|
-
FormulaInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FormulaInputDirective, selector: "[kendoSpreadsheetFormulaInput]", inputs: { formulaListMaxHeight: "formulaListMaxHeight" }, host: { properties: { "class.k-spreadsheet-formula-input": "this.hostClasses", "attr.title": "this.title", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-controls": "this.ariaControls" } }, ngImport: i0 });
|
149
|
+
FormulaInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FormulaInputDirective, isStandalone: true, selector: "[kendoSpreadsheetFormulaInput]", inputs: { formulaListMaxHeight: "formulaListMaxHeight" }, host: { properties: { "class.k-spreadsheet-formula-input": "this.hostClasses", "attr.title": "this.title", "attr.role": "this.role", "attr.aria-haspopup": "this.ariaHasPopup", "attr.aria-expanded": "this.ariaExpanded", "attr.aria-controls": "this.ariaControls" } }, ngImport: i0 });
|
150
150
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormulaInputDirective, decorators: [{
|
151
151
|
type: Directive,
|
152
152
|
args: [{
|
153
153
|
selector: '[kendoSpreadsheetFormulaInput]',
|
154
|
+
standalone: true
|
154
155
|
}]
|
155
156
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.PopupService }, { type: i2.SpreadsheetService }, { type: i3.SpreadsheetLocalizationService }]; }, propDecorators: { hostClasses: [{
|
156
157
|
type: HostBinding,
|
@@ -3,13 +3,13 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { Component, ElementRef, HostBinding, Input } from '@angular/core';
|
6
|
+
import { NgFor } from '@angular/common';
|
6
7
|
import { formulaFxIcon } from '@progress/kendo-svg-icons';
|
8
|
+
import { IconWrapperComponent } from '@progress/kendo-angular-icons';
|
9
|
+
import { EventsOutsideAngularDirective } from '@progress/kendo-angular-common';
|
7
10
|
import { SpreadsheetService } from '../common/spreadsheet.service';
|
8
11
|
import * as i0 from "@angular/core";
|
9
12
|
import * as i1 from "../common/spreadsheet.service";
|
10
|
-
import * as i2 from "@angular/common";
|
11
|
-
import * as i3 from "@progress/kendo-angular-common";
|
12
|
-
import * as i4 from "@progress/kendo-angular-icons";
|
13
13
|
/**
|
14
14
|
* @hidden
|
15
15
|
*/
|
@@ -26,7 +26,7 @@ export class FormulaListComponent {
|
|
26
26
|
}
|
27
27
|
}
|
28
28
|
FormulaListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormulaListComponent, deps: [{ token: i0.ElementRef }, { token: i1.SpreadsheetService }], target: i0.ɵɵFactoryTarget.Component });
|
29
|
-
FormulaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FormulaListComponent, selector: "kendo-spreadsheet-formula-list", inputs: { maxHeight: "maxHeight", data: "data", itemClick: "itemClick" }, host: { properties: { "attr.id": "this.id" } }, ngImport: i0, template: `
|
29
|
+
FormulaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: FormulaListComponent, isStandalone: true, selector: "kendo-spreadsheet-formula-list", inputs: { maxHeight: "maxHeight", data: "data", itemClick: "itemClick" }, host: { properties: { "attr.id": "this.id" } }, ngImport: i0, template: `
|
30
30
|
<ul #ulRef
|
31
31
|
class="k-spreadsheet-formula-list k-list-ul k-list-md k-group k-reset"
|
32
32
|
role="menu"
|
@@ -44,7 +44,7 @@ FormulaListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
44
44
|
<span className="k-list-item-text">{{item.text}}</span>
|
45
45
|
</li>
|
46
46
|
</ul>
|
47
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
47
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
48
48
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FormulaListComponent, decorators: [{
|
49
49
|
type: Component,
|
50
50
|
args: [{
|
@@ -67,7 +67,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
67
67
|
<span className="k-list-item-text">{{item.text}}</span>
|
68
68
|
</li>
|
69
69
|
</ul>
|
70
|
-
|
70
|
+
`,
|
71
|
+
standalone: true,
|
72
|
+
imports: [EventsOutsideAngularDirective, NgFor, IconWrapperComponent]
|
71
73
|
}]
|
72
74
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.SpreadsheetService }]; }, propDecorators: { id: [{
|
73
75
|
type: HostBinding,
|
@@ -2,14 +2,13 @@
|
|
2
2
|
* Copyright © 2024 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 { ComboBoxComponent } from '@progress/kendo-angular-dropdowns';
|
6
5
|
import { Component, ElementRef, HostBinding, HostListener, Input, NgZone, Renderer2, ViewChild } from '@angular/core';
|
7
|
-
import { SpreadsheetWidget } from '@progress/kendo-spreadsheet-common';
|
8
6
|
import { map } from 'rxjs/operators';
|
7
|
+
import { ComboBoxComponent } from '@progress/kendo-angular-dropdowns';
|
8
|
+
import { SpreadsheetWidget } from '@progress/kendo-spreadsheet-common';
|
9
9
|
import { SpreadsheetLocalizationService } from '../localization/spreadsheet-localization.service';
|
10
10
|
import * as i0 from "@angular/core";
|
11
11
|
import * as i1 from "../localization/spreadsheet-localization.service";
|
12
|
-
import * as i2 from "@progress/kendo-angular-dropdowns";
|
13
12
|
/**
|
14
13
|
* @hidden
|
15
14
|
*/
|
@@ -72,7 +71,7 @@ export class NameBoxComponent {
|
|
72
71
|
}
|
73
72
|
}
|
74
73
|
NameBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NameBoxComponent, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: i1.SpreadsheetLocalizationService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
75
|
-
NameBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", 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: `
|
74
|
+
NameBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: NameBoxComponent, isStandalone: true, 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: `
|
76
75
|
<kendo-combobox #combobox
|
77
76
|
[popupSettings]="{popupClass: 'k-spreadsheet-names-popup'}"
|
78
77
|
fillMode="flat"
|
@@ -87,7 +86,7 @@ NameBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versi
|
|
87
86
|
[valueNormalizer]="valueNormalizer"
|
88
87
|
[attr.title]="title"
|
89
88
|
></kendo-combobox>
|
90
|
-
`, isInline: true, dependencies: [{ kind: "component", type:
|
89
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ComboBoxComponent, selector: "kendo-combobox", inputs: ["icon", "svgIcon", "inputAttributes", "showStickyHeader", "focusableId", "allowCustom", "data", "value", "textField", "valueField", "valuePrimitive", "valueNormalizer", "placeholder", "adaptiveMode", "title", "subtitle", "popupSettings", "listHeight", "loading", "suggest", "clearButton", "disabled", "itemDisabled", "readonly", "tabindex", "tabIndex", "filterable", "virtual", "size", "rounded", "fillMode"], outputs: ["valueChange", "selectionChange", "filterChange", "open", "opened", "close", "closed", "focus", "blur", "inputFocus", "inputBlur", "escape"], exportAs: ["kendoComboBox"] }] });
|
91
90
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: NameBoxComponent, decorators: [{
|
92
91
|
type: Component,
|
93
92
|
args: [{
|
@@ -107,7 +106,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
107
106
|
[valueNormalizer]="valueNormalizer"
|
108
107
|
[attr.title]="title"
|
109
108
|
></kendo-combobox>
|
110
|
-
|
109
|
+
`,
|
110
|
+
standalone: true,
|
111
|
+
imports: [ComboBoxComponent]
|
111
112
|
}]
|
112
113
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.ElementRef }, { type: i1.SpreadsheetLocalizationService }, { type: i0.Renderer2 }]; }, propDecorators: { hostClass: [{
|
113
114
|
type: HostBinding,
|
@@ -18,8 +18,11 @@ export class MainMenuDirective {
|
|
18
18
|
}
|
19
19
|
}
|
20
20
|
MainMenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MainMenuDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
21
|
-
MainMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MainMenuDirective, selector: "[kendoSpreadsheetMenu]", ngImport: i0 });
|
21
|
+
MainMenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MainMenuDirective, isStandalone: true, selector: "[kendoSpreadsheetMenu]", ngImport: i0 });
|
22
22
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MainMenuDirective, decorators: [{
|
23
23
|
type: Directive,
|
24
|
-
args: [{
|
24
|
+
args: [{
|
25
|
+
selector: '[kendoSpreadsheetMenu]',
|
26
|
+
standalone: true
|
27
|
+
}]
|
25
28
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; } });
|
@@ -0,0 +1,71 @@
|
|
1
|
+
/**-----------------------------------------------------------------------------------------
|
2
|
+
* Copyright © 2024 Progress Software Corporation. All rights reserved.
|
3
|
+
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
|
+
*-------------------------------------------------------------------------------------------*/
|
5
|
+
import { SpreadsheetComponent } from './spreadsheet.component';
|
6
|
+
import { SpreadsheetBoldDirective } from './tools/typographical-emphasis/bold-tool.directive';
|
7
|
+
import { SpreadsheetItalicDirective } from './tools/typographical-emphasis/italic-tool.directive';
|
8
|
+
import { SpreadsheetUndoDirective } from './tools/history/undo-tool';
|
9
|
+
import { SpreadsheetRedoDirective } from './tools/history/redo-tool';
|
10
|
+
import { SpreadsheetUnderlineDirective } from './tools/typographical-emphasis/underline-tool.directive';
|
11
|
+
import { SpreadsheetLoadFileComponent } from './tools/load-file.component';
|
12
|
+
import { SpreadsheetSaveFileDirective } from './tools/save-file-tool.directive';
|
13
|
+
import { CustomMessagesComponent } from './localization/custom-messages.component';
|
14
|
+
import { SpreadsheetFormatDirective } from './tools/format-tool.directive';
|
15
|
+
import { SpreadsheetFontFamilyComponent } from './tools/font-family/spreadsheet-fontfamily-tool.component';
|
16
|
+
import { SpreadsheetFontSizeComponent } from './tools/font-size/spreadsheet-fontsize-tool.component';
|
17
|
+
import { SpreadsheetBackColorComponent } from './tools/colorpicker/spreadsheet-backcolor.component';
|
18
|
+
import { SpreadsheetForeColorComponent } from './tools/colorpicker/spreadsheet-forecolor.component';
|
19
|
+
import { SpreadsheetGridLinesDirective } from './tools/gridlines-tool.directive';
|
20
|
+
import { SpreadsheetAddColumnLeftButtonDirective } from './tools/tables/add-column-left-button.directive';
|
21
|
+
import { SpreadsheetAddColumnRightButtonDirective } from './tools/tables/add-column-right-button.directive';
|
22
|
+
import { SpreadsheetAddRowAboveButtonDirective } from './tools/tables/add-row-above-button.directive';
|
23
|
+
import { SpreadsheetAddRowBelowButtonDirective } from './tools/tables/add-row-below-button.directive';
|
24
|
+
import { SpreadsheetDeleteColumnButtonDirective } from './tools/tables/delete-column-button.directive';
|
25
|
+
import { SpreadsheetDeleteRowButtonDirective } from './tools/tables/delete-row-button.directive';
|
26
|
+
import { SpreadsheetTextAlignDirective } from './tools/align/align-tool.directive';
|
27
|
+
import { SpreadsheetTextWrapDirective } from './tools/text-wrap-tool.directive';
|
28
|
+
import { SpreadsheetMergeDirective } from './tools/tables/merge-tool.directive';
|
29
|
+
import { SpreadsheetInsertLinkDirective } from './tools/insert/insert-link-tool.directive';
|
30
|
+
import { SpreadsheetIncreaseFontSizeDirective } from './tools/font-size/increase-font-tool.directive';
|
31
|
+
import { SpreadsheetDecreaseFontSizeDirective } from './tools/font-size/decrease-font-tool.directive';
|
32
|
+
import { SpreadsheetIncreaseDecimalDirective } from './tools/increase-decimal-tool.directive';
|
33
|
+
import { SpreadsheetDecreaseDecimalDirective } from './tools/decrease-decimal-tool.directive';
|
34
|
+
import { SpreadsheetHorizontalTextAlignDirective } from './tools/align/horizontal-align-tool.directive';
|
35
|
+
import { SpreadsheetVerticalTextAlignDirective } from './tools/align/vertical-align-tool.directive';
|
36
|
+
/**
|
37
|
+
* Utility array that contains all `@progress/kendo-angular-spreadsheet` related components and directives.
|
38
|
+
*/
|
39
|
+
export const KENDO_SPREADSHEET = [
|
40
|
+
SpreadsheetComponent,
|
41
|
+
CustomMessagesComponent,
|
42
|
+
SpreadsheetBoldDirective,
|
43
|
+
SpreadsheetItalicDirective,
|
44
|
+
SpreadsheetUnderlineDirective,
|
45
|
+
SpreadsheetLoadFileComponent,
|
46
|
+
SpreadsheetSaveFileDirective,
|
47
|
+
SpreadsheetFormatDirective,
|
48
|
+
SpreadsheetUndoDirective,
|
49
|
+
SpreadsheetRedoDirective,
|
50
|
+
SpreadsheetFontFamilyComponent,
|
51
|
+
SpreadsheetFontSizeComponent,
|
52
|
+
SpreadsheetBackColorComponent,
|
53
|
+
SpreadsheetForeColorComponent,
|
54
|
+
SpreadsheetGridLinesDirective,
|
55
|
+
SpreadsheetAddColumnLeftButtonDirective,
|
56
|
+
SpreadsheetAddColumnRightButtonDirective,
|
57
|
+
SpreadsheetAddRowAboveButtonDirective,
|
58
|
+
SpreadsheetAddRowBelowButtonDirective,
|
59
|
+
SpreadsheetDeleteColumnButtonDirective,
|
60
|
+
SpreadsheetDeleteRowButtonDirective,
|
61
|
+
SpreadsheetTextAlignDirective,
|
62
|
+
SpreadsheetTextWrapDirective,
|
63
|
+
SpreadsheetMergeDirective,
|
64
|
+
SpreadsheetInsertLinkDirective,
|
65
|
+
SpreadsheetIncreaseFontSizeDirective,
|
66
|
+
SpreadsheetDecreaseFontSizeDirective,
|
67
|
+
SpreadsheetIncreaseDecimalDirective,
|
68
|
+
SpreadsheetDecreaseDecimalDirective,
|
69
|
+
SpreadsheetHorizontalTextAlignDirective,
|
70
|
+
SpreadsheetVerticalTextAlignDirective
|
71
|
+
];
|
@@ -20,7 +20,7 @@ export class CustomMessagesComponent extends MessagesDirective {
|
|
20
20
|
}
|
21
21
|
}
|
22
22
|
CustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
23
|
-
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, selector: "kendo-spreadsheet-messages", providers: [
|
23
|
+
CustomMessagesComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: CustomMessagesComponent, isStandalone: true, selector: "kendo-spreadsheet-messages", providers: [
|
24
24
|
{
|
25
25
|
provide: MessagesDirective,
|
26
26
|
useExisting: forwardRef(() => CustomMessagesComponent)
|
@@ -36,6 +36,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
36
36
|
}
|
37
37
|
],
|
38
38
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
39
|
-
selector: 'kendo-spreadsheet-messages'
|
39
|
+
selector: 'kendo-spreadsheet-messages',
|
40
|
+
standalone: true
|
40
41
|
}]
|
41
42
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
@@ -17,7 +17,7 @@ export class LocalizedMessagesDirective extends MessagesDirective {
|
|
17
17
|
}
|
18
18
|
}
|
19
19
|
LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
20
|
-
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, selector: "[kendoSpreadsheetLocalizedMessages]", providers: [{
|
20
|
+
LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoSpreadsheetLocalizedMessages]", providers: [{
|
21
21
|
provide: MessagesDirective,
|
22
22
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
23
23
|
}], usesInheritance: true, ngImport: i0 });
|
@@ -28,6 +28,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
28
28
|
provide: MessagesDirective,
|
29
29
|
useExisting: forwardRef(() => LocalizedMessagesDirective)
|
30
30
|
}],
|
31
|
-
selector: '[kendoSpreadsheetLocalizedMessages]'
|
31
|
+
selector: '[kendoSpreadsheetLocalizedMessages]',
|
32
|
+
standalone: true
|
32
33
|
}]
|
33
34
|
}], ctorParameters: function () { return [{ type: i1.LocalizationService }]; } });
|
@@ -11,11 +11,12 @@ import * as i0 from "@angular/core";
|
|
11
11
|
export class MessagesDirective extends ComponentMessages {
|
12
12
|
}
|
13
13
|
MessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MessagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
14
|
-
MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MessagesDirective, selector: "[kendoSpreadsheetMessages]", inputs: { home: "home", file: "file", insert: "insert", formatTab: "formatTab", saveFile: "saveFile", loadFile: "loadFile", bold: "bold", italic: "italic", underline: "underline", format: "format", fontFamily: "fontFamily", fontSize: "fontSize", undo: "undo", redo: "redo", background: "background", color: "color", gridLines: "gridLines", addColumnLeft: "addColumnLeft", addColumnRight: "addColumnRight", addRowBelow: "addRowBelow", addRowAbove: "addRowAbove", deleteColumn: "deleteColumn", deleteRow: "deleteRow", wrap: "wrap", align: "align", alignHorizontal: "alignHorizontal", alignVertical: "alignVertical", alignLeft: "alignLeft", alignCenter: "alignCenter", alignRight: "alignRight", alignJustify: "alignJustify", alignTop: "alignTop", alignMiddle: "alignMiddle", alignBottom: "alignBottom", dialogApply: "dialogApply", dialogCancel: "dialogCancel", dialogDelete: "dialogDelete", dialogRename: "dialogRename", dialogInsert: "dialogInsert", dialogRemoveLink: "dialogRemoveLink", delete: "delete", rename: "rename", nameBox: "nameBox", formulaInput: "formulaInput", addSheet: "addSheet", sheetsMenu: "sheetsMenu", view: "view", merge: "merge", mergeHorizontally: "mergeHorizontally", mergeVertically: "mergeVertically", mergeAll: "mergeAll", unmerge: "unmerge", insertLink: "insertLink", increaseDecimal: "increaseDecimal", decreaseDecimal: "decreaseDecimal", increaseFontSize: "increaseFontSize", decreaseFontSize: "decreaseFontSize", openUnsupported: "openUnsupported", modifyMerged: "modifyMerged", cannotModifyDisabled: "cannotModifyDisabled", dialogOk: "dialogOk", dialogError: "dialogError", duplicateSheetName: "duplicateSheetName", copy: "copy", cut: "cut", paste: "paste", hideRow: "hideRow", unhideRow: "unhideRow", hideColumn: "hideColumn", unhideColumn: "unhideColumn", sheetDelete: "sheetDelete", sheetRename: "sheetRename", sheetHide: "sheetHide", sheetDuplicate: "sheetDuplicate", sheetMoveLeft: "sheetMoveLeft", sheetMoveRight: "sheetMoveRight", invalidNameError: "invalidNameError" }, usesInheritance: true, ngImport: i0 });
|
14
|
+
MessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: MessagesDirective, isStandalone: true, selector: "[kendoSpreadsheetMessages]", inputs: { home: "home", file: "file", insert: "insert", formatTab: "formatTab", saveFile: "saveFile", loadFile: "loadFile", bold: "bold", italic: "italic", underline: "underline", format: "format", fontFamily: "fontFamily", fontSize: "fontSize", undo: "undo", redo: "redo", background: "background", color: "color", gridLines: "gridLines", addColumnLeft: "addColumnLeft", addColumnRight: "addColumnRight", addRowBelow: "addRowBelow", addRowAbove: "addRowAbove", deleteColumn: "deleteColumn", deleteRow: "deleteRow", wrap: "wrap", align: "align", alignHorizontal: "alignHorizontal", alignVertical: "alignVertical", alignLeft: "alignLeft", alignCenter: "alignCenter", alignRight: "alignRight", alignJustify: "alignJustify", alignTop: "alignTop", alignMiddle: "alignMiddle", alignBottom: "alignBottom", dialogApply: "dialogApply", dialogCancel: "dialogCancel", dialogDelete: "dialogDelete", dialogRename: "dialogRename", dialogInsert: "dialogInsert", dialogRemoveLink: "dialogRemoveLink", delete: "delete", rename: "rename", nameBox: "nameBox", formulaInput: "formulaInput", addSheet: "addSheet", sheetsMenu: "sheetsMenu", view: "view", merge: "merge", mergeHorizontally: "mergeHorizontally", mergeVertically: "mergeVertically", mergeAll: "mergeAll", unmerge: "unmerge", insertLink: "insertLink", increaseDecimal: "increaseDecimal", decreaseDecimal: "decreaseDecimal", increaseFontSize: "increaseFontSize", decreaseFontSize: "decreaseFontSize", openUnsupported: "openUnsupported", modifyMerged: "modifyMerged", cannotModifyDisabled: "cannotModifyDisabled", dialogOk: "dialogOk", dialogError: "dialogError", duplicateSheetName: "duplicateSheetName", copy: "copy", cut: "cut", paste: "paste", hideRow: "hideRow", unhideRow: "unhideRow", hideColumn: "hideColumn", unhideColumn: "unhideColumn", sheetDelete: "sheetDelete", sheetRename: "sheetRename", sheetHide: "sheetHide", sheetDuplicate: "sheetDuplicate", sheetMoveLeft: "sheetMoveLeft", sheetMoveRight: "sheetMoveRight", invalidNameError: "invalidNameError" }, usesInheritance: true, ngImport: i0 });
|
15
15
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MessagesDirective, decorators: [{
|
16
16
|
type: Directive,
|
17
17
|
args: [{
|
18
|
-
selector: '[kendoSpreadsheetMessages]'
|
18
|
+
selector: '[kendoSpreadsheetMessages]',
|
19
|
+
standalone: true
|
19
20
|
}]
|
20
21
|
}], propDecorators: { home: [{
|
21
22
|
type: Input
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
9
9
|
name: '@progress/kendo-angular-spreadsheet',
|
10
10
|
productName: 'Kendo UI for Angular',
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
12
|
-
publishDate:
|
13
|
-
version: '16.
|
12
|
+
publishDate: 1721847096,
|
13
|
+
version: '16.6.0-develop.2',
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning',
|
15
15
|
};
|
@@ -3,12 +3,12 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { Component } from '@angular/core';
|
6
|
+
import { NgIf } from '@angular/common';
|
6
7
|
import { DialogRef, DialogContentBase } from '@progress/kendo-angular-dialog';
|
8
|
+
import { TextBoxComponent } from '@progress/kendo-angular-inputs';
|
9
|
+
import { LabelComponent } from '@progress/kendo-angular-label';
|
7
10
|
import * as i0 from "@angular/core";
|
8
11
|
import * as i1 from "@progress/kendo-angular-dialog";
|
9
|
-
import * as i2 from "@angular/common";
|
10
|
-
import * as i3 from "@progress/kendo-angular-inputs";
|
11
|
-
import * as i4 from "@progress/kendo-angular-label";
|
12
12
|
/**
|
13
13
|
* @hidden
|
14
14
|
*/
|
@@ -24,7 +24,7 @@ export class ActionDialogComponent extends DialogContentBase {
|
|
24
24
|
}
|
25
25
|
}
|
26
26
|
ActionDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionDialogComponent, deps: [{ token: i1.DialogRef }], target: i0.ɵɵFactoryTarget.Component });
|
27
|
-
ActionDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ActionDialogComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
27
|
+
ActionDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ActionDialogComponent, isStandalone: true, selector: "ng-component", usesInheritance: true, ngImport: i0, template: `
|
28
28
|
<ng-container *ngIf="commandName === 'delete'">
|
29
29
|
<p>The deleted sheet data will be lost.</p>
|
30
30
|
<p>Are you sure you want to proceed?</p>
|
@@ -42,7 +42,7 @@ ActionDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
|
|
42
42
|
</div>
|
43
43
|
</div>
|
44
44
|
</form>
|
45
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
45
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }, { kind: "component", type: TextBoxComponent, selector: "kendo-textbox", inputs: ["focusableId", "title", "type", "disabled", "readonly", "tabindex", "value", "selectOnFocus", "showSuccessIcon", "showErrorIcon", "clearButton", "successIcon", "successSvgIcon", "errorIcon", "errorSvgIcon", "clearButtonIcon", "clearButtonSvgIcon", "size", "rounded", "fillMode", "tabIndex", "placeholder", "maxlength", "inputAttributes"], outputs: ["valueChange", "inputFocus", "inputBlur", "focus", "blur"], exportAs: ["kendoTextBox"] }] });
|
46
46
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ActionDialogComponent, decorators: [{
|
47
47
|
type: Component,
|
48
48
|
args: [{
|
@@ -64,6 +64,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
64
64
|
</div>
|
65
65
|
</div>
|
66
66
|
</form>
|
67
|
-
|
67
|
+
`,
|
68
|
+
standalone: true,
|
69
|
+
imports: [NgIf, LabelComponent, TextBoxComponent]
|
68
70
|
}]
|
69
71
|
}], ctorParameters: function () { return [{ type: i1.DialogRef }]; } });
|
@@ -3,26 +3,23 @@
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
5
5
|
import { Component, ElementRef, HostBinding, Input, NgZone, QueryList, Renderer2, ViewChild, ViewChildren } from '@angular/core';
|
6
|
-
import {
|
7
|
-
import {
|
6
|
+
import { NgFor, NgIf } from '@angular/common';
|
7
|
+
import { Subscription } from 'rxjs';
|
8
|
+
import { take } from 'rxjs/operators';
|
8
9
|
import { ButtonComponent, DropDownButtonComponent } from '@progress/kendo-angular-buttons';
|
9
|
-
import { Keys, isDocumentAvailable, isPresent } from '@progress/kendo-angular-common';
|
10
|
+
import { Keys, isDocumentAvailable, isPresent, EventsOutsideAngularDirective } from '@progress/kendo-angular-common';
|
10
11
|
import { DialogService } from '@progress/kendo-angular-dialog';
|
12
|
+
import { TabStripComponent, TabTemplateDirective, TabStripTabComponent } from '@progress/kendo-angular-layout';
|
13
|
+
import { caretAltDownIcon, menuIcon, plusIcon, caretAltLeftIcon, caretAltRightIcon, eyeIcon, eyeSlashIcon } from '@progress/kendo-svg-icons';
|
14
|
+
import { SpreadsheetService } from '../common/spreadsheet.service';
|
11
15
|
import { SpreadsheetLocalizationService } from '../localization/spreadsheet-localization.service';
|
12
|
-
import { take } from 'rxjs/operators';
|
13
16
|
import { ActionDialogComponent } from './action-dialog.component';
|
14
|
-
import { TabStripComponent } from '@progress/kendo-angular-layout';
|
15
17
|
import { mapToSheetDescriptor } from '../utils';
|
16
18
|
import { getSheetActions } from './utils';
|
17
|
-
import { Subscription } from 'rxjs';
|
18
19
|
import * as i0 from "@angular/core";
|
19
20
|
import * as i1 from "../common/spreadsheet.service";
|
20
21
|
import * as i2 from "../localization/spreadsheet-localization.service";
|
21
22
|
import * as i3 from "@progress/kendo-angular-dialog";
|
22
|
-
import * as i4 from "@angular/common";
|
23
|
-
import * as i5 from "@progress/kendo-angular-buttons";
|
24
|
-
import * as i6 from "@progress/kendo-angular-common";
|
25
|
-
import * as i7 from "@progress/kendo-angular-layout";
|
26
23
|
/**
|
27
24
|
* @hidden
|
28
25
|
*/
|
@@ -279,7 +276,7 @@ export class SheetsBarComponent {
|
|
279
276
|
}
|
280
277
|
}
|
281
278
|
SheetsBarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SheetsBarComponent, deps: [{ token: i1.SpreadsheetService }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i2.SpreadsheetLocalizationService }, { token: i3.DialogService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
282
|
-
SheetsBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SheetsBarComponent, selector: "[kendoSpreadsheetSheetsBar]", inputs: { sheets: "sheets", sheetDescriptors: "sheetDescriptors" }, host: { properties: { "class.k-spreadsheet-sheets-bar": "this.hostClasses" } }, viewQueries: [{ propertyName: "addButton", first: true, predicate: ["addButton"], descendants: true }, { propertyName: "menuButton", first: true, predicate: ["menuButton"], descendants: true }, { propertyName: "tabstrip", first: true, predicate: ["tabstrip"], descendants: true }, { propertyName: "actionDdbs", predicate: ["sheetDdb"], descendants: true }, { propertyName: "actionDdbRefs", predicate: ["sheetDdb"], descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: `
|
279
|
+
SheetsBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SheetsBarComponent, isStandalone: true, selector: "[kendoSpreadsheetSheetsBar]", inputs: { sheets: "sheets", sheetDescriptors: "sheetDescriptors" }, host: { properties: { "class.k-spreadsheet-sheets-bar": "this.hostClasses" } }, viewQueries: [{ propertyName: "addButton", first: true, predicate: ["addButton"], descendants: true }, { propertyName: "menuButton", first: true, predicate: ["menuButton"], descendants: true }, { propertyName: "tabstrip", first: true, predicate: ["tabstrip"], descendants: true }, { propertyName: "actionDdbs", predicate: ["sheetDdb"], descendants: true }, { propertyName: "actionDdbRefs", predicate: ["sheetDdb"], descendants: true, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: `
|
283
280
|
<button kendoButton #addButton
|
284
281
|
[title]="messageFor('addSheet')"
|
285
282
|
type="button"
|
@@ -330,7 +327,7 @@ SheetsBarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", ver
|
|
330
327
|
</kendo-tabstrip-tab>
|
331
328
|
</ng-container>
|
332
329
|
</kendo-tabstrip>
|
333
|
-
`, isInline: true, dependencies: [{ kind: "
|
330
|
+
`, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }, { kind: "component", type: DropDownButtonComponent, selector: "kendo-dropdownbutton", inputs: ["arrowIcon", "icon", "svgIcon", "iconClass", "imageUrl", "textField", "data", "size", "rounded", "fillMode", "themeColor", "buttonAttributes"], outputs: ["itemClick", "focus", "blur"], exportAs: ["kendoDropDownButton"] }, { kind: "component", type: TabStripComponent, selector: "kendo-tabstrip", inputs: ["height", "animate", "tabAlignment", "tabPosition", "keepTabContent", "closable", "scrollable", "closeIcon", "closeIconClass", "closeSVGIcon", "showContentArea"], outputs: ["tabSelect", "tabClose", "tabScroll"], exportAs: ["kendoTabStrip"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: TabStripTabComponent, selector: "kendo-tabstrip-tab", inputs: ["title", "disabled", "cssClass", "cssStyle", "selected", "closable", "closeIcon", "closeIconClass", "closeSVGIcon"], exportAs: ["kendoTabStripTab"] }, { kind: "directive", type: TabTemplateDirective, selector: "[kendoTabTemplate]" }] });
|
334
331
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SheetsBarComponent, decorators: [{
|
335
332
|
type: Component,
|
336
333
|
args: [{
|
@@ -386,7 +383,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
386
383
|
</kendo-tabstrip-tab>
|
387
384
|
</ng-container>
|
388
385
|
</kendo-tabstrip>
|
389
|
-
|
386
|
+
`,
|
387
|
+
standalone: true,
|
388
|
+
imports: [ButtonComponent, EventsOutsideAngularDirective, DropDownButtonComponent, TabStripComponent, NgFor, NgIf, TabStripTabComponent, TabTemplateDirective]
|
390
389
|
}]
|
391
390
|
}], ctorParameters: function () { return [{ type: i1.SpreadsheetService }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i2.SpreadsheetLocalizationService }, { type: i3.DialogService }, { type: i0.NgZone }]; }, propDecorators: { hostClasses: [{
|
392
391
|
type: HostBinding,
|