@progress/kendo-angular-editor 13.4.1-develop.4 → 13.5.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.
@@ -133,6 +133,10 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
133
133
  * @hidden
134
134
  */
135
135
  stateChange: BehaviorSubject<any>;
136
+ /**
137
+ * @hidden
138
+ */
139
+ showLicenseWatermark: boolean;
136
140
  get toolbar(): ToolBarComponent;
137
141
  get toolbarElement(): ElementRef;
138
142
  /**
@@ -69,6 +69,7 @@ import * as i63 from "@progress/kendo-angular-dropdowns";
69
69
  import * as i64 from "@progress/kendo-angular-icons";
70
70
  import * as i65 from "@progress/kendo-angular-toolbar";
71
71
  import * as i66 from "@progress/kendo-angular-label";
72
+ import * as i67 from "@progress/kendo-angular-common";
72
73
  /**
73
74
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi']) definition for the Editor component.
74
75
  *
@@ -89,6 +90,6 @@ import * as i66 from "@progress/kendo-angular-label";
89
90
  */
90
91
  export declare class EditorModule {
91
92
  static ɵfac: i0.ɵɵFactoryDeclaration<EditorModule, never>;
92
- static ɵmod: i0.ɵɵNgModuleDeclaration<EditorModule, [typeof i1.EditorComponent, typeof i2.EditorAlignLeftButtonDirective, typeof i3.EditorAlignCenterButtonDirective, typeof i4.EditorAlignRightButtonDirective, typeof i5.EditorAlignJustifyButtonDirective, typeof i6.EditorInsertFileButtonDirective, typeof i7.EditorRedoButtonDirective, typeof i8.EditorUndoButtonDirective, typeof i9.EditorInsertImageButtonDirective, typeof i10.EditorIndentButtonDirective, typeof i11.EditorOutdentButtonDirective, typeof i12.EditorCreateLinkButtonDirective, typeof i13.EditorUnlinkButtonDirective, typeof i14.EditorInsertOrderedListButtonDirective, typeof i15.EditorInsertUnorderedListButtonDirective, typeof i16.EditorViewSourceButtonDirective, typeof i17.EditorBoldButtonDirective, typeof i18.EditorItalicButtonDirective, typeof i19.EditorUnderlineButtonDirective, typeof i20.EditorStrikethroughButtonDirective, typeof i21.EditorSubscriptButtonDirective, typeof i22.EditorSuperscriptButtonDirective, typeof i23.EditorForeColorDirective, typeof i24.EditorBackColorDirective, typeof i25.EditorCleanFormattingButtonDirective, typeof i26.EditorAddColumnBeforeButtonDirective, typeof i27.EditorAddColumnAfterButtonDirective, typeof i28.EditorAddRowBeforeButtonDirective, typeof i29.EditorAddRowAfterButtonDirective, typeof i30.EditorDeleteColumnButtonDirective, typeof i31.EditorDeleteRowButtonDirective, typeof i32.EditorDeleteTableButtonDirective, typeof i33.EditorMergeCellsButtonDirective, typeof i34.EditorSplitCellButtonDirective, typeof i35.CustomMessagesComponent, typeof i36.LocalizedMessagesDirective, typeof i37.DropDownToolDirective, typeof i38.EditorPrintDirective, typeof i39.EditorSelectAllButtonDirective, typeof i40.EditorBlockquoteDirective, typeof i41.EditorFontSizeComponent, typeof i42.EditorFontFamilyComponent, typeof i43.EditorFormatComponent, typeof i44.EditorColorPickerComponent, typeof i45.EditorInsertTableButtonComponent, typeof i46.FileLinkDialogComponent, typeof i47.ImageDialogComponent, typeof i48.SourceDialogComponent, typeof i49.FormatDialogComponent, typeof i50.ColorPickerDialogComponent, typeof i51.FontFamilyDialogComponent, typeof i52.FontSizeDialogComponent, typeof i53.InsertTableDialogComponent, typeof i54.PopupTableGridComponent, typeof i55.FormatDropDownListComponent, typeof i56.FontFamilyDropDownListComponent, typeof i57.FontSizeDropDownListComponent], [typeof i58.CommonModule, typeof i59.FormsModule, typeof i59.ReactiveFormsModule, typeof i60.ButtonModule, typeof i61.ColorPickerModule, typeof i62.DialogModule, typeof i63.DropDownsModule, typeof i61.NumericTextBoxModule, typeof i61.CheckBoxModule, typeof i64.IconsModule, typeof i65.ToolBarModule, typeof i61.TextBoxModule, typeof i61.TextAreaModule, typeof i61.FormFieldModule, typeof i66.LabelModule], [typeof i1.EditorComponent, typeof i2.EditorAlignLeftButtonDirective, typeof i3.EditorAlignCenterButtonDirective, typeof i4.EditorAlignRightButtonDirective, typeof i5.EditorAlignJustifyButtonDirective, typeof i6.EditorInsertFileButtonDirective, typeof i7.EditorRedoButtonDirective, typeof i8.EditorUndoButtonDirective, typeof i9.EditorInsertImageButtonDirective, typeof i10.EditorIndentButtonDirective, typeof i11.EditorOutdentButtonDirective, typeof i12.EditorCreateLinkButtonDirective, typeof i13.EditorUnlinkButtonDirective, typeof i14.EditorInsertOrderedListButtonDirective, typeof i15.EditorInsertUnorderedListButtonDirective, typeof i16.EditorViewSourceButtonDirective, typeof i17.EditorBoldButtonDirective, typeof i18.EditorItalicButtonDirective, typeof i19.EditorUnderlineButtonDirective, typeof i20.EditorStrikethroughButtonDirective, typeof i21.EditorSubscriptButtonDirective, typeof i22.EditorSuperscriptButtonDirective, typeof i23.EditorForeColorDirective, typeof i24.EditorBackColorDirective, typeof i25.EditorCleanFormattingButtonDirective, typeof i26.EditorAddColumnBeforeButtonDirective, typeof i27.EditorAddColumnAfterButtonDirective, typeof i28.EditorAddRowBeforeButtonDirective, typeof i29.EditorAddRowAfterButtonDirective, typeof i30.EditorDeleteColumnButtonDirective, typeof i31.EditorDeleteRowButtonDirective, typeof i32.EditorDeleteTableButtonDirective, typeof i33.EditorMergeCellsButtonDirective, typeof i34.EditorSplitCellButtonDirective, typeof i35.CustomMessagesComponent, typeof i36.LocalizedMessagesDirective, typeof i37.DropDownToolDirective, typeof i38.EditorPrintDirective, typeof i39.EditorSelectAllButtonDirective, typeof i40.EditorBlockquoteDirective, typeof i41.EditorFontSizeComponent, typeof i42.EditorFontFamilyComponent, typeof i43.EditorFormatComponent, typeof i44.EditorColorPickerComponent, typeof i45.EditorInsertTableButtonComponent, typeof i65.ToolBarModule, typeof i60.ButtonModule, typeof i59.FormsModule, typeof i59.ReactiveFormsModule, typeof i54.PopupTableGridComponent, typeof i55.FormatDropDownListComponent, typeof i56.FontFamilyDropDownListComponent, typeof i57.FontSizeDropDownListComponent]>;
93
+ static ɵmod: i0.ɵɵNgModuleDeclaration<EditorModule, [typeof i1.EditorComponent, typeof i2.EditorAlignLeftButtonDirective, typeof i3.EditorAlignCenterButtonDirective, typeof i4.EditorAlignRightButtonDirective, typeof i5.EditorAlignJustifyButtonDirective, typeof i6.EditorInsertFileButtonDirective, typeof i7.EditorRedoButtonDirective, typeof i8.EditorUndoButtonDirective, typeof i9.EditorInsertImageButtonDirective, typeof i10.EditorIndentButtonDirective, typeof i11.EditorOutdentButtonDirective, typeof i12.EditorCreateLinkButtonDirective, typeof i13.EditorUnlinkButtonDirective, typeof i14.EditorInsertOrderedListButtonDirective, typeof i15.EditorInsertUnorderedListButtonDirective, typeof i16.EditorViewSourceButtonDirective, typeof i17.EditorBoldButtonDirective, typeof i18.EditorItalicButtonDirective, typeof i19.EditorUnderlineButtonDirective, typeof i20.EditorStrikethroughButtonDirective, typeof i21.EditorSubscriptButtonDirective, typeof i22.EditorSuperscriptButtonDirective, typeof i23.EditorForeColorDirective, typeof i24.EditorBackColorDirective, typeof i25.EditorCleanFormattingButtonDirective, typeof i26.EditorAddColumnBeforeButtonDirective, typeof i27.EditorAddColumnAfterButtonDirective, typeof i28.EditorAddRowBeforeButtonDirective, typeof i29.EditorAddRowAfterButtonDirective, typeof i30.EditorDeleteColumnButtonDirective, typeof i31.EditorDeleteRowButtonDirective, typeof i32.EditorDeleteTableButtonDirective, typeof i33.EditorMergeCellsButtonDirective, typeof i34.EditorSplitCellButtonDirective, typeof i35.CustomMessagesComponent, typeof i36.LocalizedMessagesDirective, typeof i37.DropDownToolDirective, typeof i38.EditorPrintDirective, typeof i39.EditorSelectAllButtonDirective, typeof i40.EditorBlockquoteDirective, typeof i41.EditorFontSizeComponent, typeof i42.EditorFontFamilyComponent, typeof i43.EditorFormatComponent, typeof i44.EditorColorPickerComponent, typeof i45.EditorInsertTableButtonComponent, typeof i46.FileLinkDialogComponent, typeof i47.ImageDialogComponent, typeof i48.SourceDialogComponent, typeof i49.FormatDialogComponent, typeof i50.ColorPickerDialogComponent, typeof i51.FontFamilyDialogComponent, typeof i52.FontSizeDialogComponent, typeof i53.InsertTableDialogComponent, typeof i54.PopupTableGridComponent, typeof i55.FormatDropDownListComponent, typeof i56.FontFamilyDropDownListComponent, typeof i57.FontSizeDropDownListComponent], [typeof i58.CommonModule, typeof i59.FormsModule, typeof i59.ReactiveFormsModule, typeof i60.ButtonModule, typeof i61.ColorPickerModule, typeof i62.DialogModule, typeof i63.DropDownsModule, typeof i61.NumericTextBoxModule, typeof i61.CheckBoxModule, typeof i64.IconsModule, typeof i65.ToolBarModule, typeof i61.TextBoxModule, typeof i61.TextAreaModule, typeof i61.FormFieldModule, typeof i66.LabelModule, typeof i67.WatermarkModule], [typeof i1.EditorComponent, typeof i2.EditorAlignLeftButtonDirective, typeof i3.EditorAlignCenterButtonDirective, typeof i4.EditorAlignRightButtonDirective, typeof i5.EditorAlignJustifyButtonDirective, typeof i6.EditorInsertFileButtonDirective, typeof i7.EditorRedoButtonDirective, typeof i8.EditorUndoButtonDirective, typeof i9.EditorInsertImageButtonDirective, typeof i10.EditorIndentButtonDirective, typeof i11.EditorOutdentButtonDirective, typeof i12.EditorCreateLinkButtonDirective, typeof i13.EditorUnlinkButtonDirective, typeof i14.EditorInsertOrderedListButtonDirective, typeof i15.EditorInsertUnorderedListButtonDirective, typeof i16.EditorViewSourceButtonDirective, typeof i17.EditorBoldButtonDirective, typeof i18.EditorItalicButtonDirective, typeof i19.EditorUnderlineButtonDirective, typeof i20.EditorStrikethroughButtonDirective, typeof i21.EditorSubscriptButtonDirective, typeof i22.EditorSuperscriptButtonDirective, typeof i23.EditorForeColorDirective, typeof i24.EditorBackColorDirective, typeof i25.EditorCleanFormattingButtonDirective, typeof i26.EditorAddColumnBeforeButtonDirective, typeof i27.EditorAddColumnAfterButtonDirective, typeof i28.EditorAddRowBeforeButtonDirective, typeof i29.EditorAddRowAfterButtonDirective, typeof i30.EditorDeleteColumnButtonDirective, typeof i31.EditorDeleteRowButtonDirective, typeof i32.EditorDeleteTableButtonDirective, typeof i33.EditorMergeCellsButtonDirective, typeof i34.EditorSplitCellButtonDirective, typeof i35.CustomMessagesComponent, typeof i36.LocalizedMessagesDirective, typeof i37.DropDownToolDirective, typeof i38.EditorPrintDirective, typeof i39.EditorSelectAllButtonDirective, typeof i40.EditorBlockquoteDirective, typeof i41.EditorFontSizeComponent, typeof i42.EditorFontFamilyComponent, typeof i43.EditorFormatComponent, typeof i44.EditorColorPickerComponent, typeof i45.EditorInsertTableButtonComponent, typeof i65.ToolBarModule, typeof i60.ButtonModule, typeof i59.FormsModule, typeof i59.ReactiveFormsModule, typeof i54.PopupTableGridComponent, typeof i55.FormatDropDownListComponent, typeof i56.FontFamilyDropDownListComponent, typeof i57.FontSizeDropDownListComponent]>;
93
94
  static ɵinj: i0.ɵɵInjectorDeclaration<EditorModule>;
94
95
  }
@@ -8,7 +8,7 @@ import { BehaviorSubject, fromEvent, Subject, zip } from 'rxjs';
8
8
  import { map, filter, take } from 'rxjs/operators';
9
9
  import { ToolBarComponent } from '@progress/kendo-angular-toolbar';
10
10
  import { DialogService } from '@progress/kendo-angular-dialog';
11
- import { guid, hasObservers, isDocumentAvailable, KendoInput } from '@progress/kendo-angular-common';
11
+ import { guid, hasObservers, isDocumentAvailable, KendoInput, shouldShowValidationUI } from '@progress/kendo-angular-common';
12
12
  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 } from '@progress/kendo-editor-common';
13
13
  import { validatePackage } from '@progress/kendo-licensing';
14
14
  import { packageMetadata } from './package-metadata';
@@ -33,22 +33,23 @@ import * as i3 from "./common/provider.service";
33
33
  import * as i4 from "./tools/tools.service";
34
34
  import * as i5 from "@progress/kendo-angular-toolbar";
35
35
  import * as i6 from "./tools/format/editor-format.component";
36
- import * as i7 from "./localization/localized-messages.directive";
37
- import * as i8 from "@angular/common";
38
- import * as i9 from "./tools/typographical-emphasis/editor-bold-button.directive";
39
- import * as i10 from "./tools/typographical-emphasis/editor-italic-button.directive";
40
- import * as i11 from "./tools/typographical-emphasis/editor-underline-button.directive";
41
- import * as i12 from "./tools/alignment/editor-align-left-button.directive";
42
- import * as i13 from "./tools/alignment/editor-align-center-button.directive";
43
- import * as i14 from "./tools/alignment/editor-align-right-button.directive";
44
- import * as i15 from "./tools/alignment/editor-align-justify-button.directive";
45
- import * as i16 from "./tools/list/editor-insert-unordered-list-button.directive";
46
- import * as i17 from "./tools/list/editor-insert-ordered-list-button.directive";
47
- import * as i18 from "./tools/indentation/editor-indent-button.directive";
48
- import * as i19 from "./tools/indentation/editor-outdent-button.directive";
49
- import * as i20 from "./tools/link/editor-create-link-button.directive";
50
- import * as i21 from "./tools/link/editor-unlink-button.directive";
51
- import * as i22 from "./tools/image/editor-insert-image-button.directive";
36
+ import * as i7 from "@progress/kendo-angular-common";
37
+ import * as i8 from "./localization/localized-messages.directive";
38
+ import * as i9 from "@angular/common";
39
+ import * as i10 from "./tools/typographical-emphasis/editor-bold-button.directive";
40
+ import * as i11 from "./tools/typographical-emphasis/editor-italic-button.directive";
41
+ import * as i12 from "./tools/typographical-emphasis/editor-underline-button.directive";
42
+ import * as i13 from "./tools/alignment/editor-align-left-button.directive";
43
+ import * as i14 from "./tools/alignment/editor-align-center-button.directive";
44
+ import * as i15 from "./tools/alignment/editor-align-right-button.directive";
45
+ import * as i16 from "./tools/alignment/editor-align-justify-button.directive";
46
+ import * as i17 from "./tools/list/editor-insert-unordered-list-button.directive";
47
+ import * as i18 from "./tools/list/editor-insert-ordered-list-button.directive";
48
+ import * as i19 from "./tools/indentation/editor-indent-button.directive";
49
+ import * as i20 from "./tools/indentation/editor-outdent-button.directive";
50
+ import * as i21 from "./tools/link/editor-create-link-button.directive";
51
+ import * as i22 from "./tools/link/editor-unlink-button.directive";
52
+ import * as i23 from "./tools/image/editor-insert-image-button.directive";
52
53
  const EMPTY_PARAGRAPH = '<p></p>';
53
54
  const defaultPasteCleanupSettings = {
54
55
  convertMsLists: false,
@@ -134,6 +135,10 @@ export class EditorComponent {
134
135
  * @hidden
135
136
  */
136
137
  this.stateChange = new BehaviorSubject(initialToolBarState);
138
+ /**
139
+ * @hidden
140
+ */
141
+ this.showLicenseWatermark = false;
137
142
  /**
138
143
  * @hidden
139
144
  */
@@ -216,7 +221,8 @@ export class EditorComponent {
216
221
  this._pasteEvent = nativeEvent;
217
222
  return false;
218
223
  };
219
- validatePackage(packageMetadata);
224
+ const isValid = validatePackage(packageMetadata);
225
+ this.showLicenseWatermark = shouldShowValidationUI(isValid);
220
226
  this.providerService.editor = this;
221
227
  this.direction = localization.rtl ? 'rtl' : 'ltr';
222
228
  // https://stackoverflow.com/questions/56572483/chrome-is-synchronously-handling-iframe-loading-whereas-firefox-handles-it-asyn
@@ -968,7 +974,9 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
968
974
  </div>
969
975
 
970
976
  <ng-container #dialogsContainer></ng-container>
971
- `, isInline: true, components: [{ type: i5.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i5.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i5.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"] }, { type: i6.EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }], directives: [{ type: i7.LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i9.EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: i10.EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: i11.EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: i12.EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: i13.EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: i14.EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: i15.EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: i16.EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: i17.EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: i18.EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: i19.EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: i20.EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: i21.EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: i22.EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
977
+
978
+ <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
979
+ `, isInline: true, components: [{ type: i5.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i5.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i5.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"] }, { type: i6.EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }, { type: i7.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }], directives: [{ type: i8.LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i9.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i10.EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: i11.EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: i12.EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: i13.EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: i14.EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: i15.EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: i16.EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: i17.EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: i18.EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: i19.EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: i20.EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: i21.EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: i22.EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: i23.EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
972
980
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorComponent, decorators: [{
973
981
  type: Component,
974
982
  args: [{
@@ -1150,6 +1158,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
1150
1158
  </div>
1151
1159
 
1152
1160
  <ng-container #dialogsContainer></ng-container>
1161
+
1162
+ <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
1153
1163
  `
1154
1164
  }]
1155
1165
  }], 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: [{
@@ -6,6 +6,7 @@ import { NgModule } from '@angular/core';
6
6
  import { CommonModule } from '@angular/common';
7
7
  import { FormsModule, ReactiveFormsModule } from '@angular/forms';
8
8
  import { ToolBarModule } from '@progress/kendo-angular-toolbar';
9
+ import { WatermarkModule } from '@progress/kendo-angular-common';
9
10
  import { DropDownsModule } from '@progress/kendo-angular-dropdowns';
10
11
  import { DialogModule } from '@progress/kendo-angular-dialog';
11
12
  import { ButtonModule } from '@progress/kendo-angular-buttons';
@@ -270,7 +271,8 @@ EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
270
271
  TextBoxModule,
271
272
  TextAreaModule,
272
273
  FormFieldModule,
273
- LabelModule], exports: [EditorComponent,
274
+ LabelModule,
275
+ WatermarkModule], exports: [EditorComponent,
274
276
  //alignment
275
277
  EditorAlignLeftButtonDirective,
276
278
  EditorAlignCenterButtonDirective,
@@ -354,7 +356,8 @@ EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
354
356
  TextBoxModule,
355
357
  TextAreaModule,
356
358
  FormFieldModule,
357
- LabelModule
359
+ LabelModule,
360
+ WatermarkModule
358
361
  ], ToolBarModule,
359
362
  ButtonModule,
360
363
  FormsModule,
@@ -399,7 +402,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
399
402
  TextBoxModule,
400
403
  TextAreaModule,
401
404
  FormFieldModule,
402
- LabelModule
405
+ LabelModule,
406
+ WatermarkModule
403
407
  ]
404
408
  }]
405
409
  }] });
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-editor',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1694174953,
13
- version: '13.4.1-develop.4',
12
+ publishDate: 1694187131,
13
+ version: '13.5.0-develop.1',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -10,7 +10,8 @@ import { Subject, BehaviorSubject, zip, fromEvent, interval } from 'rxjs';
10
10
  import { take, map, filter as filter$1, concatMap, takeUntil } from 'rxjs/operators';
11
11
  import * as i1$3 from '@progress/kendo-angular-toolbar';
12
12
  import { ToolBarToolComponent, ToolBarComponent, ToolBarModule } from '@progress/kendo-angular-toolbar';
13
- import { isDocumentAvailable, guid, hasObservers, KendoInput, Keys } from '@progress/kendo-angular-common';
13
+ import * as i7 from '@progress/kendo-angular-common';
14
+ import { isDocumentAvailable, guid, shouldShowValidationUI, hasObservers, KendoInput, Keys, WatermarkModule } from '@progress/kendo-angular-common';
14
15
  import { marks as marks$1, nodes as nodes$1, Schema, createTable, insertNode, alignBlocks, alignRemoveRules, expandToWordWrap, toggleInlineFormat, bold, cleanFormatting, applyLink, applyInlineStyle, insertText, italic, strikethrough, subscript, superscript, underline, removeLink, link, selectAll, isAligned, alignCenterRules, alignJustifyRules, alignLeftRules, alignRightRules, formatBlockElements, getHtml, indent, insertImage, toggleOrderedList, toggleUnorderedList, outdent, redo, setHtml, undo, blockquote, addColumnBefore, addColumnAfter, addRowBefore, addRowAfter, deleteRow, deleteColumn, mergeCells, splitCell, deleteTable, hasMark, activeNode, canIndentAsListItem, canBeIndented, indentRules, hasNode, canOutdentAsListItem, outdentRules, isIndented, getActiveMarks, expandSelection, getSelectionText as getSelectionText$1, getNodeFromSelection, getMark, removeComments, sanitize, removeAttribute, sanitizeStyleAttr, sanitizeClassAttr, pasteCleanup, parseContent, AllSelection, TextSelection, Plugin, PluginKey, history, keymap, buildListKeymap, buildKeymap, baseKeymap, gapCursor, imageResizing, tableResizing, tableEditing, caretColor, placeholder, EditorState, EditorView } from '@progress/kendo-editor-common';
15
16
  export { Decoration, DecorationSet, EditorState, EditorView, InputRule, Mark, MarkType, Node, NodeType, Plugin, PluginKey, Schema, Transaction, baseKeymap, dropCursor, gapCursor, history, inputRules, keymap, tableNodes, textblockTypeInputRule, wrappingInputRule } from '@progress/kendo-editor-common';
16
17
  import { validatePackage } from '@progress/kendo-licensing';
@@ -40,8 +41,8 @@ const packageMetadata = {
40
41
  name: '@progress/kendo-angular-editor',
41
42
  productName: 'Kendo UI for Angular',
42
43
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
43
- publishDate: 1694174953,
44
- version: '13.4.1-develop.4',
44
+ publishDate: 1694187131,
45
+ version: '13.5.0-develop.1',
45
46
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
46
47
  };
47
48
 
@@ -2868,6 +2869,10 @@ class EditorComponent {
2868
2869
  * @hidden
2869
2870
  */
2870
2871
  this.stateChange = new BehaviorSubject(initialToolBarState);
2872
+ /**
2873
+ * @hidden
2874
+ */
2875
+ this.showLicenseWatermark = false;
2871
2876
  /**
2872
2877
  * @hidden
2873
2878
  */
@@ -2950,7 +2955,8 @@ class EditorComponent {
2950
2955
  this._pasteEvent = nativeEvent;
2951
2956
  return false;
2952
2957
  };
2953
- validatePackage(packageMetadata);
2958
+ const isValid = validatePackage(packageMetadata);
2959
+ this.showLicenseWatermark = shouldShowValidationUI(isValid);
2954
2960
  this.providerService.editor = this;
2955
2961
  this.direction = localization.rtl ? 'rtl' : 'ltr';
2956
2962
  // https://stackoverflow.com/questions/56572483/chrome-is-synchronously-handling-iframe-loading-whereas-firefox-handles-it-asyn
@@ -3702,7 +3708,9 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
3702
3708
  </div>
3703
3709
 
3704
3710
  <ng-container #dialogsContainer></ng-container>
3705
- `, isInline: true, components: [{ type: i1$3.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i1$3.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i1$3.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"] }, { type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
3711
+
3712
+ <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
3713
+ `, isInline: true, components: [{ type: i1$3.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i1$3.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i1$3.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"] }, { type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }, { type: i7.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
3706
3714
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorComponent, decorators: [{
3707
3715
  type: Component,
3708
3716
  args: [{
@@ -3884,6 +3892,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
3884
3892
  </div>
3885
3893
 
3886
3894
  <ng-container #dialogsContainer></ng-container>
3895
+
3896
+ <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
3887
3897
  `
3888
3898
  }]
3889
3899
  }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { value: [{
@@ -6400,7 +6410,8 @@ EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
6400
6410
  TextBoxModule,
6401
6411
  TextAreaModule,
6402
6412
  FormFieldModule,
6403
- LabelModule], exports: [EditorComponent,
6413
+ LabelModule,
6414
+ WatermarkModule], exports: [EditorComponent,
6404
6415
  //alignment
6405
6416
  EditorAlignLeftButtonDirective,
6406
6417
  EditorAlignCenterButtonDirective,
@@ -6484,7 +6495,8 @@ EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
6484
6495
  TextBoxModule,
6485
6496
  TextAreaModule,
6486
6497
  FormFieldModule,
6487
- LabelModule
6498
+ LabelModule,
6499
+ WatermarkModule
6488
6500
  ], ToolBarModule,
6489
6501
  ButtonModule,
6490
6502
  FormsModule,
@@ -6529,7 +6541,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
6529
6541
  TextBoxModule,
6530
6542
  TextAreaModule,
6531
6543
  FormFieldModule,
6532
- LabelModule
6544
+ LabelModule,
6545
+ WatermarkModule
6533
6546
  ]
6534
6547
  }]
6535
6548
  }] });
@@ -12,7 +12,8 @@ import * as i1$3 from '@progress/kendo-angular-toolbar';
12
12
  import { ToolBarToolComponent, ToolBarComponent, ToolBarModule } from '@progress/kendo-angular-toolbar';
13
13
  import * as i1$1 from '@progress/kendo-angular-dialog';
14
14
  import { DialogContentBase, DialogModule } from '@progress/kendo-angular-dialog';
15
- import { isDocumentAvailable, guid, hasObservers, KendoInput, Keys } from '@progress/kendo-angular-common';
15
+ import * as i7 from '@progress/kendo-angular-common';
16
+ import { isDocumentAvailable, guid, shouldShowValidationUI, hasObservers, KendoInput, Keys, WatermarkModule } from '@progress/kendo-angular-common';
16
17
  import { marks as marks$1, nodes as nodes$1, Schema, createTable, insertNode, alignBlocks, alignRemoveRules, expandToWordWrap, toggleInlineFormat, bold, cleanFormatting, applyLink, applyInlineStyle, insertText, italic, strikethrough, subscript, superscript, underline, removeLink, link, selectAll, isAligned, alignCenterRules, alignJustifyRules, alignLeftRules, alignRightRules, formatBlockElements, getHtml, indent, insertImage, toggleOrderedList, toggleUnorderedList, outdent, redo, setHtml, undo, blockquote, addColumnBefore, addColumnAfter, addRowBefore, addRowAfter, deleteRow, deleteColumn, mergeCells, splitCell, deleteTable, hasMark, activeNode, canIndentAsListItem, canBeIndented, indentRules, hasNode, canOutdentAsListItem, outdentRules, isIndented, getActiveMarks, expandSelection, getSelectionText as getSelectionText$1, getNodeFromSelection, getMark, removeComments, sanitize, removeAttribute, sanitizeStyleAttr, sanitizeClassAttr, pasteCleanup, parseContent, AllSelection, TextSelection, Plugin, PluginKey, history, keymap, buildListKeymap, buildKeymap, baseKeymap, gapCursor, imageResizing, tableResizing, tableEditing, caretColor, placeholder, EditorState, EditorView } from '@progress/kendo-editor-common';
17
18
  export { Decoration, DecorationSet, EditorState, EditorView, InputRule, Mark, MarkType, Node, NodeType, Plugin, PluginKey, Schema, Transaction, baseKeymap, dropCursor, gapCursor, history, inputRules, keymap, tableNodes, textblockTypeInputRule, wrappingInputRule } from '@progress/kendo-editor-common';
18
19
  import { validatePackage } from '@progress/kendo-licensing';
@@ -40,8 +41,8 @@ const packageMetadata = {
40
41
  name: '@progress/kendo-angular-editor',
41
42
  productName: 'Kendo UI for Angular',
42
43
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
43
- publishDate: 1694174953,
44
- version: '13.4.1-develop.4',
44
+ publishDate: 1694187131,
45
+ version: '13.5.0-develop.1',
45
46
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
46
47
  };
47
48
 
@@ -2870,6 +2871,10 @@ class EditorComponent {
2870
2871
  * @hidden
2871
2872
  */
2872
2873
  this.stateChange = new BehaviorSubject(initialToolBarState);
2874
+ /**
2875
+ * @hidden
2876
+ */
2877
+ this.showLicenseWatermark = false;
2873
2878
  /**
2874
2879
  * @hidden
2875
2880
  */
@@ -2952,7 +2957,8 @@ class EditorComponent {
2952
2957
  this._pasteEvent = nativeEvent;
2953
2958
  return false;
2954
2959
  };
2955
- validatePackage(packageMetadata);
2960
+ const isValid = validatePackage(packageMetadata);
2961
+ this.showLicenseWatermark = shouldShowValidationUI(isValid);
2956
2962
  this.providerService.editor = this;
2957
2963
  this.direction = localization.rtl ? 'rtl' : 'ltr';
2958
2964
  // https://stackoverflow.com/questions/56572483/chrome-is-synchronously-handling-iframe-loading-whereas-firefox-handles-it-asyn
@@ -3704,7 +3710,9 @@ EditorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", versio
3704
3710
  </div>
3705
3711
 
3706
3712
  <ng-container #dialogsContainer></ng-container>
3707
- `, isInline: true, components: [{ type: i1$3.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i1$3.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i1$3.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"] }, { type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
3713
+
3714
+ <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
3715
+ `, isInline: true, components: [{ type: i1$3.ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { type: i1$3.ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { type: i1$3.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"] }, { type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }, { type: i7.WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }], directives: [{ type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { type: i3$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }] });
3708
3716
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: EditorComponent, decorators: [{
3709
3717
  type: Component,
3710
3718
  args: [{
@@ -3886,6 +3894,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
3886
3894
  </div>
3887
3895
 
3888
3896
  <ng-container #dialogsContainer></ng-container>
3897
+
3898
+ <div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
3889
3899
  `
3890
3900
  }]
3891
3901
  }], ctorParameters: function () { return [{ type: i1$1.DialogService }, { type: i1.LocalizationService }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }, { type: i0.ElementRef }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }]; }, propDecorators: { value: [{
@@ -6400,7 +6410,8 @@ EditorModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
6400
6410
  TextBoxModule,
6401
6411
  TextAreaModule,
6402
6412
  FormFieldModule,
6403
- LabelModule], exports: [EditorComponent,
6413
+ LabelModule,
6414
+ WatermarkModule], exports: [EditorComponent,
6404
6415
  //alignment
6405
6416
  EditorAlignLeftButtonDirective,
6406
6417
  EditorAlignCenterButtonDirective,
@@ -6484,7 +6495,8 @@ EditorModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
6484
6495
  TextBoxModule,
6485
6496
  TextAreaModule,
6486
6497
  FormFieldModule,
6487
- LabelModule
6498
+ LabelModule,
6499
+ WatermarkModule
6488
6500
  ], ToolBarModule,
6489
6501
  ButtonModule,
6490
6502
  FormsModule,
@@ -6529,7 +6541,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
6529
6541
  TextBoxModule,
6530
6542
  TextAreaModule,
6531
6543
  FormFieldModule,
6532
- LabelModule
6544
+ LabelModule,
6545
+ WatermarkModule
6533
6546
  ]
6534
6547
  }]
6535
6548
  }] });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-editor",
3
- "version": "13.4.1-develop.4",
3
+ "version": "13.5.0-develop.1",
4
4
  "description": "Kendo UI Editor for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -22,23 +22,23 @@
22
22
  "@angular/platform-browser": "13 - 16",
23
23
  "@progress/kendo-drawing": "^1.17.2",
24
24
  "@progress/kendo-licensing": "^1.0.2",
25
- "@progress/kendo-angular-buttons": "13.4.1-develop.4",
26
- "@progress/kendo-angular-common": "13.4.1-develop.4",
27
- "@progress/kendo-angular-dialog": "13.4.1-develop.4",
28
- "@progress/kendo-angular-dropdowns": "13.4.1-develop.4",
29
- "@progress/kendo-angular-inputs": "13.4.1-develop.4",
30
- "@progress/kendo-angular-intl": "13.4.1-develop.4",
31
- "@progress/kendo-angular-l10n": "13.4.1-develop.4",
32
- "@progress/kendo-angular-label": "13.4.1-develop.4",
33
- "@progress/kendo-angular-layout": "13.4.1-develop.4",
34
- "@progress/kendo-angular-icons": "13.4.1-develop.4",
35
- "@progress/kendo-angular-popup": "13.4.1-develop.4",
36
- "@progress/kendo-angular-toolbar": "13.4.1-develop.4",
25
+ "@progress/kendo-angular-buttons": "13.5.0-develop.1",
26
+ "@progress/kendo-angular-common": "13.5.0-develop.1",
27
+ "@progress/kendo-angular-dialog": "13.5.0-develop.1",
28
+ "@progress/kendo-angular-dropdowns": "13.5.0-develop.1",
29
+ "@progress/kendo-angular-inputs": "13.5.0-develop.1",
30
+ "@progress/kendo-angular-intl": "13.5.0-develop.1",
31
+ "@progress/kendo-angular-l10n": "13.5.0-develop.1",
32
+ "@progress/kendo-angular-label": "13.5.0-develop.1",
33
+ "@progress/kendo-angular-layout": "13.5.0-develop.1",
34
+ "@progress/kendo-angular-icons": "13.5.0-develop.1",
35
+ "@progress/kendo-angular-popup": "13.5.0-develop.1",
36
+ "@progress/kendo-angular-toolbar": "13.5.0-develop.1",
37
37
  "rxjs": "^6.5.3 || ^7.0.0"
38
38
  },
39
39
  "dependencies": {
40
40
  "tslib": "^2.3.1",
41
- "@progress/kendo-angular-schematics": "13.4.1-develop.4",
41
+ "@progress/kendo-angular-schematics": "13.5.0-develop.1",
42
42
  "@progress/kendo-editor-common": "1.10.0"
43
43
  },
44
44
  "schematics": "./schematics/collection.json",
@@ -4,11 +4,11 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'EditorModule', package: 'editor', peerDependencies: {
6
6
  // peer dependency of kendo-angular-dropdowns
7
- '@progress/kendo-angular-treeview': '13.4.1-develop.4',
7
+ '@progress/kendo-angular-treeview': '13.5.0-develop.1',
8
8
  // peer dependency of kendo-angular-layout
9
- '@progress/kendo-angular-progressbar': '13.4.1-develop.4',
9
+ '@progress/kendo-angular-progressbar': '13.5.0-develop.1',
10
10
  // peer dependency of kendo-angular-inputs
11
- '@progress/kendo-angular-dialog': '13.4.1-develop.4',
11
+ '@progress/kendo-angular-dialog': '13.5.0-develop.1',
12
12
  // Peer dependency of icons
13
13
  '@progress/kendo-svg-icons': '^1.0.0'
14
14
  } });