@progress/kendo-angular-editor 16.5.0-develop.6 → 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 (125) hide show
  1. package/dialogs/colorpicker-dialog.component.d.ts +2 -2
  2. package/dialogs/file-link-dialog.component.d.ts +2 -2
  3. package/dialogs/font-family-dialog.component.d.ts +1 -1
  4. package/dialogs/font-size-dialog.component.d.ts +1 -1
  5. package/dialogs/format-dialog.component.d.ts +1 -1
  6. package/dialogs/image-dialog.component.d.ts +2 -2
  7. package/dialogs/insert-table-dialog.component.d.ts +1 -1
  8. package/dialogs/source-dialog.component.d.ts +1 -1
  9. package/directives.d.ts +51 -0
  10. package/editor.component.d.ts +7 -7
  11. package/editor.module.d.ts +14 -36
  12. package/esm2020/dialogs/colorpicker-dialog.component.mjs +7 -6
  13. package/esm2020/dialogs/file-link-dialog.component.mjs +12 -11
  14. package/esm2020/dialogs/font-family-dialog.component.mjs +7 -6
  15. package/esm2020/dialogs/font-size-dialog.component.mjs +7 -6
  16. package/esm2020/dialogs/format-dialog.component.mjs +7 -6
  17. package/esm2020/dialogs/image-dialog.component.mjs +11 -10
  18. package/esm2020/dialogs/insert-table-dialog.component.mjs +8 -6
  19. package/esm2020/dialogs/source-dialog.component.mjs +7 -6
  20. package/esm2020/directives.mjs +97 -0
  21. package/esm2020/editor.component.mjs +30 -30
  22. package/esm2020/editor.module.mjs +56 -349
  23. package/esm2020/index.mjs +1 -0
  24. package/esm2020/localization/custom-messages.component.mjs +3 -2
  25. package/esm2020/localization/localized-messages.directive.mjs +3 -2
  26. package/esm2020/package-metadata.mjs +2 -2
  27. package/esm2020/tools/alignment/editor-align-center-button.directive.mjs +3 -2
  28. package/esm2020/tools/alignment/editor-align-justify-button.directive.mjs +3 -2
  29. package/esm2020/tools/alignment/editor-align-left-button.directive.mjs +3 -2
  30. package/esm2020/tools/alignment/editor-align-right-button.directive.mjs +3 -2
  31. package/esm2020/tools/blockquote/editor-blockquote-button.directive.mjs +3 -2
  32. package/esm2020/tools/colorpicker/editor-back-color.directive.mjs +3 -2
  33. package/esm2020/tools/colorpicker/editor-colorpicker.component.mjs +9 -8
  34. package/esm2020/tools/colorpicker/editor-fore-color.directive.mjs +3 -2
  35. package/esm2020/tools/editor-clean-formatting-button.directive.mjs +3 -2
  36. package/esm2020/tools/fontfamily/editor-fontfamily-dropdownlist.component.mjs +8 -7
  37. package/esm2020/tools/fontfamily/editor-fontfamily.component.mjs +9 -8
  38. package/esm2020/tools/fontsize/editor-fontsize-dropdownlist.component.mjs +6 -5
  39. package/esm2020/tools/fontsize/editor-fontsize.component.mjs +9 -8
  40. package/esm2020/tools/format/editor-format-dropdownlist.component.mjs +8 -7
  41. package/esm2020/tools/format/editor-format.component.mjs +8 -7
  42. package/esm2020/tools/history/editor-redo-button.directive.mjs +3 -2
  43. package/esm2020/tools/history/editor-undo-button.directive.mjs +3 -2
  44. package/esm2020/tools/image/editor-insert-image-button.directive.mjs +3 -2
  45. package/esm2020/tools/indentation/editor-indent-button.directive.mjs +3 -2
  46. package/esm2020/tools/indentation/editor-outdent-button.directive.mjs +3 -2
  47. package/esm2020/tools/link/editor-create-link-button.directive.mjs +3 -2
  48. package/esm2020/tools/link/editor-insert-file-button.directive.mjs +3 -2
  49. package/esm2020/tools/link/editor-unlink-button.directive.mjs +3 -2
  50. package/esm2020/tools/list/editor-insert-ordered-list-button.directive.mjs +3 -2
  51. package/esm2020/tools/list/editor-insert-unordered-list-button.directive.mjs +3 -2
  52. package/esm2020/tools/print/editor-print-button.directive.mjs +3 -2
  53. package/esm2020/tools/select-all/select-all-button.directive.mjs +3 -2
  54. package/esm2020/tools/shared/dropdown-tool.directive.mjs +5 -2
  55. package/esm2020/tools/source/editor-view-source-button.directive.mjs +3 -2
  56. package/esm2020/tools/tables/editor-add-column-after-button.directive.mjs +3 -2
  57. package/esm2020/tools/tables/editor-add-column-before-button.directive.mjs +3 -2
  58. package/esm2020/tools/tables/editor-add-row-after-button.directive.mjs +3 -2
  59. package/esm2020/tools/tables/editor-add-row-before-button.directive.mjs +3 -2
  60. package/esm2020/tools/tables/editor-delete-column-button.directive.mjs +3 -2
  61. package/esm2020/tools/tables/editor-delete-row-button.directive.mjs +3 -2
  62. package/esm2020/tools/tables/editor-delete-table-button.directive.mjs +3 -2
  63. package/esm2020/tools/tables/editor-insert-table-button.component.mjs +11 -9
  64. package/esm2020/tools/tables/editor-merge-cells-button.directive.mjs +3 -2
  65. package/esm2020/tools/tables/editor-split-cell-button.directive.mjs +3 -2
  66. package/esm2020/tools/tables/popup-table-grid.component.mjs +6 -4
  67. package/esm2020/tools/typographical-emphasis/editor-bold-button.directive.mjs +3 -2
  68. package/esm2020/tools/typographical-emphasis/editor-italic-button.directive.mjs +3 -2
  69. package/esm2020/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs +3 -2
  70. package/esm2020/tools/typographical-emphasis/editor-subscript-button.directive.mjs +3 -2
  71. package/esm2020/tools/typographical-emphasis/editor-superscript-button.directive.mjs +3 -2
  72. package/esm2020/tools/typographical-emphasis/editor-underline-button.directive.mjs +3 -2
  73. package/fesm2015/progress-kendo-angular-editor.mjs +693 -857
  74. package/fesm2020/progress-kendo-angular-editor.mjs +670 -833
  75. package/index.d.ts +1 -0
  76. package/localization/custom-messages.component.d.ts +1 -1
  77. package/localization/localized-messages.directive.d.ts +1 -1
  78. package/package.json +14 -14
  79. package/schematics/ngAdd/index.js +4 -4
  80. package/tools/alignment/editor-align-center-button.directive.d.ts +1 -1
  81. package/tools/alignment/editor-align-justify-button.directive.d.ts +1 -1
  82. package/tools/alignment/editor-align-left-button.directive.d.ts +1 -1
  83. package/tools/alignment/editor-align-right-button.directive.d.ts +1 -1
  84. package/tools/blockquote/editor-blockquote-button.directive.d.ts +1 -1
  85. package/tools/colorpicker/editor-back-color.directive.d.ts +1 -1
  86. package/tools/colorpicker/editor-colorpicker.component.d.ts +3 -3
  87. package/tools/colorpicker/editor-fore-color.directive.d.ts +1 -1
  88. package/tools/editor-clean-formatting-button.directive.d.ts +1 -1
  89. package/tools/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +1 -1
  90. package/tools/fontfamily/editor-fontfamily.component.d.ts +3 -3
  91. package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +1 -1
  92. package/tools/fontsize/editor-fontsize.component.d.ts +3 -3
  93. package/tools/format/editor-format-dropdownlist.component.d.ts +1 -1
  94. package/tools/format/editor-format.component.d.ts +2 -2
  95. package/tools/history/editor-redo-button.directive.d.ts +1 -1
  96. package/tools/history/editor-undo-button.directive.d.ts +1 -1
  97. package/tools/image/editor-insert-image-button.directive.d.ts +1 -1
  98. package/tools/indentation/editor-indent-button.directive.d.ts +1 -1
  99. package/tools/indentation/editor-outdent-button.directive.d.ts +1 -1
  100. package/tools/link/editor-create-link-button.directive.d.ts +1 -1
  101. package/tools/link/editor-insert-file-button.directive.d.ts +1 -1
  102. package/tools/link/editor-unlink-button.directive.d.ts +1 -1
  103. package/tools/list/editor-insert-ordered-list-button.directive.d.ts +1 -1
  104. package/tools/list/editor-insert-unordered-list-button.directive.d.ts +1 -1
  105. package/tools/print/editor-print-button.directive.d.ts +1 -1
  106. package/tools/select-all/select-all-button.directive.d.ts +1 -1
  107. package/tools/shared/dropdown-tool.directive.d.ts +1 -1
  108. package/tools/source/editor-view-source-button.directive.d.ts +1 -1
  109. package/tools/tables/editor-add-column-after-button.directive.d.ts +1 -1
  110. package/tools/tables/editor-add-column-before-button.directive.d.ts +1 -1
  111. package/tools/tables/editor-add-row-after-button.directive.d.ts +1 -1
  112. package/tools/tables/editor-add-row-before-button.directive.d.ts +1 -1
  113. package/tools/tables/editor-delete-column-button.directive.d.ts +1 -1
  114. package/tools/tables/editor-delete-row-button.directive.d.ts +1 -1
  115. package/tools/tables/editor-delete-table-button.directive.d.ts +1 -1
  116. package/tools/tables/editor-insert-table-button.component.d.ts +3 -3
  117. package/tools/tables/editor-merge-cells-button.directive.d.ts +1 -1
  118. package/tools/tables/editor-split-cell-button.directive.d.ts +1 -1
  119. package/tools/tables/popup-table-grid.component.d.ts +1 -1
  120. package/tools/typographical-emphasis/editor-bold-button.directive.d.ts +1 -1
  121. package/tools/typographical-emphasis/editor-italic-button.directive.d.ts +1 -1
  122. package/tools/typographical-emphasis/editor-strikethrough-button.directive.d.ts +1 -1
  123. package/tools/typographical-emphasis/editor-subscript-button.directive.d.ts +1 -1
  124. package/tools/typographical-emphasis/editor-superscript-button.directive.d.ts +1 -1
  125. package/tools/typographical-emphasis/editor-underline-button.directive.d.ts +1 -1
@@ -3,20 +3,19 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, Input, ViewChild } from '@angular/core';
6
- import { FormControl, FormGroup, Validators } from '@angular/forms';
7
- import { DialogRef, DialogContentBase } from '@progress/kendo-angular-dialog';
6
+ import { FormControl, FormGroup, Validators, ReactiveFormsModule } from '@angular/forms';
7
+ import { DialogRef, DialogContentBase, DialogActionsComponent, DialogTitleBarComponent } from '@progress/kendo-angular-dialog';
8
8
  import { getNodeFromSelection } from '@progress/kendo-editor-common';
9
+ import { guid } from '@progress/kendo-angular-common';
10
+ import { TextBoxComponent, FormFieldComponent } from '@progress/kendo-angular-inputs';
11
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
12
+ import { LabelComponent } from '@progress/kendo-angular-label';
9
13
  import { safeString } from '../util';
10
14
  import { EditorLocalizationService } from '../localization/editor-localization.service';
11
- import { guid } from '@progress/kendo-angular-common';
12
- import { TextBoxComponent } from '@progress/kendo-angular-inputs';
13
15
  import * as i0 from "@angular/core";
14
16
  import * as i1 from "@progress/kendo-angular-dialog";
15
17
  import * as i2 from "../localization/editor-localization.service";
16
18
  import * as i3 from "@angular/forms";
17
- import * as i4 from "@progress/kendo-angular-buttons";
18
- import * as i5 from "@progress/kendo-angular-inputs";
19
- import * as i6 from "@progress/kendo-angular-label";
20
19
  /**
21
20
  * @hidden
22
21
  */
@@ -83,7 +82,7 @@ export class ImageDialogComponent extends DialogContentBase {
83
82
  }
84
83
  }
85
84
  ImageDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ImageDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
86
- ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ImageDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
85
+ ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ImageDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "srcInput", first: true, predicate: ["srcInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
87
86
  <kendo-dialog-titlebar (close)="onCancelAction()">
88
87
  {{ textFor('insertImage') }}
89
88
  </kendo-dialog-titlebar>
@@ -145,7 +144,7 @@ ImageDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
145
144
  (click)="onCancelAction()"
146
145
  >{{ textFor('dialogCancel') }}</button>
147
146
  </kendo-dialog-actions>
148
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i4.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: "component", type: i1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: i5.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"] }, { kind: "component", type: i5.FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { kind: "component", type: i6.LabelComponent, selector: "kendo-label", inputs: ["text", "for", "optional", "labelCssStyle", "labelCssClass"], exportAs: ["kendoLabel"] }] });
147
+ `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors"] }, { 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"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }] });
149
148
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ImageDialogComponent, decorators: [{
150
149
  type: Component,
151
150
  args: [{
@@ -211,7 +210,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
211
210
  (click)="onCancelAction()"
212
211
  >{{ textFor('dialogCancel') }}</button>
213
212
  </kendo-dialog-actions>
214
- `
213
+ `,
214
+ standalone: true,
215
+ imports: [DialogTitleBarComponent, FormFieldComponent, LabelComponent, TextBoxComponent, ReactiveFormsModule, DialogActionsComponent, ButtonComponent]
215
216
  }]
216
217
  }], ctorParameters: function () { return [{ type: i1.DialogRef }, { type: i2.EditorLocalizationService }]; }, propDecorators: { editor: [{
217
218
  type: Input
@@ -3,14 +3,14 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, Input } from '@angular/core';
6
- import { DialogRef, DialogContentBase } from '@progress/kendo-angular-dialog';
6
+ import { DialogRef, DialogContentBase, DialogActionsComponent, DialogTitleBarComponent } from '@progress/kendo-angular-dialog';
7
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
7
8
  import { EditorLocalizationService } from '../localization/editor-localization.service';
8
9
  import { EditorComponent } from '../editor.component';
10
+ import { PopupTableGridComponent } from '../tools/tables/popup-table-grid.component';
9
11
  import * as i0 from "@angular/core";
10
12
  import * as i1 from "@progress/kendo-angular-dialog";
11
13
  import * as i2 from "../localization/editor-localization.service";
12
- import * as i3 from "@progress/kendo-angular-buttons";
13
- import * as i4 from "../tools/tables/popup-table-grid.component";
14
14
  /**
15
15
  * @hidden
16
16
  */
@@ -37,7 +37,7 @@ export class InsertTableDialogComponent extends DialogContentBase {
37
37
  }
38
38
  }
39
39
  InsertTableDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsertTableDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
40
- InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: InsertTableDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, usesInheritance: true, ngImport: i0, template: `
40
+ InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: InsertTableDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, usesInheritance: true, ngImport: i0, template: `
41
41
  <kendo-dialog-titlebar (close)="onCancelAction()">
42
42
  {{ textFor('insertTable') }}
43
43
  </kendo-dialog-titlebar>
@@ -50,7 +50,7 @@ InsertTableDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
50
50
  (click)="onCancelAction()"
51
51
  >{{ textFor('dialogCancel') }}</button>
52
52
  </kendo-dialog-actions>
53
- `, isInline: true, dependencies: [{ kind: "component", type: i3.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: "component", type: i1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: i4.PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }] });
53
+ `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }] });
54
54
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: InsertTableDialogComponent, decorators: [{
55
55
  type: Component,
56
56
  args: [{
@@ -67,7 +67,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
67
67
  (click)="onCancelAction()"
68
68
  >{{ textFor('dialogCancel') }}</button>
69
69
  </kendo-dialog-actions>
70
- `
70
+ `,
71
+ standalone: true,
72
+ imports: [DialogTitleBarComponent, PopupTableGridComponent, DialogActionsComponent, ButtonComponent]
71
73
  }]
72
74
  }], ctorParameters: function () { return [{ type: i1.DialogRef }, { type: i2.EditorLocalizationService }]; }, propDecorators: { editor: [{
73
75
  type: Input
@@ -4,14 +4,13 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, ViewChild, Input } from '@angular/core';
6
6
  // import { EditorService } from '../editor.service';
7
- import { DialogRef, DialogContentBase } from '@progress/kendo-angular-dialog';
7
+ import { DialogRef, DialogContentBase, DialogActionsComponent, DialogTitleBarComponent } from '@progress/kendo-angular-dialog';
8
8
  import { TextAreaComponent } from '@progress/kendo-angular-inputs';
9
9
  import { EditorLocalizationService } from '../localization/editor-localization.service';
10
+ import { ButtonComponent } from '@progress/kendo-angular-buttons';
10
11
  import * as i0 from "@angular/core";
11
12
  import * as i1 from "@progress/kendo-angular-dialog";
12
13
  import * as i2 from "../localization/editor-localization.service";
13
- import * as i3 from "@progress/kendo-angular-buttons";
14
- import * as i4 from "@progress/kendo-angular-inputs";
15
14
  /**
16
15
  * @hidden
17
16
  */
@@ -48,7 +47,7 @@ export class SourceDialogComponent extends DialogContentBase {
48
47
  }
49
48
  }
50
49
  SourceDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourceDialogComponent, deps: [{ token: i1.DialogRef }, { token: i2.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
51
- SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SourceDialogComponent, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textarea"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
50
+ SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SourceDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor" }, viewQueries: [{ propertyName: "textarea", first: true, predicate: ["textarea"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
52
51
  <kendo-dialog-titlebar (close)="onCancelAction()">
53
52
  {{ textFor('viewSource') }}
54
53
  </kendo-dialog-titlebar>
@@ -71,7 +70,7 @@ SourceDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0",
71
70
  (click)="onCancelAction()"
72
71
  >{{ textFor('dialogCancel') }}</button>
73
72
  </kendo-dialog-actions>
74
- `, isInline: true, dependencies: [{ kind: "component", type: i3.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: "component", type: i1.DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: i1.DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: i4.TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }] });
73
+ `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "component", type: TextAreaComponent, selector: "kendo-textarea", inputs: ["focusableId", "flow", "inputAttributes", "adornmentsOrientation", "rows", "cols", "maxlength", "tabindex", "tabIndex", "resizable", "size", "rounded", "fillMode", "showPrefixSeparator", "showSuffixSeparator"], outputs: ["focus", "blur", "valueChange"], exportAs: ["kendoTextArea"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { 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"] }] });
75
74
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SourceDialogComponent, decorators: [{
76
75
  type: Component,
77
76
  args: [{
@@ -98,7 +97,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
98
97
  (click)="onCancelAction()"
99
98
  >{{ textFor('dialogCancel') }}</button>
100
99
  </kendo-dialog-actions>
101
- `
100
+ `,
101
+ standalone: true,
102
+ imports: [DialogTitleBarComponent, TextAreaComponent, DialogActionsComponent, ButtonComponent]
102
103
  }]
103
104
  }], ctorParameters: function () { return [{ type: i1.DialogRef }, { type: i2.EditorLocalizationService }]; }, propDecorators: { editor: [{
104
105
  type: Input
@@ -0,0 +1,97 @@
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 { EditorComponent } from './editor.component';
6
+ import { EditorFormatComponent } from './tools/format/editor-format.component';
7
+ import { EditorFontSizeComponent } from './tools/fontsize/editor-fontsize.component';
8
+ import { EditorFontFamilyComponent } from './tools/fontfamily/editor-fontfamily.component';
9
+ import { EditorColorPickerComponent } from './tools/colorpicker/editor-colorpicker.component';
10
+ import { EditorInsertTableButtonComponent } from './tools/tables/editor-insert-table-button.component';
11
+ import { EditorAlignLeftButtonDirective } from './tools/alignment/editor-align-left-button.directive';
12
+ import { EditorAlignCenterButtonDirective } from './tools/alignment/editor-align-center-button.directive';
13
+ import { EditorAlignRightButtonDirective } from './tools/alignment/editor-align-right-button.directive';
14
+ import { EditorAlignJustifyButtonDirective } from './tools/alignment/editor-align-justify-button.directive';
15
+ import { EditorBlockquoteDirective } from './tools/blockquote/editor-blockquote-button.directive';
16
+ import { EditorRedoButtonDirective } from './tools/history/editor-redo-button.directive';
17
+ import { EditorUndoButtonDirective } from './tools/history/editor-undo-button.directive';
18
+ import { EditorInsertImageButtonDirective } from './tools/image/editor-insert-image-button.directive';
19
+ import { EditorIndentButtonDirective } from './tools/indentation/editor-indent-button.directive';
20
+ import { EditorOutdentButtonDirective } from './tools/indentation/editor-outdent-button.directive';
21
+ import { EditorCreateLinkButtonDirective } from './tools/link/editor-create-link-button.directive';
22
+ import { EditorUnlinkButtonDirective } from './tools/link/editor-unlink-button.directive';
23
+ import { EditorInsertOrderedListButtonDirective } from './tools/list/editor-insert-ordered-list-button.directive';
24
+ import { EditorInsertUnorderedListButtonDirective } from './tools/list/editor-insert-unordered-list-button.directive';
25
+ import { EditorViewSourceButtonDirective } from './tools/source/editor-view-source-button.directive';
26
+ import { EditorBoldButtonDirective } from './tools/typographical-emphasis/editor-bold-button.directive';
27
+ import { EditorItalicButtonDirective } from './tools/typographical-emphasis/editor-italic-button.directive';
28
+ import { EditorUnderlineButtonDirective } from './tools/typographical-emphasis/editor-underline-button.directive';
29
+ import { EditorStrikethroughButtonDirective } from './tools/typographical-emphasis/editor-strikethrough-button.directive';
30
+ import { EditorSubscriptButtonDirective } from './tools/typographical-emphasis/editor-subscript-button.directive';
31
+ import { EditorSuperscriptButtonDirective } from './tools/typographical-emphasis/editor-superscript-button.directive';
32
+ import { EditorInsertFileButtonDirective } from './tools/link/editor-insert-file-button.directive';
33
+ import { EditorForeColorDirective } from './tools/colorpicker/editor-fore-color.directive';
34
+ import { EditorBackColorDirective } from './tools/colorpicker/editor-back-color.directive';
35
+ import { EditorCleanFormattingButtonDirective } from './tools/editor-clean-formatting-button.directive';
36
+ import { EditorAddColumnBeforeButtonDirective } from './tools/tables/editor-add-column-before-button.directive';
37
+ import { EditorAddColumnAfterButtonDirective } from './tools/tables/editor-add-column-after-button.directive';
38
+ import { EditorAddRowBeforeButtonDirective } from './tools/tables/editor-add-row-before-button.directive';
39
+ import { EditorAddRowAfterButtonDirective } from './tools/tables/editor-add-row-after-button.directive';
40
+ import { EditorDeleteColumnButtonDirective } from './tools/tables/editor-delete-column-button.directive';
41
+ import { EditorDeleteRowButtonDirective } from './tools/tables/editor-delete-row-button.directive';
42
+ import { EditorDeleteTableButtonDirective } from './tools/tables/editor-delete-table-button.directive';
43
+ import { CustomMessagesComponent } from './localization/custom-messages.component';
44
+ import { EditorPrintDirective } from './tools/print/editor-print-button.directive';
45
+ import { EditorSelectAllButtonDirective } from './tools/select-all/select-all-button.directive';
46
+ import { EditorSplitCellButtonDirective } from './tools/tables/editor-split-cell-button.directive';
47
+ import { EditorMergeCellsButtonDirective } from './tools/tables/editor-merge-cells-button.directive';
48
+ import { KENDO_TOOLBAR } from '@progress/kendo-angular-toolbar';
49
+ /**
50
+ * Utility array that contains all `Editor` related components and directives
51
+ */
52
+ export const KENDO_EDITOR = [
53
+ EditorComponent,
54
+ EditorAlignLeftButtonDirective,
55
+ EditorAlignCenterButtonDirective,
56
+ EditorAlignRightButtonDirective,
57
+ EditorAlignJustifyButtonDirective,
58
+ EditorInsertFileButtonDirective,
59
+ EditorRedoButtonDirective,
60
+ EditorUndoButtonDirective,
61
+ EditorInsertImageButtonDirective,
62
+ EditorIndentButtonDirective,
63
+ EditorOutdentButtonDirective,
64
+ EditorCreateLinkButtonDirective,
65
+ EditorUnlinkButtonDirective,
66
+ EditorInsertOrderedListButtonDirective,
67
+ EditorInsertUnorderedListButtonDirective,
68
+ EditorViewSourceButtonDirective,
69
+ EditorBoldButtonDirective,
70
+ EditorItalicButtonDirective,
71
+ EditorUnderlineButtonDirective,
72
+ EditorStrikethroughButtonDirective,
73
+ EditorSubscriptButtonDirective,
74
+ EditorSuperscriptButtonDirective,
75
+ EditorForeColorDirective,
76
+ EditorBackColorDirective,
77
+ EditorCleanFormattingButtonDirective,
78
+ EditorAddColumnBeforeButtonDirective,
79
+ EditorAddColumnAfterButtonDirective,
80
+ EditorAddRowBeforeButtonDirective,
81
+ EditorAddRowAfterButtonDirective,
82
+ EditorDeleteColumnButtonDirective,
83
+ EditorDeleteRowButtonDirective,
84
+ EditorDeleteTableButtonDirective,
85
+ CustomMessagesComponent,
86
+ EditorPrintDirective,
87
+ EditorSelectAllButtonDirective,
88
+ EditorBlockquoteDirective,
89
+ EditorFontSizeComponent,
90
+ EditorFontFamilyComponent,
91
+ EditorFormatComponent,
92
+ EditorColorPickerComponent,
93
+ EditorInsertTableButtonComponent,
94
+ EditorMergeCellsButtonDirective,
95
+ EditorSplitCellButtonDirective,
96
+ ...KENDO_TOOLBAR
97
+ ];
@@ -3,14 +3,16 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, HostBinding, ViewChild, ContentChild, ViewContainerRef, Output, ElementRef, EventEmitter, forwardRef, Input, ChangeDetectorRef, NgZone, isDevMode, Renderer2 } from '@angular/core';
6
+ import { NgIf } from '@angular/common';
6
7
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
7
8
  import { BehaviorSubject, fromEvent, Subject, zip } from 'rxjs';
8
9
  import { map, filter, take } from 'rxjs/operators';
9
- import { ToolBarComponent } from '@progress/kendo-angular-toolbar';
10
+ import { ToolBarButtonComponent, ToolBarButtonGroupComponent, ToolBarComponent } from '@progress/kendo-angular-toolbar';
10
11
  import { DialogService } from '@progress/kendo-angular-dialog';
11
- import { guid, hasObservers, isDocumentAvailable, KendoInput, shouldShowValidationUI } from '@progress/kendo-angular-common';
12
+ import { guid, hasObservers, isDocumentAvailable, KendoInput, shouldShowValidationUI, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
12
13
  import { buildKeymap, buildListKeymap, getHtml, pasteCleanup, sanitize, removeComments, sanitizeClassAttr, sanitizeStyleAttr, removeAttribute, placeholder, EditorView, EditorState, baseKeymap, keymap, history, parseContent, Plugin, PluginKey, TextSelection, Schema, AllSelection, gapCursor, getSelectionText, imageResizing, tableEditing, caretColor, tableResizing, cspFix } from '@progress/kendo-editor-common';
13
14
  import { validatePackage } from '@progress/kendo-licensing';
15
+ import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
14
16
  import { packageMetadata } from './package-metadata';
15
17
  import { schema } from './config/schema';
16
18
  import { editorCommands } from './config/commands';
@@ -19,37 +21,33 @@ import { detectIE, removeEmptyEntries, conditionallyExecute, pipe, isPresent } f
19
21
  import { SourceDialogComponent } from './dialogs/source-dialog.component';
20
22
  import { ImageDialogComponent } from './dialogs/image-dialog.component';
21
23
  import { FileLinkDialogComponent } from './dialogs/file-link-dialog.component';
22
- import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
23
24
  import { EditorLocalizationService } from './localization/editor-localization.service';
24
25
  import { defaultStyle, tablesStyles, rtlStyles } from './common/styles';
25
26
  import { EditorErrorMessages } from './common/error-messages';
26
27
  import { ProviderService } from './common/provider.service';
27
28
  import { EditorToolsService } from './tools/tools.service';
28
29
  import { EditorPasteEvent } from './preventable-events/paste-event';
30
+ import { EditorInsertImageButtonDirective } from './tools/image/editor-insert-image-button.directive';
31
+ import { EditorUnlinkButtonDirective } from './tools/link/editor-unlink-button.directive';
32
+ import { EditorCreateLinkButtonDirective } from './tools/link/editor-create-link-button.directive';
33
+ import { EditorOutdentButtonDirective } from './tools/indentation/editor-outdent-button.directive';
34
+ import { EditorIndentButtonDirective } from './tools/indentation/editor-indent-button.directive';
35
+ import { EditorInsertOrderedListButtonDirective } from './tools/list/editor-insert-ordered-list-button.directive';
36
+ import { EditorInsertUnorderedListButtonDirective } from './tools/list/editor-insert-unordered-list-button.directive';
37
+ import { EditorAlignJustifyButtonDirective } from './tools/alignment/editor-align-justify-button.directive';
38
+ import { EditorAlignRightButtonDirective } from './tools/alignment/editor-align-right-button.directive';
39
+ import { EditorAlignCenterButtonDirective } from './tools/alignment/editor-align-center-button.directive';
40
+ import { EditorAlignLeftButtonDirective } from './tools/alignment/editor-align-left-button.directive';
41
+ import { EditorFormatComponent } from './tools/format/editor-format.component';
42
+ import { EditorUnderlineButtonDirective } from './tools/typographical-emphasis/editor-underline-button.directive';
43
+ import { EditorItalicButtonDirective } from './tools/typographical-emphasis/editor-italic-button.directive';
44
+ import { EditorBoldButtonDirective } from './tools/typographical-emphasis/editor-bold-button.directive';
45
+ import { LocalizedMessagesDirective } from './localization/localized-messages.directive';
29
46
  import * as i0 from "@angular/core";
30
47
  import * as i1 from "@progress/kendo-angular-dialog";
31
48
  import * as i2 from "@progress/kendo-angular-l10n";
32
49
  import * as i3 from "./common/provider.service";
33
50
  import * as i4 from "./tools/tools.service";
34
- import * as i5 from "@angular/common";
35
- import * as i6 from "@progress/kendo-angular-toolbar";
36
- import * as i7 from "@progress/kendo-angular-common";
37
- import * as i8 from "./tools/alignment/editor-align-left-button.directive";
38
- import * as i9 from "./tools/alignment/editor-align-center-button.directive";
39
- import * as i10 from "./tools/alignment/editor-align-right-button.directive";
40
- import * as i11 from "./tools/alignment/editor-align-justify-button.directive";
41
- import * as i12 from "./tools/image/editor-insert-image-button.directive";
42
- import * as i13 from "./tools/indentation/editor-indent-button.directive";
43
- import * as i14 from "./tools/indentation/editor-outdent-button.directive";
44
- import * as i15 from "./tools/link/editor-create-link-button.directive";
45
- import * as i16 from "./tools/link/editor-unlink-button.directive";
46
- import * as i17 from "./tools/list/editor-insert-ordered-list-button.directive";
47
- import * as i18 from "./tools/list/editor-insert-unordered-list-button.directive";
48
- import * as i19 from "./tools/typographical-emphasis/editor-bold-button.directive";
49
- import * as i20 from "./tools/typographical-emphasis/editor-italic-button.directive";
50
- import * as i21 from "./tools/typographical-emphasis/editor-underline-button.directive";
51
- import * as i22 from "./localization/localized-messages.directive";
52
- import * as i23 from "./tools/format/editor-format.component";
53
51
  const EMPTY_PARAGRAPH = '<p></p>';
54
52
  const defaultPasteCleanupSettings = {
55
53
  convertMsLists: false,
@@ -111,23 +109,23 @@ export class EditorComponent {
111
109
  this.resizable = false;
112
110
  /**
113
111
  * Fires each time the value of the Editor is changed upon user interaction&mdash;
114
- * for example, when the value is updated through typing in the content area or using some of the Editor tools ([see example]({% slug overview_editor %}#toc-events)).
112
+ * for example, when the value is updated through typing in the content area or using some of the Editor tools ([see example](slug:events_editor)).
115
113
  * When the value of the Editor is programmatically changed through its API (`ngModel`) or form binding (`formControl`),
116
114
  * the `valueChange` event is not triggered because it might cause a mix-up with the
117
115
  * built-in `valueChange` mechanisms of the `ngModel` or `formControl` bindings.
118
116
  */
119
117
  this.valueChange = new EventEmitter();
120
118
  /**
121
- * Fires when the content area of the Editor is focused ([see example]({% slug overview_editor %}#toc-events)).
119
+ * Fires when the content area of the Editor is focused ([see example](slug:events_editor)).
122
120
  */
123
121
  this.onFocus = new EventEmitter();
124
122
  /**
125
- * Fires when the user performs paste in the content area of the Editor ([see example]({% slug overview_editor %}#toc-events)).
123
+ * Fires when the user performs paste in the content area of the Editor ([see example](slug:events_editor)).
126
124
  * The event is preventable. If you cancel it, the Editor content will not change.
127
125
  */
128
126
  this.paste = new EventEmitter();
129
127
  /**
130
- * Fires when the content area of the Editor is blurred ([see example]({% slug overview_editor %}#toc-events)).
128
+ * Fires when the content area of the Editor is blurred ([see example](slug:events_editor)).
131
129
  */
132
130
  this.onBlur = new EventEmitter();
133
131
  this.hostClass = true;
@@ -229,7 +227,7 @@ export class EditorComponent {
229
227
  this.subs = zip(this.afterViewInit.asObservable(), this.contentAreaLoaded.asObservable()).subscribe(() => this.initialize());
230
228
  }
231
229
  /**
232
- * Sets the value of the Editor ([see example]({% slug overview_editor %}#toc-basic-usage)).
230
+ * Sets the value of the Editor ([see example](slug:overview_editor)).
233
231
  */
234
232
  set value(value) {
235
233
  this.changeValue(value);
@@ -800,7 +798,7 @@ export class EditorComponent {
800
798
  }
801
799
  }
802
800
  EditorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorComponent, deps: [{ token: i1.DialogService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i3.ProviderService }, { token: i4.EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
803
- EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorComponent, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", iframeCss: "iframeCss", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "class.k-ie": "this.isIE", "attr.dir": "this.dir", "attr.ariaDisabled": "this.ariaDisabled", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
801
+ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorComponent, isStandalone: true, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", iframeCss: "iframeCss", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "class.k-ie": "this.isIE", "attr.dir": "this.dir", "attr.ariaDisabled": "this.ariaDisabled", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
804
802
  EditorLocalizationService,
805
803
  ProviderService,
806
804
  EditorToolsService,
@@ -980,7 +978,7 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
980
978
  <ng-container #dialogsContainer></ng-container>
981
979
 
982
980
  <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
983
- `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i6.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: i6.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: i6.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { kind: "component", type: i7.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }, { kind: "directive", type: i8.EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { kind: "directive", type: i9.EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { kind: "directive", type: i10.EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { kind: "directive", type: i11.EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { kind: "directive", type: i12.EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }, { kind: "directive", type: i13.EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { kind: "directive", type: i14.EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { kind: "directive", type: i15.EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { kind: "directive", type: i16.EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { kind: "directive", type: i17.EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { kind: "directive", type: i18.EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { kind: "directive", type: i19.EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { kind: "directive", type: i20.EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { kind: "directive", type: i21.EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { kind: "directive", type: i22.LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { kind: "component", type: i23.EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }] });
981
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { 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: ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { 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: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { kind: "directive", type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { kind: "directive", type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { kind: "component", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }, { kind: "directive", type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { kind: "directive", type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { kind: "directive", type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { kind: "directive", type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { kind: "directive", type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { kind: "directive", type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { kind: "directive", type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { kind: "directive", type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { kind: "directive", type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { kind: "directive", type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { kind: "directive", type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
984
982
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorComponent, decorators: [{
985
983
  type: Component,
986
984
  args: [{
@@ -1166,7 +1164,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1166
1164
  <ng-container #dialogsContainer></ng-container>
1167
1165
 
1168
1166
  <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
1169
- `
1167
+ `,
1168
+ standalone: true,
1169
+ imports: [LocalizedMessagesDirective, NgIf, ToolBarComponent, ToolBarButtonGroupComponent, ToolBarButtonComponent, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorUnderlineButtonDirective, EditorFormatComponent, EditorAlignLeftButtonDirective, EditorAlignCenterButtonDirective, EditorAlignRightButtonDirective, EditorAlignJustifyButtonDirective, EditorInsertUnorderedListButtonDirective, EditorInsertOrderedListButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorUnlinkButtonDirective, EditorInsertImageButtonDirective, WatermarkOverlayComponent]
1170
1170
  }]
1171
1171
  }], ctorParameters: function () { return [{ type: i1.DialogService }, { type: i2.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: i3.ProviderService }, { type: i4.EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { value: [{
1172
1172
  type: Input