@progress/kendo-angular-editor 21.1.1-develop.2 → 21.2.0-develop.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,6 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
6
  import { Injectable, Inject, Optional, Component, Input, ViewChild, InjectionToken, Directive, EventEmitter, Output, forwardRef, ElementRef, isDevMode, ViewContainerRef, HostBinding, ContentChild, NgModule } from '@angular/core';
7
- import { NgIf, NgSwitch, NgSwitchCase, NgSwitchDefault, NgStyle, NgFor } from '@angular/common';
8
7
  import * as i3 from '@angular/forms';
9
8
  import { FormControl, Validators, FormGroup, ReactiveFormsModule, NG_VALUE_ACCESSOR } from '@angular/forms';
10
9
  import { Subject, BehaviorSubject, zip, fromEvent, interval } from 'rxjs';
@@ -27,6 +26,7 @@ import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icon
27
26
  import { DropDownListComponent, ItemTemplateDirective } from '@progress/kendo-angular-dropdowns';
28
27
  import * as i2 from '@progress/kendo-angular-popup';
29
28
  import { PopupService } from '@progress/kendo-angular-popup';
29
+ import { NgStyle } from '@angular/common';
30
30
 
31
31
  /**
32
32
  * @hidden
@@ -36,8 +36,8 @@ const packageMetadata = {
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCode: 'KENDOUIANGULAR',
38
38
  productCodes: ['KENDOUIANGULAR'],
39
- publishDate: 1763729402,
40
- version: '21.1.1-develop.2',
39
+ publishDate: 1764002490,
40
+ version: '21.2.0-develop.2',
41
41
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
42
42
  };
43
43
 
@@ -1059,146 +1059,146 @@ class FileLinkDialogComponent extends DialogContentBase {
1059
1059
  return linkData;
1060
1060
  }
1061
1061
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FileLinkDialogComponent, deps: [{ token: i1$1.DialogRef }, { token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
1062
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: FileLinkDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1062
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FileLinkDialogComponent, isStandalone: true, selector: "ng-component", inputs: { editor: "editor", command: "command" }, viewQueries: [{ propertyName: "hrefInput", first: true, predicate: ["hrefInput"], descendants: true }], usesInheritance: true, ngImport: i0, template: `
1063
1063
  <kendo-dialog-titlebar (close)="onCancelAction()">
1064
- {{ titleText }}
1064
+ {{ titleText }}
1065
1065
  </kendo-dialog-titlebar>
1066
1066
  <form class="k-form k-form-md" novalidate [formGroup]="linkForm">
1067
+ <kendo-formfield>
1068
+ <kendo-label
1069
+ labelCssClass="k-form-label"
1070
+ [for]="hrefInput"
1071
+ [text]="textForWithPrefix('WebAddress')"
1072
+ ></kendo-label>
1073
+ <kendo-textbox
1074
+ #hrefInput
1075
+ formControlName="href"
1076
+ ></kendo-textbox>
1077
+ </kendo-formfield>
1078
+ <kendo-formfield>
1079
+ <kendo-label
1080
+ labelCssClass="k-form-label"
1081
+ [for]="textInput"
1082
+ [text]="textForWithPrefix('Text')"
1083
+ ></kendo-label>
1084
+ <kendo-textbox
1085
+ #textInput
1086
+ formControlName="text"
1087
+ ></kendo-textbox>
1088
+ </kendo-formfield>
1089
+ <kendo-formfield>
1090
+ <kendo-label
1091
+ labelCssClass="k-form-label"
1092
+ [for]="titleInput"
1093
+ [text]="textForWithPrefix('Title')"
1094
+ ></kendo-label>
1095
+ <kendo-textbox
1096
+ #titleInput
1097
+ formControlName="title"
1098
+ ></kendo-textbox>
1099
+ </kendo-formfield>
1100
+ @if (command === 'createLink') {
1067
1101
  <kendo-formfield>
1068
- <kendo-label
1069
- labelCssClass="k-form-label"
1070
- [for]="hrefInput"
1071
- [text]="textForWithPrefix('WebAddress')"
1072
- ></kendo-label>
1073
- <kendo-textbox
1074
- #hrefInput
1075
- formControlName="href"
1076
- ></kendo-textbox>
1077
- </kendo-formfield>
1078
- <kendo-formfield>
1079
- <kendo-label
1080
- labelCssClass="k-form-label"
1081
- [for]="textInput"
1082
- [text]="textForWithPrefix('Text')"
1083
- ></kendo-label>
1084
- <kendo-textbox
1085
- #textInput
1086
- formControlName="text"
1087
- ></kendo-textbox>
1088
- </kendo-formfield>
1089
- <kendo-formfield>
1090
- <kendo-label
1091
- labelCssClass="k-form-label"
1092
- [for]="titleInput"
1093
- [text]="textForWithPrefix('Title')"
1094
- ></kendo-label>
1095
- <kendo-textbox
1096
- #titleInput
1097
- formControlName="title"
1098
- ></kendo-textbox>
1102
+ <ng-container>
1103
+ <span class="k-checkbox-wrap">
1104
+ <input
1105
+ id='k-target-blank'
1106
+ type='checkbox'
1107
+ kendoCheckBox
1108
+ formControlName="target"
1109
+ />
1110
+ </span>
1111
+ <label [labelClass]="false" class='k-checkbox-label' for='k-target-blank'>{{ textForWithPrefix('OpenInNewWindow') }}</label>
1112
+ </ng-container>
1099
1113
  </kendo-formfield>
1100
- <ng-container *ngIf="command === 'createLink'">
1101
- <kendo-formfield>
1102
- <ng-container>
1103
- <span class="k-checkbox-wrap">
1104
- <input
1105
- id='k-target-blank'
1106
- type='checkbox'
1107
- kendoCheckBox
1108
- formControlName="target"
1109
- />
1110
- </span>
1111
- <label [labelClass]="false" class='k-checkbox-label' for='k-target-blank'>{{ textForWithPrefix('OpenInNewWindow') }}</label>
1112
- </ng-container>
1113
- </kendo-formfield>
1114
- </ng-container>
1114
+ }
1115
1115
  </form>
1116
1116
  <kendo-dialog-actions layout="start">
1117
- <button
1118
- kendoButton
1119
- [disabled]="linkForm.invalid"
1120
- [primary]="true"
1121
- (click)="onConfirmAction()"
1122
- >{{ textFor('dialogInsert') }}</button>
1123
- <button
1124
- kendoButton
1125
- (click)="onCancelAction()"
1126
- >{{ textFor('dialogCancel') }}</button>
1117
+ <button
1118
+ kendoButton
1119
+ [disabled]="linkForm.invalid"
1120
+ [primary]="true"
1121
+ (click)="onConfirmAction()"
1122
+ >{{ textFor('dialogInsert') }}</button>
1123
+ <button
1124
+ kendoButton
1125
+ (click)="onCancelAction()"
1126
+ >{{ textFor('dialogCancel') }}</button>
1127
1127
  </kendo-dialog-actions>
1128
- `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors", "colSpan"] }, { 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: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
1128
+ `, isInline: true, dependencies: [{ kind: "component", type: DialogTitleBarComponent, selector: "kendo-dialog-titlebar", inputs: ["id", "closeTitle"], outputs: ["close"] }, { kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i3.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i3.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: FormFieldComponent, selector: "kendo-formfield", inputs: ["showHints", "orientation", "showErrors", "colSpan"] }, { 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: "directive", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: ["size", "rounded"] }, { kind: "directive", type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { kind: "component", type: DialogActionsComponent, selector: "kendo-dialog-actions", inputs: ["actions", "layout"], outputs: ["action"] }, { kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }] });
1129
1129
  }
1130
1130
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FileLinkDialogComponent, decorators: [{
1131
1131
  type: Component,
1132
1132
  args: [{
1133
1133
  template: `
1134
1134
  <kendo-dialog-titlebar (close)="onCancelAction()">
1135
- {{ titleText }}
1135
+ {{ titleText }}
1136
1136
  </kendo-dialog-titlebar>
1137
1137
  <form class="k-form k-form-md" novalidate [formGroup]="linkForm">
1138
+ <kendo-formfield>
1139
+ <kendo-label
1140
+ labelCssClass="k-form-label"
1141
+ [for]="hrefInput"
1142
+ [text]="textForWithPrefix('WebAddress')"
1143
+ ></kendo-label>
1144
+ <kendo-textbox
1145
+ #hrefInput
1146
+ formControlName="href"
1147
+ ></kendo-textbox>
1148
+ </kendo-formfield>
1149
+ <kendo-formfield>
1150
+ <kendo-label
1151
+ labelCssClass="k-form-label"
1152
+ [for]="textInput"
1153
+ [text]="textForWithPrefix('Text')"
1154
+ ></kendo-label>
1155
+ <kendo-textbox
1156
+ #textInput
1157
+ formControlName="text"
1158
+ ></kendo-textbox>
1159
+ </kendo-formfield>
1160
+ <kendo-formfield>
1161
+ <kendo-label
1162
+ labelCssClass="k-form-label"
1163
+ [for]="titleInput"
1164
+ [text]="textForWithPrefix('Title')"
1165
+ ></kendo-label>
1166
+ <kendo-textbox
1167
+ #titleInput
1168
+ formControlName="title"
1169
+ ></kendo-textbox>
1170
+ </kendo-formfield>
1171
+ @if (command === 'createLink') {
1138
1172
  <kendo-formfield>
1139
- <kendo-label
1140
- labelCssClass="k-form-label"
1141
- [for]="hrefInput"
1142
- [text]="textForWithPrefix('WebAddress')"
1143
- ></kendo-label>
1144
- <kendo-textbox
1145
- #hrefInput
1146
- formControlName="href"
1147
- ></kendo-textbox>
1148
- </kendo-formfield>
1149
- <kendo-formfield>
1150
- <kendo-label
1151
- labelCssClass="k-form-label"
1152
- [for]="textInput"
1153
- [text]="textForWithPrefix('Text')"
1154
- ></kendo-label>
1155
- <kendo-textbox
1156
- #textInput
1157
- formControlName="text"
1158
- ></kendo-textbox>
1159
- </kendo-formfield>
1160
- <kendo-formfield>
1161
- <kendo-label
1162
- labelCssClass="k-form-label"
1163
- [for]="titleInput"
1164
- [text]="textForWithPrefix('Title')"
1165
- ></kendo-label>
1166
- <kendo-textbox
1167
- #titleInput
1168
- formControlName="title"
1169
- ></kendo-textbox>
1173
+ <ng-container>
1174
+ <span class="k-checkbox-wrap">
1175
+ <input
1176
+ id='k-target-blank'
1177
+ type='checkbox'
1178
+ kendoCheckBox
1179
+ formControlName="target"
1180
+ />
1181
+ </span>
1182
+ <label [labelClass]="false" class='k-checkbox-label' for='k-target-blank'>{{ textForWithPrefix('OpenInNewWindow') }}</label>
1183
+ </ng-container>
1170
1184
  </kendo-formfield>
1171
- <ng-container *ngIf="command === 'createLink'">
1172
- <kendo-formfield>
1173
- <ng-container>
1174
- <span class="k-checkbox-wrap">
1175
- <input
1176
- id='k-target-blank'
1177
- type='checkbox'
1178
- kendoCheckBox
1179
- formControlName="target"
1180
- />
1181
- </span>
1182
- <label [labelClass]="false" class='k-checkbox-label' for='k-target-blank'>{{ textForWithPrefix('OpenInNewWindow') }}</label>
1183
- </ng-container>
1184
- </kendo-formfield>
1185
- </ng-container>
1185
+ }
1186
1186
  </form>
1187
1187
  <kendo-dialog-actions layout="start">
1188
- <button
1189
- kendoButton
1190
- [disabled]="linkForm.invalid"
1191
- [primary]="true"
1192
- (click)="onConfirmAction()"
1193
- >{{ textFor('dialogInsert') }}</button>
1194
- <button
1195
- kendoButton
1196
- (click)="onCancelAction()"
1197
- >{{ textFor('dialogCancel') }}</button>
1188
+ <button
1189
+ kendoButton
1190
+ [disabled]="linkForm.invalid"
1191
+ [primary]="true"
1192
+ (click)="onConfirmAction()"
1193
+ >{{ textFor('dialogInsert') }}</button>
1194
+ <button
1195
+ kendoButton
1196
+ (click)="onCancelAction()"
1197
+ >{{ textFor('dialogCancel') }}</button>
1198
1198
  </kendo-dialog-actions>
1199
- `,
1199
+ `,
1200
1200
  standalone: true,
1201
- imports: [DialogTitleBarComponent, ReactiveFormsModule, FormFieldComponent, LabelComponent, TextBoxComponent, NgIf, CheckBoxDirective, LabelDirective, DialogActionsComponent, ButtonComponent]
1201
+ imports: [DialogTitleBarComponent, ReactiveFormsModule, FormFieldComponent, LabelComponent, TextBoxComponent, CheckBoxDirective, LabelDirective, DialogActionsComponent, ButtonComponent]
1202
1202
  }]
1203
1203
  }], ctorParameters: () => [{ type: i1$1.DialogRef }, { type: EditorLocalizationService }], propDecorators: { editor: [{
1204
1204
  type: Input
@@ -2174,58 +2174,67 @@ class FormatDropDownListComponent {
2174
2174
  this.dropDownList.focus();
2175
2175
  }
2176
2176
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormatDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
2177
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: FormatDropDownListComponent, isStandalone: true, selector: "kendo-editor-format-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
2177
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: FormatDropDownListComponent, isStandalone: true, selector: "kendo-editor-format-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
2178
2178
  <kendo-dropdownlist
2179
- #element
2180
- kendoEditorDropDownTool
2181
- [defaultItem]="defaultItem"
2182
- [textField]="'text'"
2183
- [valueField]="'tag'"
2184
- [data]="data"
2185
- [(value)]="value"
2186
- [valuePrimitive]="true"
2187
- [itemDisabled]="itemDisabled"
2188
- [attr.title]="title"
2189
- [disabled]="disabled"
2190
- [tabindex]="tabindex"
2191
- (valueChange)="onValueChange($event)"
2192
- [style.width.em]="13"
2193
- >
2194
- <ng-template kendoDropDownListItemTemplate let-dataItem>
2195
- <ng-container [ngSwitch]="dataItem.tag">
2196
- <span *ngSwitchCase="'h1'" [style]="'display: block; font-size: 2em; margin-left: 0; font-weight: bold;'">
2197
- {{ dataItem.text }}
2198
- </span>
2199
-
2200
- <span *ngSwitchCase="'h2'" [style]="'display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;'">
2201
- {{ dataItem.text }}
2202
- </span>
2203
-
2204
- <span *ngSwitchCase="'h3'" [style]="'display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;'">
2205
- {{ dataItem.text }}
2206
- </span>
2207
-
2208
- <span *ngSwitchCase="'h4'" [style]="'display: block; font-size: 1em; margin-left: 0; font-weight: bold;'">
2209
- {{ dataItem.text }}
2210
- </span>
2211
-
2212
- <span *ngSwitchCase="'h5'" [style]="'display: block; font-size: .83em; margin-left: 0; font-weight: bold;'">
2213
- {{ dataItem.text }}
2214
- </span>
2215
-
2216
- <span *ngSwitchCase="'h6'" [style]="'display: block; font-size: .67em; margin-left: 0; font-weight: bold;'">
2217
- {{ dataItem.text }}
2218
- </span>
2219
-
2220
- <span *ngSwitchCase="'p'" [style]="'display: block; margin-left: 0;'">
2221
- {{ dataItem.text }}
2222
- </span>
2223
-
2224
- <span *ngSwitchDefault>{{ dataItem.text }}</span>
2225
- </ng-container>
2226
- </ng-template>
2179
+ #element
2180
+ kendoEditorDropDownTool
2181
+ [defaultItem]="defaultItem"
2182
+ [textField]="'text'"
2183
+ [valueField]="'tag'"
2184
+ [data]="data"
2185
+ [(value)]="value"
2186
+ [valuePrimitive]="true"
2187
+ [itemDisabled]="itemDisabled"
2188
+ [attr.title]="title"
2189
+ [disabled]="disabled"
2190
+ [tabindex]="tabindex"
2191
+ (valueChange)="onValueChange($event)"
2192
+ [style.width.em]="13"
2193
+ >
2194
+ <ng-template kendoDropDownListItemTemplate let-dataItem>
2195
+ @switch (dataItem.tag) {
2196
+ @case ('h1') {
2197
+ <span [style]="'display: block; font-size: 2em; margin-left: 0; font-weight: bold;'">
2198
+ {{ dataItem.text }}
2199
+ </span>
2200
+ }
2201
+ @case ('h2') {
2202
+ <span [style]="'display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;'">
2203
+ {{ dataItem.text }}
2204
+ </span>
2205
+ }
2206
+ @case ('h3') {
2207
+ <span [style]="'display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;'">
2208
+ {{ dataItem.text }}
2209
+ </span>
2210
+ }
2211
+ @case ('h4') {
2212
+ <span [style]="'display: block; font-size: 1em; margin-left: 0; font-weight: bold;'">
2213
+ {{ dataItem.text }}
2214
+ </span>
2215
+ }
2216
+ @case ('h5') {
2217
+ <span [style]="'display: block; font-size: .83em; margin-left: 0; font-weight: bold;'">
2218
+ {{ dataItem.text }}
2219
+ </span>
2220
+ }
2221
+ @case ('h6') {
2222
+ <span [style]="'display: block; font-size: .67em; margin-left: 0; font-weight: bold;'">
2223
+ {{ dataItem.text }}
2224
+ </span>
2225
+ }
2226
+ @case ('p') {
2227
+ <span [style]="'display: block; margin-left: 0;'">
2228
+ {{ dataItem.text }}
2229
+ </span>
2230
+ }
2231
+ @default {
2232
+ <span>{{ dataItem.text }}</span>
2233
+ }
2234
+ }
2235
+ </ng-template>
2227
2236
  </kendo-dropdownlist>
2228
- `, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { kind: "directive", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }, { kind: "directive", type: NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: NgSwitchDefault, selector: "[ngSwitchDefault]" }] });
2237
+ `, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }, { kind: "directive", type: ItemTemplateDirective, selector: "[kendoDropDownListItemTemplate],[kendoComboBoxItemTemplate],[kendoAutoCompleteItemTemplate],[kendoMultiSelectItemTemplate]" }] });
2229
2238
  }
2230
2239
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FormatDropDownListComponent, decorators: [{
2231
2240
  type: Component,
@@ -2233,58 +2242,67 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
2233
2242
  selector: 'kendo-editor-format-dropdownlist',
2234
2243
  template: `
2235
2244
  <kendo-dropdownlist
2236
- #element
2237
- kendoEditorDropDownTool
2238
- [defaultItem]="defaultItem"
2239
- [textField]="'text'"
2240
- [valueField]="'tag'"
2241
- [data]="data"
2242
- [(value)]="value"
2243
- [valuePrimitive]="true"
2244
- [itemDisabled]="itemDisabled"
2245
- [attr.title]="title"
2246
- [disabled]="disabled"
2247
- [tabindex]="tabindex"
2248
- (valueChange)="onValueChange($event)"
2249
- [style.width.em]="13"
2250
- >
2251
- <ng-template kendoDropDownListItemTemplate let-dataItem>
2252
- <ng-container [ngSwitch]="dataItem.tag">
2253
- <span *ngSwitchCase="'h1'" [style]="'display: block; font-size: 2em; margin-left: 0; font-weight: bold;'">
2254
- {{ dataItem.text }}
2255
- </span>
2256
-
2257
- <span *ngSwitchCase="'h2'" [style]="'display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;'">
2258
- {{ dataItem.text }}
2259
- </span>
2260
-
2261
- <span *ngSwitchCase="'h3'" [style]="'display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;'">
2262
- {{ dataItem.text }}
2263
- </span>
2264
-
2265
- <span *ngSwitchCase="'h4'" [style]="'display: block; font-size: 1em; margin-left: 0; font-weight: bold;'">
2266
- {{ dataItem.text }}
2267
- </span>
2268
-
2269
- <span *ngSwitchCase="'h5'" [style]="'display: block; font-size: .83em; margin-left: 0; font-weight: bold;'">
2270
- {{ dataItem.text }}
2271
- </span>
2272
-
2273
- <span *ngSwitchCase="'h6'" [style]="'display: block; font-size: .67em; margin-left: 0; font-weight: bold;'">
2274
- {{ dataItem.text }}
2275
- </span>
2276
-
2277
- <span *ngSwitchCase="'p'" [style]="'display: block; margin-left: 0;'">
2278
- {{ dataItem.text }}
2279
- </span>
2280
-
2281
- <span *ngSwitchDefault>{{ dataItem.text }}</span>
2282
- </ng-container>
2283
- </ng-template>
2245
+ #element
2246
+ kendoEditorDropDownTool
2247
+ [defaultItem]="defaultItem"
2248
+ [textField]="'text'"
2249
+ [valueField]="'tag'"
2250
+ [data]="data"
2251
+ [(value)]="value"
2252
+ [valuePrimitive]="true"
2253
+ [itemDisabled]="itemDisabled"
2254
+ [attr.title]="title"
2255
+ [disabled]="disabled"
2256
+ [tabindex]="tabindex"
2257
+ (valueChange)="onValueChange($event)"
2258
+ [style.width.em]="13"
2259
+ >
2260
+ <ng-template kendoDropDownListItemTemplate let-dataItem>
2261
+ @switch (dataItem.tag) {
2262
+ @case ('h1') {
2263
+ <span [style]="'display: block; font-size: 2em; margin-left: 0; font-weight: bold;'">
2264
+ {{ dataItem.text }}
2265
+ </span>
2266
+ }
2267
+ @case ('h2') {
2268
+ <span [style]="'display: block; font-size: 1.5em; margin-left: 0; font-weight: bold;'">
2269
+ {{ dataItem.text }}
2270
+ </span>
2271
+ }
2272
+ @case ('h3') {
2273
+ <span [style]="'display: block; font-size: 1.17em; margin-left: 0; font-weight: bold;'">
2274
+ {{ dataItem.text }}
2275
+ </span>
2276
+ }
2277
+ @case ('h4') {
2278
+ <span [style]="'display: block; font-size: 1em; margin-left: 0; font-weight: bold;'">
2279
+ {{ dataItem.text }}
2280
+ </span>
2281
+ }
2282
+ @case ('h5') {
2283
+ <span [style]="'display: block; font-size: .83em; margin-left: 0; font-weight: bold;'">
2284
+ {{ dataItem.text }}
2285
+ </span>
2286
+ }
2287
+ @case ('h6') {
2288
+ <span [style]="'display: block; font-size: .67em; margin-left: 0; font-weight: bold;'">
2289
+ {{ dataItem.text }}
2290
+ </span>
2291
+ }
2292
+ @case ('p') {
2293
+ <span [style]="'display: block; margin-left: 0;'">
2294
+ {{ dataItem.text }}
2295
+ </span>
2296
+ }
2297
+ @default {
2298
+ <span>{{ dataItem.text }}</span>
2299
+ }
2300
+ }
2301
+ </ng-template>
2284
2302
  </kendo-dropdownlist>
2285
- `,
2303
+ `,
2286
2304
  standalone: true,
2287
- imports: [DropDownListComponent, DropDownToolDirective, ItemTemplateDirective, NgSwitch, NgSwitchCase, NgSwitchDefault]
2305
+ imports: [DropDownListComponent, DropDownToolDirective, ItemTemplateDirective]
2288
2306
  }]
2289
2307
  }], propDecorators: { data: [{
2290
2308
  type: Input
@@ -2564,50 +2582,52 @@ class EditorFormatComponent extends ToolBarToolComponent {
2564
2582
  return false;
2565
2583
  }
2566
2584
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorFormatComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2567
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EditorFormatComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }], viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true }, { propertyName: "formatButton", first: true, predicate: ["formatButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
2585
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: EditorFormatComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFormatComponent) }], viewQueries: [{ propertyName: "formatDropDownList", first: true, predicate: ["formatDropDownList"], descendants: true }, { propertyName: "formatButton", first: true, predicate: ["formatButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
2568
2586
  <ng-template #toolbarTemplate>
2569
- <kendo-editor-format-dropdownlist
2570
- #formatDropDownList
2571
- [defaultItem]="defaultItem"
2572
- [data]="data"
2573
- [(value)]="value"
2574
- [itemDisabled]="itemDisabled"
2575
- [title]="title"
2576
- [disabled]="disabled"
2577
- [tabindex]="tabindex"
2578
- (valueChange)="onValueChange($event)"
2587
+ <kendo-editor-format-dropdownlist
2588
+ #formatDropDownList
2589
+ [defaultItem]="defaultItem"
2590
+ [data]="data"
2591
+ [(value)]="value"
2592
+ [itemDisabled]="itemDisabled"
2593
+ [title]="title"
2594
+ [disabled]="disabled"
2595
+ [tabindex]="tabindex"
2596
+ (valueChange)="onValueChange($event)"
2579
2597
  >
2580
- </kendo-editor-format-dropdownlist>
2598
+ </kendo-editor-format-dropdownlist>
2581
2599
  </ng-template>
2582
2600
  <ng-template #popupTemplate>
2583
- <div #formatButton
2584
- role="menuitem"
2585
- class="k-item k-menu-item"
2586
- [class.k-disabled]="disabled"
2587
- [tabindex]="tabindex"
2588
- (click)="openDialog()">
2589
- <span
2590
- class="k-link k-menu-link">
2591
- <kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
2592
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
2593
- </span>
2594
- </div>
2601
+ <div #formatButton
2602
+ role="menuitem"
2603
+ class="k-item k-menu-item"
2604
+ [class.k-disabled]="disabled"
2605
+ [tabindex]="tabindex"
2606
+ (click)="openDialog()">
2607
+ <span
2608
+ class="k-link k-menu-link">
2609
+ <kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
2610
+ @if (title) {
2611
+ <span class="k-menu-link-text">{{title}}</span>
2612
+ }
2613
+ </span>
2614
+ </div>
2595
2615
  </ng-template>
2596
2616
  <ng-template #sectionTemplate>
2597
- <kendo-editor-format-dropdownlist
2598
- #formatDropDownList
2599
- [defaultItem]="defaultItem"
2600
- [data]="data"
2601
- [(value)]="value"
2602
- [itemDisabled]="itemDisabled"
2603
- [title]="title"
2604
- [disabled]="disabled"
2605
- [tabindex]="tabindex"
2606
- (valueChange)="onValueChange($event)"
2617
+ <kendo-editor-format-dropdownlist
2618
+ #formatDropDownList
2619
+ [defaultItem]="defaultItem"
2620
+ [data]="data"
2621
+ [(value)]="value"
2622
+ [itemDisabled]="itemDisabled"
2623
+ [title]="title"
2624
+ [disabled]="disabled"
2625
+ [tabindex]="tabindex"
2626
+ (valueChange)="onValueChange($event)"
2607
2627
  >
2608
- </kendo-editor-format-dropdownlist>
2628
+ </kendo-editor-format-dropdownlist>
2609
2629
  </ng-template>
2610
- `, isInline: true, dependencies: [{ kind: "component", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
2630
+ `, isInline: true, dependencies: [{ kind: "component", type: FormatDropDownListComponent, selector: "kendo-editor-format-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
2611
2631
  }
2612
2632
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorFormatComponent, decorators: [{
2613
2633
  type: Component,
@@ -2616,50 +2636,52 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
2616
2636
  selector: 'kendo-toolbar-dropdownlist[kendoEditorFormat]',
2617
2637
  template: `
2618
2638
  <ng-template #toolbarTemplate>
2619
- <kendo-editor-format-dropdownlist
2620
- #formatDropDownList
2621
- [defaultItem]="defaultItem"
2622
- [data]="data"
2623
- [(value)]="value"
2624
- [itemDisabled]="itemDisabled"
2625
- [title]="title"
2626
- [disabled]="disabled"
2627
- [tabindex]="tabindex"
2628
- (valueChange)="onValueChange($event)"
2639
+ <kendo-editor-format-dropdownlist
2640
+ #formatDropDownList
2641
+ [defaultItem]="defaultItem"
2642
+ [data]="data"
2643
+ [(value)]="value"
2644
+ [itemDisabled]="itemDisabled"
2645
+ [title]="title"
2646
+ [disabled]="disabled"
2647
+ [tabindex]="tabindex"
2648
+ (valueChange)="onValueChange($event)"
2629
2649
  >
2630
- </kendo-editor-format-dropdownlist>
2650
+ </kendo-editor-format-dropdownlist>
2631
2651
  </ng-template>
2632
2652
  <ng-template #popupTemplate>
2633
- <div #formatButton
2634
- role="menuitem"
2635
- class="k-item k-menu-item"
2636
- [class.k-disabled]="disabled"
2637
- [tabindex]="tabindex"
2638
- (click)="openDialog()">
2639
- <span
2640
- class="k-link k-menu-link">
2641
- <kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
2642
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
2643
- </span>
2644
- </div>
2653
+ <div #formatButton
2654
+ role="menuitem"
2655
+ class="k-item k-menu-item"
2656
+ [class.k-disabled]="disabled"
2657
+ [tabindex]="tabindex"
2658
+ (click)="openDialog()">
2659
+ <span
2660
+ class="k-link k-menu-link">
2661
+ <kendo-icon-wrapper name="apply-format" [svgIcon]="applyFormatSVGIcon"></kendo-icon-wrapper>
2662
+ @if (title) {
2663
+ <span class="k-menu-link-text">{{title}}</span>
2664
+ }
2665
+ </span>
2666
+ </div>
2645
2667
  </ng-template>
2646
2668
  <ng-template #sectionTemplate>
2647
- <kendo-editor-format-dropdownlist
2648
- #formatDropDownList
2649
- [defaultItem]="defaultItem"
2650
- [data]="data"
2651
- [(value)]="value"
2652
- [itemDisabled]="itemDisabled"
2653
- [title]="title"
2654
- [disabled]="disabled"
2655
- [tabindex]="tabindex"
2656
- (valueChange)="onValueChange($event)"
2669
+ <kendo-editor-format-dropdownlist
2670
+ #formatDropDownList
2671
+ [defaultItem]="defaultItem"
2672
+ [data]="data"
2673
+ [(value)]="value"
2674
+ [itemDisabled]="itemDisabled"
2675
+ [title]="title"
2676
+ [disabled]="disabled"
2677
+ [tabindex]="tabindex"
2678
+ (valueChange)="onValueChange($event)"
2657
2679
  >
2658
- </kendo-editor-format-dropdownlist>
2680
+ </kendo-editor-format-dropdownlist>
2659
2681
  </ng-template>
2660
- `,
2682
+ `,
2661
2683
  standalone: true,
2662
- imports: [FormatDropDownListComponent, IconWrapperComponent, NgIf]
2684
+ imports: [FormatDropDownListComponent, IconWrapperComponent]
2663
2685
  }]
2664
2686
  }], ctorParameters: () => [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }], propDecorators: { data: [{
2665
2687
  type: Input
@@ -3944,7 +3966,7 @@ class EditorComponent {
3944
3966
  return cleanContent;
3945
3967
  }
3946
3968
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorComponent, deps: [{ token: i1$1.DialogService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
3947
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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", "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: [
3969
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", 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", "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: [
3948
3970
  EditorLocalizationService,
3949
3971
  ProviderService,
3950
3972
  EditorToolsService,
@@ -3967,164 +3989,171 @@ class EditorComponent {
3967
3989
  }
3968
3990
  ], queries: [{ propertyName: "userToolBarComponent", first: true, predicate: ToolBarComponent, descendants: true }, { propertyName: "userToolBarElement", first: true, predicate: ToolBarComponent, descendants: true, read: ElementRef }], viewQueries: [{ propertyName: "dialogContainer", first: true, predicate: ["dialogsContainer"], descendants: true, read: ViewContainerRef }, { propertyName: "container", first: true, predicate: ["content"], descendants: true, read: ViewContainerRef }, { propertyName: "defaultToolbar", first: true, predicate: ["defaultToolbar"], descendants: true, read: ElementRef }, { propertyName: "defaultToolbarComponent", first: true, predicate: ["defaultToolbar"], descendants: true, read: ToolBarComponent }], usesOnChanges: true, ngImport: i0, template: `
3969
3991
  <ng-container
3970
- kendoEditorLocalizedMessages
3971
- i18n-alignCenter="kendo.editor.alignCenter|The title of the tool that aligns text in the center."
3972
- alignCenter="Center text"
3973
- i18n-alignJustify="kendo.editor.alignJustify|The title of the tool that justifies text both left and right."
3974
- alignJustify="Justify"
3975
- i18n-alignLeft="kendo.editor.alignLeft|The title of the tool that aligns text on the left."
3976
- alignLeft="Align text left"
3977
- i18n-alignRight="kendo.editor.alignRight|The title of the tool that aligns text on the right."
3978
- alignRight="Align text right"
3979
- i18n-backColor="kendo.editor.backColor|The title of the tool that changes the text background color."
3980
- backColor="Background color"
3981
- i18n-blockquote="kendo.editor.blockquote|The title of the tool that wraps an element in a blockquote"
3982
- blockquote="Quotation"
3983
- i18n-bold="kendo.editor.bold|The title of the tool that makes text bold."
3984
- bold="Bold"
3985
- i18n-cleanFormatting="kendo.editor.cleanFormatting|The title of the Clean Formatting tool."
3986
- cleanFormatting="Clean formatting"
3987
- i18n-createLink="kendo.editor.createLink|The title of the tool that creates hyperlinks."
3988
- createLink="Insert link"
3989
- i18n-dialogApply="kendo.editor.dialogApply|The label of the **Apply** button in all editor dialogs."
3990
- dialogApply="Apply"
3991
- i18n-dialogCancel="kendo.editor.dialogCancel|The label of the **Cancel** button in all editor dialogs."
3992
- dialogCancel="Cancel"
3993
- i18n-dialogInsert="kendo.editor.dialogInsert|The label of the **Insert** button in all editor dialogs."
3994
- dialogInsert="Insert"
3995
- i18n-dialogUpdate="kendo.editor.dialogUpdate|The label of the **Update** button in all editor dialogs."
3996
- dialogUpdate="Update"
3997
- i18n-fileText="kendo.editor.fileText|The caption for the file text in the insertFile dialog."
3998
- fileText="Text"
3999
- i18n-fileTitle="kendo.editor.fileTitle|The caption for the file Title in the insertFile dialog."
4000
- fileTitle="Title"
4001
- i18n-fileWebAddress="kendo.editor.fileWebAddress|The caption for the file URL in the insertFile dialog."
4002
- fileWebAddress="Web address"
4003
- i18n-fontFamily="kendo.editor.fontFamily|The title of the tool that changes the text font."
4004
- fontFamily="Select font family"
4005
- i18n-fontSize="kendo.editor.fontSize|The title of the tool that changes the text size."
4006
- fontSize="Select font size"
4007
- i18n-foreColor="kendo.editor.foreColor|The title of the tool that changes the text color."
4008
- foreColor="Color"
4009
- i18n-format="kendo.editor.format|The title of the tool that lets users choose block formats."
4010
- format="Format"
4011
- i18n-imageAltText="kendo.editor.imageAltText|The caption for the image alternate text in the insertImage dialog."
4012
- imageAltText="Alternate text"
4013
- i18n-imageHeight="kendo.editor.imageHeight|The caption for the image height in the insertImage dialog."
4014
- imageHeight="Height (px)"
4015
- i18n-imageWebAddress="kendo.editor.imageWebAddress|The caption for the image URL in the insertImage dialog."
4016
- imageWebAddress="Web address"
4017
- i18n-imageWidth="kendo.editor.imageWidth|The caption for the image width in the insertImage dialog."
4018
- imageWidth="Width (px)"
4019
- i18n-indent="kendo.editor.indent|The title of the tool that indents the content."
4020
- indent="Indent"
4021
- i18n-insertFile="kendo.editor.insertFile|The title of the tool that inserts links to files."
4022
- insertFile="Insert file"
4023
- i18n-insertImage="kendo.editor.insertImage|The title of the tool that inserts images."
4024
- insertImage="Insert image"
4025
- i18n-insertOrderedList="kendo.editor.insertOrderedList|The title of the tool that inserts an ordered list."
4026
- insertOrderedList="Insert ordered list"
4027
- i18n-insertUnorderedList="kendo.editor.insertUnorderedList|The title of the tool that inserts an unordered list."
4028
- insertUnorderedList="Insert unordered list"
4029
- i18n-italic="kendo.editor.italic|The title of the tool that makes text italicized."
4030
- italic="Italic"
4031
- i18n-linkOpenInNewWindow="kendo.editor.linkOpenInNewWindow|The caption for the checkbox for opening the link in a new window in the createLink dialog."
4032
- linkOpenInNewWindow="Open link in new window"
4033
- i18n-linkText="kendo.editor.linkText|The caption for the link text in the createLink dialog."
4034
- linkText="Text"
4035
- i18n-linkTitle="kendo.editor.linkTitle|The caption for the link title in the createLink dialog."
4036
- linkTitle="Title"
4037
- i18n-linkWebAddress="kendo.editor.linkWebAddress|The caption for the URL in the createLink dialog."
4038
- linkWebAddress="Web address"
4039
- i18n-outdent="kendo.editor.outdent|The title of the tool that outdents the content."
4040
- outdent="Outdent"
4041
- i18n-print="kendo.editor.print|The title of the print tool."
4042
- print="Print"
4043
- i18n-redo="kendo.editor.redo|The title of the tool that undos the last action."
4044
- redo="Redo"
4045
- i18n-selectAll="kendo.editor.selectAll|The title of the tool that selects all content."
4046
- selectAll="Select All"
4047
- i18n-strikethrough="kendo.editor.strikethrough|The title of the tool that strikes through text."
4048
- strikethrough="Strikethrough"
4049
- i18n-subscript="kendo.editor.subscript|The title of the tool that makes text subscript."
4050
- subscript="Subscript"
4051
- i18n-superscript="kendo.editor.superscript|The title of the tool that makes text superscript."
4052
- superscript="Superscript"
4053
- i18n-underline="kendo.editor.underline|The title of the tool that underlines text."
4054
- underline="Underline"
4055
- i18n-unlink="kendo.editor.unlink|The title of the tool that removes hyperlinks."
4056
- unlink="Remove Link"
4057
- i18n-undo="kendo.editor.undo|The title of the tool that undos the last action."
4058
- undo="Undo"
4059
- i18n-viewSource="kendo.editor.viewSource|The title of the tool that shows the editor value as HTML."
4060
- viewSource="View source"
4061
- i18n-insertTable="kendo.editor.insertTable|The title of the tool that inserts table."
4062
- insertTable="Insert Table"
4063
- i18n-insertTableHint="kendo.editor.insertTableHint|The caption for the hint in the insert table tool."
4064
- insertTableHint="Create a {rows} {x} {columns} table"
4065
- i18n-addColumnBefore="kendo.editor.addColumnBefore|The title of the tool that adds new column before currently selected column."
4066
- addColumnBefore="Add column before"
4067
- i18n-addColumnAfter="kendo.editor.addColumnAfter|The title of the tool that adds new column after currently selected column."
4068
- addColumnAfter="Add column after"
4069
- i18n-addRowBefore="kendo.editor.addRowBefore|The title of the tool that adds new row before currently selected row."
4070
- addRowBefore="Add row before"
4071
- i18n-addRowAfter="kendo.editor.addRowAfter|The title of the tool that adds new row after currently selected row."
4072
- addRowAfter="Add row after"
4073
- i18n-mergeCells="kendo.editor.mergeCells|The title of the tool that merges the currently selected cells."
4074
- mergeCells="Merge cells"
4075
- i18n-splitCell="kendo.editor.splitCell|The title of the tool that splits the currently selected cell."
4076
- splitCell="Split cell"
4077
- i18n-deleteColumn="kendo.editor.deleteColumn|The title of the tool that deletes a table column."
4078
- deleteColumn="Delete column"
4079
- i18n-deleteRow="kendo.editor.deleteRow|The title of the tool that deletes a table row."
4080
- deleteRow="Delete row"
4081
- i18n-deleteTable="kendo.editor.deleteTable|The title of the tool that deletes a table."
4082
- deleteTable="Delete table"
4083
- >
3992
+ kendoEditorLocalizedMessages
3993
+ i18n-alignCenter="kendo.editor.alignCenter|The title of the tool that aligns text in the center."
3994
+ alignCenter="Center text"
3995
+ i18n-alignJustify="kendo.editor.alignJustify|The title of the tool that justifies text both left and right."
3996
+ alignJustify="Justify"
3997
+ i18n-alignLeft="kendo.editor.alignLeft|The title of the tool that aligns text on the left."
3998
+ alignLeft="Align text left"
3999
+ i18n-alignRight="kendo.editor.alignRight|The title of the tool that aligns text on the right."
4000
+ alignRight="Align text right"
4001
+ i18n-backColor="kendo.editor.backColor|The title of the tool that changes the text background color."
4002
+ backColor="Background color"
4003
+ i18n-blockquote="kendo.editor.blockquote|The title of the tool that wraps an element in a blockquote"
4004
+ blockquote="Quotation"
4005
+ i18n-bold="kendo.editor.bold|The title of the tool that makes text bold."
4006
+ bold="Bold"
4007
+ i18n-cleanFormatting="kendo.editor.cleanFormatting|The title of the Clean Formatting tool."
4008
+ cleanFormatting="Clean formatting"
4009
+ i18n-createLink="kendo.editor.createLink|The title of the tool that creates hyperlinks."
4010
+ createLink="Insert link"
4011
+ i18n-dialogApply="kendo.editor.dialogApply|The label of the **Apply** button in all editor dialogs."
4012
+ dialogApply="Apply"
4013
+ i18n-dialogCancel="kendo.editor.dialogCancel|The label of the **Cancel** button in all editor dialogs."
4014
+ dialogCancel="Cancel"
4015
+ i18n-dialogInsert="kendo.editor.dialogInsert|The label of the **Insert** button in all editor dialogs."
4016
+ dialogInsert="Insert"
4017
+ i18n-dialogUpdate="kendo.editor.dialogUpdate|The label of the **Update** button in all editor dialogs."
4018
+ dialogUpdate="Update"
4019
+ i18n-fileText="kendo.editor.fileText|The caption for the file text in the insertFile dialog."
4020
+ fileText="Text"
4021
+ i18n-fileTitle="kendo.editor.fileTitle|The caption for the file Title in the insertFile dialog."
4022
+ fileTitle="Title"
4023
+ i18n-fileWebAddress="kendo.editor.fileWebAddress|The caption for the file URL in the insertFile dialog."
4024
+ fileWebAddress="Web address"
4025
+ i18n-fontFamily="kendo.editor.fontFamily|The title of the tool that changes the text font."
4026
+ fontFamily="Select font family"
4027
+ i18n-fontSize="kendo.editor.fontSize|The title of the tool that changes the text size."
4028
+ fontSize="Select font size"
4029
+ i18n-foreColor="kendo.editor.foreColor|The title of the tool that changes the text color."
4030
+ foreColor="Color"
4031
+ i18n-format="kendo.editor.format|The title of the tool that lets users choose block formats."
4032
+ format="Format"
4033
+ i18n-imageAltText="kendo.editor.imageAltText|The caption for the image alternate text in the insertImage dialog."
4034
+ imageAltText="Alternate text"
4035
+ i18n-imageHeight="kendo.editor.imageHeight|The caption for the image height in the insertImage dialog."
4036
+ imageHeight="Height (px)"
4037
+ i18n-imageWebAddress="kendo.editor.imageWebAddress|The caption for the image URL in the insertImage dialog."
4038
+ imageWebAddress="Web address"
4039
+ i18n-imageWidth="kendo.editor.imageWidth|The caption for the image width in the insertImage dialog."
4040
+ imageWidth="Width (px)"
4041
+ i18n-indent="kendo.editor.indent|The title of the tool that indents the content."
4042
+ indent="Indent"
4043
+ i18n-insertFile="kendo.editor.insertFile|The title of the tool that inserts links to files."
4044
+ insertFile="Insert file"
4045
+ i18n-insertImage="kendo.editor.insertImage|The title of the tool that inserts images."
4046
+ insertImage="Insert image"
4047
+ i18n-insertOrderedList="kendo.editor.insertOrderedList|The title of the tool that inserts an ordered list."
4048
+ insertOrderedList="Insert ordered list"
4049
+ i18n-insertUnorderedList="kendo.editor.insertUnorderedList|The title of the tool that inserts an unordered list."
4050
+ insertUnorderedList="Insert unordered list"
4051
+ i18n-italic="kendo.editor.italic|The title of the tool that makes text italicized."
4052
+ italic="Italic"
4053
+ i18n-linkOpenInNewWindow="kendo.editor.linkOpenInNewWindow|The caption for the checkbox for opening the link in a new window in the createLink dialog."
4054
+ linkOpenInNewWindow="Open link in new window"
4055
+ i18n-linkText="kendo.editor.linkText|The caption for the link text in the createLink dialog."
4056
+ linkText="Text"
4057
+ i18n-linkTitle="kendo.editor.linkTitle|The caption for the link title in the createLink dialog."
4058
+ linkTitle="Title"
4059
+ i18n-linkWebAddress="kendo.editor.linkWebAddress|The caption for the URL in the createLink dialog."
4060
+ linkWebAddress="Web address"
4061
+ i18n-outdent="kendo.editor.outdent|The title of the tool that outdents the content."
4062
+ outdent="Outdent"
4063
+ i18n-print="kendo.editor.print|The title of the print tool."
4064
+ print="Print"
4065
+ i18n-redo="kendo.editor.redo|The title of the tool that undos the last action."
4066
+ redo="Redo"
4067
+ i18n-selectAll="kendo.editor.selectAll|The title of the tool that selects all content."
4068
+ selectAll="Select All"
4069
+ i18n-strikethrough="kendo.editor.strikethrough|The title of the tool that strikes through text."
4070
+ strikethrough="Strikethrough"
4071
+ i18n-subscript="kendo.editor.subscript|The title of the tool that makes text subscript."
4072
+ subscript="Subscript"
4073
+ i18n-superscript="kendo.editor.superscript|The title of the tool that makes text superscript."
4074
+ superscript="Superscript"
4075
+ i18n-underline="kendo.editor.underline|The title of the tool that underlines text."
4076
+ underline="Underline"
4077
+ i18n-unlink="kendo.editor.unlink|The title of the tool that removes hyperlinks."
4078
+ unlink="Remove Link"
4079
+ i18n-undo="kendo.editor.undo|The title of the tool that undos the last action."
4080
+ undo="Undo"
4081
+ i18n-viewSource="kendo.editor.viewSource|The title of the tool that shows the editor value as HTML."
4082
+ viewSource="View source"
4083
+ i18n-insertTable="kendo.editor.insertTable|The title of the tool that inserts table."
4084
+ insertTable="Insert Table"
4085
+ i18n-insertTableHint="kendo.editor.insertTableHint|The caption for the hint in the insert table tool."
4086
+ insertTableHint="Create a {rows} {x} {columns} table"
4087
+ i18n-addColumnBefore="kendo.editor.addColumnBefore|The title of the tool that adds new column before currently selected column."
4088
+ addColumnBefore="Add column before"
4089
+ i18n-addColumnAfter="kendo.editor.addColumnAfter|The title of the tool that adds new column after currently selected column."
4090
+ addColumnAfter="Add column after"
4091
+ i18n-addRowBefore="kendo.editor.addRowBefore|The title of the tool that adds new row before currently selected row."
4092
+ addRowBefore="Add row before"
4093
+ i18n-addRowAfter="kendo.editor.addRowAfter|The title of the tool that adds new row after currently selected row."
4094
+ addRowAfter="Add row after"
4095
+ i18n-mergeCells="kendo.editor.mergeCells|The title of the tool that merges the currently selected cells."
4096
+ mergeCells="Merge cells"
4097
+ i18n-splitCell="kendo.editor.splitCell|The title of the tool that splits the currently selected cell."
4098
+ splitCell="Split cell"
4099
+ i18n-deleteColumn="kendo.editor.deleteColumn|The title of the tool that deletes a table column."
4100
+ deleteColumn="Delete column"
4101
+ i18n-deleteRow="kendo.editor.deleteRow|The title of the tool that deletes a table row."
4102
+ deleteRow="Delete row"
4103
+ i18n-deleteTable="kendo.editor.deleteTable|The title of the tool that deletes a table."
4104
+ deleteTable="Delete table"
4105
+ >
4084
4106
  </ng-container>
4085
4107
  <ng-content select="kendo-toolbar"></ng-content>
4086
- <kendo-toolbar
4108
+ @if (!userToolBarElement) {
4109
+ <kendo-toolbar
4087
4110
  #defaultToolbar
4088
- *ngIf="!userToolBarElement"
4089
4111
  class="k-editor-toolbar"
4090
4112
  [overflow]="true"
4091
4113
  [tabindex]="readonly ? -1 : 0"
4092
- >
4114
+ >
4093
4115
  <kendo-toolbar-buttongroup>
4094
- <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
4095
- <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
4096
- <kendo-toolbar-button kendoEditorUnderlineButton></kendo-toolbar-button>
4116
+ <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
4117
+ <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
4118
+ <kendo-toolbar-button kendoEditorUnderlineButton></kendo-toolbar-button>
4097
4119
  </kendo-toolbar-buttongroup>
4098
4120
  <kendo-toolbar-dropdownlist kendoEditorFormat></kendo-toolbar-dropdownlist>
4099
4121
  <kendo-toolbar-buttongroup>
4100
- <kendo-toolbar-button kendoEditorAlignLeftButton></kendo-toolbar-button>
4101
- <kendo-toolbar-button kendoEditorAlignCenterButton></kendo-toolbar-button>
4102
- <kendo-toolbar-button kendoEditorAlignRightButton></kendo-toolbar-button>
4103
- <kendo-toolbar-button kendoEditorAlignJustifyButton></kendo-toolbar-button>
4122
+ <kendo-toolbar-button kendoEditorAlignLeftButton></kendo-toolbar-button>
4123
+ <kendo-toolbar-button kendoEditorAlignCenterButton></kendo-toolbar-button>
4124
+ <kendo-toolbar-button kendoEditorAlignRightButton></kendo-toolbar-button>
4125
+ <kendo-toolbar-button kendoEditorAlignJustifyButton></kendo-toolbar-button>
4104
4126
  </kendo-toolbar-buttongroup>
4105
4127
  <kendo-toolbar-buttongroup>
4106
- <kendo-toolbar-button kendoEditorInsertUnorderedListButton></kendo-toolbar-button>
4107
- <kendo-toolbar-button kendoEditorInsertOrderedListButton></kendo-toolbar-button>
4108
- <kendo-toolbar-button kendoEditorIndentButton></kendo-toolbar-button>
4109
- <kendo-toolbar-button kendoEditorOutdentButton></kendo-toolbar-button>
4128
+ <kendo-toolbar-button kendoEditorInsertUnorderedListButton></kendo-toolbar-button>
4129
+ <kendo-toolbar-button kendoEditorInsertOrderedListButton></kendo-toolbar-button>
4130
+ <kendo-toolbar-button kendoEditorIndentButton></kendo-toolbar-button>
4131
+ <kendo-toolbar-button kendoEditorOutdentButton></kendo-toolbar-button>
4110
4132
  </kendo-toolbar-buttongroup>
4111
4133
  <kendo-toolbar-buttongroup>
4112
- <kendo-toolbar-button kendoEditorCreateLinkButton></kendo-toolbar-button>
4113
- <kendo-toolbar-button kendoEditorUnlinkButton></kendo-toolbar-button>
4134
+ <kendo-toolbar-button kendoEditorCreateLinkButton></kendo-toolbar-button>
4135
+ <kendo-toolbar-button kendoEditorUnlinkButton></kendo-toolbar-button>
4114
4136
  </kendo-toolbar-buttongroup>
4115
4137
  <kendo-toolbar-button kendoEditorInsertImageButton></kendo-toolbar-button>
4116
- </kendo-toolbar>
4117
-
4118
- <div *ngIf="!iframe" #content [attr.dir]="direction" class="k-editor-content"></div>
4119
-
4120
- <div class="k-editor-content" *ngIf="iframe">
4138
+ </kendo-toolbar>
4139
+ }
4140
+
4141
+ @if (!iframe) {
4142
+ <div #content [attr.dir]="direction" class="k-editor-content"></div>
4143
+ }
4144
+
4145
+ @if (iframe) {
4146
+ <div class="k-editor-content">
4121
4147
  <iframe #content srcdoc="<!DOCTYPE html>" role="none" frameborder="0" class="k-iframe" [style.width.%]="100" [style.height.%]="100" [style.display]="'block'" (load)="iframeOnLoad()"></iframe>
4122
- </div>
4123
-
4148
+ </div>
4149
+ }
4150
+
4124
4151
  <ng-container #dialogsContainer></ng-container>
4125
-
4126
- <div kendoWatermarkOverlay *ngIf="showLicenseWatermark" [licenseMessage]="licenseMessage"></div>
4127
- `, 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", "fillMode", "tabindex", "size", "tabIndex", "showIcon", "showText"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "fillMode", "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", "rounded", "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]", inputs: ["licenseMessage"] }] });
4152
+
4153
+ @if (showLicenseWatermark) {
4154
+ <div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
4155
+ }
4156
+ `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { kind: "component", type: ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "fillMode", "tabindex", "size", "tabIndex", "showIcon", "showText"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "fillMode", "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", "rounded", "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]", inputs: ["licenseMessage"] }] });
4128
4157
  }
4129
4158
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorComponent, decorators: [{
4130
4159
  type: Component,
@@ -4154,166 +4183,173 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
4154
4183
  ],
4155
4184
  template: `
4156
4185
  <ng-container
4157
- kendoEditorLocalizedMessages
4158
- i18n-alignCenter="kendo.editor.alignCenter|The title of the tool that aligns text in the center."
4159
- alignCenter="Center text"
4160
- i18n-alignJustify="kendo.editor.alignJustify|The title of the tool that justifies text both left and right."
4161
- alignJustify="Justify"
4162
- i18n-alignLeft="kendo.editor.alignLeft|The title of the tool that aligns text on the left."
4163
- alignLeft="Align text left"
4164
- i18n-alignRight="kendo.editor.alignRight|The title of the tool that aligns text on the right."
4165
- alignRight="Align text right"
4166
- i18n-backColor="kendo.editor.backColor|The title of the tool that changes the text background color."
4167
- backColor="Background color"
4168
- i18n-blockquote="kendo.editor.blockquote|The title of the tool that wraps an element in a blockquote"
4169
- blockquote="Quotation"
4170
- i18n-bold="kendo.editor.bold|The title of the tool that makes text bold."
4171
- bold="Bold"
4172
- i18n-cleanFormatting="kendo.editor.cleanFormatting|The title of the Clean Formatting tool."
4173
- cleanFormatting="Clean formatting"
4174
- i18n-createLink="kendo.editor.createLink|The title of the tool that creates hyperlinks."
4175
- createLink="Insert link"
4176
- i18n-dialogApply="kendo.editor.dialogApply|The label of the **Apply** button in all editor dialogs."
4177
- dialogApply="Apply"
4178
- i18n-dialogCancel="kendo.editor.dialogCancel|The label of the **Cancel** button in all editor dialogs."
4179
- dialogCancel="Cancel"
4180
- i18n-dialogInsert="kendo.editor.dialogInsert|The label of the **Insert** button in all editor dialogs."
4181
- dialogInsert="Insert"
4182
- i18n-dialogUpdate="kendo.editor.dialogUpdate|The label of the **Update** button in all editor dialogs."
4183
- dialogUpdate="Update"
4184
- i18n-fileText="kendo.editor.fileText|The caption for the file text in the insertFile dialog."
4185
- fileText="Text"
4186
- i18n-fileTitle="kendo.editor.fileTitle|The caption for the file Title in the insertFile dialog."
4187
- fileTitle="Title"
4188
- i18n-fileWebAddress="kendo.editor.fileWebAddress|The caption for the file URL in the insertFile dialog."
4189
- fileWebAddress="Web address"
4190
- i18n-fontFamily="kendo.editor.fontFamily|The title of the tool that changes the text font."
4191
- fontFamily="Select font family"
4192
- i18n-fontSize="kendo.editor.fontSize|The title of the tool that changes the text size."
4193
- fontSize="Select font size"
4194
- i18n-foreColor="kendo.editor.foreColor|The title of the tool that changes the text color."
4195
- foreColor="Color"
4196
- i18n-format="kendo.editor.format|The title of the tool that lets users choose block formats."
4197
- format="Format"
4198
- i18n-imageAltText="kendo.editor.imageAltText|The caption for the image alternate text in the insertImage dialog."
4199
- imageAltText="Alternate text"
4200
- i18n-imageHeight="kendo.editor.imageHeight|The caption for the image height in the insertImage dialog."
4201
- imageHeight="Height (px)"
4202
- i18n-imageWebAddress="kendo.editor.imageWebAddress|The caption for the image URL in the insertImage dialog."
4203
- imageWebAddress="Web address"
4204
- i18n-imageWidth="kendo.editor.imageWidth|The caption for the image width in the insertImage dialog."
4205
- imageWidth="Width (px)"
4206
- i18n-indent="kendo.editor.indent|The title of the tool that indents the content."
4207
- indent="Indent"
4208
- i18n-insertFile="kendo.editor.insertFile|The title of the tool that inserts links to files."
4209
- insertFile="Insert file"
4210
- i18n-insertImage="kendo.editor.insertImage|The title of the tool that inserts images."
4211
- insertImage="Insert image"
4212
- i18n-insertOrderedList="kendo.editor.insertOrderedList|The title of the tool that inserts an ordered list."
4213
- insertOrderedList="Insert ordered list"
4214
- i18n-insertUnorderedList="kendo.editor.insertUnorderedList|The title of the tool that inserts an unordered list."
4215
- insertUnorderedList="Insert unordered list"
4216
- i18n-italic="kendo.editor.italic|The title of the tool that makes text italicized."
4217
- italic="Italic"
4218
- i18n-linkOpenInNewWindow="kendo.editor.linkOpenInNewWindow|The caption for the checkbox for opening the link in a new window in the createLink dialog."
4219
- linkOpenInNewWindow="Open link in new window"
4220
- i18n-linkText="kendo.editor.linkText|The caption for the link text in the createLink dialog."
4221
- linkText="Text"
4222
- i18n-linkTitle="kendo.editor.linkTitle|The caption for the link title in the createLink dialog."
4223
- linkTitle="Title"
4224
- i18n-linkWebAddress="kendo.editor.linkWebAddress|The caption for the URL in the createLink dialog."
4225
- linkWebAddress="Web address"
4226
- i18n-outdent="kendo.editor.outdent|The title of the tool that outdents the content."
4227
- outdent="Outdent"
4228
- i18n-print="kendo.editor.print|The title of the print tool."
4229
- print="Print"
4230
- i18n-redo="kendo.editor.redo|The title of the tool that undos the last action."
4231
- redo="Redo"
4232
- i18n-selectAll="kendo.editor.selectAll|The title of the tool that selects all content."
4233
- selectAll="Select All"
4234
- i18n-strikethrough="kendo.editor.strikethrough|The title of the tool that strikes through text."
4235
- strikethrough="Strikethrough"
4236
- i18n-subscript="kendo.editor.subscript|The title of the tool that makes text subscript."
4237
- subscript="Subscript"
4238
- i18n-superscript="kendo.editor.superscript|The title of the tool that makes text superscript."
4239
- superscript="Superscript"
4240
- i18n-underline="kendo.editor.underline|The title of the tool that underlines text."
4241
- underline="Underline"
4242
- i18n-unlink="kendo.editor.unlink|The title of the tool that removes hyperlinks."
4243
- unlink="Remove Link"
4244
- i18n-undo="kendo.editor.undo|The title of the tool that undos the last action."
4245
- undo="Undo"
4246
- i18n-viewSource="kendo.editor.viewSource|The title of the tool that shows the editor value as HTML."
4247
- viewSource="View source"
4248
- i18n-insertTable="kendo.editor.insertTable|The title of the tool that inserts table."
4249
- insertTable="Insert Table"
4250
- i18n-insertTableHint="kendo.editor.insertTableHint|The caption for the hint in the insert table tool."
4251
- insertTableHint="Create a {rows} {x} {columns} table"
4252
- i18n-addColumnBefore="kendo.editor.addColumnBefore|The title of the tool that adds new column before currently selected column."
4253
- addColumnBefore="Add column before"
4254
- i18n-addColumnAfter="kendo.editor.addColumnAfter|The title of the tool that adds new column after currently selected column."
4255
- addColumnAfter="Add column after"
4256
- i18n-addRowBefore="kendo.editor.addRowBefore|The title of the tool that adds new row before currently selected row."
4257
- addRowBefore="Add row before"
4258
- i18n-addRowAfter="kendo.editor.addRowAfter|The title of the tool that adds new row after currently selected row."
4259
- addRowAfter="Add row after"
4260
- i18n-mergeCells="kendo.editor.mergeCells|The title of the tool that merges the currently selected cells."
4261
- mergeCells="Merge cells"
4262
- i18n-splitCell="kendo.editor.splitCell|The title of the tool that splits the currently selected cell."
4263
- splitCell="Split cell"
4264
- i18n-deleteColumn="kendo.editor.deleteColumn|The title of the tool that deletes a table column."
4265
- deleteColumn="Delete column"
4266
- i18n-deleteRow="kendo.editor.deleteRow|The title of the tool that deletes a table row."
4267
- deleteRow="Delete row"
4268
- i18n-deleteTable="kendo.editor.deleteTable|The title of the tool that deletes a table."
4269
- deleteTable="Delete table"
4270
- >
4186
+ kendoEditorLocalizedMessages
4187
+ i18n-alignCenter="kendo.editor.alignCenter|The title of the tool that aligns text in the center."
4188
+ alignCenter="Center text"
4189
+ i18n-alignJustify="kendo.editor.alignJustify|The title of the tool that justifies text both left and right."
4190
+ alignJustify="Justify"
4191
+ i18n-alignLeft="kendo.editor.alignLeft|The title of the tool that aligns text on the left."
4192
+ alignLeft="Align text left"
4193
+ i18n-alignRight="kendo.editor.alignRight|The title of the tool that aligns text on the right."
4194
+ alignRight="Align text right"
4195
+ i18n-backColor="kendo.editor.backColor|The title of the tool that changes the text background color."
4196
+ backColor="Background color"
4197
+ i18n-blockquote="kendo.editor.blockquote|The title of the tool that wraps an element in a blockquote"
4198
+ blockquote="Quotation"
4199
+ i18n-bold="kendo.editor.bold|The title of the tool that makes text bold."
4200
+ bold="Bold"
4201
+ i18n-cleanFormatting="kendo.editor.cleanFormatting|The title of the Clean Formatting tool."
4202
+ cleanFormatting="Clean formatting"
4203
+ i18n-createLink="kendo.editor.createLink|The title of the tool that creates hyperlinks."
4204
+ createLink="Insert link"
4205
+ i18n-dialogApply="kendo.editor.dialogApply|The label of the **Apply** button in all editor dialogs."
4206
+ dialogApply="Apply"
4207
+ i18n-dialogCancel="kendo.editor.dialogCancel|The label of the **Cancel** button in all editor dialogs."
4208
+ dialogCancel="Cancel"
4209
+ i18n-dialogInsert="kendo.editor.dialogInsert|The label of the **Insert** button in all editor dialogs."
4210
+ dialogInsert="Insert"
4211
+ i18n-dialogUpdate="kendo.editor.dialogUpdate|The label of the **Update** button in all editor dialogs."
4212
+ dialogUpdate="Update"
4213
+ i18n-fileText="kendo.editor.fileText|The caption for the file text in the insertFile dialog."
4214
+ fileText="Text"
4215
+ i18n-fileTitle="kendo.editor.fileTitle|The caption for the file Title in the insertFile dialog."
4216
+ fileTitle="Title"
4217
+ i18n-fileWebAddress="kendo.editor.fileWebAddress|The caption for the file URL in the insertFile dialog."
4218
+ fileWebAddress="Web address"
4219
+ i18n-fontFamily="kendo.editor.fontFamily|The title of the tool that changes the text font."
4220
+ fontFamily="Select font family"
4221
+ i18n-fontSize="kendo.editor.fontSize|The title of the tool that changes the text size."
4222
+ fontSize="Select font size"
4223
+ i18n-foreColor="kendo.editor.foreColor|The title of the tool that changes the text color."
4224
+ foreColor="Color"
4225
+ i18n-format="kendo.editor.format|The title of the tool that lets users choose block formats."
4226
+ format="Format"
4227
+ i18n-imageAltText="kendo.editor.imageAltText|The caption for the image alternate text in the insertImage dialog."
4228
+ imageAltText="Alternate text"
4229
+ i18n-imageHeight="kendo.editor.imageHeight|The caption for the image height in the insertImage dialog."
4230
+ imageHeight="Height (px)"
4231
+ i18n-imageWebAddress="kendo.editor.imageWebAddress|The caption for the image URL in the insertImage dialog."
4232
+ imageWebAddress="Web address"
4233
+ i18n-imageWidth="kendo.editor.imageWidth|The caption for the image width in the insertImage dialog."
4234
+ imageWidth="Width (px)"
4235
+ i18n-indent="kendo.editor.indent|The title of the tool that indents the content."
4236
+ indent="Indent"
4237
+ i18n-insertFile="kendo.editor.insertFile|The title of the tool that inserts links to files."
4238
+ insertFile="Insert file"
4239
+ i18n-insertImage="kendo.editor.insertImage|The title of the tool that inserts images."
4240
+ insertImage="Insert image"
4241
+ i18n-insertOrderedList="kendo.editor.insertOrderedList|The title of the tool that inserts an ordered list."
4242
+ insertOrderedList="Insert ordered list"
4243
+ i18n-insertUnorderedList="kendo.editor.insertUnorderedList|The title of the tool that inserts an unordered list."
4244
+ insertUnorderedList="Insert unordered list"
4245
+ i18n-italic="kendo.editor.italic|The title of the tool that makes text italicized."
4246
+ italic="Italic"
4247
+ i18n-linkOpenInNewWindow="kendo.editor.linkOpenInNewWindow|The caption for the checkbox for opening the link in a new window in the createLink dialog."
4248
+ linkOpenInNewWindow="Open link in new window"
4249
+ i18n-linkText="kendo.editor.linkText|The caption for the link text in the createLink dialog."
4250
+ linkText="Text"
4251
+ i18n-linkTitle="kendo.editor.linkTitle|The caption for the link title in the createLink dialog."
4252
+ linkTitle="Title"
4253
+ i18n-linkWebAddress="kendo.editor.linkWebAddress|The caption for the URL in the createLink dialog."
4254
+ linkWebAddress="Web address"
4255
+ i18n-outdent="kendo.editor.outdent|The title of the tool that outdents the content."
4256
+ outdent="Outdent"
4257
+ i18n-print="kendo.editor.print|The title of the print tool."
4258
+ print="Print"
4259
+ i18n-redo="kendo.editor.redo|The title of the tool that undos the last action."
4260
+ redo="Redo"
4261
+ i18n-selectAll="kendo.editor.selectAll|The title of the tool that selects all content."
4262
+ selectAll="Select All"
4263
+ i18n-strikethrough="kendo.editor.strikethrough|The title of the tool that strikes through text."
4264
+ strikethrough="Strikethrough"
4265
+ i18n-subscript="kendo.editor.subscript|The title of the tool that makes text subscript."
4266
+ subscript="Subscript"
4267
+ i18n-superscript="kendo.editor.superscript|The title of the tool that makes text superscript."
4268
+ superscript="Superscript"
4269
+ i18n-underline="kendo.editor.underline|The title of the tool that underlines text."
4270
+ underline="Underline"
4271
+ i18n-unlink="kendo.editor.unlink|The title of the tool that removes hyperlinks."
4272
+ unlink="Remove Link"
4273
+ i18n-undo="kendo.editor.undo|The title of the tool that undos the last action."
4274
+ undo="Undo"
4275
+ i18n-viewSource="kendo.editor.viewSource|The title of the tool that shows the editor value as HTML."
4276
+ viewSource="View source"
4277
+ i18n-insertTable="kendo.editor.insertTable|The title of the tool that inserts table."
4278
+ insertTable="Insert Table"
4279
+ i18n-insertTableHint="kendo.editor.insertTableHint|The caption for the hint in the insert table tool."
4280
+ insertTableHint="Create a {rows} {x} {columns} table"
4281
+ i18n-addColumnBefore="kendo.editor.addColumnBefore|The title of the tool that adds new column before currently selected column."
4282
+ addColumnBefore="Add column before"
4283
+ i18n-addColumnAfter="kendo.editor.addColumnAfter|The title of the tool that adds new column after currently selected column."
4284
+ addColumnAfter="Add column after"
4285
+ i18n-addRowBefore="kendo.editor.addRowBefore|The title of the tool that adds new row before currently selected row."
4286
+ addRowBefore="Add row before"
4287
+ i18n-addRowAfter="kendo.editor.addRowAfter|The title of the tool that adds new row after currently selected row."
4288
+ addRowAfter="Add row after"
4289
+ i18n-mergeCells="kendo.editor.mergeCells|The title of the tool that merges the currently selected cells."
4290
+ mergeCells="Merge cells"
4291
+ i18n-splitCell="kendo.editor.splitCell|The title of the tool that splits the currently selected cell."
4292
+ splitCell="Split cell"
4293
+ i18n-deleteColumn="kendo.editor.deleteColumn|The title of the tool that deletes a table column."
4294
+ deleteColumn="Delete column"
4295
+ i18n-deleteRow="kendo.editor.deleteRow|The title of the tool that deletes a table row."
4296
+ deleteRow="Delete row"
4297
+ i18n-deleteTable="kendo.editor.deleteTable|The title of the tool that deletes a table."
4298
+ deleteTable="Delete table"
4299
+ >
4271
4300
  </ng-container>
4272
4301
  <ng-content select="kendo-toolbar"></ng-content>
4273
- <kendo-toolbar
4302
+ @if (!userToolBarElement) {
4303
+ <kendo-toolbar
4274
4304
  #defaultToolbar
4275
- *ngIf="!userToolBarElement"
4276
4305
  class="k-editor-toolbar"
4277
4306
  [overflow]="true"
4278
4307
  [tabindex]="readonly ? -1 : 0"
4279
- >
4308
+ >
4280
4309
  <kendo-toolbar-buttongroup>
4281
- <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
4282
- <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
4283
- <kendo-toolbar-button kendoEditorUnderlineButton></kendo-toolbar-button>
4310
+ <kendo-toolbar-button kendoEditorBoldButton></kendo-toolbar-button>
4311
+ <kendo-toolbar-button kendoEditorItalicButton></kendo-toolbar-button>
4312
+ <kendo-toolbar-button kendoEditorUnderlineButton></kendo-toolbar-button>
4284
4313
  </kendo-toolbar-buttongroup>
4285
4314
  <kendo-toolbar-dropdownlist kendoEditorFormat></kendo-toolbar-dropdownlist>
4286
4315
  <kendo-toolbar-buttongroup>
4287
- <kendo-toolbar-button kendoEditorAlignLeftButton></kendo-toolbar-button>
4288
- <kendo-toolbar-button kendoEditorAlignCenterButton></kendo-toolbar-button>
4289
- <kendo-toolbar-button kendoEditorAlignRightButton></kendo-toolbar-button>
4290
- <kendo-toolbar-button kendoEditorAlignJustifyButton></kendo-toolbar-button>
4316
+ <kendo-toolbar-button kendoEditorAlignLeftButton></kendo-toolbar-button>
4317
+ <kendo-toolbar-button kendoEditorAlignCenterButton></kendo-toolbar-button>
4318
+ <kendo-toolbar-button kendoEditorAlignRightButton></kendo-toolbar-button>
4319
+ <kendo-toolbar-button kendoEditorAlignJustifyButton></kendo-toolbar-button>
4291
4320
  </kendo-toolbar-buttongroup>
4292
4321
  <kendo-toolbar-buttongroup>
4293
- <kendo-toolbar-button kendoEditorInsertUnorderedListButton></kendo-toolbar-button>
4294
- <kendo-toolbar-button kendoEditorInsertOrderedListButton></kendo-toolbar-button>
4295
- <kendo-toolbar-button kendoEditorIndentButton></kendo-toolbar-button>
4296
- <kendo-toolbar-button kendoEditorOutdentButton></kendo-toolbar-button>
4322
+ <kendo-toolbar-button kendoEditorInsertUnorderedListButton></kendo-toolbar-button>
4323
+ <kendo-toolbar-button kendoEditorInsertOrderedListButton></kendo-toolbar-button>
4324
+ <kendo-toolbar-button kendoEditorIndentButton></kendo-toolbar-button>
4325
+ <kendo-toolbar-button kendoEditorOutdentButton></kendo-toolbar-button>
4297
4326
  </kendo-toolbar-buttongroup>
4298
4327
  <kendo-toolbar-buttongroup>
4299
- <kendo-toolbar-button kendoEditorCreateLinkButton></kendo-toolbar-button>
4300
- <kendo-toolbar-button kendoEditorUnlinkButton></kendo-toolbar-button>
4328
+ <kendo-toolbar-button kendoEditorCreateLinkButton></kendo-toolbar-button>
4329
+ <kendo-toolbar-button kendoEditorUnlinkButton></kendo-toolbar-button>
4301
4330
  </kendo-toolbar-buttongroup>
4302
4331
  <kendo-toolbar-button kendoEditorInsertImageButton></kendo-toolbar-button>
4303
- </kendo-toolbar>
4304
-
4305
- <div *ngIf="!iframe" #content [attr.dir]="direction" class="k-editor-content"></div>
4306
-
4307
- <div class="k-editor-content" *ngIf="iframe">
4332
+ </kendo-toolbar>
4333
+ }
4334
+
4335
+ @if (!iframe) {
4336
+ <div #content [attr.dir]="direction" class="k-editor-content"></div>
4337
+ }
4338
+
4339
+ @if (iframe) {
4340
+ <div class="k-editor-content">
4308
4341
  <iframe #content srcdoc="<!DOCTYPE html>" role="none" frameborder="0" class="k-iframe" [style.width.%]="100" [style.height.%]="100" [style.display]="'block'" (load)="iframeOnLoad()"></iframe>
4309
- </div>
4310
-
4342
+ </div>
4343
+ }
4344
+
4311
4345
  <ng-container #dialogsContainer></ng-container>
4312
-
4313
- <div kendoWatermarkOverlay *ngIf="showLicenseWatermark" [licenseMessage]="licenseMessage"></div>
4314
- `,
4346
+
4347
+ @if (showLicenseWatermark) {
4348
+ <div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
4349
+ }
4350
+ `,
4315
4351
  standalone: true,
4316
- imports: [LocalizedMessagesDirective, NgIf, ToolBarComponent, ToolBarButtonGroupComponent, ToolBarButtonComponent, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorUnderlineButtonDirective, EditorFormatComponent, EditorAlignLeftButtonDirective, EditorAlignCenterButtonDirective, EditorAlignRightButtonDirective, EditorAlignJustifyButtonDirective, EditorInsertUnorderedListButtonDirective, EditorInsertOrderedListButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorUnlinkButtonDirective, EditorInsertImageButtonDirective, WatermarkOverlayComponent]
4352
+ imports: [LocalizedMessagesDirective, ToolBarComponent, ToolBarButtonGroupComponent, ToolBarButtonComponent, EditorBoldButtonDirective, EditorItalicButtonDirective, EditorUnderlineButtonDirective, EditorFormatComponent, EditorAlignLeftButtonDirective, EditorAlignCenterButtonDirective, EditorAlignRightButtonDirective, EditorAlignJustifyButtonDirective, EditorInsertUnorderedListButtonDirective, EditorInsertOrderedListButtonDirective, EditorIndentButtonDirective, EditorOutdentButtonDirective, EditorCreateLinkButtonDirective, EditorUnlinkButtonDirective, EditorInsertImageButtonDirective, WatermarkOverlayComponent]
4317
4353
  }]
4318
4354
  }], ctorParameters: () => [{ 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: [{
4319
4355
  type: Input
@@ -4761,51 +4797,53 @@ class EditorFontSizeComponent extends ToolBarToolComponent {
4761
4797
  return false;
4762
4798
  }
4763
4799
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorFontSizeComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
4764
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EditorFontSizeComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFontSize]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontSizeComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontSizeDropDownList", first: true, predicate: ["element"], descendants: true, read: FontSizeDropDownListComponent }, { propertyName: "fontSizeButton", first: true, predicate: ["fontSizeButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
4800
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: EditorFontSizeComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFontSize]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontSizeComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontSizeDropDownList", first: true, predicate: ["element"], descendants: true, read: FontSizeDropDownListComponent }, { propertyName: "fontSizeButton", first: true, predicate: ["fontSizeButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
4765
4801
  <ng-template #toolbarTemplate>
4766
- <kendo-editor-fontsize-dropdownlist
4767
- #element
4768
- [defaultItem]="defaultItem"
4769
- [data]="data"
4770
- [(value)]="value"
4771
- [itemDisabled]="itemDisabled"
4772
- [title]="title"
4773
- [disabled]="disabled"
4774
- [tabindex]="tabindex"
4775
- (valueChange)="onValueChange($event)"
4802
+ <kendo-editor-fontsize-dropdownlist
4803
+ #element
4804
+ [defaultItem]="defaultItem"
4805
+ [data]="data"
4806
+ [(value)]="value"
4807
+ [itemDisabled]="itemDisabled"
4808
+ [title]="title"
4809
+ [disabled]="disabled"
4810
+ [tabindex]="tabindex"
4811
+ (valueChange)="onValueChange($event)"
4776
4812
  >
4777
- </kendo-editor-fontsize-dropdownlist>
4813
+ </kendo-editor-fontsize-dropdownlist>
4778
4814
  </ng-template>
4779
4815
  <ng-template #popupTemplate>
4780
- <div #fontSizeButton
4781
- tabindex="-1"
4782
- role="menuitem"
4783
- class="k-item k-menu-item"
4784
- [class.k-disabled]="disabled"
4785
- [tabindex]="tabindex"
4786
- (click)="openDialog()">
4787
- <span
4788
- class="k-link k-menu-link">
4789
- <kendo-icon-wrapper name="font-size" [svgIcon]="fontSizeSVGIcon"></kendo-icon-wrapper>
4790
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
4791
- </span>
4792
- </div>
4816
+ <div #fontSizeButton
4817
+ tabindex="-1"
4818
+ role="menuitem"
4819
+ class="k-item k-menu-item"
4820
+ [class.k-disabled]="disabled"
4821
+ [tabindex]="tabindex"
4822
+ (click)="openDialog()">
4823
+ <span
4824
+ class="k-link k-menu-link">
4825
+ <kendo-icon-wrapper name="font-size" [svgIcon]="fontSizeSVGIcon"></kendo-icon-wrapper>
4826
+ @if (title) {
4827
+ <span class="k-menu-link-text">{{title}}</span>
4828
+ }
4829
+ </span>
4830
+ </div>
4793
4831
  </ng-template>
4794
4832
  <ng-template #sectionTemplate>
4795
- <kendo-editor-fontsize-dropdownlist
4796
- #element
4797
- [defaultItem]="defaultItem"
4798
- [data]="data"
4799
- [(value)]="value"
4800
- [itemDisabled]="itemDisabled"
4801
- [title]="title"
4802
- [disabled]="disabled"
4803
- [tabindex]="tabindex"
4804
- (valueChange)="onValueChange($event)"
4833
+ <kendo-editor-fontsize-dropdownlist
4834
+ #element
4835
+ [defaultItem]="defaultItem"
4836
+ [data]="data"
4837
+ [(value)]="value"
4838
+ [itemDisabled]="itemDisabled"
4839
+ [title]="title"
4840
+ [disabled]="disabled"
4841
+ [tabindex]="tabindex"
4842
+ (valueChange)="onValueChange($event)"
4805
4843
  >
4806
- </kendo-editor-fontsize-dropdownlist>
4844
+ </kendo-editor-fontsize-dropdownlist>
4807
4845
  </ng-template>
4808
- `, isInline: true, dependencies: [{ kind: "component", type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
4846
+ `, isInline: true, dependencies: [{ kind: "component", type: FontSizeDropDownListComponent, selector: "kendo-editor-fontsize-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
4809
4847
  }
4810
4848
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorFontSizeComponent, decorators: [{
4811
4849
  type: Component,
@@ -4814,51 +4852,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
4814
4852
  selector: 'kendo-toolbar-dropdownlist[kendoEditorFontSize]',
4815
4853
  template: `
4816
4854
  <ng-template #toolbarTemplate>
4817
- <kendo-editor-fontsize-dropdownlist
4818
- #element
4819
- [defaultItem]="defaultItem"
4820
- [data]="data"
4821
- [(value)]="value"
4822
- [itemDisabled]="itemDisabled"
4823
- [title]="title"
4824
- [disabled]="disabled"
4825
- [tabindex]="tabindex"
4826
- (valueChange)="onValueChange($event)"
4855
+ <kendo-editor-fontsize-dropdownlist
4856
+ #element
4857
+ [defaultItem]="defaultItem"
4858
+ [data]="data"
4859
+ [(value)]="value"
4860
+ [itemDisabled]="itemDisabled"
4861
+ [title]="title"
4862
+ [disabled]="disabled"
4863
+ [tabindex]="tabindex"
4864
+ (valueChange)="onValueChange($event)"
4827
4865
  >
4828
- </kendo-editor-fontsize-dropdownlist>
4866
+ </kendo-editor-fontsize-dropdownlist>
4829
4867
  </ng-template>
4830
4868
  <ng-template #popupTemplate>
4831
- <div #fontSizeButton
4832
- tabindex="-1"
4833
- role="menuitem"
4834
- class="k-item k-menu-item"
4835
- [class.k-disabled]="disabled"
4836
- [tabindex]="tabindex"
4837
- (click)="openDialog()">
4838
- <span
4839
- class="k-link k-menu-link">
4840
- <kendo-icon-wrapper name="font-size" [svgIcon]="fontSizeSVGIcon"></kendo-icon-wrapper>
4841
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
4842
- </span>
4843
- </div>
4869
+ <div #fontSizeButton
4870
+ tabindex="-1"
4871
+ role="menuitem"
4872
+ class="k-item k-menu-item"
4873
+ [class.k-disabled]="disabled"
4874
+ [tabindex]="tabindex"
4875
+ (click)="openDialog()">
4876
+ <span
4877
+ class="k-link k-menu-link">
4878
+ <kendo-icon-wrapper name="font-size" [svgIcon]="fontSizeSVGIcon"></kendo-icon-wrapper>
4879
+ @if (title) {
4880
+ <span class="k-menu-link-text">{{title}}</span>
4881
+ }
4882
+ </span>
4883
+ </div>
4844
4884
  </ng-template>
4845
4885
  <ng-template #sectionTemplate>
4846
- <kendo-editor-fontsize-dropdownlist
4847
- #element
4848
- [defaultItem]="defaultItem"
4849
- [data]="data"
4850
- [(value)]="value"
4851
- [itemDisabled]="itemDisabled"
4852
- [title]="title"
4853
- [disabled]="disabled"
4854
- [tabindex]="tabindex"
4855
- (valueChange)="onValueChange($event)"
4886
+ <kendo-editor-fontsize-dropdownlist
4887
+ #element
4888
+ [defaultItem]="defaultItem"
4889
+ [data]="data"
4890
+ [(value)]="value"
4891
+ [itemDisabled]="itemDisabled"
4892
+ [title]="title"
4893
+ [disabled]="disabled"
4894
+ [tabindex]="tabindex"
4895
+ (valueChange)="onValueChange($event)"
4856
4896
  >
4857
- </kendo-editor-fontsize-dropdownlist>
4897
+ </kendo-editor-fontsize-dropdownlist>
4858
4898
  </ng-template>
4859
- `,
4899
+ `,
4860
4900
  standalone: true,
4861
- imports: [FontSizeDropDownListComponent, IconWrapperComponent, NgIf]
4901
+ imports: [FontSizeDropDownListComponent, IconWrapperComponent]
4862
4902
  }]
4863
4903
  }], ctorParameters: () => [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }], propDecorators: { data: [{
4864
4904
  type: Input
@@ -5239,51 +5279,53 @@ class EditorFontFamilyComponent extends ToolBarToolComponent {
5239
5279
  return false;
5240
5280
  }
5241
5281
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorFontFamilyComponent, deps: [{ token: i1$1.DialogService }, { token: EditorLocalizationService }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5242
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EditorFontFamilyComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFontFamily]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontFamilyDropDownList", first: true, predicate: ["element"], descendants: true, read: FontFamilyDropDownListComponent }, { propertyName: "fontFamilyButton", first: true, predicate: ["fontFamilyButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
5282
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: EditorFontFamilyComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFontFamily]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontFamilyDropDownList", first: true, predicate: ["element"], descendants: true, read: FontFamilyDropDownListComponent }, { propertyName: "fontFamilyButton", first: true, predicate: ["fontFamilyButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
5243
5283
  <ng-template #toolbarTemplate>
5244
- <kendo-editor-fontfamily-dropdownlist
5245
- #element
5246
- [defaultItem]="defaultItem"
5247
- [data]="data"
5248
- [(value)]="value"
5249
- [itemDisabled]="itemDisabled"
5250
- [title]="title"
5251
- [disabled]="disabled"
5252
- [tabindex]="tabindex"
5253
- (valueChange)="onValueChange($event)"
5284
+ <kendo-editor-fontfamily-dropdownlist
5285
+ #element
5286
+ [defaultItem]="defaultItem"
5287
+ [data]="data"
5288
+ [(value)]="value"
5289
+ [itemDisabled]="itemDisabled"
5290
+ [title]="title"
5291
+ [disabled]="disabled"
5292
+ [tabindex]="tabindex"
5293
+ (valueChange)="onValueChange($event)"
5254
5294
  >
5255
- </kendo-editor-fontfamily-dropdownlist>
5295
+ </kendo-editor-fontfamily-dropdownlist>
5256
5296
  </ng-template>
5257
5297
  <ng-template #popupTemplate>
5258
- <div #fontFamilyButton
5259
- tabindex="-1"
5260
- role="menuitem"
5261
- class="k-item k-menu-item"
5262
- [class.k-disabled]="disabled"
5263
- [tabindex]="tabindex"
5264
- (click)="openDialog()">
5265
- <span
5266
- class="k-link k-menu-link">
5267
- <kendo-icon-wrapper name="font-family" [svgIcon]="fontFamilySVGIcon"></kendo-icon-wrapper>
5268
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
5269
- </span>
5270
- </div>
5298
+ <div #fontFamilyButton
5299
+ tabindex="-1"
5300
+ role="menuitem"
5301
+ class="k-item k-menu-item"
5302
+ [class.k-disabled]="disabled"
5303
+ [tabindex]="tabindex"
5304
+ (click)="openDialog()">
5305
+ <span
5306
+ class="k-link k-menu-link">
5307
+ <kendo-icon-wrapper name="font-family" [svgIcon]="fontFamilySVGIcon"></kendo-icon-wrapper>
5308
+ @if (title) {
5309
+ <span class="k-menu-link-text">{{title}}</span>
5310
+ }
5311
+ </span>
5312
+ </div>
5271
5313
  </ng-template>
5272
5314
  <ng-template #sectionTemplate>
5273
- <kendo-editor-fontfamily-dropdownlist
5274
- #element
5275
- [defaultItem]="defaultItem"
5276
- [data]="data"
5277
- [(value)]="value"
5278
- [itemDisabled]="itemDisabled"
5279
- [title]="title"
5280
- [disabled]="disabled"
5281
- [tabindex]="tabindex"
5282
- (valueChange)="onValueChange($event)"
5315
+ <kendo-editor-fontfamily-dropdownlist
5316
+ #element
5317
+ [defaultItem]="defaultItem"
5318
+ [data]="data"
5319
+ [(value)]="value"
5320
+ [itemDisabled]="itemDisabled"
5321
+ [title]="title"
5322
+ [disabled]="disabled"
5323
+ [tabindex]="tabindex"
5324
+ (valueChange)="onValueChange($event)"
5283
5325
  >
5284
- </kendo-editor-fontfamily-dropdownlist>
5326
+ </kendo-editor-fontfamily-dropdownlist>
5285
5327
  </ng-template>
5286
- `, isInline: true, dependencies: [{ kind: "component", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
5328
+ `, isInline: true, dependencies: [{ kind: "component", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
5287
5329
  }
5288
5330
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorFontFamilyComponent, decorators: [{
5289
5331
  type: Component,
@@ -5292,51 +5334,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
5292
5334
  selector: 'kendo-toolbar-dropdownlist[kendoEditorFontFamily]',
5293
5335
  template: `
5294
5336
  <ng-template #toolbarTemplate>
5295
- <kendo-editor-fontfamily-dropdownlist
5296
- #element
5297
- [defaultItem]="defaultItem"
5298
- [data]="data"
5299
- [(value)]="value"
5300
- [itemDisabled]="itemDisabled"
5301
- [title]="title"
5302
- [disabled]="disabled"
5303
- [tabindex]="tabindex"
5304
- (valueChange)="onValueChange($event)"
5337
+ <kendo-editor-fontfamily-dropdownlist
5338
+ #element
5339
+ [defaultItem]="defaultItem"
5340
+ [data]="data"
5341
+ [(value)]="value"
5342
+ [itemDisabled]="itemDisabled"
5343
+ [title]="title"
5344
+ [disabled]="disabled"
5345
+ [tabindex]="tabindex"
5346
+ (valueChange)="onValueChange($event)"
5305
5347
  >
5306
- </kendo-editor-fontfamily-dropdownlist>
5348
+ </kendo-editor-fontfamily-dropdownlist>
5307
5349
  </ng-template>
5308
5350
  <ng-template #popupTemplate>
5309
- <div #fontFamilyButton
5310
- tabindex="-1"
5311
- role="menuitem"
5312
- class="k-item k-menu-item"
5313
- [class.k-disabled]="disabled"
5314
- [tabindex]="tabindex"
5315
- (click)="openDialog()">
5316
- <span
5317
- class="k-link k-menu-link">
5318
- <kendo-icon-wrapper name="font-family" [svgIcon]="fontFamilySVGIcon"></kendo-icon-wrapper>
5319
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
5320
- </span>
5321
- </div>
5351
+ <div #fontFamilyButton
5352
+ tabindex="-1"
5353
+ role="menuitem"
5354
+ class="k-item k-menu-item"
5355
+ [class.k-disabled]="disabled"
5356
+ [tabindex]="tabindex"
5357
+ (click)="openDialog()">
5358
+ <span
5359
+ class="k-link k-menu-link">
5360
+ <kendo-icon-wrapper name="font-family" [svgIcon]="fontFamilySVGIcon"></kendo-icon-wrapper>
5361
+ @if (title) {
5362
+ <span class="k-menu-link-text">{{title}}</span>
5363
+ }
5364
+ </span>
5365
+ </div>
5322
5366
  </ng-template>
5323
5367
  <ng-template #sectionTemplate>
5324
- <kendo-editor-fontfamily-dropdownlist
5325
- #element
5326
- [defaultItem]="defaultItem"
5327
- [data]="data"
5328
- [(value)]="value"
5329
- [itemDisabled]="itemDisabled"
5330
- [title]="title"
5331
- [disabled]="disabled"
5332
- [tabindex]="tabindex"
5333
- (valueChange)="onValueChange($event)"
5368
+ <kendo-editor-fontfamily-dropdownlist
5369
+ #element
5370
+ [defaultItem]="defaultItem"
5371
+ [data]="data"
5372
+ [(value)]="value"
5373
+ [itemDisabled]="itemDisabled"
5374
+ [title]="title"
5375
+ [disabled]="disabled"
5376
+ [tabindex]="tabindex"
5377
+ (valueChange)="onValueChange($event)"
5334
5378
  >
5335
- </kendo-editor-fontfamily-dropdownlist>
5379
+ </kendo-editor-fontfamily-dropdownlist>
5336
5380
  </ng-template>
5337
- `,
5381
+ `,
5338
5382
  standalone: true,
5339
- imports: [FontFamilyDropDownListComponent, IconWrapperComponent, NgIf]
5383
+ imports: [FontFamilyDropDownListComponent, IconWrapperComponent]
5340
5384
  }]
5341
5385
  }], ctorParameters: () => [{ type: i1$1.DialogService }, { type: EditorLocalizationService }, { type: ProviderService }, { type: EditorToolsService }, { type: i0.Renderer2 }], propDecorators: { data: [{
5342
5386
  type: Input
@@ -5677,67 +5721,70 @@ class EditorColorPickerComponent extends ToolBarToolComponent {
5677
5721
  return false;
5678
5722
  }
5679
5723
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorColorPickerComponent, deps: [{ token: EditorLocalizationService }, { token: i1$1.DialogService }, { token: i0.NgZone }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
5680
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EditorColorPickerComponent, isStandalone: true, selector: "kendo-toolbar-colorpicker", inputs: { value: "value", icon: "icon", svgIcon: "svgIcon", paletteSettings: "paletteSettings", editorCommand: "editorCommand", disabled: "disabled", views: "views", view: "view" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["colorpicker"], descendants: true, read: ElementRef }, { propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent }, { propertyName: "colorPickerButton", first: true, predicate: ["colorPickerButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
5724
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: EditorColorPickerComponent, isStandalone: true, selector: "kendo-toolbar-colorpicker", inputs: { value: "value", icon: "icon", svgIcon: "svgIcon", paletteSettings: "paletteSettings", editorCommand: "editorCommand", disabled: "disabled", views: "views", view: "view" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["colorpicker"], descendants: true, read: ElementRef }, { propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent }, { propertyName: "colorPickerButton", first: true, predicate: ["colorPickerButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
5681
5725
  <ng-template #toolbarTemplate>
5682
- <kendo-colorpicker
5683
- #colorpicker
5684
- [attr.title]="title"
5685
- [icon]="icon"
5686
- [svgIcon]="svgIcon"
5687
- [views]="views"
5688
- [format]="'hex'"
5689
- [(value)]="value"
5690
- [paletteSettings]="paletteSettings"
5691
- [disabled]="disabled"
5692
- [tabindex]="tabindex"
5693
- (valueChange)="handleValueChange($event)"
5694
- (clearButtonClick)="handleClearButtonClick()"
5695
- (activeColorClick)="handleActiveColorClick($event)"
5696
- (close)="onClose()"
5697
- (activeViewChange)="onActiveViewChange($event)"
5726
+ <kendo-colorpicker
5727
+ #colorpicker
5728
+ [attr.title]="title"
5729
+ [icon]="icon"
5730
+ [svgIcon]="svgIcon"
5731
+ [views]="views"
5732
+ [format]="'hex'"
5733
+ [(value)]="value"
5734
+ [paletteSettings]="paletteSettings"
5735
+ [disabled]="disabled"
5736
+ [tabindex]="tabindex"
5737
+ (valueChange)="handleValueChange($event)"
5738
+ (clearButtonClick)="handleClearButtonClick()"
5739
+ (activeColorClick)="handleActiveColorClick($event)"
5740
+ (close)="onClose()"
5741
+ (activeViewChange)="onActiveViewChange($event)"
5698
5742
  >
5699
- </kendo-colorpicker>
5743
+ </kendo-colorpicker>
5700
5744
  </ng-template>
5701
5745
  <ng-template #popupTemplate>
5702
- <div #colorPickerButton
5703
- tabindex="-1"
5704
- role="menuitem"
5705
- class="k-item k-menu-item"
5706
- [class.k-disabled]="disabled"
5707
- [tabindex]="tabindex"
5708
- (click)="openDialog()">
5709
- <span
5710
- class="k-link k-menu-link">
5711
- <kendo-icon-wrapper
5712
- *ngIf="icon"
5713
- [name]="icon"
5714
- [svgIcon]="svgIcon"
5715
- ></kendo-icon-wrapper>
5716
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
5717
- </span>
5718
- </div>
5746
+ <div #colorPickerButton
5747
+ tabindex="-1"
5748
+ role="menuitem"
5749
+ class="k-item k-menu-item"
5750
+ [class.k-disabled]="disabled"
5751
+ [tabindex]="tabindex"
5752
+ (click)="openDialog()">
5753
+ <span
5754
+ class="k-link k-menu-link">
5755
+ @if (icon) {
5756
+ <kendo-icon-wrapper
5757
+ [name]="icon"
5758
+ [svgIcon]="svgIcon"
5759
+ ></kendo-icon-wrapper>
5760
+ }
5761
+ @if (title) {
5762
+ <span class="k-menu-link-text">{{title}}</span>
5763
+ }
5764
+ </span>
5765
+ </div>
5719
5766
  </ng-template>
5720
5767
  <ng-template #sectionTemplate>
5721
- <kendo-colorpicker
5722
- #colorpicker
5723
- [attr.title]="title"
5724
- [icon]="icon"
5725
- [svgIcon]="svgIcon"
5726
- [views]="views"
5727
- [format]="'hex'"
5728
- [(value)]="value"
5729
- [paletteSettings]="paletteSettings"
5730
- [disabled]="disabled"
5731
- [tabindex]="tabindex"
5732
- (valueChange)="handleValueChange($event)"
5733
- (clearButtonClick)="handleClearButtonClick()"
5734
- (activeColorClick)="handleActiveColorClick($event)"
5735
- (close)="onClose()"
5736
- (activeViewChange)="onActiveViewChange($event)"
5768
+ <kendo-colorpicker
5769
+ #colorpicker
5770
+ [attr.title]="title"
5771
+ [icon]="icon"
5772
+ [svgIcon]="svgIcon"
5773
+ [views]="views"
5774
+ [format]="'hex'"
5775
+ [(value)]="value"
5776
+ [paletteSettings]="paletteSettings"
5777
+ [disabled]="disabled"
5778
+ [tabindex]="tabindex"
5779
+ (valueChange)="handleValueChange($event)"
5780
+ (clearButtonClick)="handleClearButtonClick()"
5781
+ (activeColorClick)="handleActiveColorClick($event)"
5782
+ (close)="onClose()"
5783
+ (activeViewChange)="onActiveViewChange($event)"
5737
5784
  >
5738
- </kendo-colorpicker>
5785
+ </kendo-colorpicker>
5739
5786
  </ng-template>
5740
- `, isInline: true, dependencies: [{ kind: "component", type: ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "adaptiveMode", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "adaptiveTitle", "adaptiveSubtitle", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
5787
+ `, isInline: true, dependencies: [{ kind: "component", type: ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "adaptiveMode", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "adaptiveTitle", "adaptiveSubtitle", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
5741
5788
  }
5742
5789
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorColorPickerComponent, decorators: [{
5743
5790
  type: Component,
@@ -5746,67 +5793,70 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
5746
5793
  selector: 'kendo-toolbar-colorpicker',
5747
5794
  template: `
5748
5795
  <ng-template #toolbarTemplate>
5749
- <kendo-colorpicker
5750
- #colorpicker
5751
- [attr.title]="title"
5752
- [icon]="icon"
5753
- [svgIcon]="svgIcon"
5754
- [views]="views"
5755
- [format]="'hex'"
5756
- [(value)]="value"
5757
- [paletteSettings]="paletteSettings"
5758
- [disabled]="disabled"
5759
- [tabindex]="tabindex"
5760
- (valueChange)="handleValueChange($event)"
5761
- (clearButtonClick)="handleClearButtonClick()"
5762
- (activeColorClick)="handleActiveColorClick($event)"
5763
- (close)="onClose()"
5764
- (activeViewChange)="onActiveViewChange($event)"
5796
+ <kendo-colorpicker
5797
+ #colorpicker
5798
+ [attr.title]="title"
5799
+ [icon]="icon"
5800
+ [svgIcon]="svgIcon"
5801
+ [views]="views"
5802
+ [format]="'hex'"
5803
+ [(value)]="value"
5804
+ [paletteSettings]="paletteSettings"
5805
+ [disabled]="disabled"
5806
+ [tabindex]="tabindex"
5807
+ (valueChange)="handleValueChange($event)"
5808
+ (clearButtonClick)="handleClearButtonClick()"
5809
+ (activeColorClick)="handleActiveColorClick($event)"
5810
+ (close)="onClose()"
5811
+ (activeViewChange)="onActiveViewChange($event)"
5765
5812
  >
5766
- </kendo-colorpicker>
5813
+ </kendo-colorpicker>
5767
5814
  </ng-template>
5768
5815
  <ng-template #popupTemplate>
5769
- <div #colorPickerButton
5770
- tabindex="-1"
5771
- role="menuitem"
5772
- class="k-item k-menu-item"
5773
- [class.k-disabled]="disabled"
5774
- [tabindex]="tabindex"
5775
- (click)="openDialog()">
5776
- <span
5777
- class="k-link k-menu-link">
5778
- <kendo-icon-wrapper
5779
- *ngIf="icon"
5780
- [name]="icon"
5781
- [svgIcon]="svgIcon"
5782
- ></kendo-icon-wrapper>
5783
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
5784
- </span>
5785
- </div>
5816
+ <div #colorPickerButton
5817
+ tabindex="-1"
5818
+ role="menuitem"
5819
+ class="k-item k-menu-item"
5820
+ [class.k-disabled]="disabled"
5821
+ [tabindex]="tabindex"
5822
+ (click)="openDialog()">
5823
+ <span
5824
+ class="k-link k-menu-link">
5825
+ @if (icon) {
5826
+ <kendo-icon-wrapper
5827
+ [name]="icon"
5828
+ [svgIcon]="svgIcon"
5829
+ ></kendo-icon-wrapper>
5830
+ }
5831
+ @if (title) {
5832
+ <span class="k-menu-link-text">{{title}}</span>
5833
+ }
5834
+ </span>
5835
+ </div>
5786
5836
  </ng-template>
5787
5837
  <ng-template #sectionTemplate>
5788
- <kendo-colorpicker
5789
- #colorpicker
5790
- [attr.title]="title"
5791
- [icon]="icon"
5792
- [svgIcon]="svgIcon"
5793
- [views]="views"
5794
- [format]="'hex'"
5795
- [(value)]="value"
5796
- [paletteSettings]="paletteSettings"
5797
- [disabled]="disabled"
5798
- [tabindex]="tabindex"
5799
- (valueChange)="handleValueChange($event)"
5800
- (clearButtonClick)="handleClearButtonClick()"
5801
- (activeColorClick)="handleActiveColorClick($event)"
5802
- (close)="onClose()"
5803
- (activeViewChange)="onActiveViewChange($event)"
5838
+ <kendo-colorpicker
5839
+ #colorpicker
5840
+ [attr.title]="title"
5841
+ [icon]="icon"
5842
+ [svgIcon]="svgIcon"
5843
+ [views]="views"
5844
+ [format]="'hex'"
5845
+ [(value)]="value"
5846
+ [paletteSettings]="paletteSettings"
5847
+ [disabled]="disabled"
5848
+ [tabindex]="tabindex"
5849
+ (valueChange)="handleValueChange($event)"
5850
+ (clearButtonClick)="handleClearButtonClick()"
5851
+ (activeColorClick)="handleActiveColorClick($event)"
5852
+ (close)="onClose()"
5853
+ (activeViewChange)="onActiveViewChange($event)"
5804
5854
  >
5805
- </kendo-colorpicker>
5855
+ </kendo-colorpicker>
5806
5856
  </ng-template>
5807
- `,
5857
+ `,
5808
5858
  standalone: true,
5809
- imports: [ColorPickerComponent, NgIf, IconWrapperComponent]
5859
+ imports: [ColorPickerComponent, IconWrapperComponent]
5810
5860
  }]
5811
5861
  }], ctorParameters: () => [{ type: EditorLocalizationService }, { type: i1$1.DialogService }, { type: i0.NgZone }, { type: ProviderService }, { type: i0.Renderer2 }], propDecorators: { value: [{
5812
5862
  type: Input
@@ -5885,26 +5935,28 @@ class PopupTableGridComponent {
5885
5935
  this.tableWizardClick.emit();
5886
5936
  }
5887
5937
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PopupTableGridComponent, deps: [{ token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
5888
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: PopupTableGridComponent, isStandalone: true, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
5938
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: PopupTableGridComponent, isStandalone: true, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
5889
5939
  <div
5890
- [style.border-color]="'inherit'"
5891
- class="k-ct-popup"
5892
- (mouseleave)="resetState()"
5893
- (click)="insertTable()">
5894
- <span *ngFor="let i of cells"
5895
- class="k-ct-cell"
5896
- [class.k-selected]="selected(i)"
5897
- [class.k-disabled]="!selected(i)"
5898
- (mouseenter)="setState(i)">
5940
+ [style.border-color]="'inherit'"
5941
+ class="k-ct-popup"
5942
+ (mouseleave)="resetState()"
5943
+ (click)="insertTable()">
5944
+ @for (i of cells; track i) {
5945
+ <span
5946
+ class="k-ct-cell"
5947
+ [class.k-selected]="selected(i)"
5948
+ [class.k-disabled]="!selected(i)"
5949
+ (mouseenter)="setState(i)">
5899
5950
  </span>
5951
+ }
5900
5952
  </div>
5901
5953
  <div class="k-status" unselectable="on">{{ message }}</div>
5902
5954
  <!-- uncomment when TableWizard is completed
5903
5955
  <div class="k-editor-toolbar" unselectable="on">
5904
- <button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" [svgIcon]="tableWizardIcon" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
5956
+ <button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" [svgIcon]="tableWizardIcon" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
5905
5957
  </div>
5906
5958
  -->
5907
- `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
5959
+ `, isInline: true });
5908
5960
  }
5909
5961
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PopupTableGridComponent, decorators: [{
5910
5962
  type: Component,
@@ -5912,26 +5964,28 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
5912
5964
  selector: 'kendo-popup-table-grid',
5913
5965
  template: `
5914
5966
  <div
5915
- [style.border-color]="'inherit'"
5916
- class="k-ct-popup"
5917
- (mouseleave)="resetState()"
5918
- (click)="insertTable()">
5919
- <span *ngFor="let i of cells"
5920
- class="k-ct-cell"
5921
- [class.k-selected]="selected(i)"
5922
- [class.k-disabled]="!selected(i)"
5923
- (mouseenter)="setState(i)">
5967
+ [style.border-color]="'inherit'"
5968
+ class="k-ct-popup"
5969
+ (mouseleave)="resetState()"
5970
+ (click)="insertTable()">
5971
+ @for (i of cells; track i) {
5972
+ <span
5973
+ class="k-ct-cell"
5974
+ [class.k-selected]="selected(i)"
5975
+ [class.k-disabled]="!selected(i)"
5976
+ (mouseenter)="setState(i)">
5924
5977
  </span>
5978
+ }
5925
5979
  </div>
5926
5980
  <div class="k-status" unselectable="on">{{ message }}</div>
5927
5981
  <!-- uncomment when TableWizard is completed
5928
5982
  <div class="k-editor-toolbar" unselectable="on">
5929
- <button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" [svgIcon]="tableWizardIcon" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
5983
+ <button type="button" kendoButton class="k-tool" [icon]="'table-wizard'" [svgIcon]="tableWizardIcon" (click)="openTableWizard()" title="Table Wizard">Table Wizard</button>
5930
5984
  </div>
5931
5985
  -->
5932
- `,
5986
+ `,
5933
5987
  standalone: true,
5934
- imports: [NgFor]
5988
+ imports: []
5935
5989
  }]
5936
5990
  }], ctorParameters: () => [{ type: EditorLocalizationService }], propDecorators: { cellClick: [{
5937
5991
  type: Output
@@ -6168,55 +6222,57 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
6168
6222
  return (this.overflows ? this.overflowElement : this.element)?.nativeElement;
6169
6223
  }
6170
6224
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: EditorLocalizationService }, { token: i2.PopupService }, { token: i1$1.DialogService }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
6171
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: EditorInsertTableButtonComponent, isStandalone: true, selector: "kendo-editor-insert-table-button", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef }, { propertyName: "overflowElement", first: true, predicate: ["overflowElement"], descendants: true, read: ElementRef }, { propertyName: "popupGridTemplate", first: true, predicate: ["popupGridTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
6225
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: EditorInsertTableButtonComponent, isStandalone: true, selector: "kendo-editor-insert-table-button", providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorInsertTableButtonComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, read: ElementRef }, { propertyName: "overflowElement", first: true, predicate: ["overflowElement"], descendants: true, read: ElementRef }, { propertyName: "popupGridTemplate", first: true, predicate: ["popupGridTemplate"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: `
6172
6226
  <ng-template #toolbarTemplate>
6173
- <button
6174
- type="button"
6175
- kendoButton
6176
- class="k-toolbar-button"
6177
- #element
6178
- [attr.title]="title"
6179
- [attr.tabindex]="tabIndex"
6180
- icon="table-add"
6181
- [svgIcon]="addTableSVGIcon"
6182
- [disabled]="disabled"
6183
- (click)="toggle()"
6184
- (blur)="onBlur()"
6185
- ></button>
6227
+ <button
6228
+ type="button"
6229
+ kendoButton
6230
+ class="k-toolbar-button"
6231
+ #element
6232
+ [attr.title]="title"
6233
+ [attr.tabindex]="tabIndex"
6234
+ icon="table-add"
6235
+ [svgIcon]="addTableSVGIcon"
6236
+ [disabled]="disabled"
6237
+ (click)="toggle()"
6238
+ (blur)="onBlur()"
6239
+ ></button>
6186
6240
  </ng-template>
6187
6241
  <ng-template #popupTemplate>
6188
- <div #overflowElement
6189
- role="menuitem"
6190
- class="k-item k-menu-item"
6191
- [class.k-disabled]="disabled"
6192
- [attr.tabindex]="tabIndex"
6193
- (click)="openDialog()">
6194
- <span
6195
- class="k-link k-menu-link">
6196
- <kendo-icon-wrapper name="table-add" [svgIcon]="addTableSVGIcon"></kendo-icon-wrapper>
6197
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
6198
- </span>
6199
- </div>
6242
+ <div #overflowElement
6243
+ role="menuitem"
6244
+ class="k-item k-menu-item"
6245
+ [class.k-disabled]="disabled"
6246
+ [attr.tabindex]="tabIndex"
6247
+ (click)="openDialog()">
6248
+ <span
6249
+ class="k-link k-menu-link">
6250
+ <kendo-icon-wrapper name="table-add" [svgIcon]="addTableSVGIcon"></kendo-icon-wrapper>
6251
+ @if (title) {
6252
+ <span class="k-menu-link-text">{{title}}</span>
6253
+ }
6254
+ </span>
6255
+ </div>
6200
6256
  </ng-template>
6201
6257
  <ng-template #popupGridTemplate>
6202
- <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
6258
+ <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
6203
6259
  </ng-template>
6204
6260
  <ng-template #sectionTemplate>
6205
- <button
6206
- type="button"
6207
- kendoButton
6208
- class="k-toolbar-button"
6209
- #element
6210
- [attr.title]="title"
6211
- [attr.tabindex]="tabIndex"
6212
- icon="table-add"
6213
- [svgIcon]="addTableSVGIcon"
6214
- [disabled]="disabled"
6215
- (click)="toggle()"
6216
- (blur)="onBlur()"
6217
- ></button>
6261
+ <button
6262
+ type="button"
6263
+ kendoButton
6264
+ class="k-toolbar-button"
6265
+ #element
6266
+ [attr.title]="title"
6267
+ [attr.tabindex]="tabIndex"
6268
+ icon="table-add"
6269
+ [svgIcon]="addTableSVGIcon"
6270
+ [disabled]="disabled"
6271
+ (click)="toggle()"
6272
+ (blur)="onBlur()"
6273
+ ></button>
6218
6274
  </ng-template>
6219
- `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }] });
6275
+ `, isInline: true, dependencies: [{ kind: "component", type: ButtonComponent, selector: "button[kendoButton]", inputs: ["arrowIcon", "toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: ["cellClick", "tableWizardClick"] }] });
6220
6276
  }
6221
6277
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorInsertTableButtonComponent, decorators: [{
6222
6278
  type: Component,
@@ -6225,55 +6281,57 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
6225
6281
  selector: 'kendo-editor-insert-table-button',
6226
6282
  template: `
6227
6283
  <ng-template #toolbarTemplate>
6228
- <button
6229
- type="button"
6230
- kendoButton
6231
- class="k-toolbar-button"
6232
- #element
6233
- [attr.title]="title"
6234
- [attr.tabindex]="tabIndex"
6235
- icon="table-add"
6236
- [svgIcon]="addTableSVGIcon"
6237
- [disabled]="disabled"
6238
- (click)="toggle()"
6239
- (blur)="onBlur()"
6240
- ></button>
6284
+ <button
6285
+ type="button"
6286
+ kendoButton
6287
+ class="k-toolbar-button"
6288
+ #element
6289
+ [attr.title]="title"
6290
+ [attr.tabindex]="tabIndex"
6291
+ icon="table-add"
6292
+ [svgIcon]="addTableSVGIcon"
6293
+ [disabled]="disabled"
6294
+ (click)="toggle()"
6295
+ (blur)="onBlur()"
6296
+ ></button>
6241
6297
  </ng-template>
6242
6298
  <ng-template #popupTemplate>
6243
- <div #overflowElement
6244
- role="menuitem"
6245
- class="k-item k-menu-item"
6246
- [class.k-disabled]="disabled"
6247
- [attr.tabindex]="tabIndex"
6248
- (click)="openDialog()">
6249
- <span
6250
- class="k-link k-menu-link">
6251
- <kendo-icon-wrapper name="table-add" [svgIcon]="addTableSVGIcon"></kendo-icon-wrapper>
6252
- <span *ngIf="title" class="k-menu-link-text">{{title}}</span>
6253
- </span>
6254
- </div>
6299
+ <div #overflowElement
6300
+ role="menuitem"
6301
+ class="k-item k-menu-item"
6302
+ [class.k-disabled]="disabled"
6303
+ [attr.tabindex]="tabIndex"
6304
+ (click)="openDialog()">
6305
+ <span
6306
+ class="k-link k-menu-link">
6307
+ <kendo-icon-wrapper name="table-add" [svgIcon]="addTableSVGIcon"></kendo-icon-wrapper>
6308
+ @if (title) {
6309
+ <span class="k-menu-link-text">{{title}}</span>
6310
+ }
6311
+ </span>
6312
+ </div>
6255
6313
  </ng-template>
6256
6314
  <ng-template #popupGridTemplate>
6257
- <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
6315
+ <kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
6258
6316
  </ng-template>
6259
6317
  <ng-template #sectionTemplate>
6260
- <button
6261
- type="button"
6262
- kendoButton
6263
- class="k-toolbar-button"
6264
- #element
6265
- [attr.title]="title"
6266
- [attr.tabindex]="tabIndex"
6267
- icon="table-add"
6268
- [svgIcon]="addTableSVGIcon"
6269
- [disabled]="disabled"
6270
- (click)="toggle()"
6271
- (blur)="onBlur()"
6272
- ></button>
6318
+ <button
6319
+ type="button"
6320
+ kendoButton
6321
+ class="k-toolbar-button"
6322
+ #element
6323
+ [attr.title]="title"
6324
+ [attr.tabindex]="tabIndex"
6325
+ icon="table-add"
6326
+ [svgIcon]="addTableSVGIcon"
6327
+ [disabled]="disabled"
6328
+ (click)="toggle()"
6329
+ (blur)="onBlur()"
6330
+ ></button>
6273
6331
  </ng-template>
6274
- `,
6332
+ `,
6275
6333
  standalone: true,
6276
- imports: [ButtonComponent, IconWrapperComponent, NgIf, PopupTableGridComponent]
6334
+ imports: [ButtonComponent, IconWrapperComponent, PopupTableGridComponent]
6277
6335
  }]
6278
6336
  }], ctorParameters: () => [{ type: EditorLocalizationService }, { type: i2.PopupService }, { type: i1$1.DialogService }, { type: ProviderService }, { type: i0.Renderer2 }], propDecorators: { element: [{
6279
6337
  type: ViewChild,