@progress/kendo-angular-spreadsheet 16.5.0 → 16.6.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/action-bar/formula-input.directive.d.ts +1 -1
  2. package/action-bar/list.component.d.ts +1 -1
  3. package/action-bar/namebox.component.d.ts +2 -2
  4. package/common/main-menu.directive.d.ts +1 -1
  5. package/directives.d.ts +39 -0
  6. package/esm2020/action-bar/formula-input.directive.mjs +2 -1
  7. package/esm2020/action-bar/list.component.mjs +8 -6
  8. package/esm2020/action-bar/namebox.component.mjs +7 -6
  9. package/esm2020/common/main-menu.directive.mjs +5 -2
  10. package/esm2020/directives.mjs +71 -0
  11. package/esm2020/localization/custom-messages.component.mjs +3 -2
  12. package/esm2020/localization/localized-messages.directive.mjs +3 -2
  13. package/esm2020/localization/messages.mjs +3 -2
  14. package/esm2020/package-metadata.mjs +2 -2
  15. package/esm2020/sheets-bar/action-dialog.component.mjs +8 -6
  16. package/esm2020/sheets-bar/sheets-bar.component.mjs +12 -13
  17. package/esm2020/spreadsheet.component.mjs +46 -47
  18. package/esm2020/spreadsheet.module.mjs +42 -255
  19. package/esm2020/tools/align/align-tool.directive.mjs +2 -1
  20. package/esm2020/tools/align/horizontal-align-tool.directive.mjs +2 -1
  21. package/esm2020/tools/align/vertical-align-tool.directive.mjs +2 -1
  22. package/esm2020/tools/colorpicker/spreadsheet-backcolor.component.mjs +10 -8
  23. package/esm2020/tools/colorpicker/spreadsheet-forecolor.component.mjs +11 -9
  24. package/esm2020/tools/decrease-decimal-tool.directive.mjs +3 -2
  25. package/esm2020/tools/font-family/font-family-dropdownlist.component.mjs +7 -5
  26. package/esm2020/tools/font-family/spreadsheet-fontfamily-tool.component.mjs +11 -9
  27. package/esm2020/tools/font-size/decrease-font-tool.directive.mjs +3 -2
  28. package/esm2020/tools/font-size/font-size-dropdownlist.component.mjs +6 -4
  29. package/esm2020/tools/font-size/increase-font-tool.directive.mjs +3 -2
  30. package/esm2020/tools/font-size/spreadsheet-fontsize-tool.component.mjs +11 -9
  31. package/esm2020/tools/format-tool.directive.mjs +2 -1
  32. package/esm2020/tools/gridlines-tool.directive.mjs +3 -2
  33. package/esm2020/tools/history/redo-tool.mjs +3 -2
  34. package/esm2020/tools/history/undo-tool.mjs +3 -2
  35. package/esm2020/tools/increase-decimal-tool.directive.mjs +3 -2
  36. package/esm2020/tools/insert/insert-link-dialog.component.mjs +7 -5
  37. package/esm2020/tools/insert/insert-link-tool.directive.mjs +3 -2
  38. package/esm2020/tools/load-file.component.mjs +9 -8
  39. package/esm2020/tools/save-file-tool.directive.mjs +5 -2
  40. package/esm2020/tools/shared/dialog-content.component.mjs +9 -7
  41. package/esm2020/tools/tables/add-column-left-button.directive.mjs +3 -2
  42. package/esm2020/tools/tables/add-column-right-button.directive.mjs +3 -2
  43. package/esm2020/tools/tables/add-row-above-button.directive.mjs +3 -2
  44. package/esm2020/tools/tables/add-row-below-button.directive.mjs +3 -2
  45. package/esm2020/tools/tables/delete-column-button.directive.mjs +3 -2
  46. package/esm2020/tools/tables/delete-row-button.directive.mjs +3 -2
  47. package/esm2020/tools/tables/merge-tool.directive.mjs +2 -1
  48. package/esm2020/tools/text-wrap-tool.directive.mjs +3 -2
  49. package/esm2020/tools/typographical-emphasis/bold-tool.directive.mjs +3 -2
  50. package/esm2020/tools/typographical-emphasis/italic-tool.directive.mjs +3 -2
  51. package/esm2020/tools/typographical-emphasis/underline-tool.directive.mjs +3 -2
  52. package/fesm2015/progress-kendo-angular-spreadsheet.mjs +1445 -1549
  53. package/fesm2020/progress-kendo-angular-spreadsheet.mjs +1445 -1549
  54. package/localization/custom-messages.component.d.ts +1 -1
  55. package/localization/localized-messages.directive.d.ts +1 -1
  56. package/localization/messages.d.ts +1 -1
  57. package/package.json +15 -15
  58. package/schematics/ngAdd/index.js +2 -2
  59. package/sheets-bar/action-dialog.component.d.ts +1 -1
  60. package/sheets-bar/sheets-bar.component.d.ts +5 -5
  61. package/spreadsheet.component.d.ts +4 -4
  62. package/spreadsheet.module.d.ts +31 -56
  63. package/tools/align/align-tool.directive.d.ts +1 -1
  64. package/tools/align/horizontal-align-tool.directive.d.ts +1 -1
  65. package/tools/align/vertical-align-tool.directive.d.ts +1 -1
  66. package/tools/colorpicker/spreadsheet-backcolor.component.d.ts +1 -1
  67. package/tools/colorpicker/spreadsheet-forecolor.component.d.ts +2 -2
  68. package/tools/decrease-decimal-tool.directive.d.ts +1 -1
  69. package/tools/font-family/font-family-dropdownlist.component.d.ts +1 -1
  70. package/tools/font-family/spreadsheet-fontfamily-tool.component.d.ts +2 -2
  71. package/tools/font-size/decrease-font-tool.directive.d.ts +1 -1
  72. package/tools/font-size/font-size-dropdownlist.component.d.ts +1 -1
  73. package/tools/font-size/increase-font-tool.directive.d.ts +1 -1
  74. package/tools/font-size/spreadsheet-fontsize-tool.component.d.ts +2 -2
  75. package/tools/format-tool.directive.d.ts +1 -1
  76. package/tools/gridlines-tool.directive.d.ts +1 -1
  77. package/tools/history/redo-tool.d.ts +1 -1
  78. package/tools/history/undo-tool.d.ts +1 -1
  79. package/tools/increase-decimal-tool.directive.d.ts +1 -1
  80. package/tools/insert/insert-link-dialog.component.d.ts +1 -1
  81. package/tools/insert/insert-link-tool.directive.d.ts +1 -1
  82. package/tools/load-file.component.d.ts +2 -2
  83. package/tools/save-file-tool.directive.d.ts +1 -1
  84. package/tools/shared/dialog-content.component.d.ts +1 -1
  85. package/tools/tables/add-column-left-button.directive.d.ts +1 -1
  86. package/tools/tables/add-column-right-button.directive.d.ts +1 -1
  87. package/tools/tables/add-row-above-button.directive.d.ts +1 -1
  88. package/tools/tables/add-row-below-button.directive.d.ts +1 -1
  89. package/tools/tables/delete-column-button.directive.d.ts +1 -1
  90. package/tools/tables/delete-row-button.directive.d.ts +1 -1
  91. package/tools/tables/merge-tool.directive.d.ts +1 -1
  92. package/tools/text-wrap-tool.directive.d.ts +1 -1
  93. package/tools/typographical-emphasis/bold-tool.directive.d.ts +1 -1
  94. package/tools/typographical-emphasis/italic-tool.directive.d.ts +1 -1
  95. package/tools/typographical-emphasis/underline-tool.directive.d.ts +1 -1
@@ -3,27 +3,62 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, ElementRef, EventEmitter, HostBinding, Input, NgZone, Output, ViewChild, ViewContainerRef } from '@angular/core';
6
+ import { NgFor, NgIf } from '@angular/common';
7
+ import { Subscription } from 'rxjs';
8
+ import { take } from 'rxjs/operators';
6
9
  import { validatePackage } from '@progress/kendo-licensing';
7
10
  import { packageMetadata } from './package-metadata';
8
11
  import { SpreadsheetWidget } from '@progress/kendo-spreadsheet-common';
9
12
  import { localeData, IntlService } from '@progress/kendo-angular-intl';
10
13
  import { downloadIcon, folderOpenIcon, formulaFxIcon } from '@progress/kendo-svg-icons';
14
+ import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
15
+ import { PopupService } from '@progress/kendo-angular-popup';
16
+ import { ContextMenuComponent, MenuItemComponent, MenuComponent } from '@progress/kendo-angular-menu';
17
+ import { Keys, hasObservers, isDocumentAvailable, isPresent, shouldShowValidationUI, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
18
+ import { DialogService } from '@progress/kendo-angular-dialog';
19
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
20
+ import { ToolBarDropDownButtonComponent, ToolBarSeparatorComponent, ToolBarButtonGroupComponent, ToolBarButtonComponent, ToolBarComponent } from '@progress/kendo-angular-toolbar';
11
21
  import { SpreadsheetService } from './common/spreadsheet.service';
12
22
  import { SpreadsheetToolsService } from './tools/tools.service';
13
- import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
14
23
  import { SpreadsheetLocalizationService } from './localization/spreadsheet-localization.service';
15
- import { Keys, hasObservers, isDocumentAvailable, isPresent, shouldShowValidationUI } from '@progress/kendo-angular-common';
16
24
  import { mapToSheetDescriptor } from './utils';
17
- import { PopupService } from '@progress/kendo-angular-popup';
18
25
  import { FormulaInputDirective } from './action-bar/formula-input.directive';
19
- import { take } from 'rxjs/operators';
20
26
  import { getSheetActions } from './sheets-bar/utils';
21
27
  import { ErrorHandlingService } from './common/error-handling.service';
22
- import { ContextMenuComponent } from '@progress/kendo-angular-menu';
23
28
  import { commandIcons, commandSVGIcons } from './tools/shared/command-icons';
24
- import { Subscription } from 'rxjs';
25
- import { DialogService } from '@progress/kendo-angular-dialog';
26
29
  import { InsertLinkDialogComponent } from './tools/insert/insert-link-dialog.component';
30
+ import { SheetsBarComponent } from './sheets-bar/sheets-bar.component';
31
+ import { NameBoxComponent } from './action-bar/namebox.component';
32
+ import { SpreadsheetGridLinesDirective } from './tools/gridlines-tool.directive';
33
+ import { SpreadsheetMergeDirective } from './tools/tables/merge-tool.directive';
34
+ import { SpreadsheetIncreaseDecimalDirective } from './tools/increase-decimal-tool.directive';
35
+ import { SpreadsheetDecreaseDecimalDirective } from './tools/decrease-decimal-tool.directive';
36
+ import { SpreadsheetDeleteRowButtonDirective } from './tools/tables/delete-row-button.directive';
37
+ import { SpreadsheetDeleteColumnButtonDirective } from './tools/tables/delete-column-button.directive';
38
+ import { SpreadsheetAddRowAboveButtonDirective } from './tools/tables/add-row-above-button.directive';
39
+ import { SpreadsheetAddRowBelowButtonDirective } from './tools/tables/add-row-below-button.directive';
40
+ import { SpreadsheetAddColumnRightButtonDirective } from './tools/tables/add-column-right-button.directive';
41
+ import { SpreadsheetAddColumnLeftButtonDirective } from './tools/tables/add-column-left-button.directive';
42
+ import { SpreadsheetInsertLinkDirective } from './tools/insert/insert-link-tool.directive';
43
+ import { SpreadsheetFormatDirective } from './tools/format-tool.directive';
44
+ import { SpreadsheetTextWrapDirective } from './tools/text-wrap-tool.directive';
45
+ import { SpreadsheetVerticalTextAlignDirective } from './tools/align/vertical-align-tool.directive';
46
+ import { SpreadsheetHorizontalTextAlignDirective } from './tools/align/horizontal-align-tool.directive';
47
+ import { SpreadsheetBackColorComponent } from './tools/colorpicker/spreadsheet-backcolor.component';
48
+ import { SpreadsheetForeColorComponent } from './tools/colorpicker/spreadsheet-forecolor.component';
49
+ import { SpreadsheetUnderlineDirective } from './tools/typographical-emphasis/underline-tool.directive';
50
+ import { SpreadsheetItalicDirective } from './tools/typographical-emphasis/italic-tool.directive';
51
+ import { SpreadsheetBoldDirective } from './tools/typographical-emphasis/bold-tool.directive';
52
+ import { SpreadsheetDecreaseFontSizeDirective } from './tools/font-size/decrease-font-tool.directive';
53
+ import { SpreadsheetIncreaseFontSizeDirective } from './tools/font-size/increase-font-tool.directive';
54
+ import { SpreadsheetFontSizeComponent } from './tools/font-size/spreadsheet-fontsize-tool.component';
55
+ import { SpreadsheetFontFamilyComponent } from './tools/font-family/spreadsheet-fontfamily-tool.component';
56
+ import { SpreadsheetRedoDirective } from './tools/history/redo-tool';
57
+ import { SpreadsheetUndoDirective } from './tools/history/undo-tool';
58
+ import { SpreadsheetSaveFileDirective } from './tools/save-file-tool.directive';
59
+ import { SpreadsheetLoadFileComponent } from './tools/load-file.component';
60
+ import { MainMenuDirective } from './common/main-menu.directive';
61
+ import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
27
62
  import * as i0 from "@angular/core";
28
63
  import * as i1 from "@progress/kendo-angular-intl";
29
64
  import * as i2 from "@progress/kendo-angular-l10n";
@@ -31,44 +66,6 @@ import * as i3 from "./common/spreadsheet.service";
31
66
  import * as i4 from "./tools/tools.service";
32
67
  import * as i5 from "./common/error-handling.service";
33
68
  import * as i6 from "@progress/kendo-angular-dialog";
34
- import * as i7 from "@angular/common";
35
- import * as i8 from "@progress/kendo-angular-icons";
36
- import * as i9 from "@progress/kendo-angular-menu";
37
- import * as i10 from "@progress/kendo-angular-toolbar";
38
- import * as i11 from "@progress/kendo-angular-common";
39
- import * as i12 from "./localization/localized-messages.directive";
40
- import * as i13 from "./action-bar/formula-input.directive";
41
- import * as i14 from "./action-bar/namebox.component";
42
- import * as i15 from "./sheets-bar/sheets-bar.component";
43
- import * as i16 from "./tools/typographical-emphasis/bold-tool.directive";
44
- import * as i17 from "./tools/typographical-emphasis/italic-tool.directive";
45
- import * as i18 from "./tools/typographical-emphasis/underline-tool.directive";
46
- import * as i19 from "./tools/load-file.component";
47
- import * as i20 from "./tools/save-file-tool.directive";
48
- import * as i21 from "./tools/format-tool.directive";
49
- import * as i22 from "./tools/history/undo-tool";
50
- import * as i23 from "./tools/history/redo-tool";
51
- import * as i24 from "./tools/font-family/spreadsheet-fontfamily-tool.component";
52
- import * as i25 from "./tools/font-size/spreadsheet-fontsize-tool.component";
53
- import * as i26 from "./tools/colorpicker/spreadsheet-backcolor.component";
54
- import * as i27 from "./tools/colorpicker/spreadsheet-forecolor.component";
55
- import * as i28 from "./tools/gridlines-tool.directive";
56
- import * as i29 from "./tools/tables/add-column-left-button.directive";
57
- import * as i30 from "./tools/tables/add-column-right-button.directive";
58
- import * as i31 from "./tools/tables/add-row-above-button.directive";
59
- import * as i32 from "./tools/tables/add-row-below-button.directive";
60
- import * as i33 from "./tools/tables/delete-column-button.directive";
61
- import * as i34 from "./tools/tables/delete-row-button.directive";
62
- import * as i35 from "./tools/text-wrap-tool.directive";
63
- import * as i36 from "./common/main-menu.directive";
64
- import * as i37 from "./tools/tables/merge-tool.directive";
65
- import * as i38 from "./tools/insert/insert-link-tool.directive";
66
- import * as i39 from "./tools/font-size/increase-font-tool.directive";
67
- import * as i40 from "./tools/font-size/decrease-font-tool.directive";
68
- import * as i41 from "./tools/increase-decimal-tool.directive";
69
- import * as i42 from "./tools/decrease-decimal-tool.directive";
70
- import * as i43 from "./tools/align/horizontal-align-tool.directive";
71
- import * as i44 from "./tools/align/vertical-align-tool.directive";
72
69
  /**
73
70
  * Represents the [Kendo UI Spreadsheet component for Angular]({% slug overview_spreadsheet %}).
74
71
  */
@@ -636,7 +633,7 @@ export class SpreadsheetComponent {
636
633
  }
637
634
  }
638
635
  SpreadsheetComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetComponent, deps: [{ token: i0.NgZone }, { token: i1.IntlService }, { token: i0.ElementRef }, { token: i2.LocalizationService }, { token: i3.SpreadsheetService }, { token: i4.SpreadsheetToolsService }, { token: i5.ErrorHandlingService }, { token: i6.DialogService }], target: i0.ɵɵFactoryTarget.Component });
639
- SpreadsheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SpreadsheetComponent, selector: "kendo-spreadsheet", inputs: { menuItems: "menuItems", overflow: "overflow", formulaListMaxHeight: "formulaListMaxHeight", activeSheet: "activeSheet", sheets: "sheets", columns: "columns", columnWidth: "columnWidth", defaultCellStyle: "defaultCellStyle", headerHeight: "headerHeight", headerWidth: "headerWidth", rowHeight: "rowHeight", rows: "rows", images: "images", excel: "excel" }, outputs: { change: "change", formatChange: "formatChange", selectionChange: "selectionChange", excelExport: "excelExport", excelImport: "excelImport", activeSheetChange: "activeSheetChange" }, host: { properties: { "class.k-spreadsheet": "this.hostClass", "attr.role": "this.role" } }, providers: [
636
+ SpreadsheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SpreadsheetComponent, isStandalone: true, selector: "kendo-spreadsheet", inputs: { menuItems: "menuItems", overflow: "overflow", formulaListMaxHeight: "formulaListMaxHeight", activeSheet: "activeSheet", sheets: "sheets", columns: "columns", columnWidth: "columnWidth", defaultCellStyle: "defaultCellStyle", headerHeight: "headerHeight", headerWidth: "headerWidth", rowHeight: "rowHeight", rows: "rows", images: "images", excel: "excel" }, outputs: { change: "change", formatChange: "formatChange", selectionChange: "selectionChange", excelExport: "excelExport", excelImport: "excelImport", activeSheetChange: "activeSheetChange" }, host: { properties: { "class.k-spreadsheet": "this.hostClass", "attr.role": "this.role" } }, providers: [
640
637
  SpreadsheetLocalizationService,
641
638
  SpreadsheetService,
642
639
  {
@@ -915,7 +912,7 @@ SpreadsheetComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
915
912
  (select)="onContextMenuSelect($event)"></kendo-contextmenu>
916
913
 
917
914
  <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
918
- `, isInline: true, dependencies: [{ kind: "directive", type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i9.MenuComponent, selector: "kendo-menu", inputs: ["appendTo", "menuItemTemplate", "ariaRole", "menuItemLinkTemplate"], outputs: ["select", "open", "close"], exportAs: ["kendoMenu"] }, { kind: "component", type: i9.MenuItemComponent, selector: "kendo-menu-item", inputs: ["text", "url", "disabled", "cssClass", "cssStyle", "icon", "svgIcon", "data", "separator"] }, { kind: "component", type: i9.ContextMenuComponent, selector: "kendo-contextmenu", inputs: ["showOn", "target", "filter", "alignToAnchor", "vertical", "popupAnimate", "popupAlign", "anchorAlign", "collision", "appendTo", "ariaLabel"], outputs: ["popupOpen", "popupClose", "select", "open", "close"], exportAs: ["kendoContextMenu"] }, { kind: "component", type: i10.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: i10.ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "svgIcon", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { kind: "component", type: i10.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { kind: "component", type: i10.ToolBarDropDownButtonComponent, selector: "kendo-toolbar-dropdownbutton", inputs: ["arrowIcon", "title", "showText", "showIcon", "text", "icon", "svgIcon", "iconClass", "imageUrl", "popupSettings", "look", "primary", "fillMode", "themeColor", "buttonClass", "textField", "disabled", "data"], outputs: ["itemClick", "open", "close"], exportAs: ["kendoToolBarDropDownButton"] }, { kind: "component", type: i10.ToolBarSeparatorComponent, selector: "kendo-toolbar-separator", exportAs: ["kendoToolBarSeparator"] }, { kind: "component", type: i11.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }, { kind: "directive", type: i12.LocalizedMessagesDirective, selector: "[kendoSpreadsheetLocalizedMessages]" }, { kind: "directive", type: i13.FormulaInputDirective, selector: "[kendoSpreadsheetFormulaInput]", inputs: ["formulaListMaxHeight"] }, { kind: "component", type: i14.NameBoxComponent, selector: "[kendoSpreadsheetNameBox]", inputs: ["data", "spreadsheetWidget"] }, { kind: "component", type: i15.SheetsBarComponent, selector: "[kendoSpreadsheetSheetsBar]", inputs: ["sheets", "sheetDescriptors"] }, { kind: "directive", type: i16.SpreadsheetBoldDirective, selector: "kendo-toolbar-button[kendoSpreadsheetBold]" }, { kind: "directive", type: i17.SpreadsheetItalicDirective, selector: "kendo-toolbar-button[kendoSpreadsheetItalic]" }, { kind: "directive", type: i18.SpreadsheetUnderlineDirective, selector: "kendo-toolbar-button[kendoSpreadsheetUnderline]" }, { kind: "component", type: i19.SpreadsheetLoadFileComponent, selector: "kendo-spreadsheet-load-file-tool" }, { kind: "directive", type: i20.SpreadsheetSaveFileDirective, selector: "[kendoSpreadsheetSaveFile]" }, { kind: "directive", type: i21.SpreadsheetFormatDirective, selector: "[kendoSpreadsheetFormat]" }, { kind: "directive", type: i22.SpreadsheetUndoDirective, selector: "kendo-toolbar-button[kendoSpreadsheetUndo]" }, { kind: "directive", type: i23.SpreadsheetRedoDirective, selector: "kendo-toolbar-button[kendoSpreadsheetRedo]" }, { kind: "component", type: i24.SpreadsheetFontFamilyComponent, selector: "kendo-toolbar-dropdownlist[kendoSpreadsheetFontFamily]" }, { kind: "component", type: i25.SpreadsheetFontSizeComponent, selector: "kendo-toolbar-dropdownlist[kendoSpreadsheetFontSize]" }, { kind: "component", type: i26.SpreadsheetBackColorComponent, selector: "kendo-spreadsheet-backcolor-tool" }, { kind: "component", type: i27.SpreadsheetForeColorComponent, selector: "kendo-spreadsheet-forecolor-tool" }, { kind: "directive", type: i28.SpreadsheetGridLinesDirective, selector: "kendo-toolbar-button[kendoSpreadsheetGridLines]" }, { kind: "directive", type: i29.SpreadsheetAddColumnLeftButtonDirective, selector: "kendo-toolbar-button[kendoSpreadsheetAddColumnLeftButton]" }, { kind: "directive", type: i30.SpreadsheetAddColumnRightButtonDirective, selector: "kendo-toolbar-button[kendoSpreadsheetAddColumnRightButton]" }, { kind: "directive", type: i31.SpreadsheetAddRowAboveButtonDirective, selector: "kendo-toolbar-button[kendoSpreadsheetAddRowAboveButton]" }, { kind: "directive", type: i32.SpreadsheetAddRowBelowButtonDirective, selector: "kendo-toolbar-button[kendoSpreadsheetAddRowBelowButton]" }, { kind: "directive", type: i33.SpreadsheetDeleteColumnButtonDirective, selector: "kendo-toolbar-button[kendoSpreadsheetDeleteColumnButton]" }, { kind: "directive", type: i34.SpreadsheetDeleteRowButtonDirective, selector: "kendo-toolbar-button[kendoSpreadsheetDeleteRowButton]" }, { kind: "directive", type: i35.SpreadsheetTextWrapDirective, selector: "kendo-toolbar-button[kendoSpreadsheetTextWrap]" }, { kind: "directive", type: i36.MainMenuDirective, selector: "[kendoSpreadsheetMenu]" }, { kind: "directive", type: i37.SpreadsheetMergeDirective, selector: "[kendoSpreadsheetMerge]" }, { kind: "directive", type: i38.SpreadsheetInsertLinkDirective, selector: "kendo-toolbar-button[kendoSpreadsheetInsertLink]" }, { kind: "directive", type: i39.SpreadsheetIncreaseFontSizeDirective, selector: "kendo-toolbar-button[kendoSpreadsheetIncreaseFontSize]" }, { kind: "directive", type: i40.SpreadsheetDecreaseFontSizeDirective, selector: "kendo-toolbar-button[kendoSpreadsheetDecreaseFontSize]" }, { kind: "directive", type: i41.SpreadsheetIncreaseDecimalDirective, selector: "kendo-toolbar-button[kendoSpreadsheetIncreaseDecimal]" }, { kind: "directive", type: i42.SpreadsheetDecreaseDecimalDirective, selector: "kendo-toolbar-button[kendoSpreadsheetDecreaseDecimal]" }, { kind: "directive", type: i43.SpreadsheetHorizontalTextAlignDirective, selector: "[kendoSpreadsheetHorizontalTextAlign]" }, { kind: "directive", type: i44.SpreadsheetVerticalTextAlignDirective, selector: "[kendoSpreadsheetVerticalTextAlign]" }] });
915
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoSpreadsheetLocalizedMessages]" }, { kind: "component", type: MenuComponent, selector: "kendo-menu", inputs: ["appendTo", "menuItemTemplate", "ariaRole", "menuItemLinkTemplate"], outputs: ["select", "open", "close"], exportAs: ["kendoMenu"] }, { kind: "directive", type: MainMenuDirective, selector: "[kendoSpreadsheetMenu]" }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: MenuItemComponent, selector: "kendo-menu-item", inputs: ["text", "url", "disabled", "cssClass", "cssStyle", "icon", "svgIcon", "data", "separator"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: SpreadsheetLoadFileComponent, selector: "kendo-spreadsheet-load-file-tool" }, { kind: "component", type: ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "svgIcon", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { kind: "directive", type: SpreadsheetSaveFileDirective, selector: "[kendoSpreadsheetSaveFile]" }, { kind: "component", type: ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { kind: "directive", type: SpreadsheetUndoDirective, selector: "kendo-toolbar-button[kendoSpreadsheetUndo]" }, { kind: "directive", type: SpreadsheetRedoDirective, selector: "kendo-toolbar-button[kendoSpreadsheetRedo]" }, { kind: "component", type: ToolBarSeparatorComponent, selector: "kendo-toolbar-separator", exportAs: ["kendoToolBarSeparator"] }, { kind: "component", type: SpreadsheetFontFamilyComponent, selector: "kendo-toolbar-dropdownlist[kendoSpreadsheetFontFamily]" }, { kind: "component", type: SpreadsheetFontSizeComponent, selector: "kendo-toolbar-dropdownlist[kendoSpreadsheetFontSize]" }, { kind: "directive", type: SpreadsheetIncreaseFontSizeDirective, selector: "kendo-toolbar-button[kendoSpreadsheetIncreaseFontSize]" }, { kind: "directive", type: SpreadsheetDecreaseFontSizeDirective, selector: "kendo-toolbar-button[kendoSpreadsheetDecreaseFontSize]" }, { kind: "directive", type: SpreadsheetBoldDirective, selector: "kendo-toolbar-button[kendoSpreadsheetBold]" }, { kind: "directive", type: SpreadsheetItalicDirective, selector: "kendo-toolbar-button[kendoSpreadsheetItalic]" }, { kind: "directive", type: SpreadsheetUnderlineDirective, selector: "kendo-toolbar-button[kendoSpreadsheetUnderline]" }, { kind: "component", type: SpreadsheetForeColorComponent, selector: "kendo-spreadsheet-forecolor-tool" }, { kind: "component", type: SpreadsheetBackColorComponent, selector: "kendo-spreadsheet-backcolor-tool" }, { kind: "component", type: ToolBarDropDownButtonComponent, selector: "kendo-toolbar-dropdownbutton", inputs: ["arrowIcon", "title", "showText", "showIcon", "text", "icon", "svgIcon", "iconClass", "imageUrl", "popupSettings", "look", "primary", "fillMode", "themeColor", "buttonClass", "textField", "disabled", "data"], outputs: ["itemClick", "open", "close"], exportAs: ["kendoToolBarDropDownButton"] }, { kind: "directive", type: SpreadsheetHorizontalTextAlignDirective, selector: "[kendoSpreadsheetHorizontalTextAlign]" }, { kind: "directive", type: SpreadsheetVerticalTextAlignDirective, selector: "[kendoSpreadsheetVerticalTextAlign]" }, { kind: "directive", type: SpreadsheetTextWrapDirective, selector: "kendo-toolbar-button[kendoSpreadsheetTextWrap]" }, { kind: "directive", type: SpreadsheetFormatDirective, selector: "[kendoSpreadsheetFormat]" }, { kind: "directive", type: SpreadsheetInsertLinkDirective, selector: "kendo-toolbar-button[kendoSpreadsheetInsertLink]" }, { kind: "directive", type: SpreadsheetAddColumnLeftButtonDirective, selector: "kendo-toolbar-button[kendoSpreadsheetAddColumnLeftButton]" }, { kind: "directive", type: SpreadsheetAddColumnRightButtonDirective, selector: "kendo-toolbar-button[kendoSpreadsheetAddColumnRightButton]" }, { kind: "directive", type: SpreadsheetAddRowBelowButtonDirective, selector: "kendo-toolbar-button[kendoSpreadsheetAddRowBelowButton]" }, { kind: "directive", type: SpreadsheetAddRowAboveButtonDirective, selector: "kendo-toolbar-button[kendoSpreadsheetAddRowAboveButton]" }, { kind: "directive", type: SpreadsheetDeleteColumnButtonDirective, selector: "kendo-toolbar-button[kendoSpreadsheetDeleteColumnButton]" }, { kind: "directive", type: SpreadsheetDeleteRowButtonDirective, selector: "kendo-toolbar-button[kendoSpreadsheetDeleteRowButton]" }, { kind: "directive", type: SpreadsheetDecreaseDecimalDirective, selector: "kendo-toolbar-button[kendoSpreadsheetDecreaseDecimal]" }, { kind: "directive", type: SpreadsheetIncreaseDecimalDirective, selector: "kendo-toolbar-button[kendoSpreadsheetIncreaseDecimal]" }, { kind: "directive", type: SpreadsheetMergeDirective, selector: "[kendoSpreadsheetMerge]" }, { kind: "directive", type: SpreadsheetGridLinesDirective, selector: "kendo-toolbar-button[kendoSpreadsheetGridLines]" }, { kind: "component", type: NameBoxComponent, selector: "[kendoSpreadsheetNameBox]", inputs: ["data", "spreadsheetWidget"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: FormulaInputDirective, selector: "[kendoSpreadsheetFormulaInput]", inputs: ["formulaListMaxHeight"] }, { kind: "component", type: SheetsBarComponent, selector: "[kendoSpreadsheetSheetsBar]", inputs: ["sheets", "sheetDescriptors"] }, { kind: "component", type: ContextMenuComponent, selector: "kendo-contextmenu", inputs: ["showOn", "target", "filter", "alignToAnchor", "vertical", "popupAnimate", "popupAlign", "anchorAlign", "collision", "appendTo", "ariaLabel"], outputs: ["popupOpen", "popupClose", "select", "open", "close"], exportAs: ["kendoContextMenu"] }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
919
916
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetComponent, decorators: [{
920
917
  type: Component,
921
918
  args: [{
@@ -1202,6 +1199,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1202
1199
 
1203
1200
  <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
1204
1201
  `,
1202
+ standalone: true,
1203
+ imports: [LocalizedMessagesDirective, MenuComponent, MainMenuDirective, NgFor, MenuItemComponent, NgIf, ToolBarComponent, SpreadsheetLoadFileComponent, ToolBarButtonComponent, SpreadsheetSaveFileDirective, ToolBarButtonGroupComponent, SpreadsheetUndoDirective, SpreadsheetRedoDirective, ToolBarSeparatorComponent, SpreadsheetFontFamilyComponent, SpreadsheetFontSizeComponent, SpreadsheetIncreaseFontSizeDirective, SpreadsheetDecreaseFontSizeDirective, SpreadsheetBoldDirective, SpreadsheetItalicDirective, SpreadsheetUnderlineDirective, SpreadsheetForeColorComponent, SpreadsheetBackColorComponent, ToolBarDropDownButtonComponent, SpreadsheetHorizontalTextAlignDirective, SpreadsheetVerticalTextAlignDirective, SpreadsheetTextWrapDirective, SpreadsheetFormatDirective, SpreadsheetInsertLinkDirective, SpreadsheetAddColumnLeftButtonDirective, SpreadsheetAddColumnRightButtonDirective, SpreadsheetAddRowBelowButtonDirective, SpreadsheetAddRowAboveButtonDirective, SpreadsheetDeleteColumnButtonDirective, SpreadsheetDeleteRowButtonDirective, SpreadsheetDecreaseDecimalDirective, SpreadsheetIncreaseDecimalDirective, SpreadsheetMergeDirective, SpreadsheetGridLinesDirective, NameBoxComponent, IconWrapperComponent, FormulaInputDirective, SheetsBarComponent, ContextMenuComponent, WatermarkOverlayComponent]
1205
1204
  }]
1206
1205
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.IntlService }, { type: i0.ElementRef }, { type: i2.LocalizationService }, { type: i3.SpreadsheetService }, { type: i4.SpreadsheetToolsService }, { type: i5.ErrorHandlingService }, { type: i6.DialogService }]; }, propDecorators: { formulaBarInputRef: [{
1207
1206
  type: ViewChild,
@@ -3,141 +3,44 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { CommonModule } from '@angular/common';
7
- import { PopupModule } from '@progress/kendo-angular-popup';
8
- import { TabStripModule } from '@progress/kendo-angular-layout';
9
- import { EventsModule, WatermarkModule } from '@progress/kendo-angular-common';
10
- import { FormulaListComponent } from './action-bar/list.component';
11
- import { FormulaInputDirective } from './action-bar/formula-input.directive';
12
- import { IconsModule } from '@progress/kendo-angular-icons';
13
- import { LabelModule } from '@progress/kendo-angular-label';
14
- import { InputsModule } from '@progress/kendo-angular-inputs';
15
- import { ButtonsModule } from '@progress/kendo-angular-buttons';
16
- import { IntlModule } from '@progress/kendo-angular-intl';
17
- import { ComboBoxModule, DropDownListModule } from '@progress/kendo-angular-dropdowns';
18
- import { SpreadsheetComponent } from './spreadsheet.component';
19
- import { NameBoxComponent } from './action-bar/namebox.component';
20
- import { SheetsBarComponent } from './sheets-bar/sheets-bar.component';
21
- import { ToolBarModule } from '@progress/kendo-angular-toolbar';
22
- import { SpreadsheetBoldDirective } from './tools/typographical-emphasis/bold-tool.directive';
23
- import { SpreadsheetItalicDirective } from './tools/typographical-emphasis/italic-tool.directive';
24
- import { SpreadsheetUndoDirective } from './tools/history/undo-tool';
25
- import { SpreadsheetRedoDirective } from './tools/history/redo-tool';
26
- import { SpreadsheetUnderlineDirective } from './tools/typographical-emphasis/underline-tool.directive';
27
- import { SpreadsheetLoadFileComponent } from './tools/load-file.component';
28
- import { SpreadsheetSaveFileDirective } from './tools/save-file-tool.directive';
29
- import { MessagesDirective } from './localization/messages';
30
- import { CustomMessagesComponent } from './localization/custom-messages.component';
31
- import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
32
- import { SpreadsheetFormatDirective } from './tools/format-tool.directive';
33
- import { SpreadsheetFontFamilyComponent } from './tools/font-family/spreadsheet-fontfamily-tool.component';
34
- import { SpreadsheetFontSizeComponent } from './tools/font-size/spreadsheet-fontsize-tool.component';
35
- import { SpreadsheetBackColorComponent } from './tools/colorpicker/spreadsheet-backcolor.component';
36
- import { SpreadsheetForeColorComponent } from './tools/colorpicker/spreadsheet-forecolor.component';
37
- import { SpreadsheetGridLinesDirective } from './tools/gridlines-tool.directive';
38
- import { SpreadsheetAddColumnLeftButtonDirective } from './tools/tables/add-column-left-button.directive';
39
- import { SpreadsheetAddColumnRightButtonDirective } from './tools/tables/add-column-right-button.directive';
40
- import { SpreadsheetAddRowAboveButtonDirective } from './tools/tables/add-row-above-button.directive';
41
- import { SpreadsheetAddRowBelowButtonDirective } from './tools/tables/add-row-below-button.directive';
42
- import { SpreadsheetDeleteColumnButtonDirective } from './tools/tables/delete-column-button.directive';
43
- import { SpreadsheetDeleteRowButtonDirective } from './tools/tables/delete-row-button.directive';
44
- import { SpreadsheetTextAlignDirective } from './tools/align/align-tool.directive';
45
- import { SpreadsheetTextWrapDirective } from './tools/text-wrap-tool.directive';
46
- import { DialogModule } from '@progress/kendo-angular-dialog';
47
- import { FontFamilyDropDownListComponent } from './tools/font-family/font-family-dropdownlist.component';
48
- import { FontSizeDropDownListComponent } from './tools/font-size/font-size-dropdownlist.component';
49
- import { DialogContentComponent } from './tools/shared/dialog-content.component';
50
- import { MenusModule } from '@progress/kendo-angular-menu';
51
- import { MainMenuDirective } from './common/main-menu.directive';
52
- import { ActionDialogComponent } from './sheets-bar/action-dialog.component';
53
- import { SpreadsheetMergeDirective } from './tools/tables/merge-tool.directive';
54
- import { SpreadsheetInsertLinkDirective } from './tools/insert/insert-link-tool.directive';
55
- import { InsertLinkDialogComponent } from './tools/insert/insert-link-dialog.component';
56
- import { SpreadsheetIncreaseFontSizeDirective } from './tools/font-size/increase-font-tool.directive';
57
- import { SpreadsheetDecreaseFontSizeDirective } from './tools/font-size/decrease-font-tool.directive';
58
- import { SpreadsheetIncreaseDecimalDirective } from './tools/increase-decimal-tool.directive';
59
- import { SpreadsheetDecreaseDecimalDirective } from './tools/decrease-decimal-tool.directive';
60
- import { SpreadsheetHorizontalTextAlignDirective } from './tools/align/horizontal-align-tool.directive';
61
- import { SpreadsheetVerticalTextAlignDirective } from './tools/align/vertical-align-tool.directive';
6
+ import { KENDO_SPREADSHEET } from './directives';
7
+ import { IconsService } from '@progress/kendo-angular-icons';
8
+ import { PopupService } from '@progress/kendo-angular-popup';
9
+ import { ResizeBatchService } from '@progress/kendo-angular-common';
10
+ import { DialogContainerService, DialogService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
62
11
  import * as i0 from "@angular/core";
63
- const DIRECTIVES = [
64
- SpreadsheetComponent,
65
- MessagesDirective,
66
- LocalizedMessagesDirective,
67
- CustomMessagesComponent,
68
- FormulaListComponent,
69
- FormulaInputDirective,
70
- NameBoxComponent,
71
- SheetsBarComponent,
72
- SpreadsheetBoldDirective,
73
- SpreadsheetItalicDirective,
74
- SpreadsheetUnderlineDirective,
75
- SpreadsheetLoadFileComponent,
76
- SpreadsheetSaveFileDirective,
77
- SpreadsheetFormatDirective,
78
- SpreadsheetUndoDirective,
79
- SpreadsheetRedoDirective,
80
- SpreadsheetFontFamilyComponent,
81
- SpreadsheetFontSizeComponent,
82
- SpreadsheetBackColorComponent,
83
- SpreadsheetForeColorComponent,
84
- SpreadsheetGridLinesDirective,
85
- SpreadsheetAddColumnLeftButtonDirective,
86
- SpreadsheetAddColumnRightButtonDirective,
87
- SpreadsheetAddRowAboveButtonDirective,
88
- SpreadsheetAddRowBelowButtonDirective,
89
- SpreadsheetDeleteColumnButtonDirective,
90
- SpreadsheetDeleteRowButtonDirective,
91
- SpreadsheetTextAlignDirective,
92
- SpreadsheetTextWrapDirective,
93
- FontFamilyDropDownListComponent,
94
- FontSizeDropDownListComponent,
95
- DialogContentComponent,
96
- MainMenuDirective,
97
- ActionDialogComponent,
98
- SpreadsheetMergeDirective,
99
- SpreadsheetInsertLinkDirective,
100
- InsertLinkDialogComponent,
101
- SpreadsheetIncreaseFontSizeDirective,
102
- SpreadsheetDecreaseFontSizeDirective,
103
- SpreadsheetIncreaseDecimalDirective,
104
- SpreadsheetDecreaseDecimalDirective,
105
- SpreadsheetHorizontalTextAlignDirective,
106
- SpreadsheetVerticalTextAlignDirective
107
- ];
108
- const EXPORTS = [
109
- SpreadsheetComponent,
110
- CustomMessagesComponent,
111
- SpreadsheetBoldDirective,
112
- SpreadsheetItalicDirective,
113
- SpreadsheetUnderlineDirective,
114
- SpreadsheetLoadFileComponent,
115
- SpreadsheetSaveFileDirective,
116
- SpreadsheetFormatDirective,
117
- SpreadsheetUndoDirective,
118
- SpreadsheetRedoDirective,
119
- SpreadsheetFontFamilyComponent,
120
- SpreadsheetFontSizeComponent,
121
- SpreadsheetBackColorComponent,
122
- SpreadsheetForeColorComponent,
123
- SpreadsheetGridLinesDirective,
124
- SpreadsheetAddColumnLeftButtonDirective,
125
- SpreadsheetAddColumnRightButtonDirective,
126
- SpreadsheetAddRowAboveButtonDirective,
127
- SpreadsheetAddRowBelowButtonDirective,
128
- SpreadsheetDeleteColumnButtonDirective,
129
- SpreadsheetDeleteRowButtonDirective,
130
- SpreadsheetTextAlignDirective,
131
- SpreadsheetTextWrapDirective,
132
- SpreadsheetMergeDirective,
133
- SpreadsheetInsertLinkDirective,
134
- SpreadsheetIncreaseFontSizeDirective,
135
- SpreadsheetDecreaseFontSizeDirective,
136
- SpreadsheetIncreaseDecimalDirective,
137
- SpreadsheetDecreaseDecimalDirective,
138
- SpreadsheetHorizontalTextAlignDirective,
139
- SpreadsheetVerticalTextAlignDirective
140
- ];
12
+ import * as i1 from "./spreadsheet.component";
13
+ import * as i2 from "./localization/custom-messages.component";
14
+ import * as i3 from "./tools/typographical-emphasis/bold-tool.directive";
15
+ import * as i4 from "./tools/typographical-emphasis/italic-tool.directive";
16
+ import * as i5 from "./tools/typographical-emphasis/underline-tool.directive";
17
+ import * as i6 from "./tools/load-file.component";
18
+ import * as i7 from "./tools/save-file-tool.directive";
19
+ import * as i8 from "./tools/format-tool.directive";
20
+ import * as i9 from "./tools/history/undo-tool";
21
+ import * as i10 from "./tools/history/redo-tool";
22
+ import * as i11 from "./tools/font-family/spreadsheet-fontfamily-tool.component";
23
+ import * as i12 from "./tools/font-size/spreadsheet-fontsize-tool.component";
24
+ import * as i13 from "./tools/colorpicker/spreadsheet-backcolor.component";
25
+ import * as i14 from "./tools/colorpicker/spreadsheet-forecolor.component";
26
+ import * as i15 from "./tools/gridlines-tool.directive";
27
+ import * as i16 from "./tools/tables/add-column-left-button.directive";
28
+ import * as i17 from "./tools/tables/add-column-right-button.directive";
29
+ import * as i18 from "./tools/tables/add-row-above-button.directive";
30
+ import * as i19 from "./tools/tables/add-row-below-button.directive";
31
+ import * as i20 from "./tools/tables/delete-column-button.directive";
32
+ import * as i21 from "./tools/tables/delete-row-button.directive";
33
+ import * as i22 from "./tools/align/align-tool.directive";
34
+ import * as i23 from "./tools/text-wrap-tool.directive";
35
+ import * as i24 from "./tools/tables/merge-tool.directive";
36
+ import * as i25 from "./tools/insert/insert-link-tool.directive";
37
+ import * as i26 from "./tools/font-size/increase-font-tool.directive";
38
+ import * as i27 from "./tools/font-size/decrease-font-tool.directive";
39
+ import * as i28 from "./tools/increase-decimal-tool.directive";
40
+ import * as i29 from "./tools/decrease-decimal-tool.directive";
41
+ import * as i30 from "./tools/align/horizontal-align-tool.directive";
42
+ import * as i31 from "./tools/align/vertical-align-tool.directive";
43
+ // IMPORTANT: NgModule export kept for backwards compatibility
141
44
  /**
142
45
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
143
46
  * definition for the Spreadsheet component.
@@ -145,129 +48,13 @@ const EXPORTS = [
145
48
  export class SpreadsheetModule {
146
49
  }
147
50
  SpreadsheetModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
148
- SpreadsheetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetModule, declarations: [SpreadsheetComponent,
149
- MessagesDirective,
150
- LocalizedMessagesDirective,
151
- CustomMessagesComponent,
152
- FormulaListComponent,
153
- FormulaInputDirective,
154
- NameBoxComponent,
155
- SheetsBarComponent,
156
- SpreadsheetBoldDirective,
157
- SpreadsheetItalicDirective,
158
- SpreadsheetUnderlineDirective,
159
- SpreadsheetLoadFileComponent,
160
- SpreadsheetSaveFileDirective,
161
- SpreadsheetFormatDirective,
162
- SpreadsheetUndoDirective,
163
- SpreadsheetRedoDirective,
164
- SpreadsheetFontFamilyComponent,
165
- SpreadsheetFontSizeComponent,
166
- SpreadsheetBackColorComponent,
167
- SpreadsheetForeColorComponent,
168
- SpreadsheetGridLinesDirective,
169
- SpreadsheetAddColumnLeftButtonDirective,
170
- SpreadsheetAddColumnRightButtonDirective,
171
- SpreadsheetAddRowAboveButtonDirective,
172
- SpreadsheetAddRowBelowButtonDirective,
173
- SpreadsheetDeleteColumnButtonDirective,
174
- SpreadsheetDeleteRowButtonDirective,
175
- SpreadsheetTextAlignDirective,
176
- SpreadsheetTextWrapDirective,
177
- FontFamilyDropDownListComponent,
178
- FontSizeDropDownListComponent,
179
- DialogContentComponent,
180
- MainMenuDirective,
181
- ActionDialogComponent,
182
- SpreadsheetMergeDirective,
183
- SpreadsheetInsertLinkDirective,
184
- InsertLinkDialogComponent,
185
- SpreadsheetIncreaseFontSizeDirective,
186
- SpreadsheetDecreaseFontSizeDirective,
187
- SpreadsheetIncreaseDecimalDirective,
188
- SpreadsheetDecreaseDecimalDirective,
189
- SpreadsheetHorizontalTextAlignDirective,
190
- SpreadsheetVerticalTextAlignDirective], imports: [CommonModule,
191
- ButtonsModule,
192
- ComboBoxModule,
193
- DropDownListModule,
194
- DialogModule,
195
- EventsModule,
196
- IconsModule,
197
- IntlModule,
198
- MenusModule,
199
- PopupModule,
200
- TabStripModule,
201
- ToolBarModule,
202
- InputsModule,
203
- WatermarkModule,
204
- LabelModule], exports: [SpreadsheetComponent,
205
- CustomMessagesComponent,
206
- SpreadsheetBoldDirective,
207
- SpreadsheetItalicDirective,
208
- SpreadsheetUnderlineDirective,
209
- SpreadsheetLoadFileComponent,
210
- SpreadsheetSaveFileDirective,
211
- SpreadsheetFormatDirective,
212
- SpreadsheetUndoDirective,
213
- SpreadsheetRedoDirective,
214
- SpreadsheetFontFamilyComponent,
215
- SpreadsheetFontSizeComponent,
216
- SpreadsheetBackColorComponent,
217
- SpreadsheetForeColorComponent,
218
- SpreadsheetGridLinesDirective,
219
- SpreadsheetAddColumnLeftButtonDirective,
220
- SpreadsheetAddColumnRightButtonDirective,
221
- SpreadsheetAddRowAboveButtonDirective,
222
- SpreadsheetAddRowBelowButtonDirective,
223
- SpreadsheetDeleteColumnButtonDirective,
224
- SpreadsheetDeleteRowButtonDirective,
225
- SpreadsheetTextAlignDirective,
226
- SpreadsheetTextWrapDirective,
227
- SpreadsheetMergeDirective,
228
- SpreadsheetInsertLinkDirective,
229
- SpreadsheetIncreaseFontSizeDirective,
230
- SpreadsheetDecreaseFontSizeDirective,
231
- SpreadsheetIncreaseDecimalDirective,
232
- SpreadsheetDecreaseDecimalDirective,
233
- SpreadsheetHorizontalTextAlignDirective,
234
- SpreadsheetVerticalTextAlignDirective] });
235
- SpreadsheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetModule, imports: [CommonModule,
236
- ButtonsModule,
237
- ComboBoxModule,
238
- DropDownListModule,
239
- DialogModule,
240
- EventsModule,
241
- IconsModule,
242
- IntlModule,
243
- MenusModule,
244
- PopupModule,
245
- TabStripModule,
246
- ToolBarModule,
247
- InputsModule,
248
- WatermarkModule,
249
- LabelModule] });
51
+ SpreadsheetModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetModule, imports: [i1.SpreadsheetComponent, i2.CustomMessagesComponent, i3.SpreadsheetBoldDirective, i4.SpreadsheetItalicDirective, i5.SpreadsheetUnderlineDirective, i6.SpreadsheetLoadFileComponent, i7.SpreadsheetSaveFileDirective, i8.SpreadsheetFormatDirective, i9.SpreadsheetUndoDirective, i10.SpreadsheetRedoDirective, i11.SpreadsheetFontFamilyComponent, i12.SpreadsheetFontSizeComponent, i13.SpreadsheetBackColorComponent, i14.SpreadsheetForeColorComponent, i15.SpreadsheetGridLinesDirective, i16.SpreadsheetAddColumnLeftButtonDirective, i17.SpreadsheetAddColumnRightButtonDirective, i18.SpreadsheetAddRowAboveButtonDirective, i19.SpreadsheetAddRowBelowButtonDirective, i20.SpreadsheetDeleteColumnButtonDirective, i21.SpreadsheetDeleteRowButtonDirective, i22.SpreadsheetTextAlignDirective, i23.SpreadsheetTextWrapDirective, i24.SpreadsheetMergeDirective, i25.SpreadsheetInsertLinkDirective, i26.SpreadsheetIncreaseFontSizeDirective, i27.SpreadsheetDecreaseFontSizeDirective, i28.SpreadsheetIncreaseDecimalDirective, i29.SpreadsheetDecreaseDecimalDirective, i30.SpreadsheetHorizontalTextAlignDirective, i31.SpreadsheetVerticalTextAlignDirective], exports: [i1.SpreadsheetComponent, i2.CustomMessagesComponent, i3.SpreadsheetBoldDirective, i4.SpreadsheetItalicDirective, i5.SpreadsheetUnderlineDirective, i6.SpreadsheetLoadFileComponent, i7.SpreadsheetSaveFileDirective, i8.SpreadsheetFormatDirective, i9.SpreadsheetUndoDirective, i10.SpreadsheetRedoDirective, i11.SpreadsheetFontFamilyComponent, i12.SpreadsheetFontSizeComponent, i13.SpreadsheetBackColorComponent, i14.SpreadsheetForeColorComponent, i15.SpreadsheetGridLinesDirective, i16.SpreadsheetAddColumnLeftButtonDirective, i17.SpreadsheetAddColumnRightButtonDirective, i18.SpreadsheetAddRowAboveButtonDirective, i19.SpreadsheetAddRowBelowButtonDirective, i20.SpreadsheetDeleteColumnButtonDirective, i21.SpreadsheetDeleteRowButtonDirective, i22.SpreadsheetTextAlignDirective, i23.SpreadsheetTextWrapDirective, i24.SpreadsheetMergeDirective, i25.SpreadsheetInsertLinkDirective, i26.SpreadsheetIncreaseFontSizeDirective, i27.SpreadsheetDecreaseFontSizeDirective, i28.SpreadsheetIncreaseDecimalDirective, i29.SpreadsheetDecreaseDecimalDirective, i30.SpreadsheetHorizontalTextAlignDirective, i31.SpreadsheetVerticalTextAlignDirective] });
52
+ SpreadsheetModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetModule, providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService], imports: [i1.SpreadsheetComponent, i6.SpreadsheetLoadFileComponent, i11.SpreadsheetFontFamilyComponent, i12.SpreadsheetFontSizeComponent, i13.SpreadsheetBackColorComponent, i14.SpreadsheetForeColorComponent] });
250
53
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetModule, decorators: [{
251
54
  type: NgModule,
252
55
  args: [{
253
- declarations: [DIRECTIVES],
254
- exports: [EXPORTS],
255
- imports: [
256
- CommonModule,
257
- ButtonsModule,
258
- ComboBoxModule,
259
- DropDownListModule,
260
- DialogModule,
261
- EventsModule,
262
- IconsModule,
263
- IntlModule,
264
- MenusModule,
265
- PopupModule,
266
- TabStripModule,
267
- ToolBarModule,
268
- InputsModule,
269
- WatermarkModule,
270
- LabelModule
271
- ]
56
+ exports: [...KENDO_SPREADSHEET],
57
+ imports: [...KENDO_SPREADSHEET],
58
+ providers: [IconsService, PopupService, ResizeBatchService, DialogContainerService, DialogService, WindowService, WindowContainerService]
272
59
  }]
273
60
  }] });
@@ -49,10 +49,11 @@ export class SpreadsheetTextAlignDirective {
49
49
  }
50
50
  }
51
51
  SpreadsheetTextAlignDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetTextAlignDirective, deps: [{ token: i1.ToolBarDropDownButtonComponent }, { token: i2.SpreadsheetLocalizationService }, { token: i3.SpreadsheetService }, { token: i4.SpreadsheetToolsService }], target: i0.ɵɵFactoryTarget.Directive });
52
- SpreadsheetTextAlignDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SpreadsheetTextAlignDirective, selector: "[kendoSpreadsheetTextAlign]", ngImport: i0 });
52
+ SpreadsheetTextAlignDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SpreadsheetTextAlignDirective, isStandalone: true, selector: "[kendoSpreadsheetTextAlign]", ngImport: i0 });
53
53
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetTextAlignDirective, decorators: [{
54
54
  type: Directive,
55
55
  args: [{
56
56
  selector: '[kendoSpreadsheetTextAlign]',
57
+ standalone: true
57
58
  }]
58
59
  }], ctorParameters: function () { return [{ type: i1.ToolBarDropDownButtonComponent }, { type: i2.SpreadsheetLocalizationService }, { type: i3.SpreadsheetService }, { type: i4.SpreadsheetToolsService }]; } });
@@ -49,10 +49,11 @@ export class SpreadsheetHorizontalTextAlignDirective {
49
49
  }
50
50
  }
51
51
  SpreadsheetHorizontalTextAlignDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetHorizontalTextAlignDirective, deps: [{ token: i1.ToolBarDropDownButtonComponent }, { token: i2.SpreadsheetLocalizationService }, { token: i3.SpreadsheetService }, { token: i4.SpreadsheetToolsService }], target: i0.ɵɵFactoryTarget.Directive });
52
- SpreadsheetHorizontalTextAlignDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SpreadsheetHorizontalTextAlignDirective, selector: "[kendoSpreadsheetHorizontalTextAlign]", ngImport: i0 });
52
+ SpreadsheetHorizontalTextAlignDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SpreadsheetHorizontalTextAlignDirective, isStandalone: true, selector: "[kendoSpreadsheetHorizontalTextAlign]", ngImport: i0 });
53
53
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetHorizontalTextAlignDirective, decorators: [{
54
54
  type: Directive,
55
55
  args: [{
56
56
  selector: '[kendoSpreadsheetHorizontalTextAlign]',
57
+ standalone: true
57
58
  }]
58
59
  }], ctorParameters: function () { return [{ type: i1.ToolBarDropDownButtonComponent }, { type: i2.SpreadsheetLocalizationService }, { type: i3.SpreadsheetService }, { type: i4.SpreadsheetToolsService }]; } });
@@ -49,10 +49,11 @@ export class SpreadsheetVerticalTextAlignDirective {
49
49
  }
50
50
  }
51
51
  SpreadsheetVerticalTextAlignDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetVerticalTextAlignDirective, deps: [{ token: i1.ToolBarDropDownButtonComponent }, { token: i2.SpreadsheetLocalizationService }, { token: i3.SpreadsheetService }, { token: i4.SpreadsheetToolsService }], target: i0.ɵɵFactoryTarget.Directive });
52
- SpreadsheetVerticalTextAlignDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SpreadsheetVerticalTextAlignDirective, selector: "[kendoSpreadsheetVerticalTextAlign]", ngImport: i0 });
52
+ SpreadsheetVerticalTextAlignDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SpreadsheetVerticalTextAlignDirective, isStandalone: true, selector: "[kendoSpreadsheetVerticalTextAlign]", ngImport: i0 });
53
53
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetVerticalTextAlignDirective, decorators: [{
54
54
  type: Directive,
55
55
  args: [{
56
56
  selector: '[kendoSpreadsheetVerticalTextAlign]',
57
+ standalone: true
57
58
  }]
58
59
  }], ctorParameters: function () { return [{ type: i1.ToolBarDropDownButtonComponent }, { type: i2.SpreadsheetLocalizationService }, { type: i3.SpreadsheetService }, { type: i4.SpreadsheetToolsService }]; } });
@@ -9,15 +9,15 @@ import { SpreadsheetService } from '../../common/spreadsheet.service';
9
9
  import { SpreadsheetToolsService } from '../tools.service';
10
10
  import { SpreadsheetDropDownToolBase } from '../shared/spreadsheet-dropdown-tools-base';
11
11
  import { DialogService } from '@progress/kendo-angular-dialog';
12
+ import { NgIf } from '@angular/common';
13
+ import { IconWrapperComponent } from '@progress/kendo-angular-icons';
14
+ import { ColorPickerComponent } from '@progress/kendo-angular-inputs';
12
15
  import * as i0 from "@angular/core";
13
16
  import * as i1 from "@progress/kendo-angular-dialog";
14
17
  import * as i2 from "../../localization/spreadsheet-localization.service";
15
18
  import * as i3 from "../../common/spreadsheet.service";
16
19
  import * as i4 from "../tools.service";
17
- import * as i5 from "@angular/common";
18
- import * as i6 from "@progress/kendo-angular-icons";
19
- import * as i7 from "@progress/kendo-angular-inputs";
20
- import * as i8 from "@progress/kendo-angular-toolbar";
20
+ import * as i5 from "@progress/kendo-angular-toolbar";
21
21
  /**
22
22
  * A component which changes the background color of the text ([more information](ToDo).
23
23
  * @hidden
@@ -28,7 +28,7 @@ export class SpreadsheetBackColorComponent extends SpreadsheetDropDownToolBase {
28
28
  }
29
29
  }
30
30
  SpreadsheetBackColorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetBackColorComponent, deps: [{ token: i1.DialogService }, { token: i2.SpreadsheetLocalizationService }, { token: i3.SpreadsheetService }, { token: i4.SpreadsheetToolsService }, { token: ToolBarComponent }], target: i0.ɵɵFactoryTarget.Component });
31
- SpreadsheetBackColorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SpreadsheetBackColorComponent, selector: "kendo-spreadsheet-backcolor-tool", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => SpreadsheetBackColorComponent) }], usesInheritance: true, ngImport: i0, template: `
31
+ SpreadsheetBackColorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SpreadsheetBackColorComponent, isStandalone: true, selector: "kendo-spreadsheet-backcolor-tool", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => SpreadsheetBackColorComponent) }], usesInheritance: true, ngImport: i0, template: `
32
32
  <ng-template #toolbarTemplate>
33
33
  <kendo-colorpicker
34
34
  #element
@@ -56,7 +56,7 @@ SpreadsheetBackColorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "1
56
56
  </span>
57
57
  </div>
58
58
  </ng-template>
59
- `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: i7.ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }] });
59
+ `, isInline: true, dependencies: [{ kind: "component", type: ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
60
60
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SpreadsheetBackColorComponent, decorators: [{
61
61
  type: Component,
62
62
  args: [{
@@ -90,9 +90,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
90
90
  </span>
91
91
  </div>
92
92
  </ng-template>
93
- `
93
+ `,
94
+ standalone: true,
95
+ imports: [ColorPickerComponent, IconWrapperComponent, NgIf]
94
96
  }]
95
- }], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i2.SpreadsheetLocalizationService }, { type: i3.SpreadsheetService }, { type: i4.SpreadsheetToolsService }, { type: i8.ToolBarComponent, decorators: [{
97
+ }], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i2.SpreadsheetLocalizationService }, { type: i3.SpreadsheetService }, { type: i4.SpreadsheetToolsService }, { type: i5.ToolBarComponent, decorators: [{
96
98
  type: Inject,
97
99
  args: [ToolBarComponent]
98
100
  }] }]; } });