@progress/kendo-angular-editor 21.1.1-develop.2 → 21.2.0-develop.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/dialogs/file-link-dialog.component.mjs +118 -119
- package/esm2022/editor.component.mjs +296 -283
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/tools/colorpicker/editor-colorpicker.component.mjs +112 -107
- package/esm2022/tools/fontfamily/editor-fontfamily.component.mjs +78 -75
- package/esm2022/tools/fontsize/editor-fontsize.component.mjs +78 -75
- package/esm2022/tools/format/editor-format-dropdownlist.component.mjs +118 -101
- package/esm2022/tools/format/editor-format.component.mjs +76 -73
- package/esm2022/tools/tables/editor-insert-table-button.component.mjs +86 -83
- package/esm2022/tools/tables/popup-table-grid.component.mjs +28 -25
- package/fesm2022/progress-kendo-angular-editor.mjs +993 -935
- package/package.json +15 -15
- package/schematics/ngAdd/index.js +4 -4
|
@@ -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:
|
|
40
|
-
version: '21.
|
|
39
|
+
publishDate: 1763998513,
|
|
40
|
+
version: '21.2.0-develop.1',
|
|
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: "
|
|
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
|
-
|
|
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
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
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
|
-
|
|
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
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
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,
|
|
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: "
|
|
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
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
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
|
-
|
|
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
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
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
|
|
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: "
|
|
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
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
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
|
-
|
|
2598
|
+
</kendo-editor-format-dropdownlist>
|
|
2581
2599
|
</ng-template>
|
|
2582
2600
|
<ng-template #popupTemplate>
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
</span>
|
|
2594
|
-
|
|
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
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
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
|
-
|
|
2628
|
+
</kendo-editor-format-dropdownlist>
|
|
2609
2629
|
</ng-template>
|
|
2610
|
-
|
|
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
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
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
|
-
|
|
2650
|
+
</kendo-editor-format-dropdownlist>
|
|
2631
2651
|
</ng-template>
|
|
2632
2652
|
<ng-template #popupTemplate>
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
</span>
|
|
2644
|
-
|
|
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
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
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
|
-
|
|
2680
|
+
</kendo-editor-format-dropdownlist>
|
|
2659
2681
|
</ng-template>
|
|
2660
|
-
|
|
2682
|
+
`,
|
|
2661
2683
|
standalone: true,
|
|
2662
|
-
imports: [FormatDropDownListComponent, IconWrapperComponent
|
|
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: "
|
|
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
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
4082
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
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
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
|
|
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
|
-
|
|
4107
|
-
|
|
4108
|
-
|
|
4109
|
-
|
|
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
|
-
|
|
4113
|
-
|
|
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
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
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
|
-
|
|
4123
|
-
|
|
4148
|
+
</div>
|
|
4149
|
+
}
|
|
4150
|
+
|
|
4124
4151
|
<ng-container #dialogsContainer></ng-container>
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
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
|
-
|
|
4158
|
-
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
|
|
4247
|
-
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
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
|
-
|
|
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
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
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
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
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
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
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
|
-
|
|
4300
|
-
|
|
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
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
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
|
-
|
|
4310
|
-
|
|
4342
|
+
</div>
|
|
4343
|
+
}
|
|
4344
|
+
|
|
4311
4345
|
<ng-container #dialogsContainer></ng-container>
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
|
|
4346
|
+
|
|
4347
|
+
@if (showLicenseWatermark) {
|
|
4348
|
+
<div kendoWatermarkOverlay [licenseMessage]="licenseMessage"></div>
|
|
4349
|
+
}
|
|
4350
|
+
`,
|
|
4315
4351
|
standalone: true,
|
|
4316
|
-
imports: [LocalizedMessagesDirective,
|
|
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: "
|
|
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
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
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
|
-
|
|
4813
|
+
</kendo-editor-fontsize-dropdownlist>
|
|
4778
4814
|
</ng-template>
|
|
4779
4815
|
<ng-template #popupTemplate>
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
</span>
|
|
4792
|
-
|
|
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
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
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
|
-
|
|
4844
|
+
</kendo-editor-fontsize-dropdownlist>
|
|
4807
4845
|
</ng-template>
|
|
4808
|
-
|
|
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
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
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
|
-
|
|
4866
|
+
</kendo-editor-fontsize-dropdownlist>
|
|
4829
4867
|
</ng-template>
|
|
4830
4868
|
<ng-template #popupTemplate>
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
</span>
|
|
4843
|
-
|
|
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
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
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
|
-
|
|
4897
|
+
</kendo-editor-fontsize-dropdownlist>
|
|
4858
4898
|
</ng-template>
|
|
4859
|
-
|
|
4899
|
+
`,
|
|
4860
4900
|
standalone: true,
|
|
4861
|
-
imports: [FontSizeDropDownListComponent, IconWrapperComponent
|
|
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: "
|
|
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
|
-
|
|
5245
|
-
|
|
5246
|
-
|
|
5247
|
-
|
|
5248
|
-
|
|
5249
|
-
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
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
|
-
|
|
5295
|
+
</kendo-editor-fontfamily-dropdownlist>
|
|
5256
5296
|
</ng-template>
|
|
5257
5297
|
<ng-template #popupTemplate>
|
|
5258
|
-
|
|
5259
|
-
|
|
5260
|
-
|
|
5261
|
-
|
|
5262
|
-
|
|
5263
|
-
|
|
5264
|
-
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
</span>
|
|
5270
|
-
|
|
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
|
-
|
|
5274
|
-
|
|
5275
|
-
|
|
5276
|
-
|
|
5277
|
-
|
|
5278
|
-
|
|
5279
|
-
|
|
5280
|
-
|
|
5281
|
-
|
|
5282
|
-
|
|
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
|
-
|
|
5326
|
+
</kendo-editor-fontfamily-dropdownlist>
|
|
5285
5327
|
</ng-template>
|
|
5286
|
-
|
|
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
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
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
|
-
|
|
5348
|
+
</kendo-editor-fontfamily-dropdownlist>
|
|
5307
5349
|
</ng-template>
|
|
5308
5350
|
<ng-template #popupTemplate>
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
</span>
|
|
5321
|
-
|
|
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
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
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
|
-
|
|
5379
|
+
</kendo-editor-fontfamily-dropdownlist>
|
|
5336
5380
|
</ng-template>
|
|
5337
|
-
|
|
5381
|
+
`,
|
|
5338
5382
|
standalone: true,
|
|
5339
|
-
imports: [FontFamilyDropDownListComponent, IconWrapperComponent
|
|
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: "
|
|
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
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
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
|
-
|
|
5743
|
+
</kendo-colorpicker>
|
|
5700
5744
|
</ng-template>
|
|
5701
5745
|
<ng-template #popupTemplate>
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
|
|
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
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
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
|
-
|
|
5785
|
+
</kendo-colorpicker>
|
|
5739
5786
|
</ng-template>
|
|
5740
|
-
|
|
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
|
-
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5758
|
-
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
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
|
-
|
|
5813
|
+
</kendo-colorpicker>
|
|
5767
5814
|
</ng-template>
|
|
5768
5815
|
<ng-template #popupTemplate>
|
|
5769
|
-
|
|
5770
|
-
|
|
5771
|
-
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
|
|
5780
|
-
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
|
|
5784
|
-
|
|
5785
|
-
|
|
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
|
-
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
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
|
-
|
|
5855
|
+
</kendo-colorpicker>
|
|
5806
5856
|
</ng-template>
|
|
5807
|
-
|
|
5857
|
+
`,
|
|
5808
5858
|
standalone: true,
|
|
5809
|
-
imports: [ColorPickerComponent,
|
|
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: "
|
|
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
|
-
|
|
5891
|
-
|
|
5892
|
-
|
|
5893
|
-
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
|
|
5919
|
-
|
|
5920
|
-
|
|
5921
|
-
|
|
5922
|
-
|
|
5923
|
-
|
|
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
|
-
|
|
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: [
|
|
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: "
|
|
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
|
-
|
|
6174
|
-
|
|
6175
|
-
|
|
6176
|
-
|
|
6177
|
-
|
|
6178
|
-
|
|
6179
|
-
|
|
6180
|
-
|
|
6181
|
-
|
|
6182
|
-
|
|
6183
|
-
|
|
6184
|
-
|
|
6185
|
-
|
|
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
|
-
|
|
6189
|
-
|
|
6190
|
-
|
|
6191
|
-
|
|
6192
|
-
|
|
6193
|
-
|
|
6194
|
-
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
</span>
|
|
6199
|
-
|
|
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
|
-
|
|
6258
|
+
<kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
|
|
6203
6259
|
</ng-template>
|
|
6204
6260
|
<ng-template #sectionTemplate>
|
|
6205
|
-
|
|
6206
|
-
|
|
6207
|
-
|
|
6208
|
-
|
|
6209
|
-
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
6214
|
-
|
|
6215
|
-
|
|
6216
|
-
|
|
6217
|
-
|
|
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
|
-
|
|
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
|
-
|
|
6229
|
-
|
|
6230
|
-
|
|
6231
|
-
|
|
6232
|
-
|
|
6233
|
-
|
|
6234
|
-
|
|
6235
|
-
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
|
|
6240
|
-
|
|
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
|
-
|
|
6244
|
-
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6253
|
-
</span>
|
|
6254
|
-
|
|
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
|
-
|
|
6315
|
+
<kendo-popup-table-grid (cellClick)="onCellClick($event)"></kendo-popup-table-grid>
|
|
6258
6316
|
</ng-template>
|
|
6259
6317
|
<ng-template #sectionTemplate>
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
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,
|
|
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,
|